@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,23 +1,23 @@
|
|
|
1
|
-
import ContentType from "../lib/ContentType";
|
|
2
|
-
import type { DataFront, DataInput, DBOutput } from "../lib/types";
|
|
1
|
+
import ContentType from "../lib/ContentType.js";
|
|
2
|
+
import type { DataFront, DataInput, DBOutput } from "../lib/types/index.js";
|
|
3
3
|
export declare const ManagerUser: ContentType<{
|
|
4
|
-
name: import("
|
|
5
|
-
user: import("
|
|
4
|
+
name: import("../index.js").StringField<"Text", import("../index.js").DefaultFieldState>;
|
|
5
|
+
user: import("../index.js").WithFieldState<{
|
|
6
6
|
kind: "field";
|
|
7
7
|
readonly __fieldTypes?: {
|
|
8
8
|
input: string;
|
|
9
9
|
db: string;
|
|
10
10
|
output: string;
|
|
11
|
-
meta: import("
|
|
12
|
-
state: import("
|
|
11
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
12
|
+
state: import("../index.js").DefaultFieldState;
|
|
13
13
|
} | undefined;
|
|
14
|
-
meta: import("
|
|
15
|
-
state: import("
|
|
14
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
15
|
+
state: import("../index.js").DefaultFieldState;
|
|
16
16
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
17
17
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
18
18
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
19
19
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
20
|
-
getConfig: () => import("
|
|
20
|
+
getConfig: () => import("../index.js").StringMeta<"Text">;
|
|
21
21
|
getIsRequired: () => false;
|
|
22
22
|
getIsTranslatable: () => false;
|
|
23
23
|
getVisibility: () => "all";
|
|
@@ -31,19 +31,19 @@ export declare const ManagerUser: ContentType<{
|
|
|
31
31
|
input: string;
|
|
32
32
|
db: string;
|
|
33
33
|
output: string;
|
|
34
|
-
meta: import("
|
|
35
|
-
state: import("
|
|
34
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
35
|
+
state: import("../index.js").FieldState;
|
|
36
36
|
} | undefined;
|
|
37
|
-
meta: import("
|
|
38
|
-
state: import("
|
|
37
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
38
|
+
state: import("../index.js").FieldState;
|
|
39
39
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
40
40
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
41
41
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
42
42
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
43
|
-
getConfig: () => import("
|
|
43
|
+
getConfig: () => import("../index.js").StringMeta<"Text">;
|
|
44
44
|
getIsRequired: () => boolean;
|
|
45
45
|
getIsTranslatable: () => boolean;
|
|
46
|
-
getVisibility: () => import("
|
|
46
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
47
47
|
getIsDynamic: () => boolean;
|
|
48
48
|
getDescription: () => string | undefined;
|
|
49
49
|
getCondition: () => {
|
|
@@ -83,26 +83,26 @@ export declare const ManagerUser: ContentType<{
|
|
|
83
83
|
lte?: number | undefined;
|
|
84
84
|
};
|
|
85
85
|
} | undefined;
|
|
86
|
-
}, NextUi extends import("
|
|
86
|
+
}, NextUi extends import("../index.js").StringUI>(this: TThis, ui: NextUi) => import("../index.js").StringField<NextUi, import("../index.js").FieldStateOf<TThis>>;
|
|
87
87
|
min: <TThis extends {
|
|
88
88
|
kind: "field";
|
|
89
89
|
readonly __fieldTypes?: {
|
|
90
90
|
input: string;
|
|
91
91
|
db: string;
|
|
92
92
|
output: string;
|
|
93
|
-
meta: import("
|
|
94
|
-
state: import("
|
|
93
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
94
|
+
state: import("../index.js").FieldState;
|
|
95
95
|
} | undefined;
|
|
96
|
-
meta: import("
|
|
97
|
-
state: import("
|
|
96
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
97
|
+
state: import("../index.js").FieldState;
|
|
98
98
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
99
99
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
100
100
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
101
101
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
102
|
-
getConfig: () => import("
|
|
102
|
+
getConfig: () => import("../index.js").StringMeta<"Text">;
|
|
103
103
|
getIsRequired: () => boolean;
|
|
104
104
|
getIsTranslatable: () => boolean;
|
|
105
|
-
getVisibility: () => import("
|
|
105
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
106
106
|
getIsDynamic: () => boolean;
|
|
107
107
|
getDescription: () => string | undefined;
|
|
108
108
|
getCondition: () => {
|
|
@@ -142,26 +142,26 @@ export declare const ManagerUser: ContentType<{
|
|
|
142
142
|
lte?: number | undefined;
|
|
143
143
|
};
|
|
144
144
|
} | undefined;
|
|
145
|
-
}>(this: TThis, length: number) => import("
|
|
145
|
+
}>(this: TThis, length: number) => import("../index.js").StringField<"Text", import("../index.js").FieldStateOf<TThis>>;
|
|
146
146
|
max: <TThis extends {
|
|
147
147
|
kind: "field";
|
|
148
148
|
readonly __fieldTypes?: {
|
|
149
149
|
input: string;
|
|
150
150
|
db: string;
|
|
151
151
|
output: string;
|
|
152
|
-
meta: import("
|
|
153
|
-
state: import("
|
|
152
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
153
|
+
state: import("../index.js").FieldState;
|
|
154
154
|
} | undefined;
|
|
155
|
-
meta: import("
|
|
156
|
-
state: import("
|
|
155
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
156
|
+
state: import("../index.js").FieldState;
|
|
157
157
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
158
158
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
159
159
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
160
160
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
161
|
-
getConfig: () => import("
|
|
161
|
+
getConfig: () => import("../index.js").StringMeta<"Text">;
|
|
162
162
|
getIsRequired: () => boolean;
|
|
163
163
|
getIsTranslatable: () => boolean;
|
|
164
|
-
getVisibility: () => import("
|
|
164
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
165
165
|
getIsDynamic: () => boolean;
|
|
166
166
|
getDescription: () => string | undefined;
|
|
167
167
|
getCondition: () => {
|
|
@@ -201,24 +201,24 @@ export declare const ManagerUser: ContentType<{
|
|
|
201
201
|
lte?: number | undefined;
|
|
202
202
|
};
|
|
203
203
|
} | undefined;
|
|
204
|
-
}>(this: TThis, length: number) => import("
|
|
205
|
-
}, import("
|
|
206
|
-
email: import("
|
|
204
|
+
}>(this: TThis, length: number) => import("../index.js").StringField<"Text", import("../index.js").FieldStateOf<TThis>>;
|
|
205
|
+
}, import("../index.js").SetRequired<import("../index.js").DefaultFieldState>>;
|
|
206
|
+
email: import("../index.js").WithFieldState<{
|
|
207
207
|
kind: "field";
|
|
208
208
|
readonly __fieldTypes?: {
|
|
209
209
|
input: string;
|
|
210
210
|
db: string;
|
|
211
211
|
output: string;
|
|
212
|
-
meta: import("
|
|
213
|
-
state: import("
|
|
212
|
+
meta: import("../index.js").StringMeta<"Email">;
|
|
213
|
+
state: import("../index.js").DefaultFieldState;
|
|
214
214
|
} | undefined;
|
|
215
|
-
meta: import("
|
|
216
|
-
state: import("
|
|
215
|
+
meta: import("../index.js").StringMeta<"Email">;
|
|
216
|
+
state: import("../index.js").DefaultFieldState;
|
|
217
217
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
218
218
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
219
219
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
220
220
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
221
|
-
getConfig: () => import("
|
|
221
|
+
getConfig: () => import("../index.js").StringMeta<"Email">;
|
|
222
222
|
getIsRequired: () => false;
|
|
223
223
|
getIsTranslatable: () => false;
|
|
224
224
|
getVisibility: () => "all";
|
|
@@ -232,19 +232,19 @@ export declare const ManagerUser: ContentType<{
|
|
|
232
232
|
input: string;
|
|
233
233
|
db: string;
|
|
234
234
|
output: string;
|
|
235
|
-
meta: import("
|
|
236
|
-
state: import("
|
|
235
|
+
meta: import("../index.js").StringMeta<"Email">;
|
|
236
|
+
state: import("../index.js").FieldState;
|
|
237
237
|
} | undefined;
|
|
238
|
-
meta: import("
|
|
239
|
-
state: import("
|
|
238
|
+
meta: import("../index.js").StringMeta<"Email">;
|
|
239
|
+
state: import("../index.js").FieldState;
|
|
240
240
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
241
241
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
242
242
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
243
243
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
244
|
-
getConfig: () => import("
|
|
244
|
+
getConfig: () => import("../index.js").StringMeta<"Email">;
|
|
245
245
|
getIsRequired: () => boolean;
|
|
246
246
|
getIsTranslatable: () => boolean;
|
|
247
|
-
getVisibility: () => import("
|
|
247
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
248
248
|
getIsDynamic: () => boolean;
|
|
249
249
|
getDescription: () => string | undefined;
|
|
250
250
|
getCondition: () => {
|
|
@@ -284,26 +284,26 @@ export declare const ManagerUser: ContentType<{
|
|
|
284
284
|
lte?: number | undefined;
|
|
285
285
|
};
|
|
286
286
|
} | undefined;
|
|
287
|
-
}, NextUi extends import("
|
|
287
|
+
}, NextUi extends import("../index.js").StringUI>(this: TThis, ui: NextUi) => import("../index.js").StringField<NextUi, import("../index.js").FieldStateOf<TThis>>;
|
|
288
288
|
min: <TThis extends {
|
|
289
289
|
kind: "field";
|
|
290
290
|
readonly __fieldTypes?: {
|
|
291
291
|
input: string;
|
|
292
292
|
db: string;
|
|
293
293
|
output: string;
|
|
294
|
-
meta: import("
|
|
295
|
-
state: import("
|
|
294
|
+
meta: import("../index.js").StringMeta<"Email">;
|
|
295
|
+
state: import("../index.js").FieldState;
|
|
296
296
|
} | undefined;
|
|
297
|
-
meta: import("
|
|
298
|
-
state: import("
|
|
297
|
+
meta: import("../index.js").StringMeta<"Email">;
|
|
298
|
+
state: import("../index.js").FieldState;
|
|
299
299
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
300
300
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
301
301
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
302
302
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
303
|
-
getConfig: () => import("
|
|
303
|
+
getConfig: () => import("../index.js").StringMeta<"Email">;
|
|
304
304
|
getIsRequired: () => boolean;
|
|
305
305
|
getIsTranslatable: () => boolean;
|
|
306
|
-
getVisibility: () => import("
|
|
306
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
307
307
|
getIsDynamic: () => boolean;
|
|
308
308
|
getDescription: () => string | undefined;
|
|
309
309
|
getCondition: () => {
|
|
@@ -343,26 +343,26 @@ export declare const ManagerUser: ContentType<{
|
|
|
343
343
|
lte?: number | undefined;
|
|
344
344
|
};
|
|
345
345
|
} | undefined;
|
|
346
|
-
}>(this: TThis, length: number) => import("
|
|
346
|
+
}>(this: TThis, length: number) => import("../index.js").StringField<"Email", import("../index.js").FieldStateOf<TThis>>;
|
|
347
347
|
max: <TThis extends {
|
|
348
348
|
kind: "field";
|
|
349
349
|
readonly __fieldTypes?: {
|
|
350
350
|
input: string;
|
|
351
351
|
db: string;
|
|
352
352
|
output: string;
|
|
353
|
-
meta: import("
|
|
354
|
-
state: import("
|
|
353
|
+
meta: import("../index.js").StringMeta<"Email">;
|
|
354
|
+
state: import("../index.js").FieldState;
|
|
355
355
|
} | undefined;
|
|
356
|
-
meta: import("
|
|
357
|
-
state: import("
|
|
356
|
+
meta: import("../index.js").StringMeta<"Email">;
|
|
357
|
+
state: import("../index.js").FieldState;
|
|
358
358
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
359
359
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
360
360
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
361
361
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
362
|
-
getConfig: () => import("
|
|
362
|
+
getConfig: () => import("../index.js").StringMeta<"Email">;
|
|
363
363
|
getIsRequired: () => boolean;
|
|
364
364
|
getIsTranslatable: () => boolean;
|
|
365
|
-
getVisibility: () => import("
|
|
365
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
366
366
|
getIsDynamic: () => boolean;
|
|
367
367
|
getDescription: () => string | undefined;
|
|
368
368
|
getCondition: () => {
|
|
@@ -402,24 +402,24 @@ export declare const ManagerUser: ContentType<{
|
|
|
402
402
|
lte?: number | undefined;
|
|
403
403
|
};
|
|
404
404
|
} | undefined;
|
|
405
|
-
}>(this: TThis, length: number) => import("
|
|
406
|
-
}, import("
|
|
407
|
-
password: import("
|
|
405
|
+
}>(this: TThis, length: number) => import("../index.js").StringField<"Email", import("../index.js").FieldStateOf<TThis>>;
|
|
406
|
+
}, import("../index.js").SetRequired<import("../index.js").DefaultFieldState>>;
|
|
407
|
+
password: import("../index.js").WithFieldState<Omit<{
|
|
408
408
|
kind: "field";
|
|
409
409
|
readonly __fieldTypes?: {
|
|
410
410
|
input: string;
|
|
411
411
|
db: string;
|
|
412
412
|
output: string;
|
|
413
|
-
meta: import("
|
|
414
|
-
state: import("
|
|
413
|
+
meta: import("../index.js").StringMeta<"Password">;
|
|
414
|
+
state: import("../index.js").DefaultFieldState;
|
|
415
415
|
} | undefined;
|
|
416
|
-
meta: import("
|
|
417
|
-
state: import("
|
|
416
|
+
meta: import("../index.js").StringMeta<"Password">;
|
|
417
|
+
state: import("../index.js").DefaultFieldState;
|
|
418
418
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
419
419
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
420
420
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
421
421
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
422
|
-
getConfig: () => import("
|
|
422
|
+
getConfig: () => import("../index.js").StringMeta<"Password">;
|
|
423
423
|
getIsRequired: () => false;
|
|
424
424
|
getIsTranslatable: () => false;
|
|
425
425
|
getVisibility: () => "all";
|
|
@@ -433,19 +433,19 @@ export declare const ManagerUser: ContentType<{
|
|
|
433
433
|
input: string;
|
|
434
434
|
db: string;
|
|
435
435
|
output: string;
|
|
436
|
-
meta: import("
|
|
437
|
-
state: import("
|
|
436
|
+
meta: import("../index.js").StringMeta<"Password">;
|
|
437
|
+
state: import("../index.js").FieldState;
|
|
438
438
|
} | undefined;
|
|
439
|
-
meta: import("
|
|
440
|
-
state: import("
|
|
439
|
+
meta: import("../index.js").StringMeta<"Password">;
|
|
440
|
+
state: import("../index.js").FieldState;
|
|
441
441
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
442
442
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
443
443
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
444
444
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
445
|
-
getConfig: () => import("
|
|
445
|
+
getConfig: () => import("../index.js").StringMeta<"Password">;
|
|
446
446
|
getIsRequired: () => boolean;
|
|
447
447
|
getIsTranslatable: () => boolean;
|
|
448
|
-
getVisibility: () => import("
|
|
448
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
449
449
|
getIsDynamic: () => boolean;
|
|
450
450
|
getDescription: () => string | undefined;
|
|
451
451
|
getCondition: () => {
|
|
@@ -485,26 +485,26 @@ export declare const ManagerUser: ContentType<{
|
|
|
485
485
|
lte?: number | undefined;
|
|
486
486
|
};
|
|
487
487
|
} | undefined;
|
|
488
|
-
}, NextUi extends import("
|
|
488
|
+
}, NextUi extends import("../index.js").StringUI>(this: TThis, ui: NextUi) => import("../index.js").StringField<NextUi, import("../index.js").FieldStateOf<TThis>>;
|
|
489
489
|
min: <TThis extends {
|
|
490
490
|
kind: "field";
|
|
491
491
|
readonly __fieldTypes?: {
|
|
492
492
|
input: string;
|
|
493
493
|
db: string;
|
|
494
494
|
output: string;
|
|
495
|
-
meta: import("
|
|
496
|
-
state: import("
|
|
495
|
+
meta: import("../index.js").StringMeta<"Password">;
|
|
496
|
+
state: import("../index.js").FieldState;
|
|
497
497
|
} | undefined;
|
|
498
|
-
meta: import("
|
|
499
|
-
state: import("
|
|
498
|
+
meta: import("../index.js").StringMeta<"Password">;
|
|
499
|
+
state: import("../index.js").FieldState;
|
|
500
500
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
501
501
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
502
502
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
503
503
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
504
|
-
getConfig: () => import("
|
|
504
|
+
getConfig: () => import("../index.js").StringMeta<"Password">;
|
|
505
505
|
getIsRequired: () => boolean;
|
|
506
506
|
getIsTranslatable: () => boolean;
|
|
507
|
-
getVisibility: () => import("
|
|
507
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
508
508
|
getIsDynamic: () => boolean;
|
|
509
509
|
getDescription: () => string | undefined;
|
|
510
510
|
getCondition: () => {
|
|
@@ -544,26 +544,26 @@ export declare const ManagerUser: ContentType<{
|
|
|
544
544
|
lte?: number | undefined;
|
|
545
545
|
};
|
|
546
546
|
} | undefined;
|
|
547
|
-
}>(this: TThis, length: number) => import("
|
|
547
|
+
}>(this: TThis, length: number) => import("../index.js").StringField<"Password", import("../index.js").FieldStateOf<TThis>>;
|
|
548
548
|
max: <TThis extends {
|
|
549
549
|
kind: "field";
|
|
550
550
|
readonly __fieldTypes?: {
|
|
551
551
|
input: string;
|
|
552
552
|
db: string;
|
|
553
553
|
output: string;
|
|
554
|
-
meta: import("
|
|
555
|
-
state: import("
|
|
554
|
+
meta: import("../index.js").StringMeta<"Password">;
|
|
555
|
+
state: import("../index.js").FieldState;
|
|
556
556
|
} | undefined;
|
|
557
|
-
meta: import("
|
|
558
|
-
state: import("
|
|
557
|
+
meta: import("../index.js").StringMeta<"Password">;
|
|
558
|
+
state: import("../index.js").FieldState;
|
|
559
559
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
560
560
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
561
561
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
562
562
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
563
|
-
getConfig: () => import("
|
|
563
|
+
getConfig: () => import("../index.js").StringMeta<"Password">;
|
|
564
564
|
getIsRequired: () => boolean;
|
|
565
565
|
getIsTranslatable: () => boolean;
|
|
566
|
-
getVisibility: () => import("
|
|
566
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
567
567
|
getIsDynamic: () => boolean;
|
|
568
568
|
getDescription: () => string | undefined;
|
|
569
569
|
getCondition: () => {
|
|
@@ -603,49 +603,49 @@ export declare const ManagerUser: ContentType<{
|
|
|
603
603
|
lte?: number | undefined;
|
|
604
604
|
};
|
|
605
605
|
} | undefined;
|
|
606
|
-
}>(this: TThis, length: number) => import("
|
|
607
|
-
}, keyof import("
|
|
608
|
-
role: import("
|
|
606
|
+
}>(this: TThis, length: number) => import("../index.js").StringField<"Password", import("../index.js").FieldStateOf<TThis>>;
|
|
607
|
+
}, keyof import("../index.js").AnyFieldLike | ("condition" | "translatable" | "required" | "description" | "apiOnly" | "managerOnly" | "noDynamic" | "getPopulatedSchema")> & import("../index.js").FieldLike<string, string, string, import("../index.js").StringMeta<"Password">, import("../index.js").SetRequired<import("../index.js").DefaultFieldState>>, import("../index.js").SetVisibility<import("../index.js").SetRequired<import("../index.js").DefaultFieldState>, "manager">>;
|
|
608
|
+
role: import("../index.js").WithFieldState<{
|
|
609
609
|
kind: "field";
|
|
610
610
|
readonly __fieldTypes?: {
|
|
611
|
-
input: import("
|
|
612
|
-
db: import("
|
|
611
|
+
input: import("../index.js").RelationExisting<"ManagerRole">;
|
|
612
|
+
db: import("../index.js").RelationExisting<"ManagerRole">;
|
|
613
613
|
output: {
|
|
614
614
|
name: string;
|
|
615
615
|
permissions: (string | undefined)[];
|
|
616
616
|
_type: "ManagerRole";
|
|
617
617
|
_id: string;
|
|
618
618
|
_schemaVersion?: number | undefined;
|
|
619
|
-
_visibility?: import("
|
|
620
|
-
_visibilityBeforeTrash?: Exclude<import("
|
|
619
|
+
_visibility?: import("../index.js").DocumentVisibility | undefined;
|
|
620
|
+
_visibilityBeforeTrash?: Exclude<import("../index.js").DocumentVisibility, "trash"> | undefined;
|
|
621
621
|
_trashed?: boolean | undefined;
|
|
622
622
|
_revision?: number | undefined;
|
|
623
623
|
_localeVariantGroupId?: string | undefined;
|
|
624
|
-
_localeVariantRole?: import("zod").infer<typeof import("
|
|
624
|
+
_localeVariantRole?: import("zod").infer<typeof import("../index.js").LocaleVariantRole> | undefined;
|
|
625
625
|
trashedAt?: Date | undefined;
|
|
626
626
|
createdAt?: Date | undefined;
|
|
627
627
|
updatedAt?: Date | undefined;
|
|
628
628
|
};
|
|
629
|
-
meta: import("
|
|
630
|
-
state: import("
|
|
629
|
+
meta: import("../index.js").RelationMeta<"ManagerRole", undefined>;
|
|
630
|
+
state: import("../index.js").DefaultFieldState;
|
|
631
631
|
} | undefined;
|
|
632
|
-
meta: import("
|
|
633
|
-
state: import("
|
|
634
|
-
toZod: () => import("zod").ZodType<import("
|
|
635
|
-
getInputSchema: () => import("zod").ZodType<import("
|
|
636
|
-
getSchema: () => import("zod").ZodType<import("
|
|
632
|
+
meta: import("../index.js").RelationMeta<"ManagerRole", undefined>;
|
|
633
|
+
state: import("../index.js").DefaultFieldState;
|
|
634
|
+
toZod: () => import("zod").ZodType<import("../index.js").RelationExisting<"ManagerRole">, unknown, import("zod/v4/core").$ZodTypeInternals<import("../index.js").RelationExisting<"ManagerRole">, unknown>>;
|
|
635
|
+
getInputSchema: () => import("zod").ZodType<import("../index.js").RelationExisting<"ManagerRole"> | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<import("../index.js").RelationExisting<"ManagerRole"> | null | undefined, unknown>>;
|
|
636
|
+
getSchema: () => import("zod").ZodType<import("../index.js").RelationExisting<"ManagerRole"> | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<import("../index.js").RelationExisting<"ManagerRole"> | undefined, unknown>>;
|
|
637
637
|
getOutputSchema: () => import("zod").ZodType<{
|
|
638
638
|
name: string;
|
|
639
639
|
permissions: (string | undefined)[];
|
|
640
640
|
_type: "ManagerRole";
|
|
641
641
|
_id: string;
|
|
642
642
|
_schemaVersion?: number | undefined;
|
|
643
|
-
_visibility?: import("
|
|
644
|
-
_visibilityBeforeTrash?: Exclude<import("
|
|
643
|
+
_visibility?: import("../index.js").DocumentVisibility | undefined;
|
|
644
|
+
_visibilityBeforeTrash?: Exclude<import("../index.js").DocumentVisibility, "trash"> | undefined;
|
|
645
645
|
_trashed?: boolean | undefined;
|
|
646
646
|
_revision?: number | undefined;
|
|
647
647
|
_localeVariantGroupId?: string | undefined;
|
|
648
|
-
_localeVariantRole?: import("zod").infer<typeof import("
|
|
648
|
+
_localeVariantRole?: import("zod").infer<typeof import("../index.js").LocaleVariantRole> | undefined;
|
|
649
649
|
trashedAt?: Date | undefined;
|
|
650
650
|
createdAt?: Date | undefined;
|
|
651
651
|
updatedAt?: Date | undefined;
|
|
@@ -655,59 +655,59 @@ export declare const ManagerUser: ContentType<{
|
|
|
655
655
|
_type: "ManagerRole";
|
|
656
656
|
_id: string;
|
|
657
657
|
_schemaVersion?: number | undefined;
|
|
658
|
-
_visibility?: import("
|
|
659
|
-
_visibilityBeforeTrash?: Exclude<import("
|
|
658
|
+
_visibility?: import("../index.js").DocumentVisibility | undefined;
|
|
659
|
+
_visibilityBeforeTrash?: Exclude<import("../index.js").DocumentVisibility, "trash"> | undefined;
|
|
660
660
|
_trashed?: boolean | undefined;
|
|
661
661
|
_revision?: number | undefined;
|
|
662
662
|
_localeVariantGroupId?: string | undefined;
|
|
663
|
-
_localeVariantRole?: import("zod").infer<typeof import("
|
|
663
|
+
_localeVariantRole?: import("zod").infer<typeof import("../index.js").LocaleVariantRole> | undefined;
|
|
664
664
|
trashedAt?: Date | undefined;
|
|
665
665
|
createdAt?: Date | undefined;
|
|
666
666
|
updatedAt?: Date | undefined;
|
|
667
667
|
} | undefined, unknown>>;
|
|
668
|
-
getConfig: () => import("
|
|
668
|
+
getConfig: () => import("../index.js").RelationMeta<"ManagerRole", undefined>;
|
|
669
669
|
getIsRequired: () => false;
|
|
670
670
|
getIsTranslatable: () => false;
|
|
671
671
|
getVisibility: () => "all";
|
|
672
672
|
getIsDynamic: () => true;
|
|
673
673
|
getDescription: () => undefined;
|
|
674
674
|
getCondition: () => undefined;
|
|
675
|
-
} & import("
|
|
675
|
+
} & import("../index.js").PopulatableFieldLike<{
|
|
676
676
|
name: string;
|
|
677
677
|
permissions: (string | undefined)[];
|
|
678
678
|
_type: "ManagerRole";
|
|
679
679
|
_id: string;
|
|
680
680
|
_schemaVersion?: number | undefined;
|
|
681
|
-
_visibility?: import("
|
|
682
|
-
_visibilityBeforeTrash?: Exclude<import("
|
|
681
|
+
_visibility?: import("../index.js").DocumentVisibility | undefined;
|
|
682
|
+
_visibilityBeforeTrash?: Exclude<import("../index.js").DocumentVisibility, "trash"> | undefined;
|
|
683
683
|
_trashed?: boolean | undefined;
|
|
684
684
|
_revision?: number | undefined;
|
|
685
685
|
_localeVariantGroupId?: string | undefined;
|
|
686
|
-
_localeVariantRole?: import("zod").infer<typeof import("
|
|
686
|
+
_localeVariantRole?: import("zod").infer<typeof import("../index.js").LocaleVariantRole> | undefined;
|
|
687
687
|
trashedAt?: Date | undefined;
|
|
688
688
|
trashedBy?: string | undefined;
|
|
689
689
|
createdAt?: Date | undefined;
|
|
690
690
|
updatedAt?: Date | undefined;
|
|
691
691
|
createdBy?: string | undefined;
|
|
692
692
|
updatedBy?: string | undefined;
|
|
693
|
-
}, import("
|
|
693
|
+
}, import("../index.js").DefaultFieldState> & {
|
|
694
694
|
contentType: ContentType<{
|
|
695
|
-
name: import("
|
|
695
|
+
name: import("../index.js").WithFieldState<{
|
|
696
696
|
kind: "field";
|
|
697
697
|
readonly __fieldTypes?: {
|
|
698
698
|
input: string;
|
|
699
699
|
db: string;
|
|
700
700
|
output: string;
|
|
701
|
-
meta: import("
|
|
702
|
-
state: import("
|
|
701
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
702
|
+
state: import("../index.js").DefaultFieldState;
|
|
703
703
|
} | undefined;
|
|
704
|
-
meta: import("
|
|
705
|
-
state: import("
|
|
704
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
705
|
+
state: import("../index.js").DefaultFieldState;
|
|
706
706
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
707
707
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
708
708
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
709
709
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
710
|
-
getConfig: () => import("
|
|
710
|
+
getConfig: () => import("../index.js").StringMeta<"Text">;
|
|
711
711
|
getIsRequired: () => false;
|
|
712
712
|
getIsTranslatable: () => false;
|
|
713
713
|
getVisibility: () => "all";
|
|
@@ -721,19 +721,19 @@ export declare const ManagerUser: ContentType<{
|
|
|
721
721
|
input: string;
|
|
722
722
|
db: string;
|
|
723
723
|
output: string;
|
|
724
|
-
meta: import("
|
|
725
|
-
state: import("
|
|
724
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
725
|
+
state: import("../index.js").FieldState;
|
|
726
726
|
} | undefined;
|
|
727
|
-
meta: import("
|
|
728
|
-
state: import("
|
|
727
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
728
|
+
state: import("../index.js").FieldState;
|
|
729
729
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
730
730
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
731
731
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
732
732
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
733
|
-
getConfig: () => import("
|
|
733
|
+
getConfig: () => import("../index.js").StringMeta<"Text">;
|
|
734
734
|
getIsRequired: () => boolean;
|
|
735
735
|
getIsTranslatable: () => boolean;
|
|
736
|
-
getVisibility: () => import("
|
|
736
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
737
737
|
getIsDynamic: () => boolean;
|
|
738
738
|
getDescription: () => string | undefined;
|
|
739
739
|
getCondition: () => {
|
|
@@ -773,26 +773,26 @@ export declare const ManagerUser: ContentType<{
|
|
|
773
773
|
lte?: number | undefined;
|
|
774
774
|
};
|
|
775
775
|
} | undefined;
|
|
776
|
-
}, NextUi extends import("
|
|
776
|
+
}, NextUi extends import("../index.js").StringUI>(this: TThis, ui: NextUi) => import("../index.js").StringField<NextUi, import("../index.js").FieldStateOf<TThis>>;
|
|
777
777
|
min: <TThis extends {
|
|
778
778
|
kind: "field";
|
|
779
779
|
readonly __fieldTypes?: {
|
|
780
780
|
input: string;
|
|
781
781
|
db: string;
|
|
782
782
|
output: string;
|
|
783
|
-
meta: import("
|
|
784
|
-
state: import("
|
|
783
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
784
|
+
state: import("../index.js").FieldState;
|
|
785
785
|
} | undefined;
|
|
786
|
-
meta: import("
|
|
787
|
-
state: import("
|
|
786
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
787
|
+
state: import("../index.js").FieldState;
|
|
788
788
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
789
789
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
790
790
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
791
791
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
792
|
-
getConfig: () => import("
|
|
792
|
+
getConfig: () => import("../index.js").StringMeta<"Text">;
|
|
793
793
|
getIsRequired: () => boolean;
|
|
794
794
|
getIsTranslatable: () => boolean;
|
|
795
|
-
getVisibility: () => import("
|
|
795
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
796
796
|
getIsDynamic: () => boolean;
|
|
797
797
|
getDescription: () => string | undefined;
|
|
798
798
|
getCondition: () => {
|
|
@@ -832,26 +832,26 @@ export declare const ManagerUser: ContentType<{
|
|
|
832
832
|
lte?: number | undefined;
|
|
833
833
|
};
|
|
834
834
|
} | undefined;
|
|
835
|
-
}>(this: TThis, length: number) => import("
|
|
835
|
+
}>(this: TThis, length: number) => import("../index.js").StringField<"Text", import("../index.js").FieldStateOf<TThis>>;
|
|
836
836
|
max: <TThis extends {
|
|
837
837
|
kind: "field";
|
|
838
838
|
readonly __fieldTypes?: {
|
|
839
839
|
input: string;
|
|
840
840
|
db: string;
|
|
841
841
|
output: string;
|
|
842
|
-
meta: import("
|
|
843
|
-
state: import("
|
|
842
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
843
|
+
state: import("../index.js").FieldState;
|
|
844
844
|
} | undefined;
|
|
845
|
-
meta: import("
|
|
846
|
-
state: import("
|
|
845
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
846
|
+
state: import("../index.js").FieldState;
|
|
847
847
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
848
848
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
849
849
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
850
850
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
851
|
-
getConfig: () => import("
|
|
851
|
+
getConfig: () => import("../index.js").StringMeta<"Text">;
|
|
852
852
|
getIsRequired: () => boolean;
|
|
853
853
|
getIsTranslatable: () => boolean;
|
|
854
|
-
getVisibility: () => import("
|
|
854
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
855
855
|
getIsDynamic: () => boolean;
|
|
856
856
|
getDescription: () => string | undefined;
|
|
857
857
|
getCondition: () => {
|
|
@@ -891,54 +891,54 @@ export declare const ManagerUser: ContentType<{
|
|
|
891
891
|
lte?: number | undefined;
|
|
892
892
|
};
|
|
893
893
|
} | undefined;
|
|
894
|
-
}>(this: TThis, length: number) => import("
|
|
895
|
-
}, import("
|
|
896
|
-
permissions: import("
|
|
897
|
-
field: import("
|
|
898
|
-
}, import("
|
|
894
|
+
}>(this: TThis, length: number) => import("../index.js").StringField<"Text", import("../index.js").FieldStateOf<TThis>>;
|
|
895
|
+
}, import("../index.js").SetRequired<import("../index.js").DefaultFieldState>>;
|
|
896
|
+
permissions: import("../index.js").WithFieldState<import("../index.js").FieldLike<(string | null | undefined)[], (string | undefined)[], (string | undefined)[], import("../index.js").SimpleListMeta<import("../index.js").StringField<"Text", import("../index.js").DefaultFieldState>>, import("../index.js").DefaultFieldState> & import("../index.js").PopulatableFieldLike<(string | undefined)[], import("../index.js").DefaultFieldState> & {
|
|
897
|
+
field: import("../index.js").StringField<"Text", import("../index.js").DefaultFieldState>;
|
|
898
|
+
}, import("../index.js").SetRequired<import("../index.js").DefaultFieldState>>;
|
|
899
899
|
}, "ManagerRole", undefined>;
|
|
900
900
|
only?: undefined;
|
|
901
901
|
multiple: <TThis extends {
|
|
902
902
|
kind: "field";
|
|
903
903
|
readonly __fieldTypes?: {
|
|
904
|
-
input: import("
|
|
905
|
-
db: import("
|
|
904
|
+
input: import("../index.js").RelationExisting<"ManagerRole">;
|
|
905
|
+
db: import("../index.js").RelationExisting<"ManagerRole">;
|
|
906
906
|
output: {
|
|
907
907
|
name: string;
|
|
908
908
|
permissions: (string | undefined)[];
|
|
909
909
|
_type: "ManagerRole";
|
|
910
910
|
_id: string;
|
|
911
911
|
_schemaVersion?: number | undefined;
|
|
912
|
-
_visibility?: import("
|
|
913
|
-
_visibilityBeforeTrash?: Exclude<import("
|
|
912
|
+
_visibility?: import("../index.js").DocumentVisibility | undefined;
|
|
913
|
+
_visibilityBeforeTrash?: Exclude<import("../index.js").DocumentVisibility, "trash"> | undefined;
|
|
914
914
|
_trashed?: boolean | undefined;
|
|
915
915
|
_revision?: number | undefined;
|
|
916
916
|
_localeVariantGroupId?: string | undefined;
|
|
917
|
-
_localeVariantRole?: import("zod").infer<typeof import("
|
|
917
|
+
_localeVariantRole?: import("zod").infer<typeof import("../index.js").LocaleVariantRole> | undefined;
|
|
918
918
|
trashedAt?: Date | undefined;
|
|
919
919
|
createdAt?: Date | undefined;
|
|
920
920
|
updatedAt?: Date | undefined;
|
|
921
921
|
};
|
|
922
|
-
meta: import("
|
|
923
|
-
state: import("
|
|
922
|
+
meta: import("../index.js").RelationMeta<"ManagerRole", undefined>;
|
|
923
|
+
state: import("../index.js").FieldState;
|
|
924
924
|
} | undefined;
|
|
925
|
-
meta: import("
|
|
926
|
-
state: import("
|
|
927
|
-
toZod: () => import("zod").ZodType<import("
|
|
928
|
-
getInputSchema: () => import("zod").ZodType<import("
|
|
929
|
-
getSchema: () => import("zod").ZodType<import("
|
|
925
|
+
meta: import("../index.js").RelationMeta<"ManagerRole", undefined>;
|
|
926
|
+
state: import("../index.js").FieldState;
|
|
927
|
+
toZod: () => import("zod").ZodType<import("../index.js").RelationExisting<"ManagerRole">, unknown, import("zod/v4/core").$ZodTypeInternals<import("../index.js").RelationExisting<"ManagerRole">, unknown>>;
|
|
928
|
+
getInputSchema: () => import("zod").ZodType<import("../index.js").RelationExisting<"ManagerRole"> | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<import("../index.js").RelationExisting<"ManagerRole"> | null | undefined, unknown>>;
|
|
929
|
+
getSchema: () => import("zod").ZodType<import("../index.js").RelationExisting<"ManagerRole"> | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<import("../index.js").RelationExisting<"ManagerRole"> | undefined, unknown>>;
|
|
930
930
|
getOutputSchema: () => import("zod").ZodType<{
|
|
931
931
|
name: string;
|
|
932
932
|
permissions: (string | undefined)[];
|
|
933
933
|
_type: "ManagerRole";
|
|
934
934
|
_id: string;
|
|
935
935
|
_schemaVersion?: number | undefined;
|
|
936
|
-
_visibility?: import("
|
|
937
|
-
_visibilityBeforeTrash?: Exclude<import("
|
|
936
|
+
_visibility?: import("../index.js").DocumentVisibility | undefined;
|
|
937
|
+
_visibilityBeforeTrash?: Exclude<import("../index.js").DocumentVisibility, "trash"> | undefined;
|
|
938
938
|
_trashed?: boolean | undefined;
|
|
939
939
|
_revision?: number | undefined;
|
|
940
940
|
_localeVariantGroupId?: string | undefined;
|
|
941
|
-
_localeVariantRole?: import("zod").infer<typeof import("
|
|
941
|
+
_localeVariantRole?: import("zod").infer<typeof import("../index.js").LocaleVariantRole> | undefined;
|
|
942
942
|
trashedAt?: Date | undefined;
|
|
943
943
|
createdAt?: Date | undefined;
|
|
944
944
|
updatedAt?: Date | undefined;
|
|
@@ -948,20 +948,20 @@ export declare const ManagerUser: ContentType<{
|
|
|
948
948
|
_type: "ManagerRole";
|
|
949
949
|
_id: string;
|
|
950
950
|
_schemaVersion?: number | undefined;
|
|
951
|
-
_visibility?: import("
|
|
952
|
-
_visibilityBeforeTrash?: Exclude<import("
|
|
951
|
+
_visibility?: import("../index.js").DocumentVisibility | undefined;
|
|
952
|
+
_visibilityBeforeTrash?: Exclude<import("../index.js").DocumentVisibility, "trash"> | undefined;
|
|
953
953
|
_trashed?: boolean | undefined;
|
|
954
954
|
_revision?: number | undefined;
|
|
955
955
|
_localeVariantGroupId?: string | undefined;
|
|
956
|
-
_localeVariantRole?: import("zod").infer<typeof import("
|
|
956
|
+
_localeVariantRole?: import("zod").infer<typeof import("../index.js").LocaleVariantRole> | undefined;
|
|
957
957
|
trashedAt?: Date | undefined;
|
|
958
958
|
createdAt?: Date | undefined;
|
|
959
959
|
updatedAt?: Date | undefined;
|
|
960
960
|
} | undefined, unknown>>;
|
|
961
|
-
getConfig: () => import("
|
|
961
|
+
getConfig: () => import("../index.js").RelationMeta<"ManagerRole", undefined>;
|
|
962
962
|
getIsRequired: () => boolean;
|
|
963
963
|
getIsTranslatable: () => boolean;
|
|
964
|
-
getVisibility: () => import("
|
|
964
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
965
965
|
getIsDynamic: () => boolean;
|
|
966
966
|
getDescription: () => string | undefined;
|
|
967
967
|
getCondition: () => {
|
|
@@ -1001,23 +1001,23 @@ export declare const ManagerUser: ContentType<{
|
|
|
1001
1001
|
lte?: number | undefined;
|
|
1002
1002
|
};
|
|
1003
1003
|
} | undefined;
|
|
1004
|
-
}>(this: TThis) => import("
|
|
1005
|
-
name: import("
|
|
1004
|
+
}>(this: TThis) => import("../index.js").SimpleListField<import("../index.js").RelationField<ContentType<{
|
|
1005
|
+
name: import("../index.js").WithFieldState<{
|
|
1006
1006
|
kind: "field";
|
|
1007
1007
|
readonly __fieldTypes?: {
|
|
1008
1008
|
input: string;
|
|
1009
1009
|
db: string;
|
|
1010
1010
|
output: string;
|
|
1011
|
-
meta: import("
|
|
1012
|
-
state: import("
|
|
1011
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
1012
|
+
state: import("../index.js").DefaultFieldState;
|
|
1013
1013
|
} | undefined;
|
|
1014
|
-
meta: import("
|
|
1015
|
-
state: import("
|
|
1014
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
1015
|
+
state: import("../index.js").DefaultFieldState;
|
|
1016
1016
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
1017
1017
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
1018
1018
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
1019
1019
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
1020
|
-
getConfig: () => import("
|
|
1020
|
+
getConfig: () => import("../index.js").StringMeta<"Text">;
|
|
1021
1021
|
getIsRequired: () => false;
|
|
1022
1022
|
getIsTranslatable: () => false;
|
|
1023
1023
|
getVisibility: () => "all";
|
|
@@ -1031,19 +1031,19 @@ export declare const ManagerUser: ContentType<{
|
|
|
1031
1031
|
input: string;
|
|
1032
1032
|
db: string;
|
|
1033
1033
|
output: string;
|
|
1034
|
-
meta: import("
|
|
1035
|
-
state: import("
|
|
1034
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
1035
|
+
state: import("../index.js").FieldState;
|
|
1036
1036
|
} | undefined;
|
|
1037
|
-
meta: import("
|
|
1038
|
-
state: import("
|
|
1037
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
1038
|
+
state: import("../index.js").FieldState;
|
|
1039
1039
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
1040
1040
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
1041
1041
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
1042
1042
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
1043
|
-
getConfig: () => import("
|
|
1043
|
+
getConfig: () => import("../index.js").StringMeta<"Text">;
|
|
1044
1044
|
getIsRequired: () => boolean;
|
|
1045
1045
|
getIsTranslatable: () => boolean;
|
|
1046
|
-
getVisibility: () => import("
|
|
1046
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
1047
1047
|
getIsDynamic: () => boolean;
|
|
1048
1048
|
getDescription: () => string | undefined;
|
|
1049
1049
|
getCondition: () => {
|
|
@@ -1083,26 +1083,26 @@ export declare const ManagerUser: ContentType<{
|
|
|
1083
1083
|
lte?: number | undefined;
|
|
1084
1084
|
};
|
|
1085
1085
|
} | undefined;
|
|
1086
|
-
}, NextUi extends import("
|
|
1086
|
+
}, NextUi extends import("../index.js").StringUI>(this: TThis_1, ui: NextUi) => import("../index.js").StringField<NextUi, import("../index.js").FieldStateOf<TThis_1>>;
|
|
1087
1087
|
min: <TThis_1 extends {
|
|
1088
1088
|
kind: "field";
|
|
1089
1089
|
readonly __fieldTypes?: {
|
|
1090
1090
|
input: string;
|
|
1091
1091
|
db: string;
|
|
1092
1092
|
output: string;
|
|
1093
|
-
meta: import("
|
|
1094
|
-
state: import("
|
|
1093
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
1094
|
+
state: import("../index.js").FieldState;
|
|
1095
1095
|
} | undefined;
|
|
1096
|
-
meta: import("
|
|
1097
|
-
state: import("
|
|
1096
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
1097
|
+
state: import("../index.js").FieldState;
|
|
1098
1098
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
1099
1099
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
1100
1100
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
1101
1101
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
1102
|
-
getConfig: () => import("
|
|
1102
|
+
getConfig: () => import("../index.js").StringMeta<"Text">;
|
|
1103
1103
|
getIsRequired: () => boolean;
|
|
1104
1104
|
getIsTranslatable: () => boolean;
|
|
1105
|
-
getVisibility: () => import("
|
|
1105
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
1106
1106
|
getIsDynamic: () => boolean;
|
|
1107
1107
|
getDescription: () => string | undefined;
|
|
1108
1108
|
getCondition: () => {
|
|
@@ -1142,26 +1142,26 @@ export declare const ManagerUser: ContentType<{
|
|
|
1142
1142
|
lte?: number | undefined;
|
|
1143
1143
|
};
|
|
1144
1144
|
} | undefined;
|
|
1145
|
-
}>(this: TThis_1, length: number) => import("
|
|
1145
|
+
}>(this: TThis_1, length: number) => import("../index.js").StringField<"Text", import("../index.js").FieldStateOf<TThis_1>>;
|
|
1146
1146
|
max: <TThis_1 extends {
|
|
1147
1147
|
kind: "field";
|
|
1148
1148
|
readonly __fieldTypes?: {
|
|
1149
1149
|
input: string;
|
|
1150
1150
|
db: string;
|
|
1151
1151
|
output: string;
|
|
1152
|
-
meta: import("
|
|
1153
|
-
state: import("
|
|
1152
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
1153
|
+
state: import("../index.js").FieldState;
|
|
1154
1154
|
} | undefined;
|
|
1155
|
-
meta: import("
|
|
1156
|
-
state: import("
|
|
1155
|
+
meta: import("../index.js").StringMeta<"Text">;
|
|
1156
|
+
state: import("../index.js").FieldState;
|
|
1157
1157
|
toZod: () => import("zod").ZodType<string, unknown, import("zod/v4/core").$ZodTypeInternals<string, unknown>>;
|
|
1158
1158
|
getInputSchema: () => import("zod").ZodType<string | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | null | undefined, unknown>>;
|
|
1159
1159
|
getSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
1160
1160
|
getOutputSchema: () => import("zod").ZodType<string | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<string | undefined, unknown>>;
|
|
1161
|
-
getConfig: () => import("
|
|
1161
|
+
getConfig: () => import("../index.js").StringMeta<"Text">;
|
|
1162
1162
|
getIsRequired: () => boolean;
|
|
1163
1163
|
getIsTranslatable: () => boolean;
|
|
1164
|
-
getVisibility: () => import("
|
|
1164
|
+
getVisibility: () => import("../index.js").Visibility;
|
|
1165
1165
|
getIsDynamic: () => boolean;
|
|
1166
1166
|
getDescription: () => string | undefined;
|
|
1167
1167
|
getCondition: () => {
|
|
@@ -1201,44 +1201,44 @@ export declare const ManagerUser: ContentType<{
|
|
|
1201
1201
|
lte?: number | undefined;
|
|
1202
1202
|
};
|
|
1203
1203
|
} | undefined;
|
|
1204
|
-
}>(this: TThis_1, length: number) => import("
|
|
1205
|
-
}, import("
|
|
1206
|
-
permissions: import("
|
|
1207
|
-
field: import("
|
|
1208
|
-
}, import("
|
|
1209
|
-
}, "ManagerRole", undefined>, undefined, import("
|
|
1210
|
-
}, import("
|
|
1211
|
-
avatarId: import("
|
|
1212
|
-
avatarKey: import("
|
|
1213
|
-
avatarAccess: import("
|
|
1214
|
-
avatarUrl: import("
|
|
1215
|
-
avatarPreviewUrl: import("
|
|
1216
|
-
tutorialsEnabled: import("
|
|
1217
|
-
tutorialsPromptedAt: import("
|
|
1218
|
-
seenTours: import("
|
|
1219
|
-
twoFactorEnabled: import("
|
|
1204
|
+
}>(this: TThis_1, length: number) => import("../index.js").StringField<"Text", import("../index.js").FieldStateOf<TThis_1>>;
|
|
1205
|
+
}, import("../index.js").SetRequired<import("../index.js").DefaultFieldState>>;
|
|
1206
|
+
permissions: import("../index.js").WithFieldState<import("../index.js").FieldLike<(string | null | undefined)[], (string | undefined)[], (string | undefined)[], import("../index.js").SimpleListMeta<import("../index.js").StringField<"Text", import("../index.js").DefaultFieldState>>, import("../index.js").DefaultFieldState> & import("../index.js").PopulatableFieldLike<(string | undefined)[], import("../index.js").DefaultFieldState> & {
|
|
1207
|
+
field: import("../index.js").StringField<"Text", import("../index.js").DefaultFieldState>;
|
|
1208
|
+
}, import("../index.js").SetRequired<import("../index.js").DefaultFieldState>>;
|
|
1209
|
+
}, "ManagerRole", undefined>, undefined, import("../index.js").SetRequired<import("../index.js").DefaultFieldState>>, import("../index.js").FieldStateOf<TThis>>;
|
|
1210
|
+
}, import("../index.js").SetRequired<import("../index.js").DefaultFieldState>>;
|
|
1211
|
+
avatarId: import("../index.js").StringField<"Id", import("../index.js").DefaultFieldState>;
|
|
1212
|
+
avatarKey: import("../index.js").StringField<"Text", import("../index.js").DefaultFieldState>;
|
|
1213
|
+
avatarAccess: import("../index.js").SelectField<readonly ["public", "private"], false, import("../index.js").DefaultFieldState>;
|
|
1214
|
+
avatarUrl: import("../index.js").StringField<"Url", import("../index.js").DefaultFieldState>;
|
|
1215
|
+
avatarPreviewUrl: import("../index.js").StringField<"Url", import("../index.js").DefaultFieldState>;
|
|
1216
|
+
tutorialsEnabled: import("../index.js").BooleanField<import("../index.js").DefaultFieldState>;
|
|
1217
|
+
tutorialsPromptedAt: import("../index.js").DateField<"DateTime", import("../index.js").DefaultFieldState>;
|
|
1218
|
+
seenTours: import("../index.js").SimpleListField<import("../index.js").StringField<"Text", import("../index.js").DefaultFieldState>, import("../index.js").DefaultFieldState>;
|
|
1219
|
+
twoFactorEnabled: import("../index.js").WithFieldState<{
|
|
1220
1220
|
kind: "field";
|
|
1221
1221
|
readonly __fieldTypes?: {
|
|
1222
1222
|
input: boolean;
|
|
1223
1223
|
db: boolean;
|
|
1224
1224
|
output: boolean;
|
|
1225
|
-
meta: import("
|
|
1226
|
-
state: import("
|
|
1225
|
+
meta: import("../index.js").BooleanMeta;
|
|
1226
|
+
state: import("../index.js").DefaultFieldState;
|
|
1227
1227
|
} | undefined;
|
|
1228
|
-
meta: import("
|
|
1229
|
-
state: import("
|
|
1228
|
+
meta: import("../index.js").BooleanMeta;
|
|
1229
|
+
state: import("../index.js").DefaultFieldState;
|
|
1230
1230
|
toZod: () => import("zod").ZodType<boolean, unknown, import("zod/v4/core").$ZodTypeInternals<boolean, unknown>>;
|
|
1231
1231
|
getInputSchema: () => import("zod").ZodType<boolean | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<boolean | null | undefined, unknown>>;
|
|
1232
1232
|
getSchema: () => import("zod").ZodType<boolean | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<boolean | undefined, unknown>>;
|
|
1233
1233
|
getOutputSchema: () => import("zod").ZodType<boolean | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<boolean | undefined, unknown>>;
|
|
1234
|
-
getConfig: () => import("
|
|
1234
|
+
getConfig: () => import("../index.js").BooleanMeta;
|
|
1235
1235
|
getIsRequired: () => false;
|
|
1236
1236
|
getIsTranslatable: () => false;
|
|
1237
1237
|
getVisibility: () => "all";
|
|
1238
1238
|
getIsDynamic: () => true;
|
|
1239
1239
|
getDescription: () => undefined;
|
|
1240
1240
|
getCondition: () => undefined;
|
|
1241
|
-
}, import("
|
|
1241
|
+
}, import("../index.js").SetRequired<import("../index.js").DefaultFieldState>>;
|
|
1242
1242
|
}, "ManagerUser", undefined>;
|
|
1243
1243
|
export type ManagerUser = typeof ManagerUser;
|
|
1244
1244
|
export type ManagerUserSchema = DataFront<ManagerUser>;
|