@slicemachine/manager 0.1.1-dev-plugins.3
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/LICENSE +202 -0
- package/dist/__node_modules/@mswjs/cookies/lib/index.cjs +26 -0
- package/dist/__node_modules/@mswjs/cookies/lib/index.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/cookies/lib/index.js +25 -0
- package/dist/__node_modules/@mswjs/cookies/lib/index.js.map +1 -0
- package/dist/__node_modules/@mswjs/cookies/lib/store.cjs +175 -0
- package/dist/__node_modules/@mswjs/cookies/lib/store.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/cookies/lib/store.js +174 -0
- package/dist/__node_modules/@mswjs/cookies/lib/store.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/BatchInterceptor.cjs +92 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/BatchInterceptor.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/BatchInterceptor.js +93 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/BatchInterceptor.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/InteractiveIsomorphicRequest.cjs +52 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/InteractiveIsomorphicRequest.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/InteractiveIsomorphicRequest.js +53 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/InteractiveIsomorphicRequest.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/Interceptor.cjs +176 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/Interceptor.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/Interceptor.js +175 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/Interceptor.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/IsomorphicRequest.cjs +186 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/IsomorphicRequest.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/IsomorphicRequest.js +187 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/IsomorphicRequest.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/glossary.cjs +7 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/glossary.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/glossary.js +8 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/glossary.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/index.cjs +54 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/index.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/index.js +53 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/index.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/XMLHttpRequestOverride.cjs +554 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/XMLHttpRequestOverride.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/XMLHttpRequestOverride.js +554 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/XMLHttpRequestOverride.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/index.cjs +83 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/index.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/index.js +83 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/index.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/EventPolyfill.cjs +57 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/EventPolyfill.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/EventPolyfill.js +57 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/EventPolyfill.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.cjs +51 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.js +51 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/bufferFrom.cjs +26 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/bufferFrom.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/bufferFrom.js +26 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/bufferFrom.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/createEvent.cjs +41 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/createEvent.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/createEvent.js +41 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/createEvent.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/fetch/index.cjs +319 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/fetch/index.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/fetch/index.js +319 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/fetch/index.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/AsyncEventEmitter.cjs +327 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/AsyncEventEmitter.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/AsyncEventEmitter.js +326 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/AsyncEventEmitter.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/bufferUtils.cjs +24 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/bufferUtils.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/bufferUtils.js +25 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/bufferUtils.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/createLazyCallback.cjs +148 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/createLazyCallback.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/createLazyCallback.js +149 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/createLazyCallback.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/getCleanUrl.cjs +13 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/getCleanUrl.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/getCleanUrl.js +14 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/getCleanUrl.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/nextTick.cjs +18 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/nextTick.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/nextTick.js +19 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/nextTick.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/parseJson.cjs +23 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/parseJson.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/parseJson.js +23 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/parseJson.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/toIsoResponse.cjs +26 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/toIsoResponse.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/toIsoResponse.js +26 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/toIsoResponse.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/uuid.cjs +14 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/uuid.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/uuid.js +15 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/uuid.js.map +1 -0
- package/dist/__node_modules/@open-draft/until/lib/index.cjs +9 -0
- package/dist/__node_modules/@open-draft/until/lib/index.cjs.map +1 -0
- package/dist/__node_modules/@open-draft/until/lib/index.js +10 -0
- package/dist/__node_modules/@open-draft/until/lib/index.js.map +1 -0
- package/dist/__node_modules/@open-draft/until/lib/until.cjs +15 -0
- package/dist/__node_modules/@open-draft/until/lib/until.cjs.map +1 -0
- package/dist/__node_modules/@open-draft/until/lib/until.js +16 -0
- package/dist/__node_modules/@open-draft/until/lib/until.js.map +1 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/conventions.cjs +144 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/conventions.cjs.map +1 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/conventions.js +144 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/conventions.js.map +1 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/dom-parser.cjs +226 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/dom-parser.cjs.map +1 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/dom-parser.js +226 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/dom-parser.js.map +1 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/dom.cjs +1396 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/dom.cjs.map +1 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/dom.js +1396 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/dom.js.map +1 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/entities.cjs +261 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/entities.cjs.map +1 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/entities.js +261 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/entities.js.map +1 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/index.cjs +18 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/index.cjs.map +1 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/index.js +18 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/index.js.map +1 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/sax.cjs +588 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/sax.cjs.map +1 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/sax.js +588 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/sax.js.map +1 -0
- package/dist/__node_modules/busboy/lib/index.cjs +51 -0
- package/dist/__node_modules/busboy/lib/index.cjs.map +1 -0
- package/dist/__node_modules/busboy/lib/index.js +52 -0
- package/dist/__node_modules/busboy/lib/index.js.map +1 -0
- package/dist/__node_modules/busboy/lib/types/multipart.cjs +1046 -0
- package/dist/__node_modules/busboy/lib/types/multipart.cjs.map +1 -0
- package/dist/__node_modules/busboy/lib/types/multipart.js +1047 -0
- package/dist/__node_modules/busboy/lib/types/multipart.js.map +1 -0
- package/dist/__node_modules/busboy/lib/types/urlencoded.cjs +545 -0
- package/dist/__node_modules/busboy/lib/types/urlencoded.cjs.map +1 -0
- package/dist/__node_modules/busboy/lib/types/urlencoded.js +546 -0
- package/dist/__node_modules/busboy/lib/types/urlencoded.js.map +1 -0
- package/dist/__node_modules/busboy/lib/utils.cjs +1681 -0
- package/dist/__node_modules/busboy/lib/utils.cjs.map +1 -0
- package/dist/__node_modules/busboy/lib/utils.js +1682 -0
- package/dist/__node_modules/busboy/lib/utils.js.map +1 -0
- package/dist/__node_modules/common-tags/es/TemplateTag/TemplateTag.cjs +135 -0
- package/dist/__node_modules/common-tags/es/TemplateTag/TemplateTag.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/TemplateTag/TemplateTag.js +136 -0
- package/dist/__node_modules/common-tags/es/TemplateTag/TemplateTag.js.map +1 -0
- package/dist/__node_modules/common-tags/es/commaLists/commaLists.cjs +7 -0
- package/dist/__node_modules/common-tags/es/commaLists/commaLists.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/commaLists/commaLists.js +6 -0
- package/dist/__node_modules/common-tags/es/commaLists/commaLists.js.map +1 -0
- package/dist/__node_modules/common-tags/es/commaListsAnd/commaListsAnd.cjs +7 -0
- package/dist/__node_modules/common-tags/es/commaListsAnd/commaListsAnd.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/commaListsAnd/commaListsAnd.js +6 -0
- package/dist/__node_modules/common-tags/es/commaListsAnd/commaListsAnd.js.map +1 -0
- package/dist/__node_modules/common-tags/es/commaListsOr/commaListsOr.cjs +7 -0
- package/dist/__node_modules/common-tags/es/commaListsOr/commaListsOr.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/commaListsOr/commaListsOr.js +6 -0
- package/dist/__node_modules/common-tags/es/commaListsOr/commaListsOr.js.map +1 -0
- package/dist/__node_modules/common-tags/es/html/html.cjs +9 -0
- package/dist/__node_modules/common-tags/es/html/html.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/html/html.js +8 -0
- package/dist/__node_modules/common-tags/es/html/html.js.map +1 -0
- package/dist/__node_modules/common-tags/es/inlineArrayTransformer/inlineArrayTransformer.cjs +32 -0
- package/dist/__node_modules/common-tags/es/inlineArrayTransformer/inlineArrayTransformer.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/inlineArrayTransformer/inlineArrayTransformer.js +33 -0
- package/dist/__node_modules/common-tags/es/inlineArrayTransformer/inlineArrayTransformer.js.map +1 -0
- package/dist/__node_modules/common-tags/es/inlineLists/inlineLists.cjs +7 -0
- package/dist/__node_modules/common-tags/es/inlineLists/inlineLists.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/inlineLists/inlineLists.js +6 -0
- package/dist/__node_modules/common-tags/es/inlineLists/inlineLists.js.map +1 -0
- package/dist/__node_modules/common-tags/es/oneLine/oneLine.cjs +6 -0
- package/dist/__node_modules/common-tags/es/oneLine/oneLine.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/oneLine/oneLine.js +5 -0
- package/dist/__node_modules/common-tags/es/oneLine/oneLine.js.map +1 -0
- package/dist/__node_modules/common-tags/es/oneLineCommaLists/oneLineCommaLists.cjs +7 -0
- package/dist/__node_modules/common-tags/es/oneLineCommaLists/oneLineCommaLists.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/oneLineCommaLists/oneLineCommaLists.js +6 -0
- package/dist/__node_modules/common-tags/es/oneLineCommaLists/oneLineCommaLists.js.map +1 -0
- package/dist/__node_modules/common-tags/es/oneLineCommaListsAnd/oneLineCommaListsAnd.cjs +7 -0
- package/dist/__node_modules/common-tags/es/oneLineCommaListsAnd/oneLineCommaListsAnd.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/oneLineCommaListsAnd/oneLineCommaListsAnd.js +6 -0
- package/dist/__node_modules/common-tags/es/oneLineCommaListsAnd/oneLineCommaListsAnd.js.map +1 -0
- package/dist/__node_modules/common-tags/es/oneLineCommaListsOr/oneLineCommaListsOr.cjs +7 -0
- package/dist/__node_modules/common-tags/es/oneLineCommaListsOr/oneLineCommaListsOr.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/oneLineCommaListsOr/oneLineCommaListsOr.js +6 -0
- package/dist/__node_modules/common-tags/es/oneLineCommaListsOr/oneLineCommaListsOr.js.map +1 -0
- package/dist/__node_modules/common-tags/es/oneLineInlineLists/oneLineInlineLists.cjs +7 -0
- package/dist/__node_modules/common-tags/es/oneLineInlineLists/oneLineInlineLists.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/oneLineInlineLists/oneLineInlineLists.js +6 -0
- package/dist/__node_modules/common-tags/es/oneLineInlineLists/oneLineInlineLists.js.map +1 -0
- package/dist/__node_modules/common-tags/es/oneLineTrim/oneLineTrim.cjs +6 -0
- package/dist/__node_modules/common-tags/es/oneLineTrim/oneLineTrim.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/oneLineTrim/oneLineTrim.js +5 -0
- package/dist/__node_modules/common-tags/es/oneLineTrim/oneLineTrim.js.map +1 -0
- package/dist/__node_modules/common-tags/es/removeNonPrintingValuesTransformer/removeNonPrintingValuesTransformer.cjs +19 -0
- package/dist/__node_modules/common-tags/es/removeNonPrintingValuesTransformer/removeNonPrintingValuesTransformer.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/removeNonPrintingValuesTransformer/removeNonPrintingValuesTransformer.js +20 -0
- package/dist/__node_modules/common-tags/es/removeNonPrintingValuesTransformer/removeNonPrintingValuesTransformer.js.map +1 -0
- package/dist/__node_modules/common-tags/es/replaceResultTransformer/replaceResultTransformer.cjs +13 -0
- package/dist/__node_modules/common-tags/es/replaceResultTransformer/replaceResultTransformer.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/replaceResultTransformer/replaceResultTransformer.js +14 -0
- package/dist/__node_modules/common-tags/es/replaceResultTransformer/replaceResultTransformer.js.map +1 -0
- package/dist/__node_modules/common-tags/es/replaceSubstitutionTransformer/replaceSubstitutionTransformer.cjs +17 -0
- package/dist/__node_modules/common-tags/es/replaceSubstitutionTransformer/replaceSubstitutionTransformer.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/replaceSubstitutionTransformer/replaceSubstitutionTransformer.js +18 -0
- package/dist/__node_modules/common-tags/es/replaceSubstitutionTransformer/replaceSubstitutionTransformer.js.map +1 -0
- package/dist/__node_modules/common-tags/es/safeHtml/safeHtml.cjs +9 -0
- package/dist/__node_modules/common-tags/es/safeHtml/safeHtml.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/safeHtml/safeHtml.js +8 -0
- package/dist/__node_modules/common-tags/es/safeHtml/safeHtml.js.map +1 -0
- package/dist/__node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.cjs +17 -0
- package/dist/__node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.js +18 -0
- package/dist/__node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.js.map +1 -0
- package/dist/__node_modules/common-tags/es/stripIndent/stripIndent.cjs +7 -0
- package/dist/__node_modules/common-tags/es/stripIndent/stripIndent.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/stripIndent/stripIndent.js +8 -0
- package/dist/__node_modules/common-tags/es/stripIndent/stripIndent.js.map +1 -0
- package/dist/__node_modules/common-tags/es/stripIndentTransformer/stripIndentTransformer.cjs +35 -0
- package/dist/__node_modules/common-tags/es/stripIndentTransformer/stripIndentTransformer.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/stripIndentTransformer/stripIndentTransformer.js +36 -0
- package/dist/__node_modules/common-tags/es/stripIndentTransformer/stripIndentTransformer.js.map +1 -0
- package/dist/__node_modules/common-tags/es/stripIndents/stripIndents.cjs +6 -0
- package/dist/__node_modules/common-tags/es/stripIndents/stripIndents.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/stripIndents/stripIndents.js +5 -0
- package/dist/__node_modules/common-tags/es/stripIndents/stripIndents.js.map +1 -0
- package/dist/__node_modules/common-tags/es/trimResultTransformer/trimResultTransformer.cjs +21 -0
- package/dist/__node_modules/common-tags/es/trimResultTransformer/trimResultTransformer.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/trimResultTransformer/trimResultTransformer.js +22 -0
- package/dist/__node_modules/common-tags/es/trimResultTransformer/trimResultTransformer.js.map +1 -0
- package/dist/__node_modules/data-uri-to-buffer/dist/index.cjs +41 -0
- package/dist/__node_modules/data-uri-to-buffer/dist/index.cjs.map +1 -0
- package/dist/__node_modules/data-uri-to-buffer/dist/index.js +41 -0
- package/dist/__node_modules/data-uri-to-buffer/dist/index.js.map +1 -0
- package/dist/__node_modules/debug/__node_modules/ms/index.cjs +122 -0
- package/dist/__node_modules/debug/__node_modules/ms/index.cjs.map +1 -0
- package/dist/__node_modules/debug/__node_modules/ms/index.js +122 -0
- package/dist/__node_modules/debug/__node_modules/ms/index.js.map +1 -0
- package/dist/__node_modules/debug/src/browser.cjs +165 -0
- package/dist/__node_modules/debug/src/browser.cjs.map +1 -0
- package/dist/__node_modules/debug/src/browser.js +164 -0
- package/dist/__node_modules/debug/src/browser.js.map +1 -0
- package/dist/__node_modules/debug/src/common.cjs +161 -0
- package/dist/__node_modules/debug/src/common.cjs.map +1 -0
- package/dist/__node_modules/debug/src/common.js +162 -0
- package/dist/__node_modules/debug/src/common.js.map +1 -0
- package/dist/__node_modules/devalue/src/constants.cjs +15 -0
- package/dist/__node_modules/devalue/src/constants.cjs.map +1 -0
- package/dist/__node_modules/devalue/src/constants.js +15 -0
- package/dist/__node_modules/devalue/src/constants.js.map +1 -0
- package/dist/__node_modules/devalue/src/parse.cjs +95 -0
- package/dist/__node_modules/devalue/src/parse.cjs.map +1 -0
- package/dist/__node_modules/devalue/src/parse.js +95 -0
- package/dist/__node_modules/devalue/src/parse.js.map +1 -0
- package/dist/__node_modules/devalue/src/stringify.cjs +140 -0
- package/dist/__node_modules/devalue/src/stringify.cjs.map +1 -0
- package/dist/__node_modules/devalue/src/stringify.js +140 -0
- package/dist/__node_modules/devalue/src/stringify.js.map +1 -0
- package/dist/__node_modules/devalue/src/uneval.cjs +4 -0
- package/dist/__node_modules/devalue/src/uneval.cjs.map +1 -0
- package/dist/__node_modules/devalue/src/uneval.js +3 -0
- package/dist/__node_modules/devalue/src/uneval.js.map +1 -0
- package/dist/__node_modules/devalue/src/utils.cjs +68 -0
- package/dist/__node_modules/devalue/src/utils.cjs.map +1 -0
- package/dist/__node_modules/devalue/src/utils.js +68 -0
- package/dist/__node_modules/devalue/src/utils.js.map +1 -0
- package/dist/__node_modules/fetch-blob/file.cjs +61 -0
- package/dist/__node_modules/fetch-blob/file.cjs.map +1 -0
- package/dist/__node_modules/fetch-blob/file.js +61 -0
- package/dist/__node_modules/fetch-blob/file.js.map +1 -0
- package/dist/__node_modules/fetch-blob/index.cjs +217 -0
- package/dist/__node_modules/fetch-blob/index.cjs.map +1 -0
- package/dist/__node_modules/fetch-blob/index.js +217 -0
- package/dist/__node_modules/fetch-blob/index.js.map +1 -0
- package/dist/__node_modules/fetch-blob/streams.cjs +43 -0
- package/dist/__node_modules/fetch-blob/streams.cjs.map +1 -0
- package/dist/__node_modules/fetch-blob/streams.js +42 -0
- package/dist/__node_modules/fetch-blob/streams.js.map +1 -0
- package/dist/__node_modules/file-type/core.cjs +1147 -0
- package/dist/__node_modules/file-type/core.cjs.map +1 -0
- package/dist/__node_modules/file-type/core.js +1147 -0
- package/dist/__node_modules/file-type/core.js.map +1 -0
- package/dist/__node_modules/file-type/util.cjs +27 -0
- package/dist/__node_modules/file-type/util.cjs.map +1 -0
- package/dist/__node_modules/file-type/util.js +27 -0
- package/dist/__node_modules/file-type/util.js.map +1 -0
- package/dist/__node_modules/formdata-node/lib/browser.cjs +16 -0
- package/dist/__node_modules/formdata-node/lib/browser.cjs.map +1 -0
- package/dist/__node_modules/formdata-node/lib/browser.js +16 -0
- package/dist/__node_modules/formdata-node/lib/browser.js.map +1 -0
- package/dist/__node_modules/formdata-polyfill/esm.min.cjs +116 -0
- package/dist/__node_modules/formdata-polyfill/esm.min.cjs.map +1 -0
- package/dist/__node_modules/formdata-polyfill/esm.min.js +116 -0
- package/dist/__node_modules/formdata-polyfill/esm.min.js.map +1 -0
- package/dist/__node_modules/fp-ts/es6/Either.cjs +14 -0
- package/dist/__node_modules/fp-ts/es6/Either.cjs.map +1 -0
- package/dist/__node_modules/fp-ts/es6/Either.js +14 -0
- package/dist/__node_modules/fp-ts/es6/Either.js.map +1 -0
- package/dist/__node_modules/fp-ts/es6/function.cjs +33 -0
- package/dist/__node_modules/fp-ts/es6/function.cjs.map +1 -0
- package/dist/__node_modules/fp-ts/es6/function.js +33 -0
- package/dist/__node_modules/fp-ts/es6/function.js.map +1 -0
- package/dist/__node_modules/fp-ts/es6/internal.cjs +18 -0
- package/dist/__node_modules/fp-ts/es6/internal.cjs.map +1 -0
- package/dist/__node_modules/fp-ts/es6/internal.js +18 -0
- package/dist/__node_modules/fp-ts/es6/internal.js.map +1 -0
- package/dist/__node_modules/get-port/index.cjs +113 -0
- package/dist/__node_modules/get-port/index.cjs.map +1 -0
- package/dist/__node_modules/get-port/index.js +114 -0
- package/dist/__node_modules/get-port/index.js.map +1 -0
- package/dist/__node_modules/graphql/error/GraphQLError.cjs +162 -0
- package/dist/__node_modules/graphql/error/GraphQLError.cjs.map +1 -0
- package/dist/__node_modules/graphql/error/GraphQLError.js +162 -0
- package/dist/__node_modules/graphql/error/GraphQLError.js.map +1 -0
- package/dist/__node_modules/graphql/error/locatedError.cjs +23 -0
- package/dist/__node_modules/graphql/error/locatedError.cjs.map +1 -0
- package/dist/__node_modules/graphql/error/locatedError.js +23 -0
- package/dist/__node_modules/graphql/error/locatedError.js.map +1 -0
- package/dist/__node_modules/graphql/error/syntaxError.cjs +11 -0
- package/dist/__node_modules/graphql/error/syntaxError.cjs.map +1 -0
- package/dist/__node_modules/graphql/error/syntaxError.js +11 -0
- package/dist/__node_modules/graphql/error/syntaxError.js.map +1 -0
- package/dist/__node_modules/graphql/execution/collectFields.cjs +128 -0
- package/dist/__node_modules/graphql/execution/collectFields.cjs.map +1 -0
- package/dist/__node_modules/graphql/execution/collectFields.js +128 -0
- package/dist/__node_modules/graphql/execution/collectFields.js.map +1 -0
- package/dist/__node_modules/graphql/execution/execute.cjs +600 -0
- package/dist/__node_modules/graphql/execution/execute.cjs.map +1 -0
- package/dist/__node_modules/graphql/execution/execute.js +600 -0
- package/dist/__node_modules/graphql/execution/execute.js.map +1 -0
- package/dist/__node_modules/graphql/execution/mapAsyncIterator.cjs +46 -0
- package/dist/__node_modules/graphql/execution/mapAsyncIterator.cjs.map +1 -0
- package/dist/__node_modules/graphql/execution/mapAsyncIterator.js +46 -0
- package/dist/__node_modules/graphql/execution/mapAsyncIterator.js.map +1 -0
- package/dist/__node_modules/graphql/execution/subscribe.cjs +121 -0
- package/dist/__node_modules/graphql/execution/subscribe.cjs.map +1 -0
- package/dist/__node_modules/graphql/execution/subscribe.js +121 -0
- package/dist/__node_modules/graphql/execution/subscribe.js.map +1 -0
- package/dist/__node_modules/graphql/execution/values.cjs +184 -0
- package/dist/__node_modules/graphql/execution/values.cjs.map +1 -0
- package/dist/__node_modules/graphql/execution/values.js +184 -0
- package/dist/__node_modules/graphql/execution/values.js.map +1 -0
- package/dist/__node_modules/graphql/graphql.cjs +67 -0
- package/dist/__node_modules/graphql/graphql.cjs.map +1 -0
- package/dist/__node_modules/graphql/graphql.js +67 -0
- package/dist/__node_modules/graphql/graphql.js.map +1 -0
- package/dist/__node_modules/graphql/index.cjs +320 -0
- package/dist/__node_modules/graphql/index.cjs.map +1 -0
- package/dist/__node_modules/graphql/index.js +299 -0
- package/dist/__node_modules/graphql/index.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/Path.cjs +21 -0
- package/dist/__node_modules/graphql/jsutils/Path.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/Path.js +21 -0
- package/dist/__node_modules/graphql/jsutils/Path.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/devAssert.cjs +10 -0
- package/dist/__node_modules/graphql/jsutils/devAssert.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/devAssert.js +10 -0
- package/dist/__node_modules/graphql/jsutils/devAssert.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/didYouMean.cjs +24 -0
- package/dist/__node_modules/graphql/jsutils/didYouMean.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/didYouMean.js +24 -0
- package/dist/__node_modules/graphql/jsutils/didYouMean.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/groupBy.cjs +17 -0
- package/dist/__node_modules/graphql/jsutils/groupBy.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/groupBy.js +17 -0
- package/dist/__node_modules/graphql/jsutils/groupBy.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/identityFunc.cjs +7 -0
- package/dist/__node_modules/graphql/jsutils/identityFunc.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/identityFunc.js +7 -0
- package/dist/__node_modules/graphql/jsutils/identityFunc.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/inspect.cjs +85 -0
- package/dist/__node_modules/graphql/jsutils/inspect.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/inspect.js +85 -0
- package/dist/__node_modules/graphql/jsutils/inspect.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/instanceOf.cjs +41 -0
- package/dist/__node_modules/graphql/jsutils/instanceOf.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/instanceOf.js +41 -0
- package/dist/__node_modules/graphql/jsutils/instanceOf.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/invariant.cjs +12 -0
- package/dist/__node_modules/graphql/jsutils/invariant.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/invariant.js +12 -0
- package/dist/__node_modules/graphql/jsutils/invariant.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/isAsyncIterable.cjs +7 -0
- package/dist/__node_modules/graphql/jsutils/isAsyncIterable.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/isAsyncIterable.js +7 -0
- package/dist/__node_modules/graphql/jsutils/isAsyncIterable.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/isIterableObject.cjs +7 -0
- package/dist/__node_modules/graphql/jsutils/isIterableObject.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/isIterableObject.js +7 -0
- package/dist/__node_modules/graphql/jsutils/isIterableObject.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/isObjectLike.cjs +7 -0
- package/dist/__node_modules/graphql/jsutils/isObjectLike.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/isObjectLike.js +7 -0
- package/dist/__node_modules/graphql/jsutils/isObjectLike.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/isPromise.cjs +7 -0
- package/dist/__node_modules/graphql/jsutils/isPromise.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/isPromise.js +7 -0
- package/dist/__node_modules/graphql/jsutils/isPromise.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/keyMap.cjs +11 -0
- package/dist/__node_modules/graphql/jsutils/keyMap.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/keyMap.js +11 -0
- package/dist/__node_modules/graphql/jsutils/keyMap.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/keyValMap.cjs +11 -0
- package/dist/__node_modules/graphql/jsutils/keyValMap.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/keyValMap.js +11 -0
- package/dist/__node_modules/graphql/jsutils/keyValMap.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/mapValue.cjs +11 -0
- package/dist/__node_modules/graphql/jsutils/mapValue.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/mapValue.js +11 -0
- package/dist/__node_modules/graphql/jsutils/mapValue.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/memoize3.cjs +28 -0
- package/dist/__node_modules/graphql/jsutils/memoize3.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/memoize3.js +28 -0
- package/dist/__node_modules/graphql/jsutils/memoize3.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/naturalCompare.cjs +47 -0
- package/dist/__node_modules/graphql/jsutils/naturalCompare.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/naturalCompare.js +47 -0
- package/dist/__node_modules/graphql/jsutils/naturalCompare.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/printPathArray.cjs +9 -0
- package/dist/__node_modules/graphql/jsutils/printPathArray.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/printPathArray.js +9 -0
- package/dist/__node_modules/graphql/jsutils/printPathArray.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/promiseForObject.cjs +13 -0
- package/dist/__node_modules/graphql/jsutils/promiseForObject.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/promiseForObject.js +13 -0
- package/dist/__node_modules/graphql/jsutils/promiseForObject.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/promiseReduce.cjs +12 -0
- package/dist/__node_modules/graphql/jsutils/promiseReduce.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/promiseReduce.js +12 -0
- package/dist/__node_modules/graphql/jsutils/promiseReduce.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/suggestionList.cjs +94 -0
- package/dist/__node_modules/graphql/jsutils/suggestionList.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/suggestionList.js +94 -0
- package/dist/__node_modules/graphql/jsutils/suggestionList.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/toError.cjs +15 -0
- package/dist/__node_modules/graphql/jsutils/toError.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/toError.js +15 -0
- package/dist/__node_modules/graphql/jsutils/toError.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/toObjMap.cjs +17 -0
- package/dist/__node_modules/graphql/jsutils/toObjMap.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/toObjMap.js +17 -0
- package/dist/__node_modules/graphql/jsutils/toObjMap.js.map +1 -0
- package/dist/__node_modules/graphql/language/ast.cjs +175 -0
- package/dist/__node_modules/graphql/language/ast.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/ast.js +176 -0
- package/dist/__node_modules/graphql/language/ast.js.map +1 -0
- package/dist/__node_modules/graphql/language/blockString.cjs +109 -0
- package/dist/__node_modules/graphql/language/blockString.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/blockString.js +109 -0
- package/dist/__node_modules/graphql/language/blockString.js.map +1 -0
- package/dist/__node_modules/graphql/language/characterClasses.cjs +23 -0
- package/dist/__node_modules/graphql/language/characterClasses.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/characterClasses.js +23 -0
- package/dist/__node_modules/graphql/language/characterClasses.js.map +1 -0
- package/dist/__node_modules/graphql/language/directiveLocation.cjs +25 -0
- package/dist/__node_modules/graphql/language/directiveLocation.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/directiveLocation.js +26 -0
- package/dist/__node_modules/graphql/language/directiveLocation.js.map +1 -0
- package/dist/__node_modules/graphql/language/kinds.cjs +49 -0
- package/dist/__node_modules/graphql/language/kinds.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/kinds.js +50 -0
- package/dist/__node_modules/graphql/language/kinds.js.map +1 -0
- package/dist/__node_modules/graphql/language/lexer.cjs +509 -0
- package/dist/__node_modules/graphql/language/lexer.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/lexer.js +509 -0
- package/dist/__node_modules/graphql/language/lexer.js.map +1 -0
- package/dist/__node_modules/graphql/language/location.cjs +22 -0
- package/dist/__node_modules/graphql/language/location.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/location.js +22 -0
- package/dist/__node_modules/graphql/language/location.js.map +1 -0
- package/dist/__node_modules/graphql/language/parser.cjs +1283 -0
- package/dist/__node_modules/graphql/language/parser.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/parser.js +1283 -0
- package/dist/__node_modules/graphql/language/parser.js.map +1 -0
- package/dist/__node_modules/graphql/language/predicates.cjs +44 -0
- package/dist/__node_modules/graphql/language/predicates.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/predicates.js +44 -0
- package/dist/__node_modules/graphql/language/predicates.js.map +1 -0
- package/dist/__node_modules/graphql/language/printLocation.cjs +51 -0
- package/dist/__node_modules/graphql/language/printLocation.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/printLocation.js +51 -0
- package/dist/__node_modules/graphql/language/printLocation.js.map +1 -0
- package/dist/__node_modules/graphql/language/printString.cjs +178 -0
- package/dist/__node_modules/graphql/language/printString.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/printString.js +178 -0
- package/dist/__node_modules/graphql/language/printString.js.map +1 -0
- package/dist/__node_modules/graphql/language/printer.cjs +245 -0
- package/dist/__node_modules/graphql/language/printer.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/printer.js +245 -0
- package/dist/__node_modules/graphql/language/printer.js.map +1 -0
- package/dist/__node_modules/graphql/language/source.cjs +33 -0
- package/dist/__node_modules/graphql/language/source.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/source.js +33 -0
- package/dist/__node_modules/graphql/language/source.js.map +1 -0
- package/dist/__node_modules/graphql/language/tokenKind.cjs +28 -0
- package/dist/__node_modules/graphql/language/tokenKind.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/tokenKind.js +29 -0
- package/dist/__node_modules/graphql/language/tokenKind.js.map +1 -0
- package/dist/__node_modules/graphql/language/visitor.cjs +200 -0
- package/dist/__node_modules/graphql/language/visitor.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/visitor.js +200 -0
- package/dist/__node_modules/graphql/language/visitor.js.map +1 -0
- package/dist/__node_modules/graphql/type/assertName.cjs +34 -0
- package/dist/__node_modules/graphql/type/assertName.cjs.map +1 -0
- package/dist/__node_modules/graphql/type/assertName.js +34 -0
- package/dist/__node_modules/graphql/type/assertName.js.map +1 -0
- package/dist/__node_modules/graphql/type/definition.cjs +762 -0
- package/dist/__node_modules/graphql/type/definition.cjs.map +1 -0
- package/dist/__node_modules/graphql/type/definition.js +762 -0
- package/dist/__node_modules/graphql/type/definition.js.map +1 -0
- package/dist/__node_modules/graphql/type/directives.cjs +139 -0
- package/dist/__node_modules/graphql/type/directives.cjs.map +1 -0
- package/dist/__node_modules/graphql/type/directives.js +139 -0
- package/dist/__node_modules/graphql/type/directives.js.map +1 -0
- package/dist/__node_modules/graphql/type/introspection.cjs +495 -0
- package/dist/__node_modules/graphql/type/introspection.cjs.map +1 -0
- package/dist/__node_modules/graphql/type/introspection.js +496 -0
- package/dist/__node_modules/graphql/type/introspection.js.map +1 -0
- package/dist/__node_modules/graphql/type/scalars.cjs +248 -0
- package/dist/__node_modules/graphql/type/scalars.cjs.map +1 -0
- package/dist/__node_modules/graphql/type/scalars.js +248 -0
- package/dist/__node_modules/graphql/type/scalars.js.map +1 -0
- package/dist/__node_modules/graphql/type/schema.cjs +223 -0
- package/dist/__node_modules/graphql/type/schema.cjs.map +1 -0
- package/dist/__node_modules/graphql/type/schema.js +223 -0
- package/dist/__node_modules/graphql/type/schema.js.map +1 -0
- package/dist/__node_modules/graphql/type/validate.cjs +428 -0
- package/dist/__node_modules/graphql/type/validate.cjs.map +1 -0
- package/dist/__node_modules/graphql/type/validate.js +428 -0
- package/dist/__node_modules/graphql/type/validate.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/TypeInfo.cjs +257 -0
- package/dist/__node_modules/graphql/utilities/TypeInfo.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/TypeInfo.js +257 -0
- package/dist/__node_modules/graphql/utilities/TypeInfo.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/assertValidName.cjs +28 -0
- package/dist/__node_modules/graphql/utilities/assertValidName.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/assertValidName.js +28 -0
- package/dist/__node_modules/graphql/utilities/assertValidName.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/astFromValue.cjs +111 -0
- package/dist/__node_modules/graphql/utilities/astFromValue.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/astFromValue.js +111 -0
- package/dist/__node_modules/graphql/utilities/astFromValue.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/buildASTSchema.cjs +62 -0
- package/dist/__node_modules/graphql/utilities/buildASTSchema.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/buildASTSchema.js +62 -0
- package/dist/__node_modules/graphql/utilities/buildASTSchema.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/buildClientSchema.cjs +264 -0
- package/dist/__node_modules/graphql/utilities/buildClientSchema.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/buildClientSchema.js +264 -0
- package/dist/__node_modules/graphql/utilities/buildClientSchema.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/coerceInputValue.cjs +133 -0
- package/dist/__node_modules/graphql/utilities/coerceInputValue.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/coerceInputValue.js +133 -0
- package/dist/__node_modules/graphql/utilities/coerceInputValue.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/concatAST.cjs +15 -0
- package/dist/__node_modules/graphql/utilities/concatAST.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/concatAST.js +15 -0
- package/dist/__node_modules/graphql/utilities/concatAST.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/extendSchema.cjs +448 -0
- package/dist/__node_modules/graphql/utilities/extendSchema.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/extendSchema.js +448 -0
- package/dist/__node_modules/graphql/utilities/extendSchema.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/findBreakingChanges.cjs +384 -0
- package/dist/__node_modules/graphql/utilities/findBreakingChanges.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/findBreakingChanges.js +386 -0
- package/dist/__node_modules/graphql/utilities/findBreakingChanges.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/getIntrospectionQuery.cjs +119 -0
- package/dist/__node_modules/graphql/utilities/getIntrospectionQuery.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/getIntrospectionQuery.js +119 -0
- package/dist/__node_modules/graphql/utilities/getIntrospectionQuery.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/getOperationAST.cjs +22 -0
- package/dist/__node_modules/graphql/utilities/getOperationAST.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/getOperationAST.js +22 -0
- package/dist/__node_modules/graphql/utilities/getOperationAST.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/getOperationRootType.cjs +43 -0
- package/dist/__node_modules/graphql/utilities/getOperationRootType.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/getOperationRootType.js +43 -0
- package/dist/__node_modules/graphql/utilities/getOperationRootType.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/introspectionFromSchema.cjs +24 -0
- package/dist/__node_modules/graphql/utilities/introspectionFromSchema.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/introspectionFromSchema.js +24 -0
- package/dist/__node_modules/graphql/utilities/introspectionFromSchema.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/lexicographicSortSchema.cjs +129 -0
- package/dist/__node_modules/graphql/utilities/lexicographicSortSchema.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/lexicographicSortSchema.js +129 -0
- package/dist/__node_modules/graphql/utilities/lexicographicSortSchema.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/printSchema.cjs +192 -0
- package/dist/__node_modules/graphql/utilities/printSchema.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/printSchema.js +192 -0
- package/dist/__node_modules/graphql/utilities/printSchema.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/separateOperations.cjs +57 -0
- package/dist/__node_modules/graphql/utilities/separateOperations.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/separateOperations.js +57 -0
- package/dist/__node_modules/graphql/utilities/separateOperations.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/sortValueNode.cjs +30 -0
- package/dist/__node_modules/graphql/utilities/sortValueNode.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/sortValueNode.js +30 -0
- package/dist/__node_modules/graphql/utilities/sortValueNode.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/stripIgnoredCharacters.cjs +35 -0
- package/dist/__node_modules/graphql/utilities/stripIgnoredCharacters.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/stripIgnoredCharacters.js +35 -0
- package/dist/__node_modules/graphql/utilities/stripIgnoredCharacters.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/typeComparators.cjs +58 -0
- package/dist/__node_modules/graphql/utilities/typeComparators.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/typeComparators.js +58 -0
- package/dist/__node_modules/graphql/utilities/typeComparators.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/typeFromAST.cjs +20 -0
- package/dist/__node_modules/graphql/utilities/typeFromAST.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/typeFromAST.js +20 -0
- package/dist/__node_modules/graphql/utilities/typeFromAST.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/valueFromAST.cjs +100 -0
- package/dist/__node_modules/graphql/utilities/valueFromAST.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/valueFromAST.js +100 -0
- package/dist/__node_modules/graphql/utilities/valueFromAST.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/valueFromASTUntyped.cjs +32 -0
- package/dist/__node_modules/graphql/utilities/valueFromASTUntyped.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/valueFromASTUntyped.js +32 -0
- package/dist/__node_modules/graphql/utilities/valueFromASTUntyped.js.map +1 -0
- package/dist/__node_modules/graphql/validation/ValidationContext.cjs +170 -0
- package/dist/__node_modules/graphql/validation/ValidationContext.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/ValidationContext.js +170 -0
- package/dist/__node_modules/graphql/validation/ValidationContext.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/ExecutableDefinitionsRule.cjs +24 -0
- package/dist/__node_modules/graphql/validation/rules/ExecutableDefinitionsRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/ExecutableDefinitionsRule.js +24 -0
- package/dist/__node_modules/graphql/validation/rules/ExecutableDefinitionsRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.cjs +80 -0
- package/dist/__node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.js +80 -0
- package/dist/__node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.cjs +43 -0
- package/dist/__node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.js +43 -0
- package/dist/__node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/KnownArgumentNamesRule.cjs +73 -0
- package/dist/__node_modules/graphql/validation/rules/KnownArgumentNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/KnownArgumentNamesRule.js +73 -0
- package/dist/__node_modules/graphql/validation/rules/KnownArgumentNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/KnownDirectivesRule.cjs +110 -0
- package/dist/__node_modules/graphql/validation/rules/KnownDirectivesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/KnownDirectivesRule.js +110 -0
- package/dist/__node_modules/graphql/validation/rules/KnownDirectivesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/KnownFragmentNamesRule.cjs +20 -0
- package/dist/__node_modules/graphql/validation/rules/KnownFragmentNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/KnownFragmentNamesRule.js +20 -0
- package/dist/__node_modules/graphql/validation/rules/KnownFragmentNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/KnownTypeNamesRule.cjs +55 -0
- package/dist/__node_modules/graphql/validation/rules/KnownTypeNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/KnownTypeNamesRule.js +55 -0
- package/dist/__node_modules/graphql/validation/rules/KnownTypeNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/LoneAnonymousOperationRule.cjs +28 -0
- package/dist/__node_modules/graphql/validation/rules/LoneAnonymousOperationRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/LoneAnonymousOperationRule.js +28 -0
- package/dist/__node_modules/graphql/validation/rules/LoneAnonymousOperationRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.cjs +34 -0
- package/dist/__node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.js +34 -0
- package/dist/__node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/NoFragmentCyclesRule.cjs +53 -0
- package/dist/__node_modules/graphql/validation/rules/NoFragmentCyclesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/NoFragmentCyclesRule.js +53 -0
- package/dist/__node_modules/graphql/validation/rules/NoFragmentCyclesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/NoUndefinedVariablesRule.cjs +34 -0
- package/dist/__node_modules/graphql/validation/rules/NoUndefinedVariablesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/NoUndefinedVariablesRule.js +34 -0
- package/dist/__node_modules/graphql/validation/rules/NoUndefinedVariablesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/NoUnusedFragmentsRule.cjs +41 -0
- package/dist/__node_modules/graphql/validation/rules/NoUnusedFragmentsRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/NoUnusedFragmentsRule.js +41 -0
- package/dist/__node_modules/graphql/validation/rules/NoUnusedFragmentsRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/NoUnusedVariablesRule.cjs +38 -0
- package/dist/__node_modules/graphql/validation/rules/NoUnusedVariablesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/NoUnusedVariablesRule.js +38 -0
- package/dist/__node_modules/graphql/validation/rules/NoUnusedVariablesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.cjs +477 -0
- package/dist/__node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.js +477 -0
- package/dist/__node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.cjs +55 -0
- package/dist/__node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.js +55 -0
- package/dist/__node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.cjs +111 -0
- package/dist/__node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.js +111 -0
- package/dist/__node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.cjs +97 -0
- package/dist/__node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.js +97 -0
- package/dist/__node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/ScalarLeafsRule.cjs +42 -0
- package/dist/__node_modules/graphql/validation/rules/ScalarLeafsRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/ScalarLeafsRule.js +42 -0
- package/dist/__node_modules/graphql/validation/rules/ScalarLeafsRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.cjs +62 -0
- package/dist/__node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.js +62 -0
- package/dist/__node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.cjs +47 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.js +47 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueArgumentNamesRule.cjs +29 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueArgumentNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueArgumentNamesRule.js +29 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueArgumentNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.cjs +38 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.js +38 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.cjs +63 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.js +63 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.cjs +50 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.js +50 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.cjs +59 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.js +59 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueFragmentNamesRule.cjs +27 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueFragmentNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueFragmentNamesRule.js +27 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueFragmentNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.cjs +38 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.js +38 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueOperationNamesRule.cjs +32 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueOperationNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueOperationNamesRule.js +32 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueOperationNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueOperationTypesRule.cjs +48 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueOperationTypesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueOperationTypesRule.js +48 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueOperationTypesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueTypeNamesRule.cjs +41 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueTypeNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueTypeNamesRule.js +41 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueTypeNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueVariableNamesRule.cjs +30 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueVariableNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueVariableNamesRule.js +30 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueVariableNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.cjs +132 -0
- package/dist/__node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js +132 -0
- package/dist/__node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/VariablesAreInputTypesRule.cjs +27 -0
- package/dist/__node_modules/graphql/validation/rules/VariablesAreInputTypesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/VariablesAreInputTypesRule.js +27 -0
- package/dist/__node_modules/graphql/validation/rules/VariablesAreInputTypesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.cjs +64 -0
- package/dist/__node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.js +64 -0
- package/dist/__node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.cjs +89 -0
- package/dist/__node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.js +89 -0
- package/dist/__node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.cjs +24 -0
- package/dist/__node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.js +24 -0
- package/dist/__node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/specifiedRules.cjs +84 -0
- package/dist/__node_modules/graphql/validation/specifiedRules.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/specifiedRules.js +84 -0
- package/dist/__node_modules/graphql/validation/specifiedRules.js.map +1 -0
- package/dist/__node_modules/graphql/validation/validate.cjs +72 -0
- package/dist/__node_modules/graphql/validation/validate.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/validate.js +72 -0
- package/dist/__node_modules/graphql/validation/validate.js.map +1 -0
- package/dist/__node_modules/graphql/version.cjs +12 -0
- package/dist/__node_modules/graphql/version.cjs.map +1 -0
- package/dist/__node_modules/graphql/version.js +12 -0
- package/dist/__node_modules/graphql/version.js.map +1 -0
- package/dist/__node_modules/headers-polyfill/lib/index.cjs +214 -0
- package/dist/__node_modules/headers-polyfill/lib/index.cjs.map +1 -0
- package/dist/__node_modules/headers-polyfill/lib/index.js +215 -0
- package/dist/__node_modules/headers-polyfill/lib/index.js.map +1 -0
- package/dist/__node_modules/is-node-process/lib/index.cjs +18 -0
- package/dist/__node_modules/is-node-process/lib/index.cjs.map +1 -0
- package/dist/__node_modules/is-node-process/lib/index.js +17 -0
- package/dist/__node_modules/is-node-process/lib/index.js.map +1 -0
- package/dist/__node_modules/js-levenshtein/index.cjs +91 -0
- package/dist/__node_modules/js-levenshtein/index.cjs.map +1 -0
- package/dist/__node_modules/js-levenshtein/index.js +91 -0
- package/dist/__node_modules/js-levenshtein/index.js.map +1 -0
- package/dist/__node_modules/msw/__node_modules/node-fetch/browser.cjs +34 -0
- package/dist/__node_modules/msw/__node_modules/node-fetch/browser.cjs.map +1 -0
- package/dist/__node_modules/msw/__node_modules/node-fetch/browser.js +34 -0
- package/dist/__node_modules/msw/__node_modules/node-fetch/browser.js.map +1 -0
- package/dist/__node_modules/msw/__node_modules/path-to-regexp/dist.es2015/index.cjs +363 -0
- package/dist/__node_modules/msw/__node_modules/path-to-regexp/dist.es2015/index.cjs.map +1 -0
- package/dist/__node_modules/msw/__node_modules/path-to-regexp/dist.es2015/index.js +363 -0
- package/dist/__node_modules/msw/__node_modules/path-to-regexp/dist.es2015/index.js.map +1 -0
- package/dist/__node_modules/msw/lib/index.cjs +1937 -0
- package/dist/__node_modules/msw/lib/index.cjs.map +1 -0
- package/dist/__node_modules/msw/lib/index.js +1938 -0
- package/dist/__node_modules/msw/lib/index.js.map +1 -0
- package/dist/__node_modules/node-domexception/index.cjs +11 -0
- package/dist/__node_modules/node-domexception/index.cjs.map +1 -0
- package/dist/__node_modules/node-domexception/index.js +10 -0
- package/dist/__node_modules/node-domexception/index.js.map +1 -0
- package/dist/__node_modules/node-fetch/src/body.cjs +262 -0
- package/dist/__node_modules/node-fetch/src/body.cjs.map +1 -0
- package/dist/__node_modules/node-fetch/src/body.js +262 -0
- package/dist/__node_modules/node-fetch/src/body.js.map +1 -0
- package/dist/__node_modules/node-fetch/src/errors/abort-error.cjs +10 -0
- package/dist/__node_modules/node-fetch/src/errors/abort-error.cjs.map +1 -0
- package/dist/__node_modules/node-fetch/src/errors/abort-error.js +10 -0
- package/dist/__node_modules/node-fetch/src/errors/abort-error.js.map +1 -0
- package/dist/__node_modules/node-fetch/src/errors/base.cjs +17 -0
- package/dist/__node_modules/node-fetch/src/errors/base.cjs.map +1 -0
- package/dist/__node_modules/node-fetch/src/errors/base.js +17 -0
- package/dist/__node_modules/node-fetch/src/errors/base.js.map +1 -0
- package/dist/__node_modules/node-fetch/src/errors/fetch-error.cjs +19 -0
- package/dist/__node_modules/node-fetch/src/errors/fetch-error.cjs.map +1 -0
- package/dist/__node_modules/node-fetch/src/errors/fetch-error.js +19 -0
- package/dist/__node_modules/node-fetch/src/errors/fetch-error.js.map +1 -0
- package/dist/__node_modules/node-fetch/src/headers.cjs +190 -0
- package/dist/__node_modules/node-fetch/src/headers.cjs.map +1 -0
- package/dist/__node_modules/node-fetch/src/headers.js +190 -0
- package/dist/__node_modules/node-fetch/src/headers.js.map +1 -0
- package/dist/__node_modules/node-fetch/src/index.cjs +292 -0
- package/dist/__node_modules/node-fetch/src/index.cjs.map +1 -0
- package/dist/__node_modules/node-fetch/src/index.js +292 -0
- package/dist/__node_modules/node-fetch/src/index.js.map +1 -0
- package/dist/__node_modules/node-fetch/src/request.cjs +206 -0
- package/dist/__node_modules/node-fetch/src/request.cjs.map +1 -0
- package/dist/__node_modules/node-fetch/src/request.js +206 -0
- package/dist/__node_modules/node-fetch/src/request.js.map +1 -0
- package/dist/__node_modules/node-fetch/src/response.cjs +122 -0
- package/dist/__node_modules/node-fetch/src/response.cjs.map +1 -0
- package/dist/__node_modules/node-fetch/src/response.js +123 -0
- package/dist/__node_modules/node-fetch/src/response.js.map +1 -0
- package/dist/__node_modules/node-fetch/src/utils/get-search.cjs +12 -0
- package/dist/__node_modules/node-fetch/src/utils/get-search.cjs.map +1 -0
- package/dist/__node_modules/node-fetch/src/utils/get-search.js +12 -0
- package/dist/__node_modules/node-fetch/src/utils/get-search.js.map +1 -0
- package/dist/__node_modules/node-fetch/src/utils/is-redirect.cjs +8 -0
- package/dist/__node_modules/node-fetch/src/utils/is-redirect.cjs.map +1 -0
- package/dist/__node_modules/node-fetch/src/utils/is-redirect.js +8 -0
- package/dist/__node_modules/node-fetch/src/utils/is-redirect.js.map +1 -0
- package/dist/__node_modules/node-fetch/src/utils/is.cjs +28 -0
- package/dist/__node_modules/node-fetch/src/utils/is.cjs.map +1 -0
- package/dist/__node_modules/node-fetch/src/utils/is.js +28 -0
- package/dist/__node_modules/node-fetch/src/utils/is.js.map +1 -0
- package/dist/__node_modules/node-fetch/src/utils/multipart-parser.cjs +356 -0
- package/dist/__node_modules/node-fetch/src/utils/multipart-parser.cjs.map +1 -0
- package/dist/__node_modules/node-fetch/src/utils/multipart-parser.js +356 -0
- package/dist/__node_modules/node-fetch/src/utils/multipart-parser.js.map +1 -0
- package/dist/__node_modules/node-fetch/src/utils/referrer.cjs +149 -0
- package/dist/__node_modules/node-fetch/src/utils/referrer.cjs.map +1 -0
- package/dist/__node_modules/node-fetch/src/utils/referrer.js +149 -0
- package/dist/__node_modules/node-fetch/src/utils/referrer.js.map +1 -0
- package/dist/__node_modules/outvariant/lib/format.cjs +53 -0
- package/dist/__node_modules/outvariant/lib/format.cjs.map +1 -0
- package/dist/__node_modules/outvariant/lib/format.js +54 -0
- package/dist/__node_modules/outvariant/lib/format.js.map +1 -0
- package/dist/__node_modules/outvariant/lib/index.cjs +29 -0
- package/dist/__node_modules/outvariant/lib/index.cjs.map +1 -0
- package/dist/__node_modules/outvariant/lib/index.js +28 -0
- package/dist/__node_modules/outvariant/lib/index.js.map +1 -0
- package/dist/__node_modules/outvariant/lib/invariant.cjs +95 -0
- package/dist/__node_modules/outvariant/lib/invariant.cjs.map +1 -0
- package/dist/__node_modules/outvariant/lib/invariant.js +94 -0
- package/dist/__node_modules/outvariant/lib/invariant.js.map +1 -0
- package/dist/__node_modules/p-limit/index.cjs +53 -0
- package/dist/__node_modules/p-limit/index.cjs.map +1 -0
- package/dist/__node_modules/p-limit/index.js +54 -0
- package/dist/__node_modules/p-limit/index.js.map +1 -0
- package/dist/__node_modules/peek-readable/lib/EndOfFileStream.cjs +11 -0
- package/dist/__node_modules/peek-readable/lib/EndOfFileStream.cjs.map +1 -0
- package/dist/__node_modules/peek-readable/lib/EndOfFileStream.js +11 -0
- package/dist/__node_modules/peek-readable/lib/EndOfFileStream.js.map +1 -0
- package/dist/__node_modules/r19/dist/client/createRPCClient.cjs +50 -0
- package/dist/__node_modules/r19/dist/client/createRPCClient.cjs.map +1 -0
- package/dist/__node_modules/r19/dist/client/createRPCClient.js +50 -0
- package/dist/__node_modules/r19/dist/client/createRPCClient.js.map +1 -0
- package/dist/__node_modules/r19/dist/constants.cjs +5 -0
- package/dist/__node_modules/r19/dist/constants.cjs.map +1 -0
- package/dist/__node_modules/r19/dist/constants.js +5 -0
- package/dist/__node_modules/r19/dist/constants.js.map +1 -0
- package/dist/__node_modules/r19/dist/createRPCMiddleware.cjs +25 -0
- package/dist/__node_modules/r19/dist/createRPCMiddleware.cjs.map +1 -0
- package/dist/__node_modules/r19/dist/createRPCMiddleware.js +25 -0
- package/dist/__node_modules/r19/dist/createRPCMiddleware.js.map +1 -0
- package/dist/__node_modules/r19/dist/handleRPCRequest.cjs +182 -0
- package/dist/__node_modules/r19/dist/handleRPCRequest.cjs.map +1 -0
- package/dist/__node_modules/r19/dist/handleRPCRequest.js +182 -0
- package/dist/__node_modules/r19/dist/handleRPCRequest.js.map +1 -0
- package/dist/__node_modules/r19/dist/lib/encodeFormData.cjs +46 -0
- package/dist/__node_modules/r19/dist/lib/encodeFormData.cjs.map +1 -0
- package/dist/__node_modules/r19/dist/lib/encodeFormData.js +46 -0
- package/dist/__node_modules/r19/dist/lib/encodeFormData.js.map +1 -0
- package/dist/__node_modules/r19/dist/lib/flattenObject.cjs +43 -0
- package/dist/__node_modules/r19/dist/lib/flattenObject.cjs.map +1 -0
- package/dist/__node_modules/r19/dist/lib/flattenObject.js +43 -0
- package/dist/__node_modules/r19/dist/lib/flattenObject.js.map +1 -0
- package/dist/__node_modules/r19/dist/lib/formDataToObject.client.cjs +19 -0
- package/dist/__node_modules/r19/dist/lib/formDataToObject.client.cjs.map +1 -0
- package/dist/__node_modules/r19/dist/lib/formDataToObject.client.js +19 -0
- package/dist/__node_modules/r19/dist/lib/formDataToObject.client.js.map +1 -0
- package/dist/__node_modules/r19/dist/lib/isErrorLike.cjs +7 -0
- package/dist/__node_modules/r19/dist/lib/isErrorLike.cjs.map +1 -0
- package/dist/__node_modules/r19/dist/lib/isErrorLike.js +7 -0
- package/dist/__node_modules/r19/dist/lib/isErrorLike.js.map +1 -0
- package/dist/__node_modules/r19/dist/lib/objectToFormData.client.cjs +20 -0
- package/dist/__node_modules/r19/dist/lib/objectToFormData.client.cjs.map +1 -0
- package/dist/__node_modules/r19/dist/lib/objectToFormData.client.js +20 -0
- package/dist/__node_modules/r19/dist/lib/objectToFormData.client.js.map +1 -0
- package/dist/__node_modules/r19/dist/lib/objectToFormData.server.cjs +22 -0
- package/dist/__node_modules/r19/dist/lib/objectToFormData.server.cjs.map +1 -0
- package/dist/__node_modules/r19/dist/lib/objectToFormData.server.js +22 -0
- package/dist/__node_modules/r19/dist/lib/objectToFormData.server.js.map +1 -0
- package/dist/__node_modules/r19/dist/lib/unflattenObject.cjs +20 -0
- package/dist/__node_modules/r19/dist/lib/unflattenObject.cjs.map +1 -0
- package/dist/__node_modules/r19/dist/lib/unflattenObject.js +20 -0
- package/dist/__node_modules/r19/dist/lib/unflattenObject.js.map +1 -0
- package/dist/__node_modules/r19/dist/proceduresFromInstance.cjs +33 -0
- package/dist/__node_modules/r19/dist/proceduresFromInstance.cjs.map +1 -0
- package/dist/__node_modules/r19/dist/proceduresFromInstance.js +33 -0
- package/dist/__node_modules/r19/dist/proceduresFromInstance.js.map +1 -0
- package/dist/__node_modules/set-cookie-parser/lib/set-cookie.cjs +161 -0
- package/dist/__node_modules/set-cookie-parser/lib/set-cookie.cjs.map +1 -0
- package/dist/__node_modules/set-cookie-parser/lib/set-cookie.js +162 -0
- package/dist/__node_modules/set-cookie-parser/lib/set-cookie.js.map +1 -0
- package/dist/__node_modules/streamsearch/lib/sbmh.cjs +393 -0
- package/dist/__node_modules/streamsearch/lib/sbmh.cjs.map +1 -0
- package/dist/__node_modules/streamsearch/lib/sbmh.js +394 -0
- package/dist/__node_modules/streamsearch/lib/sbmh.js.map +1 -0
- package/dist/__node_modules/strict-event-emitter/lib/StrictEventEmitter.cjs +98 -0
- package/dist/__node_modules/strict-event-emitter/lib/StrictEventEmitter.cjs.map +1 -0
- package/dist/__node_modules/strict-event-emitter/lib/StrictEventEmitter.js +98 -0
- package/dist/__node_modules/strict-event-emitter/lib/StrictEventEmitter.js.map +1 -0
- package/dist/__node_modules/strict-event-emitter/lib/index.cjs +34 -0
- package/dist/__node_modules/strict-event-emitter/lib/index.cjs.map +1 -0
- package/dist/__node_modules/strict-event-emitter/lib/index.js +34 -0
- package/dist/__node_modules/strict-event-emitter/lib/index.js.map +1 -0
- package/dist/__node_modules/strtok3/lib/AbstractTokenizer.cjs +98 -0
- package/dist/__node_modules/strtok3/lib/AbstractTokenizer.cjs.map +1 -0
- package/dist/__node_modules/strtok3/lib/AbstractTokenizer.js +98 -0
- package/dist/__node_modules/strtok3/lib/AbstractTokenizer.js.map +1 -0
- package/dist/__node_modules/strtok3/lib/BufferTokenizer.cjs +53 -0
- package/dist/__node_modules/strtok3/lib/BufferTokenizer.cjs.map +1 -0
- package/dist/__node_modules/strtok3/lib/BufferTokenizer.js +53 -0
- package/dist/__node_modules/strtok3/lib/BufferTokenizer.js.map +1 -0
- package/dist/__node_modules/strtok3/lib/core.cjs +9 -0
- package/dist/__node_modules/strtok3/lib/core.cjs.map +1 -0
- package/dist/__node_modules/strtok3/lib/core.js +9 -0
- package/dist/__node_modules/strtok3/lib/core.js.map +1 -0
- package/dist/__node_modules/token-types/lib/index.cjs +94 -0
- package/dist/__node_modules/token-types/lib/index.cjs.map +1 -0
- package/dist/__node_modules/token-types/lib/index.js +94 -0
- package/dist/__node_modules/token-types/lib/index.js.map +1 -0
- package/dist/__node_modules/unist-util-is/index.cjs +73 -0
- package/dist/__node_modules/unist-util-is/index.cjs.map +1 -0
- package/dist/__node_modules/unist-util-is/index.js +73 -0
- package/dist/__node_modules/unist-util-is/index.js.map +1 -0
- package/dist/__node_modules/unist-util-visit/index.cjs +32 -0
- package/dist/__node_modules/unist-util-visit/index.cjs.map +1 -0
- package/dist/__node_modules/unist-util-visit/index.js +33 -0
- package/dist/__node_modules/unist-util-visit/index.js.map +1 -0
- package/dist/__node_modules/unist-util-visit-parents/color.browser.cjs +7 -0
- package/dist/__node_modules/unist-util-visit-parents/color.browser.cjs.map +1 -0
- package/dist/__node_modules/unist-util-visit-parents/color.browser.js +7 -0
- package/dist/__node_modules/unist-util-visit-parents/color.browser.js.map +1 -0
- package/dist/__node_modules/unist-util-visit-parents/index.cjs +74 -0
- package/dist/__node_modules/unist-util-visit-parents/index.cjs.map +1 -0
- package/dist/__node_modules/unist-util-visit-parents/index.js +74 -0
- package/dist/__node_modules/unist-util-visit-parents/index.js.map +1 -0
- package/dist/__node_modules/web-encoding/src/lib.cjs +7 -0
- package/dist/__node_modules/web-encoding/src/lib.cjs.map +1 -0
- package/dist/__node_modules/web-encoding/src/lib.js +8 -0
- package/dist/__node_modules/web-encoding/src/lib.js.map +1 -0
- package/dist/__node_modules/web-streams-polyfill/dist/ponyfill.es2018.cjs +3822 -0
- package/dist/__node_modules/web-streams-polyfill/dist/ponyfill.es2018.cjs.map +1 -0
- package/dist/__node_modules/web-streams-polyfill/dist/ponyfill.es2018.js +3822 -0
- package/dist/__node_modules/web-streams-polyfill/dist/ponyfill.es2018.js.map +1 -0
- package/dist/__node_modules/yocto-queue/index.cjs +89 -0
- package/dist/__node_modules/yocto-queue/index.cjs.map +1 -0
- package/dist/__node_modules/yocto-queue/index.js +90 -0
- package/dist/__node_modules/yocto-queue/index.js.map +1 -0
- package/dist/_virtual/AsyncEventEmitter.cjs +5 -0
- package/dist/_virtual/AsyncEventEmitter.cjs.map +1 -0
- package/dist/_virtual/AsyncEventEmitter.js +5 -0
- package/dist/_virtual/AsyncEventEmitter.js.map +1 -0
- package/dist/_virtual/BatchInterceptor.cjs +5 -0
- package/dist/_virtual/BatchInterceptor.cjs.map +1 -0
- package/dist/_virtual/BatchInterceptor.js +5 -0
- package/dist/_virtual/BatchInterceptor.js.map +1 -0
- package/dist/_virtual/EventPolyfill.cjs +5 -0
- package/dist/_virtual/EventPolyfill.cjs.map +1 -0
- package/dist/_virtual/EventPolyfill.js +5 -0
- package/dist/_virtual/EventPolyfill.js.map +1 -0
- package/dist/_virtual/InteractiveIsomorphicRequest.cjs +5 -0
- package/dist/_virtual/InteractiveIsomorphicRequest.cjs.map +1 -0
- package/dist/_virtual/InteractiveIsomorphicRequest.js +5 -0
- package/dist/_virtual/InteractiveIsomorphicRequest.js.map +1 -0
- package/dist/_virtual/Interceptor.cjs +5 -0
- package/dist/_virtual/Interceptor.cjs.map +1 -0
- package/dist/_virtual/Interceptor.js +5 -0
- package/dist/_virtual/Interceptor.js.map +1 -0
- package/dist/_virtual/IsomorphicRequest.cjs +5 -0
- package/dist/_virtual/IsomorphicRequest.cjs.map +1 -0
- package/dist/_virtual/IsomorphicRequest.js +5 -0
- package/dist/_virtual/IsomorphicRequest.js.map +1 -0
- package/dist/_virtual/ProgressEventPolyfill.cjs +5 -0
- package/dist/_virtual/ProgressEventPolyfill.cjs.map +1 -0
- package/dist/_virtual/ProgressEventPolyfill.js +5 -0
- package/dist/_virtual/ProgressEventPolyfill.js.map +1 -0
- package/dist/_virtual/StrictEventEmitter.cjs +5 -0
- package/dist/_virtual/StrictEventEmitter.cjs.map +1 -0
- package/dist/_virtual/StrictEventEmitter.js +5 -0
- package/dist/_virtual/StrictEventEmitter.js.map +1 -0
- package/dist/_virtual/XMLHttpRequestOverride.cjs +5 -0
- package/dist/_virtual/XMLHttpRequestOverride.cjs.map +1 -0
- package/dist/_virtual/XMLHttpRequestOverride.js +5 -0
- package/dist/_virtual/XMLHttpRequestOverride.js.map +1 -0
- package/dist/_virtual/_commonjsHelpers.cjs +35 -0
- package/dist/_virtual/_commonjsHelpers.cjs.map +1 -0
- package/dist/_virtual/_commonjsHelpers.js +35 -0
- package/dist/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/_virtual/browser.cjs +13 -0
- package/dist/_virtual/browser.cjs.map +1 -0
- package/dist/_virtual/browser.js +14 -0
- package/dist/_virtual/browser.js.map +1 -0
- package/dist/_virtual/browser2.cjs +13 -0
- package/dist/_virtual/browser2.cjs.map +1 -0
- package/dist/_virtual/browser2.js +14 -0
- package/dist/_virtual/browser2.js.map +1 -0
- package/dist/_virtual/bufferFrom.cjs +5 -0
- package/dist/_virtual/bufferFrom.cjs.map +1 -0
- package/dist/_virtual/bufferFrom.js +5 -0
- package/dist/_virtual/bufferFrom.js.map +1 -0
- package/dist/_virtual/bufferUtils.cjs +5 -0
- package/dist/_virtual/bufferUtils.cjs.map +1 -0
- package/dist/_virtual/bufferUtils.js +5 -0
- package/dist/_virtual/bufferUtils.js.map +1 -0
- package/dist/_virtual/conventions.cjs +5 -0
- package/dist/_virtual/conventions.cjs.map +1 -0
- package/dist/_virtual/conventions.js +5 -0
- package/dist/_virtual/conventions.js.map +1 -0
- package/dist/_virtual/createEvent.cjs +5 -0
- package/dist/_virtual/createEvent.cjs.map +1 -0
- package/dist/_virtual/createEvent.js +5 -0
- package/dist/_virtual/createEvent.js.map +1 -0
- package/dist/_virtual/createLazyCallback.cjs +5 -0
- package/dist/_virtual/createLazyCallback.cjs.map +1 -0
- package/dist/_virtual/createLazyCallback.js +5 -0
- package/dist/_virtual/createLazyCallback.js.map +1 -0
- package/dist/_virtual/dom-parser.cjs +5 -0
- package/dist/_virtual/dom-parser.cjs.map +1 -0
- package/dist/_virtual/dom-parser.js +5 -0
- package/dist/_virtual/dom-parser.js.map +1 -0
- package/dist/_virtual/dom.cjs +5 -0
- package/dist/_virtual/dom.cjs.map +1 -0
- package/dist/_virtual/dom.js +5 -0
- package/dist/_virtual/dom.js.map +1 -0
- package/dist/_virtual/entities.cjs +5 -0
- package/dist/_virtual/entities.cjs.map +1 -0
- package/dist/_virtual/entities.js +5 -0
- package/dist/_virtual/entities.js.map +1 -0
- package/dist/_virtual/format.cjs +5 -0
- package/dist/_virtual/format.cjs.map +1 -0
- package/dist/_virtual/format.js +5 -0
- package/dist/_virtual/format.js.map +1 -0
- package/dist/_virtual/getCleanUrl.cjs +5 -0
- package/dist/_virtual/getCleanUrl.cjs.map +1 -0
- package/dist/_virtual/getCleanUrl.js +5 -0
- package/dist/_virtual/getCleanUrl.js.map +1 -0
- package/dist/_virtual/glossary.cjs +5 -0
- package/dist/_virtual/glossary.cjs.map +1 -0
- package/dist/_virtual/glossary.js +5 -0
- package/dist/_virtual/glossary.js.map +1 -0
- package/dist/_virtual/index.cjs +6 -0
- package/dist/_virtual/index.cjs.map +1 -0
- package/dist/_virtual/index.js +7 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/_virtual/index10.cjs +5 -0
- package/dist/_virtual/index10.cjs.map +1 -0
- package/dist/_virtual/index10.js +5 -0
- package/dist/_virtual/index10.js.map +1 -0
- package/dist/_virtual/index11.cjs +5 -0
- package/dist/_virtual/index11.cjs.map +1 -0
- package/dist/_virtual/index11.js +5 -0
- package/dist/_virtual/index11.js.map +1 -0
- package/dist/_virtual/index2.cjs +6 -0
- package/dist/_virtual/index2.cjs.map +1 -0
- package/dist/_virtual/index2.js +7 -0
- package/dist/_virtual/index2.js.map +1 -0
- package/dist/_virtual/index3.cjs +13 -0
- package/dist/_virtual/index3.cjs.map +1 -0
- package/dist/_virtual/index3.js +14 -0
- package/dist/_virtual/index3.js.map +1 -0
- package/dist/_virtual/index4.cjs +5 -0
- package/dist/_virtual/index4.cjs.map +1 -0
- package/dist/_virtual/index4.js +5 -0
- package/dist/_virtual/index4.js.map +1 -0
- package/dist/_virtual/index5.cjs +5 -0
- package/dist/_virtual/index5.cjs.map +1 -0
- package/dist/_virtual/index5.js +5 -0
- package/dist/_virtual/index5.js.map +1 -0
- package/dist/_virtual/index6.cjs +5 -0
- package/dist/_virtual/index6.cjs.map +1 -0
- package/dist/_virtual/index6.js +5 -0
- package/dist/_virtual/index6.js.map +1 -0
- package/dist/_virtual/index7.cjs +5 -0
- package/dist/_virtual/index7.cjs.map +1 -0
- package/dist/_virtual/index7.js +5 -0
- package/dist/_virtual/index7.js.map +1 -0
- package/dist/_virtual/index8.cjs +5 -0
- package/dist/_virtual/index8.cjs.map +1 -0
- package/dist/_virtual/index8.js +5 -0
- package/dist/_virtual/index8.js.map +1 -0
- package/dist/_virtual/index9.cjs +5 -0
- package/dist/_virtual/index9.cjs.map +1 -0
- package/dist/_virtual/index9.js +5 -0
- package/dist/_virtual/index9.js.map +1 -0
- package/dist/_virtual/invariant.cjs +5 -0
- package/dist/_virtual/invariant.cjs.map +1 -0
- package/dist/_virtual/invariant.js +5 -0
- package/dist/_virtual/invariant.js.map +1 -0
- package/dist/_virtual/lib.cjs +5 -0
- package/dist/_virtual/lib.cjs.map +1 -0
- package/dist/_virtual/lib.js +5 -0
- package/dist/_virtual/lib.js.map +1 -0
- package/dist/_virtual/nextTick.cjs +5 -0
- package/dist/_virtual/nextTick.cjs.map +1 -0
- package/dist/_virtual/nextTick.js +5 -0
- package/dist/_virtual/nextTick.js.map +1 -0
- package/dist/_virtual/parseJson.cjs +5 -0
- package/dist/_virtual/parseJson.cjs.map +1 -0
- package/dist/_virtual/parseJson.js +5 -0
- package/dist/_virtual/parseJson.js.map +1 -0
- package/dist/_virtual/ponyfill.es2018.cjs +13 -0
- package/dist/_virtual/ponyfill.es2018.cjs.map +1 -0
- package/dist/_virtual/ponyfill.es2018.js +14 -0
- package/dist/_virtual/ponyfill.es2018.js.map +1 -0
- package/dist/_virtual/sax.cjs +5 -0
- package/dist/_virtual/sax.cjs.map +1 -0
- package/dist/_virtual/sax.js +5 -0
- package/dist/_virtual/sax.js.map +1 -0
- package/dist/_virtual/set-cookie.cjs +13 -0
- package/dist/_virtual/set-cookie.cjs.map +1 -0
- package/dist/_virtual/set-cookie.js +14 -0
- package/dist/_virtual/set-cookie.js.map +1 -0
- package/dist/_virtual/store.cjs +5 -0
- package/dist/_virtual/store.cjs.map +1 -0
- package/dist/_virtual/store.js +5 -0
- package/dist/_virtual/store.js.map +1 -0
- package/dist/_virtual/toIsoResponse.cjs +5 -0
- package/dist/_virtual/toIsoResponse.cjs.map +1 -0
- package/dist/_virtual/toIsoResponse.js +5 -0
- package/dist/_virtual/toIsoResponse.js.map +1 -0
- package/dist/_virtual/until.cjs +5 -0
- package/dist/_virtual/until.cjs.map +1 -0
- package/dist/_virtual/until.js +5 -0
- package/dist/_virtual/until.js.map +1 -0
- package/dist/_virtual/uuid.cjs +5 -0
- package/dist/_virtual/uuid.cjs.map +1 -0
- package/dist/_virtual/uuid.js +5 -0
- package/dist/_virtual/uuid.js.map +1 -0
- package/dist/auth/PrismicAuthManager.cjs +280 -0
- package/dist/auth/PrismicAuthManager.cjs.map +1 -0
- package/dist/auth/PrismicAuthManager.d.ts +58 -0
- package/dist/auth/PrismicAuthManager.js +258 -0
- package/dist/auth/PrismicAuthManager.js.map +1 -0
- package/dist/auth/createPrismicAuthManager.cjs +8 -0
- package/dist/auth/createPrismicAuthManager.cjs.map +1 -0
- package/dist/auth/createPrismicAuthManager.d.ts +4 -0
- package/dist/auth/createPrismicAuthManager.js +8 -0
- package/dist/auth/createPrismicAuthManager.js.map +1 -0
- package/dist/auth/createPrismicAuthManagerMiddleware.cjs +50 -0
- package/dist/auth/createPrismicAuthManagerMiddleware.cjs.map +1 -0
- package/dist/auth/createPrismicAuthManagerMiddleware.d.ts +14 -0
- package/dist/auth/createPrismicAuthManagerMiddleware.js +33 -0
- package/dist/auth/createPrismicAuthManagerMiddleware.js.map +1 -0
- package/dist/client/index.d.ts +5 -0
- package/dist/client.cjs +20 -0
- package/dist/client.cjs.map +1 -0
- package/dist/client.js +20 -0
- package/dist/client.js.map +1 -0
- package/dist/constants/API_ENDPOINTS.cjs +45 -0
- package/dist/constants/API_ENDPOINTS.cjs.map +1 -0
- package/dist/constants/API_ENDPOINTS.d.ts +9 -0
- package/dist/constants/API_ENDPOINTS.js +45 -0
- package/dist/constants/API_ENDPOINTS.js.map +1 -0
- package/dist/constants/API_TOKENS.cjs +17 -0
- package/dist/constants/API_TOKENS.cjs.map +1 -0
- package/dist/constants/API_TOKENS.d.ts +5 -0
- package/dist/constants/API_TOKENS.js +17 -0
- package/dist/constants/API_TOKENS.js.map +1 -0
- package/dist/constants/APPLICATION_MODE.cjs +9 -0
- package/dist/constants/APPLICATION_MODE.cjs.map +1 -0
- package/dist/constants/APPLICATION_MODE.d.ts +5 -0
- package/dist/constants/APPLICATION_MODE.js +9 -0
- package/dist/constants/APPLICATION_MODE.js.map +1 -0
- package/dist/constants/DEFAULT_SLICE_SCREENSHOT_URL.cjs +5 -0
- package/dist/constants/DEFAULT_SLICE_SCREENSHOT_URL.cjs.map +1 -0
- package/dist/constants/DEFAULT_SLICE_SCREENSHOT_URL.d.ts +5 -0
- package/dist/constants/DEFAULT_SLICE_SCREENSHOT_URL.js +5 -0
- package/dist/constants/DEFAULT_SLICE_SCREENSHOT_URL.js.map +1 -0
- package/dist/constants/SLICE_MACHINE_CONFIG_FILENAME.cjs +5 -0
- package/dist/constants/SLICE_MACHINE_CONFIG_FILENAME.cjs.map +1 -0
- package/dist/constants/SLICE_MACHINE_CONFIG_FILENAME.d.ts +1 -0
- package/dist/constants/SLICE_MACHINE_CONFIG_FILENAME.js +5 -0
- package/dist/constants/SLICE_MACHINE_CONFIG_FILENAME.js.map +1 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_PACKAGE_NAME.cjs +5 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_PACKAGE_NAME.cjs.map +1 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_PACKAGE_NAME.d.ts +1 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_PACKAGE_NAME.js +5 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_PACKAGE_NAME.js.map +1 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_NAME.cjs +5 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_NAME.cjs.map +1 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_NAME.d.ts +1 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_NAME.js +5 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_NAME.js.map +1 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_ORGANIZATION.cjs +5 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_ORGANIZATION.cjs.map +1 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_ORGANIZATION.d.ts +1 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_ORGANIZATION.js +5 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_ORGANIZATION.js.map +1 -0
- package/dist/constants/SLICE_MACHINE_NPM_PACKAGE_NAME.cjs +5 -0
- package/dist/constants/SLICE_MACHINE_NPM_PACKAGE_NAME.cjs.map +1 -0
- package/dist/constants/SLICE_MACHINE_NPM_PACKAGE_NAME.d.ts +1 -0
- package/dist/constants/SLICE_MACHINE_NPM_PACKAGE_NAME.js +5 -0
- package/dist/constants/SLICE_MACHINE_NPM_PACKAGE_NAME.js.map +1 -0
- package/dist/constants/SLICE_MACHINE_USER_AGENT.cjs +5 -0
- package/dist/constants/SLICE_MACHINE_USER_AGENT.cjs.map +1 -0
- package/dist/constants/SLICE_MACHINE_USER_AGENT.d.ts +1 -0
- package/dist/constants/SLICE_MACHINE_USER_AGENT.js +5 -0
- package/dist/constants/SLICE_MACHINE_USER_AGENT.js.map +1 -0
- package/dist/constants/TS_CONFIG_FILENAME.cjs +5 -0
- package/dist/constants/TS_CONFIG_FILENAME.cjs.map +1 -0
- package/dist/constants/TS_CONFIG_FILENAME.d.ts +1 -0
- package/dist/constants/TS_CONFIG_FILENAME.js +5 -0
- package/dist/constants/TS_CONFIG_FILENAME.js.map +1 -0
- package/dist/constants/VERSION_KIND.cjs +10 -0
- package/dist/constants/VERSION_KIND.cjs.map +1 -0
- package/dist/constants/VERSION_KIND.d.ts +6 -0
- package/dist/constants/VERSION_KIND.js +10 -0
- package/dist/constants/VERSION_KIND.js.map +1 -0
- package/dist/errors.cjs +77 -0
- package/dist/errors.cjs.map +1 -0
- package/dist/errors.d.ts +34 -0
- package/dist/errors.js +77 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.cjs +17 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +17 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/DecodeError.cjs +22 -0
- package/dist/lib/DecodeError.cjs.map +1 -0
- package/dist/lib/DecodeError.d.ts +12 -0
- package/dist/lib/DecodeError.js +22 -0
- package/dist/lib/DecodeError.js.map +1 -0
- package/dist/lib/assertPluginsInitialized.cjs +9 -0
- package/dist/lib/assertPluginsInitialized.cjs.map +1 -0
- package/dist/lib/assertPluginsInitialized.d.ts +2 -0
- package/dist/lib/assertPluginsInitialized.js +9 -0
- package/dist/lib/assertPluginsInitialized.js.map +1 -0
- package/dist/lib/bufferCodec.cjs +24 -0
- package/dist/lib/bufferCodec.cjs.map +1 -0
- package/dist/lib/bufferCodec.d.ts +3 -0
- package/dist/lib/bufferCodec.js +7 -0
- package/dist/lib/bufferCodec.js.map +1 -0
- package/dist/lib/castArray.cjs +7 -0
- package/dist/lib/castArray.cjs.map +1 -0
- package/dist/lib/castArray.d.ts +1 -0
- package/dist/lib/castArray.js +7 -0
- package/dist/lib/castArray.js.map +1 -0
- package/dist/lib/checkIsURLAccessible.cjs +9 -0
- package/dist/lib/checkIsURLAccessible.cjs.map +1 -0
- package/dist/lib/checkIsURLAccessible.d.ts +1 -0
- package/dist/lib/checkIsURLAccessible.js +9 -0
- package/dist/lib/checkIsURLAccessible.js.map +1 -0
- package/dist/lib/createContentDigest.cjs +25 -0
- package/dist/lib/createContentDigest.cjs.map +1 -0
- package/dist/lib/createContentDigest.d.ts +9 -0
- package/dist/lib/createContentDigest.js +8 -0
- package/dist/lib/createContentDigest.js.map +1 -0
- package/dist/lib/decode.cjs +18 -0
- package/dist/lib/decode.cjs.map +1 -0
- package/dist/lib/decode.d.ts +10 -0
- package/dist/lib/decode.js +18 -0
- package/dist/lib/decode.js.map +1 -0
- package/dist/lib/decodeHookResult.cjs +21 -0
- package/dist/lib/decodeHookResult.cjs.map +1 -0
- package/dist/lib/decodeHookResult.d.ts +10 -0
- package/dist/lib/decodeHookResult.js +21 -0
- package/dist/lib/decodeHookResult.js.map +1 -0
- package/dist/lib/decodeSliceMachineConfig.cjs +50 -0
- package/dist/lib/decodeSliceMachineConfig.cjs.map +1 -0
- package/dist/lib/decodeSliceMachineConfig.d.ts +3 -0
- package/dist/lib/decodeSliceMachineConfig.js +33 -0
- package/dist/lib/decodeSliceMachineConfig.js.map +1 -0
- package/dist/lib/fetchGitHubReleaseBodyForRelease.cjs +102 -0
- package/dist/lib/fetchGitHubReleaseBodyForRelease.cjs.map +1 -0
- package/dist/lib/fetchGitHubReleaseBodyForRelease.d.ts +21 -0
- package/dist/lib/fetchGitHubReleaseBodyForRelease.js +85 -0
- package/dist/lib/fetchGitHubReleaseBodyForRelease.js.map +1 -0
- package/dist/lib/fetchNPMPackageVersions.cjs +41 -0
- package/dist/lib/fetchNPMPackageVersions.cjs.map +1 -0
- package/dist/lib/fetchNPMPackageVersions.d.ts +5 -0
- package/dist/lib/fetchNPMPackageVersions.js +24 -0
- package/dist/lib/fetchNPMPackageVersions.js.map +1 -0
- package/dist/lib/format.cjs +33 -0
- package/dist/lib/format.cjs.map +1 -0
- package/dist/lib/format.d.ts +12 -0
- package/dist/lib/format.js +33 -0
- package/dist/lib/format.js.map +1 -0
- package/dist/lib/functionCodec.cjs +29 -0
- package/dist/lib/functionCodec.cjs.map +1 -0
- package/dist/lib/functionCodec.d.ts +2 -0
- package/dist/lib/functionCodec.js +12 -0
- package/dist/lib/functionCodec.js.map +1 -0
- package/dist/lib/locateFileUpward.cjs +50 -0
- package/dist/lib/locateFileUpward.cjs.map +1 -0
- package/dist/lib/locateFileUpward.d.ts +10 -0
- package/dist/lib/locateFileUpward.js +32 -0
- package/dist/lib/locateFileUpward.js.map +1 -0
- package/dist/lib/markdownToHTML.cjs +90 -0
- package/dist/lib/markdownToHTML.cjs.map +1 -0
- package/dist/lib/markdownToHTML.d.ts +1 -0
- package/dist/lib/markdownToHTML.js +68 -0
- package/dist/lib/markdownToHTML.js.map +1 -0
- package/dist/lib/prismicrc.cjs +48 -0
- package/dist/lib/prismicrc.cjs.map +1 -0
- package/dist/lib/prismicrc.d.ts +10 -0
- package/dist/lib/prismicrc.js +29 -0
- package/dist/lib/prismicrc.js.map +1 -0
- package/dist/lib/serializeCookies.cjs +29 -0
- package/dist/lib/serializeCookies.cjs.map +1 -0
- package/dist/lib/serializeCookies.d.ts +6 -0
- package/dist/lib/serializeCookies.js +29 -0
- package/dist/lib/serializeCookies.js.map +1 -0
- package/dist/managers/BaseManager.cjs +63 -0
- package/dist/managers/BaseManager.cjs.map +1 -0
- package/dist/managers/BaseManager.d.ts +33 -0
- package/dist/managers/BaseManager.js +63 -0
- package/dist/managers/BaseManager.js.map +1 -0
- package/dist/managers/SliceMachineManager.cjs +217 -0
- package/dist/managers/SliceMachineManager.cjs.map +1 -0
- package/dist/managers/SliceMachineManager.d.ts +93 -0
- package/dist/managers/SliceMachineManager.js +217 -0
- package/dist/managers/SliceMachineManager.js.map +1 -0
- package/dist/managers/createSliceMachineManager.cjs +8 -0
- package/dist/managers/createSliceMachineManager.cjs.map +1 -0
- package/dist/managers/createSliceMachineManager.d.ts +4 -0
- package/dist/managers/createSliceMachineManager.js +8 -0
- package/dist/managers/createSliceMachineManager.js.map +1 -0
- package/dist/managers/createSliceMachineManagerClient.cjs +11 -0
- package/dist/managers/createSliceMachineManagerClient.cjs.map +1 -0
- package/dist/managers/createSliceMachineManagerClient.d.ts +8 -0
- package/dist/managers/createSliceMachineManagerClient.js +11 -0
- package/dist/managers/createSliceMachineManagerClient.js.map +1 -0
- package/dist/managers/createSliceMachineManagerMiddleware.cjs +47 -0
- package/dist/managers/createSliceMachineManagerMiddleware.cjs.map +1 -0
- package/dist/managers/createSliceMachineManagerMiddleware.d.ts +14 -0
- package/dist/managers/createSliceMachineManagerMiddleware.js +47 -0
- package/dist/managers/createSliceMachineManagerMiddleware.js.map +1 -0
- package/dist/managers/customTypes/CustomTypesManager.cjs +177 -0
- package/dist/managers/customTypes/CustomTypesManager.cjs.map +1 -0
- package/dist/managers/customTypes/CustomTypesManager.d.ts +50 -0
- package/dist/managers/customTypes/CustomTypesManager.js +159 -0
- package/dist/managers/customTypes/CustomTypesManager.js.map +1 -0
- package/dist/managers/plugins/PluginsManager.cjs +36 -0
- package/dist/managers/plugins/PluginsManager.cjs.map +1 -0
- package/dist/managers/plugins/PluginsManager.d.ts +13 -0
- package/dist/managers/plugins/PluginsManager.js +36 -0
- package/dist/managers/plugins/PluginsManager.js.map +1 -0
- package/dist/managers/prismicRepository/PrismicRepositoryManager.cjs +199 -0
- package/dist/managers/prismicRepository/PrismicRepositoryManager.cjs.map +1 -0
- package/dist/managers/prismicRepository/PrismicRepositoryManager.d.ts +28 -0
- package/dist/managers/prismicRepository/PrismicRepositoryManager.js +182 -0
- package/dist/managers/prismicRepository/PrismicRepositoryManager.js.map +1 -0
- package/dist/managers/prismicRepository/types.cjs +45 -0
- package/dist/managers/prismicRepository/types.cjs.map +1 -0
- package/dist/managers/prismicRepository/types.d.ts +38 -0
- package/dist/managers/prismicRepository/types.js +28 -0
- package/dist/managers/prismicRepository/types.js.map +1 -0
- package/dist/managers/project/ProjectManager.cjs +120 -0
- package/dist/managers/project/ProjectManager.cjs.map +1 -0
- package/dist/managers/project/ProjectManager.d.ts +30 -0
- package/dist/managers/project/ProjectManager.js +102 -0
- package/dist/managers/project/ProjectManager.js.map +1 -0
- package/dist/managers/screenshots/ScreenshotsManager.cjs +206 -0
- package/dist/managers/screenshots/ScreenshotsManager.cjs.map +1 -0
- package/dist/managers/screenshots/ScreenshotsManager.d.ts +31 -0
- package/dist/managers/screenshots/ScreenshotsManager.js +168 -0
- package/dist/managers/screenshots/ScreenshotsManager.js.map +1 -0
- package/dist/managers/simulator/SimulatorManager.cjs +100 -0
- package/dist/managers/simulator/SimulatorManager.cjs.map +1 -0
- package/dist/managers/simulator/SimulatorManager.d.ts +37 -0
- package/dist/managers/simulator/SimulatorManager.js +83 -0
- package/dist/managers/simulator/SimulatorManager.js.map +1 -0
- package/dist/managers/slices/SlicesManager.cjs +341 -0
- package/dist/managers/slices/SlicesManager.cjs.map +1 -0
- package/dist/managers/slices/SlicesManager.d.ts +111 -0
- package/dist/managers/slices/SlicesManager.js +323 -0
- package/dist/managers/slices/SlicesManager.js.map +1 -0
- package/dist/managers/snippets/SnippetsManager.cjs +41 -0
- package/dist/managers/snippets/SnippetsManager.cjs.map +1 -0
- package/dist/managers/snippets/SnippetsManager.d.ts +11 -0
- package/dist/managers/snippets/SnippetsManager.js +24 -0
- package/dist/managers/snippets/SnippetsManager.js.map +1 -0
- package/dist/managers/telemetry/TelemetryManager.cjs +105 -0
- package/dist/managers/telemetry/TelemetryManager.cjs.map +1 -0
- package/dist/managers/telemetry/TelemetryManager.d.ts +17 -0
- package/dist/managers/telemetry/TelemetryManager.js +105 -0
- package/dist/managers/telemetry/TelemetryManager.js.map +1 -0
- package/dist/managers/telemetry/types.cjs +15 -0
- package/dist/managers/telemetry/types.cjs.map +1 -0
- package/dist/managers/telemetry/types.d.ts +28 -0
- package/dist/managers/telemetry/types.js +15 -0
- package/dist/managers/telemetry/types.js.map +1 -0
- package/dist/managers/user/UserManager.cjs +25 -0
- package/dist/managers/user/UserManager.cjs.map +1 -0
- package/dist/managers/user/UserManager.d.ts +38 -0
- package/dist/managers/user/UserManager.js +25 -0
- package/dist/managers/user/UserManager.js.map +1 -0
- package/dist/managers/versions/VersionsManager.cjs +104 -0
- package/dist/managers/versions/VersionsManager.cjs.map +1 -0
- package/dist/managers/versions/VersionsManager.d.ts +19 -0
- package/dist/managers/versions/VersionsManager.js +86 -0
- package/dist/managers/versions/VersionsManager.js.map +1 -0
- package/dist/managers/versions/types.d.ts +5 -0
- package/dist/test/createSliceMachineManagerMSWHandler.cjs +27 -0
- package/dist/test/createSliceMachineManagerMSWHandler.cjs.map +1 -0
- package/dist/test/createSliceMachineManagerMSWHandler.d.ts +7 -0
- package/dist/test/createSliceMachineManagerMSWHandler.js +27 -0
- package/dist/test/createSliceMachineManagerMSWHandler.js.map +1 -0
- package/dist/test/index.d.ts +1 -0
- package/dist/test.cjs +5 -0
- package/dist/test.cjs.map +1 -0
- package/dist/test.js +5 -0
- package/dist/test.js.map +1 -0
- package/dist/types.d.ts +45 -0
- package/package.json +128 -0
- package/src/auth/PrismicAuthManager.ts +403 -0
- package/src/auth/createPrismicAuthManager.ts +11 -0
- package/src/auth/createPrismicAuthManagerMiddleware.ts +70 -0
- package/src/client/index.ts +32 -0
- package/src/constants/API_ENDPOINTS.ts +62 -0
- package/src/constants/API_TOKENS.ts +18 -0
- package/src/constants/APPLICATION_MODE.ts +5 -0
- package/src/constants/DEFAULT_SLICE_SCREENSHOT_URL.ts +6 -0
- package/src/constants/SLICE_MACHINE_CONFIG_FILENAME.ts +1 -0
- package/src/constants/SLICE_MACHINE_GITHUB_PACKAGE_NAME.ts +1 -0
- package/src/constants/SLICE_MACHINE_GITHUB_REPOSITORY_NAME.ts +1 -0
- package/src/constants/SLICE_MACHINE_GITHUB_REPOSITORY_ORGANIZATION.ts +1 -0
- package/src/constants/SLICE_MACHINE_NPM_PACKAGE_NAME.ts +1 -0
- package/src/constants/SLICE_MACHINE_USER_AGENT.ts +1 -0
- package/src/constants/TS_CONFIG_FILENAME.ts +1 -0
- package/src/constants/VERSION_KIND.ts +6 -0
- package/src/errors.ts +146 -0
- package/src/index.ts +27 -0
- package/src/lib/DecodeError.ts +22 -0
- package/src/lib/assertPluginsInitialized.ts +11 -0
- package/src/lib/bufferCodec.ts +10 -0
- package/src/lib/castArray.ts +3 -0
- package/src/lib/checkIsURLAccessible.ts +7 -0
- package/src/lib/createContentDigest.ts +12 -0
- package/src/lib/decode.ts +36 -0
- package/src/lib/decodeHookResult.ts +36 -0
- package/src/lib/decodeSliceMachineConfig.ts +43 -0
- package/src/lib/fetchGitHubReleaseBodyForRelease.ts +143 -0
- package/src/lib/fetchNPMPackageVersions.ts +46 -0
- package/src/lib/format.ts +34 -0
- package/src/lib/functionCodec.ts +16 -0
- package/src/lib/locateFileUpward.ts +58 -0
- package/src/lib/markdownToHTML.ts +113 -0
- package/src/lib/prismicrc.ts +64 -0
- package/src/lib/serializeCookies.ts +45 -0
- package/src/managers/BaseManager.ts +92 -0
- package/src/managers/SliceMachineManager.ts +362 -0
- package/src/managers/createSliceMachineManager.ts +11 -0
- package/src/managers/createSliceMachineManagerClient.ts +23 -0
- package/src/managers/createSliceMachineManagerMiddleware.ts +75 -0
- package/src/managers/customTypes/CustomTypesManager.ts +303 -0
- package/src/managers/plugins/PluginsManager.ts +48 -0
- package/src/managers/prismicRepository/PrismicRepositoryManager.ts +266 -0
- package/src/managers/prismicRepository/types.ts +30 -0
- package/src/managers/project/ProjectManager.ts +165 -0
- package/src/managers/screenshots/ScreenshotsManager.ts +242 -0
- package/src/managers/simulator/SimulatorManager.ts +151 -0
- package/src/managers/slices/SlicesManager.ts +604 -0
- package/src/managers/snippets/SnippetsManager.ts +45 -0
- package/src/managers/telemetry/TelemetryManager.ts +142 -0
- package/src/managers/telemetry/types.ts +46 -0
- package/src/managers/user/UserManager.ts +27 -0
- package/src/managers/versions/VersionsManager.ts +121 -0
- package/src/managers/versions/types.ts +6 -0
- package/src/test/createSliceMachineManagerMSWHandler.ts +41 -0
- package/src/test/index.ts +4 -0
- package/src/types.ts +59 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KnownTypeNamesRule.cjs","sources":["../../../../../../../node_modules/graphql/validation/rules/KnownTypeNamesRule.mjs"],"sourcesContent":["import { didYouMean } from '../../jsutils/didYouMean.mjs';\nimport { suggestionList } from '../../jsutils/suggestionList.mjs';\nimport { GraphQLError } from '../../error/GraphQLError.mjs';\nimport {\n isTypeDefinitionNode,\n isTypeSystemDefinitionNode,\n isTypeSystemExtensionNode,\n} from '../../language/predicates.mjs';\nimport { introspectionTypes } from '../../type/introspection.mjs';\nimport { specifiedScalarTypes } from '../../type/scalars.mjs';\n\n/**\n * Known type names\n *\n * A GraphQL document is only valid if referenced types (specifically\n * variable definitions and fragment conditions) are defined by the type schema.\n *\n * See https://spec.graphql.org/draft/#sec-Fragment-Spread-Type-Existence\n */\nexport function KnownTypeNamesRule(context) {\n const schema = context.getSchema();\n const existingTypesMap = schema ? schema.getTypeMap() : Object.create(null);\n const definedTypes = Object.create(null);\n\n for (const def of context.getDocument().definitions) {\n if (isTypeDefinitionNode(def)) {\n definedTypes[def.name.value] = true;\n }\n }\n\n const typeNames = [\n ...Object.keys(existingTypesMap),\n ...Object.keys(definedTypes),\n ];\n return {\n NamedType(node, _1, parent, _2, ancestors) {\n const typeName = node.name.value;\n\n if (!existingTypesMap[typeName] && !definedTypes[typeName]) {\n var _ancestors$;\n\n const definitionNode =\n (_ancestors$ = ancestors[2]) !== null && _ancestors$ !== void 0\n ? _ancestors$\n : parent;\n const isSDL = definitionNode != null && isSDLNode(definitionNode);\n\n if (isSDL && standardTypeNames.includes(typeName)) {\n return;\n }\n\n const suggestedTypes = suggestionList(\n typeName,\n isSDL ? standardTypeNames.concat(typeNames) : typeNames,\n );\n context.reportError(\n new GraphQLError(\n `Unknown type \"${typeName}\".` + didYouMean(suggestedTypes),\n {\n nodes: node,\n },\n ),\n );\n }\n },\n };\n}\nconst standardTypeNames = [...specifiedScalarTypes, ...introspectionTypes].map(\n (type) => type.name,\n);\n\nfunction isSDLNode(value) {\n return (\n 'kind' in value &&\n (isTypeSystemDefinitionNode(value) || isTypeSystemExtensionNode(value))\n );\n}\n"],"names":["isTypeDefinitionNode","suggestionList","GraphQLError","didYouMean","specifiedScalarTypes","introspectionTypes","isTypeSystemDefinitionNode","isTypeSystemExtensionNode"],"mappings":";;;;;;;;AAmBO,SAAS,mBAAmB,SAAS;AAC1C,QAAM,SAAS,QAAQ;AACvB,QAAM,mBAAmB,SAAS,OAAO,WAAY,IAAG,uBAAO,OAAO,IAAI;AAC1E,QAAM,eAAe,uBAAO,OAAO,IAAI;AAEvC,aAAW,OAAO,QAAQ,YAAW,EAAG,aAAa;AACnD,QAAIA,WAAAA,qBAAqB,GAAG,GAAG;AAC7B,mBAAa,IAAI,KAAK,KAAK,IAAI;AAAA,IAChC;AAAA,EACF;AAED,QAAM,YAAY;AAAA,IAChB,GAAG,OAAO,KAAK,gBAAgB;AAAA,IAC/B,GAAG,OAAO,KAAK,YAAY;AAAA,EAC/B;AACE,SAAO;AAAA,IACL,UAAU,MAAM,IAAI,QAAQ,IAAI,WAAW;AACzC,YAAM,WAAW,KAAK,KAAK;AAE3B,UAAI,CAAC,iBAAiB,QAAQ,KAAK,CAAC,aAAa,QAAQ,GAAG;AAC1D,YAAI;AAEJ,cAAM,kBACH,cAAc,UAAU,CAAC,OAAO,QAAQ,gBAAgB,SACrD,cACA;AACN,cAAM,QAAQ,kBAAkB,QAAQ,UAAU,cAAc;AAEhE,YAAI,SAAS,kBAAkB,SAAS,QAAQ,GAAG;AACjD;AAAA,QACD;AAED,cAAM,iBAAiBC,eAAc;AAAA,UACnC;AAAA,UACA,QAAQ,kBAAkB,OAAO,SAAS,IAAI;AAAA,QACxD;AACQ,gBAAQ;AAAA,UACN,IAAIC,aAAY;AAAA,YACd,iBAAiB,eAAeC,WAAAA,WAAW,cAAc;AAAA,YACzD;AAAA,cACE,OAAO;AAAA,YACR;AAAA,UACF;AAAA,QACX;AAAA,MACO;AAAA,IACF;AAAA,EACL;AACA;AACA,MAAM,oBAAoB,CAAC,GAAGC,QAAAA,sBAAsB,GAAGC,cAAAA,kBAAkB,EAAE;AAAA,EACzE,CAAC,SAAS,KAAK;AACjB;AAEA,SAAS,UAAU,OAAO;AACxB,SACE,UAAU,UACTC,WAAAA,2BAA2B,KAAK,KAAKC,WAAyB,0BAAC,KAAK;AAEzE;;"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { didYouMean } from "../../jsutils/didYouMean.js";
|
|
2
|
+
import { suggestionList } from "../../jsutils/suggestionList.js";
|
|
3
|
+
import { GraphQLError } from "../../error/GraphQLError.js";
|
|
4
|
+
import { isTypeDefinitionNode, isTypeSystemDefinitionNode, isTypeSystemExtensionNode } from "../../language/predicates.js";
|
|
5
|
+
import { introspectionTypes } from "../../type/introspection.js";
|
|
6
|
+
import { specifiedScalarTypes } from "../../type/scalars.js";
|
|
7
|
+
function KnownTypeNamesRule(context) {
|
|
8
|
+
const schema = context.getSchema();
|
|
9
|
+
const existingTypesMap = schema ? schema.getTypeMap() : /* @__PURE__ */ Object.create(null);
|
|
10
|
+
const definedTypes = /* @__PURE__ */ Object.create(null);
|
|
11
|
+
for (const def of context.getDocument().definitions) {
|
|
12
|
+
if (isTypeDefinitionNode(def)) {
|
|
13
|
+
definedTypes[def.name.value] = true;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
const typeNames = [
|
|
17
|
+
...Object.keys(existingTypesMap),
|
|
18
|
+
...Object.keys(definedTypes)
|
|
19
|
+
];
|
|
20
|
+
return {
|
|
21
|
+
NamedType(node, _1, parent, _2, ancestors) {
|
|
22
|
+
const typeName = node.name.value;
|
|
23
|
+
if (!existingTypesMap[typeName] && !definedTypes[typeName]) {
|
|
24
|
+
var _ancestors$;
|
|
25
|
+
const definitionNode = (_ancestors$ = ancestors[2]) !== null && _ancestors$ !== void 0 ? _ancestors$ : parent;
|
|
26
|
+
const isSDL = definitionNode != null && isSDLNode(definitionNode);
|
|
27
|
+
if (isSDL && standardTypeNames.includes(typeName)) {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
const suggestedTypes = suggestionList(
|
|
31
|
+
typeName,
|
|
32
|
+
isSDL ? standardTypeNames.concat(typeNames) : typeNames
|
|
33
|
+
);
|
|
34
|
+
context.reportError(
|
|
35
|
+
new GraphQLError(
|
|
36
|
+
`Unknown type "${typeName}".` + didYouMean(suggestedTypes),
|
|
37
|
+
{
|
|
38
|
+
nodes: node
|
|
39
|
+
}
|
|
40
|
+
)
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
const standardTypeNames = [...specifiedScalarTypes, ...introspectionTypes].map(
|
|
47
|
+
(type) => type.name
|
|
48
|
+
);
|
|
49
|
+
function isSDLNode(value) {
|
|
50
|
+
return "kind" in value && (isTypeSystemDefinitionNode(value) || isTypeSystemExtensionNode(value));
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
KnownTypeNamesRule
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=KnownTypeNamesRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KnownTypeNamesRule.js","sources":["../../../../../../../node_modules/graphql/validation/rules/KnownTypeNamesRule.mjs"],"sourcesContent":["import { didYouMean } from '../../jsutils/didYouMean.mjs';\nimport { suggestionList } from '../../jsutils/suggestionList.mjs';\nimport { GraphQLError } from '../../error/GraphQLError.mjs';\nimport {\n isTypeDefinitionNode,\n isTypeSystemDefinitionNode,\n isTypeSystemExtensionNode,\n} from '../../language/predicates.mjs';\nimport { introspectionTypes } from '../../type/introspection.mjs';\nimport { specifiedScalarTypes } from '../../type/scalars.mjs';\n\n/**\n * Known type names\n *\n * A GraphQL document is only valid if referenced types (specifically\n * variable definitions and fragment conditions) are defined by the type schema.\n *\n * See https://spec.graphql.org/draft/#sec-Fragment-Spread-Type-Existence\n */\nexport function KnownTypeNamesRule(context) {\n const schema = context.getSchema();\n const existingTypesMap = schema ? schema.getTypeMap() : Object.create(null);\n const definedTypes = Object.create(null);\n\n for (const def of context.getDocument().definitions) {\n if (isTypeDefinitionNode(def)) {\n definedTypes[def.name.value] = true;\n }\n }\n\n const typeNames = [\n ...Object.keys(existingTypesMap),\n ...Object.keys(definedTypes),\n ];\n return {\n NamedType(node, _1, parent, _2, ancestors) {\n const typeName = node.name.value;\n\n if (!existingTypesMap[typeName] && !definedTypes[typeName]) {\n var _ancestors$;\n\n const definitionNode =\n (_ancestors$ = ancestors[2]) !== null && _ancestors$ !== void 0\n ? _ancestors$\n : parent;\n const isSDL = definitionNode != null && isSDLNode(definitionNode);\n\n if (isSDL && standardTypeNames.includes(typeName)) {\n return;\n }\n\n const suggestedTypes = suggestionList(\n typeName,\n isSDL ? standardTypeNames.concat(typeNames) : typeNames,\n );\n context.reportError(\n new GraphQLError(\n `Unknown type \"${typeName}\".` + didYouMean(suggestedTypes),\n {\n nodes: node,\n },\n ),\n );\n }\n },\n };\n}\nconst standardTypeNames = [...specifiedScalarTypes, ...introspectionTypes].map(\n (type) => type.name,\n);\n\nfunction isSDLNode(value) {\n return (\n 'kind' in value &&\n (isTypeSystemDefinitionNode(value) || isTypeSystemExtensionNode(value))\n );\n}\n"],"names":[],"mappings":";;;;;;AAmBO,SAAS,mBAAmB,SAAS;AAC1C,QAAM,SAAS,QAAQ;AACvB,QAAM,mBAAmB,SAAS,OAAO,WAAY,IAAG,uBAAO,OAAO,IAAI;AAC1E,QAAM,eAAe,uBAAO,OAAO,IAAI;AAEvC,aAAW,OAAO,QAAQ,YAAW,EAAG,aAAa;AACnD,QAAI,qBAAqB,GAAG,GAAG;AAC7B,mBAAa,IAAI,KAAK,KAAK,IAAI;AAAA,IAChC;AAAA,EACF;AAED,QAAM,YAAY;AAAA,IAChB,GAAG,OAAO,KAAK,gBAAgB;AAAA,IAC/B,GAAG,OAAO,KAAK,YAAY;AAAA,EAC/B;AACE,SAAO;AAAA,IACL,UAAU,MAAM,IAAI,QAAQ,IAAI,WAAW;AACzC,YAAM,WAAW,KAAK,KAAK;AAE3B,UAAI,CAAC,iBAAiB,QAAQ,KAAK,CAAC,aAAa,QAAQ,GAAG;AAC1D,YAAI;AAEJ,cAAM,kBACH,cAAc,UAAU,CAAC,OAAO,QAAQ,gBAAgB,SACrD,cACA;AACN,cAAM,QAAQ,kBAAkB,QAAQ,UAAU,cAAc;AAEhE,YAAI,SAAS,kBAAkB,SAAS,QAAQ,GAAG;AACjD;AAAA,QACD;AAED,cAAM,iBAAiB;AAAA,UACrB;AAAA,UACA,QAAQ,kBAAkB,OAAO,SAAS,IAAI;AAAA,QACxD;AACQ,gBAAQ;AAAA,UACN,IAAI;AAAA,YACF,iBAAiB,eAAe,WAAW,cAAc;AAAA,YACzD;AAAA,cACE,OAAO;AAAA,YACR;AAAA,UACF;AAAA,QACX;AAAA,MACO;AAAA,IACF;AAAA,EACL;AACA;AACA,MAAM,oBAAoB,CAAC,GAAG,sBAAsB,GAAG,kBAAkB,EAAE;AAAA,EACzE,CAAC,SAAS,KAAK;AACjB;AAEA,SAAS,UAAU,OAAO;AACxB,SACE,UAAU,UACT,2BAA2B,KAAK,KAAK,0BAA0B,KAAK;AAEzE;"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const GraphQLError = require("../../error/GraphQLError.cjs");
|
|
4
|
+
const kinds = require("../../language/kinds.cjs");
|
|
5
|
+
function LoneAnonymousOperationRule(context) {
|
|
6
|
+
let operationCount = 0;
|
|
7
|
+
return {
|
|
8
|
+
Document(node) {
|
|
9
|
+
operationCount = node.definitions.filter(
|
|
10
|
+
(definition) => definition.kind === kinds.Kind.OPERATION_DEFINITION
|
|
11
|
+
).length;
|
|
12
|
+
},
|
|
13
|
+
OperationDefinition(node) {
|
|
14
|
+
if (!node.name && operationCount > 1) {
|
|
15
|
+
context.reportError(
|
|
16
|
+
new GraphQLError.GraphQLError(
|
|
17
|
+
"This anonymous operation must be the only defined operation.",
|
|
18
|
+
{
|
|
19
|
+
nodes: node
|
|
20
|
+
}
|
|
21
|
+
)
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
exports.LoneAnonymousOperationRule = LoneAnonymousOperationRule;
|
|
28
|
+
//# sourceMappingURL=LoneAnonymousOperationRule.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoneAnonymousOperationRule.cjs","sources":["../../../../../../../node_modules/graphql/validation/rules/LoneAnonymousOperationRule.mjs"],"sourcesContent":["import { GraphQLError } from '../../error/GraphQLError.mjs';\nimport { Kind } from '../../language/kinds.mjs';\n\n/**\n * Lone anonymous operation\n *\n * A GraphQL document is only valid if when it contains an anonymous operation\n * (the query short-hand) that it contains only that one operation definition.\n *\n * See https://spec.graphql.org/draft/#sec-Lone-Anonymous-Operation\n */\nexport function LoneAnonymousOperationRule(context) {\n let operationCount = 0;\n return {\n Document(node) {\n operationCount = node.definitions.filter(\n (definition) => definition.kind === Kind.OPERATION_DEFINITION,\n ).length;\n },\n\n OperationDefinition(node) {\n if (!node.name && operationCount > 1) {\n context.reportError(\n new GraphQLError(\n 'This anonymous operation must be the only defined operation.',\n {\n nodes: node,\n },\n ),\n );\n }\n },\n };\n}\n"],"names":["Kind","GraphQLError"],"mappings":";;;;AAWO,SAAS,2BAA2B,SAAS;AAClD,MAAI,iBAAiB;AACrB,SAAO;AAAA,IACL,SAAS,MAAM;AACb,uBAAiB,KAAK,YAAY;AAAA,QAChC,CAAC,eAAe,WAAW,SAASA,MAAI,KAAC;AAAA,MAC1C,EAAC;AAAA,IACH;AAAA,IAED,oBAAoB,MAAM;AACxB,UAAI,CAAC,KAAK,QAAQ,iBAAiB,GAAG;AACpC,gBAAQ;AAAA,UACN,IAAIC,aAAY;AAAA,YACd;AAAA,YACA;AAAA,cACE,OAAO;AAAA,YACR;AAAA,UACF;AAAA,QACX;AAAA,MACO;AAAA,IACF;AAAA,EACL;AACA;;"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { GraphQLError } from "../../error/GraphQLError.js";
|
|
2
|
+
import { Kind } from "../../language/kinds.js";
|
|
3
|
+
function LoneAnonymousOperationRule(context) {
|
|
4
|
+
let operationCount = 0;
|
|
5
|
+
return {
|
|
6
|
+
Document(node) {
|
|
7
|
+
operationCount = node.definitions.filter(
|
|
8
|
+
(definition) => definition.kind === Kind.OPERATION_DEFINITION
|
|
9
|
+
).length;
|
|
10
|
+
},
|
|
11
|
+
OperationDefinition(node) {
|
|
12
|
+
if (!node.name && operationCount > 1) {
|
|
13
|
+
context.reportError(
|
|
14
|
+
new GraphQLError(
|
|
15
|
+
"This anonymous operation must be the only defined operation.",
|
|
16
|
+
{
|
|
17
|
+
nodes: node
|
|
18
|
+
}
|
|
19
|
+
)
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export {
|
|
26
|
+
LoneAnonymousOperationRule
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=LoneAnonymousOperationRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoneAnonymousOperationRule.js","sources":["../../../../../../../node_modules/graphql/validation/rules/LoneAnonymousOperationRule.mjs"],"sourcesContent":["import { GraphQLError } from '../../error/GraphQLError.mjs';\nimport { Kind } from '../../language/kinds.mjs';\n\n/**\n * Lone anonymous operation\n *\n * A GraphQL document is only valid if when it contains an anonymous operation\n * (the query short-hand) that it contains only that one operation definition.\n *\n * See https://spec.graphql.org/draft/#sec-Lone-Anonymous-Operation\n */\nexport function LoneAnonymousOperationRule(context) {\n let operationCount = 0;\n return {\n Document(node) {\n operationCount = node.definitions.filter(\n (definition) => definition.kind === Kind.OPERATION_DEFINITION,\n ).length;\n },\n\n OperationDefinition(node) {\n if (!node.name && operationCount > 1) {\n context.reportError(\n new GraphQLError(\n 'This anonymous operation must be the only defined operation.',\n {\n nodes: node,\n },\n ),\n );\n }\n },\n };\n}\n"],"names":[],"mappings":";;AAWO,SAAS,2BAA2B,SAAS;AAClD,MAAI,iBAAiB;AACrB,SAAO;AAAA,IACL,SAAS,MAAM;AACb,uBAAiB,KAAK,YAAY;AAAA,QAChC,CAAC,eAAe,WAAW,SAAS,KAAK;AAAA,MAC1C,EAAC;AAAA,IACH;AAAA,IAED,oBAAoB,MAAM;AACxB,UAAI,CAAC,KAAK,QAAQ,iBAAiB,GAAG;AACpC,gBAAQ;AAAA,UACN,IAAI;AAAA,YACF;AAAA,YACA;AAAA,cACE,OAAO;AAAA,YACR;AAAA,UACF;AAAA,QACX;AAAA,MACO;AAAA,IACF;AAAA,EACL;AACA;"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const GraphQLError = require("../../error/GraphQLError.cjs");
|
|
4
|
+
function LoneSchemaDefinitionRule(context) {
|
|
5
|
+
var _ref, _ref2, _oldSchema$astNode;
|
|
6
|
+
const oldSchema = context.getSchema();
|
|
7
|
+
const alreadyDefined = (_ref = (_ref2 = (_oldSchema$astNode = oldSchema === null || oldSchema === void 0 ? void 0 : oldSchema.astNode) !== null && _oldSchema$astNode !== void 0 ? _oldSchema$astNode : oldSchema === null || oldSchema === void 0 ? void 0 : oldSchema.getQueryType()) !== null && _ref2 !== void 0 ? _ref2 : oldSchema === null || oldSchema === void 0 ? void 0 : oldSchema.getMutationType()) !== null && _ref !== void 0 ? _ref : oldSchema === null || oldSchema === void 0 ? void 0 : oldSchema.getSubscriptionType();
|
|
8
|
+
let schemaDefinitionsCount = 0;
|
|
9
|
+
return {
|
|
10
|
+
SchemaDefinition(node) {
|
|
11
|
+
if (alreadyDefined) {
|
|
12
|
+
context.reportError(
|
|
13
|
+
new GraphQLError.GraphQLError(
|
|
14
|
+
"Cannot define a new schema within a schema extension.",
|
|
15
|
+
{
|
|
16
|
+
nodes: node
|
|
17
|
+
}
|
|
18
|
+
)
|
|
19
|
+
);
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
if (schemaDefinitionsCount > 0) {
|
|
23
|
+
context.reportError(
|
|
24
|
+
new GraphQLError.GraphQLError("Must provide only one schema definition.", {
|
|
25
|
+
nodes: node
|
|
26
|
+
})
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
++schemaDefinitionsCount;
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
exports.LoneSchemaDefinitionRule = LoneSchemaDefinitionRule;
|
|
34
|
+
//# sourceMappingURL=LoneSchemaDefinitionRule.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoneSchemaDefinitionRule.cjs","sources":["../../../../../../../node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.mjs"],"sourcesContent":["import { GraphQLError } from '../../error/GraphQLError.mjs';\n\n/**\n * Lone Schema definition\n *\n * A GraphQL document is only valid if it contains only one schema definition.\n */\nexport function LoneSchemaDefinitionRule(context) {\n var _ref, _ref2, _oldSchema$astNode;\n\n const oldSchema = context.getSchema();\n const alreadyDefined =\n (_ref =\n (_ref2 =\n (_oldSchema$astNode =\n oldSchema === null || oldSchema === void 0\n ? void 0\n : oldSchema.astNode) !== null && _oldSchema$astNode !== void 0\n ? _oldSchema$astNode\n : oldSchema === null || oldSchema === void 0\n ? void 0\n : oldSchema.getQueryType()) !== null && _ref2 !== void 0\n ? _ref2\n : oldSchema === null || oldSchema === void 0\n ? void 0\n : oldSchema.getMutationType()) !== null && _ref !== void 0\n ? _ref\n : oldSchema === null || oldSchema === void 0\n ? void 0\n : oldSchema.getSubscriptionType();\n let schemaDefinitionsCount = 0;\n return {\n SchemaDefinition(node) {\n if (alreadyDefined) {\n context.reportError(\n new GraphQLError(\n 'Cannot define a new schema within a schema extension.',\n {\n nodes: node,\n },\n ),\n );\n return;\n }\n\n if (schemaDefinitionsCount > 0) {\n context.reportError(\n new GraphQLError('Must provide only one schema definition.', {\n nodes: node,\n }),\n );\n }\n\n ++schemaDefinitionsCount;\n },\n };\n}\n"],"names":["GraphQLError"],"mappings":";;;AAOO,SAAS,yBAAyB,SAAS;AAChD,MAAI,MAAM,OAAO;AAEjB,QAAM,YAAY,QAAQ;AAC1B,QAAM,kBACH,QACE,SACE,qBACC,cAAc,QAAQ,cAAc,SAChC,SACA,UAAU,aAAa,QAAQ,uBAAuB,SACxD,qBACA,cAAc,QAAQ,cAAc,SACpC,SACA,UAAU,aAAc,OAAM,QAAQ,UAAU,SAClD,QACA,cAAc,QAAQ,cAAc,SACpC,SACA,UAAU,gBAAiB,OAAM,QAAQ,SAAS,SACpD,OACA,cAAc,QAAQ,cAAc,SACpC,SACA,UAAU,oBAAmB;AACnC,MAAI,yBAAyB;AAC7B,SAAO;AAAA,IACL,iBAAiB,MAAM;AACrB,UAAI,gBAAgB;AAClB,gBAAQ;AAAA,UACN,IAAIA,aAAY;AAAA,YACd;AAAA,YACA;AAAA,cACE,OAAO;AAAA,YACR;AAAA,UACF;AAAA,QACX;AACQ;AAAA,MACD;AAED,UAAI,yBAAyB,GAAG;AAC9B,gBAAQ;AAAA,UACN,IAAIA,aAAAA,aAAa,4CAA4C;AAAA,YAC3D,OAAO;AAAA,UACnB,CAAW;AAAA,QACX;AAAA,MACO;AAED,QAAE;AAAA,IACH;AAAA,EACL;AACA;;"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { GraphQLError } from "../../error/GraphQLError.js";
|
|
2
|
+
function LoneSchemaDefinitionRule(context) {
|
|
3
|
+
var _ref, _ref2, _oldSchema$astNode;
|
|
4
|
+
const oldSchema = context.getSchema();
|
|
5
|
+
const alreadyDefined = (_ref = (_ref2 = (_oldSchema$astNode = oldSchema === null || oldSchema === void 0 ? void 0 : oldSchema.astNode) !== null && _oldSchema$astNode !== void 0 ? _oldSchema$astNode : oldSchema === null || oldSchema === void 0 ? void 0 : oldSchema.getQueryType()) !== null && _ref2 !== void 0 ? _ref2 : oldSchema === null || oldSchema === void 0 ? void 0 : oldSchema.getMutationType()) !== null && _ref !== void 0 ? _ref : oldSchema === null || oldSchema === void 0 ? void 0 : oldSchema.getSubscriptionType();
|
|
6
|
+
let schemaDefinitionsCount = 0;
|
|
7
|
+
return {
|
|
8
|
+
SchemaDefinition(node) {
|
|
9
|
+
if (alreadyDefined) {
|
|
10
|
+
context.reportError(
|
|
11
|
+
new GraphQLError(
|
|
12
|
+
"Cannot define a new schema within a schema extension.",
|
|
13
|
+
{
|
|
14
|
+
nodes: node
|
|
15
|
+
}
|
|
16
|
+
)
|
|
17
|
+
);
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
if (schemaDefinitionsCount > 0) {
|
|
21
|
+
context.reportError(
|
|
22
|
+
new GraphQLError("Must provide only one schema definition.", {
|
|
23
|
+
nodes: node
|
|
24
|
+
})
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
++schemaDefinitionsCount;
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
LoneSchemaDefinitionRule
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=LoneSchemaDefinitionRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoneSchemaDefinitionRule.js","sources":["../../../../../../../node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.mjs"],"sourcesContent":["import { GraphQLError } from '../../error/GraphQLError.mjs';\n\n/**\n * Lone Schema definition\n *\n * A GraphQL document is only valid if it contains only one schema definition.\n */\nexport function LoneSchemaDefinitionRule(context) {\n var _ref, _ref2, _oldSchema$astNode;\n\n const oldSchema = context.getSchema();\n const alreadyDefined =\n (_ref =\n (_ref2 =\n (_oldSchema$astNode =\n oldSchema === null || oldSchema === void 0\n ? void 0\n : oldSchema.astNode) !== null && _oldSchema$astNode !== void 0\n ? _oldSchema$astNode\n : oldSchema === null || oldSchema === void 0\n ? void 0\n : oldSchema.getQueryType()) !== null && _ref2 !== void 0\n ? _ref2\n : oldSchema === null || oldSchema === void 0\n ? void 0\n : oldSchema.getMutationType()) !== null && _ref !== void 0\n ? _ref\n : oldSchema === null || oldSchema === void 0\n ? void 0\n : oldSchema.getSubscriptionType();\n let schemaDefinitionsCount = 0;\n return {\n SchemaDefinition(node) {\n if (alreadyDefined) {\n context.reportError(\n new GraphQLError(\n 'Cannot define a new schema within a schema extension.',\n {\n nodes: node,\n },\n ),\n );\n return;\n }\n\n if (schemaDefinitionsCount > 0) {\n context.reportError(\n new GraphQLError('Must provide only one schema definition.', {\n nodes: node,\n }),\n );\n }\n\n ++schemaDefinitionsCount;\n },\n };\n}\n"],"names":[],"mappings":";AAOO,SAAS,yBAAyB,SAAS;AAChD,MAAI,MAAM,OAAO;AAEjB,QAAM,YAAY,QAAQ;AAC1B,QAAM,kBACH,QACE,SACE,qBACC,cAAc,QAAQ,cAAc,SAChC,SACA,UAAU,aAAa,QAAQ,uBAAuB,SACxD,qBACA,cAAc,QAAQ,cAAc,SACpC,SACA,UAAU,aAAc,OAAM,QAAQ,UAAU,SAClD,QACA,cAAc,QAAQ,cAAc,SACpC,SACA,UAAU,gBAAiB,OAAM,QAAQ,SAAS,SACpD,OACA,cAAc,QAAQ,cAAc,SACpC,SACA,UAAU,oBAAmB;AACnC,MAAI,yBAAyB;AAC7B,SAAO;AAAA,IACL,iBAAiB,MAAM;AACrB,UAAI,gBAAgB;AAClB,gBAAQ;AAAA,UACN,IAAI;AAAA,YACF;AAAA,YACA;AAAA,cACE,OAAO;AAAA,YACR;AAAA,UACF;AAAA,QACX;AACQ;AAAA,MACD;AAED,UAAI,yBAAyB,GAAG;AAC9B,gBAAQ;AAAA,UACN,IAAI,aAAa,4CAA4C;AAAA,YAC3D,OAAO;AAAA,UACnB,CAAW;AAAA,QACX;AAAA,MACO;AAED,QAAE;AAAA,IACH;AAAA,EACL;AACA;"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const GraphQLError = require("../../error/GraphQLError.cjs");
|
|
4
|
+
function NoFragmentCyclesRule(context) {
|
|
5
|
+
const visitedFrags = /* @__PURE__ */ Object.create(null);
|
|
6
|
+
const spreadPath = [];
|
|
7
|
+
const spreadPathIndexByName = /* @__PURE__ */ Object.create(null);
|
|
8
|
+
return {
|
|
9
|
+
OperationDefinition: () => false,
|
|
10
|
+
FragmentDefinition(node) {
|
|
11
|
+
detectCycleRecursive(node);
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
function detectCycleRecursive(fragment) {
|
|
16
|
+
if (visitedFrags[fragment.name.value]) {
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
const fragmentName = fragment.name.value;
|
|
20
|
+
visitedFrags[fragmentName] = true;
|
|
21
|
+
const spreadNodes = context.getFragmentSpreads(fragment.selectionSet);
|
|
22
|
+
if (spreadNodes.length === 0) {
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
spreadPathIndexByName[fragmentName] = spreadPath.length;
|
|
26
|
+
for (const spreadNode of spreadNodes) {
|
|
27
|
+
const spreadName = spreadNode.name.value;
|
|
28
|
+
const cycleIndex = spreadPathIndexByName[spreadName];
|
|
29
|
+
spreadPath.push(spreadNode);
|
|
30
|
+
if (cycleIndex === void 0) {
|
|
31
|
+
const spreadFragment = context.getFragment(spreadName);
|
|
32
|
+
if (spreadFragment) {
|
|
33
|
+
detectCycleRecursive(spreadFragment);
|
|
34
|
+
}
|
|
35
|
+
} else {
|
|
36
|
+
const cyclePath = spreadPath.slice(cycleIndex);
|
|
37
|
+
const viaPath = cyclePath.slice(0, -1).map((s) => '"' + s.name.value + '"').join(", ");
|
|
38
|
+
context.reportError(
|
|
39
|
+
new GraphQLError.GraphQLError(
|
|
40
|
+
`Cannot spread fragment "${spreadName}" within itself` + (viaPath !== "" ? ` via ${viaPath}.` : "."),
|
|
41
|
+
{
|
|
42
|
+
nodes: cyclePath
|
|
43
|
+
}
|
|
44
|
+
)
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
spreadPath.pop();
|
|
48
|
+
}
|
|
49
|
+
spreadPathIndexByName[fragmentName] = void 0;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.NoFragmentCyclesRule = NoFragmentCyclesRule;
|
|
53
|
+
//# sourceMappingURL=NoFragmentCyclesRule.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NoFragmentCyclesRule.cjs","sources":["../../../../../../../node_modules/graphql/validation/rules/NoFragmentCyclesRule.mjs"],"sourcesContent":["import { GraphQLError } from '../../error/GraphQLError.mjs';\n\n/**\n * No fragment cycles\n *\n * The graph of fragment spreads must not form any cycles including spreading itself.\n * Otherwise an operation could infinitely spread or infinitely execute on cycles in the underlying data.\n *\n * See https://spec.graphql.org/draft/#sec-Fragment-spreads-must-not-form-cycles\n */\nexport function NoFragmentCyclesRule(context) {\n // Tracks already visited fragments to maintain O(N) and to ensure that cycles\n // are not redundantly reported.\n const visitedFrags = Object.create(null); // Array of AST nodes used to produce meaningful errors\n\n const spreadPath = []; // Position in the spread path\n\n const spreadPathIndexByName = Object.create(null);\n return {\n OperationDefinition: () => false,\n\n FragmentDefinition(node) {\n detectCycleRecursive(node);\n return false;\n },\n }; // This does a straight-forward DFS to find cycles.\n // It does not terminate when a cycle was found but continues to explore\n // the graph to find all possible cycles.\n\n function detectCycleRecursive(fragment) {\n if (visitedFrags[fragment.name.value]) {\n return;\n }\n\n const fragmentName = fragment.name.value;\n visitedFrags[fragmentName] = true;\n const spreadNodes = context.getFragmentSpreads(fragment.selectionSet);\n\n if (spreadNodes.length === 0) {\n return;\n }\n\n spreadPathIndexByName[fragmentName] = spreadPath.length;\n\n for (const spreadNode of spreadNodes) {\n const spreadName = spreadNode.name.value;\n const cycleIndex = spreadPathIndexByName[spreadName];\n spreadPath.push(spreadNode);\n\n if (cycleIndex === undefined) {\n const spreadFragment = context.getFragment(spreadName);\n\n if (spreadFragment) {\n detectCycleRecursive(spreadFragment);\n }\n } else {\n const cyclePath = spreadPath.slice(cycleIndex);\n const viaPath = cyclePath\n .slice(0, -1)\n .map((s) => '\"' + s.name.value + '\"')\n .join(', ');\n context.reportError(\n new GraphQLError(\n `Cannot spread fragment \"${spreadName}\" within itself` +\n (viaPath !== '' ? ` via ${viaPath}.` : '.'),\n {\n nodes: cyclePath,\n },\n ),\n );\n }\n\n spreadPath.pop();\n }\n\n spreadPathIndexByName[fragmentName] = undefined;\n }\n}\n"],"names":["GraphQLError"],"mappings":";;;AAUO,SAAS,qBAAqB,SAAS;AAG5C,QAAM,eAAe,uBAAO,OAAO,IAAI;AAEvC,QAAM,aAAa,CAAA;AAEnB,QAAM,wBAAwB,uBAAO,OAAO,IAAI;AAChD,SAAO;AAAA,IACL,qBAAqB,MAAM;AAAA,IAE3B,mBAAmB,MAAM;AACvB,2BAAqB,IAAI;AACzB,aAAO;AAAA,IACR;AAAA,EACL;AAIE,WAAS,qBAAqB,UAAU;AACtC,QAAI,aAAa,SAAS,KAAK,KAAK,GAAG;AACrC;AAAA,IACD;AAED,UAAM,eAAe,SAAS,KAAK;AACnC,iBAAa,YAAY,IAAI;AAC7B,UAAM,cAAc,QAAQ,mBAAmB,SAAS,YAAY;AAEpE,QAAI,YAAY,WAAW,GAAG;AAC5B;AAAA,IACD;AAED,0BAAsB,YAAY,IAAI,WAAW;AAEjD,eAAW,cAAc,aAAa;AACpC,YAAM,aAAa,WAAW,KAAK;AACnC,YAAM,aAAa,sBAAsB,UAAU;AACnD,iBAAW,KAAK,UAAU;AAE1B,UAAI,eAAe,QAAW;AAC5B,cAAM,iBAAiB,QAAQ,YAAY,UAAU;AAErD,YAAI,gBAAgB;AAClB,+BAAqB,cAAc;AAAA,QACpC;AAAA,MACT,OAAa;AACL,cAAM,YAAY,WAAW,MAAM,UAAU;AAC7C,cAAM,UAAU,UACb,MAAM,GAAG,EAAE,EACX,IAAI,CAAC,MAAM,MAAM,EAAE,KAAK,QAAQ,GAAG,EACnC,KAAK,IAAI;AACZ,gBAAQ;AAAA,UACN,IAAIA,aAAY;AAAA,YACd,2BAA2B,+BACxB,YAAY,KAAK,QAAQ,aAAa;AAAA,YACzC;AAAA,cACE,OAAO;AAAA,YACR;AAAA,UACF;AAAA,QACX;AAAA,MACO;AAED,iBAAW,IAAG;AAAA,IACf;AAED,0BAAsB,YAAY,IAAI;AAAA,EACvC;AACH;;"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { GraphQLError } from "../../error/GraphQLError.js";
|
|
2
|
+
function NoFragmentCyclesRule(context) {
|
|
3
|
+
const visitedFrags = /* @__PURE__ */ Object.create(null);
|
|
4
|
+
const spreadPath = [];
|
|
5
|
+
const spreadPathIndexByName = /* @__PURE__ */ Object.create(null);
|
|
6
|
+
return {
|
|
7
|
+
OperationDefinition: () => false,
|
|
8
|
+
FragmentDefinition(node) {
|
|
9
|
+
detectCycleRecursive(node);
|
|
10
|
+
return false;
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
function detectCycleRecursive(fragment) {
|
|
14
|
+
if (visitedFrags[fragment.name.value]) {
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
const fragmentName = fragment.name.value;
|
|
18
|
+
visitedFrags[fragmentName] = true;
|
|
19
|
+
const spreadNodes = context.getFragmentSpreads(fragment.selectionSet);
|
|
20
|
+
if (spreadNodes.length === 0) {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
spreadPathIndexByName[fragmentName] = spreadPath.length;
|
|
24
|
+
for (const spreadNode of spreadNodes) {
|
|
25
|
+
const spreadName = spreadNode.name.value;
|
|
26
|
+
const cycleIndex = spreadPathIndexByName[spreadName];
|
|
27
|
+
spreadPath.push(spreadNode);
|
|
28
|
+
if (cycleIndex === void 0) {
|
|
29
|
+
const spreadFragment = context.getFragment(spreadName);
|
|
30
|
+
if (spreadFragment) {
|
|
31
|
+
detectCycleRecursive(spreadFragment);
|
|
32
|
+
}
|
|
33
|
+
} else {
|
|
34
|
+
const cyclePath = spreadPath.slice(cycleIndex);
|
|
35
|
+
const viaPath = cyclePath.slice(0, -1).map((s) => '"' + s.name.value + '"').join(", ");
|
|
36
|
+
context.reportError(
|
|
37
|
+
new GraphQLError(
|
|
38
|
+
`Cannot spread fragment "${spreadName}" within itself` + (viaPath !== "" ? ` via ${viaPath}.` : "."),
|
|
39
|
+
{
|
|
40
|
+
nodes: cyclePath
|
|
41
|
+
}
|
|
42
|
+
)
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
spreadPath.pop();
|
|
46
|
+
}
|
|
47
|
+
spreadPathIndexByName[fragmentName] = void 0;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export {
|
|
51
|
+
NoFragmentCyclesRule
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=NoFragmentCyclesRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NoFragmentCyclesRule.js","sources":["../../../../../../../node_modules/graphql/validation/rules/NoFragmentCyclesRule.mjs"],"sourcesContent":["import { GraphQLError } from '../../error/GraphQLError.mjs';\n\n/**\n * No fragment cycles\n *\n * The graph of fragment spreads must not form any cycles including spreading itself.\n * Otherwise an operation could infinitely spread or infinitely execute on cycles in the underlying data.\n *\n * See https://spec.graphql.org/draft/#sec-Fragment-spreads-must-not-form-cycles\n */\nexport function NoFragmentCyclesRule(context) {\n // Tracks already visited fragments to maintain O(N) and to ensure that cycles\n // are not redundantly reported.\n const visitedFrags = Object.create(null); // Array of AST nodes used to produce meaningful errors\n\n const spreadPath = []; // Position in the spread path\n\n const spreadPathIndexByName = Object.create(null);\n return {\n OperationDefinition: () => false,\n\n FragmentDefinition(node) {\n detectCycleRecursive(node);\n return false;\n },\n }; // This does a straight-forward DFS to find cycles.\n // It does not terminate when a cycle was found but continues to explore\n // the graph to find all possible cycles.\n\n function detectCycleRecursive(fragment) {\n if (visitedFrags[fragment.name.value]) {\n return;\n }\n\n const fragmentName = fragment.name.value;\n visitedFrags[fragmentName] = true;\n const spreadNodes = context.getFragmentSpreads(fragment.selectionSet);\n\n if (spreadNodes.length === 0) {\n return;\n }\n\n spreadPathIndexByName[fragmentName] = spreadPath.length;\n\n for (const spreadNode of spreadNodes) {\n const spreadName = spreadNode.name.value;\n const cycleIndex = spreadPathIndexByName[spreadName];\n spreadPath.push(spreadNode);\n\n if (cycleIndex === undefined) {\n const spreadFragment = context.getFragment(spreadName);\n\n if (spreadFragment) {\n detectCycleRecursive(spreadFragment);\n }\n } else {\n const cyclePath = spreadPath.slice(cycleIndex);\n const viaPath = cyclePath\n .slice(0, -1)\n .map((s) => '\"' + s.name.value + '\"')\n .join(', ');\n context.reportError(\n new GraphQLError(\n `Cannot spread fragment \"${spreadName}\" within itself` +\n (viaPath !== '' ? ` via ${viaPath}.` : '.'),\n {\n nodes: cyclePath,\n },\n ),\n );\n }\n\n spreadPath.pop();\n }\n\n spreadPathIndexByName[fragmentName] = undefined;\n }\n}\n"],"names":[],"mappings":";AAUO,SAAS,qBAAqB,SAAS;AAG5C,QAAM,eAAe,uBAAO,OAAO,IAAI;AAEvC,QAAM,aAAa,CAAA;AAEnB,QAAM,wBAAwB,uBAAO,OAAO,IAAI;AAChD,SAAO;AAAA,IACL,qBAAqB,MAAM;AAAA,IAE3B,mBAAmB,MAAM;AACvB,2BAAqB,IAAI;AACzB,aAAO;AAAA,IACR;AAAA,EACL;AAIE,WAAS,qBAAqB,UAAU;AACtC,QAAI,aAAa,SAAS,KAAK,KAAK,GAAG;AACrC;AAAA,IACD;AAED,UAAM,eAAe,SAAS,KAAK;AACnC,iBAAa,YAAY,IAAI;AAC7B,UAAM,cAAc,QAAQ,mBAAmB,SAAS,YAAY;AAEpE,QAAI,YAAY,WAAW,GAAG;AAC5B;AAAA,IACD;AAED,0BAAsB,YAAY,IAAI,WAAW;AAEjD,eAAW,cAAc,aAAa;AACpC,YAAM,aAAa,WAAW,KAAK;AACnC,YAAM,aAAa,sBAAsB,UAAU;AACnD,iBAAW,KAAK,UAAU;AAE1B,UAAI,eAAe,QAAW;AAC5B,cAAM,iBAAiB,QAAQ,YAAY,UAAU;AAErD,YAAI,gBAAgB;AAClB,+BAAqB,cAAc;AAAA,QACpC;AAAA,MACT,OAAa;AACL,cAAM,YAAY,WAAW,MAAM,UAAU;AAC7C,cAAM,UAAU,UACb,MAAM,GAAG,EAAE,EACX,IAAI,CAAC,MAAM,MAAM,EAAE,KAAK,QAAQ,GAAG,EACnC,KAAK,IAAI;AACZ,gBAAQ;AAAA,UACN,IAAI;AAAA,YACF,2BAA2B,+BACxB,YAAY,KAAK,QAAQ,aAAa;AAAA,YACzC;AAAA,cACE,OAAO;AAAA,YACR;AAAA,UACF;AAAA,QACX;AAAA,MACO;AAED,iBAAW,IAAG;AAAA,IACf;AAED,0BAAsB,YAAY,IAAI;AAAA,EACvC;AACH;"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const GraphQLError = require("../../error/GraphQLError.cjs");
|
|
4
|
+
function NoUndefinedVariablesRule(context) {
|
|
5
|
+
let variableNameDefined = /* @__PURE__ */ Object.create(null);
|
|
6
|
+
return {
|
|
7
|
+
OperationDefinition: {
|
|
8
|
+
enter() {
|
|
9
|
+
variableNameDefined = /* @__PURE__ */ Object.create(null);
|
|
10
|
+
},
|
|
11
|
+
leave(operation) {
|
|
12
|
+
const usages = context.getRecursiveVariableUsages(operation);
|
|
13
|
+
for (const { node } of usages) {
|
|
14
|
+
const varName = node.name.value;
|
|
15
|
+
if (variableNameDefined[varName] !== true) {
|
|
16
|
+
context.reportError(
|
|
17
|
+
new GraphQLError.GraphQLError(
|
|
18
|
+
operation.name ? `Variable "$${varName}" is not defined by operation "${operation.name.value}".` : `Variable "$${varName}" is not defined.`,
|
|
19
|
+
{
|
|
20
|
+
nodes: [node, operation]
|
|
21
|
+
}
|
|
22
|
+
)
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
VariableDefinition(node) {
|
|
29
|
+
variableNameDefined[node.variable.name.value] = true;
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
exports.NoUndefinedVariablesRule = NoUndefinedVariablesRule;
|
|
34
|
+
//# sourceMappingURL=NoUndefinedVariablesRule.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NoUndefinedVariablesRule.cjs","sources":["../../../../../../../node_modules/graphql/validation/rules/NoUndefinedVariablesRule.mjs"],"sourcesContent":["import { GraphQLError } from '../../error/GraphQLError.mjs';\n\n/**\n * No undefined variables\n *\n * A GraphQL operation is only valid if all variables encountered, both directly\n * and via fragment spreads, are defined by that operation.\n *\n * See https://spec.graphql.org/draft/#sec-All-Variable-Uses-Defined\n */\nexport function NoUndefinedVariablesRule(context) {\n let variableNameDefined = Object.create(null);\n return {\n OperationDefinition: {\n enter() {\n variableNameDefined = Object.create(null);\n },\n\n leave(operation) {\n const usages = context.getRecursiveVariableUsages(operation);\n\n for (const { node } of usages) {\n const varName = node.name.value;\n\n if (variableNameDefined[varName] !== true) {\n context.reportError(\n new GraphQLError(\n operation.name\n ? `Variable \"$${varName}\" is not defined by operation \"${operation.name.value}\".`\n : `Variable \"$${varName}\" is not defined.`,\n {\n nodes: [node, operation],\n },\n ),\n );\n }\n }\n },\n },\n\n VariableDefinition(node) {\n variableNameDefined[node.variable.name.value] = true;\n },\n };\n}\n"],"names":["GraphQLError"],"mappings":";;;AAUO,SAAS,yBAAyB,SAAS;AAChD,MAAI,sBAAsB,uBAAO,OAAO,IAAI;AAC5C,SAAO;AAAA,IACL,qBAAqB;AAAA,MACnB,QAAQ;AACN,8BAAsB,uBAAO,OAAO,IAAI;AAAA,MACzC;AAAA,MAED,MAAM,WAAW;AACf,cAAM,SAAS,QAAQ,2BAA2B,SAAS;AAE3D,mBAAW,EAAE,KAAM,KAAI,QAAQ;AAC7B,gBAAM,UAAU,KAAK,KAAK;AAE1B,cAAI,oBAAoB,OAAO,MAAM,MAAM;AACzC,oBAAQ;AAAA,cACN,IAAIA,aAAY;AAAA,gBACd,UAAU,OACN,cAAc,yCAAyC,UAAU,KAAK,YACtE,cAAc;AAAA,gBAClB;AAAA,kBACE,OAAO,CAAC,MAAM,SAAS;AAAA,gBACxB;AAAA,cACF;AAAA,YACf;AAAA,UACW;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,IAED,mBAAmB,MAAM;AACvB,0BAAoB,KAAK,SAAS,KAAK,KAAK,IAAI;AAAA,IACjD;AAAA,EACL;AACA;;"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { GraphQLError } from "../../error/GraphQLError.js";
|
|
2
|
+
function NoUndefinedVariablesRule(context) {
|
|
3
|
+
let variableNameDefined = /* @__PURE__ */ Object.create(null);
|
|
4
|
+
return {
|
|
5
|
+
OperationDefinition: {
|
|
6
|
+
enter() {
|
|
7
|
+
variableNameDefined = /* @__PURE__ */ Object.create(null);
|
|
8
|
+
},
|
|
9
|
+
leave(operation) {
|
|
10
|
+
const usages = context.getRecursiveVariableUsages(operation);
|
|
11
|
+
for (const { node } of usages) {
|
|
12
|
+
const varName = node.name.value;
|
|
13
|
+
if (variableNameDefined[varName] !== true) {
|
|
14
|
+
context.reportError(
|
|
15
|
+
new GraphQLError(
|
|
16
|
+
operation.name ? `Variable "$${varName}" is not defined by operation "${operation.name.value}".` : `Variable "$${varName}" is not defined.`,
|
|
17
|
+
{
|
|
18
|
+
nodes: [node, operation]
|
|
19
|
+
}
|
|
20
|
+
)
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
VariableDefinition(node) {
|
|
27
|
+
variableNameDefined[node.variable.name.value] = true;
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
NoUndefinedVariablesRule
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=NoUndefinedVariablesRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NoUndefinedVariablesRule.js","sources":["../../../../../../../node_modules/graphql/validation/rules/NoUndefinedVariablesRule.mjs"],"sourcesContent":["import { GraphQLError } from '../../error/GraphQLError.mjs';\n\n/**\n * No undefined variables\n *\n * A GraphQL operation is only valid if all variables encountered, both directly\n * and via fragment spreads, are defined by that operation.\n *\n * See https://spec.graphql.org/draft/#sec-All-Variable-Uses-Defined\n */\nexport function NoUndefinedVariablesRule(context) {\n let variableNameDefined = Object.create(null);\n return {\n OperationDefinition: {\n enter() {\n variableNameDefined = Object.create(null);\n },\n\n leave(operation) {\n const usages = context.getRecursiveVariableUsages(operation);\n\n for (const { node } of usages) {\n const varName = node.name.value;\n\n if (variableNameDefined[varName] !== true) {\n context.reportError(\n new GraphQLError(\n operation.name\n ? `Variable \"$${varName}\" is not defined by operation \"${operation.name.value}\".`\n : `Variable \"$${varName}\" is not defined.`,\n {\n nodes: [node, operation],\n },\n ),\n );\n }\n }\n },\n },\n\n VariableDefinition(node) {\n variableNameDefined[node.variable.name.value] = true;\n },\n };\n}\n"],"names":[],"mappings":";AAUO,SAAS,yBAAyB,SAAS;AAChD,MAAI,sBAAsB,uBAAO,OAAO,IAAI;AAC5C,SAAO;AAAA,IACL,qBAAqB;AAAA,MACnB,QAAQ;AACN,8BAAsB,uBAAO,OAAO,IAAI;AAAA,MACzC;AAAA,MAED,MAAM,WAAW;AACf,cAAM,SAAS,QAAQ,2BAA2B,SAAS;AAE3D,mBAAW,EAAE,KAAM,KAAI,QAAQ;AAC7B,gBAAM,UAAU,KAAK,KAAK;AAE1B,cAAI,oBAAoB,OAAO,MAAM,MAAM;AACzC,oBAAQ;AAAA,cACN,IAAI;AAAA,gBACF,UAAU,OACN,cAAc,yCAAyC,UAAU,KAAK,YACtE,cAAc;AAAA,gBAClB;AAAA,kBACE,OAAO,CAAC,MAAM,SAAS;AAAA,gBACxB;AAAA,cACF;AAAA,YACf;AAAA,UACW;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,IAED,mBAAmB,MAAM;AACvB,0BAAoB,KAAK,SAAS,KAAK,KAAK,IAAI;AAAA,IACjD;AAAA,EACL;AACA;"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const GraphQLError = require("../../error/GraphQLError.cjs");
|
|
4
|
+
function NoUnusedFragmentsRule(context) {
|
|
5
|
+
const operationDefs = [];
|
|
6
|
+
const fragmentDefs = [];
|
|
7
|
+
return {
|
|
8
|
+
OperationDefinition(node) {
|
|
9
|
+
operationDefs.push(node);
|
|
10
|
+
return false;
|
|
11
|
+
},
|
|
12
|
+
FragmentDefinition(node) {
|
|
13
|
+
fragmentDefs.push(node);
|
|
14
|
+
return false;
|
|
15
|
+
},
|
|
16
|
+
Document: {
|
|
17
|
+
leave() {
|
|
18
|
+
const fragmentNameUsed = /* @__PURE__ */ Object.create(null);
|
|
19
|
+
for (const operation of operationDefs) {
|
|
20
|
+
for (const fragment of context.getRecursivelyReferencedFragments(
|
|
21
|
+
operation
|
|
22
|
+
)) {
|
|
23
|
+
fragmentNameUsed[fragment.name.value] = true;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
for (const fragmentDef of fragmentDefs) {
|
|
27
|
+
const fragName = fragmentDef.name.value;
|
|
28
|
+
if (fragmentNameUsed[fragName] !== true) {
|
|
29
|
+
context.reportError(
|
|
30
|
+
new GraphQLError.GraphQLError(`Fragment "${fragName}" is never used.`, {
|
|
31
|
+
nodes: fragmentDef
|
|
32
|
+
})
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.NoUnusedFragmentsRule = NoUnusedFragmentsRule;
|
|
41
|
+
//# sourceMappingURL=NoUnusedFragmentsRule.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NoUnusedFragmentsRule.cjs","sources":["../../../../../../../node_modules/graphql/validation/rules/NoUnusedFragmentsRule.mjs"],"sourcesContent":["import { GraphQLError } from '../../error/GraphQLError.mjs';\n\n/**\n * No unused fragments\n *\n * A GraphQL document is only valid if all fragment definitions are spread\n * within operations, or spread within other fragments spread within operations.\n *\n * See https://spec.graphql.org/draft/#sec-Fragments-Must-Be-Used\n */\nexport function NoUnusedFragmentsRule(context) {\n const operationDefs = [];\n const fragmentDefs = [];\n return {\n OperationDefinition(node) {\n operationDefs.push(node);\n return false;\n },\n\n FragmentDefinition(node) {\n fragmentDefs.push(node);\n return false;\n },\n\n Document: {\n leave() {\n const fragmentNameUsed = Object.create(null);\n\n for (const operation of operationDefs) {\n for (const fragment of context.getRecursivelyReferencedFragments(\n operation,\n )) {\n fragmentNameUsed[fragment.name.value] = true;\n }\n }\n\n for (const fragmentDef of fragmentDefs) {\n const fragName = fragmentDef.name.value;\n\n if (fragmentNameUsed[fragName] !== true) {\n context.reportError(\n new GraphQLError(`Fragment \"${fragName}\" is never used.`, {\n nodes: fragmentDef,\n }),\n );\n }\n }\n },\n },\n };\n}\n"],"names":["GraphQLError"],"mappings":";;;AAUO,SAAS,sBAAsB,SAAS;AAC7C,QAAM,gBAAgB,CAAA;AACtB,QAAM,eAAe,CAAA;AACrB,SAAO;AAAA,IACL,oBAAoB,MAAM;AACxB,oBAAc,KAAK,IAAI;AACvB,aAAO;AAAA,IACR;AAAA,IAED,mBAAmB,MAAM;AACvB,mBAAa,KAAK,IAAI;AACtB,aAAO;AAAA,IACR;AAAA,IAED,UAAU;AAAA,MACR,QAAQ;AACN,cAAM,mBAAmB,uBAAO,OAAO,IAAI;AAE3C,mBAAW,aAAa,eAAe;AACrC,qBAAW,YAAY,QAAQ;AAAA,YAC7B;AAAA,UACZ,GAAa;AACD,6BAAiB,SAAS,KAAK,KAAK,IAAI;AAAA,UACzC;AAAA,QACF;AAED,mBAAW,eAAe,cAAc;AACtC,gBAAM,WAAW,YAAY,KAAK;AAElC,cAAI,iBAAiB,QAAQ,MAAM,MAAM;AACvC,oBAAQ;AAAA,cACN,IAAIA,aAAY,aAAC,aAAa,4BAA4B;AAAA,gBACxD,OAAO;AAAA,cACvB,CAAe;AAAA,YACf;AAAA,UACW;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACL;AACA;;"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { GraphQLError } from "../../error/GraphQLError.js";
|
|
2
|
+
function NoUnusedFragmentsRule(context) {
|
|
3
|
+
const operationDefs = [];
|
|
4
|
+
const fragmentDefs = [];
|
|
5
|
+
return {
|
|
6
|
+
OperationDefinition(node) {
|
|
7
|
+
operationDefs.push(node);
|
|
8
|
+
return false;
|
|
9
|
+
},
|
|
10
|
+
FragmentDefinition(node) {
|
|
11
|
+
fragmentDefs.push(node);
|
|
12
|
+
return false;
|
|
13
|
+
},
|
|
14
|
+
Document: {
|
|
15
|
+
leave() {
|
|
16
|
+
const fragmentNameUsed = /* @__PURE__ */ Object.create(null);
|
|
17
|
+
for (const operation of operationDefs) {
|
|
18
|
+
for (const fragment of context.getRecursivelyReferencedFragments(
|
|
19
|
+
operation
|
|
20
|
+
)) {
|
|
21
|
+
fragmentNameUsed[fragment.name.value] = true;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
for (const fragmentDef of fragmentDefs) {
|
|
25
|
+
const fragName = fragmentDef.name.value;
|
|
26
|
+
if (fragmentNameUsed[fragName] !== true) {
|
|
27
|
+
context.reportError(
|
|
28
|
+
new GraphQLError(`Fragment "${fragName}" is never used.`, {
|
|
29
|
+
nodes: fragmentDef
|
|
30
|
+
})
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export {
|
|
39
|
+
NoUnusedFragmentsRule
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=NoUnusedFragmentsRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NoUnusedFragmentsRule.js","sources":["../../../../../../../node_modules/graphql/validation/rules/NoUnusedFragmentsRule.mjs"],"sourcesContent":["import { GraphQLError } from '../../error/GraphQLError.mjs';\n\n/**\n * No unused fragments\n *\n * A GraphQL document is only valid if all fragment definitions are spread\n * within operations, or spread within other fragments spread within operations.\n *\n * See https://spec.graphql.org/draft/#sec-Fragments-Must-Be-Used\n */\nexport function NoUnusedFragmentsRule(context) {\n const operationDefs = [];\n const fragmentDefs = [];\n return {\n OperationDefinition(node) {\n operationDefs.push(node);\n return false;\n },\n\n FragmentDefinition(node) {\n fragmentDefs.push(node);\n return false;\n },\n\n Document: {\n leave() {\n const fragmentNameUsed = Object.create(null);\n\n for (const operation of operationDefs) {\n for (const fragment of context.getRecursivelyReferencedFragments(\n operation,\n )) {\n fragmentNameUsed[fragment.name.value] = true;\n }\n }\n\n for (const fragmentDef of fragmentDefs) {\n const fragName = fragmentDef.name.value;\n\n if (fragmentNameUsed[fragName] !== true) {\n context.reportError(\n new GraphQLError(`Fragment \"${fragName}\" is never used.`, {\n nodes: fragmentDef,\n }),\n );\n }\n }\n },\n },\n };\n}\n"],"names":[],"mappings":";AAUO,SAAS,sBAAsB,SAAS;AAC7C,QAAM,gBAAgB,CAAA;AACtB,QAAM,eAAe,CAAA;AACrB,SAAO;AAAA,IACL,oBAAoB,MAAM;AACxB,oBAAc,KAAK,IAAI;AACvB,aAAO;AAAA,IACR;AAAA,IAED,mBAAmB,MAAM;AACvB,mBAAa,KAAK,IAAI;AACtB,aAAO;AAAA,IACR;AAAA,IAED,UAAU;AAAA,MACR,QAAQ;AACN,cAAM,mBAAmB,uBAAO,OAAO,IAAI;AAE3C,mBAAW,aAAa,eAAe;AACrC,qBAAW,YAAY,QAAQ;AAAA,YAC7B;AAAA,UACZ,GAAa;AACD,6BAAiB,SAAS,KAAK,KAAK,IAAI;AAAA,UACzC;AAAA,QACF;AAED,mBAAW,eAAe,cAAc;AACtC,gBAAM,WAAW,YAAY,KAAK;AAElC,cAAI,iBAAiB,QAAQ,MAAM,MAAM;AACvC,oBAAQ;AAAA,cACN,IAAI,aAAa,aAAa,4BAA4B;AAAA,gBACxD,OAAO;AAAA,cACvB,CAAe;AAAA,YACf;AAAA,UACW;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACL;AACA;"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const GraphQLError = require("../../error/GraphQLError.cjs");
|
|
4
|
+
function NoUnusedVariablesRule(context) {
|
|
5
|
+
let variableDefs = [];
|
|
6
|
+
return {
|
|
7
|
+
OperationDefinition: {
|
|
8
|
+
enter() {
|
|
9
|
+
variableDefs = [];
|
|
10
|
+
},
|
|
11
|
+
leave(operation) {
|
|
12
|
+
const variableNameUsed = /* @__PURE__ */ Object.create(null);
|
|
13
|
+
const usages = context.getRecursiveVariableUsages(operation);
|
|
14
|
+
for (const { node } of usages) {
|
|
15
|
+
variableNameUsed[node.name.value] = true;
|
|
16
|
+
}
|
|
17
|
+
for (const variableDef of variableDefs) {
|
|
18
|
+
const variableName = variableDef.variable.name.value;
|
|
19
|
+
if (variableNameUsed[variableName] !== true) {
|
|
20
|
+
context.reportError(
|
|
21
|
+
new GraphQLError.GraphQLError(
|
|
22
|
+
operation.name ? `Variable "$${variableName}" is never used in operation "${operation.name.value}".` : `Variable "$${variableName}" is never used.`,
|
|
23
|
+
{
|
|
24
|
+
nodes: variableDef
|
|
25
|
+
}
|
|
26
|
+
)
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
VariableDefinition(def) {
|
|
33
|
+
variableDefs.push(def);
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
exports.NoUnusedVariablesRule = NoUnusedVariablesRule;
|
|
38
|
+
//# sourceMappingURL=NoUnusedVariablesRule.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NoUnusedVariablesRule.cjs","sources":["../../../../../../../node_modules/graphql/validation/rules/NoUnusedVariablesRule.mjs"],"sourcesContent":["import { GraphQLError } from '../../error/GraphQLError.mjs';\n\n/**\n * No unused variables\n *\n * A GraphQL operation is only valid if all variables defined by an operation\n * are used, either directly or within a spread fragment.\n *\n * See https://spec.graphql.org/draft/#sec-All-Variables-Used\n */\nexport function NoUnusedVariablesRule(context) {\n let variableDefs = [];\n return {\n OperationDefinition: {\n enter() {\n variableDefs = [];\n },\n\n leave(operation) {\n const variableNameUsed = Object.create(null);\n const usages = context.getRecursiveVariableUsages(operation);\n\n for (const { node } of usages) {\n variableNameUsed[node.name.value] = true;\n }\n\n for (const variableDef of variableDefs) {\n const variableName = variableDef.variable.name.value;\n\n if (variableNameUsed[variableName] !== true) {\n context.reportError(\n new GraphQLError(\n operation.name\n ? `Variable \"$${variableName}\" is never used in operation \"${operation.name.value}\".`\n : `Variable \"$${variableName}\" is never used.`,\n {\n nodes: variableDef,\n },\n ),\n );\n }\n }\n },\n },\n\n VariableDefinition(def) {\n variableDefs.push(def);\n },\n };\n}\n"],"names":["GraphQLError"],"mappings":";;;AAUO,SAAS,sBAAsB,SAAS;AAC7C,MAAI,eAAe,CAAA;AACnB,SAAO;AAAA,IACL,qBAAqB;AAAA,MACnB,QAAQ;AACN,uBAAe,CAAA;AAAA,MAChB;AAAA,MAED,MAAM,WAAW;AACf,cAAM,mBAAmB,uBAAO,OAAO,IAAI;AAC3C,cAAM,SAAS,QAAQ,2BAA2B,SAAS;AAE3D,mBAAW,EAAE,KAAM,KAAI,QAAQ;AAC7B,2BAAiB,KAAK,KAAK,KAAK,IAAI;AAAA,QACrC;AAED,mBAAW,eAAe,cAAc;AACtC,gBAAM,eAAe,YAAY,SAAS,KAAK;AAE/C,cAAI,iBAAiB,YAAY,MAAM,MAAM;AAC3C,oBAAQ;AAAA,cACN,IAAIA,aAAY;AAAA,gBACd,UAAU,OACN,cAAc,6CAA6C,UAAU,KAAK,YAC1E,cAAc;AAAA,gBAClB;AAAA,kBACE,OAAO;AAAA,gBACR;AAAA,cACF;AAAA,YACf;AAAA,UACW;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,IAED,mBAAmB,KAAK;AACtB,mBAAa,KAAK,GAAG;AAAA,IACtB;AAAA,EACL;AACA;;"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { GraphQLError } from "../../error/GraphQLError.js";
|
|
2
|
+
function NoUnusedVariablesRule(context) {
|
|
3
|
+
let variableDefs = [];
|
|
4
|
+
return {
|
|
5
|
+
OperationDefinition: {
|
|
6
|
+
enter() {
|
|
7
|
+
variableDefs = [];
|
|
8
|
+
},
|
|
9
|
+
leave(operation) {
|
|
10
|
+
const variableNameUsed = /* @__PURE__ */ Object.create(null);
|
|
11
|
+
const usages = context.getRecursiveVariableUsages(operation);
|
|
12
|
+
for (const { node } of usages) {
|
|
13
|
+
variableNameUsed[node.name.value] = true;
|
|
14
|
+
}
|
|
15
|
+
for (const variableDef of variableDefs) {
|
|
16
|
+
const variableName = variableDef.variable.name.value;
|
|
17
|
+
if (variableNameUsed[variableName] !== true) {
|
|
18
|
+
context.reportError(
|
|
19
|
+
new GraphQLError(
|
|
20
|
+
operation.name ? `Variable "$${variableName}" is never used in operation "${operation.name.value}".` : `Variable "$${variableName}" is never used.`,
|
|
21
|
+
{
|
|
22
|
+
nodes: variableDef
|
|
23
|
+
}
|
|
24
|
+
)
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
VariableDefinition(def) {
|
|
31
|
+
variableDefs.push(def);
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export {
|
|
36
|
+
NoUnusedVariablesRule
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=NoUnusedVariablesRule.js.map
|