@warp-drive/utilities 5.9.0-alpha.9 → 5.9.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs-dist/string.cjs +349 -331
- package/cjs-dist/string.cjs.map +1 -0
- package/declarations/-private.d.ts +12 -1
- package/declarations/-private.d.ts.map +1 -0
- package/declarations/active-record.d.ts +260 -3
- package/declarations/active-record.d.ts.map +1 -0
- package/declarations/derivations.d.ts +26 -23
- package/declarations/derivations.d.ts.map +1 -0
- package/declarations/handlers.d.ts +282 -9
- package/declarations/handlers.d.ts.map +1 -0
- package/declarations/index-BeMAuqgZ.d.ts +462 -0
- package/declarations/index-BeMAuqgZ.d.ts.map +1 -0
- package/declarations/index.d.ts +2 -208
- package/declarations/json-api.d.ts +496 -5
- package/declarations/json-api.d.ts.map +1 -0
- package/declarations/rest.d.ts +258 -3
- package/declarations/rest.d.ts.map +1 -0
- package/declarations/string.d.ts +164 -13
- package/declarations/string.d.ts.map +1 -0
- package/dist/-private.js +2 -6
- package/dist/active-record.js +254 -379
- package/dist/active-record.js.map +1 -0
- package/dist/builder-utils-BkXwUT0x.js +16 -0
- package/dist/builder-utils-BkXwUT0x.js.map +1 -0
- package/dist/derivations.js +26 -26
- package/dist/derivations.js.map +1 -0
- package/dist/handlers.js +240 -283
- package/dist/handlers.js.map +1 -0
- package/dist/index.js +357 -335
- package/dist/index.js.map +1 -0
- package/dist/inflections-DzBsjJqj.js +80 -0
- package/dist/inflections-DzBsjJqj.js.map +1 -0
- package/dist/json-api.js +470 -706
- package/dist/json-api.js.map +1 -0
- package/dist/rest.js +254 -377
- package/dist/rest.js.map +1 -0
- package/dist/string-CWmAluxh.js +290 -0
- package/dist/string-CWmAluxh.js.map +1 -0
- package/dist/string.js +3 -1
- package/dist/unpkg/dev/-private.js +2 -6
- package/dist/unpkg/dev/active-record.js +253 -378
- package/dist/unpkg/dev/active-record.js.map +1 -0
- package/dist/unpkg/dev/builder-utils-BkXwUT0x.js +16 -0
- package/dist/unpkg/dev/builder-utils-BkXwUT0x.js.map +1 -0
- package/dist/unpkg/dev/derivations.js +26 -26
- package/dist/unpkg/dev/derivations.js.map +1 -0
- package/dist/unpkg/dev/handlers.js +238 -282
- package/dist/unpkg/dev/handlers.js.map +1 -0
- package/dist/unpkg/dev/index.js +356 -336
- package/dist/unpkg/dev/index.js.map +1 -0
- package/dist/unpkg/dev/inflections-DzBsjJqj.js +80 -0
- package/dist/unpkg/dev/inflections-DzBsjJqj.js.map +1 -0
- package/dist/unpkg/dev/json-api.js +469 -706
- package/dist/unpkg/dev/json-api.js.map +1 -0
- package/dist/unpkg/dev/rest.js +253 -376
- package/dist/unpkg/dev/rest.js.map +1 -0
- package/dist/unpkg/dev/string-j4ur-TDs.js +289 -0
- package/dist/unpkg/dev/string-j4ur-TDs.js.map +1 -0
- package/dist/unpkg/dev/string.js +3 -1
- package/dist/unpkg/dev-deprecated/-private.js +2 -6
- package/dist/unpkg/dev-deprecated/active-record.js +253 -378
- package/dist/unpkg/dev-deprecated/active-record.js.map +1 -0
- package/dist/unpkg/dev-deprecated/builder-utils-BkXwUT0x.js +16 -0
- package/dist/unpkg/dev-deprecated/builder-utils-BkXwUT0x.js.map +1 -0
- package/dist/unpkg/dev-deprecated/derivations.js +26 -26
- package/dist/unpkg/dev-deprecated/derivations.js.map +1 -0
- package/dist/unpkg/dev-deprecated/handlers.js +238 -282
- package/dist/unpkg/dev-deprecated/handlers.js.map +1 -0
- package/dist/unpkg/dev-deprecated/index.js +356 -336
- package/dist/unpkg/dev-deprecated/index.js.map +1 -0
- package/dist/unpkg/dev-deprecated/inflections-DzBsjJqj.js +80 -0
- package/dist/unpkg/dev-deprecated/inflections-DzBsjJqj.js.map +1 -0
- package/dist/unpkg/dev-deprecated/json-api.js +469 -706
- package/dist/unpkg/dev-deprecated/json-api.js.map +1 -0
- package/dist/unpkg/dev-deprecated/rest.js +253 -376
- package/dist/unpkg/dev-deprecated/rest.js.map +1 -0
- package/dist/unpkg/dev-deprecated/string-j4ur-TDs.js +289 -0
- package/dist/unpkg/dev-deprecated/string-j4ur-TDs.js.map +1 -0
- package/dist/unpkg/dev-deprecated/string.js +3 -1
- package/dist/unpkg/prod/-private.js +2 -6
- package/dist/unpkg/prod/active-record.js +236 -351
- package/dist/unpkg/prod/active-record.js.map +1 -0
- package/dist/unpkg/prod/builder-utils-BkXwUT0x.js +16 -0
- package/dist/unpkg/prod/builder-utils-BkXwUT0x.js.map +1 -0
- package/dist/unpkg/prod/derivations.js +26 -26
- package/dist/unpkg/prod/derivations.js.map +1 -0
- package/dist/unpkg/prod/handlers.js +231 -272
- package/dist/unpkg/prod/handlers.js.map +1 -0
- package/dist/unpkg/prod/index.js +265 -215
- package/dist/unpkg/prod/index.js.map +1 -0
- package/dist/unpkg/prod/inflections-DzBsjJqj.js +80 -0
- package/dist/unpkg/prod/inflections-DzBsjJqj.js.map +1 -0
- package/dist/unpkg/prod/json-api.js +446 -669
- package/dist/unpkg/prod/json-api.js.map +1 -0
- package/dist/unpkg/prod/rest.js +236 -349
- package/dist/unpkg/prod/rest.js.map +1 -0
- package/dist/unpkg/prod/string-T1ahjLdj.js +283 -0
- package/dist/unpkg/prod/string-T1ahjLdj.js.map +1 -0
- package/dist/unpkg/prod/string.js +3 -1
- package/dist/unpkg/prod-deprecated/-private.js +2 -6
- package/dist/unpkg/prod-deprecated/active-record.js +236 -351
- package/dist/unpkg/prod-deprecated/active-record.js.map +1 -0
- package/dist/unpkg/prod-deprecated/builder-utils-BkXwUT0x.js +16 -0
- package/dist/unpkg/prod-deprecated/builder-utils-BkXwUT0x.js.map +1 -0
- package/dist/unpkg/prod-deprecated/derivations.js +26 -26
- package/dist/unpkg/prod-deprecated/derivations.js.map +1 -0
- package/dist/unpkg/prod-deprecated/handlers.js +231 -272
- package/dist/unpkg/prod-deprecated/handlers.js.map +1 -0
- package/dist/unpkg/prod-deprecated/index.js +265 -215
- package/dist/unpkg/prod-deprecated/index.js.map +1 -0
- package/dist/unpkg/prod-deprecated/inflections-DzBsjJqj.js +80 -0
- package/dist/unpkg/prod-deprecated/inflections-DzBsjJqj.js.map +1 -0
- package/dist/unpkg/prod-deprecated/json-api.js +446 -669
- package/dist/unpkg/prod-deprecated/json-api.js.map +1 -0
- package/dist/unpkg/prod-deprecated/rest.js +236 -349
- package/dist/unpkg/prod-deprecated/rest.js.map +1 -0
- package/dist/unpkg/prod-deprecated/string-T1ahjLdj.js +283 -0
- package/dist/unpkg/prod-deprecated/string-T1ahjLdj.js.map +1 -0
- package/dist/unpkg/prod-deprecated/string.js +3 -1
- package/package.json +9 -9
- package/declarations/-private/active-record/find-record.d.ts +0 -64
- package/declarations/-private/active-record/query.d.ts +0 -53
- package/declarations/-private/active-record/save-record.d.ts +0 -146
- package/declarations/-private/builder-utils.d.ts +0 -4
- package/declarations/-private/handlers/auto-compress.d.ts +0 -158
- package/declarations/-private/handlers/gated.d.ts +0 -19
- package/declarations/-private/handlers/meta-doc.d.ts +0 -47
- package/declarations/-private/handlers/utils.d.ts +0 -41
- package/declarations/-private/json-api/-utils.d.ts +0 -109
- package/declarations/-private/json-api/find-record.d.ts +0 -84
- package/declarations/-private/json-api/query.d.ts +0 -100
- package/declarations/-private/json-api/save-record.d.ts +0 -228
- package/declarations/-private/json-api/serialize.d.ts +0 -70
- package/declarations/-private/rest/find-record.d.ts +0 -62
- package/declarations/-private/rest/query.d.ts +0 -53
- package/declarations/-private/rest/save-record.d.ts +0 -146
- package/declarations/-private/string/inflect.d.ts +0 -82
- package/declarations/-private/string/inflections.d.ts +0 -9
- package/declarations/-private/string/transform.d.ts +0 -77
- package/dist/builder-utils-Donkk-BZ.js +0 -22
- package/dist/inflect-BSG696t-.js +0 -344
- package/dist/unpkg/dev/builder-utils-Donkk-BZ.js +0 -22
- package/dist/unpkg/dev/inflect-BEv8WqY1.js +0 -343
- package/dist/unpkg/dev-deprecated/builder-utils-Donkk-BZ.js +0 -22
- package/dist/unpkg/dev-deprecated/inflect-BEv8WqY1.js +0 -343
- package/dist/unpkg/prod/builder-utils-Donkk-BZ.js +0 -22
- package/dist/unpkg/prod/inflect-Dh9dyEYx.js +0 -333
- package/dist/unpkg/prod-deprecated/builder-utils-Donkk-BZ.js +0 -22
- package/dist/unpkg/prod-deprecated/inflect-Dh9dyEYx.js +0 -333
|
@@ -1,10 +1,283 @@
|
|
|
1
|
+
import { RequestContext, StructuredDataDocument } from "@warp-drive/core/types/request";
|
|
2
|
+
import { Future, Handler, NextFn } from "@warp-drive/core/request";
|
|
3
|
+
//#region src/-private/handlers/auto-compress.d.ts
|
|
1
4
|
/**
|
|
2
|
-
*
|
|
3
|
-
* request
|
|
4
|
-
*
|
|
5
|
-
* @
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
* Whether the browser supports `ReadableStream` as a request body
|
|
6
|
+
* in a `POST` request.
|
|
7
|
+
*
|
|
8
|
+
* @group Constants
|
|
9
|
+
*/
|
|
10
|
+
declare const SupportsRequestStreams: boolean;
|
|
11
|
+
interface Constraints {
|
|
12
|
+
/**
|
|
13
|
+
* The minimum size at which to compress blobs
|
|
14
|
+
*
|
|
15
|
+
* @default 1000
|
|
16
|
+
*/
|
|
17
|
+
Blob?: number;
|
|
18
|
+
/**
|
|
19
|
+
* The minimum size at which to compress array buffers
|
|
20
|
+
*
|
|
21
|
+
* @default 1000
|
|
22
|
+
*/
|
|
23
|
+
ArrayBuffer?: number;
|
|
24
|
+
/**
|
|
25
|
+
* The minimum size at which to compress typed arrays
|
|
26
|
+
*
|
|
27
|
+
* @default 1000
|
|
28
|
+
*/
|
|
29
|
+
TypedArray?: number;
|
|
30
|
+
/**
|
|
31
|
+
* The minimum size at which to compress data views
|
|
32
|
+
*
|
|
33
|
+
* @default 1000
|
|
34
|
+
*/
|
|
35
|
+
DataView?: number;
|
|
36
|
+
/**
|
|
37
|
+
* The minimum size at which to compress strings
|
|
38
|
+
*
|
|
39
|
+
* @default 1000
|
|
40
|
+
*/
|
|
41
|
+
String?: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Options for configuring the AutoCompress handler.
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
interface CompressionOptions {
|
|
48
|
+
/**
|
|
49
|
+
* The compression format to use. Must be a valid
|
|
50
|
+
* compression format supported by [CompressionStream](https://developer.mozilla.org/en-US/docs/Web/API/CompressionStream)
|
|
51
|
+
*
|
|
52
|
+
* The default is `gzip`.
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
format?: CompressionFormat;
|
|
56
|
+
/**
|
|
57
|
+
* Some browsers support `ReadableStream` as a request body. This option
|
|
58
|
+
* enables passing the compression stream as the request body instead of
|
|
59
|
+
* the final compressed body when the browser supports doing so.
|
|
60
|
+
*
|
|
61
|
+
* This comes with several caveats:
|
|
62
|
+
*
|
|
63
|
+
* - the request will be put into `duplex: 'half'` mode. This should be
|
|
64
|
+
* transparent to you, but it is worth noting.
|
|
65
|
+
* - the request mode cannot be `no-cors` as requests with a `ReadableStream`
|
|
66
|
+
* have no content length and thus are a new form of request that triggers
|
|
67
|
+
* cors requirements and a preflight request.
|
|
68
|
+
* - http/1.x is not supported.
|
|
69
|
+
*
|
|
70
|
+
* For additional reading about the restrictions of using `ReadableStream`
|
|
71
|
+
* as a request body, see the [Chromium Documentation](https://developer.chrome.com/docs/capabilities/web-apis/fetch-streaming-requests#restrictions)
|
|
72
|
+
*
|
|
73
|
+
* Streaming can be enabled per-request in browsers which support it by
|
|
74
|
+
* setting `request.options.allowStreaming` to `true`.
|
|
75
|
+
*
|
|
76
|
+
* Streaming can be forced even when the browser does not support it by setting
|
|
77
|
+
* `request.options.forceStreaming` to `true`. This is useful if later handlers
|
|
78
|
+
* in the chain can handle the request body as a stream.
|
|
79
|
+
*
|
|
80
|
+
* @default false
|
|
81
|
+
*/
|
|
82
|
+
allowStreaming?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* If `true`, the request will be forced into streaming mode even
|
|
85
|
+
* if the browser does not support it. This is useful if later handlers
|
|
86
|
+
* in the chain can handle the request body as a stream.
|
|
87
|
+
*
|
|
88
|
+
* @default false
|
|
89
|
+
*/
|
|
90
|
+
forceStreaming?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* The constraints for the request body. This is used to determine
|
|
93
|
+
* whether to compress the request body or not.
|
|
94
|
+
*
|
|
95
|
+
* The defaults are:
|
|
96
|
+
*
|
|
97
|
+
* ```ts
|
|
98
|
+
* {
|
|
99
|
+
* Blob: 1000, // blob.size
|
|
100
|
+
* ArrayBuffer: 1000, // buffer.byteLength
|
|
101
|
+
* TypedArray: 1000, // array.byteLength
|
|
102
|
+
* DataView: 1000, // view.byteLength
|
|
103
|
+
* String: 1000, // string.length
|
|
104
|
+
* }
|
|
105
|
+
* ```
|
|
106
|
+
*
|
|
107
|
+
* The following body types are never compressed unless explicitly
|
|
108
|
+
* configured by the request:
|
|
109
|
+
* - `FormData`
|
|
110
|
+
* - `URLSearchParams`
|
|
111
|
+
* - `ReadableStream`
|
|
112
|
+
*
|
|
113
|
+
* A request.options.compress value of `false` will disable
|
|
114
|
+
* compression for a request body of any type. While a value of
|
|
115
|
+
* `true` will enable compression for the request.
|
|
116
|
+
*
|
|
117
|
+
* An undefined value will use the default, a value of `0` will
|
|
118
|
+
* enable compression for all values, and a value of `-1` will
|
|
119
|
+
* disable compression.
|
|
120
|
+
*
|
|
121
|
+
*/
|
|
122
|
+
constraints?: Constraints;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* A request handler that automatically compresses the request body
|
|
126
|
+
* if the request body is a string, array buffer, blob, or form data.
|
|
127
|
+
*
|
|
128
|
+
* This uses the [CompressionStream API](https://developer.mozilla.org/en-US/docs/Web/API/CompressionStream)
|
|
129
|
+
*
|
|
130
|
+
* The compression format as well as the kinds of data to compress can be
|
|
131
|
+
* configured using the `format` and `constraints` options.
|
|
132
|
+
*
|
|
133
|
+
* ```diff
|
|
134
|
+
* +import { AutoCompress } from '@ember-data/request-utils/handlers';
|
|
135
|
+
* import Fetch from '@ember-data/request/fetch';
|
|
136
|
+
* import RequestManager from '@ember-data/request';
|
|
137
|
+
* import Store from '@ember-data/store';
|
|
138
|
+
*
|
|
139
|
+
* class AppStore extends Store {
|
|
140
|
+
* requestManager = new RequestManager()
|
|
141
|
+
* .use([
|
|
142
|
+
* + new AutoCompress(),
|
|
143
|
+
* Fetch
|
|
144
|
+
* ]);
|
|
145
|
+
* }
|
|
146
|
+
* ```
|
|
147
|
+
*
|
|
148
|
+
* @group Handlers
|
|
149
|
+
* @public
|
|
150
|
+
* @since 5.5.0
|
|
151
|
+
*/
|
|
152
|
+
declare class AutoCompress implements Handler {
|
|
153
|
+
/**
|
|
154
|
+
* The resolved options this handler was configured with, with all
|
|
155
|
+
* defaults (including `constraints` defaults) applied.
|
|
156
|
+
*/
|
|
157
|
+
options: Required<CompressionOptions> & {
|
|
158
|
+
/**
|
|
159
|
+
* The resolved size constraints used to decide whether to compress a given request body.
|
|
160
|
+
*/
|
|
161
|
+
constraints: Required<Constraints>;
|
|
162
|
+
};
|
|
163
|
+
constructor(options?: CompressionOptions);
|
|
164
|
+
request<T>({ request }: RequestContext, next: NextFn<T>): Promise<T> | Future<T>;
|
|
165
|
+
}
|
|
166
|
+
//#endregion
|
|
167
|
+
//#region src/-private/handlers/gated.d.ts
|
|
168
|
+
/**
|
|
169
|
+
* If CheckFn returns true, the wrapped handler will be used.
|
|
170
|
+
* If CheckFn returns false, the wrapped handler will be skipped.
|
|
171
|
+
*/
|
|
172
|
+
type CheckFn = (context: RequestContext) => boolean;
|
|
173
|
+
/**
|
|
174
|
+
*
|
|
175
|
+
* @group Handlers
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
declare class Gate implements Handler {
|
|
179
|
+
/**
|
|
180
|
+
* The wrapped handler to invoke when {@link Gate.checkFn | checkFn} returns `true`.
|
|
181
|
+
*/
|
|
182
|
+
handler: Handler;
|
|
183
|
+
/**
|
|
184
|
+
* The predicate used to decide whether {@link Gate.handler | handler} should run for a given request.
|
|
185
|
+
*/
|
|
186
|
+
checkFn: CheckFn;
|
|
187
|
+
constructor(handler: Handler, checkFn: CheckFn);
|
|
188
|
+
request<T = unknown>(context: RequestContext, next: NextFn<T>): Promise<T | StructuredDataDocument<T>> | Future<T>;
|
|
189
|
+
}
|
|
190
|
+
//#endregion
|
|
191
|
+
//#region src/-private/handlers/meta-doc.d.ts
|
|
192
|
+
/**
|
|
193
|
+
* MetaDocHandler processes requests that are marked as meta requests.
|
|
194
|
+
*
|
|
195
|
+
* It treats the response body as "entirely meta" transforming
|
|
196
|
+
*
|
|
197
|
+
* ```ts
|
|
198
|
+
* {
|
|
199
|
+
* some: "key",
|
|
200
|
+
* another: "thing"
|
|
201
|
+
* }
|
|
202
|
+
* ```
|
|
203
|
+
*
|
|
204
|
+
* into
|
|
205
|
+
*
|
|
206
|
+
* ```ts
|
|
207
|
+
* {
|
|
208
|
+
* meta: {
|
|
209
|
+
* some: "key",
|
|
210
|
+
* another: "thing"
|
|
211
|
+
* }
|
|
212
|
+
* }
|
|
213
|
+
* ```
|
|
214
|
+
*
|
|
215
|
+
* To activate this handler, a request should specify
|
|
216
|
+
*
|
|
217
|
+
* ```ts
|
|
218
|
+
* options.isMetaRequest = true
|
|
219
|
+
* ```
|
|
220
|
+
*
|
|
221
|
+
* For instance
|
|
222
|
+
*
|
|
223
|
+
* ```ts
|
|
224
|
+
* store.request({
|
|
225
|
+
* url: '/example',
|
|
226
|
+
* options: {
|
|
227
|
+
* isMetaRequest: true
|
|
228
|
+
* }
|
|
229
|
+
* });
|
|
230
|
+
* ```
|
|
231
|
+
*
|
|
232
|
+
* Errors are not processed by this handler, so if the request fails and the error response
|
|
233
|
+
* is not in {json:api} format additional processing may be needed.
|
|
234
|
+
*
|
|
235
|
+
* @group Handlers
|
|
236
|
+
*/
|
|
237
|
+
declare const MetaDocHandler: Handler;
|
|
238
|
+
//#endregion
|
|
239
|
+
//#region src/-private/handlers/utils.d.ts
|
|
240
|
+
/**
|
|
241
|
+
* A unique identifier for the current browser tab
|
|
242
|
+
* useful for observability/tracing and deduping
|
|
243
|
+
* across multiple tabs.
|
|
244
|
+
*
|
|
245
|
+
* @group Constants
|
|
246
|
+
*/
|
|
247
|
+
declare const TAB_ID: string;
|
|
248
|
+
/**
|
|
249
|
+
* The epoch seconds at which the tab id was generated
|
|
250
|
+
*
|
|
251
|
+
* @group Constants
|
|
252
|
+
*/
|
|
253
|
+
declare const TAB_ASSIGNED: number;
|
|
254
|
+
/**
|
|
255
|
+
* Adds the `X-Amzn-Trace-Id` header to support observability
|
|
256
|
+
* tooling around request routing.
|
|
257
|
+
*
|
|
258
|
+
* This makes use of the {@link TAB_ID} and {@link TAB_ASSIGNED}
|
|
259
|
+
* to enable tracking the browser tab of origin across multiple requests.
|
|
260
|
+
*
|
|
261
|
+
* Follows the template: `Root=1-${now}-${uuidv4};TabId=1-${epochSeconds}-${tab-uuid}`
|
|
262
|
+
*
|
|
263
|
+
* @group Utility Functions
|
|
264
|
+
*/
|
|
265
|
+
declare function addTraceHeader(headers: Headers): Headers;
|
|
266
|
+
/**
|
|
267
|
+
* Source: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html
|
|
268
|
+
* As of 2024-12-05 the maximum URL length is 8192 bytes.
|
|
269
|
+
*
|
|
270
|
+
* @group Constants
|
|
271
|
+
*/
|
|
272
|
+
declare const MAX_URL_LENGTH = 8192;
|
|
273
|
+
/**
|
|
274
|
+
* This assertion takes a URL and throws an error if the URL is longer than the maximum URL length.
|
|
275
|
+
*
|
|
276
|
+
* See also {@link MAX_URL_LENGTH}
|
|
277
|
+
*
|
|
278
|
+
* @group Utility Functions
|
|
279
|
+
*/
|
|
280
|
+
declare function assertInvalidUrlLength(url: string | undefined): void;
|
|
281
|
+
//#endregion
|
|
282
|
+
export { AutoCompress, Gate, MAX_URL_LENGTH, MetaDocHandler, SupportsRequestStreams, TAB_ASSIGNED, TAB_ID, addTraceHeader, assertInvalidUrlLength };
|
|
283
|
+
//# sourceMappingURL=handlers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handlers.d.ts","names":[],"sources":["../src/-private/handlers/auto-compress.ts","../src/-private/handlers/gated.ts","../src/-private/handlers/meta-doc.ts","../src/-private/handlers/utils.ts"],"mappings":";;;;;;;;;cAca;UAgBH;;;;;;EAMR;;;;;;EAMA;;;;;;EAMA;;;;;;EAMA;;;;;;EAMA;;;;;;UAOQ;;;;;;;;EAQR,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BT;;;;;;;;EASA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiCA,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwCH,wBAAwB;;;;;EAKnC,SAAiB,SAAS;;;;IAIxB,aAAa,SAAS;;EAGxB,YAAY,UAAS;EAUrB,QAAQ,KAAK,WAAW,gBAAgB,MAAM,OAAO,KAAK,QAAQ,KAAK,OAAO;;;;;;;;KCxM3E,WAAW,SAAS;;;;;;cAOZ,gBAAgB;;;;EAI3B,SAAiB;;;;EAIjB,SAAiB;EAEjB,YAAY,SAAS,SAAS,SAAS;EAKvC,QAAQ,aAAa,SAAS,gBAAgB,MAAM,OAAO,KAAK,QAAQ,IAAI,uBAAuB,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cCoBrG,gBAAgB;;;;;;;;;;cCdhB;;;;;;cAMA;;;;;;;;;;;;iBAaG,eAAe,SAAS,UAAU;;;;;;;cAarC;;;;;;;;iBASG,uBAAuB"}
|