payload 3.0.0-alpha.60 → 3.0.0-alpha.61
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 +3 -0
- package/dist/admin/RichText.d.ts.map +1 -1
- package/dist/admin/RichText.js.map +1 -1
- package/dist/admin/elements/Cell.js.map +1 -1
- package/dist/admin/elements/DatePicker.js.map +1 -1
- package/dist/admin/elements/PreviewButton.js.map +1 -1
- package/dist/admin/elements/PublishButton.js.map +1 -1
- package/dist/admin/elements/SaveButton.js.map +1 -1
- package/dist/admin/elements/SaveDraftButton.js.map +1 -1
- package/dist/admin/elements/Tab.js.map +1 -1
- package/dist/admin/forms/Error.js.map +1 -1
- package/dist/admin/forms/FieldDescription.d.ts +2 -1
- package/dist/admin/forms/FieldDescription.d.ts.map +1 -1
- package/dist/admin/forms/FieldDescription.js.map +1 -1
- package/dist/admin/forms/FieldTypes.js.map +1 -1
- package/dist/admin/forms/Form.js.map +1 -1
- package/dist/admin/forms/Label.d.ts +2 -1
- package/dist/admin/forms/Label.d.ts.map +1 -1
- package/dist/admin/forms/Label.js.map +1 -1
- package/dist/admin/forms/RowLabel.js.map +1 -1
- package/dist/admin/types.js.map +1 -1
- package/dist/admin/views/types.d.ts +2 -2
- package/dist/admin/views/types.d.ts.map +1 -1
- package/dist/admin/views/types.js.map +1 -1
- package/dist/assets/assets.d.js.map +1 -1
- package/dist/auth/baseFields/accountLock.js.map +1 -1
- package/dist/auth/baseFields/apiKey.d.ts.map +1 -1
- package/dist/auth/baseFields/apiKey.js +3 -7
- package/dist/auth/baseFields/apiKey.js.map +1 -1
- package/dist/auth/baseFields/auth.d.ts.map +1 -1
- package/dist/auth/baseFields/auth.js +1 -5
- package/dist/auth/baseFields/auth.js.map +1 -1
- package/dist/auth/baseFields/verification.d.ts.map +1 -1
- package/dist/auth/baseFields/verification.js +1 -5
- package/dist/auth/baseFields/verification.js.map +1 -1
- package/dist/auth/cookies.js.map +1 -1
- package/dist/auth/crypto.js.map +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 -7
- package/dist/auth/defaultUser.js.map +1 -1
- package/dist/auth/executeAccess.js.map +1 -1
- package/dist/auth/executeAuthStrategies.js.map +1 -1
- package/dist/auth/extractJWT.js.map +1 -1
- package/dist/auth/getAccessResults.js.map +1 -1
- package/dist/auth/getFieldsToSign.js.map +1 -1
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/isLocked.js.map +1 -1
- package/dist/auth/operations/access.js.map +1 -1
- package/dist/auth/operations/auth.js.map +1 -1
- package/dist/auth/operations/forgotPassword.js.map +1 -1
- package/dist/auth/operations/init.js.map +1 -1
- package/dist/auth/operations/local/auth.js +1 -1
- package/dist/auth/operations/local/auth.js.map +1 -1
- package/dist/auth/operations/local/forgotPassword.js.map +1 -1
- package/dist/auth/operations/local/index.js.map +1 -1
- package/dist/auth/operations/local/login.js.map +1 -1
- package/dist/auth/operations/local/resetPassword.js.map +1 -1
- package/dist/auth/operations/local/unlock.js.map +1 -1
- package/dist/auth/operations/local/verifyEmail.js.map +1 -1
- package/dist/auth/operations/login.js.map +1 -1
- package/dist/auth/operations/logout.js.map +1 -1
- package/dist/auth/operations/me.js.map +1 -1
- package/dist/auth/operations/refresh.js.map +1 -1
- package/dist/auth/operations/registerFirstUser.js.map +1 -1
- package/dist/auth/operations/resetPassword.js.map +1 -1
- package/dist/auth/operations/unlock.js.map +1 -1
- package/dist/auth/operations/verifyEmail.js.map +1 -1
- package/dist/auth/sendVerificationEmail.js.map +1 -1
- package/dist/auth/strategies/apiKey.js.map +1 -1
- package/dist/auth/strategies/jwt.js.map +1 -1
- package/dist/auth/strategies/local/authenticate.js.map +1 -1
- package/dist/auth/strategies/local/generatePasswordSaltHash.js.map +1 -1
- package/dist/auth/strategies/local/incrementLoginAttempts.js.map +1 -1
- package/dist/auth/strategies/local/register.js.map +1 -1
- package/dist/auth/strategies/local/resetLoginAttempts.js.map +1 -1
- package/dist/auth/types.js.map +1 -1
- package/dist/bin/generateTypes.js.map +1 -1
- package/dist/bin/index.js.map +1 -1
- package/dist/bin/loadEnv.js.map +1 -1
- package/dist/bin/loader/clientExtensions.js.map +1 -1
- package/dist/bin/loader/compile.js.map +1 -1
- package/dist/bin/loader/index.d.ts.map +1 -1
- package/dist/bin/loader/index.js +0 -1
- package/dist/bin/loader/index.js.map +1 -1
- package/dist/bin/loader/read-default-tsconfig.js.map +1 -1
- package/dist/bin/migrate.js.map +1 -1
- package/dist/collections/config/build.js.map +1 -1
- package/dist/collections/config/client.d.ts +11 -4
- package/dist/collections/config/client.d.ts.map +1 -1
- package/dist/collections/config/client.js +18 -3
- package/dist/collections/config/client.js.map +1 -1
- package/dist/collections/config/defaults.js.map +1 -1
- package/dist/collections/config/sanitize.d.ts.map +1 -1
- package/dist/collections/config/sanitize.js +2 -7
- package/dist/collections/config/sanitize.js.map +1 -1
- package/dist/collections/config/schema.js +2 -2
- package/dist/collections/config/schema.js.map +1 -1
- package/dist/collections/config/types.d.ts +3 -3
- package/dist/collections/config/types.d.ts.map +1 -1
- package/dist/collections/config/types.js.map +1 -1
- package/dist/collections/dataloader.js.map +1 -1
- package/dist/collections/operations/create.js.map +1 -1
- package/dist/collections/operations/delete.js.map +1 -1
- package/dist/collections/operations/deleteByID.js.map +1 -1
- package/dist/collections/operations/docAccess.js.map +1 -1
- package/dist/collections/operations/duplicate.js.map +1 -1
- package/dist/collections/operations/find.js.map +1 -1
- package/dist/collections/operations/findByID.js.map +1 -1
- package/dist/collections/operations/findVersionByID.js.map +1 -1
- package/dist/collections/operations/findVersions.js.map +1 -1
- package/dist/collections/operations/local/create.d.ts.map +1 -1
- package/dist/collections/operations/local/create.js +2 -1
- package/dist/collections/operations/local/create.js.map +1 -1
- package/dist/collections/operations/local/delete.js.map +1 -1
- package/dist/collections/operations/local/duplicate.js +1 -1
- package/dist/collections/operations/local/duplicate.js.map +1 -1
- package/dist/collections/operations/local/find.js.map +1 -1
- package/dist/collections/operations/local/findByID.js.map +1 -1
- package/dist/collections/operations/local/findVersionByID.js.map +1 -1
- package/dist/collections/operations/local/findVersions.js.map +1 -1
- package/dist/collections/operations/local/index.js.map +1 -1
- package/dist/collections/operations/local/restoreVersion.js.map +1 -1
- package/dist/collections/operations/local/update.js.map +1 -1
- package/dist/collections/operations/restoreVersion.js.map +1 -1
- package/dist/collections/operations/update.js.map +1 -1
- package/dist/collections/operations/updateByID.js.map +1 -1
- package/dist/collections/operations/utils.js.map +1 -1
- package/dist/config/build.js.map +1 -1
- package/dist/config/client.d.ts +5 -1
- package/dist/config/client.d.ts.map +1 -1
- package/dist/config/client.js +9 -4
- package/dist/config/client.js.map +1 -1
- package/dist/config/defaults.js.map +1 -1
- package/dist/config/find.js.map +1 -1
- package/dist/config/sanitize.d.ts.map +1 -1
- package/dist/config/sanitize.js +5 -3
- package/dist/config/sanitize.js.map +1 -1
- package/dist/config/schema.js.map +1 -1
- package/dist/config/shared/adminViewSchema.js.map +1 -1
- package/dist/config/shared/componentSchema.js.map +1 -1
- package/dist/config/types.d.ts +6 -2
- package/dist/config/types.d.ts.map +1 -1
- package/dist/config/types.js.map +1 -1
- package/dist/config/validate.js.map +1 -1
- package/dist/database/combineQueries.js.map +1 -1
- package/dist/database/createDatabaseAdapter.js.map +1 -1
- package/dist/database/flattenWhereToOperators.js.map +1 -1
- package/dist/database/getLocalizedPaths.js.map +1 -1
- package/dist/database/migrations/createMigration.js.map +1 -1
- package/dist/database/migrations/getMigrations.js.map +1 -1
- package/dist/database/migrations/migrate.js.map +1 -1
- package/dist/database/migrations/migrateDown.js.map +1 -1
- package/dist/database/migrations/migrateRefresh.js.map +1 -1
- package/dist/database/migrations/migrateReset.js.map +1 -1
- package/dist/database/migrations/migrateStatus.js.map +1 -1
- package/dist/database/migrations/migrationTemplate.js.map +1 -1
- package/dist/database/migrations/migrationsCollection.js.map +1 -1
- package/dist/database/migrations/readMigrationFiles.js.map +1 -1
- package/dist/database/queryValidation/types.js.map +1 -1
- package/dist/database/queryValidation/validateQueryPaths.js.map +1 -1
- package/dist/database/queryValidation/validateSearchParams.js.map +1 -1
- package/dist/database/types.js.map +1 -1
- package/dist/email/build.js.map +1 -1
- package/dist/email/defaults.js.map +1 -1
- package/dist/email/mockHandler.js.map +1 -1
- package/dist/email/sendEmail.js.map +1 -1
- package/dist/email/types.js.map +1 -1
- package/dist/errors/APIError.js.map +1 -1
- package/dist/errors/AuthenticationError.js +2 -2
- package/dist/errors/AuthenticationError.js.map +1 -1
- package/dist/errors/DuplicateCollection.js.map +1 -1
- package/dist/errors/DuplicateFieldName.js.map +1 -1
- package/dist/errors/DuplicateGlobal.js.map +1 -1
- package/dist/errors/ErrorDeletingFile.js +2 -2
- package/dist/errors/ErrorDeletingFile.js.map +1 -1
- package/dist/errors/FileUploadError.js +2 -2
- package/dist/errors/FileUploadError.js.map +1 -1
- package/dist/errors/Forbidden.js +2 -2
- package/dist/errors/Forbidden.js.map +1 -1
- package/dist/errors/InvalidConfiguration.js.map +1 -1
- package/dist/errors/InvalidFieldName.js.map +1 -1
- package/dist/errors/InvalidFieldRelationship.js.map +1 -1
- package/dist/errors/InvalidSchema.js.map +1 -1
- package/dist/errors/LockedAuth.js +2 -2
- package/dist/errors/LockedAuth.js.map +1 -1
- package/dist/errors/MissingCollectionLabel.js.map +1 -1
- package/dist/errors/MissingEditorProp.js.map +1 -1
- package/dist/errors/MissingFieldInputOptions.js.map +1 -1
- package/dist/errors/MissingFieldType.js.map +1 -1
- package/dist/errors/MissingFile.js +2 -2
- package/dist/errors/MissingFile.js.map +1 -1
- package/dist/errors/NotFound.js +2 -2
- package/dist/errors/NotFound.js.map +1 -1
- package/dist/errors/QueryError.js.map +1 -1
- package/dist/errors/TimestampsRequired.js.map +1 -1
- package/dist/errors/UnathorizedError.js +2 -2
- package/dist/errors/UnathorizedError.js.map +1 -1
- package/dist/errors/ValidationError.js +2 -2
- package/dist/errors/ValidationError.js.map +1 -1
- package/dist/errors/index.js.map +1 -1
- package/dist/errors/types.js.map +1 -1
- package/dist/exports/auth.js.map +1 -1
- package/dist/exports/components/utilities.js.map +1 -1
- package/dist/exports/config.js.map +1 -1
- package/dist/exports/database.js.map +1 -1
- package/dist/exports/errors.js.map +1 -1
- package/dist/exports/fields/index.js.map +1 -1
- package/dist/exports/fields/validations.js.map +1 -1
- package/dist/exports/node.d.ts +1 -0
- package/dist/exports/node.d.ts.map +1 -1
- package/dist/exports/node.js +1 -0
- package/dist/exports/node.js.map +1 -1
- package/dist/exports/operations.js.map +1 -1
- package/dist/exports/types.js.map +1 -1
- package/dist/exports/uploads.js.map +1 -1
- package/dist/exports/utilities.d.ts +0 -1
- package/dist/exports/utilities.d.ts.map +1 -1
- package/dist/exports/utilities.js +0 -1
- package/dist/exports/utilities.js.map +1 -1
- package/dist/exports/versions.js.map +1 -1
- package/dist/fields/baseFields/baseBlockFields.js.map +1 -1
- package/dist/fields/baseFields/baseIDField.js.map +1 -1
- package/dist/fields/config/client.d.ts +32 -25
- package/dist/fields/config/client.d.ts.map +1 -1
- package/dist/fields/config/client.js +31 -6
- package/dist/fields/config/client.js.map +1 -1
- package/dist/fields/config/sanitize.js.map +1 -1
- package/dist/fields/config/sanitize.spec.js.map +1 -1
- package/dist/fields/config/schema.d.ts.map +1 -1
- package/dist/fields/config/schema.js +3 -3
- package/dist/fields/config/schema.js.map +1 -1
- package/dist/fields/config/types.d.ts +6 -5
- package/dist/fields/config/types.d.ts.map +1 -1
- package/dist/fields/config/types.js.map +1 -1
- package/dist/fields/getDefaultValue.js.map +1 -1
- package/dist/fields/hooks/afterChange/index.js.map +1 -1
- package/dist/fields/hooks/afterChange/promise.js.map +1 -1
- package/dist/fields/hooks/afterChange/traverseFields.js.map +1 -1
- package/dist/fields/hooks/afterRead/index.js.map +1 -1
- package/dist/fields/hooks/afterRead/promise.js.map +1 -1
- package/dist/fields/hooks/afterRead/relationshipPopulationPromise.js.map +1 -1
- package/dist/fields/hooks/afterRead/traverseFields.js.map +1 -1
- package/dist/fields/hooks/beforeChange/beforeDuplicate.js.map +1 -1
- package/dist/fields/hooks/beforeChange/cloneDataFromOriginalDoc.js.map +1 -1
- package/dist/fields/hooks/beforeChange/getExistingRowDoc.js.map +1 -1
- package/dist/fields/hooks/beforeChange/index.js.map +1 -1
- package/dist/fields/hooks/beforeChange/promise.js.map +1 -1
- package/dist/fields/hooks/beforeChange/traverseFields.js.map +1 -1
- package/dist/fields/hooks/beforeValidate/index.js.map +1 -1
- package/dist/fields/hooks/beforeValidate/promise.js.map +1 -1
- package/dist/fields/hooks/beforeValidate/traverseFields.js.map +1 -1
- package/dist/fields/mergeBaseFields.js.map +1 -1
- package/dist/fields/setDefaultBeforeDuplicate.d.ts.map +1 -1
- package/dist/fields/setDefaultBeforeDuplicate.js +2 -6
- package/dist/fields/setDefaultBeforeDuplicate.js.map +1 -1
- package/dist/fields/sortableFieldTypes.js.map +1 -1
- package/dist/fields/validations.js.map +1 -1
- package/dist/fields/validations.spec.js.map +1 -1
- package/dist/globals/config/client.d.ts +9 -2
- package/dist/globals/config/client.d.ts.map +1 -1
- package/dist/globals/config/client.js +9 -3
- package/dist/globals/config/client.js.map +1 -1
- package/dist/globals/config/sanitize.d.ts.map +1 -1
- package/dist/globals/config/sanitize.js +2 -7
- package/dist/globals/config/sanitize.js.map +1 -1
- package/dist/globals/config/schema.d.ts.map +1 -1
- package/dist/globals/config/schema.js +1 -1
- package/dist/globals/config/schema.js.map +1 -1
- package/dist/globals/config/types.js.map +1 -1
- package/dist/globals/operations/docAccess.js.map +1 -1
- package/dist/globals/operations/findOne.js.map +1 -1
- package/dist/globals/operations/findVersionByID.js.map +1 -1
- package/dist/globals/operations/findVersions.js.map +1 -1
- package/dist/globals/operations/local/findOne.js.map +1 -1
- package/dist/globals/operations/local/findVersionByID.d.ts.map +1 -1
- package/dist/globals/operations/local/findVersionByID.js +1 -0
- package/dist/globals/operations/local/findVersionByID.js.map +1 -1
- package/dist/globals/operations/local/findVersions.js.map +1 -1
- package/dist/globals/operations/local/index.js.map +1 -1
- package/dist/globals/operations/local/restoreVersion.js.map +1 -1
- package/dist/globals/operations/local/update.js.map +1 -1
- package/dist/globals/operations/restoreVersion.js.map +1 -1
- package/dist/globals/operations/update.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/preferences/deleteUserPreferences.js.map +1 -1
- package/dist/preferences/operations/delete.js.map +1 -1
- package/dist/preferences/operations/findOne.js.map +1 -1
- package/dist/preferences/operations/update.js.map +1 -1
- package/dist/preferences/preferencesCollection.js.map +1 -1
- package/dist/preferences/requestHandlers/delete.js.map +1 -1
- package/dist/preferences/requestHandlers/findOne.js.map +1 -1
- package/dist/preferences/requestHandlers/update.js.map +1 -1
- package/dist/preferences/types.js.map +1 -1
- package/dist/translations/getLocalI18n.d.ts +3 -2
- package/dist/translations/getLocalI18n.d.ts.map +1 -1
- package/dist/translations/getLocalI18n.js +2 -4
- package/dist/translations/getLocalI18n.js.map +1 -1
- package/dist/types/constants.js.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/uploads/canResizeImage.js.map +1 -1
- package/dist/uploads/cropImage.js.map +1 -1
- package/dist/uploads/deleteAssociatedFiles.js.map +1 -1
- package/dist/uploads/docWithFilenameExists.js.map +1 -1
- package/dist/uploads/fileExists.js.map +1 -1
- package/dist/uploads/formatFilesize.js.map +1 -1
- package/dist/uploads/generateFileData.js.map +1 -1
- package/dist/uploads/getBaseFields.d.ts.map +1 -1
- package/dist/uploads/getBaseFields.js +5 -13
- package/dist/uploads/getBaseFields.js.map +1 -1
- package/dist/uploads/getExternalFile.js.map +1 -1
- package/dist/uploads/getFileByPath.js.map +1 -1
- package/dist/uploads/getImageSize.js.map +1 -1
- package/dist/uploads/getSafeFilename.js.map +1 -1
- package/dist/uploads/imageResizer.js.map +1 -1
- package/dist/uploads/isImage.js.map +1 -1
- package/dist/uploads/mimeTypeValidator.js.map +1 -1
- package/dist/uploads/mimeTypeValidator.spec.js.map +1 -1
- package/dist/uploads/saveBufferToFile.js.map +1 -1
- package/dist/uploads/types.js.map +1 -1
- package/dist/uploads/unlinkTempFiles.js.map +1 -1
- package/dist/uploads/uploadFiles.js.map +1 -1
- package/dist/utilities/checkDuplicateCollections.js.map +1 -1
- package/dist/utilities/combineMerge.js.map +1 -1
- package/dist/utilities/commitTransaction.js.map +1 -1
- package/dist/utilities/configToJSONSchema.js.map +1 -1
- package/dist/utilities/configToJSONSchema.spec.js.map +1 -1
- package/dist/utilities/convertData.js.map +1 -1
- package/dist/utilities/createArrayFromCommaDelineated.js.map +1 -1
- package/dist/utilities/createLocalReq.d.ts +1 -1
- package/dist/utilities/createLocalReq.d.ts.map +1 -1
- package/dist/utilities/createLocalReq.js +2 -2
- package/dist/utilities/createLocalReq.js.map +1 -1
- package/dist/utilities/deepCopyObject.js.map +1 -1
- package/dist/utilities/deepMerge.js.map +1 -1
- package/dist/utilities/fieldSchemaToJSON.js.map +1 -1
- package/dist/utilities/flattenTopLevelFields.js.map +1 -1
- package/dist/utilities/formatLabels.js.map +1 -1
- package/dist/utilities/formatLabels.spec.js.map +1 -1
- package/dist/utilities/getCSSVariable.js.map +1 -1
- package/dist/utilities/getCollectionIDFieldTypes.js.map +1 -1
- package/dist/utilities/getEntityPolicies.js.map +1 -1
- package/dist/utilities/getIDType.js.map +1 -1
- package/dist/utilities/getObjectDotNotation.js.map +1 -1
- package/dist/utilities/getUniqueListBy.js.map +1 -1
- package/dist/utilities/importWithoutClientFiles.js.map +1 -1
- package/dist/utilities/initTransaction.js.map +1 -1
- package/dist/utilities/isEntityHidden.js.map +1 -1
- package/dist/utilities/isNumber.js.map +1 -1
- package/dist/utilities/isPlainObject.js.map +1 -1
- package/dist/utilities/isReactComponent.js.map +1 -1
- package/dist/utilities/isValidID.js.map +1 -1
- package/dist/utilities/isolateObjectProperty.js.map +1 -1
- package/dist/utilities/killTransaction.js.map +1 -1
- package/dist/utilities/logger.js.map +1 -1
- package/dist/utilities/mapAsync.js.map +1 -1
- package/dist/utilities/mergeListSearchAndWhere.js.map +1 -1
- package/dist/utilities/overwriteMerge.js.map +1 -1
- package/dist/utilities/parseCookies.js.map +1 -1
- package/dist/utilities/sanitizeInternalFields.js.map +1 -1
- package/dist/utilities/setsAreEqual.js.map +1 -1
- package/dist/utilities/telemetry/events/adminInit.js.map +1 -1
- package/dist/utilities/telemetry/events/serverInit.js.map +1 -1
- package/dist/utilities/telemetry/index.js.map +1 -1
- package/dist/utilities/telemetry/oneWayHash.js.map +1 -1
- package/dist/utilities/timestamp.js.map +1 -1
- package/dist/utilities/toKebabCase.js.map +1 -1
- package/dist/utilities/wait.js.map +1 -1
- package/dist/utilities/wordBoundariesRegex.js.map +1 -1
- package/dist/versions/baseFields.d.ts +3 -1
- package/dist/versions/baseFields.d.ts.map +1 -1
- package/dist/versions/baseFields.js +3 -9
- package/dist/versions/baseFields.js.map +1 -1
- package/dist/versions/buildCollectionFields.js.map +1 -1
- package/dist/versions/buildGlobalFields.js.map +1 -1
- package/dist/versions/deleteCollectionVersions.js.map +1 -1
- package/dist/versions/drafts/appendVersionToQueryKey.js.map +1 -1
- package/dist/versions/drafts/getQueryDraftsSort.js.map +1 -1
- package/dist/versions/drafts/replaceWithDraftIfAvailable.js.map +1 -1
- package/dist/versions/enforceMaxVersions.js.map +1 -1
- package/dist/versions/getLatestCollectionVersion.js.map +1 -1
- package/dist/versions/getLatestGlobalVersion.js.map +1 -1
- package/dist/versions/saveVersion.js.map +1 -1
- package/dist/versions/types.js.map +1 -1
- package/node.d.ts +1 -0
- package/node.js +1 -0
- package/package.json +2 -2
- package/utilities.d.ts +0 -1
- package/utilities.js +0 -1
- package/dist/translations/extractTranslations.d.ts +0 -2
- package/dist/translations/extractTranslations.d.ts.map +0 -1
- package/dist/translations/extractTranslations.js +0 -20
- package/dist/translations/extractTranslations.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { en } from '@payloadcms/translations/languages/en';
|
|
2
2
|
import httpStatus from 'http-status';
|
|
3
3
|
import APIError from './APIError.js';
|
|
4
4
|
class UnauthorizedError extends APIError {
|
|
5
5
|
constructor(t){
|
|
6
|
-
super(t ? t('error:unauthorized') : translations.
|
|
6
|
+
super(t ? t('error:unauthorized') : en.translations.error.unauthorized, httpStatus.UNAUTHORIZED);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
export default UnauthorizedError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/errors/UnathorizedError.ts"],"sourcesContent":["import type { TFunction } from '@payloadcms/translations'\n\nimport {
|
|
1
|
+
{"version":3,"sources":["../../src/errors/UnathorizedError.ts"],"sourcesContent":["import type { TFunction } from '@payloadcms/translations'\n\nimport { en } from '@payloadcms/translations/languages/en'\nimport httpStatus from 'http-status'\n\nimport APIError from './APIError.js'\n\nclass UnauthorizedError extends APIError {\n constructor(t?: TFunction) {\n super(t ? t('error:unauthorized') : en.translations.error.unauthorized, httpStatus.UNAUTHORIZED)\n }\n}\n\nexport default UnauthorizedError\n"],"names":["en","httpStatus","APIError","UnauthorizedError","constructor","t","translations","error","unauthorized","UNAUTHORIZED"],"rangeMappings":";;;;;;;;","mappings":"AAEA,SAASA,EAAE,QAAQ,wCAAuC;AAC1D,OAAOC,gBAAgB,cAAa;AAEpC,OAAOC,cAAc,gBAAe;AAEpC,MAAMC,0BAA0BD;IAC9BE,YAAYC,CAAa,CAAE;QACzB,KAAK,CAACA,IAAIA,EAAE,wBAAwBL,GAAGM,YAAY,CAACC,KAAK,CAACC,YAAY,EAAEP,WAAWQ,YAAY;IACjG;AACF;AAEA,eAAeN,kBAAiB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { en } from '@payloadcms/translations/languages/en';
|
|
2
2
|
import httpStatus from 'http-status';
|
|
3
3
|
import APIError from './APIError.js';
|
|
4
4
|
class ValidationError extends APIError {
|
|
5
5
|
constructor(results, t){
|
|
6
6
|
const message = t ? t('error:followingFieldsInvalid', {
|
|
7
7
|
count: results.length
|
|
8
|
-
}) : results.length === 1 ? translations.
|
|
8
|
+
}) : results.length === 1 ? en.translations.error.followingFieldsInvalid_one : en.translations.error.followingFieldsInvalid_other;
|
|
9
9
|
super(`${message} ${results.map((f)=>f.field).join(', ')}`, httpStatus.BAD_REQUEST, results);
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/errors/ValidationError.ts"],"sourcesContent":["import type { TFunction } from '@payloadcms/translations'\n\nimport {
|
|
1
|
+
{"version":3,"sources":["../../src/errors/ValidationError.ts"],"sourcesContent":["import type { TFunction } from '@payloadcms/translations'\n\nimport { en } from '@payloadcms/translations/languages/en'\nimport httpStatus from 'http-status'\n\nimport APIError from './APIError.js'\n\nclass ValidationError extends APIError<{ field: string; message: string }[]> {\n constructor(results: { field: string; message: string }[], t?: TFunction) {\n const message = t\n ? t('error:followingFieldsInvalid', { count: results.length })\n : results.length === 1\n ? en.translations.error.followingFieldsInvalid_one\n : en.translations.error.followingFieldsInvalid_other\n\n super(`${message} ${results.map((f) => f.field).join(', ')}`, httpStatus.BAD_REQUEST, results)\n }\n}\n\nexport default ValidationError\n"],"names":["en","httpStatus","APIError","ValidationError","constructor","results","t","message","count","length","translations","error","followingFieldsInvalid_one","followingFieldsInvalid_other","map","f","field","join","BAD_REQUEST"],"rangeMappings":";;;;;;;;;;;","mappings":"AAEA,SAASA,EAAE,QAAQ,wCAAuC;AAC1D,OAAOC,gBAAgB,cAAa;AAEpC,OAAOC,cAAc,gBAAe;AAEpC,MAAMC,wBAAwBD;IAC5BE,YAAYC,OAA6C,EAAEC,CAAa,CAAE;QACxE,MAAMC,UAAUD,IACZA,EAAE,gCAAgC;YAAEE,OAAOH,QAAQI,MAAM;QAAC,KAC1DJ,QAAQI,MAAM,KAAK,IACjBT,GAAGU,YAAY,CAACC,KAAK,CAACC,0BAA0B,GAChDZ,GAAGU,YAAY,CAACC,KAAK,CAACE,4BAA4B;QAExD,KAAK,CAAC,CAAC,EAAEN,QAAQ,CAAC,EAAEF,QAAQS,GAAG,CAAC,CAACC,IAAMA,EAAEC,KAAK,EAAEC,IAAI,CAAC,MAAM,CAAC,EAAEhB,WAAWiB,WAAW,EAAEb;IACxF;AACF;AAEA,eAAeF,gBAAe"}
|
package/dist/errors/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/errors/index.ts"],"sourcesContent":["export { default as APIError } from './APIError.js'\nexport { default as AuthenticationError } from './AuthenticationError.js'\nexport { default as DuplicateCollection } from './DuplicateCollection.js'\nexport { default as DuplicateFieldName } from './DuplicateFieldName.js'\nexport { default as DuplicateGlobal } from './DuplicateGlobal.js'\nexport { default as ErrorDeletingFile } from './ErrorDeletingFile.js'\nexport { default as FileUploadError } from './FileUploadError.js'\nexport { default as Forbidden } from './Forbidden.js'\nexport { default as InvalidConfiguration } from './InvalidConfiguration.js'\nexport { default as InvalidFieldName } from './InvalidFieldName.js'\nexport { default as InvalidFieldRelationship } from './InvalidFieldRelationship.js'\nexport { default as LockedAuth } from './LockedAuth.js'\nexport { default as MissingCollectionLabel } from './MissingCollectionLabel.js'\nexport { default as MissingFieldInputOptions } from './MissingFieldInputOptions.js'\nexport { default as MissingFieldType } from './MissingFieldType.js'\nexport { default as MissingFile } from './MissingFile.js'\nexport { default as NotFound } from './NotFound.js'\nexport { default as QueryError } from './QueryError.js'\nexport { default as ValidationError } from './ValidationError.js'\n"],"names":["default","APIError","AuthenticationError","DuplicateCollection","DuplicateFieldName","DuplicateGlobal","ErrorDeletingFile","FileUploadError","Forbidden","InvalidConfiguration","InvalidFieldName","InvalidFieldRelationship","LockedAuth","MissingCollectionLabel","MissingFieldInputOptions","MissingFieldType","MissingFile","NotFound","QueryError","ValidationError"],"mappings":"AAAA,SAASA,WAAWC,QAAQ,QAAQ,gBAAe;AACnD,SAASD,WAAWE,mBAAmB,QAAQ,2BAA0B;AACzE,SAASF,WAAWG,mBAAmB,QAAQ,2BAA0B;AACzE,SAASH,WAAWI,kBAAkB,QAAQ,0BAAyB;AACvE,SAASJ,WAAWK,eAAe,QAAQ,uBAAsB;AACjE,SAASL,WAAWM,iBAAiB,QAAQ,yBAAwB;AACrE,SAASN,WAAWO,eAAe,QAAQ,uBAAsB;AACjE,SAASP,WAAWQ,SAAS,QAAQ,iBAAgB;AACrD,SAASR,WAAWS,oBAAoB,QAAQ,4BAA2B;AAC3E,SAAST,WAAWU,gBAAgB,QAAQ,wBAAuB;AACnE,SAASV,WAAWW,wBAAwB,QAAQ,gCAA+B;AACnF,SAASX,WAAWY,UAAU,QAAQ,kBAAiB;AACvD,SAASZ,WAAWa,sBAAsB,QAAQ,8BAA6B;AAC/E,SAASb,WAAWc,wBAAwB,QAAQ,gCAA+B;AACnF,SAASd,WAAWe,gBAAgB,QAAQ,wBAAuB;AACnE,SAASf,WAAWgB,WAAW,QAAQ,mBAAkB;AACzD,SAAShB,WAAWiB,QAAQ,QAAQ,gBAAe;AACnD,SAASjB,WAAWkB,UAAU,QAAQ,kBAAiB;AACvD,SAASlB,WAAWmB,eAAe,QAAQ,uBAAsB"}
|
|
1
|
+
{"version":3,"sources":["../../src/errors/index.ts"],"sourcesContent":["export { default as APIError } from './APIError.js'\nexport { default as AuthenticationError } from './AuthenticationError.js'\nexport { default as DuplicateCollection } from './DuplicateCollection.js'\nexport { default as DuplicateFieldName } from './DuplicateFieldName.js'\nexport { default as DuplicateGlobal } from './DuplicateGlobal.js'\nexport { default as ErrorDeletingFile } from './ErrorDeletingFile.js'\nexport { default as FileUploadError } from './FileUploadError.js'\nexport { default as Forbidden } from './Forbidden.js'\nexport { default as InvalidConfiguration } from './InvalidConfiguration.js'\nexport { default as InvalidFieldName } from './InvalidFieldName.js'\nexport { default as InvalidFieldRelationship } from './InvalidFieldRelationship.js'\nexport { default as LockedAuth } from './LockedAuth.js'\nexport { default as MissingCollectionLabel } from './MissingCollectionLabel.js'\nexport { default as MissingFieldInputOptions } from './MissingFieldInputOptions.js'\nexport { default as MissingFieldType } from './MissingFieldType.js'\nexport { default as MissingFile } from './MissingFile.js'\nexport { default as NotFound } from './NotFound.js'\nexport { default as QueryError } from './QueryError.js'\nexport { default as ValidationError } from './ValidationError.js'\n"],"names":["default","APIError","AuthenticationError","DuplicateCollection","DuplicateFieldName","DuplicateGlobal","ErrorDeletingFile","FileUploadError","Forbidden","InvalidConfiguration","InvalidFieldName","InvalidFieldRelationship","LockedAuth","MissingCollectionLabel","MissingFieldInputOptions","MissingFieldType","MissingFile","NotFound","QueryError","ValidationError"],"rangeMappings":";;;;;;;;;;;;;;;;;;","mappings":"AAAA,SAASA,WAAWC,QAAQ,QAAQ,gBAAe;AACnD,SAASD,WAAWE,mBAAmB,QAAQ,2BAA0B;AACzE,SAASF,WAAWG,mBAAmB,QAAQ,2BAA0B;AACzE,SAASH,WAAWI,kBAAkB,QAAQ,0BAAyB;AACvE,SAASJ,WAAWK,eAAe,QAAQ,uBAAsB;AACjE,SAASL,WAAWM,iBAAiB,QAAQ,yBAAwB;AACrE,SAASN,WAAWO,eAAe,QAAQ,uBAAsB;AACjE,SAASP,WAAWQ,SAAS,QAAQ,iBAAgB;AACrD,SAASR,WAAWS,oBAAoB,QAAQ,4BAA2B;AAC3E,SAAST,WAAWU,gBAAgB,QAAQ,wBAAuB;AACnE,SAASV,WAAWW,wBAAwB,QAAQ,gCAA+B;AACnF,SAASX,WAAWY,UAAU,QAAQ,kBAAiB;AACvD,SAASZ,WAAWa,sBAAsB,QAAQ,8BAA6B;AAC/E,SAASb,WAAWc,wBAAwB,QAAQ,gCAA+B;AACnF,SAASd,WAAWe,gBAAgB,QAAQ,wBAAuB;AACnE,SAASf,WAAWgB,WAAW,QAAQ,mBAAkB;AACzD,SAAShB,WAAWiB,QAAQ,QAAQ,gBAAe;AACnD,SAASjB,WAAWkB,UAAU,QAAQ,kBAAiB;AACvD,SAASlB,WAAWmB,eAAe,QAAQ,uBAAsB"}
|
package/dist/errors/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/errors/types.ts"],"sourcesContent":["export * from './index.js'\n"],"names":[],"mappings":"AAAA,cAAc,aAAY"}
|
|
1
|
+
{"version":3,"sources":["../../src/errors/types.ts"],"sourcesContent":["export * from './index.js'\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,aAAY"}
|
package/dist/exports/auth.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/exports/auth.ts"],"sourcesContent":["export * from '../auth/index.js'\nexport { default as executeAccess } from '../auth/executeAccess.js'\nexport { executeAuthStrategies } from '../auth/executeAuthStrategies.js'\nexport { getAccessResults } from '../auth/getAccessResults.js'\n\nexport type {\n AuthStrategyFunction,\n AuthStrategyFunctionArgs,\n CollectionPermission,\n FieldPermissions,\n GlobalPermission,\n IncomingAuthType,\n Permission,\n Permissions,\n User,\n VerifyConfig,\n} from '../auth/types.js'\n"],"names":["default","executeAccess","executeAuthStrategies","getAccessResults"],"mappings":"AAAA,cAAc,mBAAkB;AAChC,SAASA,WAAWC,aAAa,QAAQ,2BAA0B;AACnE,SAASC,qBAAqB,QAAQ,mCAAkC;AACxE,SAASC,gBAAgB,QAAQ,8BAA6B"}
|
|
1
|
+
{"version":3,"sources":["../../src/exports/auth.ts"],"sourcesContent":["export * from '../auth/index.js'\nexport { default as executeAccess } from '../auth/executeAccess.js'\nexport { executeAuthStrategies } from '../auth/executeAuthStrategies.js'\nexport { getAccessResults } from '../auth/getAccessResults.js'\n\nexport type {\n AuthStrategyFunction,\n AuthStrategyFunctionArgs,\n CollectionPermission,\n FieldPermissions,\n GlobalPermission,\n IncomingAuthType,\n Permission,\n Permissions,\n User,\n VerifyConfig,\n} from '../auth/types.js'\n"],"names":["default","executeAccess","executeAuthStrategies","getAccessResults"],"rangeMappings":";;;","mappings":"AAAA,cAAc,mBAAkB;AAChC,SAASA,WAAWC,aAAa,QAAQ,2BAA0B;AACnE,SAASC,qBAAqB,QAAQ,mCAAkC;AACxE,SAASC,gBAAgB,QAAQ,8BAA6B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/exports/components/utilities.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"sources":["../../../src/exports/components/utilities.ts"],"names":[],"rangeMappings":"","mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/exports/config.ts"],"sourcesContent":["export { buildConfig } from '../config/build.js'\nexport * from '../config/types.js'\n\nexport type { FieldTypes } from '../admin/forms/FieldTypes.js'\nexport { createClientCollectionConfig } from '../collections/config/client.js'\nexport { defaults as collectionDefaults } from '../collections/config/defaults.js'\nexport { createClientConfig } from '../config/client.js'\nexport { defaults } from '../config/defaults.js'\nexport { sanitizeConfig } from '../config/sanitize.js'\nexport { baseBlockFields } from '../fields/baseFields/baseBlockFields.js'\nexport { baseIDField } from '../fields/baseFields/baseIDField.js'\nexport { createClientFieldConfig } from '../fields/config/client.js'\nexport { sanitizeFields } from '../fields/config/sanitize.js'\nexport { createClientGlobalConfig } from '../globals/config/client.js'\n"],"names":["buildConfig","createClientCollectionConfig","defaults","collectionDefaults","createClientConfig","sanitizeConfig","baseBlockFields","baseIDField","createClientFieldConfig","sanitizeFields","createClientGlobalConfig"],"mappings":"AAAA,SAASA,WAAW,QAAQ,qBAAoB;AAChD,cAAc,qBAAoB;AAGlC,SAASC,4BAA4B,QAAQ,kCAAiC;AAC9E,SAASC,YAAYC,kBAAkB,QAAQ,oCAAmC;AAClF,SAASC,kBAAkB,QAAQ,sBAAqB;AACxD,SAASF,QAAQ,QAAQ,wBAAuB;AAChD,SAASG,cAAc,QAAQ,wBAAuB;AACtD,SAASC,eAAe,QAAQ,0CAAyC;AACzE,SAASC,WAAW,QAAQ,sCAAqC;AACjE,SAASC,uBAAuB,QAAQ,6BAA4B;AACpE,SAASC,cAAc,QAAQ,+BAA8B;AAC7D,SAASC,wBAAwB,QAAQ,8BAA6B"}
|
|
1
|
+
{"version":3,"sources":["../../src/exports/config.ts"],"sourcesContent":["export { buildConfig } from '../config/build.js'\nexport * from '../config/types.js'\n\nexport type { FieldTypes } from '../admin/forms/FieldTypes.js'\nexport { createClientCollectionConfig } from '../collections/config/client.js'\nexport { defaults as collectionDefaults } from '../collections/config/defaults.js'\nexport { createClientConfig } from '../config/client.js'\nexport { defaults } from '../config/defaults.js'\nexport { sanitizeConfig } from '../config/sanitize.js'\nexport { baseBlockFields } from '../fields/baseFields/baseBlockFields.js'\nexport { baseIDField } from '../fields/baseFields/baseIDField.js'\nexport { createClientFieldConfig } from '../fields/config/client.js'\nexport { sanitizeFields } from '../fields/config/sanitize.js'\nexport { createClientGlobalConfig } from '../globals/config/client.js'\n"],"names":["buildConfig","createClientCollectionConfig","defaults","collectionDefaults","createClientConfig","sanitizeConfig","baseBlockFields","baseIDField","createClientFieldConfig","sanitizeFields","createClientGlobalConfig"],"rangeMappings":";;;;;;;;;;;","mappings":"AAAA,SAASA,WAAW,QAAQ,qBAAoB;AAChD,cAAc,qBAAoB;AAGlC,SAASC,4BAA4B,QAAQ,kCAAiC;AAC9E,SAASC,YAAYC,kBAAkB,QAAQ,oCAAmC;AAClF,SAASC,kBAAkB,QAAQ,sBAAqB;AACxD,SAASF,QAAQ,QAAQ,wBAAuB;AAChD,SAASG,cAAc,QAAQ,wBAAuB;AACtD,SAASC,eAAe,QAAQ,0CAAyC;AACzE,SAASC,WAAW,QAAQ,sCAAqC;AACjE,SAASC,uBAAuB,QAAQ,6BAA4B;AACpE,SAASC,cAAc,QAAQ,+BAA8B;AAC7D,SAASC,wBAAwB,QAAQ,8BAA6B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/exports/database.ts"],"sourcesContent":["export type {\n BaseDatabaseAdapter,\n BeginTransaction,\n CommitTransaction,\n Connect,\n Create,\n CreateArgs,\n CreateGlobal,\n CreateGlobalArgs,\n CreateGlobalVersion,\n CreateGlobalVersionArgs,\n CreateMigration,\n CreateVersion,\n CreateVersionArgs,\n DBIdentifierName,\n DatabaseAdapterResult as DatabaseAdapterObj,\n DeleteMany,\n DeleteManyArgs,\n DeleteOne,\n DeleteOneArgs,\n DeleteVersions,\n DeleteVersionsArgs,\n Destroy,\n Find,\n FindArgs,\n FindGlobal,\n FindGlobalArgs,\n FindGlobalVersions,\n FindGlobalVersionsArgs,\n FindOne,\n FindOneArgs,\n FindVersions,\n FindVersionsArgs,\n Init,\n Migration,\n MigrationData,\n PaginatedDocs,\n QueryDrafts,\n QueryDraftsArgs,\n RollbackTransaction,\n Transaction,\n TypeWithVersion,\n UpdateGlobal,\n UpdateGlobalArgs,\n UpdateGlobalVersion,\n UpdateGlobalVersionArgs,\n UpdateOne,\n UpdateOneArgs,\n UpdateVersion,\n UpdateVersionArgs,\n} from '../database/types.js'\n\nexport * from '../database/queryValidation/types.js'\n\nexport { combineQueries } from '../database/combineQueries.js'\n\nexport { createDatabaseAdapter } from '../database/createDatabaseAdapter.js'\n\nexport { default as flattenWhereToOperators } from '../database/flattenWhereToOperators.js'\n\nexport { getLocalizedPaths } from '../database/getLocalizedPaths.js'\n\nexport { createMigration } from '../database/migrations/createMigration.js'\n\nexport { getMigrations } from '../database/migrations/getMigrations.js'\n\nexport { migrate } from '../database/migrations/migrate.js'\n\nexport { migrateDown } from '../database/migrations/migrateDown.js'\n\nexport { migrateRefresh } from '../database/migrations/migrateRefresh.js'\n\nexport { migrateReset } from '../database/migrations/migrateReset.js'\n\nexport { migrateStatus } from '../database/migrations/migrateStatus.js'\n\nexport { migrationTemplate } from '../database/migrations/migrationTemplate.js'\n\nexport { migrationsCollection } from '../database/migrations/migrationsCollection.js'\n\nexport { readMigrationFiles } from '../database/migrations/readMigrationFiles.js'\n\nexport type { EntityPolicies, PathToQuery } from '../database/queryValidation/types.js'\n\nexport { validateQueryPaths } from '../database/queryValidation/validateQueryPaths.js'\n\nexport { validateSearchParam } from '../database/queryValidation/validateSearchParams.js'\n\nexport { commitTransaction } from '../utilities/commitTransaction.js'\nexport { initTransaction } from '../utilities/initTransaction.js'\nexport { killTransaction } from '../utilities/killTransaction.js'\n"],"names":["combineQueries","createDatabaseAdapter","default","flattenWhereToOperators","getLocalizedPaths","createMigration","getMigrations","migrate","migrateDown","migrateRefresh","migrateReset","migrateStatus","migrationTemplate","migrationsCollection","readMigrationFiles","validateQueryPaths","validateSearchParam","commitTransaction","initTransaction","killTransaction"],"mappings":"AAoDA,cAAc,uCAAsC;AAEpD,SAASA,cAAc,QAAQ,gCAA+B;AAE9D,SAASC,qBAAqB,QAAQ,uCAAsC;AAE5E,SAASC,WAAWC,uBAAuB,QAAQ,yCAAwC;AAE3F,SAASC,iBAAiB,QAAQ,mCAAkC;AAEpE,SAASC,eAAe,QAAQ,4CAA2C;AAE3E,SAASC,aAAa,QAAQ,0CAAyC;AAEvE,SAASC,OAAO,QAAQ,oCAAmC;AAE3D,SAASC,WAAW,QAAQ,wCAAuC;AAEnE,SAASC,cAAc,QAAQ,2CAA0C;AAEzE,SAASC,YAAY,QAAQ,yCAAwC;AAErE,SAASC,aAAa,QAAQ,0CAAyC;AAEvE,SAASC,iBAAiB,QAAQ,8CAA6C;AAE/E,SAASC,oBAAoB,QAAQ,iDAAgD;AAErF,SAASC,kBAAkB,QAAQ,+CAA8C;AAIjF,SAASC,kBAAkB,QAAQ,oDAAmD;AAEtF,SAASC,mBAAmB,QAAQ,sDAAqD;AAEzF,SAASC,iBAAiB,QAAQ,oCAAmC;AACrE,SAASC,eAAe,QAAQ,kCAAiC;AACjE,SAASC,eAAe,QAAQ,kCAAiC"}
|
|
1
|
+
{"version":3,"sources":["../../src/exports/database.ts"],"sourcesContent":["export type {\n BaseDatabaseAdapter,\n BeginTransaction,\n CommitTransaction,\n Connect,\n Create,\n CreateArgs,\n CreateGlobal,\n CreateGlobalArgs,\n CreateGlobalVersion,\n CreateGlobalVersionArgs,\n CreateMigration,\n CreateVersion,\n CreateVersionArgs,\n DBIdentifierName,\n DatabaseAdapterResult as DatabaseAdapterObj,\n DeleteMany,\n DeleteManyArgs,\n DeleteOne,\n DeleteOneArgs,\n DeleteVersions,\n DeleteVersionsArgs,\n Destroy,\n Find,\n FindArgs,\n FindGlobal,\n FindGlobalArgs,\n FindGlobalVersions,\n FindGlobalVersionsArgs,\n FindOne,\n FindOneArgs,\n FindVersions,\n FindVersionsArgs,\n Init,\n Migration,\n MigrationData,\n PaginatedDocs,\n QueryDrafts,\n QueryDraftsArgs,\n RollbackTransaction,\n Transaction,\n TypeWithVersion,\n UpdateGlobal,\n UpdateGlobalArgs,\n UpdateGlobalVersion,\n UpdateGlobalVersionArgs,\n UpdateOne,\n UpdateOneArgs,\n UpdateVersion,\n UpdateVersionArgs,\n} from '../database/types.js'\n\nexport * from '../database/queryValidation/types.js'\n\nexport { combineQueries } from '../database/combineQueries.js'\n\nexport { createDatabaseAdapter } from '../database/createDatabaseAdapter.js'\n\nexport { default as flattenWhereToOperators } from '../database/flattenWhereToOperators.js'\n\nexport { getLocalizedPaths } from '../database/getLocalizedPaths.js'\n\nexport { createMigration } from '../database/migrations/createMigration.js'\n\nexport { getMigrations } from '../database/migrations/getMigrations.js'\n\nexport { migrate } from '../database/migrations/migrate.js'\n\nexport { migrateDown } from '../database/migrations/migrateDown.js'\n\nexport { migrateRefresh } from '../database/migrations/migrateRefresh.js'\n\nexport { migrateReset } from '../database/migrations/migrateReset.js'\n\nexport { migrateStatus } from '../database/migrations/migrateStatus.js'\n\nexport { migrationTemplate } from '../database/migrations/migrationTemplate.js'\n\nexport { migrationsCollection } from '../database/migrations/migrationsCollection.js'\n\nexport { readMigrationFiles } from '../database/migrations/readMigrationFiles.js'\n\nexport type { EntityPolicies, PathToQuery } from '../database/queryValidation/types.js'\n\nexport { validateQueryPaths } from '../database/queryValidation/validateQueryPaths.js'\n\nexport { validateSearchParam } from '../database/queryValidation/validateSearchParams.js'\n\nexport { commitTransaction } from '../utilities/commitTransaction.js'\nexport { initTransaction } from '../utilities/initTransaction.js'\nexport { killTransaction } from '../utilities/killTransaction.js'\n"],"names":["combineQueries","createDatabaseAdapter","default","flattenWhereToOperators","getLocalizedPaths","createMigration","getMigrations","migrate","migrateDown","migrateRefresh","migrateReset","migrateStatus","migrationTemplate","migrationsCollection","readMigrationFiles","validateQueryPaths","validateSearchParam","commitTransaction","initTransaction","killTransaction"],"rangeMappings":";;;;;;;;;;;;;;;;;;;","mappings":"AAoDA,cAAc,uCAAsC;AAEpD,SAASA,cAAc,QAAQ,gCAA+B;AAE9D,SAASC,qBAAqB,QAAQ,uCAAsC;AAE5E,SAASC,WAAWC,uBAAuB,QAAQ,yCAAwC;AAE3F,SAASC,iBAAiB,QAAQ,mCAAkC;AAEpE,SAASC,eAAe,QAAQ,4CAA2C;AAE3E,SAASC,aAAa,QAAQ,0CAAyC;AAEvE,SAASC,OAAO,QAAQ,oCAAmC;AAE3D,SAASC,WAAW,QAAQ,wCAAuC;AAEnE,SAASC,cAAc,QAAQ,2CAA0C;AAEzE,SAASC,YAAY,QAAQ,yCAAwC;AAErE,SAASC,aAAa,QAAQ,0CAAyC;AAEvE,SAASC,iBAAiB,QAAQ,8CAA6C;AAE/E,SAASC,oBAAoB,QAAQ,iDAAgD;AAErF,SAASC,kBAAkB,QAAQ,+CAA8C;AAIjF,SAASC,kBAAkB,QAAQ,oDAAmD;AAEtF,SAASC,mBAAmB,QAAQ,sDAAqD;AAEzF,SAASC,iBAAiB,QAAQ,oCAAmC;AACrE,SAASC,eAAe,QAAQ,kCAAiC;AACjE,SAASC,eAAe,QAAQ,kCAAiC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/exports/errors.ts"],"sourcesContent":["export {\n APIError,\n AuthenticationError,\n DuplicateCollection,\n DuplicateGlobal,\n ErrorDeletingFile,\n FileUploadError,\n Forbidden,\n InvalidConfiguration,\n InvalidFieldName,\n InvalidFieldRelationship,\n LockedAuth,\n MissingCollectionLabel,\n MissingFieldInputOptions,\n MissingFieldType,\n MissingFile,\n NotFound,\n QueryError,\n ValidationError,\n} from '../errors/index.js'\n"],"names":["APIError","AuthenticationError","DuplicateCollection","DuplicateGlobal","ErrorDeletingFile","FileUploadError","Forbidden","InvalidConfiguration","InvalidFieldName","InvalidFieldRelationship","LockedAuth","MissingCollectionLabel","MissingFieldInputOptions","MissingFieldType","MissingFile","NotFound","QueryError","ValidationError"],"mappings":"AAAA,SACEA,QAAQ,EACRC,mBAAmB,EACnBC,mBAAmB,EACnBC,eAAe,EACfC,iBAAiB,EACjBC,eAAe,EACfC,SAAS,EACTC,oBAAoB,EACpBC,gBAAgB,EAChBC,wBAAwB,EACxBC,UAAU,EACVC,sBAAsB,EACtBC,wBAAwB,EACxBC,gBAAgB,EAChBC,WAAW,EACXC,QAAQ,EACRC,UAAU,EACVC,eAAe,QACV,qBAAoB"}
|
|
1
|
+
{"version":3,"sources":["../../src/exports/errors.ts"],"sourcesContent":["export {\n APIError,\n AuthenticationError,\n DuplicateCollection,\n DuplicateGlobal,\n ErrorDeletingFile,\n FileUploadError,\n Forbidden,\n InvalidConfiguration,\n InvalidFieldName,\n InvalidFieldRelationship,\n LockedAuth,\n MissingCollectionLabel,\n MissingFieldInputOptions,\n MissingFieldType,\n MissingFile,\n NotFound,\n QueryError,\n ValidationError,\n} from '../errors/index.js'\n"],"names":["APIError","AuthenticationError","DuplicateCollection","DuplicateGlobal","ErrorDeletingFile","FileUploadError","Forbidden","InvalidConfiguration","InvalidFieldName","InvalidFieldRelationship","LockedAuth","MissingCollectionLabel","MissingFieldInputOptions","MissingFieldType","MissingFile","NotFound","QueryError","ValidationError"],"rangeMappings":"","mappings":"AAAA,SACEA,QAAQ,EACRC,mBAAmB,EACnBC,mBAAmB,EACnBC,eAAe,EACfC,iBAAiB,EACjBC,eAAe,EACfC,SAAS,EACTC,oBAAoB,EACpBC,gBAAgB,EAChBC,wBAAwB,EACxBC,UAAU,EACVC,sBAAsB,EACtBC,wBAAwB,EACxBC,gBAAgB,EAChBC,WAAW,EACXC,QAAQ,EACRC,UAAU,EACVC,eAAe,QACV,qBAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/exports/fields/index.ts"],"sourcesContent":["export { default as getDefaultValue } from '../../fields/getDefaultValue.js'\nexport { default as sortableFieldTypes } from '../../fields/sortableFieldTypes.js'\n"],"names":["default","getDefaultValue","sortableFieldTypes"],"mappings":"AAAA,SAASA,WAAWC,eAAe,QAAQ,kCAAiC;AAC5E,SAASD,WAAWE,kBAAkB,QAAQ,qCAAoC"}
|
|
1
|
+
{"version":3,"sources":["../../../src/exports/fields/index.ts"],"sourcesContent":["export { default as getDefaultValue } from '../../fields/getDefaultValue.js'\nexport { default as sortableFieldTypes } from '../../fields/sortableFieldTypes.js'\n"],"names":["default","getDefaultValue","sortableFieldTypes"],"rangeMappings":";","mappings":"AAAA,SAASA,WAAWC,eAAe,QAAQ,kCAAiC;AAC5E,SAASD,WAAWE,kBAAkB,QAAQ,qCAAoC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/exports/fields/validations.ts"],"sourcesContent":["export * from '../../fields/validations.js'\n"],"names":[],"mappings":"AAAA,cAAc,8BAA6B"}
|
|
1
|
+
{"version":3,"sources":["../../../src/exports/fields/validations.ts"],"sourcesContent":["export * from '../../fields/validations.js'\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,8BAA6B"}
|
package/dist/exports/node.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/exports/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAA"}
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/exports/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AACvD,OAAO,EAAE,YAAY,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAA"}
|
package/dist/exports/node.js
CHANGED
package/dist/exports/node.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/exports/node.ts"],"sourcesContent":["export { importConfig, importWithoutClientFiles } from '../utilities/importWithoutClientFiles.js'\n"],"names":["importConfig","importWithoutClientFiles"],"mappings":"AAAA,SAASA,YAAY,EAAEC,wBAAwB,QAAQ,2CAA0C"}
|
|
1
|
+
{"version":3,"sources":["../../src/exports/node.ts"],"sourcesContent":["export { generateTypes } from '../bin/generateTypes.js'\nexport { importConfig, importWithoutClientFiles } from '../utilities/importWithoutClientFiles.js'\n"],"names":["generateTypes","importConfig","importWithoutClientFiles"],"rangeMappings":";","mappings":"AAAA,SAASA,aAAa,QAAQ,0BAAyB;AACvD,SAASC,YAAY,EAAEC,wBAAwB,QAAQ,2CAA0C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/exports/operations.ts"],"sourcesContent":["export { accessOperation } from '../auth/operations/access.js'\nexport { forgotPasswordOperation } from '../auth/operations/forgotPassword.js'\nexport { initOperation } from '../auth/operations/init.js'\nexport { loginOperation } from '../auth/operations/login.js'\nexport { logoutOperation } from '../auth/operations/logout.js'\nexport { meOperation } from '../auth/operations/me.js'\nexport { refreshOperation } from '../auth/operations/refresh.js'\nexport { registerFirstUserOperation } from '../auth/operations/registerFirstUser.js'\nexport { resetPasswordOperation } from '../auth/operations/resetPassword.js'\nexport { unlockOperation } from '../auth/operations/unlock.js'\nexport { verifyEmailOperation } from '../auth/operations/verifyEmail.js'\n\nexport { createOperation } from '../collections/operations/create.js'\nexport { deleteOperation } from '../collections/operations/delete.js'\nexport { deleteByIDOperation } from '../collections/operations/deleteByID.js'\nexport { docAccessOperation } from '../collections/operations/docAccess.js'\nexport { duplicateOperation } from '../collections/operations/duplicate.js'\nexport { findOperation } from '../collections/operations/find.js'\nexport { findByIDOperation } from '../collections/operations/findByID.js'\nexport { findVersionByIDOperation } from '../collections/operations/findVersionByID.js'\nexport { findVersionsOperation } from '../collections/operations/findVersions.js'\nexport { restoreVersionOperation } from '../collections/operations/restoreVersion.js'\nexport { updateOperation } from '../collections/operations/update.js'\nexport { updateByIDOperation } from '../collections/operations/updateByID.js'\n\nexport { docAccessOperation as docAccessOperationGlobal } from '../globals/operations/docAccess.js'\nexport { findOneOperation } from '../globals/operations/findOne.js'\nexport { findVersionByIDOperation as findVersionByIDOperationGlobal } from '../globals/operations/findVersionByID.js'\nexport { findVersionsOperation as findVersionsOperationGlobal } from '../globals/operations/findVersions.js'\nexport { restoreVersionOperation as restoreVersionOperationGlobal } from '../globals/operations/restoreVersion.js'\nexport { updateOperation as updateOperationGlobal } from '../globals/operations/update.js'\n"],"names":["accessOperation","forgotPasswordOperation","initOperation","loginOperation","logoutOperation","meOperation","refreshOperation","registerFirstUserOperation","resetPasswordOperation","unlockOperation","verifyEmailOperation","createOperation","deleteOperation","deleteByIDOperation","docAccessOperation","duplicateOperation","findOperation","findByIDOperation","findVersionByIDOperation","findVersionsOperation","restoreVersionOperation","updateOperation","updateByIDOperation","docAccessOperationGlobal","findOneOperation","findVersionByIDOperationGlobal","findVersionsOperationGlobal","restoreVersionOperationGlobal","updateOperationGlobal"],"mappings":"AAAA,SAASA,eAAe,QAAQ,+BAA8B;AAC9D,SAASC,uBAAuB,QAAQ,uCAAsC;AAC9E,SAASC,aAAa,QAAQ,6BAA4B;AAC1D,SAASC,cAAc,QAAQ,8BAA6B;AAC5D,SAASC,eAAe,QAAQ,+BAA8B;AAC9D,SAASC,WAAW,QAAQ,2BAA0B;AACtD,SAASC,gBAAgB,QAAQ,gCAA+B;AAChE,SAASC,0BAA0B,QAAQ,0CAAyC;AACpF,SAASC,sBAAsB,QAAQ,sCAAqC;AAC5E,SAASC,eAAe,QAAQ,+BAA8B;AAC9D,SAASC,oBAAoB,QAAQ,oCAAmC;AAExE,SAASC,eAAe,QAAQ,sCAAqC;AACrE,SAASC,eAAe,QAAQ,sCAAqC;AACrE,SAASC,mBAAmB,QAAQ,0CAAyC;AAC7E,SAASC,kBAAkB,QAAQ,yCAAwC;AAC3E,SAASC,kBAAkB,QAAQ,yCAAwC;AAC3E,SAASC,aAAa,QAAQ,oCAAmC;AACjE,SAASC,iBAAiB,QAAQ,wCAAuC;AACzE,SAASC,wBAAwB,QAAQ,+CAA8C;AACvF,SAASC,qBAAqB,QAAQ,4CAA2C;AACjF,SAASC,uBAAuB,QAAQ,8CAA6C;AACrF,SAASC,eAAe,QAAQ,sCAAqC;AACrE,SAASC,mBAAmB,QAAQ,0CAAyC;AAE7E,SAASR,sBAAsBS,wBAAwB,QAAQ,qCAAoC;AACnG,SAASC,gBAAgB,QAAQ,mCAAkC;AACnE,SAASN,4BAA4BO,8BAA8B,QAAQ,2CAA0C;AACrH,SAASN,yBAAyBO,2BAA2B,QAAQ,wCAAuC;AAC5G,SAASN,2BAA2BO,6BAA6B,QAAQ,0CAAyC;AAClH,SAASN,mBAAmBO,qBAAqB,QAAQ,kCAAiC"}
|
|
1
|
+
{"version":3,"sources":["../../src/exports/operations.ts"],"sourcesContent":["export { accessOperation } from '../auth/operations/access.js'\nexport { forgotPasswordOperation } from '../auth/operations/forgotPassword.js'\nexport { initOperation } from '../auth/operations/init.js'\nexport { loginOperation } from '../auth/operations/login.js'\nexport { logoutOperation } from '../auth/operations/logout.js'\nexport { meOperation } from '../auth/operations/me.js'\nexport { refreshOperation } from '../auth/operations/refresh.js'\nexport { registerFirstUserOperation } from '../auth/operations/registerFirstUser.js'\nexport { resetPasswordOperation } from '../auth/operations/resetPassword.js'\nexport { unlockOperation } from '../auth/operations/unlock.js'\nexport { verifyEmailOperation } from '../auth/operations/verifyEmail.js'\n\nexport { createOperation } from '../collections/operations/create.js'\nexport { deleteOperation } from '../collections/operations/delete.js'\nexport { deleteByIDOperation } from '../collections/operations/deleteByID.js'\nexport { docAccessOperation } from '../collections/operations/docAccess.js'\nexport { duplicateOperation } from '../collections/operations/duplicate.js'\nexport { findOperation } from '../collections/operations/find.js'\nexport { findByIDOperation } from '../collections/operations/findByID.js'\nexport { findVersionByIDOperation } from '../collections/operations/findVersionByID.js'\nexport { findVersionsOperation } from '../collections/operations/findVersions.js'\nexport { restoreVersionOperation } from '../collections/operations/restoreVersion.js'\nexport { updateOperation } from '../collections/operations/update.js'\nexport { updateByIDOperation } from '../collections/operations/updateByID.js'\n\nexport { docAccessOperation as docAccessOperationGlobal } from '../globals/operations/docAccess.js'\nexport { findOneOperation } from '../globals/operations/findOne.js'\nexport { findVersionByIDOperation as findVersionByIDOperationGlobal } from '../globals/operations/findVersionByID.js'\nexport { findVersionsOperation as findVersionsOperationGlobal } from '../globals/operations/findVersions.js'\nexport { restoreVersionOperation as restoreVersionOperationGlobal } from '../globals/operations/restoreVersion.js'\nexport { updateOperation as updateOperationGlobal } from '../globals/operations/update.js'\n"],"names":["accessOperation","forgotPasswordOperation","initOperation","loginOperation","logoutOperation","meOperation","refreshOperation","registerFirstUserOperation","resetPasswordOperation","unlockOperation","verifyEmailOperation","createOperation","deleteOperation","deleteByIDOperation","docAccessOperation","duplicateOperation","findOperation","findByIDOperation","findVersionByIDOperation","findVersionsOperation","restoreVersionOperation","updateOperation","updateByIDOperation","docAccessOperationGlobal","findOneOperation","findVersionByIDOperationGlobal","findVersionsOperationGlobal","restoreVersionOperationGlobal","updateOperationGlobal"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,SAASA,eAAe,QAAQ,+BAA8B;AAC9D,SAASC,uBAAuB,QAAQ,uCAAsC;AAC9E,SAASC,aAAa,QAAQ,6BAA4B;AAC1D,SAASC,cAAc,QAAQ,8BAA6B;AAC5D,SAASC,eAAe,QAAQ,+BAA8B;AAC9D,SAASC,WAAW,QAAQ,2BAA0B;AACtD,SAASC,gBAAgB,QAAQ,gCAA+B;AAChE,SAASC,0BAA0B,QAAQ,0CAAyC;AACpF,SAASC,sBAAsB,QAAQ,sCAAqC;AAC5E,SAASC,eAAe,QAAQ,+BAA8B;AAC9D,SAASC,oBAAoB,QAAQ,oCAAmC;AAExE,SAASC,eAAe,QAAQ,sCAAqC;AACrE,SAASC,eAAe,QAAQ,sCAAqC;AACrE,SAASC,mBAAmB,QAAQ,0CAAyC;AAC7E,SAASC,kBAAkB,QAAQ,yCAAwC;AAC3E,SAASC,kBAAkB,QAAQ,yCAAwC;AAC3E,SAASC,aAAa,QAAQ,oCAAmC;AACjE,SAASC,iBAAiB,QAAQ,wCAAuC;AACzE,SAASC,wBAAwB,QAAQ,+CAA8C;AACvF,SAASC,qBAAqB,QAAQ,4CAA2C;AACjF,SAASC,uBAAuB,QAAQ,8CAA6C;AACrF,SAASC,eAAe,QAAQ,sCAAqC;AACrE,SAASC,mBAAmB,QAAQ,0CAAyC;AAE7E,SAASR,sBAAsBS,wBAAwB,QAAQ,qCAAoC;AACnG,SAASC,gBAAgB,QAAQ,mCAAkC;AACnE,SAASN,4BAA4BO,8BAA8B,QAAQ,2CAA0C;AACrH,SAASN,yBAAyBO,2BAA2B,QAAQ,wCAAuC;AAC5G,SAASN,2BAA2BO,6BAA6B,QAAQ,0CAAyC;AAClH,SAASN,mBAAmBO,qBAAqB,QAAQ,kCAAiC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/exports/types.ts"],"sourcesContent":["export * from './../types/index.js'\nexport type * from '../admin/types.js'\nexport type * from '../uploads/types.js'\n\nexport type { DocumentPermissions, FieldPermissions } from '../auth/index.js'\nexport type { MeOperationResult } from '../auth/operations/me.js'\n\nexport type {\n CollapsedPreferences,\n DocumentPreferences,\n FieldsPreferences,\n InsideFieldsPreferences,\n PreferenceRequest,\n PreferenceUpdateRequest,\n TabsPreferences,\n} from '../preferences/types.js'\n\nexport type { ClientCollectionConfig } from './../collections/config/client.js'\n\nexport type {\n AfterChangeHook as CollectionAfterChangeHook,\n AfterDeleteHook as CollectionAfterDeleteHook,\n AfterErrorHook as CollectionAfterErrorHook,\n AfterForgotPasswordHook as CollectionAfterForgotPasswordHook,\n AfterLoginHook as CollectionAfterLoginHook,\n AfterOperationHook as CollectionAfterOperationHook,\n AfterReadHook as CollectionAfterReadHook,\n BeforeChangeHook as CollectionBeforeChangeHook,\n BeforeDeleteHook as CollectionBeforeDeleteHook,\n BeforeLoginHook as CollectionBeforeLoginHook,\n BeforeOperationHook as CollectionBeforeOperationHook,\n BeforeReadHook as CollectionBeforeReadHook,\n BeforeValidateHook as CollectionBeforeValidateHook,\n Collection,\n CollectionConfig,\n SanitizedCollectionConfig,\n TypeWithID,\n TypeWithTimestamps,\n} from './../collections/config/types.js'\n\nexport type { ClientConfig } from './../config/client.js'\nexport type {\n Access,\n AccessArgs,\n EditViewComponent,\n EntityDescription,\n EntityDescriptionComponent,\n EntityDescriptionFunction,\n SanitizedConfig,\n} from './../config/types.js'\nexport type { ClientFieldConfig } from './../fields/config/client.js'\nexport type {\n ArrayField,\n Block,\n BlockField,\n CheckboxField,\n ClientValidate,\n CodeField,\n CollapsibleField,\n Condition,\n DateField,\n EmailField,\n Field,\n FieldAccess,\n FieldAffectingData,\n FieldBase,\n FieldHook,\n FieldHookArgs,\n FieldPresentationalOnly,\n FieldWithMany,\n FieldWithMaxDepth,\n FieldWithPath,\n FieldWithRichTextRequiredEditor,\n FieldWithSubFields,\n FilterOptions,\n FilterOptionsProps,\n GroupField,\n HookName,\n JSONField,\n Labels,\n NamedTab,\n NonPresentationalField,\n NumberField,\n Option,\n OptionObject,\n PointField,\n PolymorphicRelationshipField,\n RadioField,\n RelationshipField,\n RelationshipValue,\n RichTextField,\n RichTextFieldRequiredEditor,\n RowAdmin,\n RowField,\n SelectField,\n SingleRelationshipField,\n Tab,\n TabAsField,\n TabsAdmin,\n TabsField,\n TextField,\n TextareaField,\n UIField,\n UnnamedTab,\n UploadField,\n Validate,\n ValidateOptions,\n ValueWithRelation,\n} from './../fields/config/types.js'\n\nexport {\n fieldAffectsData,\n fieldHasMaxDepth,\n fieldHasSubFields,\n fieldIsArrayType,\n fieldIsBlockType,\n fieldIsGroupType,\n fieldIsLocalized,\n fieldIsPresentationalOnly,\n fieldSupportsMany,\n optionIsObject,\n optionIsValue,\n optionsAreObjects,\n tabHasName,\n valueIsValueWithRelation,\n} from './../fields/config/types.js'\n\nexport type { ClientGlobalConfig } from './../globals/config/client.js'\n\nexport type {\n AfterChangeHook as GlobalAfterChangeHook,\n AfterReadHook as GlobalAfterReadHook,\n BeforeChangeHook as GlobalBeforeChangeHook,\n BeforeReadHook as GlobalBeforeReadHook,\n BeforeValidateHook as GlobalBeforeValidateHook,\n GlobalConfig,\n SanitizedGlobalConfig,\n} from './../globals/config/types.js'\n\nexport { validOperators } from './../types/constants.js'\n"],"names":["fieldAffectsData","fieldHasMaxDepth","fieldHasSubFields","fieldIsArrayType","fieldIsBlockType","fieldIsGroupType","fieldIsLocalized","fieldIsPresentationalOnly","fieldSupportsMany","optionIsObject","optionIsValue","optionsAreObjects","tabHasName","valueIsValueWithRelation","validOperators"],"mappings":"AAAA,cAAc,sBAAqB;AA8GnC,SACEA,gBAAgB,EAChBC,gBAAgB,EAChBC,iBAAiB,EACjBC,gBAAgB,EAChBC,gBAAgB,EAChBC,gBAAgB,EAChBC,gBAAgB,EAChBC,yBAAyB,EACzBC,iBAAiB,EACjBC,cAAc,EACdC,aAAa,EACbC,iBAAiB,EACjBC,UAAU,EACVC,wBAAwB,QACnB,8BAA6B;AAcpC,SAASC,cAAc,QAAQ,0BAAyB"}
|
|
1
|
+
{"version":3,"sources":["../../src/exports/types.ts"],"sourcesContent":["export * from './../types/index.js'\nexport type * from '../admin/types.js'\nexport type * from '../uploads/types.js'\n\nexport type { DocumentPermissions, FieldPermissions } from '../auth/index.js'\nexport type { MeOperationResult } from '../auth/operations/me.js'\n\nexport type {\n CollapsedPreferences,\n DocumentPreferences,\n FieldsPreferences,\n InsideFieldsPreferences,\n PreferenceRequest,\n PreferenceUpdateRequest,\n TabsPreferences,\n} from '../preferences/types.js'\n\nexport type { ClientCollectionConfig } from './../collections/config/client.js'\n\nexport type {\n AfterChangeHook as CollectionAfterChangeHook,\n AfterDeleteHook as CollectionAfterDeleteHook,\n AfterErrorHook as CollectionAfterErrorHook,\n AfterForgotPasswordHook as CollectionAfterForgotPasswordHook,\n AfterLoginHook as CollectionAfterLoginHook,\n AfterOperationHook as CollectionAfterOperationHook,\n AfterReadHook as CollectionAfterReadHook,\n BeforeChangeHook as CollectionBeforeChangeHook,\n BeforeDeleteHook as CollectionBeforeDeleteHook,\n BeforeLoginHook as CollectionBeforeLoginHook,\n BeforeOperationHook as CollectionBeforeOperationHook,\n BeforeReadHook as CollectionBeforeReadHook,\n BeforeValidateHook as CollectionBeforeValidateHook,\n Collection,\n CollectionConfig,\n SanitizedCollectionConfig,\n TypeWithID,\n TypeWithTimestamps,\n} from './../collections/config/types.js'\n\nexport type { ClientConfig } from './../config/client.js'\nexport type {\n Access,\n AccessArgs,\n EditViewComponent,\n EntityDescription,\n EntityDescriptionComponent,\n EntityDescriptionFunction,\n SanitizedConfig,\n} from './../config/types.js'\nexport type { ClientFieldConfig } from './../fields/config/client.js'\nexport type {\n ArrayField,\n Block,\n BlockField,\n CheckboxField,\n ClientValidate,\n CodeField,\n CollapsibleField,\n Condition,\n DateField,\n EmailField,\n Field,\n FieldAccess,\n FieldAffectingData,\n FieldBase,\n FieldHook,\n FieldHookArgs,\n FieldPresentationalOnly,\n FieldWithMany,\n FieldWithMaxDepth,\n FieldWithPath,\n FieldWithRichTextRequiredEditor,\n FieldWithSubFields,\n FilterOptions,\n FilterOptionsProps,\n GroupField,\n HookName,\n JSONField,\n Labels,\n NamedTab,\n NonPresentationalField,\n NumberField,\n Option,\n OptionObject,\n PointField,\n PolymorphicRelationshipField,\n RadioField,\n RelationshipField,\n RelationshipValue,\n RichTextField,\n RichTextFieldRequiredEditor,\n RowAdmin,\n RowField,\n SelectField,\n SingleRelationshipField,\n Tab,\n TabAsField,\n TabsAdmin,\n TabsField,\n TextField,\n TextareaField,\n UIField,\n UnnamedTab,\n UploadField,\n Validate,\n ValidateOptions,\n ValueWithRelation,\n} from './../fields/config/types.js'\n\nexport {\n fieldAffectsData,\n fieldHasMaxDepth,\n fieldHasSubFields,\n fieldIsArrayType,\n fieldIsBlockType,\n fieldIsGroupType,\n fieldIsLocalized,\n fieldIsPresentationalOnly,\n fieldSupportsMany,\n optionIsObject,\n optionIsValue,\n optionsAreObjects,\n tabHasName,\n valueIsValueWithRelation,\n} from './../fields/config/types.js'\n\nexport type { ClientGlobalConfig } from './../globals/config/client.js'\n\nexport type {\n AfterChangeHook as GlobalAfterChangeHook,\n AfterReadHook as GlobalAfterReadHook,\n BeforeChangeHook as GlobalBeforeChangeHook,\n BeforeReadHook as GlobalBeforeReadHook,\n BeforeValidateHook as GlobalBeforeValidateHook,\n GlobalConfig,\n SanitizedGlobalConfig,\n} from './../globals/config/types.js'\n\nexport { validOperators } from './../types/constants.js'\n"],"names":["fieldAffectsData","fieldHasMaxDepth","fieldHasSubFields","fieldIsArrayType","fieldIsBlockType","fieldIsGroupType","fieldIsLocalized","fieldIsPresentationalOnly","fieldSupportsMany","optionIsObject","optionIsValue","optionsAreObjects","tabHasName","valueIsValueWithRelation","validOperators"],"rangeMappings":";;","mappings":"AAAA,cAAc,sBAAqB;AA8GnC,SACEA,gBAAgB,EAChBC,gBAAgB,EAChBC,iBAAiB,EACjBC,gBAAgB,EAChBC,gBAAgB,EAChBC,gBAAgB,EAChBC,gBAAgB,EAChBC,yBAAyB,EACzBC,iBAAiB,EACjBC,cAAc,EACdC,aAAa,EACbC,iBAAiB,EACjBC,UAAU,EACVC,wBAAwB,QACnB,8BAA6B;AAcpC,SAASC,cAAc,QAAQ,0BAAyB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/exports/uploads.ts"],"sourcesContent":["export { getFileByPath } from '../uploads/getFileByPath.js'\n"],"names":["getFileByPath"],"mappings":"AAAA,SAASA,aAAa,QAAQ,8BAA6B"}
|
|
1
|
+
{"version":3,"sources":["../../src/exports/uploads.ts"],"sourcesContent":["export { getFileByPath } from '../uploads/getFileByPath.js'\n"],"names":["getFileByPath"],"rangeMappings":"","mappings":"AAAA,SAASA,aAAa,QAAQ,8BAA6B"}
|
|
@@ -2,7 +2,6 @@ export { getDataLoader } from '../collections/dataloader.js';
|
|
|
2
2
|
export { default as getDefaultValue } from '../fields/getDefaultValue.js';
|
|
3
3
|
export { promise as afterReadPromise } from '../fields/hooks/afterRead/promise.js';
|
|
4
4
|
export { traverseFields as afterReadTraverseFields } from '../fields/hooks/afterRead/traverseFields.js';
|
|
5
|
-
export { extractTranslations } from '../translations/extractTranslations.js';
|
|
6
5
|
export { formatFilesize } from '../uploads/formatFilesize.js';
|
|
7
6
|
export { default as isImage } from '../uploads/isImage.js';
|
|
8
7
|
export { combineMerge } from '../utilities/combineMerge.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../../src/exports/utilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAC5D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,8BAA8B,CAAA;AACzE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,sCAAsC,CAAA;AAClF,OAAO,EAAE,cAAc,IAAI,uBAAuB,EAAE,MAAM,6CAA6C,CAAA;
|
|
1
|
+
{"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../../src/exports/utilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAC5D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,8BAA8B,CAAA;AACzE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,sCAAsC,CAAA;AAClF,OAAO,EAAE,cAAc,IAAI,uBAAuB,EAAE,MAAM,6CAA6C,CAAA;AAEvG,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAE7D,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAE1D,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAC3D,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,0BAA0B,GAC3B,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAA;AAC/F,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAErD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAA;AACrE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,uCAAuC,CAAA;AAExF,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAA;AAEjF,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAA;AACrF,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAA;AAC3E,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,iCAAiC,CAAA;AAE5E,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAE/D,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAA;AAE7D,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAA;AACpF,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AACrD,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,uCAAuC,CAAA;AAExF,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AACnD,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAA;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAC3D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,6BAA6B,CAAA;AACpE,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAC3C,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,qCAAqC,CAAA"}
|
|
@@ -2,7 +2,6 @@ export { getDataLoader } from '../collections/dataloader.js';
|
|
|
2
2
|
export { default as getDefaultValue } from '../fields/getDefaultValue.js';
|
|
3
3
|
export { promise as afterReadPromise } from '../fields/hooks/afterRead/promise.js';
|
|
4
4
|
export { traverseFields as afterReadTraverseFields } from '../fields/hooks/afterRead/traverseFields.js';
|
|
5
|
-
export { extractTranslations } from '../translations/extractTranslations.js';
|
|
6
5
|
export { formatFilesize } from '../uploads/formatFilesize.js';
|
|
7
6
|
export { default as isImage } from '../uploads/isImage.js';
|
|
8
7
|
export { combineMerge } from '../utilities/combineMerge.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/exports/utilities.ts"],"sourcesContent":["export { getDataLoader } from '../collections/dataloader.js'\nexport { default as getDefaultValue } from '../fields/getDefaultValue.js'\nexport { promise as afterReadPromise } from '../fields/hooks/afterRead/promise.js'\nexport { traverseFields as afterReadTraverseFields } from '../fields/hooks/afterRead/traverseFields.js'\
|
|
1
|
+
{"version":3,"sources":["../../src/exports/utilities.ts"],"sourcesContent":["export { getDataLoader } from '../collections/dataloader.js'\nexport { default as getDefaultValue } from '../fields/getDefaultValue.js'\nexport { promise as afterReadPromise } from '../fields/hooks/afterRead/promise.js'\nexport { traverseFields as afterReadTraverseFields } from '../fields/hooks/afterRead/traverseFields.js'\n\nexport { formatFilesize } from '../uploads/formatFilesize.js'\n\nexport { default as isImage } from '../uploads/isImage.js'\n\nexport { combineMerge } from '../utilities/combineMerge.js'\nexport {\n configToJSONSchema,\n entityToJSONSchema,\n fieldsToJSONSchema,\n withNullableJSONSchemaType,\n} from '../utilities/configToJSONSchema.js'\nexport { createArrayFromCommaDelineated } from '../utilities/createArrayFromCommaDelineated.js'\nexport { createLocalReq } from '../utilities/createLocalReq.js'\nexport { deepCopyObject } from '../utilities/deepCopyObject.js'\nexport { deepMerge } from '../utilities/deepMerge.js'\n\nexport { fieldSchemaToJSON } from '../utilities/fieldSchemaToJSON.js'\nexport { default as flattenTopLevelFields } from '../utilities/flattenTopLevelFields.js'\n\nexport { formatLabels, formatNames, toWords } from '../utilities/formatLabels.js'\n\nexport { getCollectionIDFieldTypes } from '../utilities/getCollectionIDFieldTypes.js'\nexport { getIDType } from '../utilities/getIDType.js'\nexport { getObjectDotNotation } from '../utilities/getObjectDotNotation.js'\nexport { default as getUniqueListBy } from '../utilities/getUniqueListBy.js'\n\nexport { isEntityHidden } from '../utilities/isEntityHidden.js'\n\nexport { isNumber } from '../utilities/isNumber.js'\nexport { isPlainObject } from '../utilities/isPlainObject.js'\n\nexport { isPlainFunction, isReactComponent } from '../utilities/isReactComponent.js'\nexport { isValidID } from '../utilities/isValidID.js'\nexport { default as isolateObjectProperty } from '../utilities/isolateObjectProperty.js'\n\nexport { mapAsync } from '../utilities/mapAsync.js'\nexport { mergeListSearchAndWhere } from '../utilities/mergeListSearchAndWhere.js'\nexport { setsAreEqual } from '../utilities/setsAreEqual.js'\nexport { default as toKebabCase } from '../utilities/toKebabCase.js'\nexport { wait } from '../utilities/wait.js'\nexport { default as wordBoundariesRegex } from '../utilities/wordBoundariesRegex.js'\n"],"names":["getDataLoader","default","getDefaultValue","promise","afterReadPromise","traverseFields","afterReadTraverseFields","formatFilesize","isImage","combineMerge","configToJSONSchema","entityToJSONSchema","fieldsToJSONSchema","withNullableJSONSchemaType","createArrayFromCommaDelineated","createLocalReq","deepCopyObject","deepMerge","fieldSchemaToJSON","flattenTopLevelFields","formatLabels","formatNames","toWords","getCollectionIDFieldTypes","getIDType","getObjectDotNotation","getUniqueListBy","isEntityHidden","isNumber","isPlainObject","isPlainFunction","isReactComponent","isValidID","isolateObjectProperty","mapAsync","mergeListSearchAndWhere","setsAreEqual","toKebabCase","wait","wordBoundariesRegex"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,SAASA,aAAa,QAAQ,+BAA8B;AAC5D,SAASC,WAAWC,eAAe,QAAQ,+BAA8B;AACzE,SAASC,WAAWC,gBAAgB,QAAQ,uCAAsC;AAClF,SAASC,kBAAkBC,uBAAuB,QAAQ,8CAA6C;AAEvG,SAASC,cAAc,QAAQ,+BAA8B;AAE7D,SAASN,WAAWO,OAAO,QAAQ,wBAAuB;AAE1D,SAASC,YAAY,QAAQ,+BAA8B;AAC3D,SACEC,kBAAkB,EAClBC,kBAAkB,EAClBC,kBAAkB,EAClBC,0BAA0B,QACrB,qCAAoC;AAC3C,SAASC,8BAA8B,QAAQ,iDAAgD;AAC/F,SAASC,cAAc,QAAQ,iCAAgC;AAC/D,SAASC,cAAc,QAAQ,iCAAgC;AAC/D,SAASC,SAAS,QAAQ,4BAA2B;AAErD,SAASC,iBAAiB,QAAQ,oCAAmC;AACrE,SAASjB,WAAWkB,qBAAqB,QAAQ,wCAAuC;AAExF,SAASC,YAAY,EAAEC,WAAW,EAAEC,OAAO,QAAQ,+BAA8B;AAEjF,SAASC,yBAAyB,QAAQ,4CAA2C;AACrF,SAASC,SAAS,QAAQ,4BAA2B;AACrD,SAASC,oBAAoB,QAAQ,uCAAsC;AAC3E,SAASxB,WAAWyB,eAAe,QAAQ,kCAAiC;AAE5E,SAASC,cAAc,QAAQ,iCAAgC;AAE/D,SAASC,QAAQ,QAAQ,2BAA0B;AACnD,SAASC,aAAa,QAAQ,gCAA+B;AAE7D,SAASC,eAAe,EAAEC,gBAAgB,QAAQ,mCAAkC;AACpF,SAASC,SAAS,QAAQ,4BAA2B;AACrD,SAAS/B,WAAWgC,qBAAqB,QAAQ,wCAAuC;AAExF,SAASC,QAAQ,QAAQ,2BAA0B;AACnD,SAASC,uBAAuB,QAAQ,0CAAyC;AACjF,SAASC,YAAY,QAAQ,+BAA8B;AAC3D,SAASnC,WAAWoC,WAAW,QAAQ,8BAA6B;AACpE,SAASC,IAAI,QAAQ,uBAAsB;AAC3C,SAASrC,WAAWsC,mBAAmB,QAAQ,sCAAqC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/exports/versions.ts"],"sourcesContent":["export { buildVersionCollectionFields } from '../versions/buildCollectionFields.js'\nexport { buildVersionGlobalFields } from '../versions/buildGlobalFields.js'\nexport { deleteCollectionVersions } from '../versions/deleteCollectionVersions.js'\nexport { enforceMaxVersions } from '../versions/enforceMaxVersions.js'\nexport { getLatestCollectionVersion } from '../versions/getLatestCollectionVersion.js'\nexport { getLatestGlobalVersion } from '../versions/getLatestGlobalVersion.js'\nexport { saveVersion } from '../versions/saveVersion.js'\nexport type { TypeWithVersion } from '../versions/types.js'\n"],"names":["buildVersionCollectionFields","buildVersionGlobalFields","deleteCollectionVersions","enforceMaxVersions","getLatestCollectionVersion","getLatestGlobalVersion","saveVersion"],"mappings":"AAAA,SAASA,4BAA4B,QAAQ,uCAAsC;AACnF,SAASC,wBAAwB,QAAQ,mCAAkC;AAC3E,SAASC,wBAAwB,QAAQ,0CAAyC;AAClF,SAASC,kBAAkB,QAAQ,oCAAmC;AACtE,SAASC,0BAA0B,QAAQ,4CAA2C;AACtF,SAASC,sBAAsB,QAAQ,wCAAuC;AAC9E,SAASC,WAAW,QAAQ,6BAA4B"}
|
|
1
|
+
{"version":3,"sources":["../../src/exports/versions.ts"],"sourcesContent":["export { buildVersionCollectionFields } from '../versions/buildCollectionFields.js'\nexport { buildVersionGlobalFields } from '../versions/buildGlobalFields.js'\nexport { deleteCollectionVersions } from '../versions/deleteCollectionVersions.js'\nexport { enforceMaxVersions } from '../versions/enforceMaxVersions.js'\nexport { getLatestCollectionVersion } from '../versions/getLatestCollectionVersion.js'\nexport { getLatestGlobalVersion } from '../versions/getLatestGlobalVersion.js'\nexport { saveVersion } from '../versions/saveVersion.js'\nexport type { TypeWithVersion } from '../versions/types.js'\n"],"names":["buildVersionCollectionFields","buildVersionGlobalFields","deleteCollectionVersions","enforceMaxVersions","getLatestCollectionVersion","getLatestGlobalVersion","saveVersion"],"rangeMappings":";;;;;;","mappings":"AAAA,SAASA,4BAA4B,QAAQ,uCAAsC;AACnF,SAASC,wBAAwB,QAAQ,mCAAkC;AAC3E,SAASC,wBAAwB,QAAQ,0CAAyC;AAClF,SAASC,kBAAkB,QAAQ,oCAAmC;AACtE,SAASC,0BAA0B,QAAQ,4CAA2C;AACtF,SAASC,sBAAsB,QAAQ,wCAAuC;AAC9E,SAASC,WAAW,QAAQ,6BAA4B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/fields/baseFields/baseBlockFields.ts"],"sourcesContent":["import type { FieldWithRichTextRequiredEditor } from '../config/types.js'\n\nimport { baseIDField } from './baseIDField.js'\n\nexport const baseBlockFields: FieldWithRichTextRequiredEditor[] = [\n baseIDField,\n {\n name: 'blockName',\n type: 'text',\n admin: {\n disabled: true,\n },\n label: 'Block Name',\n required: false,\n },\n]\n"],"names":["baseIDField","baseBlockFields","name","type","admin","disabled","label","required"],"mappings":"AAEA,SAASA,WAAW,QAAQ,mBAAkB;AAE9C,OAAO,MAAMC,kBAAqD;IAChED;IACA;QACEE,MAAM;QACNC,MAAM;QACNC,OAAO;YACLC,UAAU;QACZ;QACAC,OAAO;QACPC,UAAU;IACZ;CACD,CAAA"}
|
|
1
|
+
{"version":3,"sources":["../../../src/fields/baseFields/baseBlockFields.ts"],"sourcesContent":["import type { FieldWithRichTextRequiredEditor } from '../config/types.js'\n\nimport { baseIDField } from './baseIDField.js'\n\nexport const baseBlockFields: FieldWithRichTextRequiredEditor[] = [\n baseIDField,\n {\n name: 'blockName',\n type: 'text',\n admin: {\n disabled: true,\n },\n label: 'Block Name',\n required: false,\n },\n]\n"],"names":["baseIDField","baseBlockFields","name","type","admin","disabled","label","required"],"rangeMappings":";;;;;;;;;;;;","mappings":"AAEA,SAASA,WAAW,QAAQ,mBAAkB;AAE9C,OAAO,MAAMC,kBAAqD;IAChED;IACA;QACEE,MAAM;QACNC,MAAM;QACNC,OAAO;YACLC,UAAU;QACZ;QACAC,OAAO;QACPC,UAAU;IACZ;CACD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/fields/baseFields/baseIDField.ts"],"sourcesContent":["import ObjectIdImport from 'bson-objectid'\n\nimport type { TextField } from '../config/types.js'\n\nconst ObjectId = (ObjectIdImport.default ||\n ObjectIdImport) as unknown as typeof ObjectIdImport.default\n\nexport const baseIDField: TextField = {\n name: 'id',\n type: 'text',\n admin: {\n hidden: true,\n },\n defaultValue: () => new ObjectId().toHexString(),\n hooks: {\n beforeChange: [\n ({ operation, value }) => {\n // If creating new doc, need to disregard any\n // ids that have been passed in because they will cause\n // primary key unique conflicts in relational DBs\n if (!value || (operation === 'create' && value)) {\n return new ObjectId().toHexString()\n }\n\n return value\n },\n ],\n },\n label: 'ID',\n}\n"],"names":["ObjectIdImport","ObjectId","default","baseIDField","name","type","admin","hidden","defaultValue","toHexString","hooks","beforeChange","operation","value","label"],"mappings":"AAAA,OAAOA,oBAAoB,gBAAe;AAI1C,MAAMC,WAAYD,eAAeE,OAAO,IACtCF;AAEF,OAAO,MAAMG,cAAyB;IACpCC,MAAM;IACNC,MAAM;IACNC,OAAO;QACLC,QAAQ;IACV;IACAC,cAAc,IAAM,IAAIP,WAAWQ,WAAW;IAC9CC,OAAO;QACLC,cAAc;YACZ,CAAC,EAAEC,SAAS,EAAEC,KAAK,EAAE;gBACnB,6CAA6C;gBAC7C,uDAAuD;gBACvD,iDAAiD;gBACjD,IAAI,CAACA,SAAUD,cAAc,YAAYC,OAAQ;oBAC/C,OAAO,IAAIZ,WAAWQ,WAAW;gBACnC;gBAEA,OAAOI;YACT;SACD;IACH;IACAC,OAAO;AACT,EAAC"}
|
|
1
|
+
{"version":3,"sources":["../../../src/fields/baseFields/baseIDField.ts"],"sourcesContent":["import ObjectIdImport from 'bson-objectid'\n\nimport type { TextField } from '../config/types.js'\n\nconst ObjectId = (ObjectIdImport.default ||\n ObjectIdImport) as unknown as typeof ObjectIdImport.default\n\nexport const baseIDField: TextField = {\n name: 'id',\n type: 'text',\n admin: {\n hidden: true,\n },\n defaultValue: () => new ObjectId().toHexString(),\n hooks: {\n beforeChange: [\n ({ operation, value }) => {\n // If creating new doc, need to disregard any\n // ids that have been passed in because they will cause\n // primary key unique conflicts in relational DBs\n if (!value || (operation === 'create' && value)) {\n return new ObjectId().toHexString()\n }\n\n return value\n },\n ],\n },\n label: 'ID',\n}\n"],"names":["ObjectIdImport","ObjectId","default","baseIDField","name","type","admin","hidden","defaultValue","toHexString","hooks","beforeChange","operation","value","label"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,OAAOA,oBAAoB,gBAAe;AAI1C,MAAMC,WAAYD,eAAeE,OAAO,IACtCF;AAEF,OAAO,MAAMG,cAAyB;IACpCC,MAAM;IACNC,MAAM;IACNC,OAAO;QACLC,QAAQ;IACV;IACAC,cAAc,IAAM,IAAIP,WAAWQ,WAAW;IAC9CC,OAAO;QACLC,cAAc;YACZ,CAAC,EAAEC,SAAS,EAAEC,KAAK,EAAE;gBACnB,6CAA6C;gBAC7C,uDAAuD;gBACvD,iDAAiD;gBACjD,IAAI,CAACA,SAAUD,cAAc,YAAYC,OAAQ;oBAC/C,OAAO,IAAIZ,WAAWQ,WAAW;gBACnC;gBAEA,OAAOI;YACT;SACD;IACH;IACAC,OAAO;AACT,EAAC"}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import type { TFunction } from '@payloadcms/translations';
|
|
1
2
|
import type { Field, FieldBase } from '../../fields/config/types.js';
|
|
2
3
|
export type ClientFieldConfig = Omit<Field, 'access' | 'defaultValue' | 'hooks' | 'validate'>;
|
|
3
4
|
export type ServerOnlyFieldProperties = 'editor' | 'filterOptions' | 'label' | keyof Pick<FieldBase, 'access' | 'defaultValue' | 'hooks' | 'validate'>;
|
|
4
5
|
export type ServerOnlyFieldAdminProperties = keyof Pick<FieldBase['admin'], 'components' | 'condition' | 'description'>;
|
|
5
|
-
export declare const createClientFieldConfig: (
|
|
6
|
+
export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
7
|
+
field: Field;
|
|
8
|
+
t: TFunction;
|
|
9
|
+
}) => {
|
|
6
10
|
access?: {
|
|
7
11
|
create?: import("../../fields/config/types.js").FieldAccess<any, any, any>;
|
|
8
12
|
read?: import("../../fields/config/types.js").FieldAccess<any, any, any>;
|
|
@@ -45,7 +49,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
45
49
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
46
50
|
};
|
|
47
51
|
index?: boolean;
|
|
48
|
-
label?: string | false | Record<string, string>;
|
|
52
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
49
53
|
localized?: boolean;
|
|
50
54
|
name: string;
|
|
51
55
|
required?: boolean;
|
|
@@ -95,7 +99,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
95
99
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
96
100
|
};
|
|
97
101
|
index?: boolean;
|
|
98
|
-
label?: string | false | Record<string, string>;
|
|
102
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
99
103
|
localized?: boolean;
|
|
100
104
|
name: string;
|
|
101
105
|
required?: boolean;
|
|
@@ -148,7 +152,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
148
152
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
149
153
|
};
|
|
150
154
|
index?: boolean;
|
|
151
|
-
label?: string | false | Record<string, string>;
|
|
155
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
152
156
|
localized?: boolean;
|
|
153
157
|
name: string;
|
|
154
158
|
required?: boolean;
|
|
@@ -174,7 +178,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
174
178
|
defaultValue?: any;
|
|
175
179
|
hidden?: boolean;
|
|
176
180
|
index?: boolean;
|
|
177
|
-
label?: string | false | Record<string, string>;
|
|
181
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
178
182
|
localized?: boolean;
|
|
179
183
|
required?: boolean;
|
|
180
184
|
saveToJWT?: string | boolean;
|
|
@@ -294,7 +298,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
294
298
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
295
299
|
};
|
|
296
300
|
index?: boolean;
|
|
297
|
-
label?: string | false | Record<string, string>;
|
|
301
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
298
302
|
localized?: boolean;
|
|
299
303
|
name: string;
|
|
300
304
|
required?: boolean;
|
|
@@ -345,7 +349,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
345
349
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
346
350
|
};
|
|
347
351
|
index?: boolean;
|
|
348
|
-
label?: string | false | Record<string, string>;
|
|
352
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
349
353
|
localized?: boolean;
|
|
350
354
|
name: string;
|
|
351
355
|
required?: boolean;
|
|
@@ -390,7 +394,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
390
394
|
defaultValue?: any;
|
|
391
395
|
hidden?: boolean;
|
|
392
396
|
index?: boolean;
|
|
393
|
-
label?: string | false | Record<string, string>;
|
|
397
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
394
398
|
localized?: boolean;
|
|
395
399
|
saveToJWT?: string | boolean;
|
|
396
400
|
unique?: boolean;
|
|
@@ -416,7 +420,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
416
420
|
defaultValue?: any;
|
|
417
421
|
hidden?: boolean;
|
|
418
422
|
index?: boolean;
|
|
419
|
-
label?: string | false | Record<string, string>;
|
|
423
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
420
424
|
localized?: boolean;
|
|
421
425
|
required?: boolean;
|
|
422
426
|
saveToJWT?: string | boolean;
|
|
@@ -490,7 +494,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
490
494
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
491
495
|
};
|
|
492
496
|
index?: boolean;
|
|
493
|
-
label?: string | false | Record<string, string>;
|
|
497
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
494
498
|
localized?: boolean;
|
|
495
499
|
name: string;
|
|
496
500
|
required?: boolean;
|
|
@@ -547,7 +551,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
547
551
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
548
552
|
};
|
|
549
553
|
index?: boolean;
|
|
550
|
-
label?: string | false | Record<string, string>;
|
|
554
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
551
555
|
localized?: boolean;
|
|
552
556
|
name: string;
|
|
553
557
|
required?: boolean;
|
|
@@ -594,7 +598,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
594
598
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
595
599
|
};
|
|
596
600
|
index?: boolean;
|
|
597
|
-
label?: string | false | Record<string, string>;
|
|
601
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
598
602
|
localized?: boolean;
|
|
599
603
|
name: string;
|
|
600
604
|
required?: boolean;
|
|
@@ -642,7 +646,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
642
646
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
643
647
|
};
|
|
644
648
|
index?: boolean;
|
|
645
|
-
label?: string | false | Record<string, string>;
|
|
649
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
646
650
|
localized?: boolean;
|
|
647
651
|
name: string;
|
|
648
652
|
required?: boolean;
|
|
@@ -698,7 +702,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
698
702
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
699
703
|
};
|
|
700
704
|
index?: boolean;
|
|
701
|
-
label?: string | false | Record<string, string>;
|
|
705
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
702
706
|
localized?: boolean;
|
|
703
707
|
name: string;
|
|
704
708
|
required?: boolean;
|
|
@@ -759,7 +763,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
759
763
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
760
764
|
};
|
|
761
765
|
index?: boolean;
|
|
762
|
-
label?: string | false | Record<string, string>;
|
|
766
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
763
767
|
localized?: boolean;
|
|
764
768
|
name: string;
|
|
765
769
|
required?: boolean;
|
|
@@ -818,7 +822,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
818
822
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
819
823
|
};
|
|
820
824
|
index?: boolean;
|
|
821
|
-
label?: string | false | Record<string, string>;
|
|
825
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
822
826
|
localized?: boolean;
|
|
823
827
|
name: string;
|
|
824
828
|
required?: boolean;
|
|
@@ -877,7 +881,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
877
881
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
878
882
|
};
|
|
879
883
|
index?: boolean;
|
|
880
|
-
label?: string | false | Record<string, string>;
|
|
884
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
881
885
|
localized?: boolean;
|
|
882
886
|
name: string;
|
|
883
887
|
required?: boolean;
|
|
@@ -932,7 +936,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
932
936
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
933
937
|
};
|
|
934
938
|
index?: boolean;
|
|
935
|
-
label?: string | false | Record<string, string>;
|
|
939
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
936
940
|
localized?: boolean;
|
|
937
941
|
name: string;
|
|
938
942
|
required?: boolean;
|
|
@@ -1007,7 +1011,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
1007
1011
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
1008
1012
|
};
|
|
1009
1013
|
index?: boolean;
|
|
1010
|
-
label?: string | false | Record<string, string>;
|
|
1014
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
1011
1015
|
localized?: boolean;
|
|
1012
1016
|
name: string;
|
|
1013
1017
|
required?: boolean;
|
|
@@ -1036,7 +1040,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
1036
1040
|
defaultValue?: any;
|
|
1037
1041
|
hidden?: boolean;
|
|
1038
1042
|
index?: boolean;
|
|
1039
|
-
label?: string | false | Record<string, string>;
|
|
1043
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
1040
1044
|
required?: boolean;
|
|
1041
1045
|
unique?: boolean;
|
|
1042
1046
|
validate?: import("../../fields/config/types.js").Validate<any, any, any, object>;
|
|
@@ -1087,7 +1091,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
1087
1091
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
1088
1092
|
};
|
|
1089
1093
|
index?: boolean;
|
|
1090
|
-
label?: string | false | Record<string, string>;
|
|
1094
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
1091
1095
|
localized?: boolean;
|
|
1092
1096
|
name: string;
|
|
1093
1097
|
required?: boolean;
|
|
@@ -1144,7 +1148,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
1144
1148
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
1145
1149
|
};
|
|
1146
1150
|
index?: boolean;
|
|
1147
|
-
label?: string | false | Record<string, string>;
|
|
1151
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
1148
1152
|
localized?: boolean;
|
|
1149
1153
|
name: string;
|
|
1150
1154
|
required?: boolean;
|
|
@@ -1201,7 +1205,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
1201
1205
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
1202
1206
|
};
|
|
1203
1207
|
index?: boolean;
|
|
1204
|
-
label?: string | false | Record<string, string>;
|
|
1208
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
1205
1209
|
localized?: boolean;
|
|
1206
1210
|
name: string;
|
|
1207
1211
|
required?: boolean;
|
|
@@ -1266,7 +1270,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
1266
1270
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
1267
1271
|
};
|
|
1268
1272
|
index?: boolean;
|
|
1269
|
-
label?: string | false | Record<string, string>;
|
|
1273
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
1270
1274
|
localized?: boolean;
|
|
1271
1275
|
name: string;
|
|
1272
1276
|
required?: boolean;
|
|
@@ -1278,5 +1282,8 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
1278
1282
|
relationTo: string;
|
|
1279
1283
|
type: "upload";
|
|
1280
1284
|
};
|
|
1281
|
-
export declare const createClientFieldConfigs: (fields
|
|
1285
|
+
export declare const createClientFieldConfigs: ({ fields, t, }: {
|
|
1286
|
+
fields: Field[];
|
|
1287
|
+
t: TFunction;
|
|
1288
|
+
}) => Field[];
|
|
1282
1289
|
//# sourceMappingURL=client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/fields/config/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAA;AAEpE,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,KAAK,EAAE,QAAQ,GAAG,cAAc,GAAG,OAAO,GAAG,UAAU,CAAC,CAAA;AAE7F,MAAM,MAAM,yBAAyB,GACjC,QAAQ,GACR,eAAe,GACf,OAAO,GACP,MAAM,IAAI,CAAC,SAAS,EAAE,QAAQ,GAAG,cAAc,GAAG,OAAO,GAAG,UAAU,CAAC,CAAA;AAE3E,MAAM,MAAM,8BAA8B,GAAG,MAAM,IAAI,CACrD,SAAS,CAAC,OAAO,CAAC,EAClB,YAAY,GAAG,WAAW,GAAG,aAAa,CAC3C,CAAA;AAED,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/fields/config/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AAEzD,OAAO,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAA;AAEpE,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,KAAK,EAAE,QAAQ,GAAG,cAAc,GAAG,OAAO,GAAG,UAAU,CAAC,CAAA;AAE7F,MAAM,MAAM,yBAAyB,GACjC,QAAQ,GACR,eAAe,GACf,OAAO,GACP,MAAM,IAAI,CAAC,SAAS,EAAE,QAAQ,GAAG,cAAc,GAAG,OAAO,GAAG,UAAU,CAAC,CAAA;AAE3E,MAAM,MAAM,8BAA8B,GAAG,MAAM,IAAI,CACrD,SAAS,CAAC,OAAO,CAAC,EAClB,YAAY,GAAG,WAAW,GAAG,aAAa,CAC3C,CAAA;AAED,eAAO,MAAM,uBAAuB,iCAGjC;IACD,KAAK,EAAE,KAAK,CAAA;IACZ,CAAC,EAAE,SAAS,CAAA;CACb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuEA,CAAA;AAED,eAAO,MAAM,wBAAwB,mBAGlC;IACD,MAAM,EAAE,KAAK,EAAE,CAAA;IACf,CAAC,EAAE,SAAS,CAAA;CACb,KAAG,KAAK,EAAkE,CAAA"}
|