@serwist/build 9.5.6 → 9.5.8
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/dist/chunks/constants-BLOVm9H2.js +6 -0
- package/dist/chunks/constants-BLOVm9H2.js.map +1 -0
- package/dist/chunks/error-Cl4d1Wf-.js +31 -0
- package/dist/chunks/error-Cl4d1Wf-.js.map +1 -0
- package/dist/chunks/get-manifest-De0D0LAJ.js +14 -0
- package/dist/chunks/get-manifest-De0D0LAJ.js.map +1 -0
- package/dist/chunks/glob-B4_meZ_o.js +67 -0
- package/dist/chunks/glob-B4_meZ_o.js.map +1 -0
- package/dist/chunks/inject-manifest-DNqDY-04.js +27 -0
- package/dist/chunks/inject-manifest-DNqDY-04.js.map +1 -0
- package/dist/chunks/manifest-transform-BCUeQ0-V.d.ts +75 -0
- package/dist/chunks/manifest-transform-BCUeQ0-V.d.ts.map +1 -0
- package/dist/chunks/rolldown-runtime-CzwdidQP.js +13 -0
- package/dist/index.d.mts +475 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +594 -0
- package/dist/index.mjs.map +1 -0
- package/dist/index.schema.d.mts +278 -0
- package/dist/index.schema.d.mts.map +1 -0
- package/dist/index.schema.mjs +5 -0
- package/package.json +15 -16
- package/src/lib/replace-and-update-source-map.ts +0 -1
- package/dist/chunks/constants.js +0 -59
- package/dist/chunks/get-manifest.js +0 -11
- package/dist/chunks/glob.js +0 -75
- package/dist/chunks/inject-manifest.js +0 -29
- package/dist/get-manifest.d.ts +0 -19
- package/dist/get-manifest.d.ts.map +0 -1
- package/dist/index.d.ts +0 -24
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -614
- package/dist/index.schema.d.ts +0 -13
- package/dist/index.schema.d.ts.map +0 -1
- package/dist/index.schema.js +0 -9
- package/dist/inject-manifest.d.ts +0 -29
- package/dist/inject-manifest.d.ts.map +0 -1
- package/dist/lib/additional-precache-entries-transform.d.ts +0 -12
- package/dist/lib/additional-precache-entries-transform.d.ts.map +0 -1
- package/dist/lib/constants.d.ts +0 -2
- package/dist/lib/constants.d.ts.map +0 -1
- package/dist/lib/errors.d.ts +0 -46
- package/dist/lib/errors.d.ts.map +0 -1
- package/dist/lib/escape-regexp.d.ts +0 -2
- package/dist/lib/escape-regexp.d.ts.map +0 -1
- package/dist/lib/get-composite-details.d.ts +0 -3
- package/dist/lib/get-composite-details.d.ts.map +0 -1
- package/dist/lib/get-file-details.d.ts +0 -9
- package/dist/lib/get-file-details.d.ts.map +0 -1
- package/dist/lib/get-file-hash.d.ts +0 -2
- package/dist/lib/get-file-hash.d.ts.map +0 -1
- package/dist/lib/get-file-manifest-entries.d.ts +0 -3
- package/dist/lib/get-file-manifest-entries.d.ts.map +0 -1
- package/dist/lib/get-file-size.d.ts +0 -2
- package/dist/lib/get-file-size.d.ts.map +0 -1
- package/dist/lib/get-source-map-url.d.ts +0 -2
- package/dist/lib/get-source-map-url.d.ts.map +0 -1
- package/dist/lib/get-string-details.d.ts +0 -3
- package/dist/lib/get-string-details.d.ts.map +0 -1
- package/dist/lib/get-string-hash.d.ts +0 -3
- package/dist/lib/get-string-hash.d.ts.map +0 -1
- package/dist/lib/maximum-size-transform.d.ts +0 -3
- package/dist/lib/maximum-size-transform.d.ts.map +0 -1
- package/dist/lib/modify-url-prefix-transform.d.ts +0 -5
- package/dist/lib/modify-url-prefix-transform.d.ts.map +0 -1
- package/dist/lib/no-revision-for-urls-matching-transform.d.ts +0 -3
- package/dist/lib/no-revision-for-urls-matching-transform.d.ts.map +0 -1
- package/dist/lib/rebase-path.d.ts +0 -5
- package/dist/lib/rebase-path.d.ts.map +0 -1
- package/dist/lib/replace-and-update-source-map.d.ts +0 -42
- package/dist/lib/replace-and-update-source-map.d.ts.map +0 -1
- package/dist/lib/transform-manifest.d.ts +0 -61
- package/dist/lib/transform-manifest.d.ts.map +0 -1
- package/dist/lib/translate-url-to-sourcemap-paths.d.ts +0 -6
- package/dist/lib/translate-url-to-sourcemap-paths.d.ts.map +0 -1
- package/dist/lib/validate-options.d.ts +0 -4
- package/dist/lib/validate-options.d.ts.map +0 -1
- package/dist/schema/assert-type.d.ts +0 -4
- package/dist/schema/assert-type.d.ts.map +0 -1
- package/dist/schema/base.d.ts +0 -66
- package/dist/schema/base.d.ts.map +0 -1
- package/dist/schema/error.d.ts +0 -9
- package/dist/schema/error.d.ts.map +0 -1
- package/dist/schema/get-manifest.d.ts +0 -72
- package/dist/schema/get-manifest.d.ts.map +0 -1
- package/dist/schema/glob.d.ts +0 -15
- package/dist/schema/glob.d.ts.map +0 -1
- package/dist/schema/inject-manifest.d.ts +0 -79
- package/dist/schema/inject-manifest.d.ts.map +0 -1
- package/dist/schema/manifest-entry.d.ts +0 -7
- package/dist/schema/manifest-entry.d.ts.map +0 -1
- package/dist/schema/manifest-transform.d.ts +0 -64
- package/dist/schema/manifest-transform.d.ts.map +0 -1
- package/dist/schema/sw-dest.d.ts +0 -8
- package/dist/schema/sw-dest.d.ts.map +0 -1
- package/dist/schema/utils.d.ts +0 -10
- package/dist/schema/utils.d.ts.map +0 -1
- package/dist/types.d.ts +0 -204
- package/dist/types.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"additional-precache-entries-transform.d.ts","sourceRoot":"","sources":["../../src/lib/additional-precache-entries-transform.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,KAAK,kCAAkC,GAAG,CAAC,QAAQ,EAAE,CAAC,aAAa,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,EAAE,KAAK;IAC5F,QAAQ,EAAE,CAAC,aAAa,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;IAC/C,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,kCAAkC,GAAI,2BAA2B,CAAC,aAAa,GAAG,MAAM,CAAC,EAAE,KAAG,kCAqC1G,CAAC"}
|
package/dist/lib/constants.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/lib/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,UAAyB,CAAC"}
|
package/dist/lib/errors.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
export declare const errors: {
|
|
2
|
-
"unable-to-get-rootdir": string;
|
|
3
|
-
"no-extension": string;
|
|
4
|
-
"invalid-file-manifest-name": string;
|
|
5
|
-
"unable-to-get-file-manifest-name": string;
|
|
6
|
-
"invalid-sw-dest": string;
|
|
7
|
-
"unable-to-get-sw-name": string;
|
|
8
|
-
"unable-to-get-save-config": string;
|
|
9
|
-
"unable-to-get-file-hash": string;
|
|
10
|
-
"unable-to-get-file-size": string;
|
|
11
|
-
"unable-to-glob-files": string;
|
|
12
|
-
"unable-to-make-manifest-directory": string;
|
|
13
|
-
"read-manifest-template-failure": string;
|
|
14
|
-
"populating-manifest-tmpl-failed": string;
|
|
15
|
-
"manifest-file-write-failure": string;
|
|
16
|
-
"unable-to-make-sw-directory": string;
|
|
17
|
-
"sw-write-failure": string;
|
|
18
|
-
"sw-write-failure-directory": string;
|
|
19
|
-
"unable-to-copy-serwist-libraries": string;
|
|
20
|
-
"invalid-glob-directory": string;
|
|
21
|
-
"invalid-dont-cache-bust": string;
|
|
22
|
-
"invalid-exclude-files": string;
|
|
23
|
-
"invalid-get-manifest-entries-input": string;
|
|
24
|
-
"invalid-manifest-path": string;
|
|
25
|
-
"invalid-manifest-entries": string;
|
|
26
|
-
"invalid-manifest-format": string;
|
|
27
|
-
"invalid-static-file-globs": string;
|
|
28
|
-
"invalid-templated-urls": string;
|
|
29
|
-
"templated-url-matches-glob": string;
|
|
30
|
-
"invalid-glob-ignores": string;
|
|
31
|
-
"manifest-entry-bad-url": string;
|
|
32
|
-
"modify-url-prefix-bad-prefixes": string;
|
|
33
|
-
"invalid-inject-manifest-arg": string;
|
|
34
|
-
"injection-point-not-found": string;
|
|
35
|
-
"multiple-injection-points": string;
|
|
36
|
-
"bad-template-urls-asset": string;
|
|
37
|
-
"invalid-generate-file-manifest-arg": string;
|
|
38
|
-
"invalid-sw-src": string;
|
|
39
|
-
"same-src-and-dest": string;
|
|
40
|
-
"no-module-name": string;
|
|
41
|
-
"bad-manifest-transforms-return-value": string;
|
|
42
|
-
"string-entry-warning": string;
|
|
43
|
-
"cant-find-sourcemap": string;
|
|
44
|
-
"manifest-transforms": string;
|
|
45
|
-
};
|
|
46
|
-
//# sourceMappingURL=errors.d.ts.map
|
package/dist/lib/errors.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/lib/errors.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgFlB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"escape-regexp.d.ts","sourceRoot":"","sources":["../../src/lib/escape-regexp.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM,KAAG,MAE1C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-composite-details.d.ts","sourceRoot":"","sources":["../../src/lib/get-composite-details.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,eAAO,MAAM,mBAAmB,GAAI,cAAc,MAAM,EAAE,mBAAmB,WAAW,EAAE,KAAG,WAkB5F,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { FileDetails, GlobPartial } from "../types.js";
|
|
2
|
-
export declare const getFileDetails: ({ globDirectory, globFollow, globIgnores, globPattern, }: Omit<GlobPartial, "globDirectory" | "globPatterns" | "templatedURLs"> & {
|
|
3
|
-
globDirectory: string;
|
|
4
|
-
globPattern: string;
|
|
5
|
-
}) => {
|
|
6
|
-
globbedFileDetails: FileDetails[];
|
|
7
|
-
warning: string;
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=get-file-details.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-file-details.d.ts","sourceRoot":"","sources":["../../src/lib/get-file-details.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAK5D,eAAO,MAAM,cAAc,GAAI,0DAK5B,IAAI,CAAC,WAAW,EAAE,eAAe,GAAG,cAAc,GAAG,eAAe,CAAC,GAAG;IAEzE,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACrB,KAAG;IACF,kBAAkB,EAAE,WAAW,EAAE,CAAC;IAClC,OAAO,EAAE,MAAM,CAAC;CA8BjB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-file-hash.d.ts","sourceRoot":"","sources":["../../src/lib/get-file-hash.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,KAAG,MAO1C,CAAC"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { GetManifestOptionsComplete, GetManifestResult } from "../types.js";
|
|
2
|
-
export declare const getFileManifestEntries: ({ additionalPrecacheEntries, dontCacheBustURLsMatching, globDirectory, globFollow, globIgnores, globPatterns, globStrict, manifestTransforms, maximumFileSizeToCacheInBytes, modifyURLPrefix, templatedURLs, disablePrecacheManifest, }: GetManifestOptionsComplete) => Promise<GetManifestResult>;
|
|
3
|
-
//# sourceMappingURL=get-file-manifest-entries.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-file-manifest-entries.d.ts","sourceRoot":"","sources":["../../src/lib/get-file-manifest-entries.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAe,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAO9F,eAAO,MAAM,sBAAsB,GAAU,yOAa1C,0BAA0B,KAAG,OAAO,CAAC,iBAAiB,CA+FxD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-file-size.d.ts","sourceRoot":"","sources":["../../src/lib/get-file-size.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,KAAG,MAAM,GAAG,IAUnD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-source-map-url.d.ts","sourceRoot":"","sources":["../../src/lib/get-source-map-url.ts"],"names":[],"mappings":"AAaA,wBAAgB,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAGlE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-string-details.d.ts","sourceRoot":"","sources":["../../src/lib/get-string-details.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C,eAAO,MAAM,gBAAgB,GAAI,KAAK,MAAM,EAAE,KAAK,MAAM,KAAG,WAI1D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-string-hash.d.ts","sourceRoot":"","sources":["../../src/lib/get-string-hash.ts"],"names":[],"mappings":"AAQA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,CAAC,UAAU,GAAG,MAAM,CAI9D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"maximum-size-transform.d.ts","sourceRoot":"","sources":["../../src/lib/maximum-size-transform.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,wBAAgB,oBAAoB,CAAC,6BAA6B,EAAE,MAAM,GAAG,iBAAiB,CAgB7F"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"modify-url-prefix-transform.d.ts","sourceRoot":"","sources":["../../src/lib/modify-url-prefix-transform.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAIrD,wBAAgB,wBAAwB,CAAC,eAAe,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,GAAG,iBAAiB,CA0CtG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"no-revision-for-urls-matching-transform.d.ts","sourceRoot":"","sources":["../../src/lib/no-revision-for-urls-matching-transform.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAGrD,wBAAgB,kCAAkC,CAAC,MAAM,EAAE,MAAM,GAAG,iBAAiB,CAoBpF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rebase-path.d.ts","sourceRoot":"","sources":["../../src/lib/rebase-path.ts"],"names":[],"mappings":"AAWA,wBAAgB,UAAU,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,EAAE;IAAE,aAAa,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,CAWnG"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { RawSourceMap } from "source-map";
|
|
2
|
-
interface ReplaceAndUpdateSourceMapOptions {
|
|
3
|
-
/**
|
|
4
|
-
* The name for the file whose contents
|
|
5
|
-
* correspond to originalSource.
|
|
6
|
-
*/
|
|
7
|
-
jsFilename: string;
|
|
8
|
-
/**
|
|
9
|
-
* The sourcemap for originalSource,
|
|
10
|
-
* prior to any replacements.
|
|
11
|
-
*/
|
|
12
|
-
originalMap: RawSourceMap;
|
|
13
|
-
/**
|
|
14
|
-
* The source code, prior to any
|
|
15
|
-
* replacements.
|
|
16
|
-
*/
|
|
17
|
-
originalSource: string;
|
|
18
|
-
/**
|
|
19
|
-
* A string to swap in for searchString.
|
|
20
|
-
*/
|
|
21
|
-
replaceString: string;
|
|
22
|
-
/**
|
|
23
|
-
* A string in originalSource to replace.
|
|
24
|
-
* Only the first occurrence will be replaced.
|
|
25
|
-
*/
|
|
26
|
-
searchString: string;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Adapted from https://github.com/nsams/sourcemap-aware-replace, with modern
|
|
30
|
-
* JavaScript updates, along with additional properties copied from originalMap.
|
|
31
|
-
*
|
|
32
|
-
* @param options
|
|
33
|
-
* @returns An object containing both
|
|
34
|
-
* originalSource with the replacement applied, and the modified originalMap.
|
|
35
|
-
* @private
|
|
36
|
-
*/
|
|
37
|
-
export declare function replaceAndUpdateSourceMap({ jsFilename, originalMap, originalSource, replaceString, searchString, }: ReplaceAndUpdateSourceMapOptions): Promise<{
|
|
38
|
-
map: string;
|
|
39
|
-
source: string;
|
|
40
|
-
}>;
|
|
41
|
-
export {};
|
|
42
|
-
//# sourceMappingURL=replace-and-update-source-map.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"replace-and-update-source-map.d.ts","sourceRoot":"","sources":["../../src/lib/replace-and-update-source-map.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG/C,UAAU,gCAAgC;IACxC;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,WAAW,EAAE,YAAY,CAAC;IAC1B;;;OAGG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;;GAQG;AACH,wBAAsB,yBAAyB,CAAC,EAC9C,UAAU,EACV,WAAW,EACX,cAAc,EACd,aAAa,EACb,YAAY,GACb,EAAE,gCAAgC,GAAG,OAAO,CAAC;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CAoE7E"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import type { BaseResolved, FileDetails, ManifestEntry } from "../types.js";
|
|
2
|
-
/**
|
|
3
|
-
* A `ManifestTransform` function can be used to modify the modify the `url` or
|
|
4
|
-
* `revision` properties of some or all of the {@linkcode ManifestEntry} in the manifest.
|
|
5
|
-
*
|
|
6
|
-
* Deleting the `revision` property of an entry will cause
|
|
7
|
-
* the corresponding `url` to be precached without cache-busting parameters
|
|
8
|
-
* applied, which is to say, it implies that the URL itself contains
|
|
9
|
-
* proper versioning info. If the `revision` property is present, it must be
|
|
10
|
-
* set to a string.
|
|
11
|
-
*
|
|
12
|
-
* @example A transformation that prepended the origin of a CDN for any
|
|
13
|
-
* URL starting with '/assets/' could be implemented as:
|
|
14
|
-
*
|
|
15
|
-
* const cdnTransform = async (manifestEntries) => {
|
|
16
|
-
* const manifest = manifestEntries.map(entry => {
|
|
17
|
-
* const cdnOrigin = 'https://example.com';
|
|
18
|
-
* if (entry.url.startsWith('/assets/')) {
|
|
19
|
-
* entry.url = cdnOrigin + entry.url;
|
|
20
|
-
* }
|
|
21
|
-
* return entry;
|
|
22
|
-
* });
|
|
23
|
-
* return {manifest, warnings: []};
|
|
24
|
-
* };
|
|
25
|
-
*
|
|
26
|
-
* @example A transformation that nulls the revision field when the
|
|
27
|
-
* URL contains an 8-character hash surrounded by '.', indicating that it
|
|
28
|
-
* already contains revision information:
|
|
29
|
-
*
|
|
30
|
-
* const removeRevisionTransform = async (manifestEntries) => {
|
|
31
|
-
* const manifest = manifestEntries.map(entry => {
|
|
32
|
-
* const hashRegExp = /\.\w{8}\./;
|
|
33
|
-
* if (entry.url.match(hashRegExp)) {
|
|
34
|
-
* entry.revision = null;
|
|
35
|
-
* }
|
|
36
|
-
* return entry;
|
|
37
|
-
* });
|
|
38
|
-
* return {manifest, warnings: []};
|
|
39
|
-
* };
|
|
40
|
-
*
|
|
41
|
-
* @callback ManifestTransform
|
|
42
|
-
* @param manifestEntries The full
|
|
43
|
-
* array of entries, prior to the current transformation.
|
|
44
|
-
* @param compilation When used in the webpack plugins, this param
|
|
45
|
-
* will be set to the current `compilation`.
|
|
46
|
-
* @returns The array of entries with the transformation applied,
|
|
47
|
-
* and optionally, any warnings that should be reported back to the build tool.
|
|
48
|
-
*/
|
|
49
|
-
interface ManifestTransformResultWithWarnings {
|
|
50
|
-
count: number;
|
|
51
|
-
size: number;
|
|
52
|
-
manifestEntries: ManifestEntry[] | undefined;
|
|
53
|
-
warnings: string[];
|
|
54
|
-
}
|
|
55
|
-
interface TransformManifestOptions extends Pick<BaseResolved, "additionalPrecacheEntries" | "dontCacheBustURLsMatching" | "manifestTransforms" | "maximumFileSizeToCacheInBytes" | "modifyURLPrefix" | "disablePrecacheManifest"> {
|
|
56
|
-
fileDetails: FileDetails[];
|
|
57
|
-
transformParam?: unknown;
|
|
58
|
-
}
|
|
59
|
-
export declare function transformManifest({ additionalPrecacheEntries, dontCacheBustURLsMatching, fileDetails, manifestTransforms, maximumFileSizeToCacheInBytes, modifyURLPrefix, transformParam, disablePrecacheManifest, }: TransformManifestOptions): Promise<ManifestTransformResultWithWarnings>;
|
|
60
|
-
export {};
|
|
61
|
-
//# sourceMappingURL=transform-manifest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transform-manifest.d.ts","sourceRoot":"","sources":["../../src/lib/transform-manifest.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,aAAa,EAAqB,MAAM,aAAa,CAAC;AAO/F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,UAAU,mCAAmC;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,aAAa,EAAE,GAAG,SAAS,CAAC;IAC7C,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAID,UAAU,wBACR,SAAQ,IAAI,CACV,YAAY,EACV,2BAA2B,GAC3B,2BAA2B,GAC3B,oBAAoB,GACpB,+BAA+B,GAC/B,iBAAiB,GACjB,yBAAyB,CAC5B;IACD,WAAW,EAAE,WAAW,EAAE,CAAC;IAG3B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,wBAAsB,iBAAiB,CAAC,EACtC,yBAAyB,EACzB,yBAAyB,EACzB,WAAW,EACX,kBAAkB,EAClB,6BAA6B,EAC7B,eAAe,EACf,cAAc,EACd,uBAAuB,GACxB,EAAE,wBAAwB,GAAG,OAAO,CAAC,mCAAmC,CAAC,CAsEzE"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare function translateURLToSourcemapPaths(url: string | null, swSrc: string, swDest: string): {
|
|
2
|
-
destPath: string | undefined;
|
|
3
|
-
srcPath: string | undefined;
|
|
4
|
-
warning: string | undefined;
|
|
5
|
-
};
|
|
6
|
-
//# sourceMappingURL=translate-url-to-sourcemap-paths.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"translate-url-to-sourcemap-paths.d.ts","sourceRoot":"","sources":["../../src/lib/translate-url-to-sourcemap-paths.ts"],"names":[],"mappings":"AAYA,wBAAgB,4BAA4B,CAC1C,GAAG,EAAE,MAAM,GAAG,IAAI,EAClB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,GACb;IACD,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAgBA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { GetManifestOptionsComplete, InjectManifestOptionsComplete } from "../types.js";
|
|
2
|
-
export declare const validateGetManifestOptions: (input: unknown) => Promise<GetManifestOptionsComplete>;
|
|
3
|
-
export declare const validateInjectManifestOptions: (input: unknown) => Promise<InjectManifestOptionsComplete>;
|
|
4
|
-
//# sourceMappingURL=validate-options.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate-options.d.ts","sourceRoot":"","sources":["../../src/lib/validate-options.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,0BAA0B,EAAE,6BAA6B,EAAE,MAAM,aAAa,CAAC;AAE7F,eAAO,MAAM,0BAA0B,GAAU,OAAO,OAAO,KAAG,OAAO,CAAC,0BAA0B,CASnG,CAAC;AAEF,eAAO,MAAM,6BAA6B,GAAU,OAAO,OAAO,KAAG,OAAO,CAAC,6BAA6B,CASzG,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"assert-type.d.ts","sourceRoot":"","sources":["../../src/schema/assert-type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,MAAM,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,KAAK,CAAC,GAAG,KAAK,CAAC;AAEtF,MAAM,MAAM,UAAU,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,KAAK,CAAC;AAE9D,wBAAgB,UAAU,CAAC,EAAE,SAAS,IAAI,UAEzC"}
|
package/dist/schema/base.d.ts
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const basePartial: z.ZodObject<{
|
|
3
|
-
additionalPrecacheEntries: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
5
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
-
url: z.ZodString;
|
|
7
|
-
}, z.core.$strict>]>>>;
|
|
8
|
-
disablePrecacheManifest: z.ZodDefault<z.ZodBoolean>;
|
|
9
|
-
dontCacheBustURLsMatching: z.ZodOptional<z.ZodCustom<RegExp, RegExp>>;
|
|
10
|
-
manifestTransforms: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodCustom<z.core.$InferInnerFunctionTypeAsync<z.ZodTuple<[z.ZodArray<z.ZodObject<{
|
|
11
|
-
size: z.ZodNumber;
|
|
12
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
13
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
url: z.ZodString;
|
|
15
|
-
}, z.core.$strip>>, z.ZodOptional<z.ZodUnknown>], null>, z.ZodObject<{
|
|
16
|
-
manifest: z.ZodArray<z.ZodObject<{
|
|
17
|
-
size: z.ZodNumber;
|
|
18
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
19
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
url: z.ZodString;
|
|
21
|
-
}, z.core.$strip>>;
|
|
22
|
-
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23
|
-
}, z.core.$strict>>, z.core.$InferInnerFunctionTypeAsync<z.ZodTuple<[z.ZodArray<z.ZodObject<{
|
|
24
|
-
size: z.ZodNumber;
|
|
25
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
26
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
url: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>, z.ZodOptional<z.ZodUnknown>], null>, z.ZodObject<{
|
|
29
|
-
manifest: z.ZodArray<z.ZodObject<{
|
|
30
|
-
size: z.ZodNumber;
|
|
31
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
32
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
url: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>;
|
|
35
|
-
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
36
|
-
}, z.core.$strict>>>, z.ZodTransform<z.core.$InferOuterFunctionTypeAsync<z.ZodTuple<[z.ZodArray<z.ZodObject<{
|
|
37
|
-
size: z.ZodNumber;
|
|
38
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
39
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
-
url: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>, z.ZodOptional<z.ZodUnknown>], null>, z.ZodObject<{
|
|
42
|
-
manifest: z.ZodArray<z.ZodObject<{
|
|
43
|
-
size: z.ZodNumber;
|
|
44
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
45
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
-
url: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>;
|
|
48
|
-
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
49
|
-
}, z.core.$strict>>, z.core.$InferInnerFunctionTypeAsync<z.ZodTuple<[z.ZodArray<z.ZodObject<{
|
|
50
|
-
size: z.ZodNumber;
|
|
51
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
52
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
-
url: z.ZodString;
|
|
54
|
-
}, z.core.$strip>>, z.ZodOptional<z.ZodUnknown>], null>, z.ZodObject<{
|
|
55
|
-
manifest: z.ZodArray<z.ZodObject<{
|
|
56
|
-
size: z.ZodNumber;
|
|
57
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
58
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
-
url: z.ZodString;
|
|
60
|
-
}, z.core.$strip>>;
|
|
61
|
-
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
62
|
-
}, z.core.$strict>>>>>>;
|
|
63
|
-
maximumFileSizeToCacheInBytes: z.ZodDefault<z.ZodNumber>;
|
|
64
|
-
modifyURLPrefix: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
65
|
-
}, z.core.$strict>;
|
|
66
|
-
//# sourceMappingURL=base.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../src/schema/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAOtB,CAAC"}
|
package/dist/schema/error.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { z } from "zod";
|
|
2
|
-
export declare class SerwistConfigError extends Error {
|
|
3
|
-
constructor({ moduleName, message }: {
|
|
4
|
-
moduleName?: string;
|
|
5
|
-
message?: string;
|
|
6
|
-
});
|
|
7
|
-
}
|
|
8
|
-
export declare const validationErrorMap: z.core.$ZodErrorMap;
|
|
9
|
-
//# sourceMappingURL=error.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../src/schema/error.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,qBAAa,kBAAmB,SAAQ,KAAK;gBAC/B,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE;QAAE,UAAU,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE;CAI/E;AAyBD,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,IAAI,CAAC,YAoBvC,CAAC"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const getManifestOptions: z.ZodObject<{
|
|
3
|
-
globDirectory: z.ZodString;
|
|
4
|
-
globFollow: z.ZodDefault<z.ZodBoolean>;
|
|
5
|
-
globIgnores: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6
|
-
globPatterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
7
|
-
globStrict: z.ZodDefault<z.ZodBoolean>;
|
|
8
|
-
templatedURLs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
9
|
-
additionalPrecacheEntries: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
10
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
11
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
url: z.ZodString;
|
|
13
|
-
}, z.core.$strict>]>>>;
|
|
14
|
-
disablePrecacheManifest: z.ZodDefault<z.ZodBoolean>;
|
|
15
|
-
dontCacheBustURLsMatching: z.ZodOptional<z.ZodCustom<RegExp, RegExp>>;
|
|
16
|
-
manifestTransforms: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodCustom<z.core.$InferInnerFunctionTypeAsync<z.ZodTuple<[z.ZodArray<z.ZodObject<{
|
|
17
|
-
size: z.ZodNumber;
|
|
18
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
19
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
url: z.ZodString;
|
|
21
|
-
}, z.core.$strip>>, z.ZodOptional<z.ZodUnknown>], null>, z.ZodObject<{
|
|
22
|
-
manifest: z.ZodArray<z.ZodObject<{
|
|
23
|
-
size: z.ZodNumber;
|
|
24
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
25
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
url: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>;
|
|
28
|
-
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29
|
-
}, z.core.$strict>>, z.core.$InferInnerFunctionTypeAsync<z.ZodTuple<[z.ZodArray<z.ZodObject<{
|
|
30
|
-
size: z.ZodNumber;
|
|
31
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
32
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
url: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>, z.ZodOptional<z.ZodUnknown>], null>, z.ZodObject<{
|
|
35
|
-
manifest: z.ZodArray<z.ZodObject<{
|
|
36
|
-
size: z.ZodNumber;
|
|
37
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
38
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
-
url: z.ZodString;
|
|
40
|
-
}, z.core.$strip>>;
|
|
41
|
-
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
42
|
-
}, z.core.$strict>>>, z.ZodTransform<z.core.$InferOuterFunctionTypeAsync<z.ZodTuple<[z.ZodArray<z.ZodObject<{
|
|
43
|
-
size: z.ZodNumber;
|
|
44
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
45
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
-
url: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>, z.ZodOptional<z.ZodUnknown>], null>, z.ZodObject<{
|
|
48
|
-
manifest: z.ZodArray<z.ZodObject<{
|
|
49
|
-
size: z.ZodNumber;
|
|
50
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
51
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
-
url: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>;
|
|
54
|
-
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
55
|
-
}, z.core.$strict>>, z.core.$InferInnerFunctionTypeAsync<z.ZodTuple<[z.ZodArray<z.ZodObject<{
|
|
56
|
-
size: z.ZodNumber;
|
|
57
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
58
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
-
url: z.ZodString;
|
|
60
|
-
}, z.core.$strip>>, z.ZodOptional<z.ZodUnknown>], null>, z.ZodObject<{
|
|
61
|
-
manifest: z.ZodArray<z.ZodObject<{
|
|
62
|
-
size: z.ZodNumber;
|
|
63
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
64
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
-
url: z.ZodString;
|
|
66
|
-
}, z.core.$strip>>;
|
|
67
|
-
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
68
|
-
}, z.core.$strict>>>>>>;
|
|
69
|
-
maximumFileSizeToCacheInBytes: z.ZodDefault<z.ZodNumber>;
|
|
70
|
-
modifyURLPrefix: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
71
|
-
}, z.core.$strict>;
|
|
72
|
-
//# sourceMappingURL=get-manifest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-manifest.d.ts","sourceRoot":"","sources":["../../src/schema/get-manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAI7B,CAAC"}
|
package/dist/schema/glob.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const globPartial: z.ZodObject<{
|
|
3
|
-
globFollow: z.ZodDefault<z.ZodBoolean>;
|
|
4
|
-
globIgnores: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5
|
-
globPatterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6
|
-
globStrict: z.ZodDefault<z.ZodBoolean>;
|
|
7
|
-
templatedURLs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
8
|
-
}, z.core.$strict>;
|
|
9
|
-
export declare const optionalGlobDirectoryPartial: z.ZodObject<{
|
|
10
|
-
globDirectory: z.ZodOptional<z.ZodString>;
|
|
11
|
-
}, z.core.$strict>;
|
|
12
|
-
export declare const requiredGlobDirectoryPartial: z.ZodObject<{
|
|
13
|
-
globDirectory: z.ZodString;
|
|
14
|
-
}, z.core.$strict>;
|
|
15
|
-
//# sourceMappingURL=glob.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"glob.d.ts","sourceRoot":"","sources":["../../src/schema/glob.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,WAAW;;;;;;kBAMtB,CAAC;AAEH,eAAO,MAAM,4BAA4B;;kBAEvC,CAAC;AAIH,eAAO,MAAM,4BAA4B;;kBAEvC,CAAC"}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const baseInjectPartial: z.ZodObject<{
|
|
3
|
-
injectionPoint: z.ZodDefault<z.ZodString>;
|
|
4
|
-
swSrc: z.ZodString;
|
|
5
|
-
}, z.core.$strict>;
|
|
6
|
-
export declare const injectManifestOptions: z.ZodObject<{
|
|
7
|
-
globDirectory: z.ZodString;
|
|
8
|
-
swDest: z.ZodString;
|
|
9
|
-
injectionPoint: z.ZodDefault<z.ZodString>;
|
|
10
|
-
swSrc: z.ZodString;
|
|
11
|
-
globFollow: z.ZodDefault<z.ZodBoolean>;
|
|
12
|
-
globIgnores: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
13
|
-
globPatterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
14
|
-
globStrict: z.ZodDefault<z.ZodBoolean>;
|
|
15
|
-
templatedURLs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
16
|
-
additionalPrecacheEntries: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
17
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
18
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
url: z.ZodString;
|
|
20
|
-
}, z.core.$strict>]>>>;
|
|
21
|
-
disablePrecacheManifest: z.ZodDefault<z.ZodBoolean>;
|
|
22
|
-
dontCacheBustURLsMatching: z.ZodOptional<z.ZodCustom<RegExp, RegExp>>;
|
|
23
|
-
manifestTransforms: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodCustom<z.core.$InferInnerFunctionTypeAsync<z.ZodTuple<[z.ZodArray<z.ZodObject<{
|
|
24
|
-
size: z.ZodNumber;
|
|
25
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
26
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
url: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>, z.ZodOptional<z.ZodUnknown>], null>, z.ZodObject<{
|
|
29
|
-
manifest: z.ZodArray<z.ZodObject<{
|
|
30
|
-
size: z.ZodNumber;
|
|
31
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
32
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
url: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>;
|
|
35
|
-
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
36
|
-
}, z.core.$strict>>, z.core.$InferInnerFunctionTypeAsync<z.ZodTuple<[z.ZodArray<z.ZodObject<{
|
|
37
|
-
size: z.ZodNumber;
|
|
38
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
39
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
-
url: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>, z.ZodOptional<z.ZodUnknown>], null>, z.ZodObject<{
|
|
42
|
-
manifest: z.ZodArray<z.ZodObject<{
|
|
43
|
-
size: z.ZodNumber;
|
|
44
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
45
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
-
url: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>;
|
|
48
|
-
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
49
|
-
}, z.core.$strict>>>, z.ZodTransform<z.core.$InferOuterFunctionTypeAsync<z.ZodTuple<[z.ZodArray<z.ZodObject<{
|
|
50
|
-
size: z.ZodNumber;
|
|
51
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
52
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
-
url: z.ZodString;
|
|
54
|
-
}, z.core.$strip>>, z.ZodOptional<z.ZodUnknown>], null>, z.ZodObject<{
|
|
55
|
-
manifest: z.ZodArray<z.ZodObject<{
|
|
56
|
-
size: z.ZodNumber;
|
|
57
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
58
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
-
url: z.ZodString;
|
|
60
|
-
}, z.core.$strip>>;
|
|
61
|
-
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
62
|
-
}, z.core.$strict>>, z.core.$InferInnerFunctionTypeAsync<z.ZodTuple<[z.ZodArray<z.ZodObject<{
|
|
63
|
-
size: z.ZodNumber;
|
|
64
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
65
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
|
-
url: z.ZodString;
|
|
67
|
-
}, z.core.$strip>>, z.ZodOptional<z.ZodUnknown>], null>, z.ZodObject<{
|
|
68
|
-
manifest: z.ZodArray<z.ZodObject<{
|
|
69
|
-
size: z.ZodNumber;
|
|
70
|
-
integrity: z.ZodOptional<z.ZodString>;
|
|
71
|
-
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
-
url: z.ZodString;
|
|
73
|
-
}, z.core.$strip>>;
|
|
74
|
-
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
75
|
-
}, z.core.$strict>>>>>>;
|
|
76
|
-
maximumFileSizeToCacheInBytes: z.ZodDefault<z.ZodNumber>;
|
|
77
|
-
modifyURLPrefix: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
78
|
-
}, z.core.$strict>;
|
|
79
|
-
//# sourceMappingURL=inject-manifest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"inject-manifest.d.ts","sourceRoot":"","sources":["../../src/schema/inject-manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,iBAAiB;;;kBAG5B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAMhC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"manifest-entry.d.ts","sourceRoot":"","sources":["../../src/schema/manifest-entry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,aAAa;;;;kBAIxB,CAAC"}
|