payload 4.0.0-internal.5f0cd13 → 4.0.0-internal.688c4d0
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/admin/RichText.d.ts +22 -2
- package/dist/admin/RichText.d.ts.map +1 -1
- package/dist/admin/RichText.js.map +1 -1
- package/dist/admin/adapters/devReload.d.ts +9 -0
- package/dist/admin/adapters/devReload.d.ts.map +1 -0
- package/dist/admin/adapters/devReload.js +6 -0
- package/dist/admin/adapters/devReload.js.map +1 -0
- package/dist/admin/adapters/index.d.ts +3 -0
- package/dist/admin/adapters/index.d.ts.map +1 -1
- package/dist/admin/adapters/index.js.map +1 -1
- package/dist/admin/adapters/render.d.ts +16 -0
- package/dist/admin/adapters/render.d.ts.map +1 -0
- package/dist/admin/adapters/render.js +7 -0
- package/dist/admin/adapters/render.js.map +1 -0
- package/dist/admin/adapters/views.d.ts +36 -0
- package/dist/admin/adapters/views.d.ts.map +1 -0
- package/dist/admin/adapters/views.js +7 -0
- package/dist/admin/adapters/views.js.map +1 -0
- package/dist/admin/fields/Row.d.ts +2 -2
- package/dist/admin/fields/Row.d.ts.map +1 -1
- package/dist/admin/fields/Row.js.map +1 -1
- package/dist/admin/forms/Description.d.ts +2 -2
- package/dist/admin/forms/Description.d.ts.map +1 -1
- package/dist/admin/forms/Description.js.map +1 -1
- package/dist/admin/forms/Field.d.ts +8 -3
- package/dist/admin/forms/Field.d.ts.map +1 -1
- package/dist/admin/forms/Field.js.map +1 -1
- package/dist/admin/forms/Form.d.ts +29 -0
- package/dist/admin/forms/Form.d.ts.map +1 -1
- package/dist/admin/forms/Form.js.map +1 -1
- package/dist/admin/functions/index.d.ts +9 -0
- package/dist/admin/functions/index.d.ts.map +1 -1
- package/dist/admin/functions/index.js.map +1 -1
- package/dist/admin/types.d.ts +2 -2
- package/dist/admin/types.d.ts.map +1 -1
- package/dist/admin/types.js.map +1 -1
- package/dist/admin/views/dashboard.d.ts +7 -0
- package/dist/admin/views/dashboard.d.ts.map +1 -1
- package/dist/admin/views/dashboard.js.map +1 -1
- package/dist/admin/views/document.d.ts +5 -3
- package/dist/admin/views/document.d.ts.map +1 -1
- package/dist/admin/views/document.js.map +1 -1
- package/dist/admin/views/list.d.ts +5 -0
- package/dist/admin/views/list.d.ts.map +1 -1
- package/dist/admin/views/list.js.map +1 -1
- package/dist/auth/baseFields/apiKey.d.ts +10 -2
- package/dist/auth/baseFields/apiKey.d.ts.map +1 -1
- package/dist/auth/baseFields/apiKey.js +35 -24
- package/dist/auth/baseFields/apiKey.js.map +1 -1
- package/dist/auth/defaultAccess.d.ts +1 -1
- package/dist/auth/defaultAccess.d.ts.map +1 -1
- package/dist/auth/defaultAccess.js +1 -1
- package/dist/auth/defaultAccess.js.map +1 -1
- package/dist/auth/defaultUser.d.ts.map +1 -1
- package/dist/auth/defaultUser.js +2 -1
- package/dist/auth/defaultUser.js.map +1 -1
- package/dist/auth/getAuthFields.js +2 -2
- package/dist/auth/getAuthFields.js.map +1 -1
- package/dist/bin/build.d.ts +25 -0
- package/dist/bin/build.d.ts.map +1 -0
- package/dist/bin/build.js +80 -0
- package/dist/bin/build.js.map +1 -0
- package/dist/bin/build.spec.js +170 -0
- package/dist/bin/build.spec.js.map +1 -0
- package/dist/bin/generateImportMap/index.d.ts.map +1 -1
- package/dist/bin/generateImportMap/index.js +8 -5
- package/dist/bin/generateImportMap/index.js.map +1 -1
- package/dist/bin/generateImportMap/iterateCollections.d.ts.map +1 -1
- package/dist/bin/generateImportMap/iterateCollections.js +1 -0
- package/dist/bin/generateImportMap/iterateCollections.js.map +1 -1
- package/dist/bin/generateImportMap/iterateConfig.d.ts.map +1 -1
- package/dist/bin/generateImportMap/iterateConfig.js +1 -0
- package/dist/bin/generateImportMap/iterateConfig.js.map +1 -1
- package/dist/bin/generateImportMap/utilities/resolveImportMapFilePath.d.ts +5 -1
- package/dist/bin/generateImportMap/utilities/resolveImportMapFilePath.d.ts.map +1 -1
- package/dist/bin/generateImportMap/utilities/resolveImportMapFilePath.js +24 -18
- package/dist/bin/generateImportMap/utilities/resolveImportMapFilePath.js.map +1 -1
- package/dist/bin/generateTypes.d.ts +3 -2
- package/dist/bin/generateTypes.d.ts.map +1 -1
- package/dist/bin/generateTypes.js +4 -0
- package/dist/bin/generateTypes.js.map +1 -1
- package/dist/bin/index.d.ts.map +1 -1
- package/dist/bin/index.js +9 -0
- package/dist/bin/index.js.map +1 -1
- package/dist/bin/loadEnv.d.ts +3 -1
- package/dist/bin/loadEnv.d.ts.map +1 -1
- package/dist/bin/loadEnv.js +40 -10
- package/dist/bin/loadEnv.js.map +1 -1
- package/dist/collections/config/defaults.js +2 -2
- package/dist/collections/config/defaults.js.map +1 -1
- package/dist/collections/config/defaults.spec.js +47 -0
- package/dist/collections/config/defaults.spec.js.map +1 -0
- package/dist/collections/config/sanitize.d.ts.map +1 -1
- package/dist/collections/config/sanitize.js +1 -11
- package/dist/collections/config/sanitize.js.map +1 -1
- package/dist/collections/config/types.d.ts +5 -7
- package/dist/collections/config/types.d.ts.map +1 -1
- package/dist/collections/config/types.js.map +1 -1
- package/dist/collections/endpoints/create.d.ts.map +1 -1
- package/dist/collections/endpoints/create.js +0 -2
- package/dist/collections/endpoints/create.js.map +1 -1
- package/dist/collections/endpoints/updateByID.d.ts.map +1 -1
- package/dist/collections/endpoints/updateByID.js +1 -2
- package/dist/collections/endpoints/updateByID.js.map +1 -1
- package/dist/collections/operations/count.d.ts.map +1 -1
- package/dist/collections/operations/count.js +1 -0
- package/dist/collections/operations/count.js.map +1 -1
- package/dist/collections/operations/create.d.ts +0 -1
- package/dist/collections/operations/create.d.ts.map +1 -1
- package/dist/collections/operations/create.js +15 -6
- package/dist/collections/operations/create.js.map +1 -1
- package/dist/collections/operations/delete.d.ts.map +1 -1
- package/dist/collections/operations/delete.js +3 -0
- package/dist/collections/operations/delete.js.map +1 -1
- package/dist/collections/operations/local/duplicate.d.ts.map +1 -1
- package/dist/collections/operations/local/duplicate.js.map +1 -1
- package/dist/collections/operations/local/find.d.ts.map +1 -1
- package/dist/collections/operations/local/find.js.map +1 -1
- package/dist/collections/operations/local/findByID.d.ts.map +1 -1
- package/dist/collections/operations/local/findByID.js.map +1 -1
- package/dist/collections/operations/local/findVersionByID.d.ts.map +1 -1
- package/dist/collections/operations/local/findVersionByID.js.map +1 -1
- package/dist/collections/operations/local/findVersions.d.ts.map +1 -1
- package/dist/collections/operations/local/findVersions.js.map +1 -1
- package/dist/collections/operations/local/restoreVersion.d.ts.map +1 -1
- package/dist/collections/operations/local/restoreVersion.js.map +1 -1
- package/dist/collections/operations/local/update.d.ts +4 -8
- package/dist/collections/operations/local/update.d.ts.map +1 -1
- package/dist/collections/operations/local/update.js +1 -2
- package/dist/collections/operations/local/update.js.map +1 -1
- package/dist/collections/operations/update.d.ts +0 -1
- package/dist/collections/operations/update.d.ts.map +1 -1
- package/dist/collections/operations/update.js +1 -2
- package/dist/collections/operations/update.js.map +1 -1
- package/dist/collections/operations/updateByID.d.ts +0 -1
- package/dist/collections/operations/updateByID.d.ts.map +1 -1
- package/dist/collections/operations/updateByID.js +1 -5
- package/dist/collections/operations/updateByID.js.map +1 -1
- package/dist/collections/operations/utilities/update.d.ts +1 -2
- package/dist/collections/operations/utilities/update.d.ts.map +1 -1
- package/dist/collections/operations/utilities/update.js +64 -65
- package/dist/collections/operations/utilities/update.js.map +1 -1
- package/dist/config/client.js.map +1 -1
- package/dist/config/orderable/index.d.ts.map +1 -1
- package/dist/config/orderable/index.js +23 -0
- package/dist/config/orderable/index.js.map +1 -1
- package/dist/config/types.d.ts +18 -18
- package/dist/config/types.d.ts.map +1 -1
- package/dist/config/types.js +1 -0
- package/dist/config/types.js.map +1 -1
- package/dist/database/getLocalizedPaths.d.ts.map +1 -1
- package/dist/database/getLocalizedPaths.js +1 -1
- package/dist/database/getLocalizedPaths.js.map +1 -1
- package/dist/database/migrations/migrationsCollection.d.ts.map +1 -1
- package/dist/database/migrations/migrationsCollection.js +2 -1
- package/dist/database/migrations/migrationsCollection.js.map +1 -1
- package/dist/exports/migrations.d.ts +5 -13
- package/dist/exports/migrations.d.ts.map +1 -1
- package/dist/exports/migrations.js +5 -13
- package/dist/exports/migrations.js.map +1 -1
- package/dist/exports/shared.d.ts +20 -0
- package/dist/exports/shared.d.ts.map +1 -1
- package/dist/exports/shared.js +20 -0
- package/dist/exports/shared.js.map +1 -1
- package/dist/fields/config/client.d.ts +2 -2
- package/dist/fields/config/client.d.ts.map +1 -1
- package/dist/fields/config/client.js +11 -12
- package/dist/fields/config/client.js.map +1 -1
- package/dist/fields/config/sanitize.d.ts.map +1 -1
- package/dist/fields/config/sanitize.js +1 -4
- package/dist/fields/config/sanitize.js.map +1 -1
- package/dist/fields/config/types.d.ts +5 -20
- package/dist/fields/config/types.d.ts.map +1 -1
- package/dist/fields/config/types.js.map +1 -1
- package/dist/fields/hooks/afterChange/promise.js +1 -1
- package/dist/fields/hooks/afterChange/promise.js.map +1 -1
- package/dist/fields/hooks/afterRead/promise.js +2 -2
- package/dist/fields/hooks/afterRead/promise.js.map +1 -1
- package/dist/fields/hooks/beforeChange/promise.d.ts.map +1 -1
- package/dist/fields/hooks/beforeChange/promise.js +3 -3
- package/dist/fields/hooks/beforeChange/promise.js.map +1 -1
- package/dist/fields/hooks/beforeDuplicate/promise.js +2 -2
- package/dist/fields/hooks/beforeDuplicate/promise.js.map +1 -1
- package/dist/fields/hooks/beforeValidate/promise.js +1 -1
- package/dist/fields/hooks/beforeValidate/promise.js.map +1 -1
- package/dist/fields/validations.d.ts.map +1 -1
- package/dist/fields/validations.js +5 -4
- package/dist/fields/validations.js.map +1 -1
- package/dist/globals/config/sanitize.d.ts.map +1 -1
- package/dist/globals/config/sanitize.js +2 -6
- package/dist/globals/config/sanitize.js.map +1 -1
- package/dist/globals/config/sanitize.spec.js +43 -0
- package/dist/globals/config/sanitize.spec.js.map +1 -0
- package/dist/globals/endpoints/update.d.ts.map +1 -1
- package/dist/globals/endpoints/update.js +0 -2
- package/dist/globals/endpoints/update.js.map +1 -1
- package/dist/globals/operations/local/findOne.d.ts.map +1 -1
- package/dist/globals/operations/local/findOne.js.map +1 -1
- package/dist/globals/operations/local/update.d.ts +4 -6
- package/dist/globals/operations/local/update.d.ts.map +1 -1
- package/dist/globals/operations/local/update.js +1 -2
- package/dist/globals/operations/local/update.js.map +1 -1
- package/dist/globals/operations/update.d.ts +0 -1
- package/dist/globals/operations/update.d.ts.map +1 -1
- package/dist/globals/operations/update.js +52 -58
- package/dist/globals/operations/update.js.map +1 -1
- package/dist/index.bundled.d.ts +300 -147
- package/dist/index.d.ts +13 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +53 -35
- package/dist/index.js.map +1 -1
- package/dist/kv/adapters/DatabaseKVAdapter.d.ts.map +1 -1
- package/dist/kv/adapters/DatabaseKVAdapter.js +1 -0
- package/dist/kv/adapters/DatabaseKVAdapter.js.map +1 -1
- package/dist/locked-documents/config.d.ts.map +1 -1
- package/dist/locked-documents/config.js +2 -1
- package/dist/locked-documents/config.js.map +1 -1
- package/dist/preferences/config.d.ts.map +1 -1
- package/dist/preferences/config.js +2 -1
- package/dist/preferences/config.js.map +1 -1
- package/dist/query-presets/config.d.ts.map +1 -1
- package/dist/query-presets/config.js +2 -1
- package/dist/query-presets/config.js.map +1 -1
- package/dist/queues/config/collection.d.ts.map +1 -1
- package/dist/queues/config/collection.js +2 -1
- package/dist/queues/config/collection.js.map +1 -1
- package/dist/queues/config/generateJobsJSONSchemas.js +2 -2
- package/dist/queues/config/generateJobsJSONSchemas.js.map +1 -1
- package/dist/queues/config/global.d.ts.map +1 -1
- package/dist/queues/config/global.js +2 -1
- package/dist/queues/config/global.js.map +1 -1
- package/dist/uploads/fetchAPI-multipart/processMultipart.d.ts.map +1 -1
- package/dist/uploads/fetchAPI-multipart/processMultipart.js +14 -1
- package/dist/uploads/fetchAPI-multipart/processMultipart.js.map +1 -1
- package/dist/uploads/generateFileData.d.ts +2 -1
- package/dist/uploads/generateFileData.d.ts.map +1 -1
- package/dist/uploads/generateFileData.js +5 -2
- package/dist/uploads/generateFileData.js.map +1 -1
- package/dist/uploads/safeFetch.d.ts.map +1 -1
- package/dist/uploads/safeFetch.js +11 -5
- package/dist/uploads/safeFetch.js.map +1 -1
- package/dist/utilities/appendDateTimezoneSelectFields.js +2 -2
- package/dist/utilities/appendDateTimezoneSelectFields.js.map +1 -1
- package/dist/utilities/configToJSONSchema.d.ts +25 -0
- package/dist/utilities/configToJSONSchema.d.ts.map +1 -1
- package/dist/utilities/configToJSONSchema.js +76 -34
- package/dist/utilities/configToJSONSchema.js.map +1 -1
- package/dist/utilities/configToJSONSchema.spec.js +215 -29
- package/dist/utilities/configToJSONSchema.spec.js.map +1 -1
- package/dist/utilities/deepCopyObject.d.ts.map +1 -1
- package/dist/utilities/deepCopyObject.js +8 -0
- package/dist/utilities/deepCopyObject.js.map +1 -1
- package/dist/utilities/dependencies/dependencyChecker.js +1 -1
- package/dist/utilities/dependencies/dependencyChecker.js.map +1 -1
- package/dist/utilities/dependencies/getDependencies.d.ts.map +1 -1
- package/dist/utilities/dependencies/getDependencies.js +5 -5
- package/dist/utilities/dependencies/getDependencies.js.map +1 -1
- package/dist/utilities/dynamicImport.js +1 -1
- package/dist/utilities/dynamicImport.js.map +1 -1
- package/dist/utilities/filterDataToSelectedLocales.d.ts.map +1 -1
- package/dist/utilities/filterDataToSelectedLocales.js +5 -12
- package/dist/utilities/filterDataToSelectedLocales.js.map +1 -1
- package/dist/utilities/filterDataToSelectedLocales.spec.js +1 -2
- package/dist/utilities/filterDataToSelectedLocales.spec.js.map +1 -1
- package/dist/utilities/flattenAllFields.d.ts.map +1 -1
- package/dist/utilities/flattenAllFields.js +7 -22
- package/dist/utilities/flattenAllFields.js.map +1 -1
- package/dist/utilities/formatErrors.d.ts.map +1 -1
- package/dist/utilities/formatErrors.js +3 -1
- package/dist/utilities/formatErrors.js.map +1 -1
- package/dist/utilities/getEntityPermissions/populateFieldPermissions.d.ts.map +1 -1
- package/dist/utilities/getEntityPermissions/populateFieldPermissions.js +5 -5
- package/dist/utilities/getEntityPermissions/populateFieldPermissions.js.map +1 -1
- package/dist/utilities/getFieldByPath.d.ts.map +1 -1
- package/dist/utilities/getFieldByPath.js +1 -1
- package/dist/utilities/getFieldByPath.js.map +1 -1
- package/dist/utilities/getRequestLanguage.d.ts +2 -2
- package/dist/utilities/getRequestLanguage.d.ts.map +1 -1
- package/dist/utilities/getRequestLanguage.js.map +1 -1
- package/dist/utilities/getVersionsConfig.js.map +1 -1
- package/dist/utilities/handleEndpoints.d.ts.map +1 -1
- package/dist/utilities/handleEndpoints.js +7 -3
- package/dist/utilities/handleEndpoints.js.map +1 -1
- package/dist/utilities/isRSCEnabled.d.ts +12 -0
- package/dist/utilities/isRSCEnabled.d.ts.map +1 -0
- package/dist/utilities/isRSCEnabled.js +14 -0
- package/dist/utilities/isRSCEnabled.js.map +1 -0
- package/dist/utilities/mergeLocalizedData.d.ts +14 -4
- package/dist/utilities/mergeLocalizedData.d.ts.map +1 -1
- package/dist/utilities/mergeLocalizedData.js +54 -46
- package/dist/utilities/mergeLocalizedData.js.map +1 -1
- package/dist/utilities/mergeLocalizedData.spec.js +23 -23
- package/dist/utilities/mergeLocalizedData.spec.js.map +1 -1
- package/dist/utilities/parseParams/index.d.ts +2 -5
- package/dist/utilities/parseParams/index.d.ts.map +1 -1
- package/dist/utilities/parseParams/index.js.map +1 -1
- package/dist/utilities/parseParams/index.spec.js +0 -9
- package/dist/utilities/parseParams/index.spec.js.map +1 -1
- package/dist/utilities/telemetry/conf/envPaths.d.ts.map +1 -1
- package/dist/utilities/telemetry/conf/envPaths.js +31 -40
- package/dist/utilities/telemetry/conf/envPaths.js.map +1 -1
- package/dist/utilities/transformColumnPreferences.js +4 -2
- package/dist/utilities/transformColumnPreferences.js.map +1 -1
- package/dist/utilities/traverseFields.d.ts.map +1 -1
- package/dist/utilities/traverseFields.js +2 -4
- package/dist/utilities/traverseFields.js.map +1 -1
- package/dist/utilities/traverseForLocalizedFields.d.ts.map +1 -1
- package/dist/utilities/traverseForLocalizedFields.js +3 -0
- package/dist/utilities/traverseForLocalizedFields.js.map +1 -1
- package/dist/versions/baseFields.d.ts +1 -2
- package/dist/versions/baseFields.d.ts.map +1 -1
- package/dist/versions/baseFields.js +0 -13
- package/dist/versions/baseFields.js.map +1 -1
- package/dist/versions/buildCollectionFields.d.ts.map +1 -1
- package/dist/versions/buildCollectionFields.js +0 -2
- package/dist/versions/buildCollectionFields.js.map +1 -1
- package/dist/versions/buildGlobalFields.d.ts.map +1 -1
- package/dist/versions/buildGlobalFields.js +0 -2
- package/dist/versions/buildGlobalFields.js.map +1 -1
- package/dist/versions/buildSingleLocalePublishData.d.ts +32 -0
- package/dist/versions/buildSingleLocalePublishData.d.ts.map +1 -0
- package/dist/versions/buildSingleLocalePublishData.js +37 -0
- package/dist/versions/buildSingleLocalePublishData.js.map +1 -0
- package/dist/versions/saveVersion.d.ts +0 -2
- package/dist/versions/saveVersion.d.ts.map +1 -1
- package/dist/versions/saveVersion.js +12 -17
- package/dist/versions/saveVersion.js.map +1 -1
- package/dist/versions/schedule/job.d.ts.map +1 -1
- package/dist/versions/schedule/job.js +2 -9
- package/dist/versions/schedule/job.js.map +1 -1
- package/dist/versions/types.d.ts +2 -15
- package/dist/versions/types.d.ts.map +1 -1
- package/dist/versions/types.js.map +1 -1
- package/package.json +8 -5
- package/dist/database/migrations/templates/localizeStatus.d.ts +0 -10
- package/dist/database/migrations/templates/localizeStatus.d.ts.map +0 -1
- package/dist/database/migrations/templates/localizeStatus.js +0 -54
- package/dist/database/migrations/templates/localizeStatus.js.map +0 -1
- package/dist/versions/migrations/localizeStatus/index.d.ts +0 -12
- package/dist/versions/migrations/localizeStatus/index.d.ts.map +0 -1
- package/dist/versions/migrations/localizeStatus/index.js +0 -33
- package/dist/versions/migrations/localizeStatus/index.js.map +0 -1
- package/dist/versions/migrations/localizeStatus/mongo/down.d.ts +0 -9
- package/dist/versions/migrations/localizeStatus/mongo/down.d.ts.map +0 -1
- package/dist/versions/migrations/localizeStatus/mongo/down.js +0 -112
- package/dist/versions/migrations/localizeStatus/mongo/down.js.map +0 -1
- package/dist/versions/migrations/localizeStatus/mongo/index.d.ts +0 -8
- package/dist/versions/migrations/localizeStatus/mongo/index.d.ts.map +0 -1
- package/dist/versions/migrations/localizeStatus/mongo/index.js +0 -8
- package/dist/versions/migrations/localizeStatus/mongo/index.js.map +0 -1
- package/dist/versions/migrations/localizeStatus/mongo/up.d.ts +0 -9
- package/dist/versions/migrations/localizeStatus/mongo/up.d.ts.map +0 -1
- package/dist/versions/migrations/localizeStatus/mongo/up.js +0 -220
- package/dist/versions/migrations/localizeStatus/mongo/up.js.map +0 -1
- package/dist/versions/migrations/localizeStatus/sql/down.d.ts +0 -11
- package/dist/versions/migrations/localizeStatus/sql/down.d.ts.map +0 -1
- package/dist/versions/migrations/localizeStatus/sql/down.js +0 -213
- package/dist/versions/migrations/localizeStatus/sql/down.js.map +0 -1
- package/dist/versions/migrations/localizeStatus/sql/index.d.ts +0 -8
- package/dist/versions/migrations/localizeStatus/sql/index.d.ts.map +0 -1
- package/dist/versions/migrations/localizeStatus/sql/index.js +0 -8
- package/dist/versions/migrations/localizeStatus/sql/index.js.map +0 -1
- package/dist/versions/migrations/localizeStatus/sql/migrateMainCollection.d.ts +0 -13
- package/dist/versions/migrations/localizeStatus/sql/migrateMainCollection.d.ts.map +0 -1
- package/dist/versions/migrations/localizeStatus/sql/migrateMainCollection.js +0 -51
- package/dist/versions/migrations/localizeStatus/sql/migrateMainCollection.js.map +0 -1
- package/dist/versions/migrations/localizeStatus/sql/migrateMainGlobal.d.ts +0 -13
- package/dist/versions/migrations/localizeStatus/sql/migrateMainGlobal.d.ts.map +0 -1
- package/dist/versions/migrations/localizeStatus/sql/migrateMainGlobal.js +0 -54
- package/dist/versions/migrations/localizeStatus/sql/migrateMainGlobal.js.map +0 -1
- package/dist/versions/migrations/localizeStatus/sql/up.d.ts +0 -11
- package/dist/versions/migrations/localizeStatus/sql/up.d.ts.map +0 -1
- package/dist/versions/migrations/localizeStatus/sql/up.js +0 -277
- package/dist/versions/migrations/localizeStatus/sql/up.js.map +0 -1
- package/dist/versions/saveSnapshot.d.ts +0 -18
- package/dist/versions/saveSnapshot.d.ts.map +0 -1
- package/dist/versions/saveSnapshot.js +0 -38
- package/dist/versions/saveSnapshot.js.map +0 -1
package/dist/index.bundled.d.ts
CHANGED
|
@@ -15,11 +15,10 @@ import { ParsedArgs } from 'minimist';
|
|
|
15
15
|
import { lookup } from 'dns';
|
|
16
16
|
import deepMerge from 'deepmerge';
|
|
17
17
|
export { default as deepMerge } from 'deepmerge';
|
|
18
|
-
import { ReadonlyRequestCookies } from 'next/dist/server/web/spec-extension/adapters/request-cookies.js';
|
|
19
18
|
import { PinoPretty } from 'pino-pretty';
|
|
20
19
|
import { DatePickerProps } from 'react-datepicker';
|
|
21
20
|
|
|
22
|
-
declare const clientTranslationKeys: ("authentication:account" | "authentication:accountOfCurrentUser" | "authentication:accountVerified" | "authentication:alreadyActivated" | "authentication:alreadyLoggedIn" | "authentication:apiKey" | "authentication:authenticated" | "authentication:backToLogin" | "authentication:beginCreateFirstUser" | "authentication:changePassword" | "authentication:checkYourEmailForPasswordReset" | "authentication:confirmGeneration" | "authentication:confirmPassword" | "authentication:createFirstUser" | "authentication:createUser" | "authentication:emailNotValid" | "authentication:emailOrUsername" | "authentication:emailSent" | "authentication:emailVerified" | "authentication:enableAPIKey" | "authentication:failedToUnlock" | "authentication:forceUnlock" | "authentication:forgotPassword" | "authentication:forgotPasswordEmailInstructions" | "authentication:forgotPasswordUsernameInstructions" | "authentication:usernameNotValid" | "authentication:forgotPasswordQuestion" | "authentication:generate" | "authentication:generateNewAPIKey" | "authentication:generatingNewAPIKeyWillInvalidate" | "authentication:logBackIn" | "authentication:loggedIn" | "authentication:loggedInChangePassword" | "authentication:loggedOutInactivity" | "authentication:loggedOutSuccessfully" | "authentication:loggingOut" | "authentication:login" | "authentication:logOut" | "authentication:logout" | "authentication:logoutSuccessful" | "authentication:logoutUser" | "authentication:newAPIKeyGenerated" | "authentication:newPassword" | "authentication:passed" | "authentication:passwordResetSuccessfully" | "authentication:resetPassword" | "authentication:stayLoggedIn" | "authentication:successfullyRegisteredFirstUser" | "authentication:successfullyUnlocked" | "authentication:tokenRefreshSuccessful" | "authentication:unableToVerify" | "authentication:username" | "authentication:verified" | "authentication:verifiedSuccessfully" | "authentication:verify" | "authentication:verifyUser" | "authentication:youAreInactive" | "commandPalette:createNew" | "commandPalette:hintClose" | "commandPalette:hintCreate" | "commandPalette:hintNavigate" | "commandPalette:hintSelect" | "commandPalette:noResults" | "commandPalette:placeholder" | "commandPalette:title" | "dashboard:addButton" | "dashboard:addWidget" | "dashboard:deleteWidget" | "dashboard:discardConfirmLabel" | "dashboard:discardMessage" | "dashboard:discardTitle" | "dashboard:editDashboard" | "dashboard:editingDashboard" | "dashboard:noItems" | "dashboard:resetLayout" | "dashboard:searchWidgets" | "error:autosaving" | "error:correctInvalidFields" | "error:deletingTitle" | "error:documentNotFound" | "error:emailOrPasswordIncorrect" | "error:failedToResetLayout" | "error:failedToSaveLayout" | "error:insufficientClipboardPermissions" | "error:invalidClipboardData" | "error:invalidFileType" | "error:invalidRequestArgs" | "error:loadingDocument" | "error:logoutFailed" | "error:noMatchedField" | "error:notAllowedToAccessPage" | "error:notAllowedToPerformAction" | "error:previewing" | "error:problemUploadingFile" | "error:restoringTitle" | "error:revertingDocument" | "error:tokenNotProvided" | "error:unableToCopy" | "error:unableToDeleteCount" | "error:unableToReindexCollection" | "error:unableToUpdateCount" | "error:unauthorized" | "error:unauthorizedAdmin" | "error:unknown" | "error:unPublishingDocument" | "error:unspecific" | "error:unverifiedEmail" | "error:userEmailAlreadyRegistered" | "error:usernameAlreadyRegistered" | "error:usernameOrPasswordIncorrect" | "fields:blocks" | "fields:addLabel" | "fields:addLink" | "fields:addNew" | "fields:addNewLabel" | "fields:addRelationship" | "fields:addUpload" | "fields:block" | "fields:blockType" | "fields:chooseBetweenCustomTextOrDocument" | "fields:chooseDocumentToLink" | "fields:chooseFromExisting" | "fields:collapseAll" | "fields:customURL" | "fields:editLink" | "fields:editRelationship" | "fields:enterURL" | "fields:hidePassword" | "fields:internalLink" | "fields:itemsAndMore" | "fields:labelRelationship" | "fields:latitude" | "fields:linkedTo" | "fields:linkType" | "fields:longitude" | "fields:openInNewTab" | "fields:passwordsDoNotMatch" | "fields:removeRelationship" | "fields:removeUpload" | "fields:saveChanges" | "fields:searchForBlock" | "fields:searchForLanguage" | "fields:selectFieldsToEdit" | "fields:showAll" | "fields:showPassword" | "fields:swapRelationship" | "fields:swapUpload" | "fields:textToDisplay" | "fields:toggleBlock" | "fields:uploadNewLabel" | "general:items" | "general:of" | "general:language" | "general:dashboard" | "general:error" | "general:username" | "general:createNew" | "general:noResults" | "general:notFound" | "general:unauthorized" | "general:newLabel" | "general:saveChanges" | "general:name" | "general:aboutToDelete" | "general:aboutToPermanentlyDelete" | "general:aboutToPermanentlyDeleteTrash" | "general:aboutToRestore" | "general:aboutToRestoreAsDraft" | "general:aboutToRestoreAsDraftCount" | "general:aboutToRestoreCount" | "general:aboutToTrash" | "general:aboutToTrashCount" | "general:accepts" | "general:addBelow" | "general:addFilter" | "general:adminTheme" | "general:all" | "general:allCollections" | "general:allLocales" | "general:and" | "general:anotherUser" | "general:anotherUserTakenOver" | "general:applyChanges" | "general:ascending" | "general:automatic" | "general:backToDashboard" | "general:by" | "general:cancel" | "general:changesNotSaved" | "general:checked" | "general:clear" | "general:clearAll" | "general:close" | "general:collapse" | "general:collection" | "general:collections" | "general:columns" | "general:columnToSort" | "general:confirm" | "general:confirmCopy" | "general:confirmDeletion" | "general:confirmDuplication" | "general:confirmMove" | "general:confirmReindex" | "general:confirmReindexAll" | "general:confirmReindexDescription" | "general:confirmReindexDescriptionAll" | "general:confirmRestoration" | "general:copied" | "general:copy" | "general:copyField" | "general:copying" | "general:copyRow" | "general:copyWarning" | "general:create" | "general:created" | "general:createdAt" | "general:createNewLabel" | "general:creating" | "general:creatingNewLabel" | "general:currentlyEditing" | "general:custom" | "general:dark" | "general:decrement" | "general:delete" | "general:deleted" | "general:deletedAgo" | "general:deletedAt" | "general:deletedCountSuccessfully" | "general:deletedSuccessfully" | "general:deleteLabel" | "general:deletePermanently" | "general:deleting" | "general:depth" | "general:descending" | "general:deselectAllRows" | "general:document" | "general:documentIsTrashed" | "general:documentLocked" | "general:documentModified" | "general:documentOutOfDate" | "general:documents" | "general:dragToReorder" | "general:duplicate" | "general:duplicateWithoutSaving" | "general:edit" | "general:editAll" | "general:editColumns" | "general:editedSince" | "general:editing" | "general:editingTakenOver" | "general:editLabel" | "general:email" | "general:emailAddress" | "general:emptyTrash" | "general:emptyTrashLabel" | "general:enhancedContrastMode" | "general:enterANumber" | "general:enterAValue" | "general:errors" | "general:exitLivePreview" | "general:expand" | "general:export" | "general:fallbackToDefaultLocale" | "general:false" | "general:field" | "general:filter" | "general:filters" | "general:filterWhere" | "general:globals" | "general:goBack" | "general:groupByLabel" | "general:hideSidebar" | "general:import" | "general:increment" | "general:isEditing" | "general:item" | "general:lastModified" | "general:layout" | "general:leaveAnyway" | "general:leaveWithoutSaving" | "general:light" | "general:livePreview" | "general:loading" | "general:loadMore" | "general:locale" | "general:locales" | "general:lock" | "general:manageLabel" | "general:menu" | "general:moreOptions" | "general:move" | "general:moveConfirm" | "general:moveCount" | "general:moveDown" | "general:moveUp" | "general:moving" | "general:movingCount" | "general:next" | "general:no" | "general:noDateSelected" | "general:noFiltersSet" | "general:noLabel" | "general:noMatchesFound" | "general:none" | "general:noOptions" | "general:noResultsDescription" | "general:noResultsFound" | "general:nothingFound" | "general:noTrashResults" | "general:notShownInTable" | "general:noUpcomingEventsScheduled" | "general:noValue" | "general:only" | "general:open" | "general:openInNewWindow" | "general:or" | "general:order" | "general:overwriteExistingData" | "general:pageNotFound" | "general:password" | "general:pasteField" | "general:pasteRow" | "general:payloadSettings" | "general:permanentlyDelete" | "general:permanentlyDeletedCountSuccessfully" | "general:perPage" | "general:perPageLabel" | "general:previous" | "general:reindex" | "general:reindexingAll" | "general:reloadDocument" | "general:remove" | "general:rename" | "general:reset" | "general:resetPreferences" | "general:resetPreferencesDescription" | "general:resettingPreferences" | "general:restore" | "general:restoreAsPublished" | "general:restoredCountSuccessfully" | "general:restoring" | "general:retry" | "general:row" | "general:rows" | "general:save" | "general:saving" | "general:schedulePublishFor" | "general:searchBy" | "general:searchColumns" | "general:select" | "general:selectAll" | "general:selectAllRows" | "general:selectedCount" | "general:selectLabel" | "general:selectValue" | "general:showAllLabel" | "general:shownInTable" | "general:showSidebar" | "general:sorryNotFound" | "general:sort" | "general:sortByLabelDirection" | "general:stayOnThisPage" | "general:submissionSuccessful" | "general:submit" | "general:submitting" | "general:success" | "general:successfullyCreated" | "general:successfullyDuplicated" | "general:successfullyReindexed" | "general:takeOver" | "general:thisLanguage" | "general:time" | "general:timezone" | "general:titleDeleted" | "general:titleRestored" | "general:titleTrashed" | "general:toggle" | "general:trash" | "general:trashedCountSuccessfully" | "general:true" | "general:unchecked" | "general:unlock" | "general:unsavedChanges" | "general:unsavedChangesDuplicate" | "general:untitled" | "general:upcomingEvents" | "general:updatedAgo" | "general:updatedAt" | "general:updatedCountSuccessfully" | "general:updatedLabelSuccessfully" | "general:updatedSuccessfully" | "general:updateForEveryone" | "general:updating" | "general:uploading" | "general:uploadingBulk" | "general:user" | "general:users" | "general:value" | "general:viewing" | "general:viewReadOnly" | "general:welcome" | "general:yes" | "hierarchy:noResults" | "hierarchy:itemsMovedTo" | "hierarchy:itemsMovedToRoot" | "hierarchy:moveItemsToRootConfirmation" | "hierarchy:moveToRoot" | "hierarchy:noParent" | "hierarchy:searchLabel" | "localization:cannotCopySameLocale" | "localization:copyFrom" | "localization:copyFromTo" | "localization:copyTo" | "localization:copyToLocale" | "localization:localeToPublish" | "localization:selectedLocales" | "localization:selectLocaleToCopy" | "localization:selectLocaleToDuplicate" | "operators:contains" | "operators:equals" | "operators:exists" | "operators:intersects" | "operators:near" | "operators:within" | "operators:isGreaterThan" | "operators:isGreaterThanOrEqualTo" | "operators:isIn" | "operators:isLessThan" | "operators:isLessThanOrEqualTo" | "operators:isLike" | "operators:isNotEqualTo" | "operators:isNotIn" | "operators:isNotLike" | "upload:addFile" | "upload:addFiles" | "upload:bulkUpload" | "upload:crop" | "upload:cropToolDescription" | "upload:download" | "upload:dragAndDrop" | "upload:editImage" | "upload:fileName" | "upload:fileSize" | "upload:filesToUpload" | "upload:fileToUpload" | "upload:focalPoint" | "upload:focalPointDescription" | "upload:height" | "upload:noFile" | "upload:pasteURL" | "upload:previewSizes" | "upload:selectCollectionToBrowse" | "upload:selectFile" | "upload:setCropArea" | "upload:setFocalPoint" | "upload:sizes" | "upload:sizesFor" | "upload:width" | "validation:username" | "validation:emailAddress" | "validation:enterNumber" | "validation:fieldHasNo" | "validation:greaterThanMax" | "validation:invalidBlock" | "validation:invalidBlocks" | "validation:invalidInput" | "validation:invalidSelection" | "validation:invalidSelections" | "validation:latitudeOutOfBounds" | "validation:lessThanMin" | "validation:limitReached" | "validation:longerThanMin" | "validation:longitudeOutOfBounds" | "validation:notValidDate" | "validation:required" | "validation:requiresAtLeast" | "validation:requiresNoMoreThan" | "validation:requiresTwoNumbers" | "validation:shorterThanMax" | "validation:timezoneRequired" | "validation:trueOrFalse" | "validation:validUploadID" | "version:version" | "version:aboutToRestore" | "version:restoring" | "version:type" | "version:aboutToPublishSelection" | "version:aboutToRestoreGlobal" | "version:aboutToRevertToPublished" | "version:aboutToUnpublish" | "version:aboutToUnpublishIn" | "version:aboutToUnpublishSelection" | "version:autosave" | "version:autosavedSuccessfully" | "version:autosavedVersion" | "version:changed" | "version:compareVersions" | "version:comparingAgainst" | "version:confirmPublish" | "version:confirmRevertToSaved" | "version:confirmUnpublish" | "version:confirmVersionRestoration" | "version:currentDraft" | "version:currentlyPublished" | "version:currentlyViewing" | "version:currentPublishedVersion" | "version:draft" | "version:draftHasPublishedVersion" | "version:draftSavedSuccessfully" | "version:lastSavedAgo" | "version:modifiedOnly" | "version:moreVersions" | "version:noFurtherVersionsFound" | "version:noLabelGroup" | "version:noRowsFound" | "version:noRowsSelected" | "version:preview" | "version:previouslyDraft" | "version:previouslyPublished" | "version:previousVersion" | "version:problemRestoringVersion" | "version:publish" | "version:publishAllLocales" | "version:publishChanges" | "version:published" | "version:publishIn" | "version:publishing" | "version:restoreAsDraft" | "version:restoredSuccessfully" | "version:restoreThisVersion" | "version:reverting" | "version:revertToPublished" | "version:revertUnsuccessful" | "version:saveDraft" | "version:scheduledSuccessfully" | "version:schedulePublish" | "version:selectLocales" | "version:selectVersionToCompare" | "version:showLocales" | "version:specificVersion" | "version:status" | "version:unpublish" | "version:unpublished" | "version:unpublishedSuccessfully" | "version:unpublishIn" | "version:unpublishing" | "version:versionAgo" | "version:versionID" | "version:versions" | "version:viewingVersion" | "version:viewingVersionGlobal" | "version:viewingVersions" | "version:viewingVersionsGlobal" | "general:aboutToDeleteCount" | "general:editingLabel" | "version:changedFieldsCount")[];
|
|
21
|
+
declare const clientTranslationKeys: ("authentication:account" | "authentication:accountOfCurrentUser" | "authentication:accountVerified" | "authentication:alreadyActivated" | "authentication:alreadyLoggedIn" | "authentication:apiKey" | "authentication:authenticated" | "authentication:backToLogin" | "authentication:beginCreateFirstUser" | "authentication:changePassword" | "authentication:checkYourEmailForPasswordReset" | "authentication:confirmGeneration" | "authentication:confirmPassword" | "authentication:createFirstUser" | "authentication:createUser" | "authentication:emailNotValid" | "authentication:emailOrUsername" | "authentication:emailSent" | "authentication:emailVerified" | "authentication:emailVerifiedRedirecting" | "authentication:enableAPIKey" | "authentication:failedToUnlock" | "authentication:forceUnlock" | "authentication:forgotPassword" | "authentication:forgotPasswordEmailInstructions" | "authentication:forgotPasswordUsernameInstructions" | "authentication:usernameNotValid" | "authentication:forgotPasswordQuestion" | "authentication:generate" | "authentication:generateNewAPIKey" | "authentication:generatingNewAPIKeyWillInvalidate" | "authentication:logBackIn" | "authentication:loggedIn" | "authentication:loggedInChangePassword" | "authentication:loggedOutInactivity" | "authentication:loggedOutSuccessfully" | "authentication:loggingOut" | "authentication:login" | "authentication:logOut" | "authentication:logout" | "authentication:logoutSuccessful" | "authentication:logoutUser" | "authentication:newAPIKeyGenerated" | "authentication:newPassword" | "authentication:notRedirected" | "authentication:passed" | "authentication:passwordResetSuccessfully" | "authentication:resetPassword" | "authentication:stayLoggedIn" | "authentication:successfullyRegisteredFirstUser" | "authentication:successfullyUnlocked" | "authentication:tokenRefreshSuccessful" | "authentication:unableToVerify" | "authentication:username" | "authentication:verified" | "authentication:verifiedSuccessfully" | "authentication:verify" | "authentication:verifyUser" | "authentication:youAreInactive" | "commandPalette:createNew" | "commandPalette:hintClose" | "commandPalette:hintCreate" | "commandPalette:hintNavigate" | "commandPalette:hintSelect" | "commandPalette:noResults" | "commandPalette:placeholder" | "commandPalette:title" | "dashboard:addButton" | "dashboard:addWidget" | "dashboard:deleteWidget" | "dashboard:discardConfirmLabel" | "dashboard:discardMessage" | "dashboard:discardTitle" | "dashboard:editDashboard" | "dashboard:editingDashboard" | "dashboard:noItems" | "dashboard:resetLayout" | "dashboard:searchWidgets" | "error:autosaving" | "error:correctInvalidFields" | "error:deletingTitle" | "error:documentNotFound" | "error:emailOrPasswordIncorrect" | "error:failedToResetLayout" | "error:failedToSaveLayout" | "error:insufficientClipboardPermissions" | "error:invalidClipboardData" | "error:invalidFileType" | "error:invalidRequestArgs" | "error:loadingDocument" | "error:logoutFailed" | "error:noMatchedField" | "error:notAllowedToAccessPage" | "error:notAllowedToPerformAction" | "error:previewing" | "error:problemUploadingFile" | "error:restoringTitle" | "error:revertingDocument" | "error:tokenNotProvided" | "error:unableToCopy" | "error:unableToDeleteCount" | "error:unableToReindexCollection" | "error:unableToUpdateCount" | "error:unauthorized" | "error:unauthorizedAdmin" | "error:unknown" | "error:unPublishingDocument" | "error:unspecific" | "error:unverifiedEmail" | "error:userEmailAlreadyRegistered" | "error:usernameAlreadyRegistered" | "error:usernameOrPasswordIncorrect" | "fields:blocks" | "fields:addLabel" | "fields:addLink" | "fields:addNew" | "fields:addNewLabel" | "fields:addRelationship" | "fields:addUpload" | "fields:block" | "fields:blockType" | "fields:chooseBetweenCustomTextOrDocument" | "fields:chooseDocumentToLink" | "fields:chooseFromExisting" | "fields:collapseAll" | "fields:customURL" | "fields:editLink" | "fields:editRelationship" | "fields:enterURL" | "fields:hidePassword" | "fields:internalLink" | "fields:itemsAndMore" | "fields:labelRelationship" | "fields:latitude" | "fields:linkedTo" | "fields:linkType" | "fields:longitude" | "fields:openInNewTab" | "fields:passwordsDoNotMatch" | "fields:removeRelationship" | "fields:removeUpload" | "fields:saveChanges" | "fields:searchForBlock" | "fields:searchForLanguage" | "fields:selectFieldsToEdit" | "fields:showAll" | "fields:showPassword" | "fields:swapRelationship" | "fields:swapUpload" | "fields:textToDisplay" | "fields:toggleBlock" | "fields:uploadNewLabel" | "general:items" | "general:of" | "general:language" | "general:dashboard" | "general:error" | "general:username" | "general:createNew" | "general:noResults" | "general:notFound" | "general:unauthorized" | "general:newLabel" | "general:saveChanges" | "general:name" | "general:aboutToDelete" | "general:aboutToPermanentlyDelete" | "general:aboutToPermanentlyDeleteTrash" | "general:aboutToRestore" | "general:aboutToRestoreAsDraft" | "general:aboutToRestoreAsDraftCount" | "general:aboutToRestoreCount" | "general:aboutToTrash" | "general:aboutToTrashCount" | "general:accepts" | "general:addBelow" | "general:addFilter" | "general:adminTheme" | "general:all" | "general:allCollections" | "general:allLocales" | "general:and" | "general:anotherUser" | "general:anotherUserTakenOver" | "general:applyChanges" | "general:ascending" | "general:auto" | "general:automatic" | "general:backToDashboard" | "general:by" | "general:cancel" | "general:changesNotSaved" | "general:checked" | "general:clear" | "general:clearAll" | "general:close" | "general:collapse" | "general:collection" | "general:collections" | "general:columns" | "general:columnToSort" | "general:confirm" | "general:confirmCopy" | "general:confirmDeletion" | "general:confirmDuplication" | "general:confirmMove" | "general:confirmReindex" | "general:confirmReindexAll" | "general:confirmReindexDescription" | "general:confirmReindexDescriptionAll" | "general:confirmRestoration" | "general:copied" | "general:copy" | "general:copyField" | "general:copying" | "general:copyRow" | "general:copyWarning" | "general:create" | "general:created" | "general:createdAt" | "general:createNewLabel" | "general:creating" | "general:creatingNewLabel" | "general:currentlyEditing" | "general:custom" | "general:dark" | "general:decrement" | "general:delete" | "general:deleted" | "general:deletedAgo" | "general:deletedAt" | "general:deletedCountSuccessfully" | "general:deletedSuccessfully" | "general:deleteLabel" | "general:deletePermanently" | "general:deleting" | "general:depth" | "general:descending" | "general:deselectAllRows" | "general:document" | "general:documentIsTrashed" | "general:documentLocked" | "general:documentModified" | "general:documentOutOfDate" | "general:documents" | "general:dragToReorder" | "general:duplicate" | "general:duplicateWithoutSaving" | "general:edit" | "general:editAll" | "general:editColumns" | "general:editedSince" | "general:editing" | "general:editingTakenOver" | "general:editLabel" | "general:email" | "general:emailAddress" | "general:emptyTrash" | "general:emptyTrashLabel" | "general:enhancedContrastMode" | "general:enterANumber" | "general:enterAValue" | "general:errors" | "general:exitLivePreview" | "general:expand" | "general:export" | "general:fallbackToDefaultLocale" | "general:false" | "general:field" | "general:filter" | "general:filters" | "general:filterWhere" | "general:globals" | "general:goBack" | "general:groupByLabel" | "general:hideSidebar" | "general:import" | "general:increment" | "general:isEditing" | "general:item" | "general:lastModified" | "general:layout" | "general:leaveAnyway" | "general:leaveWithoutSaving" | "general:light" | "general:livePreview" | "general:loading" | "general:loadMore" | "general:locale" | "general:locales" | "general:lock" | "general:manageLabel" | "general:menu" | "general:moreOptions" | "general:move" | "general:moveConfirm" | "general:moveCount" | "general:moveDown" | "general:moveUp" | "general:moving" | "general:movingCount" | "general:next" | "general:no" | "general:noDateSelected" | "general:noFiltersSet" | "general:noLabel" | "general:noMatchesFound" | "general:none" | "general:noOptions" | "general:noResultsDescription" | "general:noResultsFound" | "general:nothingFound" | "general:noTrashResults" | "general:notShownInTable" | "general:noUpcomingEventsScheduled" | "general:noValue" | "general:only" | "general:open" | "general:openInNewWindow" | "general:or" | "general:order" | "general:overwriteExistingData" | "general:pageNotFound" | "general:password" | "general:pasteField" | "general:pasteRow" | "general:payloadSettings" | "general:permanentlyDelete" | "general:permanentlyDeletedCountSuccessfully" | "general:perPage" | "general:perPageLabel" | "general:previous" | "general:reindex" | "general:reindexingAll" | "general:reloadDocument" | "general:remove" | "general:rename" | "general:reset" | "general:resetPreferences" | "general:resetPreferencesDescription" | "general:resettingPreferences" | "general:restore" | "general:restoreAsPublished" | "general:restoredCountSuccessfully" | "general:restoring" | "general:retry" | "general:row" | "general:rows" | "general:save" | "general:saving" | "general:schedulePublishFor" | "general:searchBy" | "general:searchColumns" | "general:select" | "general:selectAll" | "general:selectAllRows" | "general:selectedCount" | "general:selectLabel" | "general:selectValue" | "general:settings" | "general:showAllLabel" | "general:shownInTable" | "general:showSidebar" | "general:sorryNotFound" | "general:sort" | "general:sortByLabelDirection" | "general:stayOnThisPage" | "general:submissionSuccessful" | "general:submit" | "general:submitting" | "general:success" | "general:successfullyCreated" | "general:successfullyDuplicated" | "general:successfullyReindexed" | "general:takeOver" | "general:theme" | "general:thisLanguage" | "general:time" | "general:timezone" | "general:titleDeleted" | "general:titleRestored" | "general:titleTrashed" | "general:toggle" | "general:trash" | "general:trashedCountSuccessfully" | "general:true" | "general:unchecked" | "general:unlock" | "general:unsavedChanges" | "general:unsavedChangesDuplicate" | "general:untitled" | "general:upcomingEvents" | "general:updatedAgo" | "general:updatedAt" | "general:updatedCountSuccessfully" | "general:updatedLabelSuccessfully" | "general:updatedSuccessfully" | "general:updateForEveryone" | "general:updating" | "general:uploading" | "general:uploadingBulk" | "general:user" | "general:users" | "general:value" | "general:viewing" | "general:viewReadOnly" | "general:welcome" | "general:where" | "general:yes" | "hierarchy:noResults" | "hierarchy:itemsMovedTo" | "hierarchy:itemsMovedToRoot" | "hierarchy:moveItemsToRootConfirmation" | "hierarchy:moveToRoot" | "hierarchy:noParent" | "hierarchy:searchLabel" | "localization:cannotCopySameLocale" | "localization:copyFrom" | "localization:copyFromTo" | "localization:copyTo" | "localization:copyToLocale" | "localization:localeToPublish" | "localization:selectedLocales" | "localization:selectLocaleToCopy" | "localization:selectLocaleToDuplicate" | "operators:contains" | "operators:equals" | "operators:exists" | "operators:intersects" | "operators:near" | "operators:within" | "operators:isGreaterThan" | "operators:isGreaterThanOrEqualTo" | "operators:isIn" | "operators:isLessThan" | "operators:isLessThanOrEqualTo" | "operators:isLike" | "operators:isNotEqualTo" | "operators:isNotIn" | "operators:isNotLike" | "upload:addFile" | "upload:addFiles" | "upload:bulkUpload" | "upload:crop" | "upload:cropToolDescription" | "upload:download" | "upload:dragAndDrop" | "upload:editImage" | "upload:fileName" | "upload:fileSize" | "upload:filesToUpload" | "upload:fileToUpload" | "upload:focalPoint" | "upload:focalPointDescription" | "upload:height" | "upload:noFile" | "upload:pasteURL" | "upload:previewSizes" | "upload:selectCollectionToBrowse" | "upload:selectFile" | "upload:setCropArea" | "upload:setFocalPoint" | "upload:sizes" | "upload:sizesFor" | "upload:width" | "validation:username" | "validation:emailAddress" | "validation:enterNumber" | "validation:fieldHasNo" | "validation:greaterThanMax" | "validation:invalidBlock" | "validation:invalidBlocks" | "validation:invalidInput" | "validation:invalidSelection" | "validation:invalidSelections" | "validation:latitudeOutOfBounds" | "validation:lessThanMin" | "validation:limitReached" | "validation:longerThanMin" | "validation:longitudeOutOfBounds" | "validation:notValidDate" | "validation:required" | "validation:requiresAtLeast" | "validation:requiresNoMoreThan" | "validation:requiresTwoNumbers" | "validation:shorterThanMax" | "validation:timezoneRequired" | "validation:trueOrFalse" | "validation:validUploadID" | "version:version" | "version:aboutToRestore" | "version:restoring" | "version:type" | "version:aboutToPublishSelection" | "version:aboutToRestoreGlobal" | "version:aboutToRevertToPublished" | "version:aboutToUnpublish" | "version:aboutToUnpublishIn" | "version:aboutToUnpublishSelection" | "version:autosave" | "version:autosavedSuccessfully" | "version:autosavedVersion" | "version:changed" | "version:compareVersions" | "version:comparingAgainst" | "version:confirmPublish" | "version:confirmRevertToSaved" | "version:confirmUnpublish" | "version:confirmVersionRestoration" | "version:currentDraft" | "version:currentlyPublished" | "version:currentlyViewing" | "version:currentPublishedVersion" | "version:draft" | "version:draftHasPublishedVersion" | "version:draftSavedSuccessfully" | "version:lastSavedAgo" | "version:modifiedOnly" | "version:moreVersions" | "version:noFurtherVersionsFound" | "version:noLabelGroup" | "version:noRowsFound" | "version:noRowsSelected" | "version:preview" | "version:previouslyDraft" | "version:previouslyPublished" | "version:previousVersion" | "version:problemRestoringVersion" | "version:publish" | "version:publishAllLocales" | "version:publishChanges" | "version:published" | "version:publishIn" | "version:publishing" | "version:restoreAsDraft" | "version:restoredSuccessfully" | "version:restoreThisVersion" | "version:reverting" | "version:revertToPublished" | "version:revertUnsuccessful" | "version:saveDraft" | "version:scheduledSuccessfully" | "version:schedulePublish" | "version:selectLocales" | "version:selectVersionToCompare" | "version:showLocales" | "version:specificVersion" | "version:status" | "version:unpublish" | "version:unpublished" | "version:unpublishedSuccessfully" | "version:unpublishIn" | "version:unpublishing" | "version:versionAgo" | "version:versionID" | "version:versions" | "version:viewingVersion" | "version:viewingVersionGlobal" | "version:viewingVersions" | "version:viewingVersionsGlobal" | "general:aboutToDeleteCount" | "general:editingLabel" | "version:changedFieldsCount")[];
|
|
23
22
|
|
|
24
23
|
declare const enTranslations: {
|
|
25
24
|
authentication: {
|
|
@@ -42,6 +41,7 @@ declare const enTranslations: {
|
|
|
42
41
|
emailOrUsername: string;
|
|
43
42
|
emailSent: string;
|
|
44
43
|
emailVerified: string;
|
|
44
|
+
emailVerifiedRedirecting: string;
|
|
45
45
|
enableAPIKey: string;
|
|
46
46
|
failedToUnlock: string;
|
|
47
47
|
forceUnlock: string;
|
|
@@ -71,6 +71,7 @@ declare const enTranslations: {
|
|
|
71
71
|
newAccountCreated: string;
|
|
72
72
|
newAPIKeyGenerated: string;
|
|
73
73
|
newPassword: string;
|
|
74
|
+
notRedirected: string;
|
|
74
75
|
passed: string;
|
|
75
76
|
passwordResetSuccessfully: string;
|
|
76
77
|
resetPassword: string;
|
|
@@ -83,6 +84,7 @@ declare const enTranslations: {
|
|
|
83
84
|
tokenRefreshSuccessful: string;
|
|
84
85
|
unableToVerify: string;
|
|
85
86
|
username: string;
|
|
87
|
+
verificationFailedRequestNew: string;
|
|
86
88
|
verified: string;
|
|
87
89
|
verifiedSuccessfully: string;
|
|
88
90
|
verify: string;
|
|
@@ -250,6 +252,7 @@ declare const enTranslations: {
|
|
|
250
252
|
anotherUserTakenOver: string;
|
|
251
253
|
applyChanges: string;
|
|
252
254
|
ascending: string;
|
|
255
|
+
auto: string;
|
|
253
256
|
automatic: string;
|
|
254
257
|
backToDashboard: string;
|
|
255
258
|
by: string;
|
|
@@ -436,6 +439,7 @@ declare const enTranslations: {
|
|
|
436
439
|
selectedCount: string;
|
|
437
440
|
selectLabel: string;
|
|
438
441
|
selectValue: string;
|
|
442
|
+
settings: string;
|
|
439
443
|
showAllLabel: string;
|
|
440
444
|
shownInTable: string;
|
|
441
445
|
showSidebar: string;
|
|
@@ -451,6 +455,7 @@ declare const enTranslations: {
|
|
|
451
455
|
successfullyDuplicated: string;
|
|
452
456
|
successfullyReindexed: string;
|
|
453
457
|
takeOver: string;
|
|
458
|
+
theme: string;
|
|
454
459
|
thisLanguage: string;
|
|
455
460
|
time: string;
|
|
456
461
|
timezone: string;
|
|
@@ -484,6 +489,7 @@ declare const enTranslations: {
|
|
|
484
489
|
viewing: string;
|
|
485
490
|
viewReadOnly: string;
|
|
486
491
|
welcome: string;
|
|
492
|
+
where: string;
|
|
487
493
|
yes: string;
|
|
488
494
|
};
|
|
489
495
|
hierarchy: {
|
|
@@ -685,11 +691,14 @@ type NestedKeysStripped<T> = T extends object ? {
|
|
|
685
691
|
* Default nested translations object
|
|
686
692
|
*/
|
|
687
693
|
type DefaultTranslationsObject = typeof enTranslations;
|
|
694
|
+
interface CustomTranslationKeys {
|
|
695
|
+
}
|
|
696
|
+
type CustomTranslationKey = CustomTranslationKeys[keyof CustomTranslationKeys] & string;
|
|
688
697
|
/**
|
|
689
698
|
* All translation keys sanitized. E.g. 'general:aboutToDeleteCount'
|
|
690
699
|
*/
|
|
691
|
-
type DefaultTranslationKeys = NestedKeysStripped<DefaultTranslationsObject>;
|
|
692
|
-
type ClientTranslationKeys<TExtraProps = (typeof clientTranslationKeys)[number]> = TExtraProps;
|
|
700
|
+
type DefaultTranslationKeys = CustomTranslationKey | NestedKeysStripped<DefaultTranslationsObject>;
|
|
701
|
+
type ClientTranslationKeys<TExtraProps = (typeof clientTranslationKeys)[number] | CustomTranslationKey> = TExtraProps;
|
|
693
702
|
type ClientTranslationsObject = GenericTranslationsObject;
|
|
694
703
|
type TFunction<TTranslationKeys = DefaultTranslationKeys> = (key: TTranslationKeys, options?: Record<string, any>) => string;
|
|
695
704
|
type I18n<TTranslations = DefaultTranslationsObject, TTranslationKeys = DefaultTranslationKeys> = {
|
|
@@ -800,6 +809,20 @@ type ServerAdapter = {
|
|
|
800
809
|
unauthorized: () => never;
|
|
801
810
|
};
|
|
802
811
|
|
|
812
|
+
/**
|
|
813
|
+
* Pluggable component renderer.
|
|
814
|
+
* RSC-capable frameworks use the current RenderServerComponent logic.
|
|
815
|
+
* Non-RSC frameworks treat all components as client components.
|
|
816
|
+
*/
|
|
817
|
+
type ComponentRenderer = (args: {
|
|
818
|
+
readonly clientProps?: object;
|
|
819
|
+
readonly Component?: PayloadComponent | PayloadComponent[] | React$1.ComponentType | React$1.ComponentType[];
|
|
820
|
+
readonly Fallback?: React$1.ComponentType;
|
|
821
|
+
readonly importMap: ImportMap;
|
|
822
|
+
readonly key?: string;
|
|
823
|
+
readonly serverProps?: object;
|
|
824
|
+
}) => React$1.ReactNode;
|
|
825
|
+
|
|
803
826
|
/** @deprecated Use `instanceof APIError` instead of name comparison. */
|
|
804
827
|
declare const APIErrorName = "APIError";
|
|
805
828
|
declare class ExtendableError<TData extends object = {
|
|
@@ -1202,11 +1225,9 @@ type FieldPaths = {
|
|
|
1202
1225
|
* Nested fields will have a path that includes the parent field names
|
|
1203
1226
|
* if they are nested within a group, array, block or named tab.
|
|
1204
1227
|
*
|
|
1205
|
-
* Collapsibles and unnamed tabs will have arbitrary paths
|
|
1228
|
+
* Collapsibles, rows and unnamed tabs will have arbitrary paths
|
|
1206
1229
|
* that look like _index-0, _index-1, etc.
|
|
1207
1230
|
*
|
|
1208
|
-
* Row fields will not have a path.
|
|
1209
|
-
*
|
|
1210
1231
|
* @example 'parentGroupField.childTextField'
|
|
1211
1232
|
*
|
|
1212
1233
|
* @default field.name
|
|
@@ -1237,6 +1258,12 @@ type ServerComponentProps = {
|
|
|
1237
1258
|
payload: Payload;
|
|
1238
1259
|
permissions: SanitizedFieldPermissions;
|
|
1239
1260
|
preferences: DocumentPreferences;
|
|
1261
|
+
/**
|
|
1262
|
+
* Adapter-injected component renderer. Server components can use this
|
|
1263
|
+
* to render other import map components without importing a
|
|
1264
|
+
* framework-specific renderer directly.
|
|
1265
|
+
*/
|
|
1266
|
+
renderComponent?: ComponentRenderer;
|
|
1240
1267
|
req: PayloadRequest;
|
|
1241
1268
|
siblingData: Data;
|
|
1242
1269
|
user: TypedUser;
|
|
@@ -1324,15 +1351,6 @@ type IncomingDrafts = {
|
|
|
1324
1351
|
* To enable, set to true or pass an object with options.
|
|
1325
1352
|
*/
|
|
1326
1353
|
autosave?: Autosave | boolean;
|
|
1327
|
-
/**
|
|
1328
|
-
* Localizes the status field.
|
|
1329
|
-
*
|
|
1330
|
-
* Only effective if the experimental `experimental.localizeStatus` is enabled.
|
|
1331
|
-
*
|
|
1332
|
-
* @experimental
|
|
1333
|
-
* @default false
|
|
1334
|
-
*/
|
|
1335
|
-
localizeStatus?: boolean;
|
|
1336
1354
|
/**
|
|
1337
1355
|
* Allow for editors to schedule publish / unpublish events in the future.
|
|
1338
1356
|
*/
|
|
@@ -1351,12 +1369,8 @@ type SanitizedDrafts = {
|
|
|
1351
1369
|
*/
|
|
1352
1370
|
autosave: Autosave | false;
|
|
1353
1371
|
/**
|
|
1354
|
-
*
|
|
1355
|
-
*
|
|
1356
|
-
* Only effective if the experimental `experimental.localizeStatus` is enabled.
|
|
1357
|
-
*
|
|
1358
|
-
* @experimental
|
|
1359
|
-
* @default false
|
|
1372
|
+
* Automatically set to true when localization is configured and the collection/global
|
|
1373
|
+
* has localized fields. Controls whether `_status` is stored per-locale.
|
|
1360
1374
|
*/
|
|
1361
1375
|
localizeStatus?: boolean;
|
|
1362
1376
|
/**
|
|
@@ -3509,12 +3523,9 @@ type BlocksField = {
|
|
|
3509
3523
|
isSortable?: boolean;
|
|
3510
3524
|
} & FieldAdmin;
|
|
3511
3525
|
/**
|
|
3512
|
-
*
|
|
3513
|
-
*
|
|
3514
|
-
* @todo `blockReferences` will be merged with `blocks` in 4.0
|
|
3526
|
+
* Blocks to use in this field. Inline block configs and string slugs of blocks defined in `config.blocks` are both supported.
|
|
3515
3527
|
*/
|
|
3516
|
-
|
|
3517
|
-
blocks: Block[];
|
|
3528
|
+
blocks: (Block | BlockSlug)[];
|
|
3518
3529
|
defaultValue?: DefaultValue;
|
|
3519
3530
|
/**
|
|
3520
3531
|
* Blocks can be conditionally enabled using the `filterOptions` property on the blocks field.
|
|
@@ -3554,13 +3565,7 @@ type BlocksField = {
|
|
|
3554
3565
|
} & Omit<FieldBase, 'validate'>;
|
|
3555
3566
|
type BlocksFieldClient = {
|
|
3556
3567
|
admin?: AdminClient & Pick<BlocksField['admin'], 'initCollapsed' | 'isSortable'>;
|
|
3557
|
-
|
|
3558
|
-
* Like `blocks`, but allows you to also pass strings that are slugs of blocks defined in `config.blocks`.
|
|
3559
|
-
*
|
|
3560
|
-
* @todo `blockReferences` will be merged with `blocks` in 4.0
|
|
3561
|
-
*/
|
|
3562
|
-
blockReferences?: (ClientBlock | string)[];
|
|
3563
|
-
blocks: ClientBlock[];
|
|
3568
|
+
blocks: (ClientBlock | string)[];
|
|
3564
3569
|
labels?: LabelsClient;
|
|
3565
3570
|
} & FieldBaseClient & Pick<BlocksField, 'maxRows' | 'minRows' | 'type'>;
|
|
3566
3571
|
type PointField = {
|
|
@@ -3656,14 +3661,8 @@ type FlattenedBlock = {
|
|
|
3656
3661
|
flattenedFields: FlattenedField$1[];
|
|
3657
3662
|
} & Block;
|
|
3658
3663
|
type FlattenedBlocksField = {
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
*
|
|
3662
|
-
* @todo `blockReferences` will be merged with `blocks` in 4.0
|
|
3663
|
-
*/
|
|
3664
|
-
blockReferences?: (FlattenedBlock | string)[];
|
|
3665
|
-
blocks: FlattenedBlock[];
|
|
3666
|
-
} & Omit<BlocksField, 'blockReferences' | 'blocks'>;
|
|
3664
|
+
blocks: (FlattenedBlock | string)[];
|
|
3665
|
+
} & Omit<BlocksField, 'blocks'>;
|
|
3667
3666
|
type FlattenedGroupField = {
|
|
3668
3667
|
flattenedFields: FlattenedField$1[];
|
|
3669
3668
|
name: string;
|
|
@@ -3748,6 +3747,31 @@ declare function fieldsToJSONSchema({ collectionIDFieldTypes, config, fields, fo
|
|
|
3748
3747
|
declare function entityToJSONSchema(config: SanitizedConfig, entity: SanitizedCollectionConfig | SanitizedGlobalConfig, interfaceNameDefinitions: Map<string, JSONSchema4>, defaultIDType: 'number' | 'text', typeStringDefinitions: Set<string>, collectionIDFieldTypes?: {
|
|
3749
3748
|
[key: string]: 'number' | 'string';
|
|
3750
3749
|
}, i18n?: I18n, forceInlineBlocks?: boolean): JSONSchema4;
|
|
3750
|
+
/**
|
|
3751
|
+
* Like {@link entityToJSONSchema}, but returns a standalone schema for one collection or global:
|
|
3752
|
+
* the entity plus only the `$defs` it actually uses, so it resolves on its own rather than
|
|
3753
|
+
* as part of the whole config schema.
|
|
3754
|
+
*
|
|
3755
|
+
* Relationship/upload `$ref`s to other collections are left in place - the caller handles those.
|
|
3756
|
+
*/
|
|
3757
|
+
declare function entityToStandaloneJSONSchema({ config, defaultIDType, entity, i18n, }: {
|
|
3758
|
+
config: SanitizedConfig;
|
|
3759
|
+
defaultIDType: 'number' | 'text';
|
|
3760
|
+
entity: SanitizedCollectionConfig | SanitizedGlobalConfig;
|
|
3761
|
+
i18n?: I18n;
|
|
3762
|
+
}): JSONSchema4;
|
|
3763
|
+
/**
|
|
3764
|
+
* Registers a block's schema as a top-level definition and returns its name.
|
|
3765
|
+
*
|
|
3766
|
+
* The name is the block's `interfaceName`, or a PascalCase form of its slug. If a different block
|
|
3767
|
+
* already uses that name - whether it was auto-generated or an explicit `interfaceName` - this one
|
|
3768
|
+
* gets a content-hash suffix (`Hero_3F2A1B0C`) so the two don't overwrite each other. Registering
|
|
3769
|
+
* the same block shape again reuses its name.
|
|
3770
|
+
*/
|
|
3771
|
+
declare function registerBlockInterface(block: {
|
|
3772
|
+
interfaceName?: string;
|
|
3773
|
+
slug: string;
|
|
3774
|
+
}, blockSchema: JSONSchema4, interfaceNameDefinitions: Map<string, JSONSchema4>): string;
|
|
3751
3775
|
/**
|
|
3752
3776
|
* This is used for generating the TypeScript types (payload-types.ts) with the payload generate:types command.
|
|
3753
3777
|
*/
|
|
@@ -3928,10 +3952,10 @@ type RichTextAdapterBase<Value extends object = object, AdapterProps = any, Extr
|
|
|
3928
3952
|
* `json-schema-to-typescript` which is used to generate types for this richtext field
|
|
3929
3953
|
* payload-types.ts)
|
|
3930
3954
|
*/
|
|
3931
|
-
jsonSchema?: (args:
|
|
3955
|
+
jsonSchema?: (args: {
|
|
3932
3956
|
field: RichTextField<Value, AdapterProps, ExtraFieldProperties>;
|
|
3933
3957
|
isRequired: boolean;
|
|
3934
|
-
}) => JSONSchema4;
|
|
3958
|
+
} & Pick<FieldsToJSONSchemaArgs, 'collectionIDFieldTypes' | 'config' | 'i18n' | 'interfaceNameDefinitions' | 'typeStringDefinitions'>) => JSONSchema4;
|
|
3935
3959
|
/**
|
|
3936
3960
|
* Provide validation function for the richText field. This function is run the same way
|
|
3937
3961
|
* as other field validation functions.
|
|
@@ -3944,6 +3968,13 @@ type RichTextAdapter<Value extends object = any, AdapterProps = any, ExtraFieldP
|
|
|
3944
3968
|
* `DefaultCellComponentProps` or `DefaultServerCellComponentProps`.
|
|
3945
3969
|
*/
|
|
3946
3970
|
CellComponent: PayloadComponent<never>;
|
|
3971
|
+
/**
|
|
3972
|
+
* Client-only field component for non-RSC adapters (e.g. TanStack Start).
|
|
3973
|
+
* When provided, this component is used as a fallback when the RSC `FieldComponent`
|
|
3974
|
+
* cannot be rendered (e.g. because customComponents are stripped during serialization).
|
|
3975
|
+
* The component path is stored in field state and resolved from the import map on the client.
|
|
3976
|
+
*/
|
|
3977
|
+
ClientFieldComponent?: PayloadComponent<RichTextFieldClientProps>;
|
|
3947
3978
|
/**
|
|
3948
3979
|
* Component that will be displayed in the version diff view.
|
|
3949
3980
|
* If not provided, richtext content will be diffed as JSON.
|
|
@@ -3953,6 +3984,19 @@ type RichTextAdapter<Value extends object = any, AdapterProps = any, ExtraFieldP
|
|
|
3953
3984
|
* Component that will be displayed in the edit view.
|
|
3954
3985
|
*/
|
|
3955
3986
|
FieldComponent: PayloadComponent<RichTextFieldServerProps, RichTextFieldClientProps>;
|
|
3987
|
+
/**
|
|
3988
|
+
* Builds serializable props for the `ClientFieldComponent`.
|
|
3989
|
+
* Called during `renderField` on the server; the returned object is stored
|
|
3990
|
+
* in `fieldState.clientFieldComponentProps` and passed to the client component.
|
|
3991
|
+
*/
|
|
3992
|
+
getClientFieldProps?: (args: {
|
|
3993
|
+
clientFieldSchemaMap: Map<string, any>;
|
|
3994
|
+
path: string;
|
|
3995
|
+
payload: {
|
|
3996
|
+
importMap: Record<string, any>;
|
|
3997
|
+
};
|
|
3998
|
+
schemaPath: string;
|
|
3999
|
+
}) => Record<string, any>;
|
|
3956
4000
|
} & RichTextAdapterBase<Value, AdapterProps, ExtraFieldProperties>;
|
|
3957
4001
|
type RichTextAdapterProvider<Value extends object = object, AdapterProps = any, ExtraFieldProperties = {}> = ({ config, isRoot, parentIsLocalized, }: {
|
|
3958
4002
|
config: SanitizedConfig;
|
|
@@ -4013,7 +4057,7 @@ declare const createClientBlocks: ({ blocks, defaultIDType, i18n, importMap, }:
|
|
|
4013
4057
|
defaultIDType: Payload["config"]["db"]["defaultIDType"];
|
|
4014
4058
|
i18n: I18nClient;
|
|
4015
4059
|
importMap: ImportMap;
|
|
4016
|
-
}) => (ClientBlock | string)[]
|
|
4060
|
+
}) => (ClientBlock | string)[];
|
|
4017
4061
|
declare const createClientField: ({ defaultIDType, field: incomingField, i18n, importMap, }: {
|
|
4018
4062
|
defaultIDType: Payload["config"]["db"]["defaultIDType"];
|
|
4019
4063
|
field: Field;
|
|
@@ -4306,11 +4350,13 @@ type EditViewProps = {
|
|
|
4306
4350
|
*/
|
|
4307
4351
|
type RenderDocumentVersionsProperties = {
|
|
4308
4352
|
/**
|
|
4309
|
-
*
|
|
4353
|
+
* Override the CreatedAt cell component rendered in the versions table.
|
|
4354
|
+
* Useful when embedding the versions list inside a drawer that should update URL params
|
|
4355
|
+
* rather than perform a full navigation.
|
|
4310
4356
|
*/
|
|
4311
|
-
|
|
4357
|
+
CreatedAtCellOverride?: (props: any) => any;
|
|
4312
4358
|
/**
|
|
4313
|
-
*
|
|
4359
|
+
* @deprecated Pass `CreatedAtCellOverride` directly instead.
|
|
4314
4360
|
* @default false
|
|
4315
4361
|
*/
|
|
4316
4362
|
useVersionDrawerCreatedAtCell?: boolean;
|
|
@@ -5658,13 +5704,21 @@ type ServerProps = {
|
|
|
5658
5704
|
readonly params?: Params;
|
|
5659
5705
|
readonly payload: Payload;
|
|
5660
5706
|
readonly permissions?: SanitizedPermissions;
|
|
5707
|
+
/**
|
|
5708
|
+
* Adapter-injected component renderer. Server components can use this
|
|
5709
|
+
* to render other import map components without importing a
|
|
5710
|
+
* framework-specific renderer directly.
|
|
5711
|
+
*/
|
|
5712
|
+
readonly renderComponent?: ComponentRenderer;
|
|
5661
5713
|
readonly searchParams?: Params;
|
|
5662
5714
|
/**
|
|
5663
5715
|
* Framework-agnostic methods for server-side navigation, headers, cookies, and other server-only APIs.
|
|
5664
5716
|
* Plugins should call these methods instead of importing directly from `next/navigation`, `next/headers`, etc.
|
|
5665
5717
|
* These methods are populated by the given framework adapter, e.g. `@payloadcms/next`.
|
|
5718
|
+
*
|
|
5719
|
+
* Optional because non-framework contexts (jobs, scripts, tests) may not have an adapter attached.
|
|
5666
5720
|
*/
|
|
5667
|
-
readonly server
|
|
5721
|
+
readonly server?: ServerAdapter;
|
|
5668
5722
|
readonly user?: TypedUser;
|
|
5669
5723
|
readonly viewType?: ViewTypes;
|
|
5670
5724
|
readonly visibleEntities?: VisibleEntities;
|
|
@@ -6114,6 +6168,12 @@ type Config = {
|
|
|
6114
6168
|
/** Extensible tab system */
|
|
6115
6169
|
tabs?: SidebarTab[];
|
|
6116
6170
|
};
|
|
6171
|
+
/**
|
|
6172
|
+
* Add custom items to the user menu popup in the admin panel header.
|
|
6173
|
+
* These components will be rendered in the Settings sub-popup of the user menu.
|
|
6174
|
+
* When empty or absent, the Settings sub-trigger is not shown.
|
|
6175
|
+
*/
|
|
6176
|
+
userMenuSettingsItems?: CustomComponent[];
|
|
6117
6177
|
/**
|
|
6118
6178
|
* Replace or modify top-level admin routes, or add new ones:
|
|
6119
6179
|
* + `Account` - `/admin/account`
|
|
@@ -6338,22 +6398,6 @@ type Config = {
|
|
|
6338
6398
|
email?: EmailAdapter | Promise<EmailAdapter>;
|
|
6339
6399
|
/** Custom REST endpoints */
|
|
6340
6400
|
endpoints?: Endpoint[];
|
|
6341
|
-
/**
|
|
6342
|
-
* Experimental features may be unstable or change in future versions.
|
|
6343
|
-
*/
|
|
6344
|
-
experimental?: {
|
|
6345
|
-
/**
|
|
6346
|
-
* Enable per-locale status for documents.
|
|
6347
|
-
*
|
|
6348
|
-
* Requires:
|
|
6349
|
-
* - `localization` enabled
|
|
6350
|
-
* - `versions.drafts` enabled
|
|
6351
|
-
* - `versions.drafts.localizeStatus` set at collection or global level
|
|
6352
|
-
*
|
|
6353
|
-
* @experimental
|
|
6354
|
-
*/
|
|
6355
|
-
localizeStatus?: boolean;
|
|
6356
|
-
};
|
|
6357
6401
|
/**
|
|
6358
6402
|
* @see https://payloadcms.com/docs/configuration/globals#global-configs
|
|
6359
6403
|
*/
|
|
@@ -6847,6 +6891,7 @@ type SharedEntityViews = {
|
|
|
6847
6891
|
[key: string]: {
|
|
6848
6892
|
actions?: CustomComponent[];
|
|
6849
6893
|
Component?: PayloadComponent;
|
|
6894
|
+
NoResults?: CustomComponent;
|
|
6850
6895
|
} | AdminViewConfig | EditConfig | undefined;
|
|
6851
6896
|
/**
|
|
6852
6897
|
* Replace, modify, or add new "document" views.
|
|
@@ -6871,7 +6916,7 @@ type SharedAdminComponents = {
|
|
|
6871
6916
|
views?: SharedEntityViews;
|
|
6872
6917
|
};
|
|
6873
6918
|
type EntityDescriptionFunction = ({ t }: {
|
|
6874
|
-
t: TFunction
|
|
6919
|
+
t: TFunction<ClientTranslationKeys>;
|
|
6875
6920
|
}) => string;
|
|
6876
6921
|
type EntityDescription = EntityDescriptionFunction | Record<string, string> | string;
|
|
6877
6922
|
|
|
@@ -6938,6 +6983,9 @@ type Data = {
|
|
|
6938
6983
|
type Row = {
|
|
6939
6984
|
addedByServer?: FieldState['addedByServer'];
|
|
6940
6985
|
blockType?: string;
|
|
6986
|
+
clientComponentPaths?: {
|
|
6987
|
+
RowLabel?: PayloadComponent;
|
|
6988
|
+
};
|
|
6941
6989
|
collapsed?: boolean;
|
|
6942
6990
|
customComponents?: {
|
|
6943
6991
|
RowLabel?: React.ReactNode;
|
|
@@ -6963,6 +7011,31 @@ type FieldState = {
|
|
|
6963
7011
|
* If this is an empty array, no blocks are allowed.
|
|
6964
7012
|
*/
|
|
6965
7013
|
blocksFilterOptions?: string[];
|
|
7014
|
+
/**
|
|
7015
|
+
* Serializable PayloadComponent references for field UI slots.
|
|
7016
|
+
* Used by non-RSC adapters (e.g. TanStack) to resolve custom components from the import map
|
|
7017
|
+
* when `customComponents` are unavailable (stripped during serialization).
|
|
7018
|
+
*/
|
|
7019
|
+
clientComponentPaths?: {
|
|
7020
|
+
AfterInput?: PayloadComponent | PayloadComponent[];
|
|
7021
|
+
BeforeInput?: PayloadComponent | PayloadComponent[];
|
|
7022
|
+
Description?: PayloadComponent;
|
|
7023
|
+
Error?: PayloadComponent;
|
|
7024
|
+
Label?: PayloadComponent;
|
|
7025
|
+
};
|
|
7026
|
+
/**
|
|
7027
|
+
* PayloadComponent reference for a client-safe field component.
|
|
7028
|
+
* Used by non-RSC adapters (e.g. TanStack) to resolve a fallback component from the import map
|
|
7029
|
+
* when `customComponents.Field` is unavailable (stripped during serialization).
|
|
7030
|
+
*/
|
|
7031
|
+
clientFieldComponentPath?: {
|
|
7032
|
+
clientProps?: Record<string, any>;
|
|
7033
|
+
path: string;
|
|
7034
|
+
} | string;
|
|
7035
|
+
/**
|
|
7036
|
+
* Serializable props for the client field component referenced by `clientFieldComponentPath`.
|
|
7037
|
+
*/
|
|
7038
|
+
clientFieldComponentProps?: Record<string, any>;
|
|
6966
7039
|
customComponents?: {
|
|
6967
7040
|
/**
|
|
6968
7041
|
* This is used by UI fields, as they can have arbitrary components defined if used
|
|
@@ -7498,8 +7571,8 @@ type RelationshipFieldDiffServerComponent = FieldDiffServerComponent<Relationshi
|
|
|
7498
7571
|
type RelationshipFieldDiffClientComponent = FieldDiffClientComponent<RelationshipFieldClient>;
|
|
7499
7572
|
|
|
7500
7573
|
type RowFieldClientWithoutType = MarkOptional<RowFieldClient, 'type'>;
|
|
7501
|
-
type RowFieldBaseClientProps =
|
|
7502
|
-
type RowFieldClientProps =
|
|
7574
|
+
type RowFieldBaseClientProps = FieldPaths & Pick<ClientComponentProps, 'forceRender'>;
|
|
7575
|
+
type RowFieldClientProps = ClientFieldBase<RowFieldClientWithoutType> & RowFieldBaseClientProps;
|
|
7503
7576
|
type RowFieldServerProps = ServerFieldBase<RowField, RowFieldClientWithoutType>;
|
|
7504
7577
|
type RowFieldServerComponent = FieldServerComponent<RowField, RowFieldClientWithoutType>;
|
|
7505
7578
|
type RowFieldClientComponent = FieldClientComponent<RowFieldClientWithoutType, RowFieldBaseClientProps>;
|
|
@@ -7608,7 +7681,7 @@ type UploadFieldDiffClientComponent = FieldDiffClientComponent<UploadFieldClient
|
|
|
7608
7681
|
|
|
7609
7682
|
type DescriptionFunction = (args: {
|
|
7610
7683
|
i18n: I18nClient;
|
|
7611
|
-
t: TFunction
|
|
7684
|
+
t: TFunction<ClientTranslationKeys>;
|
|
7612
7685
|
}) => string;
|
|
7613
7686
|
type FieldDescriptionClientComponent<TFieldClient extends ClientFieldWithOptionalType = ClientFieldWithOptionalType> = React.ComponentType<FieldDescriptionClientProps<TFieldClient>>;
|
|
7614
7687
|
type FieldDescriptionServerComponent<TFieldServer extends Field = Field, TFieldClient extends ClientFieldWithOptionalType = ClientFieldWithOptionalType> = React.ComponentType<FieldDescriptionServerProps<TFieldServer, TFieldClient>>;
|
|
@@ -7816,8 +7889,16 @@ type InitReqResult = {
|
|
|
7816
7889
|
permissions: SanitizedPermissions;
|
|
7817
7890
|
req: PayloadRequest;
|
|
7818
7891
|
};
|
|
7892
|
+
/**
|
|
7893
|
+
* Determines how server function handlers serialize their return values.
|
|
7894
|
+
* - `'rsc'`: Return React nodes (JSX) — requires RSC flight serialization (Next.js)
|
|
7895
|
+
* - `'data-only'`: Return JSON-serializable data — for non-RSC adapters (TanStack Start)
|
|
7896
|
+
*/
|
|
7897
|
+
type ServerFunctionMode = 'data-only' | 'rsc';
|
|
7819
7898
|
type DefaultServerFunctionArgs = {
|
|
7820
7899
|
importMap: ImportMap;
|
|
7900
|
+
mode?: ServerFunctionMode;
|
|
7901
|
+
renderComponent?: ComponentRenderer;
|
|
7821
7902
|
} & Pick<InitReqResult, 'cookies' | 'locale' | 'permissions' | 'req'>;
|
|
7822
7903
|
type ServerFunctionArgs = {
|
|
7823
7904
|
args: Record<string, unknown>;
|
|
@@ -7916,6 +7997,12 @@ type WidgetSlugFromWidget<TWidget extends {
|
|
|
7916
7997
|
type WidgetServerProps<TWidget extends {
|
|
7917
7998
|
data?: unknown;
|
|
7918
7999
|
} | never = never> = {
|
|
8000
|
+
/**
|
|
8001
|
+
* Adapter-injected component renderer. Widget server components can use
|
|
8002
|
+
* this to render other import map components without importing a
|
|
8003
|
+
* framework-specific renderer directly.
|
|
8004
|
+
*/
|
|
8005
|
+
renderComponent?: ComponentRenderer;
|
|
7919
8006
|
widgetData?: [TWidget] extends [never] ? Record<string, unknown> : WidgetDataFromWidget<Exclude<TWidget, never>> extends Record<string, unknown> ? WidgetDataFromWidget<Exclude<TWidget, never>> : Record<string, unknown>;
|
|
7920
8007
|
widgetSlug: [TWidget] extends [never] ? string : [WidgetSlugFromWidget<{
|
|
7921
8008
|
data?: unknown;
|
|
@@ -7970,6 +8057,7 @@ type ListViewSlots = {
|
|
|
7970
8057
|
BeforeListTable?: React.ReactNode;
|
|
7971
8058
|
Description?: React.ReactNode;
|
|
7972
8059
|
listMenuItems?: React.ReactNode[];
|
|
8060
|
+
NoResults?: React.ReactNode;
|
|
7973
8061
|
Table: React.ReactNode | React.ReactNode[];
|
|
7974
8062
|
};
|
|
7975
8063
|
/**
|
|
@@ -8031,6 +8119,7 @@ type ListViewSlotSharedClientProps = {
|
|
|
8031
8119
|
hasDeletePermission?: boolean;
|
|
8032
8120
|
hasTrashPermission?: boolean;
|
|
8033
8121
|
newDocumentURL: string;
|
|
8122
|
+
viewType: ViewTypes;
|
|
8034
8123
|
};
|
|
8035
8124
|
type BeforeListClientProps = ListViewSlotSharedClientProps;
|
|
8036
8125
|
type BeforeListServerPropsOnly = {} & ListViewServerPropsOnly;
|
|
@@ -8038,6 +8127,9 @@ type BeforeListServerProps = BeforeListClientProps & BeforeListServerPropsOnly;
|
|
|
8038
8127
|
type BeforeListTableClientProps = ListViewSlotSharedClientProps;
|
|
8039
8128
|
type BeforeListTableServerPropsOnly = {} & ListViewServerPropsOnly;
|
|
8040
8129
|
type BeforeListTableServerProps = BeforeListTableClientProps & BeforeListTableServerPropsOnly;
|
|
8130
|
+
type NoResultsClientProps = ListViewSlotSharedClientProps;
|
|
8131
|
+
type NoResultsServerPropsOnly = {} & ListViewServerPropsOnly;
|
|
8132
|
+
type NoResultsServerProps = NoResultsClientProps & NoResultsServerPropsOnly;
|
|
8041
8133
|
type AfterListClientProps = ListViewSlotSharedClientProps;
|
|
8042
8134
|
type AfterListServerPropsOnly = {} & ListViewServerPropsOnly;
|
|
8043
8135
|
type AfterListServerProps = AfterListClientProps & AfterListServerPropsOnly;
|
|
@@ -8621,7 +8713,6 @@ type Arguments$i<TSlug extends CollectionSlug> = {
|
|
|
8621
8713
|
overwriteExistingFiles?: boolean;
|
|
8622
8714
|
populate?: PopulateType;
|
|
8623
8715
|
publishAllLocales?: boolean;
|
|
8624
|
-
publishSpecificLocale?: string;
|
|
8625
8716
|
req: PayloadRequest;
|
|
8626
8717
|
selectedLocales?: string[];
|
|
8627
8718
|
showHiddenFields?: boolean;
|
|
@@ -8938,7 +9029,6 @@ type Arguments$b<TSlug extends CollectionSlug> = {
|
|
|
8938
9029
|
overwriteExistingFiles?: boolean;
|
|
8939
9030
|
populate?: PopulateType;
|
|
8940
9031
|
publishAllLocales?: boolean;
|
|
8941
|
-
publishSpecificLocale?: string;
|
|
8942
9032
|
req: PayloadRequest;
|
|
8943
9033
|
showHiddenFields?: boolean;
|
|
8944
9034
|
/**
|
|
@@ -8967,7 +9057,6 @@ type Arguments$a<TSlug extends CollectionSlug> = {
|
|
|
8967
9057
|
overwriteExistingFiles?: boolean;
|
|
8968
9058
|
populate?: PopulateType;
|
|
8969
9059
|
publishAllLocales?: boolean;
|
|
8970
|
-
publishSpecificLocale?: string;
|
|
8971
9060
|
req: PayloadRequest;
|
|
8972
9061
|
showHiddenFields?: boolean;
|
|
8973
9062
|
trash?: boolean;
|
|
@@ -9462,6 +9551,7 @@ type CollectionAdminOptions = {
|
|
|
9462
9551
|
list?: {
|
|
9463
9552
|
actions?: CustomComponent[];
|
|
9464
9553
|
Component?: PayloadComponent;
|
|
9554
|
+
NoResults?: CustomComponent;
|
|
9465
9555
|
};
|
|
9466
9556
|
} & SharedEntityViews;
|
|
9467
9557
|
} & Omit<SharedAdminComponents, 'edit' | 'views'>;
|
|
@@ -9510,13 +9600,6 @@ type CollectionAdminOptions = {
|
|
|
9510
9600
|
* - Set to `false` to exclude the entity from the sidebar / dashboard without disabling its routes.
|
|
9511
9601
|
*/
|
|
9512
9602
|
group?: false | Record<string, string> | string;
|
|
9513
|
-
/**
|
|
9514
|
-
* @description Enable grouping by a field in the list view.
|
|
9515
|
-
* Uses `payload.findDistinct` under the hood to populate the group-by options.
|
|
9516
|
-
*
|
|
9517
|
-
* @experimental This option is currently in beta and may change in future releases. Use at your own risk.
|
|
9518
|
-
*/
|
|
9519
|
-
groupBy?: boolean;
|
|
9520
9603
|
/**
|
|
9521
9604
|
* Exclude the collection from the admin nav and routes
|
|
9522
9605
|
*/
|
|
@@ -9593,6 +9676,10 @@ type CollectionConfig<TSlug extends CollectionSlug = any> = {
|
|
|
9593
9676
|
* Default field to sort by in collection list view
|
|
9594
9677
|
*/
|
|
9595
9678
|
defaultSort?: Sort;
|
|
9679
|
+
/**
|
|
9680
|
+
* Disable the bulk delete operation for the collection in the admin panel and the API
|
|
9681
|
+
*/
|
|
9682
|
+
disableBulkDelete?: boolean;
|
|
9596
9683
|
/**
|
|
9597
9684
|
* Disable the bulk edit operation for the collection in the admin panel and the API
|
|
9598
9685
|
*/
|
|
@@ -10156,6 +10243,15 @@ type AuthResult = {
|
|
|
10156
10243
|
user: null | TypedUser;
|
|
10157
10244
|
};
|
|
10158
10245
|
|
|
10246
|
+
/**
|
|
10247
|
+
* Strategy for dev-mode HMR/reload detection.
|
|
10248
|
+
* Each framework adapter provides its own implementation.
|
|
10249
|
+
*/
|
|
10250
|
+
type DevReloadStrategy = {
|
|
10251
|
+
connect: (onReload: () => void) => DevReloadCleanup;
|
|
10252
|
+
};
|
|
10253
|
+
type DevReloadCleanup = () => void;
|
|
10254
|
+
|
|
10159
10255
|
type Options$g<TSlug extends AuthCollectionSlug> = {
|
|
10160
10256
|
collection: TSlug;
|
|
10161
10257
|
context?: RequestContext;
|
|
@@ -10262,6 +10358,39 @@ type LinkAdapterProps = {
|
|
|
10262
10358
|
scroll?: boolean;
|
|
10263
10359
|
} & Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>;
|
|
10264
10360
|
|
|
10361
|
+
/**
|
|
10362
|
+
* Signature for ui-side view metadata generators. Returns a framework-agnostic
|
|
10363
|
+
* `MetaConfig` that adapter-side code formats into framework metadata.
|
|
10364
|
+
*/
|
|
10365
|
+
type GenerateViewMetadata = (args: {
|
|
10366
|
+
config: SanitizedConfig;
|
|
10367
|
+
i18n: I18nClient;
|
|
10368
|
+
isEditing?: boolean;
|
|
10369
|
+
params?: {
|
|
10370
|
+
[key: string]: string | string[];
|
|
10371
|
+
};
|
|
10372
|
+
}) => Promise<MetaConfig>;
|
|
10373
|
+
/**
|
|
10374
|
+
* One entry in a framework's `AdminViewAdapter`. Pairs a React component with
|
|
10375
|
+
* a metadata generator. `TComponentProps` and `TMetadata` are framework-specific
|
|
10376
|
+
* (Next narrows `TMetadata` to `next`'s `Metadata` type).
|
|
10377
|
+
*/
|
|
10378
|
+
type AdminView<TComponentProps = any, TMetadata = unknown> = {
|
|
10379
|
+
Component: React$1.ComponentType<TComponentProps>;
|
|
10380
|
+
generateMetadata: (args: Parameters<GenerateViewMetadata>[0]) => Promise<TMetadata>;
|
|
10381
|
+
};
|
|
10382
|
+
/**
|
|
10383
|
+
* The canonical set of admin view keys that every framework adapter must implement.
|
|
10384
|
+
* Adding a new admin view requires adding its key here so all adapters stay in sync.
|
|
10385
|
+
*/
|
|
10386
|
+
type AdminViewKey = 'account' | 'createFirstUser' | 'dashboard' | 'forgot' | 'login' | 'logout' | 'logoutInactivity' | 'notFound' | 'reset' | 'unauthorized' | 'unauthorizedWithGutter' | 'verify';
|
|
10387
|
+
/**
|
|
10388
|
+
* Keyed map of `AdminView` — exactly one entry per `AdminViewKey`.
|
|
10389
|
+
* Framework adapters export an instance of this; missing or misspelled keys are
|
|
10390
|
+
* a type error.
|
|
10391
|
+
*/
|
|
10392
|
+
type AdminViewAdapter<TComponentProps = any, TMetadata = unknown> = Record<AdminViewKey, AdminView<TComponentProps, TMetadata>>;
|
|
10393
|
+
|
|
10265
10394
|
type CountOptions<TSlug extends CollectionSlug> = {
|
|
10266
10395
|
/**
|
|
10267
10396
|
* the Collection slug to operate against.
|
|
@@ -11057,17 +11186,12 @@ type BaseOptions$1<TSlug extends CollectionSlug, TSelect extends SelectType> = {
|
|
|
11057
11186
|
*/
|
|
11058
11187
|
populate?: PopulateType;
|
|
11059
11188
|
/**
|
|
11060
|
-
* Publish the document / documents in all locales.
|
|
11189
|
+
* Publish the document / documents in all locales. Only applies when localization is enabled
|
|
11190
|
+
* and the collection has localized fields.
|
|
11061
11191
|
*
|
|
11062
11192
|
* @default undefined
|
|
11063
11193
|
*/
|
|
11064
11194
|
publishAllLocales?: boolean;
|
|
11065
|
-
/**
|
|
11066
|
-
* Publish the document / documents with a specific locale.
|
|
11067
|
-
*
|
|
11068
|
-
* @default undefined
|
|
11069
|
-
*/
|
|
11070
|
-
publishSpecificLocale?: string;
|
|
11071
11195
|
/**
|
|
11072
11196
|
* The `PayloadRequest` object. You can pass it to thread the current [transaction](https://payloadcms.com/docs/database/transactions), user and locale to the operation.
|
|
11073
11197
|
* Recommended to pass when using the Local API from hooks, as usually you want to execute the operation within the current transaction.
|
|
@@ -11086,7 +11210,8 @@ type BaseOptions$1<TSlug extends CollectionSlug, TSelect extends SelectType> = {
|
|
|
11086
11210
|
*/
|
|
11087
11211
|
trash?: boolean;
|
|
11088
11212
|
/**
|
|
11089
|
-
* Unpublish the document / documents in all locales.
|
|
11213
|
+
* Unpublish the document / documents in all locales. Only applies when localization is enabled
|
|
11214
|
+
* and the collection has localized fields.
|
|
11090
11215
|
*/
|
|
11091
11216
|
unpublishAllLocales?: boolean;
|
|
11092
11217
|
/**
|
|
@@ -11493,15 +11618,12 @@ type BaseOptions<TSlug extends GlobalSlug, TSelect extends SelectType> = {
|
|
|
11493
11618
|
*/
|
|
11494
11619
|
populate?: PopulateType;
|
|
11495
11620
|
/**
|
|
11496
|
-
* Publish the document / documents in all locales.
|
|
11621
|
+
* Publish the document / documents in all locales. Only applies when localization is enabled
|
|
11622
|
+
* and the global has localized fields.
|
|
11497
11623
|
*
|
|
11498
11624
|
* @default undefined
|
|
11499
11625
|
*/
|
|
11500
11626
|
publishAllLocales?: boolean;
|
|
11501
|
-
/**
|
|
11502
|
-
* Publish the document / documents with a specific locale.
|
|
11503
|
-
*/
|
|
11504
|
-
publishSpecificLocale?: TypedLocale;
|
|
11505
11627
|
/**
|
|
11506
11628
|
* The `PayloadRequest` object. You can pass it to thread the current [transaction](https://payloadcms.com/docs/database/transactions), user and locale to the operation.
|
|
11507
11629
|
* Recommended to pass when using the Local API from hooks, as usually you want to execute the operation within the current transaction.
|
|
@@ -11517,7 +11639,8 @@ type BaseOptions<TSlug extends GlobalSlug, TSelect extends SelectType> = {
|
|
|
11517
11639
|
*/
|
|
11518
11640
|
slug: TSlug;
|
|
11519
11641
|
/**
|
|
11520
|
-
* Unpublish the document / documents in all locales.
|
|
11642
|
+
* Unpublish the document / documents in all locales. Only applies when localization is enabled
|
|
11643
|
+
* and the global has localized fields.
|
|
11521
11644
|
*/
|
|
11522
11645
|
unpublishAllLocales?: boolean;
|
|
11523
11646
|
/**
|
|
@@ -12307,7 +12430,14 @@ type CountVersionsOptions<TSlug extends CollectionSlug> = {
|
|
|
12307
12430
|
where?: Where;
|
|
12308
12431
|
};
|
|
12309
12432
|
|
|
12310
|
-
|
|
12433
|
+
type APIKeyCheckboxFieldOverride = Omit<Partial<CheckboxField>, 'name' | 'type'>;
|
|
12434
|
+
type APIKeyTextFieldOverride = Omit<Partial<TextField>, 'hasMany' | 'maxRows' | 'minRows' | 'name' | 'type' | 'validate'>;
|
|
12435
|
+
declare const createAPIKeyFields: ({ apiKeyField, apiKeyIndexField, enableAPIKeyField, includeEnableAPIKey, }?: {
|
|
12436
|
+
apiKeyField?: APIKeyTextFieldOverride;
|
|
12437
|
+
apiKeyIndexField?: APIKeyTextFieldOverride;
|
|
12438
|
+
enableAPIKeyField?: APIKeyCheckboxFieldOverride;
|
|
12439
|
+
includeEnableAPIKey?: boolean;
|
|
12440
|
+
}) => Field[];
|
|
12311
12441
|
|
|
12312
12442
|
declare const baseAuthFields: Field[];
|
|
12313
12443
|
|
|
@@ -13128,7 +13258,6 @@ type Args$7<TSlug extends GlobalSlug> = {
|
|
|
13128
13258
|
overrideLock?: boolean;
|
|
13129
13259
|
populate?: PopulateType;
|
|
13130
13260
|
publishAllLocales?: boolean;
|
|
13131
|
-
publishSpecificLocale?: string;
|
|
13132
13261
|
req: PayloadRequest;
|
|
13133
13262
|
showHiddenFields?: boolean;
|
|
13134
13263
|
slug: string;
|
|
@@ -13721,7 +13850,7 @@ declare const getObjectDotNotation: <T>(obj: Record<string, unknown>, path: stri
|
|
|
13721
13850
|
|
|
13722
13851
|
type GetRequestLanguageArgs = {
|
|
13723
13852
|
config: SanitizedConfig;
|
|
13724
|
-
cookies: Map<string, string
|
|
13853
|
+
cookies: CookieStore | Map<string, string>;
|
|
13725
13854
|
defaultLanguage?: AcceptedLanguages;
|
|
13726
13855
|
headers: Request['headers'];
|
|
13727
13856
|
};
|
|
@@ -13815,6 +13944,71 @@ type ParseDocumentIDArgs = {
|
|
|
13815
13944
|
};
|
|
13816
13945
|
declare function parseDocumentID({ id, collectionSlug, payload }: ParseDocumentIDArgs): string | number | undefined;
|
|
13817
13946
|
|
|
13947
|
+
type JoinParams = {
|
|
13948
|
+
[schemaPath: string]: {
|
|
13949
|
+
limit?: unknown;
|
|
13950
|
+
sort?: string;
|
|
13951
|
+
where?: unknown;
|
|
13952
|
+
} | false;
|
|
13953
|
+
} | false;
|
|
13954
|
+
/**
|
|
13955
|
+
* Convert request JoinQuery object from strings to numbers
|
|
13956
|
+
* @param joins
|
|
13957
|
+
*/
|
|
13958
|
+
declare const sanitizeJoinParams: (_joins?: JoinParams) => JoinQuery;
|
|
13959
|
+
|
|
13960
|
+
type RawParams = {
|
|
13961
|
+
[key: string]: unknown;
|
|
13962
|
+
autosave?: string;
|
|
13963
|
+
data?: string;
|
|
13964
|
+
depth?: string;
|
|
13965
|
+
draft?: string;
|
|
13966
|
+
field?: string;
|
|
13967
|
+
flattenLocales?: string;
|
|
13968
|
+
joins?: JoinParams;
|
|
13969
|
+
limit?: string;
|
|
13970
|
+
overrideLock?: string;
|
|
13971
|
+
page?: string;
|
|
13972
|
+
pagination?: string;
|
|
13973
|
+
populate?: unknown;
|
|
13974
|
+
publishAllLocales?: string;
|
|
13975
|
+
select?: unknown;
|
|
13976
|
+
selectedLocales?: string;
|
|
13977
|
+
sort?: string | string[];
|
|
13978
|
+
trash?: string;
|
|
13979
|
+
unpublishAllLocales?: string;
|
|
13980
|
+
where?: string | Where;
|
|
13981
|
+
};
|
|
13982
|
+
type ParsedParams = {
|
|
13983
|
+
autosave?: boolean;
|
|
13984
|
+
data?: Record<string, unknown>;
|
|
13985
|
+
depth?: number;
|
|
13986
|
+
draft?: boolean;
|
|
13987
|
+
field?: string;
|
|
13988
|
+
flattenLocales?: boolean;
|
|
13989
|
+
joins?: JoinQuery;
|
|
13990
|
+
limit?: number;
|
|
13991
|
+
overrideLock?: boolean;
|
|
13992
|
+
page?: number;
|
|
13993
|
+
pagination?: boolean;
|
|
13994
|
+
populate?: PopulateType;
|
|
13995
|
+
publishAllLocales?: boolean;
|
|
13996
|
+
select?: SelectType;
|
|
13997
|
+
selectedLocales?: string[];
|
|
13998
|
+
sort?: string[];
|
|
13999
|
+
trash?: boolean;
|
|
14000
|
+
unpublishAllLocales?: boolean;
|
|
14001
|
+
where?: Where;
|
|
14002
|
+
} & Record<string, unknown>;
|
|
14003
|
+
/**
|
|
14004
|
+
* Takes raw query parameters and parses them into the correct types that Payload expects.
|
|
14005
|
+
* Examples:
|
|
14006
|
+
* a. `draft` provided as a string of "true" is converted to a boolean
|
|
14007
|
+
* b. `depth` provided as a string of "0" is converted to a number
|
|
14008
|
+
* c. `sort` provided as a comma-separated string or array is converted to an array of strings
|
|
14009
|
+
*/
|
|
14010
|
+
declare const parseParams: (params: RawParams) => ParsedParams;
|
|
14011
|
+
|
|
13818
14012
|
interface Args$5 {
|
|
13819
14013
|
fallbackLocale: TypedFallbackLocale;
|
|
13820
14014
|
locale: string;
|
|
@@ -13830,19 +14024,6 @@ interface Args$5 {
|
|
|
13830
14024
|
*/
|
|
13831
14025
|
declare const sanitizeFallbackLocale: ({ fallbackLocale, locale, localization, }: Args$5) => TypedFallbackLocale;
|
|
13832
14026
|
|
|
13833
|
-
type JoinParams = {
|
|
13834
|
-
[schemaPath: string]: {
|
|
13835
|
-
limit?: unknown;
|
|
13836
|
-
sort?: string;
|
|
13837
|
-
where?: unknown;
|
|
13838
|
-
} | false;
|
|
13839
|
-
} | false;
|
|
13840
|
-
/**
|
|
13841
|
-
* Convert request JoinQuery object from strings to numbers
|
|
13842
|
-
* @param joins
|
|
13843
|
-
*/
|
|
13844
|
-
declare const sanitizeJoinParams: (_joins?: JoinParams) => JoinQuery;
|
|
13845
|
-
|
|
13846
14027
|
/**
|
|
13847
14028
|
* Sanitizes REST populate query to PopulateType
|
|
13848
14029
|
*/
|
|
@@ -13853,6 +14034,8 @@ declare const sanitizePopulateParam: (unsanitizedPopulate: unknown) => PopulateT
|
|
|
13853
14034
|
*/
|
|
13854
14035
|
declare const sanitizeSelectParam: (unsanitizedSelect: unknown) => SelectType | undefined;
|
|
13855
14036
|
|
|
14037
|
+
declare const sanitizeSortParams: (sort: unknown) => string[] | undefined;
|
|
14038
|
+
|
|
13856
14039
|
/**
|
|
13857
14040
|
* This is used for the Select API to strip out fields that are not selected.
|
|
13858
14041
|
* It will mutate the given data object and determine if your recursive function should continue to run.
|
|
@@ -13981,32 +14164,6 @@ declare const getLatestGlobalVersion: ({ slug, config, locale, payload, publishe
|
|
|
13981
14164
|
globalExists: boolean;
|
|
13982
14165
|
}>;
|
|
13983
14166
|
|
|
13984
|
-
type LocalizeStatusArgs$1 = {
|
|
13985
|
-
collectionSlug?: string;
|
|
13986
|
-
globalSlug?: string;
|
|
13987
|
-
payload: Payload;
|
|
13988
|
-
req?: any;
|
|
13989
|
-
};
|
|
13990
|
-
|
|
13991
|
-
type LocalizeStatusArgs = {
|
|
13992
|
-
collectionSlug?: string;
|
|
13993
|
-
db: any;
|
|
13994
|
-
globalSlug?: string;
|
|
13995
|
-
payload: Payload;
|
|
13996
|
-
req?: any;
|
|
13997
|
-
sql: any;
|
|
13998
|
-
};
|
|
13999
|
-
|
|
14000
|
-
type LocalizeStatusMigration = {
|
|
14001
|
-
down: (args: any) => Promise<void>;
|
|
14002
|
-
up: (args: any) => Promise<void>;
|
|
14003
|
-
};
|
|
14004
|
-
/**
|
|
14005
|
-
* Main entry point for localizeStatus migration.
|
|
14006
|
-
* Detects database type and dispatches to appropriate implementation.
|
|
14007
|
-
*/
|
|
14008
|
-
declare const localizeStatus: LocalizeStatusMigration;
|
|
14009
|
-
|
|
14010
14167
|
type Args<T extends JsonObject = JsonObject> = {
|
|
14011
14168
|
autosave?: boolean;
|
|
14012
14169
|
collection?: SanitizedCollectionConfig;
|
|
@@ -14016,11 +14173,9 @@ type Args<T extends JsonObject = JsonObject> = {
|
|
|
14016
14173
|
id?: number | string;
|
|
14017
14174
|
operation?: 'create' | 'restoreVersion' | 'update';
|
|
14018
14175
|
payload: Payload;
|
|
14019
|
-
publishSpecificLocale?: string;
|
|
14020
14176
|
req?: PayloadRequest;
|
|
14021
14177
|
returning?: boolean;
|
|
14022
14178
|
select?: SelectType;
|
|
14023
|
-
snapshot?: any;
|
|
14024
14179
|
unpublish?: boolean;
|
|
14025
14180
|
};
|
|
14026
14181
|
declare function saveVersion<TData extends JsonObject = JsonObject>(args: {
|
|
@@ -14456,15 +14611,13 @@ declare class BasePayload {
|
|
|
14456
14611
|
declare const initialized: BasePayload;
|
|
14457
14612
|
|
|
14458
14613
|
declare const reload: (config: SanitizedConfig, payload: Payload, skipImportMapGeneration?: boolean, options?: InitOptions) => Promise<void>;
|
|
14459
|
-
/**
|
|
14460
|
-
* Get a payload instance.
|
|
14461
|
-
* This function is a wrapper around new BasePayload().init() that adds the following functionality on top of that:
|
|
14462
|
-
*
|
|
14463
|
-
* - smartly caches Payload instance on the module scope. That way, we prevent unnecessarily initializing Payload over and over again
|
|
14464
|
-
* when calling getPayload multiple times or from multiple locations.
|
|
14465
|
-
* - adds HMR support and reloads the payload instance when the config changes.
|
|
14466
|
-
*/
|
|
14467
14614
|
declare const getPayload: (options: {
|
|
14615
|
+
/**
|
|
14616
|
+
* Custom dev reload strategy. If provided, replaces the default
|
|
14617
|
+
* Next.js HMR WebSocket listener. The strategy's `connect` function
|
|
14618
|
+
* receives a callback to trigger config reload.
|
|
14619
|
+
*/
|
|
14620
|
+
devReloadStrategy?: DevReloadStrategy;
|
|
14468
14621
|
/**
|
|
14469
14622
|
* A unique key to identify the payload instance. You can pass your own key if you want to cache this payload instance separately.
|
|
14470
14623
|
* This is useful if you pass a different payload config for each instance.
|
|
@@ -14501,5 +14654,5 @@ interface GlobalAdminCustom extends Record<string, any> {
|
|
|
14501
14654
|
interface GlobalAdminCustom extends Record<string, any> {
|
|
14502
14655
|
}
|
|
14503
14656
|
|
|
14504
|
-
export { APIError, APIErrorName, Action, AuthenticationError, BasePayload, DEFAULT_ALLOW_HAS_MANY, DEFAULT_HIERARCHY_TREE_LIMIT, DatabaseKVAdapter, DiffMethod, DuplicateCollection, DuplicateFieldName, DuplicateGlobal, EntityType, ErrorDeletingFile, FileRetrievalError, FileUploadError, Forbidden, HIERARCHY_DEFAULT_LOCALE, HIERARCHY_SLUG_PATH_FIELD, HIERARCHY_TITLE_PATH_FIELD, InMemoryKVAdapter, InvalidConfiguration, InvalidFieldName, InvalidFieldRelationship, JWTAuthentication, JobCancelledError, Locked, LockedAuth, MissingCollectionLabel, MissingEditorProp, MissingFieldInputOptions, MissingFieldType, MissingFile, NotFound, QueryError, UnauthorizedError, UnverifiedEmail, ValidationError, ValidationErrorName, _internal_jobSystemGlobals, _internal_resetJobSystemGlobals, _internal_safeFetchGlobal, accessOperation, addDataAndFileToRequest, addLocalesToRequestFromData, traverseFields$4 as afterChangeTraverseFields, promise as afterReadPromise, traverseFields$3 as afterReadTraverseFields, appendVersionToQueryKey,
|
|
14505
|
-
export type { Access, AccessArgs, AccessResult, AdminClient, AdminComponent, AdminDependencies, AdminFunction, AdminViewClientProps, AdminViewComponent, AdminViewConfig, AdminViewServerProps as AdminViewProps, AdminViewServerProps, AdminViewServerPropsOnly, AfterErrorHook$1 as AfterErrorHook, AfterErrorHookArgs, AfterErrorResult, AfterListClientProps, AfterListServerProps, AfterListServerPropsOnly, AfterListTableClientProps, AfterListTableServerProps, AfterListTableServerPropsOnly, AllOperations, AllowList, Ancestor, ApplyDisableErrors, ArrayField, ArrayFieldClient, ArrayFieldClientComponent, ArrayFieldClientProps, ArrayFieldDescriptionClientComponent, ArrayFieldDescriptionServerComponent, ArrayFieldDiffClientComponent, ArrayFieldDiffServerComponent, ArrayFieldErrorClientComponent, ArrayFieldErrorServerComponent, ArrayFieldLabelClientComponent, ArrayFieldLabelServerComponent, ArrayFieldServerComponent, ArrayFieldServerProps, ArrayFieldValidation, Auth, AuthCollection, AuthCollectionSlug, AuthOperations, AuthOperationsFromCollectionSlug, AuthStrategy, AuthStrategyFunction, AuthStrategyFunctionArgs, AuthStrategyResult, BaseDatabaseAdapter, BaseFilter, BaseJob, BaseListFilter, BaseLocalizationConfig, BaseValidateOptions, BaseVersionField, BeforeDocumentControlsClientProps, BeforeDocumentControlsServerProps, BeforeDocumentControlsServerPropsOnly, BeforeListClientProps, BeforeListServerProps, BeforeListServerPropsOnly, BeforeListTableClientProps, BeforeListTableServerProps, BeforeListTableServerPropsOnly, BeginTransaction, BinScript, BinScriptConfig, Block, BlockJSX, BlockPermissions, BlockRowLabelClientComponent, BlockRowLabelServerComponent, BlockSlug, BlocksField, BlocksFieldClient, BlocksFieldClientComponent, BlocksFieldClientProps, BlocksFieldDescriptionClientComponent, BlocksFieldDescriptionServerComponent, BlocksFieldDiffClientComponent, BlocksFieldDiffServerComponent, BlocksFieldErrorClientComponent, BlocksFieldErrorServerComponent, BlocksFieldLabelClientComponent, BlocksFieldLabelServerComponent, BlocksFieldServerComponent, BlocksFieldServerProps, BlocksFieldValidation, BlocksPermissions, BuildFormStateArgs, BuildTableStateArgs, BulkOperationResult, CORSConfig, CheckboxField, CheckboxFieldClient, CheckboxFieldClientComponent, CheckboxFieldClientProps, CheckboxFieldDescriptionClientComponent, CheckboxFieldDescriptionServerComponent, CheckboxFieldDiffClientComponent, CheckboxFieldDiffServerComponent, CheckboxFieldErrorClientComponent, CheckboxFieldErrorServerComponent, CheckboxFieldLabelClientComponent, CheckboxFieldLabelServerComponent, CheckboxFieldServerComponent, CheckboxFieldServerProps, CheckboxFieldValidation, ClientBlock, ClientCollectionConfig, ClientComponentProps, ClientConfig, ClientField, ClientFieldBase, ClientFieldProps, ClientFieldSchemaMap, ClientFieldWithOptionalType, ClientGlobalConfig, DocumentViewClientProps as ClientSideEditViewProps, ClientTab, ClientUser, ClientWidget, CodeField, CodeFieldClient, CodeFieldClientComponent, CodeFieldClientProps, CodeFieldDescriptionClientComponent, CodeFieldDescriptionServerComponent, CodeFieldDiffClientComponent, CodeFieldDiffServerComponent, CodeFieldErrorClientComponent, CodeFieldErrorServerComponent, CodeFieldLabelClientComponent, CodeFieldLabelServerComponent, CodeFieldServerComponent, CodeFieldServerProps, CodeFieldValidation, CollapsedPreferences, CollapsibleField, CollapsibleFieldClient, CollapsibleFieldClientComponent, CollapsibleFieldClientProps, CollapsibleFieldDescriptionClientComponent, CollapsibleFieldDescriptionServerComponent, CollapsibleFieldDiffClientComponent, CollapsibleFieldDiffServerComponent, CollapsibleFieldErrorClientComponent, CollapsibleFieldErrorServerComponent, CollapsibleFieldLabelClientComponent, CollapsibleFieldLabelServerComponent, CollapsibleFieldServerComponent, CollapsibleFieldServerProps, Collection, CollectionAdminCustom, CollectionAdminOptions, AfterChangeHook as CollectionAfterChangeHook, AfterDeleteHook as CollectionAfterDeleteHook, AfterErrorHook as CollectionAfterErrorHook, AfterForgotPasswordHook as CollectionAfterForgotPasswordHook, AfterLoginHook as CollectionAfterLoginHook, AfterLogoutHook as CollectionAfterLogoutHook, AfterMeHook as CollectionAfterMeHook, AfterOperationHook as CollectionAfterOperationHook, AfterReadHook as CollectionAfterReadHook, AfterRefreshHook as CollectionAfterRefreshHook, BeforeChangeHook as CollectionBeforeChangeHook, BeforeDeleteHook as CollectionBeforeDeleteHook, BeforeLoginHook as CollectionBeforeLoginHook, BeforeOperationHook as CollectionBeforeOperationHook, BeforeReadHook as CollectionBeforeReadHook, BeforeValidateHook as CollectionBeforeValidateHook, CollectionConfig, CollectionCustom, MeHook as CollectionMeHook, CollectionPermission, CollectionPreferences, RefreshHook as CollectionRefreshHook, CollectionSlug, Column, ColumnPreference, CommitTransaction, CompoundIndex, ConcurrencyConfig, Condition, ConditionalDateProps, Config, ConfirmPasswordFieldValidation, Connect, CookieOptions$1 as CookieOptions, CookieStore, Count, CountArgs, CountGlobalVersionArgs, CountGlobalVersions, CountVersions, Create, CreateArgs, CreateClientConfigArgs, CreateFolderFieldOptions, CreateGlobal, CreateGlobalArgs, CreateGlobalVersion, CreateGlobalVersionArgs, CreateMigration, CreateTagFieldOptions, CreateVersion, CreateVersionArgs, CustomComponent, CustomDocumentViewConfig, CustomPayloadRequestProperties, CustomComponent as CustomPreviewButton, CustomComponent as CustomPublishButton, CustomComponent as CustomSaveButton, CustomComponent as CustomSaveDraftButton, CustomStatus, CustomUpload, CustomVersionParser, DBIdentifierName, DashboardConfig, Data, DataFromCollectionSlug, DataFromGlobalSlug, DataFromWidgetSlug, DatabaseAdapter, DatabaseAdapterResult as DatabaseAdapterObj, DatabaseKVAdapterOptions, DateField, DateFieldClient, DateFieldClientComponent, DateFieldClientProps, DateFieldDescriptionClientComponent, DateFieldDescriptionServerComponent, DateFieldDiffClientComponent, DateFieldDiffServerComponent, DateFieldErrorClientComponent, DateFieldErrorServerComponent, DateFieldLabelClientComponent, DateFieldLabelServerComponent, DateFieldServerComponent, DateFieldServerProps, DateFieldValidation, DayPickerProps, DefaultCellComponentProps, DefaultDocumentIDType, DefaultDocumentViewConfig, DefaultServerCellComponentProps, DefaultServerFunctionArgs, DefaultValue, DeleteMany, DeleteManyArgs, DeleteOne, DeleteOneArgs, DeleteVersions, DeleteVersionsArgs, Description, DescriptionFunction, Destroy, Document, DocumentEvent, DocumentPermissions, DocumentPreferences, DocumentSlots, DocumentSubViewTypes, DocumentTabClientProps, DocumentTabComponent, DocumentTabCondition, DocumentTabConfig, DocumentTabServerProps as DocumentTabProps, DocumentTabServerProps, DocumentTabServerPropsOnly, DocumentViewClientProps, DocumentViewComponent, DocumentViewConfig, DocumentViewServerProps, DocumentViewServerPropsOnly, DraftTransformCollectionWithSelect, DynamicMigrationTemplate, EditConfig, EditConfigWithRoot, EditConfigWithoutRoot, EditMenuItemsClientProps, EditMenuItemsServerProps, EditMenuItemsServerPropsOnly, EditViewComponent, EditViewConfig, EditViewProps, EmailAdapter, EmailField, EmailFieldClient, EmailFieldClientComponent, EmailFieldClientProps, EmailFieldDescriptionClientComponent, EmailFieldDescriptionServerComponent, EmailFieldDiffClientComponent, EmailFieldDiffServerComponent, EmailFieldErrorClientComponent, EmailFieldErrorServerComponent, EmailFieldLabelClientComponent, EmailFieldLabelServerComponent, EmailFieldServerComponent, EmailFieldServerProps, EmailFieldValidation, Endpoint, EntityDescription, EntityDescriptionComponent, EntityDescriptionFunction, EntityPolicies, ErrorResult, FetchAPIFileUploadOptions, Field, FieldAccess, FieldAccessArgs, FieldAffectingData, FieldAffectingDataClient, FieldBase, FieldBaseClient, FieldClientComponent, FieldCustom, FieldDescriptionClientComponent, FieldDescriptionClientProps, FieldDescriptionServerComponent, FieldDescriptionServerProps, FieldDiffClientComponent, FieldDiffClientProps, FieldDiffServerComponent, FieldDiffServerProps, FieldErrorClientComponent, FieldErrorClientProps, FieldErrorServerComponent, FieldErrorServerProps, FieldHook, FieldHookArgs, FieldLabelClientComponent, FieldLabelClientProps, FieldLabelServerComponent, FieldLabelServerProps, FieldPaths, FieldPermissions, FieldPosition, FieldPresentationalOnly, FieldPresentationalOnlyClient, FieldRow, FieldSchemaMap, FieldServerComponent, FieldState, FieldTypes, FieldWithMany, FieldWithManyClient, FieldWithMaxDepth, FieldWithMaxDepthClient, FieldWithPath, FieldWithPathClient, FieldWithSubFields, FieldWithSubFieldsClient, FieldsPermissions, FieldsPreferences, FieldsToJSONSchemaArgs, File$1 as File, FileAllowList, FileData, FileSize, FileSizes, FileToSave, FilterOptions, FilterOptionsProps, FilterOptionsResult, Find, FindArgs, FindDistinct, FindGlobal, FindGlobalArgs, FindGlobalVersions, FindGlobalVersionsArgs, FindOne, FindOneArgs, FindOptions, FindVersions, FindVersionsArgs, FlattenedArrayField, FlattenedBlock, FlattenedBlocksField, FlattenedField$1 as FlattenedField, FlattenedGroupField, FlattenedJoinField, FlattenedTabAsField, FocalPoint, FoldersConfig, FieldState as FormField, FieldStateWithoutComponents as FormFieldWithoutComponents, FormState, FormStateWithoutComponents, GenerateImageName, GeneratePreviewURL, GenerateSchema, GeneratedTypes, GenericDescriptionProps, GenericErrorProps, GenericLabelProps, GetAdminThumbnail, GetInitialTreeDataArgs, GlobalAdminCustom, GlobalAdminOptions, AfterChangeHook$1 as GlobalAfterChangeHook, AfterReadHook$1 as GlobalAfterReadHook, BeforeChangeHook$1 as GlobalBeforeChangeHook, BeforeOperationHook$1 as GlobalBeforeOperationHook, BeforeReadHook$1 as GlobalBeforeReadHook, BeforeValidateHook$1 as GlobalBeforeValidateHook, GlobalConfig, GlobalCustom, GlobalPermission, GlobalSlug, GraphQLExtension, GraphQLInfo, GroupField, GroupFieldClient, GroupFieldClientComponent, GroupFieldClientProps, GroupFieldDescriptionClientComponent, GroupFieldDescriptionServerComponent, GroupFieldDiffClientComponent, GroupFieldDiffServerComponent, GroupFieldErrorClientComponent, GroupFieldErrorServerComponent, GroupFieldLabelClientComponent, GroupFieldLabelServerComponent, GroupFieldServerComponent, GroupFieldServerProps, HiddenFieldProps, HierarchyConfig, HierarchyViewData, HookName, HookOperationType, IfAny, ImageSize, ImageUploadFormatOptions, ImageUploadTrimOptions, ImportMap, ImportMapGenerators, IncomingAuthType, Init, InitOptions, InitPageResult, InitReqResult, InitialTreeData, InsideFieldsPreferences, IsAny, JSONField, JSONFieldClient, JSONFieldClientComponent, JSONFieldClientProps, JSONFieldDescriptionClientComponent, JSONFieldDescriptionServerComponent, JSONFieldDiffClientComponent, JSONFieldDiffServerComponent, JSONFieldErrorClientComponent, JSONFieldErrorServerComponent, JSONFieldLabelClientComponent, JSONFieldLabelServerComponent, JSONFieldServerComponent, JSONFieldServerProps, JSONFieldValidation, Job, JobLog, JobTaskStatus, JobsConfig, JoinField, JoinFieldClient, JoinFieldClientComponent, JoinFieldClientProps, JoinFieldDescriptionClientComponent, JoinFieldDescriptionServerComponent, JoinFieldDiffClientComponent, JoinFieldDiffServerComponent, JoinFieldErrorClientComponent, JoinFieldErrorServerComponent, JoinFieldLabelClientComponent, JoinFieldLabelServerComponent, JoinFieldServerComponent, JoinFieldServerProps, JoinQuery, JsonArray, JsonObject, JsonValue, KVAdapter, KVAdapterResult, KVStoreValue, LabelFunction, Labels, LabelsClient, LanguageOptions, LinkAdapterProps, CollectionPreferences as ListPreferences, ListQuery, ListViewClientProps, ListViewServerProps, ListViewServerPropsOnly, ListViewSlotSharedClientProps, ListViewSlots, LivePreviewConfig, LivePreviewURLType, Locale, LocalizationConfig, LocalizationConfigWithLabels, LocalizationConfigWithNoLabels, LoginResult, LoginWithUsernameOptions, MappedClientComponent, MappedEmptyComponent, MappedServerComponent, MaybePromise, MeOperationResult, MetaConfig, Migration, MigrationData, MigrationTemplateArgs, LocalizeStatusArgs$1 as MongoLocalizeStatusArgs, NamedGroupField, NamedGroupFieldClient, NamedTab, NavGroupPreferences, NavPreferences, NonPresentationalField, NonPresentationalFieldClient, NumberField, NumberFieldClient, NumberFieldClientComponent, NumberFieldClientProps, NumberFieldDescriptionClientComponent, NumberFieldDescriptionServerComponent, NumberFieldDiffClientComponent, NumberFieldDiffServerComponent, NumberFieldErrorClientComponent, NumberFieldErrorServerComponent, NumberFieldLabelClientComponent, NumberFieldLabelServerComponent, NumberFieldManyValidation, NumberFieldServerComponent, NumberFieldServerProps, NumberFieldSingleValidation, NumberFieldValidation, OGImageConfig, Operation, Operator, Option, OptionLabel, OptionObject, OrderableEndpointBody, PaginatedDistinctDocs, PaginatedDocs, Params, PasswordFieldValidation, PathToQuery, Payload, PayloadClientComponentProps, PayloadClientReactComponent, PayloadComponent, PayloadComponentProps, EmailAdapter as PayloadEmailAdapter, PayloadHandler, PayloadLogger, PayloadReactComponent, PayloadRequest, PayloadServerAction, PayloadServerComponentProps, PayloadServerReactComponent, PayloadTypes, PayloadTypesShape, Permission, Permissions, PickPreserveOptional, Plugin, PluginsMap, PointField, PointFieldClient, PointFieldClientComponent, PointFieldClientProps, PointFieldDescriptionClientComponent, PointFieldDescriptionServerComponent, PointFieldDiffClientComponent, PointFieldDiffServerComponent, PointFieldErrorClientComponent, PointFieldErrorServerComponent, PointFieldLabelClientComponent, PointFieldLabelServerComponent, PointFieldServerComponent, PointFieldServerProps, PointFieldValidation, PolymorphicRelationshipField, PolymorphicRelationshipFieldClient, PopulateType, PreferenceRequest, PreferenceUpdateRequest, PreviewButtonClientProps, PreviewButtonServerProps, PreviewButtonServerPropsOnly, ProbedImageSize, PublishButtonClientProps, PublishButtonServerProps, PublishButtonServerPropsOnly, QueryDrafts, QueryDraftsArgs, QueryPreset, RadioField, RadioFieldClient, RadioFieldClientComponent, RadioFieldClientProps, RadioFieldDescriptionClientComponent, RadioFieldDescriptionServerComponent, RadioFieldDiffClientComponent, RadioFieldDiffServerComponent, RadioFieldErrorClientComponent, RadioFieldErrorServerComponent, RadioFieldLabelClientComponent, RadioFieldLabelServerComponent, RadioFieldServerComponent, RadioFieldServerProps, RadioFieldValidation, RawPayloadComponent, RegisteredPlugins, RelatedDocumentsGrouped, RelationshipField, RelationshipFieldClient, RelationshipFieldClientComponent, RelationshipFieldClientProps, RelationshipFieldDescriptionClientComponent, RelationshipFieldDescriptionServerComponent, RelationshipFieldDiffClientComponent, RelationshipFieldDiffServerComponent, RelationshipFieldErrorClientComponent, RelationshipFieldErrorServerComponent, RelationshipFieldLabelClientComponent, RelationshipFieldLabelServerComponent, RelationshipFieldManyValidation, RelationshipFieldServerComponent, RelationshipFieldServerProps, RelationshipFieldSingleValidation, RelationshipFieldValidation, RelationshipValue, RenderConfigArgs, RenderDocumentVersionsProperties, RenderEntityConfigArgs, RenderFieldConfigArgs, RenderRootConfigArgs, RenderedField, ReplaceAny, RequestContext, RequiredDataFromCollection, RequiredDataFromCollectionSlug, ResolvedComponent, ResolvedFilterOptions, RichTextAdapter, RichTextAdapterProvider, RichTextField, RichTextFieldClient, RichTextFieldClientComponent, RichTextFieldClientProps, RichTextFieldDescriptionClientComponent, RichTextFieldDescriptionServerComponent, RichTextFieldDiffClientComponent, RichTextFieldDiffServerComponent, RichTextFieldErrorClientComponent, RichTextFieldErrorServerComponent, RichTextFieldLabelClientComponent, RichTextFieldLabelServerComponent, RichTextFieldServerComponent, RichTextFieldServerProps, RichTextFieldValidation, RichTextHooks, RollbackTransaction, RootLivePreviewConfig, RouterAdapterComponent, RouterAdapterRouter, Row, RowField, RowFieldClient, RowFieldClientComponent, RowFieldClientProps, RowFieldDescriptionClientComponent, RowFieldDescriptionServerComponent, RowFieldDiffClientComponent, RowFieldDiffServerComponent, RowFieldErrorClientComponent, RowFieldErrorServerComponent, RowFieldLabelClientComponent, RowFieldLabelServerComponent, RowFieldServerComponent, RowFieldServerProps, RowLabel, RowLabelComponent, RunInlineTaskFunction, RunJobAccess, RunJobAccessArgs, RunTaskFunction, RunTaskFunctions, RunningJob, SanitizeFieldArgs, SanitizedBlockPermissions, SanitizedBlocksPermissions, SanitizedCollectionConfig, SanitizedCollectionPermission, SanitizedCompoundIndex, SanitizedConfig, SanitizedDashboardConfig, SanitizedDocumentPermissions, SanitizedFieldPermissions, SanitizedFieldsPermissions, SanitizedGlobalConfig, SanitizedGlobalPermission, SanitizedHierarchyConfig, SanitizedHierarchyRelatedCollection, SanitizedJoins, SanitizedLabelProps, SanitizedLocalizationConfig, SanitizedPermissions, SanitizedUploadConfig, SaveButtonClientProps, SaveButtonServerProps, SaveButtonServerPropsOnly, SaveDraftButtonClientProps, SaveDraftButtonServerProps, SaveDraftButtonServerPropsOnly, SchedulePublish, SchedulePublishTaskInput, SelectExcludeType, SelectField, SelectFieldClient, SelectFieldClientComponent, SelectFieldClientProps, SelectFieldDescriptionClientComponent, SelectFieldDescriptionServerComponent, SelectFieldDiffClientComponent, SelectFieldDiffServerComponent, SelectFieldErrorClientComponent, SelectFieldErrorServerComponent, SelectFieldLabelClientComponent, SelectFieldLabelServerComponent, SelectFieldManyValidation, SelectFieldServerComponent, SelectFieldServerProps, SelectFieldSingleValidation, SelectFieldValidation, SelectFn, SelectFnArgs, SelectFnOperation, SelectIncludeType, SelectMode, SelectType, SendEmailOptions, ServerAdapter, ServerComponentProps, ServerFieldBase, ServerFunction, ServerFunctionArgs, ServerFunctionClient, ServerFunctionClientArgs, ServerFunctionConfig, ServerFunctionHandler, ServerOnlyCollectionAdminProperties, ServerOnlyCollectionProperties, ServerOnlyFieldAdminProperties, ServerOnlyFieldProperties, ServerOnlyGlobalAdminProperties, ServerOnlyGlobalProperties, ServerOnlyLivePreviewProperties, ServerOnlyUploadProperties, ServerProps, ServerPropsFromView, DocumentViewServerProps as ServerSideEditViewProps, SharedAdminComponents, SharedEditViewComponents, SharedEntityViews, SharedProps, SharpDependency, SidebarTab, SidebarTabClientProps, SidebarTabServerProps, SidebarTabServerPropsOnly, SingleRelationshipField, SingleRelationshipFieldClient, SingleTaskStatus, SlugField, SlugFieldClientProps, SlugifyServerFunctionArgs, Sort, LocalizeStatusArgs as SqlLocalizeStatusArgs, StaticDescription, StaticLabel, StorageAdapter, StringKeyOf, Tab, TabAsField, TabAsFieldClient, TabsField, TabsFieldClient, TabsFieldClientComponent, TabsFieldClientProps, TabsFieldDescriptionClientComponent, TabsFieldDescriptionServerComponent, TabsFieldDiffClientComponent, TabsFieldDiffServerComponent, TabsFieldErrorClientComponent, TabsFieldErrorServerComponent, TabsFieldLabelClientComponent, TabsFieldLabelServerComponent, TabsFieldServerComponent, TabsFieldServerProps, TabsPreferences, TagsConfig, TaskConfig, TaskHandler, TaskHandlerArgs, TaskHandlerResult, TaskHandlerResults, TaskInput, TaskOutput, TaskType, TextField, TextFieldClient, TextFieldClientComponent, TextFieldClientProps, TextFieldDescriptionClientComponent, TextFieldDescriptionServerComponent, TextFieldDiffClientComponent, TextFieldDiffServerComponent, TextFieldErrorClientComponent, TextFieldErrorServerComponent, TextFieldLabelClientComponent, TextFieldLabelServerComponent, TextFieldManyValidation, TextFieldServerComponent, TextFieldServerProps, TextFieldSingleValidation, TextFieldValidation, TextareaField, TextareaFieldClient, TextareaFieldClientComponent, TextareaFieldClientProps, TextareaFieldDescriptionClientComponent, TextareaFieldDescriptionServerComponent, TextareaFieldDiffClientComponent, TextareaFieldDiffServerComponent, TextareaFieldErrorClientComponent, TextareaFieldErrorServerComponent, TextareaFieldLabelClientComponent, TextareaFieldLabelServerComponent, TextareaFieldServerComponent, TextareaFieldServerProps, TextareaFieldValidation, TimePickerProps, Timezone, TimezonesConfig, Transaction, TransformCollectionWithSelect, TransformDataWithSelect, TransformGlobalWithSelect, TraverseFieldsCallback, TypeWithID, TypeWithTimestamps, TypeWithVersion, TypedAuthOperations, TypedBlock, TypedCollection, TypedCollectionJoins, TypedCollectionSelect, TypedFallbackLocale, TypedGlobal, TypedGlobalSelect, TypedJobs, TypedLocale, TypedUploadCollection, TypedUser, TypedWidget, UIField, UIFieldClient, UIFieldClientComponent, UIFieldClientProps, UIFieldDiffClientComponent, UIFieldDiffServerComponent, UIFieldServerComponent, UIFieldServerProps, UnauthenticatedClientConfig, UnnamedGroupField, UnnamedGroupFieldClient, UnnamedTab, UnpublishButtonClientProps, UnpublishButtonServerProps, UnpublishButtonServerPropsOnly, UntypedPayloadTypes, UntypedUser, UpdateGlobal, UpdateGlobalArgs, UpdateGlobalVersion, UpdateGlobalVersionArgs, UpdateJobs, UpdateJobsArgs, UpdateMany, UpdateManyArgs, UpdateOne, UpdateOneArgs, UpdateVersion, UpdateVersionArgs, UploadCollectionSlug, UploadConfig, UploadEdits, UploadField, UploadFieldClient, UploadFieldClientComponent, UploadFieldClientProps, UploadFieldDescriptionClientComponent, UploadFieldDescriptionServerComponent, UploadFieldDiffClientComponent, UploadFieldDiffServerComponent, UploadFieldErrorClientComponent, UploadFieldErrorServerComponent, UploadFieldLabelClientComponent, UploadFieldLabelServerComponent, UploadFieldManyValidation, UploadFieldServerComponent, UploadFieldServerProps, UploadFieldSingleValidation, UploadFieldValidation, Upsert, UpsertArgs, UntypedUser as User, UserSession, UsernameFieldValidation, Validate, ValidateOptions, ValidationFieldError, ValueWithRelation, VerifyConfig, VersionField, VersionOperations, VersionTab, ViewDescriptionClientProps, ViewDescriptionServerProps, ViewDescriptionServerPropsOnly, ViewTypes, VisibleEntities, Where, WhereField, Widget, WidgetInstance, WidgetServerProps, WidgetSlug, WidgetWidth, WithSelectFn, WithServerSidePropsComponent, WithServerSidePropsComponentProps, WorkflowConfig, WorkflowHandler, WorkflowTypes, checkFileRestrictionsParams };
|
|
14657
|
+
export { APIError, APIErrorName, Action, AuthenticationError, BasePayload, DEFAULT_ALLOW_HAS_MANY, DEFAULT_HIERARCHY_TREE_LIMIT, DatabaseKVAdapter, DiffMethod, DuplicateCollection, DuplicateFieldName, DuplicateGlobal, EntityType, ErrorDeletingFile, FileRetrievalError, FileUploadError, Forbidden, HIERARCHY_DEFAULT_LOCALE, HIERARCHY_SLUG_PATH_FIELD, HIERARCHY_TITLE_PATH_FIELD, InMemoryKVAdapter, InvalidConfiguration, InvalidFieldName, InvalidFieldRelationship, JWTAuthentication, JobCancelledError, Locked, LockedAuth, MissingCollectionLabel, MissingEditorProp, MissingFieldInputOptions, MissingFieldType, MissingFile, NotFound, QueryError, UnauthorizedError, UnverifiedEmail, ValidationError, ValidationErrorName, _internal_jobSystemGlobals, _internal_resetJobSystemGlobals, _internal_safeFetchGlobal, accessOperation, addDataAndFileToRequest, addLocalesToRequestFromData, traverseFields$4 as afterChangeTraverseFields, promise as afterReadPromise, traverseFields$3 as afterReadTraverseFields, appendVersionToQueryKey, accountLockFields as baseAccountLockFields, baseAuthFields, baseBlockFields, emailFieldConfig as baseEmailField, baseIDField, sessionsFieldConfig as baseSessionsField, usernameFieldConfig as baseUsernameField, verificationFields as baseVerificationFields, traverseFields$2 as beforeChangeTraverseFields, traverseFields$1 as beforeValidateTraverseFields, buildConfig, buildVersionCollectionFields, buildVersionCompoundIndexes, buildVersionGlobalFields, canAccessAdmin, checkDependencies, checkLoginPermission, combineQueries, commitTransaction, configToJSONSchema, countOperation, countRunnableOrActiveJobsForQueue, createAPIKeyFields, createArrayFromCommaDelineated, createClientBlocks, createClientCollectionConfig, createClientCollectionConfigs, createClientConfig, createClientField, createClientFields, createClientGlobalConfig, createClientGlobalConfigs, createDatabaseAdapter, createDataloaderCacheKey, createFolderField, createLocalReq, createMigration, createOperation, createPayloadRequest, createTagField, createUnauthenticatedClientConfig, databaseKVAdapter, deepCopyObject, deepCopyObjectComplex, deepCopyObjectSimple, deepMergeSimple, deepMergeWithCombinedArrays, deepMergeWithReactComponents, deepMergeWithSourceArrays, initialized as default, defaultBeginTransaction, defaultLoggerOptions, defaultUserCollection, defaults, definePlugin, deleteByIDOperation, deleteCollectionVersions, deleteOperation, docAccessOperation$1 as docAccessOperation, docAccessOperation as docAccessOperationGlobal, docHasTimestamps, duplicateOperation, dynamicImport, enforceMaxVersions, entityToJSONSchema, entityToStandaloneJSONSchema, escapeRegExp, executeAccess, executeAuthStrategies, extractAccessFromPermission, extractJWT, fieldsToJSONSchema, findByIDOperation, findMigrationDir, findOneOperation, findOperation, findUp, findUpSync, findVersionByIDOperation$1 as findVersionByIDOperation, findVersionByIDOperation as findVersionByIDOperationGlobal, findVersionsOperation$1 as findVersionsOperation, findVersionsOperation as findVersionsOperationGlobal, flattenAllFields, flattenTopLevelFields, flattenWhereToOperators, forgotPasswordOperation, formatErrors, formatLabels, formatNames, genImportMapIterateFields, generateCookie, generateExpiredPayloadCookie, generateImportMap, generatePayloadCookie, getAccessResults, getAncestors, getBlockSelect, getCollectionIDFieldTypes, getCookieExpiration, getCurrentDate, getDataLoader, getDefaultValue, getDependencies, getFieldByPath, getFieldsToSign, getFileByPath, getHierarchyFieldName, getInitialTreeData, getLatestCollectionVersion, getLatestGlobalVersion, getLocalI18n, getLocalizedPaths, getLoginOptions, getMigrations, getObjectDotNotation, getPayload, getPredefinedMigration, getQueryDraftsSort, getRequestLanguage, handleEndpoints, hasWhereAccessResult, headersWithCors, importHandlerPath, inMemoryKVAdapter, incrementLoginAttempts, initOperation, initTransaction, injectHierarchyButton, isEntityHidden, isPlainObject, isValidID, isolateObjectProperty, jobAfterRead, jwtSign, killTransaction, logError, loginOperation, logoutOperation, mapAsync, meOperation, mergeHeaders, migrate, migrate$1 as migrateCLI, migrateDown, migrateRefresh, migrateReset, migrateStatus, migrationTemplate, migrationsCollection, parseCookies, parseDocumentID, parseParams, pathExistsAndIsAccessible, pathExistsAndIsAccessibleSync, readMigrationFiles, refreshOperation, registerBlockInterface, registerFirstUserOperation, reload, resetLoginAttempts, resetPasswordOperation, resolveHierarchyCollections, restoreVersionOperation$1 as restoreVersionOperation, restoreVersionOperation as restoreVersionOperationGlobal, sanitizeConfig, sanitizeFallbackLocale, sanitizeField, sanitizeFields, sanitizeJoinParams, sanitizeLocales, sanitizePopulateParam, sanitizeSelectParam, sanitizeSortParams, saveVersion, serverOnlyAdminConfigProperties, serverOnlyConfigProperties, serverProps, slugField, sortableFieldTypes, stripUnselectedFields, toWords, traverseFields, unlockOperation, updateByIDOperation, updateOperation$1 as updateOperation, updateOperation as updateOperationGlobal, validateBlocksFilterOptions, validateQueryPaths, validateSearchParam, validations, verifyEmailOperation, versionDefaults, withNullableJSONSchemaType, writeMigrationIndex };
|
|
14658
|
+
export type { Access, AccessArgs, AccessResult, AdminClient, AdminComponent, AdminDependencies, AdminFunction, AdminView, AdminViewAdapter, AdminViewClientProps, AdminViewComponent, AdminViewConfig, AdminViewKey, AdminViewServerProps as AdminViewProps, AdminViewServerProps, AdminViewServerPropsOnly, AfterErrorHook$1 as AfterErrorHook, AfterErrorHookArgs, AfterErrorResult, AfterListClientProps, AfterListServerProps, AfterListServerPropsOnly, AfterListTableClientProps, AfterListTableServerProps, AfterListTableServerPropsOnly, AllOperations, AllowList, Ancestor, ApplyDisableErrors, ArrayField, ArrayFieldClient, ArrayFieldClientComponent, ArrayFieldClientProps, ArrayFieldDescriptionClientComponent, ArrayFieldDescriptionServerComponent, ArrayFieldDiffClientComponent, ArrayFieldDiffServerComponent, ArrayFieldErrorClientComponent, ArrayFieldErrorServerComponent, ArrayFieldLabelClientComponent, ArrayFieldLabelServerComponent, ArrayFieldServerComponent, ArrayFieldServerProps, ArrayFieldValidation, Auth, AuthCollection, AuthCollectionSlug, AuthOperations, AuthOperationsFromCollectionSlug, AuthStrategy, AuthStrategyFunction, AuthStrategyFunctionArgs, AuthStrategyResult, BaseDatabaseAdapter, BaseFilter, BaseJob, BaseListFilter, BaseLocalizationConfig, BaseValidateOptions, BaseVersionField, BeforeDocumentControlsClientProps, BeforeDocumentControlsServerProps, BeforeDocumentControlsServerPropsOnly, BeforeListClientProps, BeforeListServerProps, BeforeListServerPropsOnly, BeforeListTableClientProps, BeforeListTableServerProps, BeforeListTableServerPropsOnly, BeginTransaction, BinScript, BinScriptConfig, Block, BlockJSX, BlockPermissions, BlockRowLabelClientComponent, BlockRowLabelServerComponent, BlockSlug, BlocksField, BlocksFieldClient, BlocksFieldClientComponent, BlocksFieldClientProps, BlocksFieldDescriptionClientComponent, BlocksFieldDescriptionServerComponent, BlocksFieldDiffClientComponent, BlocksFieldDiffServerComponent, BlocksFieldErrorClientComponent, BlocksFieldErrorServerComponent, BlocksFieldLabelClientComponent, BlocksFieldLabelServerComponent, BlocksFieldServerComponent, BlocksFieldServerProps, BlocksFieldValidation, BlocksPermissions, BuildFormStateArgs, BuildTableStateArgs, BulkOperationResult, CORSConfig, CheckboxField, CheckboxFieldClient, CheckboxFieldClientComponent, CheckboxFieldClientProps, CheckboxFieldDescriptionClientComponent, CheckboxFieldDescriptionServerComponent, CheckboxFieldDiffClientComponent, CheckboxFieldDiffServerComponent, CheckboxFieldErrorClientComponent, CheckboxFieldErrorServerComponent, CheckboxFieldLabelClientComponent, CheckboxFieldLabelServerComponent, CheckboxFieldServerComponent, CheckboxFieldServerProps, CheckboxFieldValidation, ClientBlock, ClientCollectionConfig, ClientComponentProps, ClientConfig, ClientField, ClientFieldBase, ClientFieldProps, ClientFieldSchemaMap, ClientFieldWithOptionalType, ClientGlobalConfig, DocumentViewClientProps as ClientSideEditViewProps, ClientTab, ClientUser, ClientWidget, CodeField, CodeFieldClient, CodeFieldClientComponent, CodeFieldClientProps, CodeFieldDescriptionClientComponent, CodeFieldDescriptionServerComponent, CodeFieldDiffClientComponent, CodeFieldDiffServerComponent, CodeFieldErrorClientComponent, CodeFieldErrorServerComponent, CodeFieldLabelClientComponent, CodeFieldLabelServerComponent, CodeFieldServerComponent, CodeFieldServerProps, CodeFieldValidation, CollapsedPreferences, CollapsibleField, CollapsibleFieldClient, CollapsibleFieldClientComponent, CollapsibleFieldClientProps, CollapsibleFieldDescriptionClientComponent, CollapsibleFieldDescriptionServerComponent, CollapsibleFieldDiffClientComponent, CollapsibleFieldDiffServerComponent, CollapsibleFieldErrorClientComponent, CollapsibleFieldErrorServerComponent, CollapsibleFieldLabelClientComponent, CollapsibleFieldLabelServerComponent, CollapsibleFieldServerComponent, CollapsibleFieldServerProps, Collection, CollectionAdminCustom, CollectionAdminOptions, AfterChangeHook as CollectionAfterChangeHook, AfterDeleteHook as CollectionAfterDeleteHook, AfterErrorHook as CollectionAfterErrorHook, AfterForgotPasswordHook as CollectionAfterForgotPasswordHook, AfterLoginHook as CollectionAfterLoginHook, AfterLogoutHook as CollectionAfterLogoutHook, AfterMeHook as CollectionAfterMeHook, AfterOperationHook as CollectionAfterOperationHook, AfterReadHook as CollectionAfterReadHook, AfterRefreshHook as CollectionAfterRefreshHook, BeforeChangeHook as CollectionBeforeChangeHook, BeforeDeleteHook as CollectionBeforeDeleteHook, BeforeLoginHook as CollectionBeforeLoginHook, BeforeOperationHook as CollectionBeforeOperationHook, BeforeReadHook as CollectionBeforeReadHook, BeforeValidateHook as CollectionBeforeValidateHook, CollectionConfig, CollectionCustom, MeHook as CollectionMeHook, CollectionPermission, CollectionPreferences, RefreshHook as CollectionRefreshHook, CollectionSlug, Column, ColumnPreference, CommitTransaction, ComponentRenderer, CompoundIndex, ConcurrencyConfig, Condition, ConditionalDateProps, Config, ConfirmPasswordFieldValidation, Connect, CookieOptions$1 as CookieOptions, CookieStore, Count, CountArgs, CountGlobalVersionArgs, CountGlobalVersions, CountVersions, Create, CreateArgs, CreateClientConfigArgs, CreateFolderFieldOptions, CreateGlobal, CreateGlobalArgs, CreateGlobalVersion, CreateGlobalVersionArgs, CreateMigration, CreateTagFieldOptions, CreateVersion, CreateVersionArgs, CustomComponent, CustomDocumentViewConfig, CustomPayloadRequestProperties, CustomComponent as CustomPreviewButton, CustomComponent as CustomPublishButton, CustomComponent as CustomSaveButton, CustomComponent as CustomSaveDraftButton, CustomStatus, CustomUpload, CustomVersionParser, DBIdentifierName, DashboardConfig, Data, DataFromCollectionSlug, DataFromGlobalSlug, DataFromWidgetSlug, DatabaseAdapter, DatabaseAdapterResult as DatabaseAdapterObj, DatabaseKVAdapterOptions, DateField, DateFieldClient, DateFieldClientComponent, DateFieldClientProps, DateFieldDescriptionClientComponent, DateFieldDescriptionServerComponent, DateFieldDiffClientComponent, DateFieldDiffServerComponent, DateFieldErrorClientComponent, DateFieldErrorServerComponent, DateFieldLabelClientComponent, DateFieldLabelServerComponent, DateFieldServerComponent, DateFieldServerProps, DateFieldValidation, DayPickerProps, DefaultCellComponentProps, DefaultDocumentIDType, DefaultDocumentViewConfig, DefaultServerCellComponentProps, DefaultServerFunctionArgs, DefaultValue, DeleteMany, DeleteManyArgs, DeleteOne, DeleteOneArgs, DeleteVersions, DeleteVersionsArgs, Description, DescriptionFunction, Destroy, DevReloadCleanup, DevReloadStrategy, Document, DocumentEvent, DocumentPermissions, DocumentPreferences, DocumentSlots, DocumentSubViewTypes, DocumentTabClientProps, DocumentTabComponent, DocumentTabCondition, DocumentTabConfig, DocumentTabServerProps as DocumentTabProps, DocumentTabServerProps, DocumentTabServerPropsOnly, DocumentViewClientProps, DocumentViewComponent, DocumentViewConfig, DocumentViewServerProps, DocumentViewServerPropsOnly, DraftTransformCollectionWithSelect, DynamicMigrationTemplate, EditConfig, EditConfigWithRoot, EditConfigWithoutRoot, EditMenuItemsClientProps, EditMenuItemsServerProps, EditMenuItemsServerPropsOnly, EditViewComponent, EditViewConfig, EditViewProps, EmailAdapter, EmailField, EmailFieldClient, EmailFieldClientComponent, EmailFieldClientProps, EmailFieldDescriptionClientComponent, EmailFieldDescriptionServerComponent, EmailFieldDiffClientComponent, EmailFieldDiffServerComponent, EmailFieldErrorClientComponent, EmailFieldErrorServerComponent, EmailFieldLabelClientComponent, EmailFieldLabelServerComponent, EmailFieldServerComponent, EmailFieldServerProps, EmailFieldValidation, Endpoint, EntityDescription, EntityDescriptionComponent, EntityDescriptionFunction, EntityPolicies, ErrorResult, FetchAPIFileUploadOptions, Field, FieldAccess, FieldAccessArgs, FieldAffectingData, FieldAffectingDataClient, FieldBase, FieldBaseClient, FieldClientComponent, FieldCustom, FieldDescriptionClientComponent, FieldDescriptionClientProps, FieldDescriptionServerComponent, FieldDescriptionServerProps, FieldDiffClientComponent, FieldDiffClientProps, FieldDiffServerComponent, FieldDiffServerProps, FieldErrorClientComponent, FieldErrorClientProps, FieldErrorServerComponent, FieldErrorServerProps, FieldHook, FieldHookArgs, FieldLabelClientComponent, FieldLabelClientProps, FieldLabelServerComponent, FieldLabelServerProps, FieldPaths, FieldPermissions, FieldPosition, FieldPresentationalOnly, FieldPresentationalOnlyClient, FieldRow, FieldSchemaMap, FieldServerComponent, FieldState, FieldTypes, FieldWithMany, FieldWithManyClient, FieldWithMaxDepth, FieldWithMaxDepthClient, FieldWithPath, FieldWithPathClient, FieldWithSubFields, FieldWithSubFieldsClient, FieldsPermissions, FieldsPreferences, FieldsToJSONSchemaArgs, File$1 as File, FileAllowList, FileData, FileSize, FileSizes, FileToSave, FilterOptions, FilterOptionsProps, FilterOptionsResult, Find, FindArgs, FindDistinct, FindGlobal, FindGlobalArgs, FindGlobalVersions, FindGlobalVersionsArgs, FindOne, FindOneArgs, FindOptions, FindVersions, FindVersionsArgs, FlattenedArrayField, FlattenedBlock, FlattenedBlocksField, FlattenedField$1 as FlattenedField, FlattenedGroupField, FlattenedJoinField, FlattenedTabAsField, FocalPoint, FoldersConfig, FieldState as FormField, FieldStateWithoutComponents as FormFieldWithoutComponents, FormState, FormStateWithoutComponents, GenerateImageName, GeneratePreviewURL, GenerateSchema, GenerateViewMetadata, GeneratedTypes, GenericDescriptionProps, GenericErrorProps, GenericLabelProps, GetAdminThumbnail, GetInitialTreeDataArgs, GlobalAdminCustom, GlobalAdminOptions, AfterChangeHook$1 as GlobalAfterChangeHook, AfterReadHook$1 as GlobalAfterReadHook, BeforeChangeHook$1 as GlobalBeforeChangeHook, BeforeOperationHook$1 as GlobalBeforeOperationHook, BeforeReadHook$1 as GlobalBeforeReadHook, BeforeValidateHook$1 as GlobalBeforeValidateHook, GlobalConfig, GlobalCustom, GlobalPermission, GlobalSlug, GraphQLExtension, GraphQLInfo, GroupField, GroupFieldClient, GroupFieldClientComponent, GroupFieldClientProps, GroupFieldDescriptionClientComponent, GroupFieldDescriptionServerComponent, GroupFieldDiffClientComponent, GroupFieldDiffServerComponent, GroupFieldErrorClientComponent, GroupFieldErrorServerComponent, GroupFieldLabelClientComponent, GroupFieldLabelServerComponent, GroupFieldServerComponent, GroupFieldServerProps, HiddenFieldProps, HierarchyConfig, HierarchyViewData, HookName, HookOperationType, IfAny, ImageSize, ImageUploadFormatOptions, ImageUploadTrimOptions, ImportMap, ImportMapGenerators, IncomingAuthType, Init, InitOptions, InitPageResult, InitReqResult, InitialTreeData, InsideFieldsPreferences, IsAny, JSONField, JSONFieldClient, JSONFieldClientComponent, JSONFieldClientProps, JSONFieldDescriptionClientComponent, JSONFieldDescriptionServerComponent, JSONFieldDiffClientComponent, JSONFieldDiffServerComponent, JSONFieldErrorClientComponent, JSONFieldErrorServerComponent, JSONFieldLabelClientComponent, JSONFieldLabelServerComponent, JSONFieldServerComponent, JSONFieldServerProps, JSONFieldValidation, Job, JobLog, JobTaskStatus, JobsConfig, JoinField, JoinFieldClient, JoinFieldClientComponent, JoinFieldClientProps, JoinFieldDescriptionClientComponent, JoinFieldDescriptionServerComponent, JoinFieldDiffClientComponent, JoinFieldDiffServerComponent, JoinFieldErrorClientComponent, JoinFieldErrorServerComponent, JoinFieldLabelClientComponent, JoinFieldLabelServerComponent, JoinFieldServerComponent, JoinFieldServerProps, JoinParams, JoinQuery, JsonArray, JsonObject, JsonValue, KVAdapter, KVAdapterResult, KVStoreValue, LabelFunction, Labels, LabelsClient, LanguageOptions, LinkAdapterProps, CollectionPreferences as ListPreferences, ListQuery, ListViewClientProps, ListViewServerProps, ListViewServerPropsOnly, ListViewSlotSharedClientProps, ListViewSlots, LivePreviewConfig, LivePreviewURLType, Locale, LocalizationConfig, LocalizationConfigWithLabels, LocalizationConfigWithNoLabels, LoginResult, LoginWithUsernameOptions, MappedClientComponent, MappedEmptyComponent, MappedServerComponent, MaybePromise, MeOperationResult, MetaConfig, Migration, MigrationData, MigrationTemplateArgs, NamedGroupField, NamedGroupFieldClient, NamedTab, NavGroupPreferences, NavPreferences, NoResultsClientProps, NoResultsServerProps, NoResultsServerPropsOnly, NonPresentationalField, NonPresentationalFieldClient, NumberField, NumberFieldClient, NumberFieldClientComponent, NumberFieldClientProps, NumberFieldDescriptionClientComponent, NumberFieldDescriptionServerComponent, NumberFieldDiffClientComponent, NumberFieldDiffServerComponent, NumberFieldErrorClientComponent, NumberFieldErrorServerComponent, NumberFieldLabelClientComponent, NumberFieldLabelServerComponent, NumberFieldManyValidation, NumberFieldServerComponent, NumberFieldServerProps, NumberFieldSingleValidation, NumberFieldValidation, OGImageConfig, Operation, Operator, Option, OptionLabel, OptionObject, OrderableEndpointBody, PaginatedDistinctDocs, PaginatedDocs, Params, ParsedParams, PasswordFieldValidation, PathToQuery, Payload, PayloadClientComponentProps, PayloadClientReactComponent, PayloadComponent, PayloadComponentProps, EmailAdapter as PayloadEmailAdapter, PayloadHandler, PayloadLogger, PayloadReactComponent, PayloadRequest, PayloadServerAction, PayloadServerComponentProps, PayloadServerReactComponent, PayloadTypes, PayloadTypesShape, Permission, Permissions, PickPreserveOptional, Plugin, PluginsMap, PointField, PointFieldClient, PointFieldClientComponent, PointFieldClientProps, PointFieldDescriptionClientComponent, PointFieldDescriptionServerComponent, PointFieldDiffClientComponent, PointFieldDiffServerComponent, PointFieldErrorClientComponent, PointFieldErrorServerComponent, PointFieldLabelClientComponent, PointFieldLabelServerComponent, PointFieldServerComponent, PointFieldServerProps, PointFieldValidation, PolymorphicRelationshipField, PolymorphicRelationshipFieldClient, PopulateType, PreferenceRequest, PreferenceUpdateRequest, PreviewButtonClientProps, PreviewButtonServerProps, PreviewButtonServerPropsOnly, ProbedImageSize, PublishButtonClientProps, PublishButtonServerProps, PublishButtonServerPropsOnly, QueryDrafts, QueryDraftsArgs, QueryPreset, RadioField, RadioFieldClient, RadioFieldClientComponent, RadioFieldClientProps, RadioFieldDescriptionClientComponent, RadioFieldDescriptionServerComponent, RadioFieldDiffClientComponent, RadioFieldDiffServerComponent, RadioFieldErrorClientComponent, RadioFieldErrorServerComponent, RadioFieldLabelClientComponent, RadioFieldLabelServerComponent, RadioFieldServerComponent, RadioFieldServerProps, RadioFieldValidation, RawParams, RawPayloadComponent, RegisteredPlugins, RelatedDocumentsGrouped, RelationshipField, RelationshipFieldClient, RelationshipFieldClientComponent, RelationshipFieldClientProps, RelationshipFieldDescriptionClientComponent, RelationshipFieldDescriptionServerComponent, RelationshipFieldDiffClientComponent, RelationshipFieldDiffServerComponent, RelationshipFieldErrorClientComponent, RelationshipFieldErrorServerComponent, RelationshipFieldLabelClientComponent, RelationshipFieldLabelServerComponent, RelationshipFieldManyValidation, RelationshipFieldServerComponent, RelationshipFieldServerProps, RelationshipFieldSingleValidation, RelationshipFieldValidation, RelationshipValue, RenderConfigArgs, RenderDocumentVersionsProperties, RenderEntityConfigArgs, RenderFieldConfigArgs, RenderRootConfigArgs, RenderedField, ReplaceAny, RequestContext, RequiredDataFromCollection, RequiredDataFromCollectionSlug, ResolvedComponent, ResolvedFilterOptions, RichTextAdapter, RichTextAdapterProvider, RichTextField, RichTextFieldClient, RichTextFieldClientComponent, RichTextFieldClientProps, RichTextFieldDescriptionClientComponent, RichTextFieldDescriptionServerComponent, RichTextFieldDiffClientComponent, RichTextFieldDiffServerComponent, RichTextFieldErrorClientComponent, RichTextFieldErrorServerComponent, RichTextFieldLabelClientComponent, RichTextFieldLabelServerComponent, RichTextFieldServerComponent, RichTextFieldServerProps, RichTextFieldValidation, RichTextHooks, RollbackTransaction, RootLivePreviewConfig, RouterAdapterComponent, RouterAdapterRouter, Row, RowField, RowFieldClient, RowFieldClientComponent, RowFieldClientProps, RowFieldDescriptionClientComponent, RowFieldDescriptionServerComponent, RowFieldDiffClientComponent, RowFieldDiffServerComponent, RowFieldErrorClientComponent, RowFieldErrorServerComponent, RowFieldLabelClientComponent, RowFieldLabelServerComponent, RowFieldServerComponent, RowFieldServerProps, RowLabel, RowLabelComponent, RunInlineTaskFunction, RunJobAccess, RunJobAccessArgs, RunTaskFunction, RunTaskFunctions, RunningJob, SanitizeFieldArgs, SanitizedBlockPermissions, SanitizedBlocksPermissions, SanitizedCollectionConfig, SanitizedCollectionPermission, SanitizedCompoundIndex, SanitizedConfig, SanitizedDashboardConfig, SanitizedDocumentPermissions, SanitizedFieldPermissions, SanitizedFieldsPermissions, SanitizedGlobalConfig, SanitizedGlobalPermission, SanitizedHierarchyConfig, SanitizedHierarchyRelatedCollection, SanitizedJoins, SanitizedLabelProps, SanitizedLocalizationConfig, SanitizedPermissions, SanitizedUploadConfig, SaveButtonClientProps, SaveButtonServerProps, SaveButtonServerPropsOnly, SaveDraftButtonClientProps, SaveDraftButtonServerProps, SaveDraftButtonServerPropsOnly, SchedulePublish, SchedulePublishTaskInput, SelectExcludeType, SelectField, SelectFieldClient, SelectFieldClientComponent, SelectFieldClientProps, SelectFieldDescriptionClientComponent, SelectFieldDescriptionServerComponent, SelectFieldDiffClientComponent, SelectFieldDiffServerComponent, SelectFieldErrorClientComponent, SelectFieldErrorServerComponent, SelectFieldLabelClientComponent, SelectFieldLabelServerComponent, SelectFieldManyValidation, SelectFieldServerComponent, SelectFieldServerProps, SelectFieldSingleValidation, SelectFieldValidation, SelectFn, SelectFnArgs, SelectFnOperation, SelectIncludeType, SelectMode, SelectType, SendEmailOptions, ServerAdapter, ServerComponentProps, ServerFieldBase, ServerFunction, ServerFunctionArgs, ServerFunctionClient, ServerFunctionClientArgs, ServerFunctionConfig, ServerFunctionHandler, ServerFunctionMode, ServerOnlyCollectionAdminProperties, ServerOnlyCollectionProperties, ServerOnlyFieldAdminProperties, ServerOnlyFieldProperties, ServerOnlyGlobalAdminProperties, ServerOnlyGlobalProperties, ServerOnlyLivePreviewProperties, ServerOnlyUploadProperties, ServerProps, ServerPropsFromView, DocumentViewServerProps as ServerSideEditViewProps, SharedAdminComponents, SharedEditViewComponents, SharedEntityViews, SharedProps, SharpDependency, SidebarTab, SidebarTabClientProps, SidebarTabServerProps, SidebarTabServerPropsOnly, SingleRelationshipField, SingleRelationshipFieldClient, SingleTaskStatus, SlugField, SlugFieldClientProps, SlugifyServerFunctionArgs, Sort, StaticDescription, StaticLabel, StorageAdapter, StringKeyOf, Tab, TabAsField, TabAsFieldClient, TabsField, TabsFieldClient, TabsFieldClientComponent, TabsFieldClientProps, TabsFieldDescriptionClientComponent, TabsFieldDescriptionServerComponent, TabsFieldDiffClientComponent, TabsFieldDiffServerComponent, TabsFieldErrorClientComponent, TabsFieldErrorServerComponent, TabsFieldLabelClientComponent, TabsFieldLabelServerComponent, TabsFieldServerComponent, TabsFieldServerProps, TabsPreferences, TagsConfig, TaskConfig, TaskHandler, TaskHandlerArgs, TaskHandlerResult, TaskHandlerResults, TaskInput, TaskOutput, TaskType, TextField, TextFieldClient, TextFieldClientComponent, TextFieldClientProps, TextFieldDescriptionClientComponent, TextFieldDescriptionServerComponent, TextFieldDiffClientComponent, TextFieldDiffServerComponent, TextFieldErrorClientComponent, TextFieldErrorServerComponent, TextFieldLabelClientComponent, TextFieldLabelServerComponent, TextFieldManyValidation, TextFieldServerComponent, TextFieldServerProps, TextFieldSingleValidation, TextFieldValidation, TextareaField, TextareaFieldClient, TextareaFieldClientComponent, TextareaFieldClientProps, TextareaFieldDescriptionClientComponent, TextareaFieldDescriptionServerComponent, TextareaFieldDiffClientComponent, TextareaFieldDiffServerComponent, TextareaFieldErrorClientComponent, TextareaFieldErrorServerComponent, TextareaFieldLabelClientComponent, TextareaFieldLabelServerComponent, TextareaFieldServerComponent, TextareaFieldServerProps, TextareaFieldValidation, TimePickerProps, Timezone, TimezonesConfig, Transaction, TransformCollectionWithSelect, TransformDataWithSelect, TransformGlobalWithSelect, TraverseFieldsCallback, TypeWithID, TypeWithTimestamps, TypeWithVersion, TypedAuthOperations, TypedBlock, TypedCollection, TypedCollectionJoins, TypedCollectionSelect, TypedFallbackLocale, TypedGlobal, TypedGlobalSelect, TypedJobs, TypedLocale, TypedUploadCollection, TypedUser, TypedWidget, UIField, UIFieldClient, UIFieldClientComponent, UIFieldClientProps, UIFieldDiffClientComponent, UIFieldDiffServerComponent, UIFieldServerComponent, UIFieldServerProps, UnauthenticatedClientConfig, UnnamedGroupField, UnnamedGroupFieldClient, UnnamedTab, UnpublishButtonClientProps, UnpublishButtonServerProps, UnpublishButtonServerPropsOnly, UntypedPayloadTypes, UntypedUser, UpdateGlobal, UpdateGlobalArgs, UpdateGlobalVersion, UpdateGlobalVersionArgs, UpdateJobs, UpdateJobsArgs, UpdateMany, UpdateManyArgs, UpdateOne, UpdateOneArgs, UpdateVersion, UpdateVersionArgs, UploadCollectionSlug, UploadConfig, UploadEdits, UploadField, UploadFieldClient, UploadFieldClientComponent, UploadFieldClientProps, UploadFieldDescriptionClientComponent, UploadFieldDescriptionServerComponent, UploadFieldDiffClientComponent, UploadFieldDiffServerComponent, UploadFieldErrorClientComponent, UploadFieldErrorServerComponent, UploadFieldLabelClientComponent, UploadFieldLabelServerComponent, UploadFieldManyValidation, UploadFieldServerComponent, UploadFieldServerProps, UploadFieldSingleValidation, UploadFieldValidation, Upsert, UpsertArgs, UntypedUser as User, UserSession, UsernameFieldValidation, Validate, ValidateOptions, ValidationFieldError, ValueWithRelation, VerifyConfig, VersionField, VersionOperations, VersionTab, ViewDescriptionClientProps, ViewDescriptionServerProps, ViewDescriptionServerPropsOnly, ViewTypes, VisibleEntities, Where, WhereField, Widget, WidgetInstance, WidgetServerProps, WidgetSlug, WidgetWidth, WithSelectFn, WithServerSidePropsComponent, WithServerSidePropsComponentProps, WorkflowConfig, WorkflowHandler, WorkflowTypes, checkFileRestrictionsParams };
|