From 411fb09d218fe997dfb3274453953594008e54ce Mon Sep 17 00:00:00 2001 From: Julien Elbaz Date: Sat, 5 Aug 2023 08:50:31 +0200 Subject: [PATCH] :memo: Mention file names in the form data addon doc Solves #197 --- docs/api/functions/addons_abort.default.html | 2 +- docs/api/functions/addons_perfs.default.html | 2 +- .../functions/addons_progress.default.html | 2 +- docs/api/functions/index.default-1.html | 2 +- .../functions/middlewares_dedupe.dedupe.html | 2 +- .../functions/middlewares_delay.delay.html | 2 +- .../functions/middlewares_retry.retry.html | 2 +- ...wares_throttlingCache.throttlingCache.html | 2 +- .../addons_abort.AbortResolver.html | 8 +-- .../interfaces/addons_abort.AbortWretch.html | 4 +- .../addons_formData.FormDataAddon.html | 11 +++- .../addons_formUrl.FormUrlAddon.html | 4 +- .../interfaces/addons_perfs.PerfsAddon.html | 4 +- .../addons_progress.ProgressResolver.html | 4 +- .../addons_queryString.QueryStringAddon.html | 4 +- docs/api/interfaces/index.Wretch.html | 50 +++++++++---------- docs/api/interfaces/index.WretchError.html | 12 ++--- .../interfaces/index.WretchResponseChain.html | 30 +++++------ docs/api/modules/addons.html | 2 +- docs/api/modules/addons_abort.html | 2 +- docs/api/modules/addons_formData.html | 2 +- docs/api/modules/addons_formUrl.html | 2 +- docs/api/modules/addons_perfs.html | 2 +- docs/api/modules/addons_progress.html | 2 +- docs/api/modules/addons_queryString.html | 2 +- docs/api/modules/index.default.html | 12 ++--- docs/api/modules/index.html | 2 +- docs/api/modules/middlewares.html | 2 +- docs/api/modules/middlewares_dedupe.html | 2 +- docs/api/modules/middlewares_delay.html | 2 +- docs/api/modules/middlewares_retry.html | 2 +- .../modules/middlewares_throttlingCache.html | 2 +- docs/api/types/index.Config.html | 4 +- .../api/types/index.ConfiguredMiddleware.html | 2 +- docs/api/types/index.FetchLike.html | 2 +- docs/api/types/index.Middleware.html | 2 +- docs/api/types/index.WretchAddon.html | 4 +- .../types/index.WretchDeferredCallback.html | 2 +- docs/api/types/index.WretchErrorCallback.html | 2 +- docs/api/types/index.WretchOptions.html | 2 +- docs/api/types/index.WretchResponse.html | 2 +- .../middlewares_dedupe.DedupeKeyFunction.html | 2 +- .../middlewares_dedupe.DedupeMiddleware.html | 2 +- .../middlewares_dedupe.DedupeOptions.html | 2 +- ...lewares_dedupe.DedupeResolverFunction.html | 2 +- ...middlewares_dedupe.DedupeSkipFunction.html | 2 +- .../middlewares_delay.DelayMiddleware.html | 2 +- .../middlewares_retry.DelayRampFunction.html | 2 +- .../middlewares_retry.OnRetryFunction.html | 2 +- ...lewares_retry.OnRetryFunctionResponse.html | 2 +- .../middlewares_retry.RetryMiddleware.html | 2 +- .../types/middlewares_retry.RetryOptions.html | 2 +- .../types/middlewares_retry.SkipFunction.html | 2 +- .../middlewares_retry.UntilFunction.html | 2 +- ...ingCache.ThrottlingCacheClearFunction.html | 2 +- ...ache.ThrottlingCacheConditionFunction.html | 2 +- ...che.ThrottlingCacheInvalidateFunction.html | 2 +- ...tlingCache.ThrottlingCacheKeyFunction.html | 2 +- ...ttlingCache.ThrottlingCacheMiddleware.html | 2 +- ...hrottlingCache.ThrottlingCacheOptions.html | 2 +- ...lingCache.ThrottlingCacheSkipFunction.html | 2 +- .../variables/addons_formData.default.html | 2 +- .../api/variables/addons_formUrl.default.html | 2 +- .../variables/addons_queryString.default.html | 2 +- .../variables/index.default.WretchError.html | 2 +- docs/api/variables/index.default.default.html | 2 +- .../variables/index.default.errorType.html | 2 +- docs/api/variables/index.default.options.html | 2 +- .../variables/index.default.polyfills.html | 2 +- src/addons/formData.ts | 9 ++++ 70 files changed, 144 insertions(+), 128 deletions(-) diff --git a/docs/api/functions/addons_abort.default.html b/docs/api/functions/addons_abort.default.html index 78a2819..006022c 100644 --- a/docs/api/functions/addons_abort.default.html +++ b/docs/api/functions/addons_abort.default.html @@ -31,7 +31,7 @@

