@rakun-kit/core 1.4.0 → 1.4.1
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/manager/backups/restore.js +2 -0
- package/dist/cjs/api/routes/manager/backups/restore.js.map +1 -1
- package/dist/cjs/client.js +4 -1
- package/dist/cjs/client.js.map +1 -1
- package/dist/cjs/index.js +4 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/internal-content-types/ManagerRoleHooks.js +47 -0
- package/dist/cjs/internal-content-types/ManagerRoleHooks.js.map +1 -0
- package/dist/cjs/internal-content-types/syncAdminRole.js +16 -0
- package/dist/cjs/internal-content-types/syncAdminRole.js.map +1 -0
- package/dist/cjs/lib/ManagerRolePolicy.js +7 -0
- package/dist/cjs/lib/ManagerRolePolicy.js.map +1 -0
- package/dist/cjs/lib/Permissions.js +4 -0
- package/dist/cjs/lib/Permissions.js.map +1 -1
- package/dist/cjs/orm/index.js +1 -1
- package/dist/cjs/orm/index.js.map +1 -1
- package/dist/cjs/orm/operations/clear.js +3 -4
- package/dist/cjs/orm/operations/clear.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/hooks/context.d.ts +1 -1
- package/dist/esm/api/hooks/runContentHooks.d.ts +4 -4
- package/dist/esm/api/hooks/runContentHooks.js +1 -1
- 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 +149 -149
- package/dist/esm/api/operations/index.js +8 -8
- package/dist/esm/api/operations/manager-contract.d.ts +117 -117
- package/dist/esm/api/operations/manager-contract.js +5 -5
- package/dist/esm/api/operations/manager.d.ts +118 -118
- package/dist/esm/api/operations/manager.js +56 -56
- 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 +24 -24
- package/dist/esm/api/operations/web-contract.js +3 -3
- package/dist/esm/api/operations/web.d.ts +25 -25
- package/dist/esm/api/operations/web.js +9 -9
- 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 +7 -7
- package/dist/esm/api/routes/manager/auth/login.d.ts +2 -2
- package/dist/esm/api/routes/manager/auth/login.js +6 -6
- 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 +8 -8
- 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 +5 -5
- package/dist/esm/api/routes/manager/auth/updateAccount.d.ts +8 -8
- 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 +5 -5
- package/dist/esm/api/routes/manager/auth/updateTutorialPreferences.d.ts +8 -8
- 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 +6 -6
- 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.d.ts.map +1 -1
- package/dist/esm/api/routes/manager/backups/restore.js +5 -3
- package/dist/esm/api/routes/manager/backups/restore.js.map +1 -1
- package/dist/esm/api/routes/manager/comments.d.ts +2 -2
- package/dist/esm/api/routes/manager/comments.js +6 -6
- package/dist/esm/api/routes/manager/contentType.d.ts +10 -10
- package/dist/esm/api/routes/manager/contentType.js +3 -3
- package/dist/esm/api/routes/manager/contentTypes.d.ts +8 -8
- package/dist/esm/api/routes/manager/contentTypes.js +1 -1
- package/dist/esm/api/routes/manager/create.d.ts +5 -5
- package/dist/esm/api/routes/manager/create.js +9 -9
- package/dist/esm/api/routes/manager/delete.d.ts +2 -2
- package/dist/esm/api/routes/manager/delete.js +9 -9
- package/dist/esm/api/routes/manager/duplicate.d.ts +5 -5
- package/dist/esm/api/routes/manager/duplicate.js +5 -5
- package/dist/esm/api/routes/manager/favorites.d.ts +2 -2
- package/dist/esm/api/routes/manager/favorites.js +5 -5
- package/dist/esm/api/routes/manager/get.d.ts +2 -2
- package/dist/esm/api/routes/manager/get.js +9 -9
- package/dist/esm/api/routes/manager/languages.d.ts +4 -4
- 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 +13 -13
- 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/localeVariants.d.ts +18 -18
- package/dist/esm/api/routes/manager/localeVariants.js +15 -15
- 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 +11 -11
- package/dist/esm/api/routes/manager/media/getMediaUrl.d.ts +2 -2
- package/dist/esm/api/routes/manager/media/getMediaUrl.js +6 -6
- 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 +3 -3
- package/dist/esm/api/routes/manager/media/prepareUpload.js +5 -5
- 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 +7 -7
- 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 +14 -14
- 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 +5 -5
- package/dist/esm/api/routes/manager/translateDocument.d.ts +2 -2
- package/dist/esm/api/routes/manager/translateDocument.js +9 -9
- package/dist/esm/api/routes/manager/trash.d.ts +2 -2
- package/dist/esm/api/routes/manager/trash.js +7 -7
- package/dist/esm/api/routes/manager/update.d.ts +5 -5
- package/dist/esm/api/routes/manager/update.js +8 -8
- package/dist/esm/api/routes/manager/users.d.ts +2 -2
- package/dist/esm/api/routes/manager/users.js +2 -2
- 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.js +16 -16
- package/dist/esm/api/routes/web/previewPage.d.ts +8 -8
- 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 +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/authRateLimit.d.ts +1 -1
- package/dist/esm/api/utils/authRateLimit.js +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 +5 -5
- package/dist/esm/api/utils/checkPermissions.d.ts +2 -2
- package/dist/esm/api/utils/checkPermissions.js +3 -3
- package/dist/esm/api/utils/dynamicData.d.ts +4 -4
- package/dist/esm/api/utils/dynamicData.js +9 -9
- package/dist/esm/api/utils/getLanguages.d.ts +2 -2
- 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 +5 -5
- package/dist/esm/api/utils/getUser.d.ts +7 -7
- package/dist/esm/api/utils/getUser.js +4 -4
- package/dist/esm/api/utils/index.d.ts +24 -24
- package/dist/esm/api/utils/index.js +24 -24
- package/dist/esm/api/utils/localeVariants.d.ts +1 -1
- package/dist/esm/api/utils/localeVariants.js +5 -5
- package/dist/esm/api/utils/mediaUploadToken.d.ts +1 -1
- 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.js +4 -4
- 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 +6 -6
- package/dist/esm/api/utils/routes/routeMapHelpers.js +8 -8
- 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 +5 -5
- package/dist/esm/api/utils/safeManagerQuery.d.ts +2 -2
- package/dist/esm/api/utils/safeManagerQuery.js +1 -1
- package/dist/esm/api/utils/sanitizeManagerOutput.d.ts +1 -1
- package/dist/esm/api/utils/sanitizeManagerOutput.js +1 -1
- 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 +50 -49
- package/dist/esm/client.d.ts.map +1 -1
- package/dist/esm/client.js +30 -29
- package/dist/esm/client.js.map +1 -1
- package/dist/esm/contracts.d.ts +43 -43
- package/dist/esm/contracts.js +43 -43
- package/dist/esm/index.d.ts +41 -41
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +44 -40
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/internal-content-types/ApiOperation.d.ts +114 -114
- package/dist/esm/internal-content-types/ApiOperation.js +2 -2
- 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/ContentComment.d.ts +788 -788
- package/dist/esm/internal-content-types/ContentComment.js +3 -3
- 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/ManagerFavorite.d.ts +547 -547
- package/dist/esm/internal-content-types/ManagerFavorite.js +3 -3
- package/dist/esm/internal-content-types/ManagerRole.d.ts +33 -33
- package/dist/esm/internal-content-types/ManagerRole.js +2 -2
- package/dist/esm/internal-content-types/ManagerRoleHooks.d.ts +6 -0
- package/dist/esm/internal-content-types/ManagerRoleHooks.d.ts.map +1 -0
- package/dist/esm/internal-content-types/ManagerRoleHooks.js +43 -0
- package/dist/esm/internal-content-types/ManagerRoleHooks.js.map +1 -0
- package/dist/esm/internal-content-types/ManagerUser.d.ts +212 -212
- package/dist/esm/internal-content-types/ManagerUser.js +3 -3
- package/dist/esm/internal-content-types/ManagerUserHooks.d.ts +2 -2
- package/dist/esm/internal-content-types/ManagerUserHooks.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 +570 -570
- 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 +85 -85
- package/dist/esm/internal-content-types/Page.js +3 -3
- 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 +123 -123
- 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/RouteLocaleVariant.d.ts +170 -170
- package/dist/esm/internal-content-types/RouteLocaleVariant.js +2 -2
- package/dist/esm/internal-content-types/RouteMap.d.ts +144 -144
- package/dist/esm/internal-content-types/RouteMap.js +2 -2
- package/dist/esm/internal-content-types/RouteSettings.d.ts +116 -116
- 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.js +2 -2
- package/dist/esm/internal-content-types/SeoSettings.d.ts +518 -518
- package/dist/esm/internal-content-types/SeoSettings.js +3 -3
- package/dist/esm/internal-content-types/Session.d.ts +533 -533
- package/dist/esm/internal-content-types/Session.js +3 -3
- package/dist/esm/internal-content-types/UserMfa.d.ts +502 -502
- package/dist/esm/internal-content-types/UserMfa.js +3 -3
- package/dist/esm/internal-content-types/WebAuthnCredential.d.ts +624 -624
- package/dist/esm/internal-content-types/WebAuthnCredential.js +3 -3
- package/dist/esm/internal-content-types/WebAuthnRegChallenge.d.ts +562 -562
- package/dist/esm/internal-content-types/WebAuthnRegChallenge.js +3 -3
- package/dist/esm/internal-content-types/index.d.ts +33 -33
- package/dist/esm/internal-content-types/index.js +33 -33
- package/dist/esm/internal-content-types/syncAdminRole.d.ts +21 -0
- package/dist/esm/internal-content-types/syncAdminRole.d.ts.map +1 -0
- package/dist/esm/internal-content-types/syncAdminRole.js +12 -0
- package/dist/esm/internal-content-types/syncAdminRole.js.map +1 -0
- package/dist/esm/lib/ContentType.d.ts +7 -7
- package/dist/esm/lib/ContentType.js +5 -5
- package/dist/esm/lib/ManagerRolePolicy.d.ts +5 -0
- package/dist/esm/lib/ManagerRolePolicy.d.ts.map +1 -0
- package/dist/esm/lib/ManagerRolePolicy.js +3 -0
- package/dist/esm/lib/ManagerRolePolicy.js.map +1 -0
- package/dist/esm/lib/Permissions.d.ts +2 -2
- package/dist/esm/lib/Permissions.d.ts.map +1 -1
- package/dist/esm/lib/Permissions.js +6 -2
- package/dist/esm/lib/Permissions.js.map +1 -1
- package/dist/esm/lib/Registry.d.ts +6 -6
- 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 +12 -12
- 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 +2 -2
- 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/hooks.d.ts +3 -3
- package/dist/esm/lib/routeableContent.js +1 -1
- 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 +3 -3
- package/dist/esm/manager.js +1 -1
- 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 +3 -3
- 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 +17 -17
- package/dist/esm/orm/index.js.map +1 -1
- 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 +3 -2
- package/dist/esm/orm/operations/clear.d.ts.map +1 -1
- package/dist/esm/orm/operations/clear.js +3 -4
- package/dist/esm/orm/operations/clear.js.map +1 -1
- package/dist/esm/orm/operations/create.d.ts +4 -4
- package/dist/esm/orm/operations/create.js +7 -7
- package/dist/esm/orm/operations/delete.d.ts +3 -3
- package/dist/esm/orm/operations/delete.js +5 -5
- 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 +5 -5
- package/dist/esm/orm/operations/update.js +8 -8
- package/dist/esm/orm/operations/updateMany.d.ts +4 -4
- package/dist/esm/orm/operations/updateMany.js +4 -4
- 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/plugins.d.ts +9 -9
- package/dist/esm/schemas/manager/comments.js +1 -1
- package/dist/esm/schemas/manager/literals/upsert.js +1 -1
- package/dist/esm/schemas/manager/localeVariants.d.ts +96 -96
- package/dist/esm/schemas/manager/localeVariants.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 +40 -40
- package/dist/esm/schemas/web/page.js +1 -1
- package/dist/esm/schemas/web/previewPage.d.ts +28 -28
- 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,22 +1,22 @@
|
|
|
1
|
-
import ContentType from "../lib/ContentType";
|
|
2
|
-
import type { DBOutput } from "../lib/types";
|
|
1
|
+
import ContentType from "../lib/ContentType.js";
|
|
2
|
+
import type { DBOutput } from "../lib/types/index.js";
|
|
3
3
|
export declare const BackupDocument: ContentType<{
|
|
4
|
-
backupId: import("
|
|
4
|
+
backupId: import("../index.js").WithFieldState<{
|
|
5
5
|
kind: "field";
|
|
6
6
|
readonly __fieldTypes?: {
|
|
7
7
|
input: string;
|
|
8
8
|
db: string;
|
|
9
9
|
output: string;
|
|
10
|
-
meta: import("
|
|
11
|
-
state: import("
|
|
10
|
+
meta: import("../index.js").StringMeta<"Id">;
|
|
11
|
+
state: import("../index.js").DefaultFieldState;
|
|
12
12
|
} | undefined;
|
|
13
|
-
meta: import("
|
|
14
|
-
state: import("
|
|
13
|
+
meta: import("../index.js").StringMeta<"Id">;
|
|
14
|
+
state: import("../index.js").DefaultFieldState;
|
|
15
15
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
16
16
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
17
17
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
18
18
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
19
|
-
getConfig: () => import("
|
|
19
|
+
getConfig: () => import("../index.js").StringMeta<"Id">;
|
|
20
20
|
getIsRequired: () => false;
|
|
21
21
|
getIsTranslatable: () => false;
|
|
22
22
|
getVisibility: () => "all";
|
|
@@ -30,19 +30,19 @@ export declare const BackupDocument: ContentType<{
|
|
|
30
30
|
input: string;
|
|
31
31
|
db: string;
|
|
32
32
|
output: string;
|
|
33
|
-
meta: import("
|
|
34
|
-
state: import("
|
|
33
|
+
meta: import("../index.js").StringMeta<"Id">;
|
|
34
|
+
state: import("../index.js").FieldState;
|
|
35
35
|
} | undefined;
|
|
36
|
-
meta: import("
|
|
37
|
-
state: import("
|
|
36
|
+
meta: import("../index.js").StringMeta<"Id">;
|
|
37
|
+
state: import("../index.js").FieldState;
|
|
38
38
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
39
39
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
40
40
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
41
41
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
42
|
-
getConfig: () => import("
|
|
42
|
+
getConfig: () => import("../index.js").StringMeta<"Id">;
|
|
43
43
|
getIsRequired: () => boolean;
|
|
44
44
|
getIsTranslatable: () => boolean;
|
|
45
|
-
getVisibility: () => import("
|
|
45
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
46
46
|
getIsDynamic: () => boolean;
|
|
47
47
|
getDescription: () => string | undefined;
|
|
48
48
|
getCondition: () => {
|
|
@@ -82,26 +82,26 @@ export declare const BackupDocument: ContentType<{
|
|
|
82
82
|
lte?: number | undefined;
|
|
83
83
|
};
|
|
84
84
|
} | undefined;
|
|
85
|
-
}, NextUi extends import("
|
|
85
|
+
}, NextUi extends import("../index.js").StringUI>(this: TThis, ui: NextUi) => import("../index.js").StringField<NextUi, import("../index.js").FieldStateOf<TThis>>;
|
|
86
86
|
min: <TThis extends {
|
|
87
87
|
kind: "field";
|
|
88
88
|
readonly __fieldTypes?: {
|
|
89
89
|
input: string;
|
|
90
90
|
db: string;
|
|
91
91
|
output: string;
|
|
92
|
-
meta: import("
|
|
93
|
-
state: import("
|
|
92
|
+
meta: import("../index.js").StringMeta<"Id">;
|
|
93
|
+
state: import("../index.js").FieldState;
|
|
94
94
|
} | undefined;
|
|
95
|
-
meta: import("
|
|
96
|
-
state: import("
|
|
95
|
+
meta: import("../index.js").StringMeta<"Id">;
|
|
96
|
+
state: import("../index.js").FieldState;
|
|
97
97
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
98
98
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
99
99
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
100
100
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
101
|
-
getConfig: () => import("
|
|
101
|
+
getConfig: () => import("../index.js").StringMeta<"Id">;
|
|
102
102
|
getIsRequired: () => boolean;
|
|
103
103
|
getIsTranslatable: () => boolean;
|
|
104
|
-
getVisibility: () => import("
|
|
104
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
105
105
|
getIsDynamic: () => boolean;
|
|
106
106
|
getDescription: () => string | undefined;
|
|
107
107
|
getCondition: () => {
|
|
@@ -141,26 +141,26 @@ export declare const BackupDocument: ContentType<{
|
|
|
141
141
|
lte?: number | undefined;
|
|
142
142
|
};
|
|
143
143
|
} | undefined;
|
|
144
|
-
}>(this: TThis, length: number) => import("
|
|
144
|
+
}>(this: TThis, length: number) => import("../index.js").StringField<"Id", import("../index.js").FieldStateOf<TThis>>;
|
|
145
145
|
max: <TThis extends {
|
|
146
146
|
kind: "field";
|
|
147
147
|
readonly __fieldTypes?: {
|
|
148
148
|
input: string;
|
|
149
149
|
db: string;
|
|
150
150
|
output: string;
|
|
151
|
-
meta: import("
|
|
152
|
-
state: import("
|
|
151
|
+
meta: import("../index.js").StringMeta<"Id">;
|
|
152
|
+
state: import("../index.js").FieldState;
|
|
153
153
|
} | undefined;
|
|
154
|
-
meta: import("
|
|
155
|
-
state: import("
|
|
154
|
+
meta: import("../index.js").StringMeta<"Id">;
|
|
155
|
+
state: import("../index.js").FieldState;
|
|
156
156
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
157
157
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
158
158
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
159
159
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
160
|
-
getConfig: () => import("
|
|
160
|
+
getConfig: () => import("../index.js").StringMeta<"Id">;
|
|
161
161
|
getIsRequired: () => boolean;
|
|
162
162
|
getIsTranslatable: () => boolean;
|
|
163
|
-
getVisibility: () => import("
|
|
163
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
164
164
|
getIsDynamic: () => boolean;
|
|
165
165
|
getDescription: () => string | undefined;
|
|
166
166
|
getCondition: () => {
|
|
@@ -200,24 +200,24 @@ export declare const BackupDocument: ContentType<{
|
|
|
200
200
|
lte?: number | undefined;
|
|
201
201
|
};
|
|
202
202
|
} | undefined;
|
|
203
|
-
}>(this: TThis, length: number) => import("
|
|
204
|
-
}, import("
|
|
205
|
-
contentType: import("
|
|
203
|
+
}>(this: TThis, length: number) => import("../index.js").StringField<"Id", import("../index.js").FieldStateOf<TThis>>;
|
|
204
|
+
}, import("../index.js").SetRequired<import("../index.js").DefaultFieldState>>;
|
|
205
|
+
contentType: import("../index.js").WithFieldState<{
|
|
206
206
|
kind: "field";
|
|
207
207
|
readonly __fieldTypes?: {
|
|
208
208
|
input: string;
|
|
209
209
|
db: string;
|
|
210
210
|
output: string;
|
|
211
|
-
meta: import("
|
|
212
|
-
state: import("
|
|
211
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
212
|
+
state: import("../index.js").DefaultFieldState;
|
|
213
213
|
} | undefined;
|
|
214
|
-
meta: import("
|
|
215
|
-
state: import("
|
|
214
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
215
|
+
state: import("../index.js").DefaultFieldState;
|
|
216
216
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
217
217
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
218
218
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
219
219
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
220
|
-
getConfig: () => import("
|
|
220
|
+
getConfig: () => import("../index.js").StringMeta<"Text">;
|
|
221
221
|
getIsRequired: () => false;
|
|
222
222
|
getIsTranslatable: () => false;
|
|
223
223
|
getVisibility: () => "all";
|
|
@@ -231,19 +231,19 @@ export declare const BackupDocument: ContentType<{
|
|
|
231
231
|
input: string;
|
|
232
232
|
db: string;
|
|
233
233
|
output: string;
|
|
234
|
-
meta: import("
|
|
235
|
-
state: import("
|
|
234
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
235
|
+
state: import("../index.js").FieldState;
|
|
236
236
|
} | undefined;
|
|
237
|
-
meta: import("
|
|
238
|
-
state: import("
|
|
237
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
238
|
+
state: import("../index.js").FieldState;
|
|
239
239
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
240
240
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
241
241
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
242
242
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
243
|
-
getConfig: () => import("
|
|
243
|
+
getConfig: () => import("../index.js").StringMeta<"Text">;
|
|
244
244
|
getIsRequired: () => boolean;
|
|
245
245
|
getIsTranslatable: () => boolean;
|
|
246
|
-
getVisibility: () => import("
|
|
246
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
247
247
|
getIsDynamic: () => boolean;
|
|
248
248
|
getDescription: () => string | undefined;
|
|
249
249
|
getCondition: () => {
|
|
@@ -283,26 +283,26 @@ export declare const BackupDocument: ContentType<{
|
|
|
283
283
|
lte?: number | undefined;
|
|
284
284
|
};
|
|
285
285
|
} | undefined;
|
|
286
|
-
}, NextUi extends import("
|
|
286
|
+
}, NextUi extends import("../index.js").StringUI>(this: TThis, ui: NextUi) => import("../index.js").StringField<NextUi, import("../index.js").FieldStateOf<TThis>>;
|
|
287
287
|
min: <TThis extends {
|
|
288
288
|
kind: "field";
|
|
289
289
|
readonly __fieldTypes?: {
|
|
290
290
|
input: string;
|
|
291
291
|
db: string;
|
|
292
292
|
output: string;
|
|
293
|
-
meta: import("
|
|
294
|
-
state: import("
|
|
293
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
294
|
+
state: import("../index.js").FieldState;
|
|
295
295
|
} | undefined;
|
|
296
|
-
meta: import("
|
|
297
|
-
state: import("
|
|
296
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
297
|
+
state: import("../index.js").FieldState;
|
|
298
298
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
299
299
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
300
300
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
301
301
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
302
|
-
getConfig: () => import("
|
|
302
|
+
getConfig: () => import("../index.js").StringMeta<"Text">;
|
|
303
303
|
getIsRequired: () => boolean;
|
|
304
304
|
getIsTranslatable: () => boolean;
|
|
305
|
-
getVisibility: () => import("
|
|
305
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
306
306
|
getIsDynamic: () => boolean;
|
|
307
307
|
getDescription: () => string | undefined;
|
|
308
308
|
getCondition: () => {
|
|
@@ -342,26 +342,26 @@ export declare const BackupDocument: ContentType<{
|
|
|
342
342
|
lte?: number | undefined;
|
|
343
343
|
};
|
|
344
344
|
} | undefined;
|
|
345
|
-
}>(this: TThis, length: number) => import("
|
|
345
|
+
}>(this: TThis, length: number) => import("../index.js").StringField<"Text", import("../index.js").FieldStateOf<TThis>>;
|
|
346
346
|
max: <TThis extends {
|
|
347
347
|
kind: "field";
|
|
348
348
|
readonly __fieldTypes?: {
|
|
349
349
|
input: string;
|
|
350
350
|
db: string;
|
|
351
351
|
output: string;
|
|
352
|
-
meta: import("
|
|
353
|
-
state: import("
|
|
352
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
353
|
+
state: import("../index.js").FieldState;
|
|
354
354
|
} | undefined;
|
|
355
|
-
meta: import("
|
|
356
|
-
state: import("
|
|
355
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
356
|
+
state: import("../index.js").FieldState;
|
|
357
357
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
358
358
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
359
359
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
360
360
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
361
|
-
getConfig: () => import("
|
|
361
|
+
getConfig: () => import("../index.js").StringMeta<"Text">;
|
|
362
362
|
getIsRequired: () => boolean;
|
|
363
363
|
getIsTranslatable: () => boolean;
|
|
364
|
-
getVisibility: () => import("
|
|
364
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
365
365
|
getIsDynamic: () => boolean;
|
|
366
366
|
getDescription: () => string | undefined;
|
|
367
367
|
getCondition: () => {
|
|
@@ -401,24 +401,24 @@ export declare const BackupDocument: ContentType<{
|
|
|
401
401
|
lte?: number | undefined;
|
|
402
402
|
};
|
|
403
403
|
} | undefined;
|
|
404
|
-
}>(this: TThis, length: number) => import("
|
|
405
|
-
}, import("
|
|
406
|
-
documentId: import("
|
|
404
|
+
}>(this: TThis, length: number) => import("../index.js").StringField<"Text", import("../index.js").FieldStateOf<TThis>>;
|
|
405
|
+
}, import("../index.js").SetRequired<import("../index.js").DefaultFieldState>>;
|
|
406
|
+
documentId: import("../index.js").WithFieldState<{
|
|
407
407
|
kind: "field";
|
|
408
408
|
readonly __fieldTypes?: {
|
|
409
409
|
input: string;
|
|
410
410
|
db: string;
|
|
411
411
|
output: string;
|
|
412
|
-
meta: import("
|
|
413
|
-
state: import("
|
|
412
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
413
|
+
state: import("../index.js").DefaultFieldState;
|
|
414
414
|
} | undefined;
|
|
415
|
-
meta: import("
|
|
416
|
-
state: import("
|
|
415
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
416
|
+
state: import("../index.js").DefaultFieldState;
|
|
417
417
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
418
418
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
419
419
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
420
420
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
421
|
-
getConfig: () => import("
|
|
421
|
+
getConfig: () => import("../index.js").StringMeta<"Text">;
|
|
422
422
|
getIsRequired: () => false;
|
|
423
423
|
getIsTranslatable: () => false;
|
|
424
424
|
getVisibility: () => "all";
|
|
@@ -432,19 +432,19 @@ export declare const BackupDocument: ContentType<{
|
|
|
432
432
|
input: string;
|
|
433
433
|
db: string;
|
|
434
434
|
output: string;
|
|
435
|
-
meta: import("
|
|
436
|
-
state: import("
|
|
435
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
436
|
+
state: import("../index.js").FieldState;
|
|
437
437
|
} | undefined;
|
|
438
|
-
meta: import("
|
|
439
|
-
state: import("
|
|
438
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
439
|
+
state: import("../index.js").FieldState;
|
|
440
440
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
441
441
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
442
442
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
443
443
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
444
|
-
getConfig: () => import("
|
|
444
|
+
getConfig: () => import("../index.js").StringMeta<"Text">;
|
|
445
445
|
getIsRequired: () => boolean;
|
|
446
446
|
getIsTranslatable: () => boolean;
|
|
447
|
-
getVisibility: () => import("
|
|
447
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
448
448
|
getIsDynamic: () => boolean;
|
|
449
449
|
getDescription: () => string | undefined;
|
|
450
450
|
getCondition: () => {
|
|
@@ -484,26 +484,26 @@ export declare const BackupDocument: ContentType<{
|
|
|
484
484
|
lte?: number | undefined;
|
|
485
485
|
};
|
|
486
486
|
} | undefined;
|
|
487
|
-
}, NextUi extends import("
|
|
487
|
+
}, NextUi extends import("../index.js").StringUI>(this: TThis, ui: NextUi) => import("../index.js").StringField<NextUi, import("../index.js").FieldStateOf<TThis>>;
|
|
488
488
|
min: <TThis extends {
|
|
489
489
|
kind: "field";
|
|
490
490
|
readonly __fieldTypes?: {
|
|
491
491
|
input: string;
|
|
492
492
|
db: string;
|
|
493
493
|
output: string;
|
|
494
|
-
meta: import("
|
|
495
|
-
state: import("
|
|
494
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
495
|
+
state: import("../index.js").FieldState;
|
|
496
496
|
} | undefined;
|
|
497
|
-
meta: import("
|
|
498
|
-
state: import("
|
|
497
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
498
|
+
state: import("../index.js").FieldState;
|
|
499
499
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
500
500
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
501
501
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
502
502
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
503
|
-
getConfig: () => import("
|
|
503
|
+
getConfig: () => import("../index.js").StringMeta<"Text">;
|
|
504
504
|
getIsRequired: () => boolean;
|
|
505
505
|
getIsTranslatable: () => boolean;
|
|
506
|
-
getVisibility: () => import("
|
|
506
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
507
507
|
getIsDynamic: () => boolean;
|
|
508
508
|
getDescription: () => string | undefined;
|
|
509
509
|
getCondition: () => {
|
|
@@ -543,26 +543,26 @@ export declare const BackupDocument: ContentType<{
|
|
|
543
543
|
lte?: number | undefined;
|
|
544
544
|
};
|
|
545
545
|
} | undefined;
|
|
546
|
-
}>(this: TThis, length: number) => import("
|
|
546
|
+
}>(this: TThis, length: number) => import("../index.js").StringField<"Text", import("../index.js").FieldStateOf<TThis>>;
|
|
547
547
|
max: <TThis extends {
|
|
548
548
|
kind: "field";
|
|
549
549
|
readonly __fieldTypes?: {
|
|
550
550
|
input: string;
|
|
551
551
|
db: string;
|
|
552
552
|
output: string;
|
|
553
|
-
meta: import("
|
|
554
|
-
state: import("
|
|
553
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
554
|
+
state: import("../index.js").FieldState;
|
|
555
555
|
} | undefined;
|
|
556
|
-
meta: import("
|
|
557
|
-
state: import("
|
|
556
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
557
|
+
state: import("../index.js").FieldState;
|
|
558
558
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
559
559
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
560
560
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
561
561
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
562
|
-
getConfig: () => import("
|
|
562
|
+
getConfig: () => import("../index.js").StringMeta<"Text">;
|
|
563
563
|
getIsRequired: () => boolean;
|
|
564
564
|
getIsTranslatable: () => boolean;
|
|
565
|
-
getVisibility: () => import("
|
|
565
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
566
566
|
getIsDynamic: () => boolean;
|
|
567
567
|
getDescription: () => string | undefined;
|
|
568
568
|
getCondition: () => {
|
|
@@ -602,24 +602,24 @@ export declare const BackupDocument: ContentType<{
|
|
|
602
602
|
lte?: number | undefined;
|
|
603
603
|
};
|
|
604
604
|
} | undefined;
|
|
605
|
-
}>(this: TThis, length: number) => import("
|
|
606
|
-
}, import("
|
|
607
|
-
document: import("
|
|
605
|
+
}>(this: TThis, length: number) => import("../index.js").StringField<"Text", import("../index.js").FieldStateOf<TThis>>;
|
|
606
|
+
}, import("../index.js").SetRequired<import("../index.js").DefaultFieldState>>;
|
|
607
|
+
document: import("../index.js").WithFieldState<{
|
|
608
608
|
kind: "field";
|
|
609
609
|
readonly __fieldTypes?: {
|
|
610
610
|
input: Record<string, unknown>;
|
|
611
611
|
db: Record<string, unknown>;
|
|
612
612
|
output: Record<string, unknown>;
|
|
613
|
-
meta: import("
|
|
614
|
-
state: import("
|
|
613
|
+
meta: import("../index.js").StringMeta<"RichText">;
|
|
614
|
+
state: import("../index.js").DefaultFieldState;
|
|
615
615
|
} | undefined;
|
|
616
|
-
meta: import("
|
|
617
|
-
state: import("
|
|
616
|
+
meta: import("../index.js").StringMeta<"RichText">;
|
|
617
|
+
state: import("../index.js").DefaultFieldState;
|
|
618
618
|
toZod: () => import("zod").ZodType<Record<string, unknown>, unknown, import("zod/v4/core").$ZodTypeInternals<Record<string, unknown>, unknown>>;
|
|
619
619
|
getInputSchema: () => import("zod").ZodType<Record<string, unknown> | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<Record<string, unknown> | null | undefined, unknown>>;
|
|
620
620
|
getSchema: () => import("zod").ZodType<Record<string, unknown> | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<Record<string, unknown> | undefined, unknown>>;
|
|
621
621
|
getOutputSchema: () => import("zod").ZodType<Record<string, unknown> | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<Record<string, unknown> | undefined, unknown>>;
|
|
622
|
-
getConfig: () => import("
|
|
622
|
+
getConfig: () => import("../index.js").StringMeta<"RichText">;
|
|
623
623
|
getIsRequired: () => false;
|
|
624
624
|
getIsTranslatable: () => false;
|
|
625
625
|
getVisibility: () => "all";
|
|
@@ -633,19 +633,19 @@ export declare const BackupDocument: ContentType<{
|
|
|
633
633
|
input: Record<string, unknown>;
|
|
634
634
|
db: Record<string, unknown>;
|
|
635
635
|
output: Record<string, unknown>;
|
|
636
|
-
meta: import("
|
|
637
|
-
state: import("
|
|
636
|
+
meta: import("../index.js").StringMeta<"RichText">;
|
|
637
|
+
state: import("../index.js").FieldState;
|
|
638
638
|
} | undefined;
|
|
639
|
-
meta: import("
|
|
640
|
-
state: import("
|
|
639
|
+
meta: import("../index.js").StringMeta<"RichText">;
|
|
640
|
+
state: import("../index.js").FieldState;
|
|
641
641
|
toZod: () => import("zod").ZodType<Record<string, unknown>, unknown, import("zod/v4/core").$ZodTypeInternals<Record<string, unknown>, unknown>>;
|
|
642
642
|
getInputSchema: () => import("zod").ZodType<Record<string, unknown> | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<Record<string, unknown> | null | undefined, unknown>>;
|
|
643
643
|
getSchema: () => import("zod").ZodType<Record<string, unknown> | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<Record<string, unknown> | undefined, unknown>>;
|
|
644
644
|
getOutputSchema: () => import("zod").ZodType<Record<string, unknown> | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<Record<string, unknown> | undefined, unknown>>;
|
|
645
|
-
getConfig: () => import("
|
|
645
|
+
getConfig: () => import("../index.js").StringMeta<"RichText">;
|
|
646
646
|
getIsRequired: () => boolean;
|
|
647
647
|
getIsTranslatable: () => boolean;
|
|
648
|
-
getVisibility: () => import("
|
|
648
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
649
649
|
getIsDynamic: () => boolean;
|
|
650
650
|
getDescription: () => string | undefined;
|
|
651
651
|
getCondition: () => {
|
|
@@ -685,26 +685,26 @@ export declare const BackupDocument: ContentType<{
|
|
|
685
685
|
lte?: number | undefined;
|
|
686
686
|
};
|
|
687
687
|
} | undefined;
|
|
688
|
-
}, NextUi extends import("
|
|
688
|
+
}, NextUi extends import("../index.js").StringUI>(this: TThis, ui: NextUi) => import("../index.js").StringField<NextUi, import("../index.js").FieldStateOf<TThis>>;
|
|
689
689
|
min: <TThis extends {
|
|
690
690
|
kind: "field";
|
|
691
691
|
readonly __fieldTypes?: {
|
|
692
692
|
input: Record<string, unknown>;
|
|
693
693
|
db: Record<string, unknown>;
|
|
694
694
|
output: Record<string, unknown>;
|
|
695
|
-
meta: import("
|
|
696
|
-
state: import("
|
|
695
|
+
meta: import("../index.js").StringMeta<"RichText">;
|
|
696
|
+
state: import("../index.js").FieldState;
|
|
697
697
|
} | undefined;
|
|
698
|
-
meta: import("
|
|
699
|
-
state: import("
|
|
698
|
+
meta: import("../index.js").StringMeta<"RichText">;
|
|
699
|
+
state: import("../index.js").FieldState;
|
|
700
700
|
toZod: () => import("zod").ZodType<Record<string, unknown>, unknown, import("zod/v4/core").$ZodTypeInternals<Record<string, unknown>, unknown>>;
|
|
701
701
|
getInputSchema: () => import("zod").ZodType<Record<string, unknown> | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<Record<string, unknown> | null | undefined, unknown>>;
|
|
702
702
|
getSchema: () => import("zod").ZodType<Record<string, unknown> | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<Record<string, unknown> | undefined, unknown>>;
|
|
703
703
|
getOutputSchema: () => import("zod").ZodType<Record<string, unknown> | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<Record<string, unknown> | undefined, unknown>>;
|
|
704
|
-
getConfig: () => import("
|
|
704
|
+
getConfig: () => import("../index.js").StringMeta<"RichText">;
|
|
705
705
|
getIsRequired: () => boolean;
|
|
706
706
|
getIsTranslatable: () => boolean;
|
|
707
|
-
getVisibility: () => import("
|
|
707
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
708
708
|
getIsDynamic: () => boolean;
|
|
709
709
|
getDescription: () => string | undefined;
|
|
710
710
|
getCondition: () => {
|
|
@@ -744,26 +744,26 @@ export declare const BackupDocument: ContentType<{
|
|
|
744
744
|
lte?: number | undefined;
|
|
745
745
|
};
|
|
746
746
|
} | undefined;
|
|
747
|
-
}>(this: TThis, length: number) => import("
|
|
747
|
+
}>(this: TThis, length: number) => import("../index.js").StringField<"RichText", import("../index.js").FieldStateOf<TThis>>;
|
|
748
748
|
max: <TThis extends {
|
|
749
749
|
kind: "field";
|
|
750
750
|
readonly __fieldTypes?: {
|
|
751
751
|
input: Record<string, unknown>;
|
|
752
752
|
db: Record<string, unknown>;
|
|
753
753
|
output: Record<string, unknown>;
|
|
754
|
-
meta: import("
|
|
755
|
-
state: import("
|
|
754
|
+
meta: import("../index.js").StringMeta<"RichText">;
|
|
755
|
+
state: import("../index.js").FieldState;
|
|
756
756
|
} | undefined;
|
|
757
|
-
meta: import("
|
|
758
|
-
state: import("
|
|
757
|
+
meta: import("../index.js").StringMeta<"RichText">;
|
|
758
|
+
state: import("../index.js").FieldState;
|
|
759
759
|
toZod: () => import("zod").ZodType<Record<string, unknown>, unknown, import("zod/v4/core").$ZodTypeInternals<Record<string, unknown>, unknown>>;
|
|
760
760
|
getInputSchema: () => import("zod").ZodType<Record<string, unknown> | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<Record<string, unknown> | null | undefined, unknown>>;
|
|
761
761
|
getSchema: () => import("zod").ZodType<Record<string, unknown> | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<Record<string, unknown> | undefined, unknown>>;
|
|
762
762
|
getOutputSchema: () => import("zod").ZodType<Record<string, unknown> | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<Record<string, unknown> | undefined, unknown>>;
|
|
763
|
-
getConfig: () => import("
|
|
763
|
+
getConfig: () => import("../index.js").StringMeta<"RichText">;
|
|
764
764
|
getIsRequired: () => boolean;
|
|
765
765
|
getIsTranslatable: () => boolean;
|
|
766
|
-
getVisibility: () => import("
|
|
766
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
767
767
|
getIsDynamic: () => boolean;
|
|
768
768
|
getDescription: () => string | undefined;
|
|
769
769
|
getCondition: () => {
|
|
@@ -803,8 +803,8 @@ export declare const BackupDocument: ContentType<{
|
|
|
803
803
|
lte?: number | undefined;
|
|
804
804
|
};
|
|
805
805
|
} | undefined;
|
|
806
|
-
}>(this: TThis, length: number) => import("
|
|
807
|
-
}, import("
|
|
806
|
+
}>(this: TThis, length: number) => import("../index.js").StringField<"RichText", import("../index.js").FieldStateOf<TThis>>;
|
|
807
|
+
}, import("../index.js").SetRequired<import("../index.js").DefaultFieldState>>;
|
|
808
808
|
}, "BackupDocument", undefined>;
|
|
809
809
|
export type BackupDocument = typeof BackupDocument;
|
|
810
810
|
export type BackupDocumentManager = DBOutput<BackupDocument>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import ContentType from "../lib/ContentType";
|
|
2
|
-
import { Fields } from "../lib/fields";
|
|
1
|
+
import ContentType from "../lib/ContentType.js";
|
|
2
|
+
import { Fields } from "../lib/fields/index.js";
|
|
3
3
|
export const BackupDocument = new ContentType({
|
|
4
4
|
name: "BackupDocument",
|
|
5
5
|
permissions: false,
|