@rakun-kit/core 1.3.9 → 1.3.11
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/cjs/api/routes/web/page.js +30 -0
- package/dist/cjs/api/routes/web/page.js.map +1 -1
- package/dist/cjs/api/routes/web/seo.js +15 -1
- package/dist/cjs/api/routes/web/seo.js.map +1 -1
- package/dist/cjs/api/utils/populates/populateLinks.js +6 -7
- package/dist/cjs/api/utils/populates/populateLinks.js.map +1 -1
- package/dist/cjs/internal-content-types/Seo.js +2 -1
- package/dist/cjs/internal-content-types/Seo.js.map +1 -1
- package/dist/cjs/internal-content-types/SeoSettings.js +2 -1
- package/dist/cjs/internal-content-types/SeoSettings.js.map +1 -1
- package/dist/cjs/internal-content-types/describeField.js +9 -0
- package/dist/cjs/internal-content-types/describeField.js.map +1 -0
- package/dist/cjs/lib/fields/Field.js.map +1 -1
- package/dist/cjs/schemas/web/page.js +1 -0
- package/dist/cjs/schemas/web/page.js.map +1 -1
- package/dist/esm/api/context.d.ts +1 -1
- package/dist/esm/api/context.js +3 -3
- package/dist/esm/api/operations/catalog.d.ts +2 -2
- package/dist/esm/api/operations/catalog.js +1 -1
- package/dist/esm/api/operations/custom.d.ts +1 -1
- package/dist/esm/api/operations/custom.js +1 -1
- package/dist/esm/api/operations/index.d.ts +94 -92
- package/dist/esm/api/operations/index.d.ts.map +1 -1
- package/dist/esm/api/operations/index.js +8 -8
- package/dist/esm/api/operations/manager-contract.d.ts +65 -65
- package/dist/esm/api/operations/manager-contract.js +5 -5
- package/dist/esm/api/operations/manager.d.ts +66 -66
- package/dist/esm/api/operations/manager.js +51 -51
- package/dist/esm/api/operations/tracing.d.ts +1 -1
- package/dist/esm/api/operations/tracing.js +1 -1
- package/dist/esm/api/operations/types.d.ts +1 -1
- package/dist/esm/api/operations/web-contract.d.ts +21 -19
- package/dist/esm/api/operations/web-contract.d.ts.map +1 -1
- package/dist/esm/api/operations/web-contract.js +3 -3
- package/dist/esm/api/operations/web.d.ts +22 -20
- package/dist/esm/api/operations/web.d.ts.map +1 -1
- package/dist/esm/api/operations/web.js +9 -9
- package/dist/esm/api/proxies/context.d.ts +2 -2
- package/dist/esm/api/proxies/index.d.ts +8 -8
- package/dist/esm/api/proxies/index.js +1 -1
- package/dist/esm/api/routes/manager/apiOperations.d.ts +3 -3
- package/dist/esm/api/routes/manager/apiOperations.js +5 -5
- package/dist/esm/api/routes/manager/auth/accountInfo.d.ts +2 -2
- package/dist/esm/api/routes/manager/auth/accountInfo.js +3 -3
- package/dist/esm/api/routes/manager/auth/deleteSession.d.ts +2 -2
- package/dist/esm/api/routes/manager/auth/deleteSession.js +3 -3
- package/dist/esm/api/routes/manager/auth/getSession.d.ts +5 -5
- package/dist/esm/api/routes/manager/auth/login.d.ts +1 -1
- package/dist/esm/api/routes/manager/auth/login.js +4 -4
- package/dist/esm/api/routes/manager/auth/logout.d.ts +1 -1
- package/dist/esm/api/routes/manager/auth/logout.js +3 -3
- package/dist/esm/api/routes/manager/auth/markTourSeen.d.ts +6 -6
- package/dist/esm/api/routes/manager/auth/markTourSeen.js +3 -3
- package/dist/esm/api/routes/manager/auth/totp/confirmTotp.d.ts +2 -2
- package/dist/esm/api/routes/manager/auth/totp/confirmTotp.js +2 -2
- package/dist/esm/api/routes/manager/auth/totp/enrollTotp.d.ts +1 -1
- package/dist/esm/api/routes/manager/auth/totp/enrollTotp.js +3 -3
- package/dist/esm/api/routes/manager/auth/totp/verifyTotp.d.ts +1 -1
- package/dist/esm/api/routes/manager/auth/totp/verifyTotp.js +3 -3
- package/dist/esm/api/routes/manager/auth/updateAccount.d.ts +6 -6
- package/dist/esm/api/routes/manager/auth/updateAccount.js +3 -3
- package/dist/esm/api/routes/manager/auth/updatePassword.d.ts +2 -2
- package/dist/esm/api/routes/manager/auth/updatePassword.js +3 -3
- package/dist/esm/api/routes/manager/auth/updateTutorialPreferences.d.ts +6 -6
- package/dist/esm/api/routes/manager/auth/updateTutorialPreferences.js +3 -3
- package/dist/esm/api/routes/manager/auth/webauthn/webauthnAuthOptions.js +4 -4
- package/dist/esm/api/routes/manager/auth/webauthn/webauthnAuthVerify.js +4 -4
- package/dist/esm/api/routes/manager/auth/webauthn/webauthnRegisterOptions.d.ts +2 -2
- package/dist/esm/api/routes/manager/auth/webauthn/webauthnRegisterOptions.js +3 -3
- package/dist/esm/api/routes/manager/auth/webauthn/webauthnRegisterVerify.d.ts +1 -1
- package/dist/esm/api/routes/manager/auth/webauthn/webauthnRegisterVerify.js +4 -4
- package/dist/esm/api/routes/manager/backups/create.d.ts +2 -2
- package/dist/esm/api/routes/manager/backups/create.js +2 -2
- package/dist/esm/api/routes/manager/backups/list.d.ts +2 -2
- package/dist/esm/api/routes/manager/backups/list.js +2 -2
- package/dist/esm/api/routes/manager/backups/restore.d.ts +2 -2
- package/dist/esm/api/routes/manager/backups/restore.js +3 -3
- package/dist/esm/api/routes/manager/contentTypes.d.ts +6 -6
- package/dist/esm/api/routes/manager/contentTypes.js +1 -1
- package/dist/esm/api/routes/manager/create.d.ts +4 -4
- package/dist/esm/api/routes/manager/create.js +8 -8
- package/dist/esm/api/routes/manager/delete.d.ts +2 -2
- package/dist/esm/api/routes/manager/delete.js +8 -8
- package/dist/esm/api/routes/manager/duplicate.d.ts +4 -4
- package/dist/esm/api/routes/manager/duplicate.js +5 -5
- package/dist/esm/api/routes/manager/get.d.ts +2 -2
- package/dist/esm/api/routes/manager/get.js +8 -8
- package/dist/esm/api/routes/manager/languages.d.ts +3 -3
- package/dist/esm/api/routes/manager/languages.js +1 -1
- package/dist/esm/api/routes/manager/list.d.ts +2 -2
- package/dist/esm/api/routes/manager/list.js +9 -9
- package/dist/esm/api/routes/manager/literals/list.d.ts +2 -2
- package/dist/esm/api/routes/manager/literals/list.js +5 -5
- package/dist/esm/api/routes/manager/literals/upsert.d.ts +2 -2
- package/dist/esm/api/routes/manager/literals/upsert.js +6 -6
- package/dist/esm/api/routes/manager/media/createFolder.d.ts +2 -2
- package/dist/esm/api/routes/manager/media/createFolder.js +7 -7
- package/dist/esm/api/routes/manager/media/deleteFolder.d.ts +2 -2
- package/dist/esm/api/routes/manager/media/deleteFolder.js +7 -7
- package/dist/esm/api/routes/manager/media/deleteMediaStorage.js +2 -2
- package/dist/esm/api/routes/manager/media/finalizeUpload.d.ts +2 -2
- package/dist/esm/api/routes/manager/media/finalizeUpload.js +10 -10
- package/dist/esm/api/routes/manager/media/getMediaUrl.d.ts +2 -2
- package/dist/esm/api/routes/manager/media/getMediaUrl.js +3 -3
- package/dist/esm/api/routes/manager/media/listFolders.d.ts +2 -2
- package/dist/esm/api/routes/manager/media/listFolders.js +4 -4
- package/dist/esm/api/routes/manager/media/prepareUpload.d.ts +2 -2
- package/dist/esm/api/routes/manager/media/prepareUpload.js +4 -4
- package/dist/esm/api/routes/manager/media/resolveMediaRecordUrls.js +1 -1
- package/dist/esm/api/routes/manager/media/uploadBinary.d.ts +1 -1
- package/dist/esm/api/routes/manager/media/uploadBinary.js +6 -6
- package/dist/esm/api/routes/manager/migrations/list.d.ts +2 -2
- package/dist/esm/api/routes/manager/migrations/list.js +2 -2
- package/dist/esm/api/routes/manager/permissions.d.ts +1 -1
- package/dist/esm/api/routes/manager/permissions.js +2 -2
- package/dist/esm/api/routes/manager/preview/create.d.ts +2 -2
- package/dist/esm/api/routes/manager/preview/create.js +13 -13
- package/dist/esm/api/routes/manager/regenerateRoutes.d.ts +1 -1
- package/dist/esm/api/routes/manager/regenerateRoutes.js +2 -2
- package/dist/esm/api/routes/manager/setDefaultLanguage.d.ts +2 -2
- package/dist/esm/api/routes/manager/setDefaultLanguage.js +4 -4
- package/dist/esm/api/routes/manager/translateDocument.d.ts +2 -2
- package/dist/esm/api/routes/manager/translateDocument.js +10 -10
- package/dist/esm/api/routes/manager/trash.d.ts +2 -2
- package/dist/esm/api/routes/manager/trash.js +6 -6
- package/dist/esm/api/routes/manager/update.d.ts +4 -4
- package/dist/esm/api/routes/manager/update.js +8 -8
- package/dist/esm/api/routes/manager/versions/get.d.ts +2 -2
- package/dist/esm/api/routes/manager/versions/get.js +2 -2
- package/dist/esm/api/routes/manager/versions/list.d.ts +2 -2
- package/dist/esm/api/routes/manager/versions/list.js +2 -2
- package/dist/esm/api/routes/manager/versions/restore.d.ts +2 -2
- package/dist/esm/api/routes/manager/versions/restore.js +4 -4
- package/dist/esm/api/routes/web/page.d.ts +4 -4
- package/dist/esm/api/routes/web/page.d.ts.map +1 -1
- package/dist/esm/api/routes/web/page.js +45 -15
- package/dist/esm/api/routes/web/page.js.map +1 -1
- package/dist/esm/api/routes/web/previewPage.d.ts +7 -6
- package/dist/esm/api/routes/web/previewPage.d.ts.map +1 -1
- package/dist/esm/api/routes/web/previewPage.js +8 -8
- package/dist/esm/api/routes/web/robots.d.ts +1 -1
- package/dist/esm/api/routes/web/robots.js +2 -2
- package/dist/esm/api/routes/web/seo.d.ts +3 -2
- package/dist/esm/api/routes/web/seo.d.ts.map +1 -1
- package/dist/esm/api/routes/web/seo.js +15 -1
- package/dist/esm/api/routes/web/seo.js.map +1 -1
- package/dist/esm/api/routes/web/sitemap.d.ts +1 -1
- package/dist/esm/api/routes/web/sitemap.js +3 -3
- package/dist/esm/api/sessionCookie.d.ts +1 -1
- package/dist/esm/api/utils/checkFailureCase.d.ts +1 -1
- package/dist/esm/api/utils/checkFailureCase.js +1 -1
- package/dist/esm/api/utils/checkOwnership.d.ts +2 -2
- package/dist/esm/api/utils/checkOwnership.js +4 -4
- package/dist/esm/api/utils/checkPermissions.d.ts +2 -2
- package/dist/esm/api/utils/checkPermissions.js +3 -3
- package/dist/esm/api/utils/getLanguages.d.ts +3 -3
- package/dist/esm/api/utils/getLanguages.js +2 -2
- package/dist/esm/api/utils/getLink.d.ts +2 -2
- package/dist/esm/api/utils/getLink.js +4 -4
- package/dist/esm/api/utils/getUser.d.ts +5 -5
- package/dist/esm/api/utils/getUser.js +4 -4
- package/dist/esm/api/utils/index.d.ts +23 -23
- package/dist/esm/api/utils/index.js +23 -23
- package/dist/esm/api/utils/parseId.d.ts +1 -1
- package/dist/esm/api/utils/parseId.js +1 -1
- package/dist/esm/api/utils/passwords.js +1 -1
- package/dist/esm/api/utils/populates/populateLinks.d.ts +2 -2
- package/dist/esm/api/utils/populates/populateLinks.d.ts.map +1 -1
- package/dist/esm/api/utils/populates/populateLinks.js +10 -11
- package/dist/esm/api/utils/populates/populateLinks.js.map +1 -1
- package/dist/esm/api/utils/populates/populateRelations.d.ts +2 -2
- package/dist/esm/api/utils/populates/populateRelations.js +6 -6
- package/dist/esm/api/utils/redirects/resolveRedirect.js +2 -2
- package/dist/esm/api/utils/requireContentType.d.ts +1 -1
- package/dist/esm/api/utils/requireContentType.js +2 -2
- package/dist/esm/api/utils/routes/revalidatePath.js +5 -5
- package/dist/esm/api/utils/routes/routeDefinitions.d.ts +1 -1
- package/dist/esm/api/utils/routes/routeMapHelpers.d.ts +5 -5
- package/dist/esm/api/utils/routes/routeMapHelpers.js +7 -7
- package/dist/esm/api/utils/routes/syncConfiguredRoutes.d.ts +2 -2
- package/dist/esm/api/utils/routes/syncConfiguredRoutes.js +5 -5
- package/dist/esm/api/utils/routes/updateRoutesMap.d.ts +2 -2
- package/dist/esm/api/utils/routes/updateRoutesMap.js +4 -4
- package/dist/esm/api/utils/transformObjectIdsToStrings.js +1 -1
- package/dist/esm/api/utils/transformStringToObjectIds.js +1 -1
- package/dist/esm/api/utils/translate.d.ts +1 -1
- package/dist/esm/api/utils/translate.js +3 -3
- package/dist/esm/api/utils/validateModule.d.ts +1 -1
- package/dist/esm/api/utils/validateModule.js +2 -2
- package/dist/esm/bootstrapState.d.ts +9 -9
- package/dist/esm/client.d.ts +42 -42
- package/dist/esm/client.js +26 -26
- package/dist/esm/contracts.d.ts +38 -38
- package/dist/esm/contracts.js +38 -38
- package/dist/esm/index.d.ts +37 -37
- package/dist/esm/index.js +34 -34
- package/dist/esm/internal-content-types/Backup.d.ts +57 -57
- package/dist/esm/internal-content-types/Backup.js +2 -2
- package/dist/esm/internal-content-types/BackupDocument.d.ts +114 -114
- package/dist/esm/internal-content-types/BackupDocument.js +2 -2
- package/dist/esm/internal-content-types/ContentVersion.d.ts +139 -139
- package/dist/esm/internal-content-types/ContentVersion.js +2 -2
- package/dist/esm/internal-content-types/HelloWorld.d.ts +30 -30
- package/dist/esm/internal-content-types/HelloWorld.js +2 -2
- package/dist/esm/internal-content-types/Language.d.ts +39 -39
- package/dist/esm/internal-content-types/Language.js +2 -2
- package/dist/esm/internal-content-types/LiteralTranslation.d.ts +59 -59
- package/dist/esm/internal-content-types/LiteralTranslation.js +2 -2
- package/dist/esm/internal-content-types/ManagerRole.d.ts +31 -31
- package/dist/esm/internal-content-types/ManagerRole.js +3 -3
- package/dist/esm/internal-content-types/ManagerUser.d.ts +200 -200
- package/dist/esm/internal-content-types/ManagerUser.js +3 -3
- package/dist/esm/internal-content-types/Media.d.ts +261 -261
- package/dist/esm/internal-content-types/Media.js +3 -3
- package/dist/esm/internal-content-types/MediaFolder.d.ts +88 -88
- package/dist/esm/internal-content-types/MediaFolder.js +2 -2
- package/dist/esm/internal-content-types/MfaChallenge.d.ts +532 -532
- package/dist/esm/internal-content-types/MfaChallenge.js +3 -3
- package/dist/esm/internal-content-types/Migration.d.ts +133 -133
- package/dist/esm/internal-content-types/Migration.js +2 -2
- package/dist/esm/internal-content-types/MigrationLock.d.ts +16 -16
- package/dist/esm/internal-content-types/MigrationLock.js +2 -2
- package/dist/esm/internal-content-types/Page.d.ts +1267 -1267
- package/dist/esm/internal-content-types/Page.js +4 -4
- package/dist/esm/internal-content-types/PreviewSnapshot.d.ts +213 -213
- package/dist/esm/internal-content-types/PreviewSnapshot.js +2 -2
- package/dist/esm/internal-content-types/Redirect.d.ts +146 -146
- package/dist/esm/internal-content-types/Redirect.js +2 -2
- package/dist/esm/internal-content-types/RobotsRule.d.ts +103 -103
- package/dist/esm/internal-content-types/RobotsRule.js +2 -2
- package/dist/esm/internal-content-types/Route.d.ts +151 -151
- package/dist/esm/internal-content-types/Route.js +2 -2
- package/dist/esm/internal-content-types/RouteLayoutModule.d.ts +164 -164
- package/dist/esm/internal-content-types/RouteLayoutModule.js +2 -2
- package/dist/esm/internal-content-types/RouteLayoutModuleOverride.d.ts +143 -143
- package/dist/esm/internal-content-types/RouteLayoutModuleOverride.js +2 -2
- package/dist/esm/internal-content-types/RouteMap.d.ts +143 -143
- package/dist/esm/internal-content-types/RouteMap.js +2 -2
- package/dist/esm/internal-content-types/RouteSettings.d.ts +1298 -1298
- package/dist/esm/internal-content-types/RouteSettings.js +3 -3
- package/dist/esm/internal-content-types/SchemaState.d.ts +65 -65
- package/dist/esm/internal-content-types/SchemaState.js +2 -2
- package/dist/esm/internal-content-types/Seo.d.ts +430 -430
- package/dist/esm/internal-content-types/Seo.d.ts.map +1 -1
- package/dist/esm/internal-content-types/Seo.js +4 -3
- package/dist/esm/internal-content-types/Seo.js.map +1 -1
- package/dist/esm/internal-content-types/SeoSettings.d.ts +491 -491
- package/dist/esm/internal-content-types/SeoSettings.d.ts.map +1 -1
- package/dist/esm/internal-content-types/SeoSettings.js +5 -4
- package/dist/esm/internal-content-types/SeoSettings.js.map +1 -1
- package/dist/esm/internal-content-types/Session.d.ts +495 -495
- package/dist/esm/internal-content-types/Session.js +3 -3
- package/dist/esm/internal-content-types/UserMfa.d.ts +464 -464
- package/dist/esm/internal-content-types/UserMfa.js +3 -3
- package/dist/esm/internal-content-types/WebAuthnCredential.d.ts +586 -586
- package/dist/esm/internal-content-types/WebAuthnCredential.js +3 -3
- package/dist/esm/internal-content-types/WebAuthnRegChallenge.d.ts +524 -524
- package/dist/esm/internal-content-types/WebAuthnRegChallenge.js +3 -3
- package/dist/esm/internal-content-types/describeField.d.ts +4 -0
- package/dist/esm/internal-content-types/describeField.d.ts.map +1 -0
- package/dist/esm/internal-content-types/describeField.js +5 -0
- package/dist/esm/internal-content-types/describeField.js.map +1 -0
- package/dist/esm/internal-content-types/index.d.ts +29 -29
- package/dist/esm/internal-content-types/index.js +29 -29
- package/dist/esm/lib/ContentType.d.ts +2 -2
- package/dist/esm/lib/ContentType.js +1 -1
- package/dist/esm/lib/Permissions.d.ts +1 -1
- package/dist/esm/lib/Registry.d.ts +4 -4
- package/dist/esm/lib/Registry.js +1 -1
- package/dist/esm/lib/errors/AppError.d.ts +1 -1
- package/dist/esm/lib/errors/AppError.js +1 -1
- package/dist/esm/lib/errors/index.d.ts +4 -4
- package/dist/esm/lib/errors/index.js +3 -3
- package/dist/esm/lib/errors/throwAppError.d.ts +1 -1
- package/dist/esm/lib/errors/throwAppError.js +3 -3
- package/dist/esm/lib/fields/Boolean.d.ts +1 -1
- package/dist/esm/lib/fields/Boolean.js +1 -1
- package/dist/esm/lib/fields/ContentReference.d.ts +2 -2
- package/dist/esm/lib/fields/ContentReference.js +2 -2
- package/dist/esm/lib/fields/Date.d.ts +1 -1
- package/dist/esm/lib/fields/Date.js +1 -1
- package/dist/esm/lib/fields/Field.d.ts +13 -12
- package/dist/esm/lib/fields/Field.d.ts.map +1 -1
- package/dist/esm/lib/fields/Field.js.map +1 -1
- package/dist/esm/lib/fields/Fields.d.ts +13 -13
- package/dist/esm/lib/fields/Fields.js +13 -13
- package/dist/esm/lib/fields/File.d.ts +1 -1
- package/dist/esm/lib/fields/File.js +2 -2
- package/dist/esm/lib/fields/Iterator.d.ts +2 -2
- package/dist/esm/lib/fields/Iterator.js +3 -3
- package/dist/esm/lib/fields/Link.d.ts +1 -1
- package/dist/esm/lib/fields/Link.js +2 -2
- package/dist/esm/lib/fields/List.d.ts +1 -1
- package/dist/esm/lib/fields/List.js +1 -1
- package/dist/esm/lib/fields/Number.d.ts +1 -1
- package/dist/esm/lib/fields/Number.js +1 -1
- package/dist/esm/lib/fields/Relation.d.ts +3 -3
- package/dist/esm/lib/fields/Relation.js +3 -3
- package/dist/esm/lib/fields/Select.d.ts +1 -1
- package/dist/esm/lib/fields/Select.js +1 -1
- package/dist/esm/lib/fields/SelfRelation.d.ts +1 -1
- package/dist/esm/lib/fields/SelfRelation.js +2 -2
- package/dist/esm/lib/fields/SimpleList.d.ts +1 -1
- package/dist/esm/lib/fields/SimpleList.js +1 -1
- package/dist/esm/lib/fields/String.d.ts +1 -1
- package/dist/esm/lib/fields/String.js +3 -3
- package/dist/esm/lib/fields/index.d.ts +15 -15
- package/dist/esm/lib/fields/index.js +15 -15
- package/dist/esm/lib/types/index.d.ts +2 -2
- package/dist/esm/lib/utils/getListField.d.ts +1 -1
- package/dist/esm/lib/utils/getSchemas.d.ts +1 -1
- package/dist/esm/lib/utils/getTranslation.d.ts +2 -2
- package/dist/esm/lib/utils/getTranslation.js +1 -1
- package/dist/esm/lib/utils/isTranslatableObject.d.ts +1 -1
- package/dist/esm/lib/utils/translateObject.d.ts +2 -2
- package/dist/esm/lib/utils/translateObject.js +3 -3
- package/dist/esm/literals/definitions.d.ts +1 -1
- package/dist/esm/literals/definitions.js +1 -1
- package/dist/esm/literals/index.d.ts +3 -3
- package/dist/esm/literals/index.js +3 -3
- package/dist/esm/literals/manager.d.ts +1 -1
- package/dist/esm/literals/manager.js +1 -1
- package/dist/esm/manager.d.ts +264 -264
- package/dist/esm/manager.js +2 -2
- package/dist/esm/media/imageOptimization.d.ts +1 -1
- package/dist/esm/media/imageOptimization.js +2 -2
- package/dist/esm/media/index.d.ts +4 -4
- package/dist/esm/media/index.js +3 -3
- package/dist/esm/media/mediaService.d.ts +1 -1
- package/dist/esm/orm/backups.js +5 -5
- package/dist/esm/orm/createIndexes.js +2 -2
- package/dist/esm/orm/database.js +3 -3
- package/dist/esm/orm/dbService.d.ts +6 -6
- package/dist/esm/orm/index.d.ts +2 -2
- package/dist/esm/orm/index.js +16 -16
- package/dist/esm/orm/migrations.d.ts +1 -1
- package/dist/esm/orm/migrations.js +4 -4
- package/dist/esm/orm/mongodbPeer.js +1 -1
- package/dist/esm/orm/operations/clear.d.ts +1 -1
- package/dist/esm/orm/operations/clear.js +1 -1
- package/dist/esm/orm/operations/create.d.ts +3 -3
- package/dist/esm/orm/operations/create.js +5 -5
- package/dist/esm/orm/operations/delete.d.ts +3 -3
- package/dist/esm/orm/operations/delete.js +3 -3
- package/dist/esm/orm/operations/find.d.ts +2 -2
- package/dist/esm/orm/operations/find.js +3 -3
- package/dist/esm/orm/operations/findDependencies.d.ts +2 -2
- package/dist/esm/orm/operations/findDependencies.js +4 -4
- package/dist/esm/orm/operations/get.d.ts +3 -3
- package/dist/esm/orm/operations/get.js +3 -3
- package/dist/esm/orm/operations/getAll.d.ts +2 -2
- package/dist/esm/orm/operations/getAll.js +2 -2
- package/dist/esm/orm/operations/list.d.ts +2 -2
- package/dist/esm/orm/operations/list.js +3 -3
- package/dist/esm/orm/operations/update.d.ts +4 -4
- package/dist/esm/orm/operations/update.js +6 -6
- package/dist/esm/orm/operations/updateMany.d.ts +3 -3
- package/dist/esm/orm/operations/updateMany.js +3 -3
- package/dist/esm/orm/operations/upsert.d.ts +3 -3
- package/dist/esm/orm/operations/upsert.js +4 -4
- package/dist/esm/orm/utils/deepDeleteNulls.js +1 -1
- package/dist/esm/orm/utils/parseId.d.ts +1 -1
- package/dist/esm/orm/utils/parseId.js +1 -1
- package/dist/esm/orm/utils/transformObjectIdsToStrings.js +1 -1
- package/dist/esm/orm/utils/transformStringToObjectIds.js +1 -1
- package/dist/esm/orm/versions.d.ts +1 -1
- package/dist/esm/orm/versions.js +7 -7
- package/dist/esm/schemas/manager/literals/upsert.js +1 -1
- package/dist/esm/schemas/manager/media/finalizeUpload.js +1 -1
- package/dist/esm/schemas/manager/media/getMediaUrl.js +1 -1
- package/dist/esm/schemas/manager/media/listFolders.js +1 -1
- package/dist/esm/schemas/web/page.d.ts +30 -28
- package/dist/esm/schemas/web/page.d.ts.map +1 -1
- package/dist/esm/schemas/web/page.js +2 -1
- package/dist/esm/schemas/web/page.js.map +1 -1
- package/dist/esm/schemas/web/previewPage.d.ts +21 -20
- package/dist/esm/schemas/web/previewPage.d.ts.map +1 -1
- package/dist/esm/schemas/web/previewPage.js +1 -1
- package/dist/esm/translation/document.d.ts +3 -3
- package/dist/esm/translation/index.d.ts +4 -4
- package/dist/esm/translation/index.js +3 -3
- package/dist/esm/translation/translationService.d.ts +1 -1
- package/dist/esm/web/client.d.ts +1 -1
- package/dist/esm/web/client.js +1 -1
- package/dist/esm/web/index.d.ts +2 -2
- package/dist/esm/web/index.js +2 -2
- package/dist/esm/web/page.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export { createManagerOperationContracts, } from "./manager-contract
|
|
2
|
-
import { createManagerOperationDefinitions } from "./manager
|
|
3
|
-
export { createWebOperationContracts } from "./web-contract
|
|
4
|
-
import { createWebOperationDefinitions } from "./web
|
|
1
|
+
export { createManagerOperationContracts, } from "./manager-contract";
|
|
2
|
+
import { createManagerOperationDefinitions } from "./manager";
|
|
3
|
+
export { createWebOperationContracts } from "./web-contract";
|
|
4
|
+
import { createWebOperationDefinitions } from "./web";
|
|
5
5
|
export declare const createRakunOperationDefinitions: () => {
|
|
6
|
-
[x: string]: import("./types
|
|
7
|
-
"web.languages": import("./types
|
|
6
|
+
[x: string]: import("./types").AnyRakunOperation;
|
|
7
|
+
"web.languages": import("./types").RakunOperationWithoutInput<{
|
|
8
8
|
code: string;
|
|
9
9
|
name: string;
|
|
10
10
|
default: boolean;
|
|
11
11
|
_type: "Language";
|
|
12
12
|
_id: string;
|
|
13
|
-
parent?: import("
|
|
13
|
+
parent?: import("../..").SelfRelationValue<string> | undefined;
|
|
14
14
|
_schemaVersion?: number | undefined;
|
|
15
|
-
_visibility?: import("
|
|
16
|
-
_visibilityBeforeTrash?: Exclude<import("
|
|
15
|
+
_visibility?: import("../..").DocumentVisibility | undefined;
|
|
16
|
+
_visibilityBeforeTrash?: Exclude<import("../..").DocumentVisibility, "trash"> | undefined;
|
|
17
17
|
_trashed?: boolean | undefined;
|
|
18
18
|
_revision?: number | undefined;
|
|
19
19
|
trashedAt?: Date | undefined;
|
|
20
20
|
createdAt?: Date | undefined;
|
|
21
21
|
updatedAt?: Date | undefined;
|
|
22
22
|
}[], "query", "get", "public">;
|
|
23
|
-
"web.page": import("./types
|
|
23
|
+
"web.page": import("./types").RakunOperationWithInput<{
|
|
24
24
|
path: string;
|
|
25
25
|
search?: string | undefined;
|
|
26
26
|
headers?: Record<string, string> | undefined;
|
|
@@ -141,8 +141,8 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
141
141
|
} | undefined;
|
|
142
142
|
twitterImageAlt?: string | undefined;
|
|
143
143
|
_schemaVersion?: number | undefined;
|
|
144
|
-
_visibility?: import("
|
|
145
|
-
_visibilityBeforeTrash?: Exclude<import("
|
|
144
|
+
_visibility?: import("../..").DocumentVisibility | undefined;
|
|
145
|
+
_visibilityBeforeTrash?: Exclude<import("../..").DocumentVisibility, "trash"> | undefined;
|
|
146
146
|
_trashed?: boolean | undefined;
|
|
147
147
|
_revision?: number | undefined;
|
|
148
148
|
trashedAt?: Date | undefined;
|
|
@@ -152,6 +152,7 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
152
152
|
siteName?: string | undefined;
|
|
153
153
|
siteUrl?: string | undefined;
|
|
154
154
|
twitterSite?: string | undefined;
|
|
155
|
+
alternates?: Record<string, string> | undefined;
|
|
155
156
|
}) | undefined;
|
|
156
157
|
language?: {
|
|
157
158
|
code: string;
|
|
@@ -159,10 +160,10 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
159
160
|
default: boolean;
|
|
160
161
|
_type: "Language";
|
|
161
162
|
_id: string;
|
|
162
|
-
parent?: import("
|
|
163
|
+
parent?: import("../..").SelfRelationValue<string> | undefined;
|
|
163
164
|
_schemaVersion?: number | undefined;
|
|
164
|
-
_visibility?: import("
|
|
165
|
-
_visibilityBeforeTrash?: Exclude<import("
|
|
165
|
+
_visibility?: import("../..").DocumentVisibility | undefined;
|
|
166
|
+
_visibilityBeforeTrash?: Exclude<import("../..").DocumentVisibility, "trash"> | undefined;
|
|
166
167
|
_trashed?: boolean | undefined;
|
|
167
168
|
_revision?: number | undefined;
|
|
168
169
|
trashedAt?: Date | undefined;
|
|
@@ -175,7 +176,7 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
175
176
|
status: number;
|
|
176
177
|
} | undefined;
|
|
177
178
|
}, "query", "get", "public">;
|
|
178
|
-
"web.previewPage": import("./types
|
|
179
|
+
"web.previewPage": import("./types").RakunOperationWithInput<{
|
|
179
180
|
token: string;
|
|
180
181
|
path: string;
|
|
181
182
|
search?: string | undefined;
|
|
@@ -297,8 +298,8 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
297
298
|
} | undefined;
|
|
298
299
|
twitterImageAlt?: string | undefined;
|
|
299
300
|
_schemaVersion?: number | undefined;
|
|
300
|
-
_visibility?: import("
|
|
301
|
-
_visibilityBeforeTrash?: Exclude<import("
|
|
301
|
+
_visibility?: import("../..").DocumentVisibility | undefined;
|
|
302
|
+
_visibilityBeforeTrash?: Exclude<import("../..").DocumentVisibility, "trash"> | undefined;
|
|
302
303
|
_trashed?: boolean | undefined;
|
|
303
304
|
_revision?: number | undefined;
|
|
304
305
|
trashedAt?: Date | undefined;
|
|
@@ -308,6 +309,7 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
308
309
|
siteName?: string | undefined;
|
|
309
310
|
siteUrl?: string | undefined;
|
|
310
311
|
twitterSite?: string | undefined;
|
|
312
|
+
alternates?: Record<string, string> | undefined;
|
|
311
313
|
}) | undefined;
|
|
312
314
|
language?: {
|
|
313
315
|
code: string;
|
|
@@ -315,10 +317,10 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
315
317
|
default: boolean;
|
|
316
318
|
_type: "Language";
|
|
317
319
|
_id: string;
|
|
318
|
-
parent?: import("
|
|
320
|
+
parent?: import("../..").SelfRelationValue<string> | undefined;
|
|
319
321
|
_schemaVersion?: number | undefined;
|
|
320
|
-
_visibility?: import("
|
|
321
|
-
_visibilityBeforeTrash?: Exclude<import("
|
|
322
|
+
_visibility?: import("../..").DocumentVisibility | undefined;
|
|
323
|
+
_visibilityBeforeTrash?: Exclude<import("../..").DocumentVisibility, "trash"> | undefined;
|
|
322
324
|
_trashed?: boolean | undefined;
|
|
323
325
|
_revision?: number | undefined;
|
|
324
326
|
trashedAt?: Date | undefined;
|
|
@@ -331,7 +333,7 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
331
333
|
status: number;
|
|
332
334
|
} | undefined;
|
|
333
335
|
}, "query", "get", "public">;
|
|
334
|
-
"web.sitemap": import("./types
|
|
336
|
+
"web.sitemap": import("./types").RakunOperationWithInput<{
|
|
335
337
|
language?: string | undefined;
|
|
336
338
|
}, {
|
|
337
339
|
languages: {
|
|
@@ -342,13 +344,13 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
342
344
|
lastModified?: Date | undefined;
|
|
343
345
|
}[];
|
|
344
346
|
}, "query", "get", "public">;
|
|
345
|
-
"web.robots": import("./types
|
|
347
|
+
"web.robots": import("./types").RakunOperationWithoutInput<{
|
|
346
348
|
content: string;
|
|
347
349
|
}, "query", "get", "public">;
|
|
348
|
-
"web.test": import("./types
|
|
350
|
+
"web.test": import("./types").RakunOperationWithoutInput<{
|
|
349
351
|
ok: boolean;
|
|
350
352
|
}, "query", "get", "public">;
|
|
351
|
-
"manager.contentTypes": import("./types
|
|
353
|
+
"manager.contentTypes": import("./types").RakunOperationWithoutInput<{
|
|
352
354
|
name: string;
|
|
353
355
|
fields: Record<string, unknown>;
|
|
354
356
|
uniques: string[][];
|
|
@@ -370,51 +372,51 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
370
372
|
}[] | undefined;
|
|
371
373
|
isInternal?: boolean | undefined;
|
|
372
374
|
}[], "query", "get", "auth">;
|
|
373
|
-
"manager.languages": import("./types
|
|
375
|
+
"manager.languages": import("./types").RakunOperationWithoutInput<{
|
|
374
376
|
code: string;
|
|
375
377
|
name: string;
|
|
376
378
|
default: boolean;
|
|
377
379
|
_type: "Language";
|
|
378
380
|
_id: string;
|
|
379
|
-
parent?: import("
|
|
381
|
+
parent?: import("../..").SelfRelationValue<string> | undefined;
|
|
380
382
|
_schemaVersion?: number | undefined;
|
|
381
|
-
_visibility?: import("
|
|
382
|
-
_visibilityBeforeTrash?: Exclude<import("
|
|
383
|
+
_visibility?: import("../..").DocumentVisibility | undefined;
|
|
384
|
+
_visibilityBeforeTrash?: Exclude<import("../..").DocumentVisibility, "trash"> | undefined;
|
|
383
385
|
_trashed?: boolean | undefined;
|
|
384
386
|
_revision?: number | undefined;
|
|
385
387
|
trashedAt?: Date | undefined;
|
|
386
388
|
createdAt?: Date | undefined;
|
|
387
389
|
updatedAt?: Date | undefined;
|
|
388
390
|
}[], "query", "get", "auth">;
|
|
389
|
-
"manager.regenerateRoutes": import("./types
|
|
391
|
+
"manager.regenerateRoutes": import("./types").RakunOperationWithoutInput<{
|
|
390
392
|
ok: boolean;
|
|
391
393
|
}, "mutation", "post", "auth">;
|
|
392
|
-
"manager.create": import("./types
|
|
394
|
+
"manager.create": import("./types").RakunOperationWithInput<{
|
|
393
395
|
contentType: string;
|
|
394
396
|
data: any;
|
|
395
397
|
}, any, "mutation", "post", "auth">;
|
|
396
|
-
"manager.duplicate": import("./types
|
|
398
|
+
"manager.duplicate": import("./types").RakunOperationWithInput<{
|
|
397
399
|
contentType: string;
|
|
398
400
|
id: string;
|
|
399
401
|
}, any, "mutation", "post", "auth">;
|
|
400
|
-
"manager.update": import("./types
|
|
402
|
+
"manager.update": import("./types").RakunOperationWithInput<{
|
|
401
403
|
contentType: string;
|
|
402
404
|
id: string;
|
|
403
405
|
data: any;
|
|
404
406
|
}, any, "mutation", "post", "auth">;
|
|
405
|
-
"manager.delete": import("./types
|
|
407
|
+
"manager.delete": import("./types").RakunOperationWithInput<{
|
|
406
408
|
contentType: string;
|
|
407
409
|
id: string;
|
|
408
410
|
}, any, "mutation", "post", "auth">;
|
|
409
|
-
"manager.trash": import("./types
|
|
411
|
+
"manager.trash": import("./types").RakunOperationWithInput<{
|
|
410
412
|
contentType: string;
|
|
411
413
|
id: string;
|
|
412
414
|
}, any, "mutation", "post", "auth">;
|
|
413
|
-
"manager.get": import("./types
|
|
415
|
+
"manager.get": import("./types").RakunOperationWithInput<{
|
|
414
416
|
contentType: string;
|
|
415
417
|
id: string;
|
|
416
418
|
}, any, "query", "post", "auth">;
|
|
417
|
-
"manager.list": import("./types
|
|
419
|
+
"manager.list": import("./types").RakunOperationWithInput<{
|
|
418
420
|
contentType: string;
|
|
419
421
|
query: {
|
|
420
422
|
filter?: Record<string, any> | undefined;
|
|
@@ -432,13 +434,13 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
432
434
|
_id: string;
|
|
433
435
|
}[];
|
|
434
436
|
}, "query", "post", "auth">;
|
|
435
|
-
"manager.setDefaultLanguage": import("./types
|
|
437
|
+
"manager.setDefaultLanguage": import("./types").RakunOperationWithInput<{
|
|
436
438
|
language: string;
|
|
437
439
|
}, {
|
|
438
440
|
ok: boolean;
|
|
439
441
|
}, "mutation", "post", "auth">;
|
|
440
|
-
"manager.permissions": import("./types
|
|
441
|
-
"manager.backups.list": import("./types
|
|
442
|
+
"manager.permissions": import("./types").RakunOperationWithoutInput<string[], "query", "get", "auth">;
|
|
443
|
+
"manager.backups.list": import("./types").RakunOperationWithoutInput<{
|
|
442
444
|
_id: string;
|
|
443
445
|
contentTypes: string[];
|
|
444
446
|
createdAt: string | Date;
|
|
@@ -448,7 +450,7 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
448
450
|
createdBy?: string | undefined;
|
|
449
451
|
error?: string | undefined;
|
|
450
452
|
}[], "query", "get", "auth">;
|
|
451
|
-
"manager.backups.create": import("./types
|
|
453
|
+
"manager.backups.create": import("./types").RakunOperationWithInput<{
|
|
452
454
|
contentTypes?: string[] | undefined;
|
|
453
455
|
reason?: string | undefined;
|
|
454
456
|
}, {
|
|
@@ -461,7 +463,7 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
461
463
|
createdBy?: string | undefined;
|
|
462
464
|
error?: string | undefined;
|
|
463
465
|
}, "mutation", "post", "auth">;
|
|
464
|
-
"manager.backups.restore": import("./types
|
|
466
|
+
"manager.backups.restore": import("./types").RakunOperationWithInput<{
|
|
465
467
|
backupId: string;
|
|
466
468
|
reason?: string | undefined;
|
|
467
469
|
}, {
|
|
@@ -487,7 +489,7 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
487
489
|
};
|
|
488
490
|
restoredCount: number;
|
|
489
491
|
}, "mutation", "post", "auth">;
|
|
490
|
-
"manager.migrations.list": import("./types
|
|
492
|
+
"manager.migrations.list": import("./types").RakunOperationWithoutInput<{
|
|
491
493
|
states: {
|
|
492
494
|
_id: string;
|
|
493
495
|
contentType: string;
|
|
@@ -516,7 +518,7 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
516
518
|
description?: string | undefined;
|
|
517
519
|
}[];
|
|
518
520
|
}, "query", "get", "auth">;
|
|
519
|
-
"manager.versions.list": import("./types
|
|
521
|
+
"manager.versions.list": import("./types").RakunOperationWithInput<{
|
|
520
522
|
contentType: string;
|
|
521
523
|
documentId: string;
|
|
522
524
|
}, {
|
|
@@ -547,7 +549,7 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
547
549
|
reason?: string | undefined;
|
|
548
550
|
schemaVersion?: number | undefined;
|
|
549
551
|
}[], "query", "post", "auth">;
|
|
550
|
-
"manager.versions.get": import("./types
|
|
552
|
+
"manager.versions.get": import("./types").RakunOperationWithInput<{
|
|
551
553
|
versionId: string;
|
|
552
554
|
}, {
|
|
553
555
|
_id: string;
|
|
@@ -577,7 +579,7 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
577
579
|
reason?: string | undefined;
|
|
578
580
|
schemaVersion?: number | undefined;
|
|
579
581
|
} | null, "query", "post", "auth">;
|
|
580
|
-
"manager.versions.restore": import("./types
|
|
582
|
+
"manager.versions.restore": import("./types").RakunOperationWithInput<{
|
|
581
583
|
versionId: string;
|
|
582
584
|
reason?: string | undefined;
|
|
583
585
|
}, {
|
|
@@ -611,7 +613,7 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
611
613
|
};
|
|
612
614
|
restored: Record<string, unknown>;
|
|
613
615
|
}, "mutation", "post", "auth">;
|
|
614
|
-
"manager.translateDocument": import("./types
|
|
616
|
+
"manager.translateDocument": import("./types").RakunOperationWithInput<{
|
|
615
617
|
contentType: string;
|
|
616
618
|
id: string;
|
|
617
619
|
from: string;
|
|
@@ -628,7 +630,7 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
628
630
|
translatedFields: string[];
|
|
629
631
|
};
|
|
630
632
|
}, "mutation", "post", "auth">;
|
|
631
|
-
"manager.preview.create": import("./types
|
|
633
|
+
"manager.preview.create": import("./types").RakunOperationWithInput<{
|
|
632
634
|
contentType: string;
|
|
633
635
|
data: Record<string, any>;
|
|
634
636
|
documentId?: string | undefined;
|
|
@@ -639,7 +641,7 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
639
641
|
path: string;
|
|
640
642
|
expiresAt: string;
|
|
641
643
|
}, "mutation", "post", "auth">;
|
|
642
|
-
"manager.apiOperations": import("./types
|
|
644
|
+
"manager.apiOperations": import("./types").RakunOperationWithoutInput<{
|
|
643
645
|
name: string;
|
|
644
646
|
path: string;
|
|
645
647
|
kind: "query" | "mutation";
|
|
@@ -649,7 +651,7 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
649
651
|
description?: string | undefined;
|
|
650
652
|
input?: Record<string, unknown> | undefined;
|
|
651
653
|
}[], "query", "get", "auth">;
|
|
652
|
-
"manager.media.prepareUpload": import("./types
|
|
654
|
+
"manager.media.prepareUpload": import("./types").RakunOperationWithInput<{
|
|
653
655
|
fileName: string;
|
|
654
656
|
mime: string;
|
|
655
657
|
size: number;
|
|
@@ -663,7 +665,7 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
663
665
|
access: "public" | "private";
|
|
664
666
|
headers?: Record<string, string> | undefined;
|
|
665
667
|
}, "mutation", "post", "auth">;
|
|
666
|
-
"manager.media.finalizeUpload": import("./types
|
|
668
|
+
"manager.media.finalizeUpload": import("./types").RakunOperationWithInput<{
|
|
667
669
|
key: string;
|
|
668
670
|
access?: "public" | "private" | undefined;
|
|
669
671
|
fileName?: string | undefined;
|
|
@@ -748,7 +750,7 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
748
750
|
path: string;
|
|
749
751
|
} | undefined;
|
|
750
752
|
}, "mutation", "post", "auth">;
|
|
751
|
-
"manager.media.getUrl": import("./types
|
|
753
|
+
"manager.media.getUrl": import("./types").RakunOperationWithInput<{
|
|
752
754
|
key: string;
|
|
753
755
|
access?: "public" | "private" | undefined;
|
|
754
756
|
expiresInSeconds?: number | undefined;
|
|
@@ -759,7 +761,7 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
759
761
|
expiresAt: Date | null;
|
|
760
762
|
isPublic: boolean;
|
|
761
763
|
}, "query", "post", "auth">;
|
|
762
|
-
"manager.media.createFolder": import("./types
|
|
764
|
+
"manager.media.createFolder": import("./types").RakunOperationWithInput<{
|
|
763
765
|
name: string;
|
|
764
766
|
parentId?: string | undefined;
|
|
765
767
|
description?: string | undefined;
|
|
@@ -771,7 +773,7 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
771
773
|
parentId?: string | undefined;
|
|
772
774
|
description?: string | undefined;
|
|
773
775
|
}, "mutation", "post", "auth">;
|
|
774
|
-
"manager.media.listFolders": import("./types
|
|
776
|
+
"manager.media.listFolders": import("./types").RakunOperationWithInput<{
|
|
775
777
|
parentId?: string | undefined;
|
|
776
778
|
}, {
|
|
777
779
|
items: {
|
|
@@ -783,7 +785,7 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
783
785
|
description?: string | undefined;
|
|
784
786
|
}[];
|
|
785
787
|
}, "query", "post", "auth">;
|
|
786
|
-
"manager.media.deleteFolder": import("./types
|
|
788
|
+
"manager.media.deleteFolder": import("./types").RakunOperationWithInput<{
|
|
787
789
|
id: string;
|
|
788
790
|
recursive: true;
|
|
789
791
|
}, {
|
|
@@ -791,7 +793,7 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
791
793
|
deletedFolders: number;
|
|
792
794
|
deletedMedia: number;
|
|
793
795
|
}, "mutation", "post", "auth">;
|
|
794
|
-
"manager.literals.list": import("./types
|
|
796
|
+
"manager.literals.list": import("./types").RakunOperationWithInput<{
|
|
795
797
|
locale?: string | undefined;
|
|
796
798
|
}, {
|
|
797
799
|
defaultLocale: string;
|
|
@@ -820,7 +822,7 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
820
822
|
translation?: string | undefined;
|
|
821
823
|
}[];
|
|
822
824
|
}, "query", "post", "auth">;
|
|
823
|
-
"manager.literals.upsert": import("./types
|
|
825
|
+
"manager.literals.upsert": import("./types").RakunOperationWithInput<{
|
|
824
826
|
key: string;
|
|
825
827
|
locale: string;
|
|
826
828
|
message: string;
|
|
@@ -836,13 +838,13 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
836
838
|
extra: string[];
|
|
837
839
|
};
|
|
838
840
|
}, "mutation", "post", "auth">;
|
|
839
|
-
"manager.auth.updatePassword": import("./types
|
|
841
|
+
"manager.auth.updatePassword": import("./types").RakunOperationWithInput<{
|
|
840
842
|
currentPassword: string;
|
|
841
843
|
newPassword: string;
|
|
842
844
|
}, {
|
|
843
845
|
ok: boolean;
|
|
844
846
|
}, "mutation", "post", "auth">;
|
|
845
|
-
"manager.auth.login": import("./types
|
|
847
|
+
"manager.auth.login": import("./types").RakunOperationWithInput<{
|
|
846
848
|
username: string;
|
|
847
849
|
password: string;
|
|
848
850
|
}, {
|
|
@@ -852,10 +854,10 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
852
854
|
expiresAt: string;
|
|
853
855
|
method: string;
|
|
854
856
|
}, "mutation", "post", "public">;
|
|
855
|
-
"manager.auth.logout": import("./types
|
|
857
|
+
"manager.auth.logout": import("./types").RakunOperationWithoutInput<{
|
|
856
858
|
token: string;
|
|
857
859
|
}, "mutation", "post", "auth">;
|
|
858
|
-
"manager.auth.getSession": import("./types
|
|
860
|
+
"manager.auth.getSession": import("./types").RakunOperationWithoutInput<{
|
|
859
861
|
user: string;
|
|
860
862
|
email: string;
|
|
861
863
|
role: {
|
|
@@ -864,8 +866,8 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
864
866
|
_type: "ManagerRole";
|
|
865
867
|
_id: string;
|
|
866
868
|
_schemaVersion?: number | undefined;
|
|
867
|
-
_visibility?: import("
|
|
868
|
-
_visibilityBeforeTrash?: Exclude<import("
|
|
869
|
+
_visibility?: import("../..").DocumentVisibility | undefined;
|
|
870
|
+
_visibilityBeforeTrash?: Exclude<import("../..").DocumentVisibility, "trash"> | undefined;
|
|
869
871
|
_trashed?: boolean | undefined;
|
|
870
872
|
_revision?: number | undefined;
|
|
871
873
|
trashedAt?: Date | undefined;
|
|
@@ -884,15 +886,15 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
884
886
|
tutorialsPromptedAt?: Date | undefined;
|
|
885
887
|
seenTours?: (string | undefined)[] | undefined;
|
|
886
888
|
_schemaVersion?: number | undefined;
|
|
887
|
-
_visibility?: import("
|
|
888
|
-
_visibilityBeforeTrash?: Exclude<import("
|
|
889
|
+
_visibility?: import("../..").DocumentVisibility | undefined;
|
|
890
|
+
_visibilityBeforeTrash?: Exclude<import("../..").DocumentVisibility, "trash"> | undefined;
|
|
889
891
|
_trashed?: boolean | undefined;
|
|
890
892
|
_revision?: number | undefined;
|
|
891
893
|
trashedAt?: Date | undefined;
|
|
892
894
|
createdAt?: Date | undefined;
|
|
893
895
|
updatedAt?: Date | undefined;
|
|
894
896
|
} | null, "query", "get", "public">;
|
|
895
|
-
"manager.auth.accountInfo": import("./types
|
|
897
|
+
"manager.auth.accountInfo": import("./types").RakunOperationWithoutInput<{
|
|
896
898
|
has2FA: boolean;
|
|
897
899
|
enabled2FA: boolean;
|
|
898
900
|
method2FA: "totp" | "webauthn";
|
|
@@ -903,7 +905,7 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
903
905
|
}[];
|
|
904
906
|
currentSession: string;
|
|
905
907
|
}, "query", "get", "auth">;
|
|
906
|
-
"manager.auth.updateAccount": import("./types
|
|
908
|
+
"manager.auth.updateAccount": import("./types").RakunOperationWithInput<{
|
|
907
909
|
user: string;
|
|
908
910
|
avatarId?: string | null | undefined;
|
|
909
911
|
}, {
|
|
@@ -915,8 +917,8 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
915
917
|
_type: "ManagerRole";
|
|
916
918
|
_id: string;
|
|
917
919
|
_schemaVersion?: number | undefined;
|
|
918
|
-
_visibility?: import("
|
|
919
|
-
_visibilityBeforeTrash?: Exclude<import("
|
|
920
|
+
_visibility?: import("../..").DocumentVisibility | undefined;
|
|
921
|
+
_visibilityBeforeTrash?: Exclude<import("../..").DocumentVisibility, "trash"> | undefined;
|
|
920
922
|
_trashed?: boolean | undefined;
|
|
921
923
|
_revision?: number | undefined;
|
|
922
924
|
trashedAt?: Date | undefined;
|
|
@@ -935,15 +937,15 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
935
937
|
tutorialsPromptedAt?: Date | undefined;
|
|
936
938
|
seenTours?: (string | undefined)[] | undefined;
|
|
937
939
|
_schemaVersion?: number | undefined;
|
|
938
|
-
_visibility?: import("
|
|
939
|
-
_visibilityBeforeTrash?: Exclude<import("
|
|
940
|
+
_visibility?: import("../..").DocumentVisibility | undefined;
|
|
941
|
+
_visibilityBeforeTrash?: Exclude<import("../..").DocumentVisibility, "trash"> | undefined;
|
|
940
942
|
_trashed?: boolean | undefined;
|
|
941
943
|
_revision?: number | undefined;
|
|
942
944
|
trashedAt?: Date | undefined;
|
|
943
945
|
createdAt?: Date | undefined;
|
|
944
946
|
updatedAt?: Date | undefined;
|
|
945
947
|
}, "mutation", "post", "auth">;
|
|
946
|
-
"manager.auth.updateTutorialPreferences": import("./types
|
|
948
|
+
"manager.auth.updateTutorialPreferences": import("./types").RakunOperationWithInput<{
|
|
947
949
|
enabled: boolean;
|
|
948
950
|
}, {
|
|
949
951
|
user: string;
|
|
@@ -954,8 +956,8 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
954
956
|
_type: "ManagerRole";
|
|
955
957
|
_id: string;
|
|
956
958
|
_schemaVersion?: number | undefined;
|
|
957
|
-
_visibility?: import("
|
|
958
|
-
_visibilityBeforeTrash?: Exclude<import("
|
|
959
|
+
_visibility?: import("../..").DocumentVisibility | undefined;
|
|
960
|
+
_visibilityBeforeTrash?: Exclude<import("../..").DocumentVisibility, "trash"> | undefined;
|
|
959
961
|
_trashed?: boolean | undefined;
|
|
960
962
|
_revision?: number | undefined;
|
|
961
963
|
trashedAt?: Date | undefined;
|
|
@@ -974,15 +976,15 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
974
976
|
tutorialsPromptedAt?: Date | undefined;
|
|
975
977
|
seenTours?: (string | undefined)[] | undefined;
|
|
976
978
|
_schemaVersion?: number | undefined;
|
|
977
|
-
_visibility?: import("
|
|
978
|
-
_visibilityBeforeTrash?: Exclude<import("
|
|
979
|
+
_visibility?: import("../..").DocumentVisibility | undefined;
|
|
980
|
+
_visibilityBeforeTrash?: Exclude<import("../..").DocumentVisibility, "trash"> | undefined;
|
|
979
981
|
_trashed?: boolean | undefined;
|
|
980
982
|
_revision?: number | undefined;
|
|
981
983
|
trashedAt?: Date | undefined;
|
|
982
984
|
createdAt?: Date | undefined;
|
|
983
985
|
updatedAt?: Date | undefined;
|
|
984
986
|
}, "mutation", "post", "auth">;
|
|
985
|
-
"manager.auth.markTourSeen": import("./types
|
|
987
|
+
"manager.auth.markTourSeen": import("./types").RakunOperationWithInput<{
|
|
986
988
|
tourId: string;
|
|
987
989
|
}, {
|
|
988
990
|
user: string;
|
|
@@ -993,8 +995,8 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
993
995
|
_type: "ManagerRole";
|
|
994
996
|
_id: string;
|
|
995
997
|
_schemaVersion?: number | undefined;
|
|
996
|
-
_visibility?: import("
|
|
997
|
-
_visibilityBeforeTrash?: Exclude<import("
|
|
998
|
+
_visibility?: import("../..").DocumentVisibility | undefined;
|
|
999
|
+
_visibilityBeforeTrash?: Exclude<import("../..").DocumentVisibility, "trash"> | undefined;
|
|
998
1000
|
_trashed?: boolean | undefined;
|
|
999
1001
|
_revision?: number | undefined;
|
|
1000
1002
|
trashedAt?: Date | undefined;
|
|
@@ -1013,29 +1015,29 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
1013
1015
|
tutorialsPromptedAt?: Date | undefined;
|
|
1014
1016
|
seenTours?: (string | undefined)[] | undefined;
|
|
1015
1017
|
_schemaVersion?: number | undefined;
|
|
1016
|
-
_visibility?: import("
|
|
1017
|
-
_visibilityBeforeTrash?: Exclude<import("
|
|
1018
|
+
_visibility?: import("../..").DocumentVisibility | undefined;
|
|
1019
|
+
_visibilityBeforeTrash?: Exclude<import("../..").DocumentVisibility, "trash"> | undefined;
|
|
1018
1020
|
_trashed?: boolean | undefined;
|
|
1019
1021
|
_revision?: number | undefined;
|
|
1020
1022
|
trashedAt?: Date | undefined;
|
|
1021
1023
|
createdAt?: Date | undefined;
|
|
1022
1024
|
updatedAt?: Date | undefined;
|
|
1023
1025
|
}, "mutation", "post", "auth">;
|
|
1024
|
-
"manager.auth.deleteSession": import("./types
|
|
1026
|
+
"manager.auth.deleteSession": import("./types").RakunOperationWithInput<{
|
|
1025
1027
|
token: string;
|
|
1026
1028
|
}, {
|
|
1027
1029
|
ok: boolean;
|
|
1028
1030
|
}, "mutation", "post", "auth">;
|
|
1029
|
-
"manager.auth.totp.enroll": import("./types
|
|
1031
|
+
"manager.auth.totp.enroll": import("./types").RakunOperationWithoutInput<{
|
|
1030
1032
|
qrDataURL: string;
|
|
1031
1033
|
otpauthURL: string;
|
|
1032
1034
|
}, "query", "get", "auth">;
|
|
1033
|
-
"manager.auth.totp.confirm": import("./types
|
|
1035
|
+
"manager.auth.totp.confirm": import("./types").RakunOperationWithInput<{
|
|
1034
1036
|
code: string;
|
|
1035
1037
|
}, {
|
|
1036
1038
|
ok: boolean;
|
|
1037
1039
|
}, "mutation", "post", "auth">;
|
|
1038
|
-
"manager.auth.totp.verify": import("./types
|
|
1040
|
+
"manager.auth.totp.verify": import("./types").RakunOperationWithInput<{
|
|
1039
1041
|
code: string;
|
|
1040
1042
|
challenge: string;
|
|
1041
1043
|
}, {
|
|
@@ -1043,32 +1045,32 @@ export declare const createRakunOperationDefinitions: () => {
|
|
|
1043
1045
|
} | {
|
|
1044
1046
|
error: string;
|
|
1045
1047
|
}, "mutation", "post", "public">;
|
|
1046
|
-
"manager.auth.webauthn.register.options": import("./types
|
|
1048
|
+
"manager.auth.webauthn.register.options": import("./types").RakunOperationWithInput<{
|
|
1047
1049
|
deviceName: string;
|
|
1048
1050
|
}, {
|
|
1049
1051
|
token: string;
|
|
1050
1052
|
options: any;
|
|
1051
1053
|
}, "query", "post", "auth">;
|
|
1052
|
-
"manager.auth.webauthn.register.verify": import("./types
|
|
1054
|
+
"manager.auth.webauthn.register.verify": import("./types").RakunOperationWithInput<{
|
|
1053
1055
|
token: string;
|
|
1054
1056
|
deviceName: string;
|
|
1055
1057
|
response: any;
|
|
1056
1058
|
}, {
|
|
1057
1059
|
ok: boolean;
|
|
1058
1060
|
}, "mutation", "post", "auth">;
|
|
1059
|
-
"manager.auth.webauthn.auth.options": import("./types
|
|
1061
|
+
"manager.auth.webauthn.auth.options": import("./types").RakunOperationWithInput<{
|
|
1060
1062
|
challengeToken: string;
|
|
1061
1063
|
}, {
|
|
1062
1064
|
options: any;
|
|
1063
1065
|
}, "query", "post", "public">;
|
|
1064
|
-
"manager.auth.webauthn.auth.verify": import("./types
|
|
1066
|
+
"manager.auth.webauthn.auth.verify": import("./types").RakunOperationWithInput<{
|
|
1065
1067
|
challengeToken: string;
|
|
1066
1068
|
response: any;
|
|
1067
1069
|
}, {
|
|
1068
1070
|
token: string;
|
|
1069
1071
|
}, "mutation", "post", "public">;
|
|
1070
|
-
} & import("./types
|
|
1072
|
+
} & import("./types").RakunOperationMap;
|
|
1071
1073
|
export { createManagerOperationDefinitions, createWebOperationDefinitions };
|
|
1072
|
-
export { getCustomApiOperationDefinitions, mergeOperationMaps, type RakunOperationNamespace, } from "./custom
|
|
1073
|
-
export { type AnyRakunOperation, type AnyRakunOperationContract, createOperationManifest, createOperationPath, defineOperation, defineOperationContract, mergeOperationContracts, type RakunOperationAccess, type RakunOperationContractDefinition, type RakunOperationContractMap, type RakunOperationDefinitionFromContract, type RakunOperationDefinition, type RakunOperationHttpMethod, type RakunOperationImplementationFromContract, type RakunOperationImplementationMap, type RakunOperationKind, type RakunOperationManifestFromContracts, type RakunOperationMeta, type RakunOperationMap, type RakunOperationSuccessArgs, } from "./types
|
|
1074
|
+
export { getCustomApiOperationDefinitions, mergeOperationMaps, type RakunOperationNamespace, } from "./custom";
|
|
1075
|
+
export { type AnyRakunOperation, type AnyRakunOperationContract, createOperationManifest, createOperationPath, defineOperation, defineOperationContract, mergeOperationContracts, type RakunOperationAccess, type RakunOperationContractDefinition, type RakunOperationContractMap, type RakunOperationDefinitionFromContract, type RakunOperationDefinition, type RakunOperationHttpMethod, type RakunOperationImplementationFromContract, type RakunOperationImplementationMap, type RakunOperationKind, type RakunOperationManifestFromContracts, type RakunOperationMeta, type RakunOperationMap, type RakunOperationSuccessArgs, } from "./types";
|
|
1074
1076
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/operations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,+BAA+B,GAChC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,iCAAiC,EAAE,MAAM,WAAW,CAAC;AAC9D,OAAO,EAAE,2BAA2B,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAE,6BAA6B,EAAE,MAAM,OAAO,CAAC;AAOtD,eAAO,MAAM,+BAA+B
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/operations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,+BAA+B,GAChC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,iCAAiC,EAAE,MAAM,WAAW,CAAC;AAC9D,OAAO,EAAE,2BAA2B,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAE,6BAA6B,EAAE,MAAM,OAAO,CAAC;AAOtD,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCAY3C,CAAC;AAEF,OAAO,EAAE,iCAAiC,EAAE,6BAA6B,EAAE,CAAC;AAC5E,OAAO,EACL,gCAAgC,EAChC,kBAAkB,EAClB,KAAK,uBAAuB,GAC7B,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,uBAAuB,EACvB,mBAAmB,EACnB,eAAe,EACf,uBAAuB,EACvB,uBAAuB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gCAAgC,EACrC,KAAK,yBAAyB,EAC9B,KAAK,oCAAoC,EACzC,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,wCAAwC,EAC7C,KAAK,+BAA+B,EACpC,KAAK,kBAAkB,EACvB,KAAK,mCAAmC,EACxC,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,GAC/B,MAAM,SAAS,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { createManagerOperationContracts, } from "./manager-contract
|
|
2
|
-
import { createManagerOperationDefinitions } from "./manager
|
|
3
|
-
export { createWebOperationContracts } from "./web-contract
|
|
4
|
-
import { createWebOperationDefinitions } from "./web
|
|
5
|
-
import { getCustomApiOperationDefinitions, mergeOperationMaps, } from "./custom
|
|
6
|
-
import { traceOperationMap } from "./tracing
|
|
1
|
+
export { createManagerOperationContracts, } from "./manager-contract";
|
|
2
|
+
import { createManagerOperationDefinitions } from "./manager";
|
|
3
|
+
export { createWebOperationContracts } from "./web-contract";
|
|
4
|
+
import { createWebOperationDefinitions } from "./web";
|
|
5
|
+
import { getCustomApiOperationDefinitions, mergeOperationMaps, } from "./custom";
|
|
6
|
+
import { traceOperationMap } from "./tracing";
|
|
7
7
|
export const createRakunOperationDefinitions = () => {
|
|
8
8
|
const coreOperations = {
|
|
9
9
|
...createManagerOperationDefinitions(),
|
|
@@ -12,6 +12,6 @@ export const createRakunOperationDefinitions = () => {
|
|
|
12
12
|
return traceOperationMap(mergeOperationMaps(coreOperations, getCustomApiOperationDefinitions("unscoped")));
|
|
13
13
|
};
|
|
14
14
|
export { createManagerOperationDefinitions, createWebOperationDefinitions };
|
|
15
|
-
export { getCustomApiOperationDefinitions, mergeOperationMaps, } from "./custom
|
|
16
|
-
export { createOperationManifest, createOperationPath, defineOperation, defineOperationContract, mergeOperationContracts, } from "./types
|
|
15
|
+
export { getCustomApiOperationDefinitions, mergeOperationMaps, } from "./custom";
|
|
16
|
+
export { createOperationManifest, createOperationPath, defineOperation, defineOperationContract, mergeOperationContracts, } from "./types";
|
|
17
17
|
//# sourceMappingURL=index.js.map
|