@prismicio/client 7.21.0-alpha.2 → 7.21.0-pr.414.2f27ec1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Client.cjs +1218 -0
- package/dist/Client.cjs.map +1 -0
- package/dist/Client.d.cts +976 -0
- package/dist/Client.d.cts.map +1 -0
- package/dist/Client.d.ts +976 -0
- package/dist/Client.d.ts.map +1 -0
- package/dist/Client.js +1218 -0
- package/dist/Client.js.map +1 -0
- package/dist/Migration.cjs +284 -0
- package/dist/Migration.cjs.map +1 -0
- package/dist/Migration.d.cts +216 -0
- package/dist/Migration.d.cts.map +1 -0
- package/dist/Migration.d.ts +216 -0
- package/dist/Migration.d.ts.map +1 -0
- package/dist/Migration.js +284 -0
- package/dist/Migration.js.map +1 -0
- package/dist/WriteClient.cjs +488 -0
- package/dist/WriteClient.cjs.map +1 -0
- package/dist/WriteClient.d.cts +262 -0
- package/dist/WriteClient.d.cts.map +1 -0
- package/dist/WriteClient.d.ts +262 -0
- package/dist/WriteClient.d.ts.map +1 -0
- package/dist/WriteClient.js +488 -0
- package/dist/WriteClient.js.map +1 -0
- package/dist/_virtual/rolldown_runtime.cjs +14 -0
- package/dist/_virtual/rolldown_runtime.js +13 -0
- package/dist/buildQueryURL.cjs +96 -0
- package/dist/buildQueryURL.cjs.map +1 -0
- package/dist/buildQueryURL.d.cts +220 -0
- package/dist/buildQueryURL.d.cts.map +1 -0
- package/dist/buildQueryURL.d.ts +220 -0
- package/dist/buildQueryURL.d.ts.map +1 -0
- package/dist/buildQueryURL.js +96 -0
- package/dist/buildQueryURL.js.map +1 -0
- package/dist/cookie.cjs +19 -0
- package/dist/cookie.cjs.map +1 -0
- package/dist/cookie.d.cts +11 -0
- package/dist/cookie.d.cts.map +1 -0
- package/dist/cookie.d.ts +11 -0
- package/dist/cookie.d.ts.map +1 -0
- package/dist/cookie.js +13 -0
- package/dist/cookie.js.map +1 -0
- package/dist/createClient.cjs +33 -0
- package/dist/createClient.cjs.map +1 -0
- package/dist/createClient.d.cts +41 -0
- package/dist/createClient.d.cts.map +1 -0
- package/dist/createClient.d.ts +41 -0
- package/dist/createClient.d.ts.map +1 -0
- package/dist/createClient.js +33 -0
- package/dist/createClient.js.map +1 -0
- package/dist/createMigration.cjs +22 -0
- package/dist/createMigration.cjs.map +1 -0
- package/dist/createMigration.d.cts +30 -0
- package/dist/createMigration.d.cts.map +1 -0
- package/dist/createMigration.d.ts +30 -0
- package/dist/createMigration.d.ts.map +1 -0
- package/dist/createMigration.js +22 -0
- package/dist/createMigration.js.map +1 -0
- package/dist/createWriteClient.cjs +30 -0
- package/dist/createWriteClient.cjs.map +1 -0
- package/dist/createWriteClient.d.cts +38 -0
- package/dist/createWriteClient.d.cts.map +1 -0
- package/dist/createWriteClient.d.ts +38 -0
- package/dist/createWriteClient.d.ts.map +1 -0
- package/dist/createWriteClient.js +30 -0
- package/dist/createWriteClient.js.map +1 -0
- package/dist/errors/ForbiddenError.cjs +8 -0
- package/dist/errors/ForbiddenError.cjs.map +1 -0
- package/dist/errors/ForbiddenError.d.cts +14 -0
- package/dist/errors/ForbiddenError.d.cts.map +1 -0
- package/dist/errors/ForbiddenError.d.ts +14 -0
- package/dist/errors/ForbiddenError.d.ts.map +1 -0
- package/dist/errors/ForbiddenError.js +8 -0
- package/dist/errors/ForbiddenError.js.map +1 -0
- package/dist/errors/InvalidDataError.cjs +8 -0
- package/dist/errors/InvalidDataError.cjs.map +1 -0
- package/dist/errors/InvalidDataError.d.cts +7 -0
- package/dist/errors/InvalidDataError.d.cts.map +1 -0
- package/dist/errors/InvalidDataError.d.ts +7 -0
- package/dist/errors/InvalidDataError.d.ts.map +1 -0
- package/dist/errors/InvalidDataError.js +8 -0
- package/dist/errors/InvalidDataError.js.map +1 -0
- package/dist/errors/NotFoundError.cjs +8 -0
- package/dist/errors/NotFoundError.cjs.map +1 -0
- package/dist/errors/NotFoundError.d.cts +7 -0
- package/dist/errors/NotFoundError.d.cts.map +1 -0
- package/dist/errors/NotFoundError.d.ts +7 -0
- package/dist/errors/NotFoundError.d.ts.map +1 -0
- package/dist/errors/NotFoundError.js +8 -0
- package/dist/errors/NotFoundError.js.map +1 -0
- package/dist/errors/ParsingError.cjs +8 -0
- package/dist/errors/ParsingError.cjs.map +1 -0
- package/dist/errors/ParsingError.d.cts +17 -0
- package/dist/errors/ParsingError.d.cts.map +1 -0
- package/dist/errors/ParsingError.d.ts +17 -0
- package/dist/errors/ParsingError.d.ts.map +1 -0
- package/dist/errors/ParsingError.js +8 -0
- package/dist/errors/ParsingError.js.map +1 -0
- package/dist/errors/PreviewTokenExpired.cjs +8 -0
- package/dist/errors/PreviewTokenExpired.cjs.map +1 -0
- package/dist/errors/PreviewTokenExpired.d.cts +11 -0
- package/dist/errors/PreviewTokenExpired.d.cts.map +1 -0
- package/dist/errors/PreviewTokenExpired.d.ts +11 -0
- package/dist/errors/PreviewTokenExpired.d.ts.map +1 -0
- package/dist/errors/PreviewTokenExpired.js +8 -0
- package/dist/errors/PreviewTokenExpired.js.map +1 -0
- package/dist/errors/PrismicError.cjs +15 -0
- package/dist/errors/PrismicError.cjs.map +1 -0
- package/dist/errors/PrismicError.d.cts +9 -0
- package/dist/errors/PrismicError.d.cts.map +1 -0
- package/dist/errors/PrismicError.d.ts +9 -0
- package/dist/errors/PrismicError.d.ts.map +1 -0
- package/dist/errors/PrismicError.js +14 -0
- package/dist/errors/PrismicError.js.map +1 -0
- package/dist/errors/RefExpiredError.cjs +8 -0
- package/dist/errors/RefExpiredError.cjs.map +1 -0
- package/dist/errors/RefExpiredError.d.cts +11 -0
- package/dist/errors/RefExpiredError.d.cts.map +1 -0
- package/dist/errors/RefExpiredError.d.ts +11 -0
- package/dist/errors/RefExpiredError.d.ts.map +1 -0
- package/dist/errors/RefExpiredError.js +8 -0
- package/dist/errors/RefExpiredError.js.map +1 -0
- package/dist/errors/RefNotFoundError.cjs +8 -0
- package/dist/errors/RefNotFoundError.cjs.map +1 -0
- package/dist/errors/RefNotFoundError.d.cts +11 -0
- package/dist/errors/RefNotFoundError.d.cts.map +1 -0
- package/dist/errors/RefNotFoundError.d.ts +11 -0
- package/dist/errors/RefNotFoundError.d.ts.map +1 -0
- package/dist/errors/RefNotFoundError.js +8 -0
- package/dist/errors/RefNotFoundError.js.map +1 -0
- package/dist/errors/RepositoryNotFoundError.cjs +8 -0
- package/dist/errors/RepositoryNotFoundError.cjs.map +1 -0
- package/dist/errors/RepositoryNotFoundError.d.cts +7 -0
- package/dist/errors/RepositoryNotFoundError.d.cts.map +1 -0
- package/dist/errors/RepositoryNotFoundError.d.ts +7 -0
- package/dist/errors/RepositoryNotFoundError.d.ts.map +1 -0
- package/dist/errors/RepositoryNotFoundError.js +8 -0
- package/dist/errors/RepositoryNotFoundError.js.map +1 -0
- package/dist/filter.cjs +104 -0
- package/dist/filter.cjs.map +1 -0
- package/dist/filter.d.cts +213 -0
- package/dist/filter.d.cts.map +1 -0
- package/dist/filter.d.ts +213 -0
- package/dist/filter.d.ts.map +1 -0
- package/dist/filter.js +103 -0
- package/dist/filter.js.map +1 -0
- package/dist/getGraphQLEndpoint.cjs +21 -0
- package/dist/getGraphQLEndpoint.cjs.map +1 -0
- package/dist/getGraphQLEndpoint.d.cts +14 -0
- package/dist/getGraphQLEndpoint.d.cts.map +1 -0
- package/dist/getGraphQLEndpoint.d.ts +14 -0
- package/dist/getGraphQLEndpoint.d.ts.map +1 -0
- package/dist/getGraphQLEndpoint.js +21 -0
- package/dist/getGraphQLEndpoint.js.map +1 -0
- package/dist/getRepositoryEndpoint.cjs +30 -0
- package/dist/getRepositoryEndpoint.cjs.map +1 -0
- package/dist/getRepositoryEndpoint.d.cts +23 -0
- package/dist/getRepositoryEndpoint.d.cts.map +1 -0
- package/dist/getRepositoryEndpoint.d.ts +23 -0
- package/dist/getRepositoryEndpoint.d.ts.map +1 -0
- package/dist/getRepositoryEndpoint.js +30 -0
- package/dist/getRepositoryEndpoint.js.map +1 -0
- package/dist/getRepositoryName.cjs +25 -0
- package/dist/getRepositoryName.cjs.map +1 -0
- package/dist/getRepositoryName.d.cts +16 -0
- package/dist/getRepositoryName.d.cts.map +1 -0
- package/dist/getRepositoryName.d.ts +16 -0
- package/dist/getRepositoryName.d.ts.map +1 -0
- package/dist/getRepositoryName.js +25 -0
- package/dist/getRepositoryName.js.map +1 -0
- package/dist/getToolbarSrc.cjs +45 -0
- package/dist/getToolbarSrc.cjs.map +1 -0
- package/dist/getToolbarSrc.d.cts +38 -0
- package/dist/getToolbarSrc.d.cts.map +1 -0
- package/dist/getToolbarSrc.d.ts +38 -0
- package/dist/getToolbarSrc.d.ts.map +1 -0
- package/dist/getToolbarSrc.js +45 -0
- package/dist/getToolbarSrc.js.map +1 -0
- package/dist/helpers/asDate.cjs +39 -0
- package/dist/helpers/asDate.cjs.map +1 -0
- package/dist/helpers/asDate.d.cts +29 -0
- package/dist/helpers/asDate.d.cts.map +1 -0
- package/dist/helpers/asDate.d.ts +29 -0
- package/dist/helpers/asDate.d.ts.map +1 -0
- package/dist/helpers/asDate.js +38 -0
- package/dist/helpers/asDate.js.map +1 -0
- package/dist/helpers/asHTML.cjs +83 -0
- package/dist/helpers/asHTML.cjs.map +1 -0
- package/dist/helpers/asHTML.d.cts +147 -0
- package/dist/helpers/asHTML.d.cts.map +1 -0
- package/dist/helpers/asHTML.d.ts +147 -0
- package/dist/helpers/asHTML.d.ts.map +1 -0
- package/dist/helpers/asHTML.js +83 -0
- package/dist/helpers/asHTML.js.map +1 -0
- package/dist/helpers/asImagePixelDensitySrcSet.cjs +60 -0
- package/dist/helpers/asImagePixelDensitySrcSet.cjs.map +1 -0
- package/dist/helpers/asImagePixelDensitySrcSet.d.cts +59 -0
- package/dist/helpers/asImagePixelDensitySrcSet.d.cts.map +1 -0
- package/dist/helpers/asImagePixelDensitySrcSet.d.ts +59 -0
- package/dist/helpers/asImagePixelDensitySrcSet.d.ts.map +1 -0
- package/dist/helpers/asImagePixelDensitySrcSet.js +60 -0
- package/dist/helpers/asImagePixelDensitySrcSet.js.map +1 -0
- package/dist/helpers/asImageSrc.cjs +33 -0
- package/dist/helpers/asImageSrc.cjs.map +1 -0
- package/dist/helpers/asImageSrc.d.cts +34 -0
- package/dist/helpers/asImageSrc.d.cts.map +1 -0
- package/dist/helpers/asImageSrc.d.ts +34 -0
- package/dist/helpers/asImageSrc.d.ts.map +1 -0
- package/dist/helpers/asImageSrc.js +33 -0
- package/dist/helpers/asImageSrc.js.map +1 -0
- package/dist/helpers/asImageWidthSrcSet.cjs +79 -0
- package/dist/helpers/asImageWidthSrcSet.cjs.map +1 -0
- package/dist/helpers/asImageWidthSrcSet.d.cts +67 -0
- package/dist/helpers/asImageWidthSrcSet.d.cts.map +1 -0
- package/dist/helpers/asImageWidthSrcSet.d.ts +67 -0
- package/dist/helpers/asImageWidthSrcSet.d.ts.map +1 -0
- package/dist/helpers/asImageWidthSrcSet.js +79 -0
- package/dist/helpers/asImageWidthSrcSet.js.map +1 -0
- package/dist/helpers/asLink.cjs +29 -0
- package/dist/helpers/asLink.cjs.map +1 -0
- package/dist/helpers/asLink.d.cts +83 -0
- package/dist/helpers/asLink.d.cts.map +1 -0
- package/dist/helpers/asLink.d.ts +83 -0
- package/dist/helpers/asLink.d.ts.map +1 -0
- package/dist/helpers/asLink.js +29 -0
- package/dist/helpers/asLink.js.map +1 -0
- package/dist/helpers/asLinkAttrs.cjs +47 -0
- package/dist/helpers/asLinkAttrs.cjs.map +1 -0
- package/dist/helpers/asLinkAttrs.d.cts +51 -0
- package/dist/helpers/asLinkAttrs.d.cts.map +1 -0
- package/dist/helpers/asLinkAttrs.d.ts +51 -0
- package/dist/helpers/asLinkAttrs.d.ts.map +1 -0
- package/dist/helpers/asLinkAttrs.js +47 -0
- package/dist/helpers/asLinkAttrs.js.map +1 -0
- package/dist/helpers/asText.cjs +16 -0
- package/dist/helpers/asText.cjs.map +1 -0
- package/dist/helpers/asText.d.cts +62 -0
- package/dist/helpers/asText.d.cts.map +1 -0
- package/dist/helpers/asText.d.ts +62 -0
- package/dist/helpers/asText.d.ts.map +1 -0
- package/dist/helpers/asText.js +16 -0
- package/dist/helpers/asText.js.map +1 -0
- package/dist/helpers/documentToLinkField.cjs +33 -0
- package/dist/helpers/documentToLinkField.cjs.map +1 -0
- package/dist/helpers/documentToLinkField.d.cts +21 -0
- package/dist/helpers/documentToLinkField.d.cts.map +1 -0
- package/dist/helpers/documentToLinkField.d.ts +21 -0
- package/dist/helpers/documentToLinkField.d.ts.map +1 -0
- package/dist/helpers/documentToLinkField.js +33 -0
- package/dist/helpers/documentToLinkField.js.map +1 -0
- package/dist/helpers/isFilled.cjs +250 -0
- package/dist/helpers/isFilled.cjs.map +1 -0
- package/dist/helpers/isFilled.d.cts +199 -0
- package/dist/helpers/isFilled.d.cts.map +1 -0
- package/dist/helpers/isFilled.d.ts +199 -0
- package/dist/helpers/isFilled.d.ts.map +1 -0
- package/dist/helpers/isFilled.js +243 -0
- package/dist/helpers/isFilled.js.map +1 -0
- package/dist/helpers/mapSliceZone.cjs +53 -0
- package/dist/helpers/mapSliceZone.cjs.map +1 -0
- package/dist/helpers/mapSliceZone.d.cts +139 -0
- package/dist/helpers/mapSliceZone.d.cts.map +1 -0
- package/dist/helpers/mapSliceZone.d.ts +139 -0
- package/dist/helpers/mapSliceZone.d.ts.map +1 -0
- package/dist/helpers/mapSliceZone.js +52 -0
- package/dist/helpers/mapSliceZone.js.map +1 -0
- package/dist/index.cjs +117 -3882
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +151 -4394
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.ts +151 -4394
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +63 -0
- package/dist/index.js.map +1 -0
- package/dist/isRepositoryEndpoint.cjs +23 -0
- package/dist/isRepositoryEndpoint.cjs.map +1 -0
- package/dist/isRepositoryEndpoint.d.cts +14 -0
- package/dist/isRepositoryEndpoint.d.cts.map +1 -0
- package/dist/isRepositoryEndpoint.d.ts +14 -0
- package/dist/isRepositoryEndpoint.d.ts.map +1 -0
- package/dist/isRepositoryEndpoint.js +22 -0
- package/dist/isRepositoryEndpoint.js.map +1 -0
- package/dist/isRepositoryName.cjs +17 -0
- package/dist/isRepositoryName.cjs.map +1 -0
- package/dist/isRepositoryName.d.cts +13 -0
- package/dist/isRepositoryName.d.cts.map +1 -0
- package/dist/isRepositoryName.d.ts +13 -0
- package/dist/isRepositoryName.d.ts.map +1 -0
- package/dist/isRepositoryName.js +16 -0
- package/dist/isRepositoryName.js.map +1 -0
- package/dist/lib/appendFilters.cjs +24 -0
- package/dist/lib/appendFilters.cjs.map +1 -0
- package/dist/lib/appendFilters.js +24 -0
- package/dist/lib/appendFilters.js.map +1 -0
- package/dist/lib/castArray.cjs +20 -0
- package/dist/lib/castArray.cjs.map +1 -0
- package/dist/lib/castArray.js +19 -0
- package/dist/lib/castArray.js.map +1 -0
- package/dist/lib/castThunk.cjs +19 -0
- package/dist/lib/castThunk.cjs.map +1 -0
- package/dist/lib/castThunk.js +18 -0
- package/dist/lib/castThunk.js.map +1 -0
- package/dist/lib/devMsg.cjs +25 -0
- package/dist/lib/devMsg.cjs.map +1 -0
- package/dist/lib/devMsg.js +25 -0
- package/dist/lib/devMsg.js.map +1 -0
- package/dist/lib/escapeHTML.cjs +40 -0
- package/dist/lib/escapeHTML.cjs.map +1 -0
- package/dist/lib/escapeHTML.js +39 -0
- package/dist/lib/escapeHTML.js.map +1 -0
- package/dist/lib/everyTagFilter.cjs +19 -0
- package/dist/lib/everyTagFilter.cjs.map +1 -0
- package/dist/lib/everyTagFilter.js +19 -0
- package/dist/lib/everyTagFilter.js.map +1 -0
- package/dist/lib/findMasterRef.cjs +19 -0
- package/dist/lib/findMasterRef.cjs.map +1 -0
- package/dist/lib/findMasterRef.js +19 -0
- package/dist/lib/findMasterRef.js.map +1 -0
- package/dist/lib/findRef.cjs +24 -0
- package/dist/lib/findRef.cjs.map +1 -0
- package/dist/lib/findRef.js +24 -0
- package/dist/lib/findRef.js.map +1 -0
- package/dist/lib/findRefByID.cjs +20 -0
- package/dist/lib/findRefByID.cjs.map +1 -0
- package/dist/lib/findRefByID.js +20 -0
- package/dist/lib/findRefByID.js.map +1 -0
- package/dist/lib/findRefByLabel.cjs +20 -0
- package/dist/lib/findRefByLabel.cjs.map +1 -0
- package/dist/lib/findRefByLabel.js +20 -0
- package/dist/lib/findRefByLabel.js.map +1 -0
- package/dist/lib/getOptionalLinkProperties.cjs +22 -0
- package/dist/lib/getOptionalLinkProperties.cjs.map +1 -0
- package/dist/lib/getOptionalLinkProperties.js +21 -0
- package/dist/lib/getOptionalLinkProperties.js.map +1 -0
- package/dist/lib/getPreviewCookie.cjs +30 -0
- package/dist/lib/getPreviewCookie.cjs.map +1 -0
- package/dist/lib/getPreviewCookie.js +30 -0
- package/dist/lib/getPreviewCookie.js.map +1 -0
- package/dist/lib/isInternalURL.cjs +18 -0
- package/dist/lib/isInternalURL.cjs.map +1 -0
- package/dist/lib/isInternalURL.js +17 -0
- package/dist/lib/isInternalURL.js.map +1 -0
- package/dist/lib/isMigrationValue.cjs +77 -0
- package/dist/lib/isMigrationValue.cjs.map +1 -0
- package/dist/lib/isMigrationValue.js +74 -0
- package/dist/lib/isMigrationValue.js.map +1 -0
- package/dist/lib/isValue.cjs +110 -0
- package/dist/lib/isValue.cjs.map +1 -0
- package/dist/lib/isValue.js +106 -0
- package/dist/lib/isValue.js.map +1 -0
- package/dist/lib/minifyGraphQLQuery.cjs +16 -0
- package/dist/lib/minifyGraphQLQuery.cjs.map +1 -0
- package/dist/lib/minifyGraphQLQuery.js +15 -0
- package/dist/lib/minifyGraphQLQuery.js.map +1 -0
- package/dist/lib/pLimit.cjs +55 -0
- package/dist/lib/pLimit.cjs.map +1 -0
- package/dist/lib/pLimit.js +54 -0
- package/dist/lib/pLimit.js.map +1 -0
- package/dist/lib/request.cjs +60 -0
- package/dist/lib/request.cjs.map +1 -0
- package/dist/lib/request.d.cts +61 -0
- package/dist/lib/request.d.cts.map +1 -0
- package/dist/lib/request.d.ts +61 -0
- package/dist/lib/request.d.ts.map +1 -0
- package/dist/lib/request.js +60 -0
- package/dist/lib/request.js.map +1 -0
- package/dist/lib/resolveMigrationDocumentData.cjs +156 -0
- package/dist/lib/resolveMigrationDocumentData.cjs.map +1 -0
- package/dist/lib/resolveMigrationDocumentData.js +155 -0
- package/dist/lib/resolveMigrationDocumentData.js.map +1 -0
- package/dist/lib/serializerHelpers.cjs +95 -0
- package/dist/lib/serializerHelpers.cjs.map +1 -0
- package/dist/lib/serializerHelpers.js +90 -0
- package/dist/lib/serializerHelpers.js.map +1 -0
- package/dist/lib/someTagsFilter.cjs +19 -0
- package/dist/lib/someTagsFilter.cjs.map +1 -0
- package/dist/lib/someTagsFilter.js +19 -0
- package/dist/lib/someTagsFilter.js.map +1 -0
- package/dist/lib/throttledLog.cjs +28 -0
- package/dist/lib/throttledLog.cjs.map +1 -0
- package/dist/lib/throttledLog.js +27 -0
- package/dist/lib/throttledLog.js.map +1 -0
- package/dist/lib/typeFilter.cjs +17 -0
- package/dist/lib/typeFilter.cjs.map +1 -0
- package/dist/lib/typeFilter.js +17 -0
- package/dist/lib/typeFilter.js.map +1 -0
- package/dist/lib/validateAssetMetadata.cjs +48 -0
- package/dist/lib/validateAssetMetadata.cjs.map +1 -0
- package/dist/lib/validateAssetMetadata.js +48 -0
- package/dist/lib/validateAssetMetadata.js.map +1 -0
- package/dist/package.cjs +19 -0
- package/dist/package.cjs.map +1 -0
- package/dist/package.js +7 -0
- package/dist/package.js.map +1 -0
- package/dist/richtext/asText.cjs +21 -0
- package/dist/richtext/asText.cjs.map +1 -0
- package/dist/richtext/asText.d.cts +18 -0
- package/dist/richtext/asText.d.cts.map +1 -0
- package/dist/richtext/asText.d.ts +18 -0
- package/dist/richtext/asText.d.ts.map +1 -0
- package/dist/richtext/asText.js +20 -0
- package/dist/richtext/asText.js.map +1 -0
- package/dist/richtext/asTree.cjs +122 -0
- package/dist/richtext/asTree.cjs.map +1 -0
- package/dist/richtext/asTree.d.cts +20 -0
- package/dist/richtext/asTree.d.cts.map +1 -0
- package/dist/richtext/asTree.d.ts +20 -0
- package/dist/richtext/asTree.d.ts.map +1 -0
- package/dist/richtext/asTree.js +122 -0
- package/dist/richtext/asTree.js.map +1 -0
- package/dist/richtext/composeSerializers.cjs +31 -0
- package/dist/richtext/composeSerializers.cjs.map +1 -0
- package/dist/richtext/composeSerializers.d.cts +22 -0
- package/dist/richtext/composeSerializers.d.cts.map +1 -0
- package/dist/richtext/composeSerializers.d.ts +22 -0
- package/dist/richtext/composeSerializers.d.ts.map +1 -0
- package/dist/richtext/composeSerializers.js +30 -0
- package/dist/richtext/composeSerializers.js.map +1 -0
- package/dist/richtext/serialize.cjs +35 -0
- package/dist/richtext/serialize.cjs.map +1 -0
- package/dist/richtext/serialize.d.cts +25 -0
- package/dist/richtext/serialize.d.cts.map +1 -0
- package/dist/richtext/serialize.d.ts +25 -0
- package/dist/richtext/serialize.d.ts.map +1 -0
- package/dist/richtext/serialize.js +35 -0
- package/dist/richtext/serialize.js.map +1 -0
- package/dist/richtext/types.cjs +13 -0
- package/dist/richtext/types.cjs.map +1 -0
- package/dist/richtext/types.d.cts +71 -0
- package/dist/richtext/types.d.cts.map +1 -0
- package/dist/richtext/types.d.ts +71 -0
- package/dist/richtext/types.d.ts.map +1 -0
- package/dist/richtext/types.js +13 -0
- package/dist/richtext/types.js.map +1 -0
- package/dist/richtext/wrapMapSerializer.cjs +32 -0
- package/dist/richtext/wrapMapSerializer.cjs.map +1 -0
- package/dist/richtext/wrapMapSerializer.d.cts +21 -0
- package/dist/richtext/wrapMapSerializer.d.cts.map +1 -0
- package/dist/richtext/wrapMapSerializer.d.ts +21 -0
- package/dist/richtext/wrapMapSerializer.d.ts.map +1 -0
- package/dist/richtext/wrapMapSerializer.js +32 -0
- package/dist/richtext/wrapMapSerializer.js.map +1 -0
- package/dist/richtext.cjs +13 -0
- package/dist/richtext.d.cts +8 -0
- package/dist/richtext.d.ts +8 -0
- package/dist/richtext.js +8 -0
- package/dist/types/api/asset/asset.d.cts +97 -0
- package/dist/types/api/asset/asset.d.cts.map +1 -0
- package/dist/types/api/asset/asset.d.ts +97 -0
- package/dist/types/api/asset/asset.d.ts.map +1 -0
- package/dist/types/api/asset/tag.d.cts +35 -0
- package/dist/types/api/asset/tag.d.cts.map +1 -0
- package/dist/types/api/asset/tag.d.ts +35 -0
- package/dist/types/api/asset/tag.d.ts.map +1 -0
- package/dist/types/api/integration.d.cts +34 -0
- package/dist/types/api/integration.d.cts.map +1 -0
- package/dist/types/api/integration.d.ts +34 -0
- package/dist/types/api/integration.d.ts.map +1 -0
- package/dist/types/api/query.d.cts +49 -0
- package/dist/types/api/query.d.cts.map +1 -0
- package/dist/types/api/query.d.ts +49 -0
- package/dist/types/api/query.d.ts.map +1 -0
- package/dist/types/api/ref.d.cts +36 -0
- package/dist/types/api/ref.d.cts.map +1 -0
- package/dist/types/api/ref.d.ts +36 -0
- package/dist/types/api/ref.d.ts.map +1 -0
- package/dist/types/api/release.d.cts +17 -0
- package/dist/types/api/release.d.cts.map +1 -0
- package/dist/types/api/release.d.ts +17 -0
- package/dist/types/api/release.d.ts.map +1 -0
- package/dist/types/api/repository.d.cts +115 -0
- package/dist/types/api/repository.d.cts.map +1 -0
- package/dist/types/api/repository.d.ts +115 -0
- package/dist/types/api/repository.d.ts.map +1 -0
- package/dist/types/api/tags.d.cts +13 -0
- package/dist/types/api/tags.d.cts.map +1 -0
- package/dist/types/api/tags.d.ts +13 -0
- package/dist/types/api/tags.d.ts.map +1 -0
- package/dist/types/migration/Asset.cjs +35 -0
- package/dist/types/migration/Asset.cjs.map +1 -0
- package/dist/types/migration/Asset.d.cts +109 -0
- package/dist/types/migration/Asset.d.cts.map +1 -0
- package/dist/types/migration/Asset.d.ts +109 -0
- package/dist/types/migration/Asset.d.ts.map +1 -0
- package/dist/types/migration/Asset.js +34 -0
- package/dist/types/migration/Asset.js.map +1 -0
- package/dist/types/migration/ContentRelationship.d.cts +15 -0
- package/dist/types/migration/ContentRelationship.d.cts.map +1 -0
- package/dist/types/migration/ContentRelationship.d.ts +15 -0
- package/dist/types/migration/ContentRelationship.d.ts.map +1 -0
- package/dist/types/migration/Document.cjs +51 -0
- package/dist/types/migration/Document.cjs.map +1 -0
- package/dist/types/migration/Document.d.cts +97 -0
- package/dist/types/migration/Document.d.cts.map +1 -0
- package/dist/types/migration/Document.d.ts +97 -0
- package/dist/types/migration/Document.d.ts.map +1 -0
- package/dist/types/migration/Document.js +50 -0
- package/dist/types/migration/Document.js.map +1 -0
- package/dist/types/model/boolean.d.cts +21 -0
- package/dist/types/model/boolean.d.cts.map +1 -0
- package/dist/types/model/boolean.d.ts +21 -0
- package/dist/types/model/boolean.d.ts.map +1 -0
- package/dist/types/model/color.d.cts +19 -0
- package/dist/types/model/color.d.cts.map +1 -0
- package/dist/types/model/color.d.ts +19 -0
- package/dist/types/model/color.d.ts.map +1 -0
- package/dist/types/model/contentRelationship.d.cts +59 -0
- package/dist/types/model/contentRelationship.d.cts.map +1 -0
- package/dist/types/model/contentRelationship.d.ts +59 -0
- package/dist/types/model/contentRelationship.d.ts.map +1 -0
- package/dist/types/model/customType.d.cts +54 -0
- package/dist/types/model/customType.d.cts.map +1 -0
- package/dist/types/model/customType.d.ts +54 -0
- package/dist/types/model/customType.d.ts.map +1 -0
- package/dist/types/model/date.d.cts +20 -0
- package/dist/types/model/date.d.cts.map +1 -0
- package/dist/types/model/date.d.ts +20 -0
- package/dist/types/model/date.d.ts.map +1 -0
- package/dist/types/model/embed.d.cts +19 -0
- package/dist/types/model/embed.d.cts.map +1 -0
- package/dist/types/model/embed.d.ts +19 -0
- package/dist/types/model/embed.d.ts.map +1 -0
- package/dist/types/model/geoPoint.d.cts +18 -0
- package/dist/types/model/geoPoint.d.cts.map +1 -0
- package/dist/types/model/geoPoint.d.ts +18 -0
- package/dist/types/model/geoPoint.d.ts.map +1 -0
- package/dist/types/model/group.d.cts +29 -0
- package/dist/types/model/group.d.cts.map +1 -0
- package/dist/types/model/group.d.ts +29 -0
- package/dist/types/model/group.d.ts.map +1 -0
- package/dist/types/model/image.d.cts +37 -0
- package/dist/types/model/image.d.cts.map +1 -0
- package/dist/types/model/image.d.ts +37 -0
- package/dist/types/model/image.d.ts.map +1 -0
- package/dist/types/model/integration.d.cts +20 -0
- package/dist/types/model/integration.d.cts.map +1 -0
- package/dist/types/model/integration.d.ts +20 -0
- package/dist/types/model/integration.d.ts.map +1 -0
- package/dist/types/model/keyText.d.cts +19 -0
- package/dist/types/model/keyText.d.cts.map +1 -0
- package/dist/types/model/keyText.d.ts +19 -0
- package/dist/types/model/keyText.d.ts.map +1 -0
- package/dist/types/model/link.cjs +16 -0
- package/dist/types/model/link.cjs.map +1 -0
- package/dist/types/model/link.d.cts +34 -0
- package/dist/types/model/link.d.cts.map +1 -0
- package/dist/types/model/link.d.ts +34 -0
- package/dist/types/model/link.d.ts.map +1 -0
- package/dist/types/model/link.js +15 -0
- package/dist/types/model/link.js.map +1 -0
- package/dist/types/model/linkToMedia.d.cts +23 -0
- package/dist/types/model/linkToMedia.d.cts.map +1 -0
- package/dist/types/model/linkToMedia.d.ts +23 -0
- package/dist/types/model/linkToMedia.d.ts.map +1 -0
- package/dist/types/model/number.d.cts +21 -0
- package/dist/types/model/number.d.cts.map +1 -0
- package/dist/types/model/number.d.ts +21 -0
- package/dist/types/model/number.d.ts.map +1 -0
- package/dist/types/model/range.d.cts +20 -0
- package/dist/types/model/range.d.cts.map +1 -0
- package/dist/types/model/range.d.ts +20 -0
- package/dist/types/model/range.d.ts.map +1 -0
- package/dist/types/model/richText.d.cts +43 -0
- package/dist/types/model/richText.d.cts.map +1 -0
- package/dist/types/model/richText.d.ts +43 -0
- package/dist/types/model/richText.d.ts.map +1 -0
- package/dist/types/model/select.d.cts +24 -0
- package/dist/types/model/select.d.cts.map +1 -0
- package/dist/types/model/select.d.ts +24 -0
- package/dist/types/model/select.d.ts.map +1 -0
- package/dist/types/model/separator.d.cts +16 -0
- package/dist/types/model/separator.d.cts.map +1 -0
- package/dist/types/model/separator.d.ts +16 -0
- package/dist/types/model/separator.d.ts.map +1 -0
- package/dist/types/model/sharedSlice.d.cts +22 -0
- package/dist/types/model/sharedSlice.d.cts.map +1 -0
- package/dist/types/model/sharedSlice.d.ts +22 -0
- package/dist/types/model/sharedSlice.d.ts.map +1 -0
- package/dist/types/model/sharedSliceVariation.d.cts +25 -0
- package/dist/types/model/sharedSliceVariation.d.cts.map +1 -0
- package/dist/types/model/sharedSliceVariation.d.ts +25 -0
- package/dist/types/model/sharedSliceVariation.d.ts.map +1 -0
- package/dist/types/model/slice.cjs +15 -0
- package/dist/types/model/slice.cjs.map +1 -0
- package/dist/types/model/slice.d.cts +39 -0
- package/dist/types/model/slice.d.cts.map +1 -0
- package/dist/types/model/slice.d.ts +39 -0
- package/dist/types/model/slice.d.ts.map +1 -0
- package/dist/types/model/slice.js +14 -0
- package/dist/types/model/slice.js.map +1 -0
- package/dist/types/model/sliceZone.cjs +15 -0
- package/dist/types/model/sliceZone.cjs.map +1 -0
- package/dist/types/model/sliceZone.d.cts +47 -0
- package/dist/types/model/sliceZone.d.cts.map +1 -0
- package/dist/types/model/sliceZone.d.ts +47 -0
- package/dist/types/model/sliceZone.d.ts.map +1 -0
- package/dist/types/model/sliceZone.js +14 -0
- package/dist/types/model/sliceZone.js.map +1 -0
- package/dist/types/model/table.d.cts +18 -0
- package/dist/types/model/table.d.cts.map +1 -0
- package/dist/types/model/table.d.ts +18 -0
- package/dist/types/model/table.d.ts.map +1 -0
- package/dist/types/model/timestamp.d.cts +20 -0
- package/dist/types/model/timestamp.d.cts.map +1 -0
- package/dist/types/model/timestamp.d.ts +20 -0
- package/dist/types/model/timestamp.d.ts.map +1 -0
- package/dist/types/model/title.d.cts +13 -0
- package/dist/types/model/title.d.cts.map +1 -0
- package/dist/types/model/title.d.ts +13 -0
- package/dist/types/model/title.d.ts.map +1 -0
- package/dist/types/model/types.cjs +32 -0
- package/dist/types/model/types.cjs.map +1 -0
- package/dist/types/model/types.d.cts +82 -0
- package/dist/types/model/types.d.cts.map +1 -0
- package/dist/types/model/types.d.ts +82 -0
- package/dist/types/model/types.d.ts.map +1 -0
- package/dist/types/model/types.js +31 -0
- package/dist/types/model/types.js.map +1 -0
- package/dist/types/model/uid.d.cts +19 -0
- package/dist/types/model/uid.d.cts.map +1 -0
- package/dist/types/model/uid.d.ts +19 -0
- package/dist/types/model/uid.d.ts.map +1 -0
- package/dist/types/value/boolean.d.cts +10 -0
- package/dist/types/value/boolean.d.cts.map +1 -0
- package/dist/types/value/boolean.d.ts +10 -0
- package/dist/types/value/boolean.d.ts.map +1 -0
- package/dist/types/value/color.d.cts +15 -0
- package/dist/types/value/color.d.cts.map +1 -0
- package/dist/types/value/color.d.ts +15 -0
- package/dist/types/value/color.d.ts.map +1 -0
- package/dist/types/value/contentRelationship.d.cts +37 -0
- package/dist/types/value/contentRelationship.d.cts.map +1 -0
- package/dist/types/value/contentRelationship.d.ts +37 -0
- package/dist/types/value/contentRelationship.d.ts.map +1 -0
- package/dist/types/value/date.d.cts +15 -0
- package/dist/types/value/date.d.cts.map +1 -0
- package/dist/types/value/date.d.ts +15 -0
- package/dist/types/value/date.d.ts.map +1 -0
- package/dist/types/value/document.d.cts +120 -0
- package/dist/types/value/document.d.cts.map +1 -0
- package/dist/types/value/document.d.ts +120 -0
- package/dist/types/value/document.d.ts.map +1 -0
- package/dist/types/value/embed.cjs +17 -0
- package/dist/types/value/embed.cjs.map +1 -0
- package/dist/types/value/embed.d.cts +173 -0
- package/dist/types/value/embed.d.cts.map +1 -0
- package/dist/types/value/embed.d.ts +173 -0
- package/dist/types/value/embed.d.ts.map +1 -0
- package/dist/types/value/embed.js +16 -0
- package/dist/types/value/embed.js.map +1 -0
- package/dist/types/value/geoPoint.d.cts +18 -0
- package/dist/types/value/geoPoint.d.cts.map +1 -0
- package/dist/types/value/geoPoint.d.ts +18 -0
- package/dist/types/value/geoPoint.d.ts.map +1 -0
- package/dist/types/value/group.d.cts +19 -0
- package/dist/types/value/group.d.cts.map +1 -0
- package/dist/types/value/group.d.ts +19 -0
- package/dist/types/value/group.d.ts.map +1 -0
- package/dist/types/value/image.d.cts +53 -0
- package/dist/types/value/image.d.cts.map +1 -0
- package/dist/types/value/image.d.ts +53 -0
- package/dist/types/value/image.d.ts.map +1 -0
- package/dist/types/value/integration.d.cts +22 -0
- package/dist/types/value/integration.d.cts.map +1 -0
- package/dist/types/value/integration.d.ts +22 -0
- package/dist/types/value/integration.d.ts.map +1 -0
- package/dist/types/value/keyText.d.cts +15 -0
- package/dist/types/value/keyText.d.cts.map +1 -0
- package/dist/types/value/keyText.d.ts +15 -0
- package/dist/types/value/keyText.d.ts.map +1 -0
- package/dist/types/value/link.cjs +15 -0
- package/dist/types/value/link.cjs.map +1 -0
- package/dist/types/value/link.d.cts +74 -0
- package/dist/types/value/link.d.cts.map +1 -0
- package/dist/types/value/link.d.ts +74 -0
- package/dist/types/value/link.d.ts.map +1 -0
- package/dist/types/value/link.js +14 -0
- package/dist/types/value/link.js.map +1 -0
- package/dist/types/value/linkToMedia.d.cts +33 -0
- package/dist/types/value/linkToMedia.d.cts.map +1 -0
- package/dist/types/value/linkToMedia.d.ts +33 -0
- package/dist/types/value/linkToMedia.d.ts.map +1 -0
- package/dist/types/value/number.d.cts +15 -0
- package/dist/types/value/number.d.cts.map +1 -0
- package/dist/types/value/number.d.ts +15 -0
- package/dist/types/value/number.d.ts.map +1 -0
- package/dist/types/value/richText.cjs +32 -0
- package/dist/types/value/richText.cjs.map +1 -0
- package/dist/types/value/richText.d.cts +221 -0
- package/dist/types/value/richText.d.cts.map +1 -0
- package/dist/types/value/richText.d.ts +221 -0
- package/dist/types/value/richText.d.ts.map +1 -0
- package/dist/types/value/richText.js +31 -0
- package/dist/types/value/richText.js.map +1 -0
- package/dist/types/value/select.d.cts +16 -0
- package/dist/types/value/select.d.cts.map +1 -0
- package/dist/types/value/select.d.ts +16 -0
- package/dist/types/value/select.d.ts.map +1 -0
- package/dist/types/value/sharedSlice.d.cts +17 -0
- package/dist/types/value/sharedSlice.d.cts.map +1 -0
- package/dist/types/value/sharedSlice.d.ts +17 -0
- package/dist/types/value/sharedSlice.d.ts.map +1 -0
- package/dist/types/value/sharedSliceVariation.d.cts +16 -0
- package/dist/types/value/sharedSliceVariation.d.cts.map +1 -0
- package/dist/types/value/sharedSliceVariation.d.ts +16 -0
- package/dist/types/value/sharedSliceVariation.d.ts.map +1 -0
- package/dist/types/value/slice.d.cts +19 -0
- package/dist/types/value/slice.d.cts.map +1 -0
- package/dist/types/value/slice.d.ts +19 -0
- package/dist/types/value/slice.d.ts.map +1 -0
- package/dist/types/value/sliceZone.d.cts +18 -0
- package/dist/types/value/sliceZone.d.cts.map +1 -0
- package/dist/types/value/sliceZone.d.ts +18 -0
- package/dist/types/value/sliceZone.d.ts.map +1 -0
- package/dist/types/value/table.d.cts +97 -0
- package/dist/types/value/table.d.cts.map +1 -0
- package/dist/types/value/table.d.ts +97 -0
- package/dist/types/value/table.d.ts.map +1 -0
- package/dist/types/value/timestamp.d.cts +13 -0
- package/dist/types/value/timestamp.d.cts.map +1 -0
- package/dist/types/value/timestamp.d.ts +13 -0
- package/dist/types/value/timestamp.d.ts.map +1 -0
- package/dist/types/value/title.d.cts +16 -0
- package/dist/types/value/title.d.cts.map +1 -0
- package/dist/types/value/title.d.ts +16 -0
- package/dist/types/value/title.d.ts.map +1 -0
- package/dist/types/value/types.d.cts +61 -0
- package/dist/types/value/types.d.cts.map +1 -0
- package/dist/types/value/types.d.ts +61 -0
- package/dist/types/value/types.d.ts.map +1 -0
- package/dist/types/webhook/apiUpdate.d.cts +57 -0
- package/dist/types/webhook/apiUpdate.d.cts.map +1 -0
- package/dist/types/webhook/apiUpdate.d.ts +57 -0
- package/dist/types/webhook/apiUpdate.d.ts.map +1 -0
- package/dist/types/webhook/testTrigger.d.cts +15 -0
- package/dist/types/webhook/testTrigger.d.cts.map +1 -0
- package/dist/types/webhook/testTrigger.d.ts +15 -0
- package/dist/types/webhook/testTrigger.d.ts.map +1 -0
- package/dist/types/webhook/types.cjs +15 -0
- package/dist/types/webhook/types.cjs.map +1 -0
- package/dist/types/webhook/types.d.cts +23 -0
- package/dist/types/webhook/types.d.cts.map +1 -0
- package/dist/types/webhook/types.d.ts +23 -0
- package/dist/types/webhook/types.d.ts.map +1 -0
- package/dist/types/webhook/types.js +14 -0
- package/dist/types/webhook/types.js.map +1 -0
- package/package.json +29 -35
- package/src/Client.ts +26 -9
- package/src/WriteClient.ts +28 -36
- package/src/buildQueryURL.ts +4 -1
- package/src/createClient.ts +1 -1
- package/src/helpers/asHTML.ts +4 -4
- package/src/helpers/asImageWidthSrcSet.ts +1 -5
- package/src/helpers/asLink.ts +0 -3
- package/src/helpers/asLinkAttrs.ts +0 -4
- package/src/helpers/mapSliceZone.ts +5 -5
- package/src/index.ts +1 -0
- package/src/lib/isValue.ts +0 -6
- package/src/lib/pLimit.ts +1 -1
- package/src/lib/request.ts +3 -3
- package/src/lib/throttledLog.ts +0 -1
- package/src/types/migration/Document.ts +1 -1
- package/src/types/model/contentRelationship.ts +1 -0
- package/src/types/value/date.ts +1 -1
- package/src/types/value/document.ts +3 -3
- package/src/types/value/timestamp.ts +1 -5
- package/dist/index.d.mts +0 -4424
- package/dist/index.mjs +0 -3837
- package/dist/index.mjs.map +0 -1
- package/dist/richtext/index.cjs +0 -244
- package/dist/richtext/index.cjs.map +0 -1
- package/dist/richtext/index.d.cts +0 -78
- package/dist/richtext/index.d.mts +0 -78
- package/dist/richtext/index.d.ts +0 -78
- package/dist/richtext/index.mjs +0 -237
- package/dist/richtext/index.mjs.map +0 -1
- package/dist/shared/client.TSGr56lO.d.cts +0 -899
- package/dist/shared/client.TSGr56lO.d.mts +0 -899
- package/dist/shared/client.TSGr56lO.d.ts +0 -899
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import { FilledImageFieldImage } from "./types/value/image.cjs";
|
|
2
|
+
import { FilledLinkToMediaField } from "./types/value/linkToMedia.cjs";
|
|
3
|
+
import { PrismicDocument } from "./types/value/document.cjs";
|
|
4
|
+
import { Asset } from "./types/api/asset/asset.cjs";
|
|
5
|
+
import { MigrationContentRelationship } from "./types/migration/ContentRelationship.cjs";
|
|
6
|
+
import { ExistingPrismicDocument, PendingPrismicDocument, PrismicMigrationDocument } from "./types/migration/Document.cjs";
|
|
7
|
+
import { MigrationAssetConfig, PrismicMigrationAsset } from "./types/migration/Asset.cjs";
|
|
8
|
+
|
|
9
|
+
//#region src/Migration.d.ts
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Extracts one or more Prismic document types that match a given Prismic
|
|
13
|
+
* document type. If no matches are found, no extraction is performed and the
|
|
14
|
+
* union of all provided Prismic document types are returned.
|
|
15
|
+
*
|
|
16
|
+
* @typeParam TDocuments - Prismic document types from which to extract.
|
|
17
|
+
* @typeParam TDocumentType - Type(s) to match `TDocuments` against.
|
|
18
|
+
*/
|
|
19
|
+
type ExtractDocumentType<TDocuments extends {
|
|
20
|
+
type: string;
|
|
21
|
+
}, TDocumentType extends TDocuments["type"]> = Extract<TDocuments, {
|
|
22
|
+
type: TDocumentType;
|
|
23
|
+
}> extends never ? TDocuments : Extract<TDocuments, {
|
|
24
|
+
type: TDocumentType;
|
|
25
|
+
}>;
|
|
26
|
+
/**
|
|
27
|
+
* A helper that allows preparing your migration to Prismic.
|
|
28
|
+
*
|
|
29
|
+
* @typeParam TDocuments - Document types that are registered for the Prismic
|
|
30
|
+
* repository. Query methods will automatically be typed based on this type.
|
|
31
|
+
*/
|
|
32
|
+
declare class Migration<TDocuments extends PrismicDocument = PrismicDocument> {
|
|
33
|
+
#private;
|
|
34
|
+
/**
|
|
35
|
+
* Assets registered in the migration.
|
|
36
|
+
*
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
_assets: Map<MigrationAssetConfig["file"], PrismicMigrationAsset>;
|
|
40
|
+
/**
|
|
41
|
+
* Documents registered in the migration.
|
|
42
|
+
*
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
45
|
+
_documents: PrismicMigrationDocument<TDocuments>[];
|
|
46
|
+
/**
|
|
47
|
+
* Registers an asset to be created in the migration from an asset object.
|
|
48
|
+
*
|
|
49
|
+
* @remarks
|
|
50
|
+
* This method does not create the asset in Prismic media library right away.
|
|
51
|
+
* Instead, it registers it in your migration. The asset will be created when
|
|
52
|
+
* the migration is executed through the `writeClient.migrate()` method.
|
|
53
|
+
*
|
|
54
|
+
* @param asset - An asset object from Prismic Asset API.
|
|
55
|
+
*
|
|
56
|
+
* @returns A migration asset field instance.
|
|
57
|
+
*
|
|
58
|
+
* @internal
|
|
59
|
+
*/
|
|
60
|
+
createAsset(asset: Asset): PrismicMigrationAsset;
|
|
61
|
+
/**
|
|
62
|
+
* Registers an asset to be created in the migration from an image or link to
|
|
63
|
+
* media field.
|
|
64
|
+
*
|
|
65
|
+
* @remarks
|
|
66
|
+
* This method does not create the asset in Prismic media library right away.
|
|
67
|
+
* Instead, it registers it in your migration. The asset will be created when
|
|
68
|
+
* the migration is executed through the `writeClient.migrate()` method.
|
|
69
|
+
*
|
|
70
|
+
* @param imageOrLinkToMediaField - An image or link to media field from
|
|
71
|
+
* Prismic Document API.
|
|
72
|
+
*
|
|
73
|
+
* @returns A migration asset field instance.
|
|
74
|
+
*
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
createAsset(imageOrLinkToMediaField: FilledImageFieldImage | FilledLinkToMediaField): PrismicMigrationAsset;
|
|
78
|
+
/**
|
|
79
|
+
* Registers an asset to be created in the migration from a file.
|
|
80
|
+
*
|
|
81
|
+
* @remarks
|
|
82
|
+
* This method does not create the asset in Prismic media library right away.
|
|
83
|
+
* Instead, it registers it in your migration. The asset will be created when
|
|
84
|
+
* the migration is executed through the `writeClient.migrate()` method.
|
|
85
|
+
*
|
|
86
|
+
* @param file - The URL or content of the file to be created.
|
|
87
|
+
* @param filename - The filename of the asset.
|
|
88
|
+
* @param params - Additional asset data.
|
|
89
|
+
*
|
|
90
|
+
* @returns A migration asset field instance.
|
|
91
|
+
*/
|
|
92
|
+
createAsset(file: MigrationAssetConfig["file"], filename: MigrationAssetConfig["filename"], params?: {
|
|
93
|
+
notes?: string;
|
|
94
|
+
credits?: string;
|
|
95
|
+
alt?: string;
|
|
96
|
+
tags?: string[];
|
|
97
|
+
}): PrismicMigrationAsset;
|
|
98
|
+
/**
|
|
99
|
+
* Registers a document to be created in the migration.
|
|
100
|
+
*
|
|
101
|
+
* @remarks
|
|
102
|
+
* This method does not create the document in Prismic right away. Instead, it
|
|
103
|
+
* registers it in your migration. The document will be created when the
|
|
104
|
+
* migration is executed through the `writeClient.migrate()` method.
|
|
105
|
+
*
|
|
106
|
+
* @typeParam TType - Type of the Prismic document to create.
|
|
107
|
+
*
|
|
108
|
+
* @param document - The document to create.
|
|
109
|
+
* @param title - The title of the document to create which will be displayed
|
|
110
|
+
* in the editor.
|
|
111
|
+
* @param params - Document master language document ID.
|
|
112
|
+
*
|
|
113
|
+
* @returns A migration document instance.
|
|
114
|
+
*/
|
|
115
|
+
createDocument<TType extends TDocuments["type"]>(document: ExtractDocumentType<PendingPrismicDocument<TDocuments>, TType>, title: string, params?: {
|
|
116
|
+
masterLanguageDocument?: MigrationContentRelationship;
|
|
117
|
+
}): PrismicMigrationDocument<ExtractDocumentType<TDocuments, TType>>;
|
|
118
|
+
/**
|
|
119
|
+
* Registers an existing document to be updated in the migration.
|
|
120
|
+
*
|
|
121
|
+
* @remarks
|
|
122
|
+
* This method does not update the document in Prismic right away. Instead, it
|
|
123
|
+
* registers it in your migration. The document will be updated when the
|
|
124
|
+
* migration is executed through the `writeClient.migrate()` method.
|
|
125
|
+
*
|
|
126
|
+
* @typeParam TType - Type of Prismic documents to update.
|
|
127
|
+
*
|
|
128
|
+
* @param document - The document to update.
|
|
129
|
+
* @param title - The title of the document to update which will be displayed
|
|
130
|
+
* in the editor.
|
|
131
|
+
*
|
|
132
|
+
* @returns A migration document instance.
|
|
133
|
+
*/
|
|
134
|
+
updateDocument<TType extends TDocuments["type"]>(document: ExtractDocumentType<ExistingPrismicDocument<TDocuments>, TType>, title?: string): PrismicMigrationDocument<ExtractDocumentType<TDocuments, TType>>;
|
|
135
|
+
/**
|
|
136
|
+
* Registers a document from another Prismic repository to be created in the
|
|
137
|
+
* migration.
|
|
138
|
+
*
|
|
139
|
+
* @remarks
|
|
140
|
+
* This method does not create the document in Prismic right away. Instead, it
|
|
141
|
+
* registers it in your migration. The document will be created when the
|
|
142
|
+
* migration is executed through the `writeClient.migrate()` method.
|
|
143
|
+
*
|
|
144
|
+
* @param document - The document from Prismic to create.
|
|
145
|
+
* @param title - The title of the document to create which will be displayed
|
|
146
|
+
* in the editor.
|
|
147
|
+
*
|
|
148
|
+
* @returns A migration document instance.
|
|
149
|
+
*/
|
|
150
|
+
createDocumentFromPrismic<TType extends TDocuments["type"]>(document: ExtractDocumentType<ExistingPrismicDocument<TDocuments>, TType>, title: string): PrismicMigrationDocument<ExtractDocumentType<TDocuments, TType>>;
|
|
151
|
+
/**
|
|
152
|
+
* Queries a document from the migration instance with a specific UID and
|
|
153
|
+
* custom type.
|
|
154
|
+
*
|
|
155
|
+
* @example
|
|
156
|
+
*
|
|
157
|
+
* ```ts
|
|
158
|
+
* const contentRelationship = migration.createContentRelationship(() =>
|
|
159
|
+
* migration.getByUID("blog_post", "my-first-post"),
|
|
160
|
+
* )
|
|
161
|
+
* ```
|
|
162
|
+
*
|
|
163
|
+
* @typeParam TType - Type of the Prismic document returned.
|
|
164
|
+
*
|
|
165
|
+
* @param type - The API ID of the document's custom type.
|
|
166
|
+
* @param uid - The UID of the document.
|
|
167
|
+
*
|
|
168
|
+
* @returns The migration document instance with a UID matching the `uid`
|
|
169
|
+
* parameter, if a matching document is found.
|
|
170
|
+
*/
|
|
171
|
+
getByUID<TType extends TDocuments["type"]>(type: TType, uid: string): PrismicMigrationDocument<ExtractDocumentType<TDocuments, TType>> | undefined;
|
|
172
|
+
/**
|
|
173
|
+
* Queries a singleton document from the migration instance for a specific
|
|
174
|
+
* custom type.
|
|
175
|
+
*
|
|
176
|
+
* @example
|
|
177
|
+
*
|
|
178
|
+
* ```ts
|
|
179
|
+
* const contentRelationship = migration.createContentRelationship(() =>
|
|
180
|
+
* migration.getSingle("settings"),
|
|
181
|
+
* )
|
|
182
|
+
* ```
|
|
183
|
+
*
|
|
184
|
+
* @typeParam TType - Type of the Prismic document returned.
|
|
185
|
+
*
|
|
186
|
+
* @param type - The API ID of the singleton custom type.
|
|
187
|
+
*
|
|
188
|
+
* @returns The migration document instance for the custom type, if a matching
|
|
189
|
+
* document is found.
|
|
190
|
+
*/
|
|
191
|
+
getSingle<TType extends TDocuments["type"]>(type: TType): PrismicMigrationDocument<ExtractDocumentType<TDocuments, TType>> | undefined;
|
|
192
|
+
/**
|
|
193
|
+
* Queries a document from the migration instance for a specific original ID.
|
|
194
|
+
*
|
|
195
|
+
* @example
|
|
196
|
+
*
|
|
197
|
+
* ```ts
|
|
198
|
+
* const contentRelationship = migration.createContentRelationship(() =>
|
|
199
|
+
* migration._getByOriginalID("YhdrDxIAACgAcp_b"),
|
|
200
|
+
* )
|
|
201
|
+
* ```
|
|
202
|
+
*
|
|
203
|
+
* @typeParam TType - Type of the Prismic document returned.
|
|
204
|
+
*
|
|
205
|
+
* @param id - The original ID of the Prismic document.
|
|
206
|
+
*
|
|
207
|
+
* @returns The migration document instance for the original ID, if a matching
|
|
208
|
+
* document is found.
|
|
209
|
+
*
|
|
210
|
+
* @internal
|
|
211
|
+
*/
|
|
212
|
+
_getByOriginalID<TType extends TDocuments["type"]>(id: string): PrismicMigrationDocument<ExtractDocumentType<TDocuments, TType>> | undefined;
|
|
213
|
+
}
|
|
214
|
+
//#endregion
|
|
215
|
+
export { Migration };
|
|
216
|
+
//# sourceMappingURL=Migration.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Migration.d.cts","names":[],"sources":["../src/Migration.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;AAqBuE;;;;;;;;KAWlE,mBAMD,CAAA,mBAAA;EAAO,IAAA,EAAA,MAAA;AAQX,CAAA,EAAA,sBAZuB,UAYD,CAAA,MAAA,CAAA,CAAA,GAVrB,OAUqB,CAVb,UAUa,EAAA;EAAoB,IAAA,EAVb,aAUa;CAAkB,CAAA,SAAA,KAAA,GATxD,UASwD,GARxD,OAQwD,CARhD,UAQgD,EAAA;EAM9C,IAAA,EAdkB,aAclB;CAA8B,CAAA;;;;;;;AA0CO,cAhDtC,SAgDsC,CAAA,mBAhDT,eAgDS,GAhDS,eAgDT,CAAA,CAAA;EAC/C,CAAA,OAAA;EAiBI;;;;;EAwIwB,OAAA,EApMtB,GAoMsB,CApMlB,oBAoMkB,CAAA,MAAA,CAAA,EApMY,qBAoMZ,CAAA;EAAoC;;;;;EAKvC,UAAA,EAlMhB,wBAkMgB,CAlMS,UAkMT,CAAA,EAAA;EAAzB;;;;;;;;;;;;;;EAwDQ,WAAA,CAAA,KAAA,EA1OQ,KA0OR,CAAA,EA1OgB,qBA0OhB;EAEqC;;;;;;;;;;;;;;;;EA6MjB,WAAA,CAAA,uBAAA,EAtaL,qBAsaK,GAtamB,sBAsanB,CAAA,EAra5B,qBAqa4B;EAGiB;;;;;;;;;;;;;;oBAvZzC,wCACI;;;;;MAOR;;;;;;;;;;;;;;;;;;+BA+H0B,8BAClB,oBAAoB,uBAAuB,aAAa;6BAGxC;MAExB,yBAAyB,oBAAoB,YAAY;;;;;;;;;;;;;;;;;+BA0B/B,8BAClB,oBAAoB,wBAAwB,aAAa,yBAGjE,yBAAyB,oBAAoB,YAAY;;;;;;;;;;;;;;;;0CAyBpB,8BAC7B,oBAAoB,wBAAwB,aAAa,wBAEjE,yBAAyB,oBAAoB,YAAY;;;;;;;;;;;;;;;;;;;;;yBAsCrC,0BAChB,qBAGJ,yBAAyB,oBAAoB,YAAY;;;;;;;;;;;;;;;;;;;;0BA8BpC,0BACjB,QAEJ,yBAAyB,oBAAoB,YAAY;;;;;;;;;;;;;;;;;;;;;iCAkI7B,iCAG5B,yBAAyB,oBAAoB,YAAY"}
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import { FilledImageFieldImage } from "./types/value/image.js";
|
|
2
|
+
import { FilledLinkToMediaField } from "./types/value/linkToMedia.js";
|
|
3
|
+
import { PrismicDocument } from "./types/value/document.js";
|
|
4
|
+
import { Asset } from "./types/api/asset/asset.js";
|
|
5
|
+
import { MigrationContentRelationship } from "./types/migration/ContentRelationship.js";
|
|
6
|
+
import { ExistingPrismicDocument, PendingPrismicDocument, PrismicMigrationDocument } from "./types/migration/Document.js";
|
|
7
|
+
import { MigrationAssetConfig, PrismicMigrationAsset } from "./types/migration/Asset.js";
|
|
8
|
+
|
|
9
|
+
//#region src/Migration.d.ts
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Extracts one or more Prismic document types that match a given Prismic
|
|
13
|
+
* document type. If no matches are found, no extraction is performed and the
|
|
14
|
+
* union of all provided Prismic document types are returned.
|
|
15
|
+
*
|
|
16
|
+
* @typeParam TDocuments - Prismic document types from which to extract.
|
|
17
|
+
* @typeParam TDocumentType - Type(s) to match `TDocuments` against.
|
|
18
|
+
*/
|
|
19
|
+
type ExtractDocumentType<TDocuments extends {
|
|
20
|
+
type: string;
|
|
21
|
+
}, TDocumentType extends TDocuments["type"]> = Extract<TDocuments, {
|
|
22
|
+
type: TDocumentType;
|
|
23
|
+
}> extends never ? TDocuments : Extract<TDocuments, {
|
|
24
|
+
type: TDocumentType;
|
|
25
|
+
}>;
|
|
26
|
+
/**
|
|
27
|
+
* A helper that allows preparing your migration to Prismic.
|
|
28
|
+
*
|
|
29
|
+
* @typeParam TDocuments - Document types that are registered for the Prismic
|
|
30
|
+
* repository. Query methods will automatically be typed based on this type.
|
|
31
|
+
*/
|
|
32
|
+
declare class Migration<TDocuments extends PrismicDocument = PrismicDocument> {
|
|
33
|
+
#private;
|
|
34
|
+
/**
|
|
35
|
+
* Assets registered in the migration.
|
|
36
|
+
*
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
_assets: Map<MigrationAssetConfig["file"], PrismicMigrationAsset>;
|
|
40
|
+
/**
|
|
41
|
+
* Documents registered in the migration.
|
|
42
|
+
*
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
45
|
+
_documents: PrismicMigrationDocument<TDocuments>[];
|
|
46
|
+
/**
|
|
47
|
+
* Registers an asset to be created in the migration from an asset object.
|
|
48
|
+
*
|
|
49
|
+
* @remarks
|
|
50
|
+
* This method does not create the asset in Prismic media library right away.
|
|
51
|
+
* Instead, it registers it in your migration. The asset will be created when
|
|
52
|
+
* the migration is executed through the `writeClient.migrate()` method.
|
|
53
|
+
*
|
|
54
|
+
* @param asset - An asset object from Prismic Asset API.
|
|
55
|
+
*
|
|
56
|
+
* @returns A migration asset field instance.
|
|
57
|
+
*
|
|
58
|
+
* @internal
|
|
59
|
+
*/
|
|
60
|
+
createAsset(asset: Asset): PrismicMigrationAsset;
|
|
61
|
+
/**
|
|
62
|
+
* Registers an asset to be created in the migration from an image or link to
|
|
63
|
+
* media field.
|
|
64
|
+
*
|
|
65
|
+
* @remarks
|
|
66
|
+
* This method does not create the asset in Prismic media library right away.
|
|
67
|
+
* Instead, it registers it in your migration. The asset will be created when
|
|
68
|
+
* the migration is executed through the `writeClient.migrate()` method.
|
|
69
|
+
*
|
|
70
|
+
* @param imageOrLinkToMediaField - An image or link to media field from
|
|
71
|
+
* Prismic Document API.
|
|
72
|
+
*
|
|
73
|
+
* @returns A migration asset field instance.
|
|
74
|
+
*
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
createAsset(imageOrLinkToMediaField: FilledImageFieldImage | FilledLinkToMediaField): PrismicMigrationAsset;
|
|
78
|
+
/**
|
|
79
|
+
* Registers an asset to be created in the migration from a file.
|
|
80
|
+
*
|
|
81
|
+
* @remarks
|
|
82
|
+
* This method does not create the asset in Prismic media library right away.
|
|
83
|
+
* Instead, it registers it in your migration. The asset will be created when
|
|
84
|
+
* the migration is executed through the `writeClient.migrate()` method.
|
|
85
|
+
*
|
|
86
|
+
* @param file - The URL or content of the file to be created.
|
|
87
|
+
* @param filename - The filename of the asset.
|
|
88
|
+
* @param params - Additional asset data.
|
|
89
|
+
*
|
|
90
|
+
* @returns A migration asset field instance.
|
|
91
|
+
*/
|
|
92
|
+
createAsset(file: MigrationAssetConfig["file"], filename: MigrationAssetConfig["filename"], params?: {
|
|
93
|
+
notes?: string;
|
|
94
|
+
credits?: string;
|
|
95
|
+
alt?: string;
|
|
96
|
+
tags?: string[];
|
|
97
|
+
}): PrismicMigrationAsset;
|
|
98
|
+
/**
|
|
99
|
+
* Registers a document to be created in the migration.
|
|
100
|
+
*
|
|
101
|
+
* @remarks
|
|
102
|
+
* This method does not create the document in Prismic right away. Instead, it
|
|
103
|
+
* registers it in your migration. The document will be created when the
|
|
104
|
+
* migration is executed through the `writeClient.migrate()` method.
|
|
105
|
+
*
|
|
106
|
+
* @typeParam TType - Type of the Prismic document to create.
|
|
107
|
+
*
|
|
108
|
+
* @param document - The document to create.
|
|
109
|
+
* @param title - The title of the document to create which will be displayed
|
|
110
|
+
* in the editor.
|
|
111
|
+
* @param params - Document master language document ID.
|
|
112
|
+
*
|
|
113
|
+
* @returns A migration document instance.
|
|
114
|
+
*/
|
|
115
|
+
createDocument<TType extends TDocuments["type"]>(document: ExtractDocumentType<PendingPrismicDocument<TDocuments>, TType>, title: string, params?: {
|
|
116
|
+
masterLanguageDocument?: MigrationContentRelationship;
|
|
117
|
+
}): PrismicMigrationDocument<ExtractDocumentType<TDocuments, TType>>;
|
|
118
|
+
/**
|
|
119
|
+
* Registers an existing document to be updated in the migration.
|
|
120
|
+
*
|
|
121
|
+
* @remarks
|
|
122
|
+
* This method does not update the document in Prismic right away. Instead, it
|
|
123
|
+
* registers it in your migration. The document will be updated when the
|
|
124
|
+
* migration is executed through the `writeClient.migrate()` method.
|
|
125
|
+
*
|
|
126
|
+
* @typeParam TType - Type of Prismic documents to update.
|
|
127
|
+
*
|
|
128
|
+
* @param document - The document to update.
|
|
129
|
+
* @param title - The title of the document to update which will be displayed
|
|
130
|
+
* in the editor.
|
|
131
|
+
*
|
|
132
|
+
* @returns A migration document instance.
|
|
133
|
+
*/
|
|
134
|
+
updateDocument<TType extends TDocuments["type"]>(document: ExtractDocumentType<ExistingPrismicDocument<TDocuments>, TType>, title?: string): PrismicMigrationDocument<ExtractDocumentType<TDocuments, TType>>;
|
|
135
|
+
/**
|
|
136
|
+
* Registers a document from another Prismic repository to be created in the
|
|
137
|
+
* migration.
|
|
138
|
+
*
|
|
139
|
+
* @remarks
|
|
140
|
+
* This method does not create the document in Prismic right away. Instead, it
|
|
141
|
+
* registers it in your migration. The document will be created when the
|
|
142
|
+
* migration is executed through the `writeClient.migrate()` method.
|
|
143
|
+
*
|
|
144
|
+
* @param document - The document from Prismic to create.
|
|
145
|
+
* @param title - The title of the document to create which will be displayed
|
|
146
|
+
* in the editor.
|
|
147
|
+
*
|
|
148
|
+
* @returns A migration document instance.
|
|
149
|
+
*/
|
|
150
|
+
createDocumentFromPrismic<TType extends TDocuments["type"]>(document: ExtractDocumentType<ExistingPrismicDocument<TDocuments>, TType>, title: string): PrismicMigrationDocument<ExtractDocumentType<TDocuments, TType>>;
|
|
151
|
+
/**
|
|
152
|
+
* Queries a document from the migration instance with a specific UID and
|
|
153
|
+
* custom type.
|
|
154
|
+
*
|
|
155
|
+
* @example
|
|
156
|
+
*
|
|
157
|
+
* ```ts
|
|
158
|
+
* const contentRelationship = migration.createContentRelationship(() =>
|
|
159
|
+
* migration.getByUID("blog_post", "my-first-post"),
|
|
160
|
+
* )
|
|
161
|
+
* ```
|
|
162
|
+
*
|
|
163
|
+
* @typeParam TType - Type of the Prismic document returned.
|
|
164
|
+
*
|
|
165
|
+
* @param type - The API ID of the document's custom type.
|
|
166
|
+
* @param uid - The UID of the document.
|
|
167
|
+
*
|
|
168
|
+
* @returns The migration document instance with a UID matching the `uid`
|
|
169
|
+
* parameter, if a matching document is found.
|
|
170
|
+
*/
|
|
171
|
+
getByUID<TType extends TDocuments["type"]>(type: TType, uid: string): PrismicMigrationDocument<ExtractDocumentType<TDocuments, TType>> | undefined;
|
|
172
|
+
/**
|
|
173
|
+
* Queries a singleton document from the migration instance for a specific
|
|
174
|
+
* custom type.
|
|
175
|
+
*
|
|
176
|
+
* @example
|
|
177
|
+
*
|
|
178
|
+
* ```ts
|
|
179
|
+
* const contentRelationship = migration.createContentRelationship(() =>
|
|
180
|
+
* migration.getSingle("settings"),
|
|
181
|
+
* )
|
|
182
|
+
* ```
|
|
183
|
+
*
|
|
184
|
+
* @typeParam TType - Type of the Prismic document returned.
|
|
185
|
+
*
|
|
186
|
+
* @param type - The API ID of the singleton custom type.
|
|
187
|
+
*
|
|
188
|
+
* @returns The migration document instance for the custom type, if a matching
|
|
189
|
+
* document is found.
|
|
190
|
+
*/
|
|
191
|
+
getSingle<TType extends TDocuments["type"]>(type: TType): PrismicMigrationDocument<ExtractDocumentType<TDocuments, TType>> | undefined;
|
|
192
|
+
/**
|
|
193
|
+
* Queries a document from the migration instance for a specific original ID.
|
|
194
|
+
*
|
|
195
|
+
* @example
|
|
196
|
+
*
|
|
197
|
+
* ```ts
|
|
198
|
+
* const contentRelationship = migration.createContentRelationship(() =>
|
|
199
|
+
* migration._getByOriginalID("YhdrDxIAACgAcp_b"),
|
|
200
|
+
* )
|
|
201
|
+
* ```
|
|
202
|
+
*
|
|
203
|
+
* @typeParam TType - Type of the Prismic document returned.
|
|
204
|
+
*
|
|
205
|
+
* @param id - The original ID of the Prismic document.
|
|
206
|
+
*
|
|
207
|
+
* @returns The migration document instance for the original ID, if a matching
|
|
208
|
+
* document is found.
|
|
209
|
+
*
|
|
210
|
+
* @internal
|
|
211
|
+
*/
|
|
212
|
+
_getByOriginalID<TType extends TDocuments["type"]>(id: string): PrismicMigrationDocument<ExtractDocumentType<TDocuments, TType>> | undefined;
|
|
213
|
+
}
|
|
214
|
+
//#endregion
|
|
215
|
+
export { Migration };
|
|
216
|
+
//# sourceMappingURL=Migration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Migration.d.ts","names":[],"sources":["../src/Migration.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;AAqBuE;;;;;;;;KAWlE,mBAMD,CAAA,mBAAA;EAAO,IAAA,EAAA,MAAA;AAQX,CAAA,EAAA,sBAZuB,UAYD,CAAA,MAAA,CAAA,CAAA,GAVrB,OAUqB,CAVb,UAUa,EAAA;EAAoB,IAAA,EAVb,aAUa;CAAkB,CAAA,SAAA,KAAA,GATxD,UASwD,GARxD,OAQwD,CARhD,UAQgD,EAAA;EAM9C,IAAA,EAdkB,aAclB;CAA8B,CAAA;;;;;;;AA0CO,cAhDtC,SAgDsC,CAAA,mBAhDT,eAgDS,GAhDS,eAgDT,CAAA,CAAA;EAC/C,CAAA,OAAA;EAiBI;;;;;EAwIwB,OAAA,EApMtB,GAoMsB,CApMlB,oBAoMkB,CAAA,MAAA,CAAA,EApMY,qBAoMZ,CAAA;EAAoC;;;;;EAKvC,UAAA,EAlMhB,wBAkMgB,CAlMS,UAkMT,CAAA,EAAA;EAAzB;;;;;;;;;;;;;;EAwDQ,WAAA,CAAA,KAAA,EA1OQ,KA0OR,CAAA,EA1OgB,qBA0OhB;EAEqC;;;;;;;;;;;;;;;;EA6MjB,WAAA,CAAA,uBAAA,EAtaL,qBAsaK,GAtamB,sBAsanB,CAAA,EAra5B,qBAqa4B;EAGiB;;;;;;;;;;;;;;oBAvZzC,wCACI;;;;;MAOR;;;;;;;;;;;;;;;;;;+BA+H0B,8BAClB,oBAAoB,uBAAuB,aAAa;6BAGxC;MAExB,yBAAyB,oBAAoB,YAAY;;;;;;;;;;;;;;;;;+BA0B/B,8BAClB,oBAAoB,wBAAwB,aAAa,yBAGjE,yBAAyB,oBAAoB,YAAY;;;;;;;;;;;;;;;;0CAyBpB,8BAC7B,oBAAoB,wBAAwB,aAAa,wBAEjE,yBAAyB,oBAAoB,YAAY;;;;;;;;;;;;;;;;;;;;;yBAsCrC,0BAChB,qBAGJ,yBAAyB,oBAAoB,YAAY;;;;;;;;;;;;;;;;;;;;0BA8BpC,0BACjB,QAEJ,yBAAyB,oBAAoB,YAAY;;;;;;;;;;;;;;;;;;;;;iCAkI7B,iCAG5B,yBAAyB,oBAAoB,YAAY"}
|