@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,1283 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const syntaxError = require("../error/syntaxError.cjs");
|
|
4
|
+
const ast = require("./ast.cjs");
|
|
5
|
+
const directiveLocation = require("./directiveLocation.cjs");
|
|
6
|
+
const kinds = require("./kinds.cjs");
|
|
7
|
+
const lexer = require("./lexer.cjs");
|
|
8
|
+
const source = require("./source.cjs");
|
|
9
|
+
const tokenKind = require("./tokenKind.cjs");
|
|
10
|
+
function parse(source2, options) {
|
|
11
|
+
const parser = new Parser(source2, options);
|
|
12
|
+
return parser.parseDocument();
|
|
13
|
+
}
|
|
14
|
+
function parseValue(source2, options) {
|
|
15
|
+
const parser = new Parser(source2, options);
|
|
16
|
+
parser.expectToken(tokenKind.TokenKind.SOF);
|
|
17
|
+
const value = parser.parseValueLiteral(false);
|
|
18
|
+
parser.expectToken(tokenKind.TokenKind.EOF);
|
|
19
|
+
return value;
|
|
20
|
+
}
|
|
21
|
+
function parseConstValue(source2, options) {
|
|
22
|
+
const parser = new Parser(source2, options);
|
|
23
|
+
parser.expectToken(tokenKind.TokenKind.SOF);
|
|
24
|
+
const value = parser.parseConstValueLiteral();
|
|
25
|
+
parser.expectToken(tokenKind.TokenKind.EOF);
|
|
26
|
+
return value;
|
|
27
|
+
}
|
|
28
|
+
function parseType(source2, options) {
|
|
29
|
+
const parser = new Parser(source2, options);
|
|
30
|
+
parser.expectToken(tokenKind.TokenKind.SOF);
|
|
31
|
+
const type = parser.parseTypeReference();
|
|
32
|
+
parser.expectToken(tokenKind.TokenKind.EOF);
|
|
33
|
+
return type;
|
|
34
|
+
}
|
|
35
|
+
class Parser {
|
|
36
|
+
constructor(source$1, options = {}) {
|
|
37
|
+
const sourceObj = source.isSource(source$1) ? source$1 : new source.Source(source$1);
|
|
38
|
+
this._lexer = new lexer.Lexer(sourceObj);
|
|
39
|
+
this._options = options;
|
|
40
|
+
this._tokenCounter = 0;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Converts a name lex token into a name parse node.
|
|
44
|
+
*/
|
|
45
|
+
parseName() {
|
|
46
|
+
const token = this.expectToken(tokenKind.TokenKind.NAME);
|
|
47
|
+
return this.node(token, {
|
|
48
|
+
kind: kinds.Kind.NAME,
|
|
49
|
+
value: token.value
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
// Implements the parsing rules in the Document section.
|
|
53
|
+
/**
|
|
54
|
+
* Document : Definition+
|
|
55
|
+
*/
|
|
56
|
+
parseDocument() {
|
|
57
|
+
return this.node(this._lexer.token, {
|
|
58
|
+
kind: kinds.Kind.DOCUMENT,
|
|
59
|
+
definitions: this.many(
|
|
60
|
+
tokenKind.TokenKind.SOF,
|
|
61
|
+
this.parseDefinition,
|
|
62
|
+
tokenKind.TokenKind.EOF
|
|
63
|
+
)
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Definition :
|
|
68
|
+
* - ExecutableDefinition
|
|
69
|
+
* - TypeSystemDefinition
|
|
70
|
+
* - TypeSystemExtension
|
|
71
|
+
*
|
|
72
|
+
* ExecutableDefinition :
|
|
73
|
+
* - OperationDefinition
|
|
74
|
+
* - FragmentDefinition
|
|
75
|
+
*
|
|
76
|
+
* TypeSystemDefinition :
|
|
77
|
+
* - SchemaDefinition
|
|
78
|
+
* - TypeDefinition
|
|
79
|
+
* - DirectiveDefinition
|
|
80
|
+
*
|
|
81
|
+
* TypeDefinition :
|
|
82
|
+
* - ScalarTypeDefinition
|
|
83
|
+
* - ObjectTypeDefinition
|
|
84
|
+
* - InterfaceTypeDefinition
|
|
85
|
+
* - UnionTypeDefinition
|
|
86
|
+
* - EnumTypeDefinition
|
|
87
|
+
* - InputObjectTypeDefinition
|
|
88
|
+
*/
|
|
89
|
+
parseDefinition() {
|
|
90
|
+
if (this.peek(tokenKind.TokenKind.BRACE_L)) {
|
|
91
|
+
return this.parseOperationDefinition();
|
|
92
|
+
}
|
|
93
|
+
const hasDescription = this.peekDescription();
|
|
94
|
+
const keywordToken = hasDescription ? this._lexer.lookahead() : this._lexer.token;
|
|
95
|
+
if (keywordToken.kind === tokenKind.TokenKind.NAME) {
|
|
96
|
+
switch (keywordToken.value) {
|
|
97
|
+
case "schema":
|
|
98
|
+
return this.parseSchemaDefinition();
|
|
99
|
+
case "scalar":
|
|
100
|
+
return this.parseScalarTypeDefinition();
|
|
101
|
+
case "type":
|
|
102
|
+
return this.parseObjectTypeDefinition();
|
|
103
|
+
case "interface":
|
|
104
|
+
return this.parseInterfaceTypeDefinition();
|
|
105
|
+
case "union":
|
|
106
|
+
return this.parseUnionTypeDefinition();
|
|
107
|
+
case "enum":
|
|
108
|
+
return this.parseEnumTypeDefinition();
|
|
109
|
+
case "input":
|
|
110
|
+
return this.parseInputObjectTypeDefinition();
|
|
111
|
+
case "directive":
|
|
112
|
+
return this.parseDirectiveDefinition();
|
|
113
|
+
}
|
|
114
|
+
if (hasDescription) {
|
|
115
|
+
throw syntaxError.syntaxError(
|
|
116
|
+
this._lexer.source,
|
|
117
|
+
this._lexer.token.start,
|
|
118
|
+
"Unexpected description, descriptions are supported only on type definitions."
|
|
119
|
+
);
|
|
120
|
+
}
|
|
121
|
+
switch (keywordToken.value) {
|
|
122
|
+
case "query":
|
|
123
|
+
case "mutation":
|
|
124
|
+
case "subscription":
|
|
125
|
+
return this.parseOperationDefinition();
|
|
126
|
+
case "fragment":
|
|
127
|
+
return this.parseFragmentDefinition();
|
|
128
|
+
case "extend":
|
|
129
|
+
return this.parseTypeSystemExtension();
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
throw this.unexpected(keywordToken);
|
|
133
|
+
}
|
|
134
|
+
// Implements the parsing rules in the Operations section.
|
|
135
|
+
/**
|
|
136
|
+
* OperationDefinition :
|
|
137
|
+
* - SelectionSet
|
|
138
|
+
* - OperationType Name? VariableDefinitions? Directives? SelectionSet
|
|
139
|
+
*/
|
|
140
|
+
parseOperationDefinition() {
|
|
141
|
+
const start = this._lexer.token;
|
|
142
|
+
if (this.peek(tokenKind.TokenKind.BRACE_L)) {
|
|
143
|
+
return this.node(start, {
|
|
144
|
+
kind: kinds.Kind.OPERATION_DEFINITION,
|
|
145
|
+
operation: ast.OperationTypeNode.QUERY,
|
|
146
|
+
name: void 0,
|
|
147
|
+
variableDefinitions: [],
|
|
148
|
+
directives: [],
|
|
149
|
+
selectionSet: this.parseSelectionSet()
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
const operation = this.parseOperationType();
|
|
153
|
+
let name;
|
|
154
|
+
if (this.peek(tokenKind.TokenKind.NAME)) {
|
|
155
|
+
name = this.parseName();
|
|
156
|
+
}
|
|
157
|
+
return this.node(start, {
|
|
158
|
+
kind: kinds.Kind.OPERATION_DEFINITION,
|
|
159
|
+
operation,
|
|
160
|
+
name,
|
|
161
|
+
variableDefinitions: this.parseVariableDefinitions(),
|
|
162
|
+
directives: this.parseDirectives(false),
|
|
163
|
+
selectionSet: this.parseSelectionSet()
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* OperationType : one of query mutation subscription
|
|
168
|
+
*/
|
|
169
|
+
parseOperationType() {
|
|
170
|
+
const operationToken = this.expectToken(tokenKind.TokenKind.NAME);
|
|
171
|
+
switch (operationToken.value) {
|
|
172
|
+
case "query":
|
|
173
|
+
return ast.OperationTypeNode.QUERY;
|
|
174
|
+
case "mutation":
|
|
175
|
+
return ast.OperationTypeNode.MUTATION;
|
|
176
|
+
case "subscription":
|
|
177
|
+
return ast.OperationTypeNode.SUBSCRIPTION;
|
|
178
|
+
}
|
|
179
|
+
throw this.unexpected(operationToken);
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* VariableDefinitions : ( VariableDefinition+ )
|
|
183
|
+
*/
|
|
184
|
+
parseVariableDefinitions() {
|
|
185
|
+
return this.optionalMany(
|
|
186
|
+
tokenKind.TokenKind.PAREN_L,
|
|
187
|
+
this.parseVariableDefinition,
|
|
188
|
+
tokenKind.TokenKind.PAREN_R
|
|
189
|
+
);
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* VariableDefinition : Variable : Type DefaultValue? Directives[Const]?
|
|
193
|
+
*/
|
|
194
|
+
parseVariableDefinition() {
|
|
195
|
+
return this.node(this._lexer.token, {
|
|
196
|
+
kind: kinds.Kind.VARIABLE_DEFINITION,
|
|
197
|
+
variable: this.parseVariable(),
|
|
198
|
+
type: (this.expectToken(tokenKind.TokenKind.COLON), this.parseTypeReference()),
|
|
199
|
+
defaultValue: this.expectOptionalToken(tokenKind.TokenKind.EQUALS) ? this.parseConstValueLiteral() : void 0,
|
|
200
|
+
directives: this.parseConstDirectives()
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Variable : $ Name
|
|
205
|
+
*/
|
|
206
|
+
parseVariable() {
|
|
207
|
+
const start = this._lexer.token;
|
|
208
|
+
this.expectToken(tokenKind.TokenKind.DOLLAR);
|
|
209
|
+
return this.node(start, {
|
|
210
|
+
kind: kinds.Kind.VARIABLE,
|
|
211
|
+
name: this.parseName()
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* ```
|
|
216
|
+
* SelectionSet : { Selection+ }
|
|
217
|
+
* ```
|
|
218
|
+
*/
|
|
219
|
+
parseSelectionSet() {
|
|
220
|
+
return this.node(this._lexer.token, {
|
|
221
|
+
kind: kinds.Kind.SELECTION_SET,
|
|
222
|
+
selections: this.many(
|
|
223
|
+
tokenKind.TokenKind.BRACE_L,
|
|
224
|
+
this.parseSelection,
|
|
225
|
+
tokenKind.TokenKind.BRACE_R
|
|
226
|
+
)
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Selection :
|
|
231
|
+
* - Field
|
|
232
|
+
* - FragmentSpread
|
|
233
|
+
* - InlineFragment
|
|
234
|
+
*/
|
|
235
|
+
parseSelection() {
|
|
236
|
+
return this.peek(tokenKind.TokenKind.SPREAD) ? this.parseFragment() : this.parseField();
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* Field : Alias? Name Arguments? Directives? SelectionSet?
|
|
240
|
+
*
|
|
241
|
+
* Alias : Name :
|
|
242
|
+
*/
|
|
243
|
+
parseField() {
|
|
244
|
+
const start = this._lexer.token;
|
|
245
|
+
const nameOrAlias = this.parseName();
|
|
246
|
+
let alias;
|
|
247
|
+
let name;
|
|
248
|
+
if (this.expectOptionalToken(tokenKind.TokenKind.COLON)) {
|
|
249
|
+
alias = nameOrAlias;
|
|
250
|
+
name = this.parseName();
|
|
251
|
+
} else {
|
|
252
|
+
name = nameOrAlias;
|
|
253
|
+
}
|
|
254
|
+
return this.node(start, {
|
|
255
|
+
kind: kinds.Kind.FIELD,
|
|
256
|
+
alias,
|
|
257
|
+
name,
|
|
258
|
+
arguments: this.parseArguments(false),
|
|
259
|
+
directives: this.parseDirectives(false),
|
|
260
|
+
selectionSet: this.peek(tokenKind.TokenKind.BRACE_L) ? this.parseSelectionSet() : void 0
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Arguments[Const] : ( Argument[?Const]+ )
|
|
265
|
+
*/
|
|
266
|
+
parseArguments(isConst) {
|
|
267
|
+
const item = isConst ? this.parseConstArgument : this.parseArgument;
|
|
268
|
+
return this.optionalMany(tokenKind.TokenKind.PAREN_L, item, tokenKind.TokenKind.PAREN_R);
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* Argument[Const] : Name : Value[?Const]
|
|
272
|
+
*/
|
|
273
|
+
parseArgument(isConst = false) {
|
|
274
|
+
const start = this._lexer.token;
|
|
275
|
+
const name = this.parseName();
|
|
276
|
+
this.expectToken(tokenKind.TokenKind.COLON);
|
|
277
|
+
return this.node(start, {
|
|
278
|
+
kind: kinds.Kind.ARGUMENT,
|
|
279
|
+
name,
|
|
280
|
+
value: this.parseValueLiteral(isConst)
|
|
281
|
+
});
|
|
282
|
+
}
|
|
283
|
+
parseConstArgument() {
|
|
284
|
+
return this.parseArgument(true);
|
|
285
|
+
}
|
|
286
|
+
// Implements the parsing rules in the Fragments section.
|
|
287
|
+
/**
|
|
288
|
+
* Corresponds to both FragmentSpread and InlineFragment in the spec.
|
|
289
|
+
*
|
|
290
|
+
* FragmentSpread : ... FragmentName Directives?
|
|
291
|
+
*
|
|
292
|
+
* InlineFragment : ... TypeCondition? Directives? SelectionSet
|
|
293
|
+
*/
|
|
294
|
+
parseFragment() {
|
|
295
|
+
const start = this._lexer.token;
|
|
296
|
+
this.expectToken(tokenKind.TokenKind.SPREAD);
|
|
297
|
+
const hasTypeCondition = this.expectOptionalKeyword("on");
|
|
298
|
+
if (!hasTypeCondition && this.peek(tokenKind.TokenKind.NAME)) {
|
|
299
|
+
return this.node(start, {
|
|
300
|
+
kind: kinds.Kind.FRAGMENT_SPREAD,
|
|
301
|
+
name: this.parseFragmentName(),
|
|
302
|
+
directives: this.parseDirectives(false)
|
|
303
|
+
});
|
|
304
|
+
}
|
|
305
|
+
return this.node(start, {
|
|
306
|
+
kind: kinds.Kind.INLINE_FRAGMENT,
|
|
307
|
+
typeCondition: hasTypeCondition ? this.parseNamedType() : void 0,
|
|
308
|
+
directives: this.parseDirectives(false),
|
|
309
|
+
selectionSet: this.parseSelectionSet()
|
|
310
|
+
});
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* FragmentDefinition :
|
|
314
|
+
* - fragment FragmentName on TypeCondition Directives? SelectionSet
|
|
315
|
+
*
|
|
316
|
+
* TypeCondition : NamedType
|
|
317
|
+
*/
|
|
318
|
+
parseFragmentDefinition() {
|
|
319
|
+
const start = this._lexer.token;
|
|
320
|
+
this.expectKeyword("fragment");
|
|
321
|
+
if (this._options.allowLegacyFragmentVariables === true) {
|
|
322
|
+
return this.node(start, {
|
|
323
|
+
kind: kinds.Kind.FRAGMENT_DEFINITION,
|
|
324
|
+
name: this.parseFragmentName(),
|
|
325
|
+
variableDefinitions: this.parseVariableDefinitions(),
|
|
326
|
+
typeCondition: (this.expectKeyword("on"), this.parseNamedType()),
|
|
327
|
+
directives: this.parseDirectives(false),
|
|
328
|
+
selectionSet: this.parseSelectionSet()
|
|
329
|
+
});
|
|
330
|
+
}
|
|
331
|
+
return this.node(start, {
|
|
332
|
+
kind: kinds.Kind.FRAGMENT_DEFINITION,
|
|
333
|
+
name: this.parseFragmentName(),
|
|
334
|
+
typeCondition: (this.expectKeyword("on"), this.parseNamedType()),
|
|
335
|
+
directives: this.parseDirectives(false),
|
|
336
|
+
selectionSet: this.parseSelectionSet()
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* FragmentName : Name but not `on`
|
|
341
|
+
*/
|
|
342
|
+
parseFragmentName() {
|
|
343
|
+
if (this._lexer.token.value === "on") {
|
|
344
|
+
throw this.unexpected();
|
|
345
|
+
}
|
|
346
|
+
return this.parseName();
|
|
347
|
+
}
|
|
348
|
+
// Implements the parsing rules in the Values section.
|
|
349
|
+
/**
|
|
350
|
+
* Value[Const] :
|
|
351
|
+
* - [~Const] Variable
|
|
352
|
+
* - IntValue
|
|
353
|
+
* - FloatValue
|
|
354
|
+
* - StringValue
|
|
355
|
+
* - BooleanValue
|
|
356
|
+
* - NullValue
|
|
357
|
+
* - EnumValue
|
|
358
|
+
* - ListValue[?Const]
|
|
359
|
+
* - ObjectValue[?Const]
|
|
360
|
+
*
|
|
361
|
+
* BooleanValue : one of `true` `false`
|
|
362
|
+
*
|
|
363
|
+
* NullValue : `null`
|
|
364
|
+
*
|
|
365
|
+
* EnumValue : Name but not `true`, `false` or `null`
|
|
366
|
+
*/
|
|
367
|
+
parseValueLiteral(isConst) {
|
|
368
|
+
const token = this._lexer.token;
|
|
369
|
+
switch (token.kind) {
|
|
370
|
+
case tokenKind.TokenKind.BRACKET_L:
|
|
371
|
+
return this.parseList(isConst);
|
|
372
|
+
case tokenKind.TokenKind.BRACE_L:
|
|
373
|
+
return this.parseObject(isConst);
|
|
374
|
+
case tokenKind.TokenKind.INT:
|
|
375
|
+
this.advanceLexer();
|
|
376
|
+
return this.node(token, {
|
|
377
|
+
kind: kinds.Kind.INT,
|
|
378
|
+
value: token.value
|
|
379
|
+
});
|
|
380
|
+
case tokenKind.TokenKind.FLOAT:
|
|
381
|
+
this.advanceLexer();
|
|
382
|
+
return this.node(token, {
|
|
383
|
+
kind: kinds.Kind.FLOAT,
|
|
384
|
+
value: token.value
|
|
385
|
+
});
|
|
386
|
+
case tokenKind.TokenKind.STRING:
|
|
387
|
+
case tokenKind.TokenKind.BLOCK_STRING:
|
|
388
|
+
return this.parseStringLiteral();
|
|
389
|
+
case tokenKind.TokenKind.NAME:
|
|
390
|
+
this.advanceLexer();
|
|
391
|
+
switch (token.value) {
|
|
392
|
+
case "true":
|
|
393
|
+
return this.node(token, {
|
|
394
|
+
kind: kinds.Kind.BOOLEAN,
|
|
395
|
+
value: true
|
|
396
|
+
});
|
|
397
|
+
case "false":
|
|
398
|
+
return this.node(token, {
|
|
399
|
+
kind: kinds.Kind.BOOLEAN,
|
|
400
|
+
value: false
|
|
401
|
+
});
|
|
402
|
+
case "null":
|
|
403
|
+
return this.node(token, {
|
|
404
|
+
kind: kinds.Kind.NULL
|
|
405
|
+
});
|
|
406
|
+
default:
|
|
407
|
+
return this.node(token, {
|
|
408
|
+
kind: kinds.Kind.ENUM,
|
|
409
|
+
value: token.value
|
|
410
|
+
});
|
|
411
|
+
}
|
|
412
|
+
case tokenKind.TokenKind.DOLLAR:
|
|
413
|
+
if (isConst) {
|
|
414
|
+
this.expectToken(tokenKind.TokenKind.DOLLAR);
|
|
415
|
+
if (this._lexer.token.kind === tokenKind.TokenKind.NAME) {
|
|
416
|
+
const varName = this._lexer.token.value;
|
|
417
|
+
throw syntaxError.syntaxError(
|
|
418
|
+
this._lexer.source,
|
|
419
|
+
token.start,
|
|
420
|
+
`Unexpected variable "$${varName}" in constant value.`
|
|
421
|
+
);
|
|
422
|
+
} else {
|
|
423
|
+
throw this.unexpected(token);
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
return this.parseVariable();
|
|
427
|
+
default:
|
|
428
|
+
throw this.unexpected();
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
parseConstValueLiteral() {
|
|
432
|
+
return this.parseValueLiteral(true);
|
|
433
|
+
}
|
|
434
|
+
parseStringLiteral() {
|
|
435
|
+
const token = this._lexer.token;
|
|
436
|
+
this.advanceLexer();
|
|
437
|
+
return this.node(token, {
|
|
438
|
+
kind: kinds.Kind.STRING,
|
|
439
|
+
value: token.value,
|
|
440
|
+
block: token.kind === tokenKind.TokenKind.BLOCK_STRING
|
|
441
|
+
});
|
|
442
|
+
}
|
|
443
|
+
/**
|
|
444
|
+
* ListValue[Const] :
|
|
445
|
+
* - [ ]
|
|
446
|
+
* - [ Value[?Const]+ ]
|
|
447
|
+
*/
|
|
448
|
+
parseList(isConst) {
|
|
449
|
+
const item = () => this.parseValueLiteral(isConst);
|
|
450
|
+
return this.node(this._lexer.token, {
|
|
451
|
+
kind: kinds.Kind.LIST,
|
|
452
|
+
values: this.any(tokenKind.TokenKind.BRACKET_L, item, tokenKind.TokenKind.BRACKET_R)
|
|
453
|
+
});
|
|
454
|
+
}
|
|
455
|
+
/**
|
|
456
|
+
* ```
|
|
457
|
+
* ObjectValue[Const] :
|
|
458
|
+
* - { }
|
|
459
|
+
* - { ObjectField[?Const]+ }
|
|
460
|
+
* ```
|
|
461
|
+
*/
|
|
462
|
+
parseObject(isConst) {
|
|
463
|
+
const item = () => this.parseObjectField(isConst);
|
|
464
|
+
return this.node(this._lexer.token, {
|
|
465
|
+
kind: kinds.Kind.OBJECT,
|
|
466
|
+
fields: this.any(tokenKind.TokenKind.BRACE_L, item, tokenKind.TokenKind.BRACE_R)
|
|
467
|
+
});
|
|
468
|
+
}
|
|
469
|
+
/**
|
|
470
|
+
* ObjectField[Const] : Name : Value[?Const]
|
|
471
|
+
*/
|
|
472
|
+
parseObjectField(isConst) {
|
|
473
|
+
const start = this._lexer.token;
|
|
474
|
+
const name = this.parseName();
|
|
475
|
+
this.expectToken(tokenKind.TokenKind.COLON);
|
|
476
|
+
return this.node(start, {
|
|
477
|
+
kind: kinds.Kind.OBJECT_FIELD,
|
|
478
|
+
name,
|
|
479
|
+
value: this.parseValueLiteral(isConst)
|
|
480
|
+
});
|
|
481
|
+
}
|
|
482
|
+
// Implements the parsing rules in the Directives section.
|
|
483
|
+
/**
|
|
484
|
+
* Directives[Const] : Directive[?Const]+
|
|
485
|
+
*/
|
|
486
|
+
parseDirectives(isConst) {
|
|
487
|
+
const directives = [];
|
|
488
|
+
while (this.peek(tokenKind.TokenKind.AT)) {
|
|
489
|
+
directives.push(this.parseDirective(isConst));
|
|
490
|
+
}
|
|
491
|
+
return directives;
|
|
492
|
+
}
|
|
493
|
+
parseConstDirectives() {
|
|
494
|
+
return this.parseDirectives(true);
|
|
495
|
+
}
|
|
496
|
+
/**
|
|
497
|
+
* ```
|
|
498
|
+
* Directive[Const] : @ Name Arguments[?Const]?
|
|
499
|
+
* ```
|
|
500
|
+
*/
|
|
501
|
+
parseDirective(isConst) {
|
|
502
|
+
const start = this._lexer.token;
|
|
503
|
+
this.expectToken(tokenKind.TokenKind.AT);
|
|
504
|
+
return this.node(start, {
|
|
505
|
+
kind: kinds.Kind.DIRECTIVE,
|
|
506
|
+
name: this.parseName(),
|
|
507
|
+
arguments: this.parseArguments(isConst)
|
|
508
|
+
});
|
|
509
|
+
}
|
|
510
|
+
// Implements the parsing rules in the Types section.
|
|
511
|
+
/**
|
|
512
|
+
* Type :
|
|
513
|
+
* - NamedType
|
|
514
|
+
* - ListType
|
|
515
|
+
* - NonNullType
|
|
516
|
+
*/
|
|
517
|
+
parseTypeReference() {
|
|
518
|
+
const start = this._lexer.token;
|
|
519
|
+
let type;
|
|
520
|
+
if (this.expectOptionalToken(tokenKind.TokenKind.BRACKET_L)) {
|
|
521
|
+
const innerType = this.parseTypeReference();
|
|
522
|
+
this.expectToken(tokenKind.TokenKind.BRACKET_R);
|
|
523
|
+
type = this.node(start, {
|
|
524
|
+
kind: kinds.Kind.LIST_TYPE,
|
|
525
|
+
type: innerType
|
|
526
|
+
});
|
|
527
|
+
} else {
|
|
528
|
+
type = this.parseNamedType();
|
|
529
|
+
}
|
|
530
|
+
if (this.expectOptionalToken(tokenKind.TokenKind.BANG)) {
|
|
531
|
+
return this.node(start, {
|
|
532
|
+
kind: kinds.Kind.NON_NULL_TYPE,
|
|
533
|
+
type
|
|
534
|
+
});
|
|
535
|
+
}
|
|
536
|
+
return type;
|
|
537
|
+
}
|
|
538
|
+
/**
|
|
539
|
+
* NamedType : Name
|
|
540
|
+
*/
|
|
541
|
+
parseNamedType() {
|
|
542
|
+
return this.node(this._lexer.token, {
|
|
543
|
+
kind: kinds.Kind.NAMED_TYPE,
|
|
544
|
+
name: this.parseName()
|
|
545
|
+
});
|
|
546
|
+
}
|
|
547
|
+
// Implements the parsing rules in the Type Definition section.
|
|
548
|
+
peekDescription() {
|
|
549
|
+
return this.peek(tokenKind.TokenKind.STRING) || this.peek(tokenKind.TokenKind.BLOCK_STRING);
|
|
550
|
+
}
|
|
551
|
+
/**
|
|
552
|
+
* Description : StringValue
|
|
553
|
+
*/
|
|
554
|
+
parseDescription() {
|
|
555
|
+
if (this.peekDescription()) {
|
|
556
|
+
return this.parseStringLiteral();
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
/**
|
|
560
|
+
* ```
|
|
561
|
+
* SchemaDefinition : Description? schema Directives[Const]? { OperationTypeDefinition+ }
|
|
562
|
+
* ```
|
|
563
|
+
*/
|
|
564
|
+
parseSchemaDefinition() {
|
|
565
|
+
const start = this._lexer.token;
|
|
566
|
+
const description = this.parseDescription();
|
|
567
|
+
this.expectKeyword("schema");
|
|
568
|
+
const directives = this.parseConstDirectives();
|
|
569
|
+
const operationTypes = this.many(
|
|
570
|
+
tokenKind.TokenKind.BRACE_L,
|
|
571
|
+
this.parseOperationTypeDefinition,
|
|
572
|
+
tokenKind.TokenKind.BRACE_R
|
|
573
|
+
);
|
|
574
|
+
return this.node(start, {
|
|
575
|
+
kind: kinds.Kind.SCHEMA_DEFINITION,
|
|
576
|
+
description,
|
|
577
|
+
directives,
|
|
578
|
+
operationTypes
|
|
579
|
+
});
|
|
580
|
+
}
|
|
581
|
+
/**
|
|
582
|
+
* OperationTypeDefinition : OperationType : NamedType
|
|
583
|
+
*/
|
|
584
|
+
parseOperationTypeDefinition() {
|
|
585
|
+
const start = this._lexer.token;
|
|
586
|
+
const operation = this.parseOperationType();
|
|
587
|
+
this.expectToken(tokenKind.TokenKind.COLON);
|
|
588
|
+
const type = this.parseNamedType();
|
|
589
|
+
return this.node(start, {
|
|
590
|
+
kind: kinds.Kind.OPERATION_TYPE_DEFINITION,
|
|
591
|
+
operation,
|
|
592
|
+
type
|
|
593
|
+
});
|
|
594
|
+
}
|
|
595
|
+
/**
|
|
596
|
+
* ScalarTypeDefinition : Description? scalar Name Directives[Const]?
|
|
597
|
+
*/
|
|
598
|
+
parseScalarTypeDefinition() {
|
|
599
|
+
const start = this._lexer.token;
|
|
600
|
+
const description = this.parseDescription();
|
|
601
|
+
this.expectKeyword("scalar");
|
|
602
|
+
const name = this.parseName();
|
|
603
|
+
const directives = this.parseConstDirectives();
|
|
604
|
+
return this.node(start, {
|
|
605
|
+
kind: kinds.Kind.SCALAR_TYPE_DEFINITION,
|
|
606
|
+
description,
|
|
607
|
+
name,
|
|
608
|
+
directives
|
|
609
|
+
});
|
|
610
|
+
}
|
|
611
|
+
/**
|
|
612
|
+
* ObjectTypeDefinition :
|
|
613
|
+
* Description?
|
|
614
|
+
* type Name ImplementsInterfaces? Directives[Const]? FieldsDefinition?
|
|
615
|
+
*/
|
|
616
|
+
parseObjectTypeDefinition() {
|
|
617
|
+
const start = this._lexer.token;
|
|
618
|
+
const description = this.parseDescription();
|
|
619
|
+
this.expectKeyword("type");
|
|
620
|
+
const name = this.parseName();
|
|
621
|
+
const interfaces = this.parseImplementsInterfaces();
|
|
622
|
+
const directives = this.parseConstDirectives();
|
|
623
|
+
const fields = this.parseFieldsDefinition();
|
|
624
|
+
return this.node(start, {
|
|
625
|
+
kind: kinds.Kind.OBJECT_TYPE_DEFINITION,
|
|
626
|
+
description,
|
|
627
|
+
name,
|
|
628
|
+
interfaces,
|
|
629
|
+
directives,
|
|
630
|
+
fields
|
|
631
|
+
});
|
|
632
|
+
}
|
|
633
|
+
/**
|
|
634
|
+
* ImplementsInterfaces :
|
|
635
|
+
* - implements `&`? NamedType
|
|
636
|
+
* - ImplementsInterfaces & NamedType
|
|
637
|
+
*/
|
|
638
|
+
parseImplementsInterfaces() {
|
|
639
|
+
return this.expectOptionalKeyword("implements") ? this.delimitedMany(tokenKind.TokenKind.AMP, this.parseNamedType) : [];
|
|
640
|
+
}
|
|
641
|
+
/**
|
|
642
|
+
* ```
|
|
643
|
+
* FieldsDefinition : { FieldDefinition+ }
|
|
644
|
+
* ```
|
|
645
|
+
*/
|
|
646
|
+
parseFieldsDefinition() {
|
|
647
|
+
return this.optionalMany(
|
|
648
|
+
tokenKind.TokenKind.BRACE_L,
|
|
649
|
+
this.parseFieldDefinition,
|
|
650
|
+
tokenKind.TokenKind.BRACE_R
|
|
651
|
+
);
|
|
652
|
+
}
|
|
653
|
+
/**
|
|
654
|
+
* FieldDefinition :
|
|
655
|
+
* - Description? Name ArgumentsDefinition? : Type Directives[Const]?
|
|
656
|
+
*/
|
|
657
|
+
parseFieldDefinition() {
|
|
658
|
+
const start = this._lexer.token;
|
|
659
|
+
const description = this.parseDescription();
|
|
660
|
+
const name = this.parseName();
|
|
661
|
+
const args = this.parseArgumentDefs();
|
|
662
|
+
this.expectToken(tokenKind.TokenKind.COLON);
|
|
663
|
+
const type = this.parseTypeReference();
|
|
664
|
+
const directives = this.parseConstDirectives();
|
|
665
|
+
return this.node(start, {
|
|
666
|
+
kind: kinds.Kind.FIELD_DEFINITION,
|
|
667
|
+
description,
|
|
668
|
+
name,
|
|
669
|
+
arguments: args,
|
|
670
|
+
type,
|
|
671
|
+
directives
|
|
672
|
+
});
|
|
673
|
+
}
|
|
674
|
+
/**
|
|
675
|
+
* ArgumentsDefinition : ( InputValueDefinition+ )
|
|
676
|
+
*/
|
|
677
|
+
parseArgumentDefs() {
|
|
678
|
+
return this.optionalMany(
|
|
679
|
+
tokenKind.TokenKind.PAREN_L,
|
|
680
|
+
this.parseInputValueDef,
|
|
681
|
+
tokenKind.TokenKind.PAREN_R
|
|
682
|
+
);
|
|
683
|
+
}
|
|
684
|
+
/**
|
|
685
|
+
* InputValueDefinition :
|
|
686
|
+
* - Description? Name : Type DefaultValue? Directives[Const]?
|
|
687
|
+
*/
|
|
688
|
+
parseInputValueDef() {
|
|
689
|
+
const start = this._lexer.token;
|
|
690
|
+
const description = this.parseDescription();
|
|
691
|
+
const name = this.parseName();
|
|
692
|
+
this.expectToken(tokenKind.TokenKind.COLON);
|
|
693
|
+
const type = this.parseTypeReference();
|
|
694
|
+
let defaultValue;
|
|
695
|
+
if (this.expectOptionalToken(tokenKind.TokenKind.EQUALS)) {
|
|
696
|
+
defaultValue = this.parseConstValueLiteral();
|
|
697
|
+
}
|
|
698
|
+
const directives = this.parseConstDirectives();
|
|
699
|
+
return this.node(start, {
|
|
700
|
+
kind: kinds.Kind.INPUT_VALUE_DEFINITION,
|
|
701
|
+
description,
|
|
702
|
+
name,
|
|
703
|
+
type,
|
|
704
|
+
defaultValue,
|
|
705
|
+
directives
|
|
706
|
+
});
|
|
707
|
+
}
|
|
708
|
+
/**
|
|
709
|
+
* InterfaceTypeDefinition :
|
|
710
|
+
* - Description? interface Name Directives[Const]? FieldsDefinition?
|
|
711
|
+
*/
|
|
712
|
+
parseInterfaceTypeDefinition() {
|
|
713
|
+
const start = this._lexer.token;
|
|
714
|
+
const description = this.parseDescription();
|
|
715
|
+
this.expectKeyword("interface");
|
|
716
|
+
const name = this.parseName();
|
|
717
|
+
const interfaces = this.parseImplementsInterfaces();
|
|
718
|
+
const directives = this.parseConstDirectives();
|
|
719
|
+
const fields = this.parseFieldsDefinition();
|
|
720
|
+
return this.node(start, {
|
|
721
|
+
kind: kinds.Kind.INTERFACE_TYPE_DEFINITION,
|
|
722
|
+
description,
|
|
723
|
+
name,
|
|
724
|
+
interfaces,
|
|
725
|
+
directives,
|
|
726
|
+
fields
|
|
727
|
+
});
|
|
728
|
+
}
|
|
729
|
+
/**
|
|
730
|
+
* UnionTypeDefinition :
|
|
731
|
+
* - Description? union Name Directives[Const]? UnionMemberTypes?
|
|
732
|
+
*/
|
|
733
|
+
parseUnionTypeDefinition() {
|
|
734
|
+
const start = this._lexer.token;
|
|
735
|
+
const description = this.parseDescription();
|
|
736
|
+
this.expectKeyword("union");
|
|
737
|
+
const name = this.parseName();
|
|
738
|
+
const directives = this.parseConstDirectives();
|
|
739
|
+
const types = this.parseUnionMemberTypes();
|
|
740
|
+
return this.node(start, {
|
|
741
|
+
kind: kinds.Kind.UNION_TYPE_DEFINITION,
|
|
742
|
+
description,
|
|
743
|
+
name,
|
|
744
|
+
directives,
|
|
745
|
+
types
|
|
746
|
+
});
|
|
747
|
+
}
|
|
748
|
+
/**
|
|
749
|
+
* UnionMemberTypes :
|
|
750
|
+
* - = `|`? NamedType
|
|
751
|
+
* - UnionMemberTypes | NamedType
|
|
752
|
+
*/
|
|
753
|
+
parseUnionMemberTypes() {
|
|
754
|
+
return this.expectOptionalToken(tokenKind.TokenKind.EQUALS) ? this.delimitedMany(tokenKind.TokenKind.PIPE, this.parseNamedType) : [];
|
|
755
|
+
}
|
|
756
|
+
/**
|
|
757
|
+
* EnumTypeDefinition :
|
|
758
|
+
* - Description? enum Name Directives[Const]? EnumValuesDefinition?
|
|
759
|
+
*/
|
|
760
|
+
parseEnumTypeDefinition() {
|
|
761
|
+
const start = this._lexer.token;
|
|
762
|
+
const description = this.parseDescription();
|
|
763
|
+
this.expectKeyword("enum");
|
|
764
|
+
const name = this.parseName();
|
|
765
|
+
const directives = this.parseConstDirectives();
|
|
766
|
+
const values = this.parseEnumValuesDefinition();
|
|
767
|
+
return this.node(start, {
|
|
768
|
+
kind: kinds.Kind.ENUM_TYPE_DEFINITION,
|
|
769
|
+
description,
|
|
770
|
+
name,
|
|
771
|
+
directives,
|
|
772
|
+
values
|
|
773
|
+
});
|
|
774
|
+
}
|
|
775
|
+
/**
|
|
776
|
+
* ```
|
|
777
|
+
* EnumValuesDefinition : { EnumValueDefinition+ }
|
|
778
|
+
* ```
|
|
779
|
+
*/
|
|
780
|
+
parseEnumValuesDefinition() {
|
|
781
|
+
return this.optionalMany(
|
|
782
|
+
tokenKind.TokenKind.BRACE_L,
|
|
783
|
+
this.parseEnumValueDefinition,
|
|
784
|
+
tokenKind.TokenKind.BRACE_R
|
|
785
|
+
);
|
|
786
|
+
}
|
|
787
|
+
/**
|
|
788
|
+
* EnumValueDefinition : Description? EnumValue Directives[Const]?
|
|
789
|
+
*/
|
|
790
|
+
parseEnumValueDefinition() {
|
|
791
|
+
const start = this._lexer.token;
|
|
792
|
+
const description = this.parseDescription();
|
|
793
|
+
const name = this.parseEnumValueName();
|
|
794
|
+
const directives = this.parseConstDirectives();
|
|
795
|
+
return this.node(start, {
|
|
796
|
+
kind: kinds.Kind.ENUM_VALUE_DEFINITION,
|
|
797
|
+
description,
|
|
798
|
+
name,
|
|
799
|
+
directives
|
|
800
|
+
});
|
|
801
|
+
}
|
|
802
|
+
/**
|
|
803
|
+
* EnumValue : Name but not `true`, `false` or `null`
|
|
804
|
+
*/
|
|
805
|
+
parseEnumValueName() {
|
|
806
|
+
if (this._lexer.token.value === "true" || this._lexer.token.value === "false" || this._lexer.token.value === "null") {
|
|
807
|
+
throw syntaxError.syntaxError(
|
|
808
|
+
this._lexer.source,
|
|
809
|
+
this._lexer.token.start,
|
|
810
|
+
`${getTokenDesc(
|
|
811
|
+
this._lexer.token
|
|
812
|
+
)} is reserved and cannot be used for an enum value.`
|
|
813
|
+
);
|
|
814
|
+
}
|
|
815
|
+
return this.parseName();
|
|
816
|
+
}
|
|
817
|
+
/**
|
|
818
|
+
* InputObjectTypeDefinition :
|
|
819
|
+
* - Description? input Name Directives[Const]? InputFieldsDefinition?
|
|
820
|
+
*/
|
|
821
|
+
parseInputObjectTypeDefinition() {
|
|
822
|
+
const start = this._lexer.token;
|
|
823
|
+
const description = this.parseDescription();
|
|
824
|
+
this.expectKeyword("input");
|
|
825
|
+
const name = this.parseName();
|
|
826
|
+
const directives = this.parseConstDirectives();
|
|
827
|
+
const fields = this.parseInputFieldsDefinition();
|
|
828
|
+
return this.node(start, {
|
|
829
|
+
kind: kinds.Kind.INPUT_OBJECT_TYPE_DEFINITION,
|
|
830
|
+
description,
|
|
831
|
+
name,
|
|
832
|
+
directives,
|
|
833
|
+
fields
|
|
834
|
+
});
|
|
835
|
+
}
|
|
836
|
+
/**
|
|
837
|
+
* ```
|
|
838
|
+
* InputFieldsDefinition : { InputValueDefinition+ }
|
|
839
|
+
* ```
|
|
840
|
+
*/
|
|
841
|
+
parseInputFieldsDefinition() {
|
|
842
|
+
return this.optionalMany(
|
|
843
|
+
tokenKind.TokenKind.BRACE_L,
|
|
844
|
+
this.parseInputValueDef,
|
|
845
|
+
tokenKind.TokenKind.BRACE_R
|
|
846
|
+
);
|
|
847
|
+
}
|
|
848
|
+
/**
|
|
849
|
+
* TypeSystemExtension :
|
|
850
|
+
* - SchemaExtension
|
|
851
|
+
* - TypeExtension
|
|
852
|
+
*
|
|
853
|
+
* TypeExtension :
|
|
854
|
+
* - ScalarTypeExtension
|
|
855
|
+
* - ObjectTypeExtension
|
|
856
|
+
* - InterfaceTypeExtension
|
|
857
|
+
* - UnionTypeExtension
|
|
858
|
+
* - EnumTypeExtension
|
|
859
|
+
* - InputObjectTypeDefinition
|
|
860
|
+
*/
|
|
861
|
+
parseTypeSystemExtension() {
|
|
862
|
+
const keywordToken = this._lexer.lookahead();
|
|
863
|
+
if (keywordToken.kind === tokenKind.TokenKind.NAME) {
|
|
864
|
+
switch (keywordToken.value) {
|
|
865
|
+
case "schema":
|
|
866
|
+
return this.parseSchemaExtension();
|
|
867
|
+
case "scalar":
|
|
868
|
+
return this.parseScalarTypeExtension();
|
|
869
|
+
case "type":
|
|
870
|
+
return this.parseObjectTypeExtension();
|
|
871
|
+
case "interface":
|
|
872
|
+
return this.parseInterfaceTypeExtension();
|
|
873
|
+
case "union":
|
|
874
|
+
return this.parseUnionTypeExtension();
|
|
875
|
+
case "enum":
|
|
876
|
+
return this.parseEnumTypeExtension();
|
|
877
|
+
case "input":
|
|
878
|
+
return this.parseInputObjectTypeExtension();
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
throw this.unexpected(keywordToken);
|
|
882
|
+
}
|
|
883
|
+
/**
|
|
884
|
+
* ```
|
|
885
|
+
* SchemaExtension :
|
|
886
|
+
* - extend schema Directives[Const]? { OperationTypeDefinition+ }
|
|
887
|
+
* - extend schema Directives[Const]
|
|
888
|
+
* ```
|
|
889
|
+
*/
|
|
890
|
+
parseSchemaExtension() {
|
|
891
|
+
const start = this._lexer.token;
|
|
892
|
+
this.expectKeyword("extend");
|
|
893
|
+
this.expectKeyword("schema");
|
|
894
|
+
const directives = this.parseConstDirectives();
|
|
895
|
+
const operationTypes = this.optionalMany(
|
|
896
|
+
tokenKind.TokenKind.BRACE_L,
|
|
897
|
+
this.parseOperationTypeDefinition,
|
|
898
|
+
tokenKind.TokenKind.BRACE_R
|
|
899
|
+
);
|
|
900
|
+
if (directives.length === 0 && operationTypes.length === 0) {
|
|
901
|
+
throw this.unexpected();
|
|
902
|
+
}
|
|
903
|
+
return this.node(start, {
|
|
904
|
+
kind: kinds.Kind.SCHEMA_EXTENSION,
|
|
905
|
+
directives,
|
|
906
|
+
operationTypes
|
|
907
|
+
});
|
|
908
|
+
}
|
|
909
|
+
/**
|
|
910
|
+
* ScalarTypeExtension :
|
|
911
|
+
* - extend scalar Name Directives[Const]
|
|
912
|
+
*/
|
|
913
|
+
parseScalarTypeExtension() {
|
|
914
|
+
const start = this._lexer.token;
|
|
915
|
+
this.expectKeyword("extend");
|
|
916
|
+
this.expectKeyword("scalar");
|
|
917
|
+
const name = this.parseName();
|
|
918
|
+
const directives = this.parseConstDirectives();
|
|
919
|
+
if (directives.length === 0) {
|
|
920
|
+
throw this.unexpected();
|
|
921
|
+
}
|
|
922
|
+
return this.node(start, {
|
|
923
|
+
kind: kinds.Kind.SCALAR_TYPE_EXTENSION,
|
|
924
|
+
name,
|
|
925
|
+
directives
|
|
926
|
+
});
|
|
927
|
+
}
|
|
928
|
+
/**
|
|
929
|
+
* ObjectTypeExtension :
|
|
930
|
+
* - extend type Name ImplementsInterfaces? Directives[Const]? FieldsDefinition
|
|
931
|
+
* - extend type Name ImplementsInterfaces? Directives[Const]
|
|
932
|
+
* - extend type Name ImplementsInterfaces
|
|
933
|
+
*/
|
|
934
|
+
parseObjectTypeExtension() {
|
|
935
|
+
const start = this._lexer.token;
|
|
936
|
+
this.expectKeyword("extend");
|
|
937
|
+
this.expectKeyword("type");
|
|
938
|
+
const name = this.parseName();
|
|
939
|
+
const interfaces = this.parseImplementsInterfaces();
|
|
940
|
+
const directives = this.parseConstDirectives();
|
|
941
|
+
const fields = this.parseFieldsDefinition();
|
|
942
|
+
if (interfaces.length === 0 && directives.length === 0 && fields.length === 0) {
|
|
943
|
+
throw this.unexpected();
|
|
944
|
+
}
|
|
945
|
+
return this.node(start, {
|
|
946
|
+
kind: kinds.Kind.OBJECT_TYPE_EXTENSION,
|
|
947
|
+
name,
|
|
948
|
+
interfaces,
|
|
949
|
+
directives,
|
|
950
|
+
fields
|
|
951
|
+
});
|
|
952
|
+
}
|
|
953
|
+
/**
|
|
954
|
+
* InterfaceTypeExtension :
|
|
955
|
+
* - extend interface Name ImplementsInterfaces? Directives[Const]? FieldsDefinition
|
|
956
|
+
* - extend interface Name ImplementsInterfaces? Directives[Const]
|
|
957
|
+
* - extend interface Name ImplementsInterfaces
|
|
958
|
+
*/
|
|
959
|
+
parseInterfaceTypeExtension() {
|
|
960
|
+
const start = this._lexer.token;
|
|
961
|
+
this.expectKeyword("extend");
|
|
962
|
+
this.expectKeyword("interface");
|
|
963
|
+
const name = this.parseName();
|
|
964
|
+
const interfaces = this.parseImplementsInterfaces();
|
|
965
|
+
const directives = this.parseConstDirectives();
|
|
966
|
+
const fields = this.parseFieldsDefinition();
|
|
967
|
+
if (interfaces.length === 0 && directives.length === 0 && fields.length === 0) {
|
|
968
|
+
throw this.unexpected();
|
|
969
|
+
}
|
|
970
|
+
return this.node(start, {
|
|
971
|
+
kind: kinds.Kind.INTERFACE_TYPE_EXTENSION,
|
|
972
|
+
name,
|
|
973
|
+
interfaces,
|
|
974
|
+
directives,
|
|
975
|
+
fields
|
|
976
|
+
});
|
|
977
|
+
}
|
|
978
|
+
/**
|
|
979
|
+
* UnionTypeExtension :
|
|
980
|
+
* - extend union Name Directives[Const]? UnionMemberTypes
|
|
981
|
+
* - extend union Name Directives[Const]
|
|
982
|
+
*/
|
|
983
|
+
parseUnionTypeExtension() {
|
|
984
|
+
const start = this._lexer.token;
|
|
985
|
+
this.expectKeyword("extend");
|
|
986
|
+
this.expectKeyword("union");
|
|
987
|
+
const name = this.parseName();
|
|
988
|
+
const directives = this.parseConstDirectives();
|
|
989
|
+
const types = this.parseUnionMemberTypes();
|
|
990
|
+
if (directives.length === 0 && types.length === 0) {
|
|
991
|
+
throw this.unexpected();
|
|
992
|
+
}
|
|
993
|
+
return this.node(start, {
|
|
994
|
+
kind: kinds.Kind.UNION_TYPE_EXTENSION,
|
|
995
|
+
name,
|
|
996
|
+
directives,
|
|
997
|
+
types
|
|
998
|
+
});
|
|
999
|
+
}
|
|
1000
|
+
/**
|
|
1001
|
+
* EnumTypeExtension :
|
|
1002
|
+
* - extend enum Name Directives[Const]? EnumValuesDefinition
|
|
1003
|
+
* - extend enum Name Directives[Const]
|
|
1004
|
+
*/
|
|
1005
|
+
parseEnumTypeExtension() {
|
|
1006
|
+
const start = this._lexer.token;
|
|
1007
|
+
this.expectKeyword("extend");
|
|
1008
|
+
this.expectKeyword("enum");
|
|
1009
|
+
const name = this.parseName();
|
|
1010
|
+
const directives = this.parseConstDirectives();
|
|
1011
|
+
const values = this.parseEnumValuesDefinition();
|
|
1012
|
+
if (directives.length === 0 && values.length === 0) {
|
|
1013
|
+
throw this.unexpected();
|
|
1014
|
+
}
|
|
1015
|
+
return this.node(start, {
|
|
1016
|
+
kind: kinds.Kind.ENUM_TYPE_EXTENSION,
|
|
1017
|
+
name,
|
|
1018
|
+
directives,
|
|
1019
|
+
values
|
|
1020
|
+
});
|
|
1021
|
+
}
|
|
1022
|
+
/**
|
|
1023
|
+
* InputObjectTypeExtension :
|
|
1024
|
+
* - extend input Name Directives[Const]? InputFieldsDefinition
|
|
1025
|
+
* - extend input Name Directives[Const]
|
|
1026
|
+
*/
|
|
1027
|
+
parseInputObjectTypeExtension() {
|
|
1028
|
+
const start = this._lexer.token;
|
|
1029
|
+
this.expectKeyword("extend");
|
|
1030
|
+
this.expectKeyword("input");
|
|
1031
|
+
const name = this.parseName();
|
|
1032
|
+
const directives = this.parseConstDirectives();
|
|
1033
|
+
const fields = this.parseInputFieldsDefinition();
|
|
1034
|
+
if (directives.length === 0 && fields.length === 0) {
|
|
1035
|
+
throw this.unexpected();
|
|
1036
|
+
}
|
|
1037
|
+
return this.node(start, {
|
|
1038
|
+
kind: kinds.Kind.INPUT_OBJECT_TYPE_EXTENSION,
|
|
1039
|
+
name,
|
|
1040
|
+
directives,
|
|
1041
|
+
fields
|
|
1042
|
+
});
|
|
1043
|
+
}
|
|
1044
|
+
/**
|
|
1045
|
+
* ```
|
|
1046
|
+
* DirectiveDefinition :
|
|
1047
|
+
* - Description? directive @ Name ArgumentsDefinition? `repeatable`? on DirectiveLocations
|
|
1048
|
+
* ```
|
|
1049
|
+
*/
|
|
1050
|
+
parseDirectiveDefinition() {
|
|
1051
|
+
const start = this._lexer.token;
|
|
1052
|
+
const description = this.parseDescription();
|
|
1053
|
+
this.expectKeyword("directive");
|
|
1054
|
+
this.expectToken(tokenKind.TokenKind.AT);
|
|
1055
|
+
const name = this.parseName();
|
|
1056
|
+
const args = this.parseArgumentDefs();
|
|
1057
|
+
const repeatable = this.expectOptionalKeyword("repeatable");
|
|
1058
|
+
this.expectKeyword("on");
|
|
1059
|
+
const locations = this.parseDirectiveLocations();
|
|
1060
|
+
return this.node(start, {
|
|
1061
|
+
kind: kinds.Kind.DIRECTIVE_DEFINITION,
|
|
1062
|
+
description,
|
|
1063
|
+
name,
|
|
1064
|
+
arguments: args,
|
|
1065
|
+
repeatable,
|
|
1066
|
+
locations
|
|
1067
|
+
});
|
|
1068
|
+
}
|
|
1069
|
+
/**
|
|
1070
|
+
* DirectiveLocations :
|
|
1071
|
+
* - `|`? DirectiveLocation
|
|
1072
|
+
* - DirectiveLocations | DirectiveLocation
|
|
1073
|
+
*/
|
|
1074
|
+
parseDirectiveLocations() {
|
|
1075
|
+
return this.delimitedMany(tokenKind.TokenKind.PIPE, this.parseDirectiveLocation);
|
|
1076
|
+
}
|
|
1077
|
+
/*
|
|
1078
|
+
* DirectiveLocation :
|
|
1079
|
+
* - ExecutableDirectiveLocation
|
|
1080
|
+
* - TypeSystemDirectiveLocation
|
|
1081
|
+
*
|
|
1082
|
+
* ExecutableDirectiveLocation : one of
|
|
1083
|
+
* `QUERY`
|
|
1084
|
+
* `MUTATION`
|
|
1085
|
+
* `SUBSCRIPTION`
|
|
1086
|
+
* `FIELD`
|
|
1087
|
+
* `FRAGMENT_DEFINITION`
|
|
1088
|
+
* `FRAGMENT_SPREAD`
|
|
1089
|
+
* `INLINE_FRAGMENT`
|
|
1090
|
+
*
|
|
1091
|
+
* TypeSystemDirectiveLocation : one of
|
|
1092
|
+
* `SCHEMA`
|
|
1093
|
+
* `SCALAR`
|
|
1094
|
+
* `OBJECT`
|
|
1095
|
+
* `FIELD_DEFINITION`
|
|
1096
|
+
* `ARGUMENT_DEFINITION`
|
|
1097
|
+
* `INTERFACE`
|
|
1098
|
+
* `UNION`
|
|
1099
|
+
* `ENUM`
|
|
1100
|
+
* `ENUM_VALUE`
|
|
1101
|
+
* `INPUT_OBJECT`
|
|
1102
|
+
* `INPUT_FIELD_DEFINITION`
|
|
1103
|
+
*/
|
|
1104
|
+
parseDirectiveLocation() {
|
|
1105
|
+
const start = this._lexer.token;
|
|
1106
|
+
const name = this.parseName();
|
|
1107
|
+
if (Object.prototype.hasOwnProperty.call(directiveLocation.DirectiveLocation, name.value)) {
|
|
1108
|
+
return name;
|
|
1109
|
+
}
|
|
1110
|
+
throw this.unexpected(start);
|
|
1111
|
+
}
|
|
1112
|
+
// Core parsing utility functions
|
|
1113
|
+
/**
|
|
1114
|
+
* Returns a node that, if configured to do so, sets a "loc" field as a
|
|
1115
|
+
* location object, used to identify the place in the source that created a
|
|
1116
|
+
* given parsed object.
|
|
1117
|
+
*/
|
|
1118
|
+
node(startToken, node) {
|
|
1119
|
+
if (this._options.noLocation !== true) {
|
|
1120
|
+
node.loc = new ast.Location(
|
|
1121
|
+
startToken,
|
|
1122
|
+
this._lexer.lastToken,
|
|
1123
|
+
this._lexer.source
|
|
1124
|
+
);
|
|
1125
|
+
}
|
|
1126
|
+
return node;
|
|
1127
|
+
}
|
|
1128
|
+
/**
|
|
1129
|
+
* Determines if the next token is of a given kind
|
|
1130
|
+
*/
|
|
1131
|
+
peek(kind) {
|
|
1132
|
+
return this._lexer.token.kind === kind;
|
|
1133
|
+
}
|
|
1134
|
+
/**
|
|
1135
|
+
* If the next token is of the given kind, return that token after advancing the lexer.
|
|
1136
|
+
* Otherwise, do not change the parser state and throw an error.
|
|
1137
|
+
*/
|
|
1138
|
+
expectToken(kind) {
|
|
1139
|
+
const token = this._lexer.token;
|
|
1140
|
+
if (token.kind === kind) {
|
|
1141
|
+
this.advanceLexer();
|
|
1142
|
+
return token;
|
|
1143
|
+
}
|
|
1144
|
+
throw syntaxError.syntaxError(
|
|
1145
|
+
this._lexer.source,
|
|
1146
|
+
token.start,
|
|
1147
|
+
`Expected ${getTokenKindDesc(kind)}, found ${getTokenDesc(token)}.`
|
|
1148
|
+
);
|
|
1149
|
+
}
|
|
1150
|
+
/**
|
|
1151
|
+
* If the next token is of the given kind, return "true" after advancing the lexer.
|
|
1152
|
+
* Otherwise, do not change the parser state and return "false".
|
|
1153
|
+
*/
|
|
1154
|
+
expectOptionalToken(kind) {
|
|
1155
|
+
const token = this._lexer.token;
|
|
1156
|
+
if (token.kind === kind) {
|
|
1157
|
+
this.advanceLexer();
|
|
1158
|
+
return true;
|
|
1159
|
+
}
|
|
1160
|
+
return false;
|
|
1161
|
+
}
|
|
1162
|
+
/**
|
|
1163
|
+
* If the next token is a given keyword, advance the lexer.
|
|
1164
|
+
* Otherwise, do not change the parser state and throw an error.
|
|
1165
|
+
*/
|
|
1166
|
+
expectKeyword(value) {
|
|
1167
|
+
const token = this._lexer.token;
|
|
1168
|
+
if (token.kind === tokenKind.TokenKind.NAME && token.value === value) {
|
|
1169
|
+
this.advanceLexer();
|
|
1170
|
+
} else {
|
|
1171
|
+
throw syntaxError.syntaxError(
|
|
1172
|
+
this._lexer.source,
|
|
1173
|
+
token.start,
|
|
1174
|
+
`Expected "${value}", found ${getTokenDesc(token)}.`
|
|
1175
|
+
);
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1178
|
+
/**
|
|
1179
|
+
* If the next token is a given keyword, return "true" after advancing the lexer.
|
|
1180
|
+
* Otherwise, do not change the parser state and return "false".
|
|
1181
|
+
*/
|
|
1182
|
+
expectOptionalKeyword(value) {
|
|
1183
|
+
const token = this._lexer.token;
|
|
1184
|
+
if (token.kind === tokenKind.TokenKind.NAME && token.value === value) {
|
|
1185
|
+
this.advanceLexer();
|
|
1186
|
+
return true;
|
|
1187
|
+
}
|
|
1188
|
+
return false;
|
|
1189
|
+
}
|
|
1190
|
+
/**
|
|
1191
|
+
* Helper function for creating an error when an unexpected lexed token is encountered.
|
|
1192
|
+
*/
|
|
1193
|
+
unexpected(atToken) {
|
|
1194
|
+
const token = atToken !== null && atToken !== void 0 ? atToken : this._lexer.token;
|
|
1195
|
+
return syntaxError.syntaxError(
|
|
1196
|
+
this._lexer.source,
|
|
1197
|
+
token.start,
|
|
1198
|
+
`Unexpected ${getTokenDesc(token)}.`
|
|
1199
|
+
);
|
|
1200
|
+
}
|
|
1201
|
+
/**
|
|
1202
|
+
* Returns a possibly empty list of parse nodes, determined by the parseFn.
|
|
1203
|
+
* This list begins with a lex token of openKind and ends with a lex token of closeKind.
|
|
1204
|
+
* Advances the parser to the next lex token after the closing token.
|
|
1205
|
+
*/
|
|
1206
|
+
any(openKind, parseFn, closeKind) {
|
|
1207
|
+
this.expectToken(openKind);
|
|
1208
|
+
const nodes = [];
|
|
1209
|
+
while (!this.expectOptionalToken(closeKind)) {
|
|
1210
|
+
nodes.push(parseFn.call(this));
|
|
1211
|
+
}
|
|
1212
|
+
return nodes;
|
|
1213
|
+
}
|
|
1214
|
+
/**
|
|
1215
|
+
* Returns a list of parse nodes, determined by the parseFn.
|
|
1216
|
+
* It can be empty only if open token is missing otherwise it will always return non-empty list
|
|
1217
|
+
* that begins with a lex token of openKind and ends with a lex token of closeKind.
|
|
1218
|
+
* Advances the parser to the next lex token after the closing token.
|
|
1219
|
+
*/
|
|
1220
|
+
optionalMany(openKind, parseFn, closeKind) {
|
|
1221
|
+
if (this.expectOptionalToken(openKind)) {
|
|
1222
|
+
const nodes = [];
|
|
1223
|
+
do {
|
|
1224
|
+
nodes.push(parseFn.call(this));
|
|
1225
|
+
} while (!this.expectOptionalToken(closeKind));
|
|
1226
|
+
return nodes;
|
|
1227
|
+
}
|
|
1228
|
+
return [];
|
|
1229
|
+
}
|
|
1230
|
+
/**
|
|
1231
|
+
* Returns a non-empty list of parse nodes, determined by the parseFn.
|
|
1232
|
+
* This list begins with a lex token of openKind and ends with a lex token of closeKind.
|
|
1233
|
+
* Advances the parser to the next lex token after the closing token.
|
|
1234
|
+
*/
|
|
1235
|
+
many(openKind, parseFn, closeKind) {
|
|
1236
|
+
this.expectToken(openKind);
|
|
1237
|
+
const nodes = [];
|
|
1238
|
+
do {
|
|
1239
|
+
nodes.push(parseFn.call(this));
|
|
1240
|
+
} while (!this.expectOptionalToken(closeKind));
|
|
1241
|
+
return nodes;
|
|
1242
|
+
}
|
|
1243
|
+
/**
|
|
1244
|
+
* Returns a non-empty list of parse nodes, determined by the parseFn.
|
|
1245
|
+
* This list may begin with a lex token of delimiterKind followed by items separated by lex tokens of tokenKind.
|
|
1246
|
+
* Advances the parser to the next lex token after last item in the list.
|
|
1247
|
+
*/
|
|
1248
|
+
delimitedMany(delimiterKind, parseFn) {
|
|
1249
|
+
this.expectOptionalToken(delimiterKind);
|
|
1250
|
+
const nodes = [];
|
|
1251
|
+
do {
|
|
1252
|
+
nodes.push(parseFn.call(this));
|
|
1253
|
+
} while (this.expectOptionalToken(delimiterKind));
|
|
1254
|
+
return nodes;
|
|
1255
|
+
}
|
|
1256
|
+
advanceLexer() {
|
|
1257
|
+
const { maxTokens } = this._options;
|
|
1258
|
+
const token = this._lexer.advance();
|
|
1259
|
+
if (maxTokens !== void 0 && token.kind !== tokenKind.TokenKind.EOF) {
|
|
1260
|
+
++this._tokenCounter;
|
|
1261
|
+
if (this._tokenCounter > maxTokens) {
|
|
1262
|
+
throw syntaxError.syntaxError(
|
|
1263
|
+
this._lexer.source,
|
|
1264
|
+
token.start,
|
|
1265
|
+
`Document contains more that ${maxTokens} tokens. Parsing aborted.`
|
|
1266
|
+
);
|
|
1267
|
+
}
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
function getTokenDesc(token) {
|
|
1272
|
+
const value = token.value;
|
|
1273
|
+
return getTokenKindDesc(token.kind) + (value != null ? ` "${value}"` : "");
|
|
1274
|
+
}
|
|
1275
|
+
function getTokenKindDesc(kind) {
|
|
1276
|
+
return lexer.isPunctuatorTokenKind(kind) ? `"${kind}"` : kind;
|
|
1277
|
+
}
|
|
1278
|
+
exports.Parser = Parser;
|
|
1279
|
+
exports.parse = parse;
|
|
1280
|
+
exports.parseConstValue = parseConstValue;
|
|
1281
|
+
exports.parseType = parseType;
|
|
1282
|
+
exports.parseValue = parseValue;
|
|
1283
|
+
//# sourceMappingURL=parser.cjs.map
|