Function default

Returns WretchAddon<AbortWretch, AbortResolver>

+
  • Defined in src/addons/abort.ts:110
  • +
  • Defined in src/addons/perfs.ts:58
  • +
  • Defined in src/addons/progress.ts:45
  • +
  • Defined in src/index.ts:36
  • +
  • Defined in src/addons/abort.ts:72
  • setTimeout: (<T, C, R>(this, time, controller?) => AbortResolver)
    @@ -141,7 +141,7 @@
    Optional Returns AbortResolver
    +
  • Defined in src/addons/abort.ts:50
  • +
  • Defined in src/addons/abort.ts:31
  • +
  • Defined in src/addons/perfs.ts:9
  • +
  • Defined in src/addons/progress.ts:23
  • +
  • Defined in src/types.ts:138
  • +
  • Defined in src/types.ts:679
  • error: ((this, code, cb) => WretchResponseChain<T, Self, R>)
    @@ -117,7 +117,7 @@
    cb: Returns WretchResponseChain<T, Self, R>
    +
  • Defined in src/types.ts:670
  • fetchError: ((this, cb) => WretchResponseChain<T, Self, R>)
    @@ -142,7 +142,7 @@

    Returns See

    error

    +
  • Defined in src/types.ts:733
  • forbidden: ((this, cb) => WretchResponseChain<T, Self, R>)
    @@ -168,7 +168,7 @@

    Returns See

    error

    +
  • Defined in src/types.ts:697
  • internalError: ((this, cb) => WretchResponseChain<T, Self, R>)
    @@ -194,7 +194,7 @@

    Returns See

    error

    +
  • Defined in src/types.ts:726
  • notFound: ((this, cb) => WretchResponseChain<T, Self, R>)
    @@ -220,7 +220,7 @@

    Returns See

    error

    +
  • Defined in src/types.ts:706
  • timeout: ((this, cb) => WretchResponseChain<T, Self, R>)
    @@ -246,7 +246,7 @@

    Returns See

    error

    +
  • Defined in src/types.ts:716
  • unauthorized: ((this, cb) => WretchResponseChain<T, Self, R>)
    @@ -272,7 +272,7 @@

    Returns See

    error

    +
  • Defined in src/types.ts:688
  • Properties - Response Type

    @@ -313,7 +313,7 @@

    Returns Returns Promise<Awaited<Result>>

    +
  • Defined in src/types.ts:631
  • blob: (<Result>(cb?) => Promise<Awaited<Result>>)
    @@ -352,7 +352,7 @@

    Returns Returns Promise<Awaited<Result>>

    +
  • Defined in src/types.ts:611
  • formData: (<Result>(cb?) => Promise<Awaited<Result>>)
    @@ -391,7 +391,7 @@

    Returns Returns Promise<Awaited<Result>>

    +
  • Defined in src/types.ts:621
  • json: (<Result>(cb?) => Promise<Awaited<Result>>)
    @@ -430,7 +430,7 @@

    Returns Returns Promise<Awaited<Result>>

    +
  • Defined in src/types.ts:601
  • res: (<Result>(cb?) => Promise<Awaited<Result>>)
    @@ -470,7 +470,7 @@

    Returns Returns Promise<Awaited<Result>>

    +
  • Defined in src/types.ts:591
  • text: (<Result>(cb?) => Promise<Awaited<Result>>)
    @@ -509,7 +509,7 @@

    Returns Returns Promise<Awaited<Result>>

    +
  • Defined in src/types.ts:641
  • +
  • Defined in src/addons/abort.ts:1
  • Index

    diff --git a/docs/api/modules/addons_formData.html b/docs/api/modules/addons_formData.html index 9309342..b941042 100644 --- a/docs/api/modules/addons_formData.html +++ b/docs/api/modules/addons_formData.html @@ -16,7 +16,7 @@
  • addons/formData
  • Module addons/formData

    +
  • Defined in src/addons/formData.ts:1
  • Index

    diff --git a/docs/api/modules/addons_formUrl.html b/docs/api/modules/addons_formUrl.html index d73c678..2bd4314 100644 --- a/docs/api/modules/addons_formUrl.html +++ b/docs/api/modules/addons_formUrl.html @@ -16,7 +16,7 @@
  • addons/formUrl
  • Module addons/formUrl

    +
  • Defined in src/addons/formUrl.ts:1
  • Index

    diff --git a/docs/api/modules/addons_perfs.html b/docs/api/modules/addons_perfs.html index 7ec4c23..61b7471 100644 --- a/docs/api/modules/addons_perfs.html +++ b/docs/api/modules/addons_perfs.html @@ -16,7 +16,7 @@
  • addons/perfs
  • Module addons/perfs

    +
  • Defined in src/addons/perfs.ts:1
  • Index

    diff --git a/docs/api/modules/addons_progress.html b/docs/api/modules/addons_progress.html index 08a04bd..77e984c 100644 --- a/docs/api/modules/addons_progress.html +++ b/docs/api/modules/addons_progress.html @@ -16,7 +16,7 @@
  • addons/progress
  • Module addons/progress

    +
  • Defined in src/addons/progress.ts:1
  • Index

    diff --git a/docs/api/modules/addons_queryString.html b/docs/api/modules/addons_queryString.html index 8e9e073..1757d25 100644 --- a/docs/api/modules/addons_queryString.html +++ b/docs/api/modules/addons_queryString.html @@ -16,7 +16,7 @@
  • addons/queryString
  • Module addons/queryString

    +
  • Defined in src/addons/queryString.ts:1
  • Index

    diff --git a/docs/api/modules/index.default.html b/docs/api/modules/index.default.html index 150916e..b8b0b7a 100644 --- a/docs/api/modules/index.default.html +++ b/docs/api/modules/index.default.html @@ -17,12 +17,12 @@
  • default
  • Namespace default

    +
  • Defined in src/index.ts:36
  • +
  • Defined in src/index.ts:40
  • +
  • Defined in src/index.ts:42
  • +
  • Defined in src/index.ts:44
  • +
  • Defined in src/index.ts:46
  • +
  • Defined in src/index.ts:47
  • Index

    diff --git a/docs/api/modules/index.html b/docs/api/modules/index.html index 94e0f84..15ab817 100644 --- a/docs/api/modules/index.html +++ b/docs/api/modules/index.html @@ -16,7 +16,7 @@
  • index
  • Module index

    +
  • Defined in src/index.ts:1
  • Index

    diff --git a/docs/api/modules/middlewares.html b/docs/api/modules/middlewares.html index a858e70..3c3ea81 100644 --- a/docs/api/modules/middlewares.html +++ b/docs/api/modules/middlewares.html @@ -16,7 +16,7 @@
  • middlewares
  • Module middlewares

    +
  • Defined in src/middlewares/index.ts:1
  • diff --git a/docs/api/modules/middlewares_dedupe.html b/docs/api/modules/middlewares_dedupe.html index de38871..ab193b5 100644 --- a/docs/api/modules/middlewares_dedupe.html +++ b/docs/api/modules/middlewares_dedupe.html @@ -16,7 +16,7 @@
  • middlewares/dedupe
  • Module middlewares/dedupe

    +
  • Defined in src/middlewares/dedupe.ts:1
  • Index

    diff --git a/docs/api/modules/middlewares_delay.html b/docs/api/modules/middlewares_delay.html index 6db2379..776b54f 100644 --- a/docs/api/modules/middlewares_delay.html +++ b/docs/api/modules/middlewares_delay.html @@ -16,7 +16,7 @@
  • middlewares/delay
  • Module middlewares/delay

    +
  • Defined in src/middlewares/delay.ts:1
  • Index

    diff --git a/docs/api/modules/middlewares_retry.html b/docs/api/modules/middlewares_retry.html index 53ee741..c837f1b 100644 --- a/docs/api/modules/middlewares_retry.html +++ b/docs/api/modules/middlewares_retry.html @@ -16,7 +16,7 @@
  • middlewares/retry
  • Module middlewares/retry

    +
  • Defined in src/middlewares/retry.ts:1
  • Index

    diff --git a/docs/api/modules/middlewares_throttlingCache.html b/docs/api/modules/middlewares_throttlingCache.html index a146f98..04aa685 100644 --- a/docs/api/modules/middlewares_throttlingCache.html +++ b/docs/api/modules/middlewares_throttlingCache.html @@ -16,7 +16,7 @@
  • middlewares/throttlingCache
  • Module middlewares/throttlingCache

    +
  • Defined in src/middlewares/throttlingCache.ts:1
  • Index

    diff --git a/docs/api/types/index.Config.html b/docs/api/types/index.Config.html index ce7e238..4ff86d8 100644 --- a/docs/api/types/index.Config.html +++ b/docs/api/types/index.Config.html @@ -48,10 +48,10 @@
    Optional Rest ...args: any[]

    Returns any

    +
  • Defined in src/types.ts:743
  • +
  • Defined in src/types.ts:739
  • +
  • Defined in src/types.ts:777
  • +
  • Defined in src/types.ts:781
  • +
  • Defined in src/types.ts:771
  • +
  • Defined in src/types.ts:787
  • +
  • Defined in src/types.ts:786
  • +
  • Defined in src/types.ts:765
  • +
  • Defined in src/types.ts:757
  • +
  • Defined in src/types.ts:749
  • +
  • Defined in src/types.ts:761
  • +
  • Defined in src/middlewares/dedupe.ts:6
  • +
  • Defined in src/middlewares/dedupe.ts:33
  • +
  • Defined in src/middlewares/dedupe.ts:8
  • +
  • Defined in src/middlewares/dedupe.ts:7
  • +
  • Defined in src/middlewares/dedupe.ts:5
  • +
  • Defined in src/middlewares/delay.ts:16
  • +
  • Defined in src/middlewares/retry.ts:5
  • +
  • Defined in src/middlewares/retry.ts:13
  • +
  • Defined in src/middlewares/retry.ts:10
  • +
  • Defined in src/middlewares/retry.ts:119
  • +
  • Defined in src/middlewares/retry.ts:20
  • +
  • Defined in src/middlewares/retry.ts:19
  • +
  • Defined in src/middlewares/retry.ts:6
  • +
  • Defined in src/middlewares/throttlingCache.ts:7
  • +
  • Defined in src/middlewares/throttlingCache.ts:9
  • +
  • Defined in src/middlewares/throttlingCache.ts:8
  • +
  • Defined in src/middlewares/throttlingCache.ts:6
  • +
  • Defined in src/middlewares/throttlingCache.ts:56
  • +
  • Defined in src/middlewares/throttlingCache.ts:10
  • +
  • Defined in src/middlewares/throttlingCache.ts:5
  • +
  • Defined in src/addons/formData.ts:101
  • +
  • Defined in src/addons/formUrl.ts:53
  • +
  • Defined in src/addons/queryString.ts:99
  • +
  • Defined in src/index.ts:47
  • +
  • Defined in src/index.ts:40
  • +
  • Defined in src/index.ts:44
  • +
  • Defined in src/index.ts:42
  • +
  • Defined in src/index.ts:46