payload 3.0.0-alpha.3 → 3.0.0-alpha.30
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/auth.d.ts +5 -5
- package/auth.js +5 -44
- package/bin.js +40 -1
- package/components.d.ts +14 -0
- package/components.js +71 -0
- package/config.d.ts +10 -10
- package/config.js +10 -59
- package/database.d.ts +22 -22
- package/database.js +21 -108
- package/dist/admin/RichText.d.ts +4 -4
- package/dist/admin/RichText.d.ts.map +1 -1
- package/dist/admin/RichText.js +2 -5
- package/dist/admin/elements/Cell.d.ts +2 -2
- package/dist/admin/elements/Cell.d.ts.map +1 -1
- package/dist/admin/elements/Cell.js +2 -5
- package/dist/admin/elements/DatePicker.js +2 -5
- package/dist/admin/elements/PreviewButton.js +2 -5
- package/dist/admin/elements/PublishButton.js +2 -5
- package/dist/admin/elements/SaveButton.js +2 -5
- package/dist/admin/elements/SaveDraftButton.js +2 -5
- package/dist/admin/elements/Tab.d.ts +3 -3
- package/dist/admin/elements/Tab.d.ts.map +1 -1
- package/dist/admin/elements/Tab.js +2 -5
- package/dist/admin/forms/Error.js +2 -5
- package/dist/admin/forms/FieldDescription.js +2 -5
- package/dist/admin/forms/FieldTypes.js +2 -5
- package/dist/admin/forms/Form.d.ts +22 -0
- package/dist/admin/forms/Form.d.ts.map +1 -1
- package/dist/admin/forms/Form.js +2 -5
- package/dist/admin/forms/Label.js +2 -5
- package/dist/admin/forms/RowLabel.d.ts +1 -1
- package/dist/admin/forms/RowLabel.d.ts.map +1 -1
- package/dist/admin/forms/RowLabel.js +2 -5
- package/dist/admin/types.d.ts +19 -18
- package/dist/admin/types.d.ts.map +1 -1
- package/dist/admin/types.js +2 -5
- package/dist/admin/views/types.d.ts +41 -0
- package/dist/admin/views/types.d.ts.map +1 -0
- package/dist/admin/views/types.js +3 -0
- package/dist/assets/assets.d.js +0 -1
- package/dist/auth/baseFields/accountLock.d.ts +1 -1
- package/dist/auth/baseFields/accountLock.d.ts.map +1 -1
- package/dist/auth/baseFields/accountLock.js +6 -16
- package/dist/auth/baseFields/apiKey.d.ts +1 -1
- package/dist/auth/baseFields/apiKey.d.ts.map +1 -1
- package/dist/auth/baseFields/apiKey.js +6 -21
- package/dist/auth/baseFields/auth.d.ts +1 -1
- package/dist/auth/baseFields/auth.d.ts.map +1 -1
- package/dist/auth/baseFields/auth.js +6 -16
- package/dist/auth/baseFields/verification.d.ts +1 -1
- package/dist/auth/baseFields/verification.d.ts.map +1 -1
- package/dist/auth/baseFields/verification.js +8 -18
- package/dist/auth/cookies.d.ts +2 -2
- package/dist/auth/cookies.d.ts.map +1 -1
- package/dist/auth/cookies.js +6 -33
- package/dist/auth/crypto.js +7 -30
- package/dist/auth/defaultAccess.d.ts +1 -1
- package/dist/auth/defaultAccess.d.ts.map +1 -1
- package/dist/auth/defaultAccess.js +2 -12
- package/dist/auth/defaultUser.d.ts +1 -1
- package/dist/auth/defaultUser.d.ts.map +1 -1
- package/dist/auth/defaultUser.js +6 -16
- package/dist/auth/executeAccess.d.ts +2 -2
- package/dist/auth/executeAccess.d.ts.map +1 -1
- package/dist/auth/executeAccess.js +5 -15
- package/dist/auth/extractJWT.d.ts +1 -1
- package/dist/auth/extractJWT.d.ts.map +1 -1
- package/dist/auth/extractJWT.js +4 -14
- package/dist/auth/getAccessResults.d.ts +2 -2
- package/dist/auth/getAccessResults.d.ts.map +1 -1
- package/dist/auth/getAccessResults.js +9 -19
- package/dist/auth/getAuthenticatedUser.d.ts +1 -1
- package/dist/auth/getAuthenticatedUser.d.ts.map +1 -1
- package/dist/auth/getAuthenticatedUser.js +2 -12
- package/dist/auth/getFieldsToSign.d.ts +2 -2
- package/dist/auth/getFieldsToSign.d.ts.map +1 -1
- package/dist/auth/getFieldsToSign.js +5 -15
- package/dist/auth/index.d.ts +3 -3
- package/dist/auth/index.d.ts.map +1 -1
- package/dist/auth/index.js +4 -27
- package/dist/auth/isLocked.js +2 -12
- package/dist/auth/operations/access.d.ts +2 -2
- package/dist/auth/operations/access.d.ts.map +1 -1
- package/dist/auth/operations/access.js +12 -22
- package/dist/auth/operations/forgotPassword.d.ts +2 -2
- package/dist/auth/operations/forgotPassword.d.ts.map +1 -1
- package/dist/auth/operations/forgotPassword.js +17 -32
- package/dist/auth/operations/init.d.ts +1 -1
- package/dist/auth/operations/init.d.ts.map +1 -1
- package/dist/auth/operations/init.js +2 -12
- package/dist/auth/operations/local/forgotPassword.d.ts +3 -3
- package/dist/auth/operations/local/forgotPassword.d.ts.map +1 -1
- package/dist/auth/operations/local/forgotPassword.js +8 -18
- package/dist/auth/operations/local/index.d.ts +5 -5
- package/dist/auth/operations/local/index.d.ts.map +1 -1
- package/dist/auth/operations/local/index.js +12 -27
- package/dist/auth/operations/local/login.d.ts +4 -4
- package/dist/auth/operations/local/login.d.ts.map +1 -1
- package/dist/auth/operations/local/login.js +8 -18
- package/dist/auth/operations/local/resetPassword.d.ts +4 -4
- package/dist/auth/operations/local/resetPassword.d.ts.map +1 -1
- package/dist/auth/operations/local/resetPassword.js +8 -18
- package/dist/auth/operations/local/unlock.d.ts +3 -3
- package/dist/auth/operations/local/unlock.d.ts.map +1 -1
- package/dist/auth/operations/local/unlock.js +8 -18
- package/dist/auth/operations/local/verifyEmail.d.ts +3 -3
- package/dist/auth/operations/local/verifyEmail.d.ts.map +1 -1
- package/dist/auth/operations/local/verifyEmail.js +8 -18
- package/dist/auth/operations/login.d.ts +7 -7
- package/dist/auth/operations/login.d.ts.map +1 -1
- package/dist/auth/operations/login.js +32 -47
- package/dist/auth/operations/logout.d.ts +2 -2
- package/dist/auth/operations/logout.d.ts.map +1 -1
- package/dist/auth/operations/logout.js +6 -21
- package/dist/auth/operations/me.d.ts +3 -3
- package/dist/auth/operations/me.d.ts.map +1 -1
- package/dist/auth/operations/me.js +4 -19
- package/dist/auth/operations/refresh.d.ts +3 -3
- package/dist/auth/operations/refresh.d.ts.map +1 -1
- package/dist/auth/operations/refresh.js +19 -34
- package/dist/auth/operations/registerFirstUser.d.ts +9 -9
- package/dist/auth/operations/registerFirstUser.d.ts.map +1 -1
- package/dist/auth/operations/registerFirstUser.js +11 -21
- package/dist/auth/operations/resetPassword.d.ts +2 -2
- package/dist/auth/operations/resetPassword.d.ts.map +1 -1
- package/dist/auth/operations/resetPassword.js +20 -43
- package/dist/auth/operations/unlock.d.ts +2 -2
- package/dist/auth/operations/unlock.d.ts.map +1 -1
- package/dist/auth/operations/unlock.js +16 -39
- package/dist/auth/operations/verifyEmail.d.ts +2 -2
- package/dist/auth/operations/verifyEmail.d.ts.map +1 -1
- package/dist/auth/operations/verifyEmail.js +14 -37
- package/dist/auth/sendVerificationEmail.d.ts +5 -5
- package/dist/auth/sendVerificationEmail.d.ts.map +1 -1
- package/dist/auth/sendVerificationEmail.js +4 -14
- package/dist/auth/strategies/apiKey.d.ts +2 -2
- package/dist/auth/strategies/apiKey.d.ts.map +1 -1
- package/dist/auth/strategies/apiKey.js +4 -19
- package/dist/auth/strategies/jwt.d.ts +1 -1
- package/dist/auth/strategies/jwt.d.ts.map +1 -1
- package/dist/auth/strategies/jwt.js +6 -21
- package/dist/auth/strategies/local/authenticate.d.ts +1 -1
- package/dist/auth/strategies/local/authenticate.d.ts.map +1 -1
- package/dist/auth/strategies/local/authenticate.js +6 -21
- package/dist/auth/strategies/local/generatePasswordSaltHash.js +7 -22
- package/dist/auth/strategies/local/incrementLoginAttempts.d.ts +3 -3
- package/dist/auth/strategies/local/incrementLoginAttempts.d.ts.map +1 -1
- package/dist/auth/strategies/local/incrementLoginAttempts.js +2 -12
- package/dist/auth/strategies/local/register.d.ts +3 -3
- package/dist/auth/strategies/local/register.d.ts.map +1 -1
- package/dist/auth/strategies/local/register.js +6 -16
- package/dist/auth/strategies/local/resetLoginAttempts.d.ts +3 -3
- package/dist/auth/strategies/local/resetLoginAttempts.d.ts.map +1 -1
- package/dist/auth/strategies/local/resetLoginAttempts.js +2 -12
- package/dist/auth/types.d.ts +2 -2
- package/dist/auth/types.d.ts.map +1 -1
- package/dist/auth/types.js +2 -12
- package/dist/bin/generateTypes.d.ts +1 -1
- package/dist/bin/generateTypes.d.ts.map +1 -1
- package/dist/bin/generateTypes.js +12 -27
- package/dist/bin/index.js +11 -53
- package/dist/bin/loadEnv.js +13 -26
- package/dist/bin/migrate.js +15 -30
- package/dist/collections/config/build.d.ts +1 -1
- package/dist/collections/config/build.d.ts.map +1 -1
- package/dist/collections/config/build.js +2 -12
- package/dist/collections/config/defaults.d.ts +5 -5
- package/dist/collections/config/defaults.js +9 -32
- package/dist/collections/config/sanitize.d.ts +2 -2
- package/dist/collections/config/sanitize.d.ts.map +1 -1
- package/dist/collections/config/sanitize.js +34 -49
- package/dist/collections/config/schema.js +157 -172
- package/dist/collections/config/types.d.ts +13 -13
- package/dist/collections/config/types.d.ts.map +1 -1
- package/dist/collections/config/types.js +2 -5
- package/dist/collections/dataloader.d.ts +2 -2
- package/dist/collections/dataloader.d.ts.map +1 -1
- package/dist/collections/dataloader.js +8 -23
- package/dist/collections/operations/create.d.ts +9 -9
- package/dist/collections/operations/create.d.ts.map +1 -1
- package/dist/collections/operations/create.js +38 -53
- package/dist/collections/operations/delete.d.ts +9 -10
- package/dist/collections/operations/delete.d.ts.map +1 -1
- package/dist/collections/operations/delete.js +27 -42
- package/dist/collections/operations/deleteByID.d.ts +2 -3
- package/dist/collections/operations/deleteByID.d.ts.map +1 -1
- package/dist/collections/operations/deleteByID.js +27 -42
- package/dist/collections/operations/docAccess.d.ts +3 -3
- package/dist/collections/operations/docAccess.d.ts.map +1 -1
- package/dist/collections/operations/docAccess.js +12 -22
- package/dist/collections/operations/find.d.ts +3 -4
- package/dist/collections/operations/find.d.ts.map +1 -1
- package/dist/collections/operations/find.js +25 -40
- package/dist/collections/operations/findByID.d.ts +2 -2
- package/dist/collections/operations/findByID.d.ts.map +1 -1
- package/dist/collections/operations/findByID.js +21 -36
- package/dist/collections/operations/findVersionByID.d.ts +3 -3
- package/dist/collections/operations/findVersionByID.d.ts.map +1 -1
- package/dist/collections/operations/findVersionByID.js +19 -34
- package/dist/collections/operations/findVersions.d.ts +4 -5
- package/dist/collections/operations/findVersions.d.ts.map +1 -1
- package/dist/collections/operations/findVersions.js +20 -35
- package/dist/collections/operations/local/create.d.ts +4 -5
- package/dist/collections/operations/local/create.d.ts.map +1 -1
- package/dist/collections/operations/local/create.js +10 -25
- package/dist/collections/operations/local/delete.d.ts +5 -5
- package/dist/collections/operations/local/delete.d.ts.map +1 -1
- package/dist/collections/operations/local/delete.js +10 -20
- package/dist/collections/operations/local/find.d.ts +3 -4
- package/dist/collections/operations/local/find.d.ts.map +1 -1
- package/dist/collections/operations/local/find.js +8 -18
- package/dist/collections/operations/local/findByID.d.ts +2 -4
- package/dist/collections/operations/local/findByID.d.ts.map +1 -1
- package/dist/collections/operations/local/findByID.js +8 -18
- package/dist/collections/operations/local/findVersionByID.d.ts +3 -4
- package/dist/collections/operations/local/findVersionByID.d.ts.map +1 -1
- package/dist/collections/operations/local/findVersionByID.js +8 -18
- package/dist/collections/operations/local/findVersions.d.ts +4 -5
- package/dist/collections/operations/local/findVersions.d.ts.map +1 -1
- package/dist/collections/operations/local/findVersions.js +8 -18
- package/dist/collections/operations/local/index.d.ts +13 -13
- package/dist/collections/operations/local/index.d.ts.map +1 -1
- package/dist/collections/operations/local/index.js +20 -35
- package/dist/collections/operations/local/restoreVersion.d.ts +2 -3
- package/dist/collections/operations/local/restoreVersion.d.ts.map +1 -1
- package/dist/collections/operations/local/restoreVersion.js +8 -18
- package/dist/collections/operations/local/update.d.ts +4 -5
- package/dist/collections/operations/local/update.d.ts.map +1 -1
- package/dist/collections/operations/local/update.js +12 -27
- package/dist/collections/operations/restoreVersion.d.ts +2 -2
- package/dist/collections/operations/restoreVersion.d.ts.map +1 -1
- package/dist/collections/operations/restoreVersion.js +26 -41
- package/dist/collections/operations/update.d.ts +7 -8
- package/dist/collections/operations/update.d.ts.map +1 -1
- package/dist/collections/operations/update.js +43 -58
- package/dist/collections/operations/updateByID.d.ts +9 -9
- package/dist/collections/operations/updateByID.d.ts.map +1 -1
- package/dist/collections/operations/updateByID.js +44 -59
- package/dist/collections/operations/utils.d.ts +12 -12
- package/dist/collections/operations/utils.d.ts.map +1 -1
- package/dist/collections/operations/utils.js +3 -12
- package/dist/config/build.d.ts +1 -1
- package/dist/config/build.d.ts.map +1 -1
- package/dist/config/build.js +9 -15
- package/dist/config/clientFiles.js +2 -12
- package/dist/config/createClientConfig.d.ts +2 -2
- package/dist/config/createClientConfig.d.ts.map +1 -1
- package/dist/config/createClientConfig.js +12 -25
- package/dist/config/defaults.d.ts +1 -1
- package/dist/config/defaults.d.ts.map +1 -1
- package/dist/config/defaults.js +4 -19
- package/dist/config/find.js +18 -33
- package/dist/config/load.d.ts +2 -4
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/load.js +8 -37
- package/dist/config/sanitize.d.ts +1 -1
- package/dist/config/sanitize.d.ts.map +1 -1
- package/dist/config/sanitize.js +25 -40
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/schema.js +116 -133
- package/dist/config/shared/adminViewSchema.js +9 -24
- package/dist/config/shared/componentSchema.js +21 -50
- package/dist/config/types.d.ts +21 -30
- package/dist/config/types.d.ts.map +1 -1
- package/dist/config/types.js +9 -21
- package/dist/config/validate.d.ts +1 -1
- package/dist/config/validate.d.ts.map +1 -1
- package/dist/config/validate.js +15 -71
- package/dist/database/combineQueries.d.ts +1 -1
- package/dist/database/combineQueries.d.ts.map +1 -1
- package/dist/database/combineQueries.js +4 -14
- package/dist/database/createDatabaseAdapter.d.ts +1 -1
- package/dist/database/createDatabaseAdapter.d.ts.map +1 -1
- package/dist/database/createDatabaseAdapter.js +14 -24
- package/dist/database/flattenWhereToOperators.d.ts +1 -1
- package/dist/database/flattenWhereToOperators.d.ts.map +1 -1
- package/dist/database/flattenWhereToOperators.js +2 -12
- package/dist/database/getLocalizedPaths.d.ts +3 -3
- package/dist/database/getLocalizedPaths.d.ts.map +1 -1
- package/dist/database/getLocalizedPaths.js +7 -22
- package/dist/database/migrations/createMigration.d.ts +1 -1
- package/dist/database/migrations/createMigration.d.ts.map +1 -1
- package/dist/database/migrations/createMigration.js +7 -22
- package/dist/database/migrations/getMigrations.d.ts +2 -2
- package/dist/database/migrations/getMigrations.d.ts.map +1 -1
- package/dist/database/migrations/getMigrations.js +4 -12
- package/dist/database/migrations/migrate.d.ts +1 -1
- package/dist/database/migrations/migrate.d.ts.map +1 -1
- package/dist/database/migrations/migrate.js +12 -22
- package/dist/database/migrations/migrateDown.d.ts +1 -1
- package/dist/database/migrations/migrateDown.d.ts.map +1 -1
- package/dist/database/migrations/migrateDown.js +12 -22
- package/dist/database/migrations/migrateRefresh.d.ts +1 -1
- package/dist/database/migrations/migrateRefresh.d.ts.map +1 -1
- package/dist/database/migrations/migrateRefresh.js +16 -24
- package/dist/database/migrations/migrateReset.d.ts +1 -1
- package/dist/database/migrations/migrateReset.d.ts.map +1 -1
- package/dist/database/migrations/migrateReset.js +12 -22
- package/dist/database/migrations/migrateStatus.d.ts +1 -1
- package/dist/database/migrations/migrateStatus.d.ts.map +1 -1
- package/dist/database/migrations/migrateStatus.js +8 -18
- package/dist/database/migrations/migrationTemplate.js +2 -12
- package/dist/database/migrations/migrationsCollection.d.ts +1 -1
- package/dist/database/migrations/migrationsCollection.d.ts.map +1 -1
- package/dist/database/migrations/migrationsCollection.js +2 -12
- package/dist/database/migrations/readMigrationFiles.d.ts +2 -2
- package/dist/database/migrations/readMigrationFiles.d.ts.map +1 -1
- package/dist/database/migrations/readMigrationFiles.js +12 -24
- package/dist/database/queryValidation/types.d.ts +2 -2
- package/dist/database/queryValidation/types.d.ts.map +1 -1
- package/dist/database/queryValidation/types.js +2 -5
- package/dist/database/queryValidation/validateQueryPaths.d.ts +5 -5
- package/dist/database/queryValidation/validateQueryPaths.d.ts.map +1 -1
- package/dist/database/queryValidation/validateQueryPaths.js +13 -28
- package/dist/database/queryValidation/validateSearchParams.d.ts +5 -5
- package/dist/database/queryValidation/validateSearchParams.d.ts.map +1 -1
- package/dist/database/queryValidation/validateSearchParams.js +17 -25
- package/dist/database/types.d.ts +9 -7
- package/dist/database/types.d.ts.map +1 -1
- package/dist/database/types.js +2 -5
- package/dist/email/build.d.ts +2 -2
- package/dist/email/build.d.ts.map +1 -1
- package/dist/email/build.js +11 -26
- package/dist/email/defaults.d.ts +1 -1
- package/dist/email/defaults.d.ts.map +1 -1
- package/dist/email/defaults.js +2 -12
- package/dist/email/mockHandler.d.ts +2 -2
- package/dist/email/mockHandler.d.ts.map +1 -1
- package/dist/email/mockHandler.js +8 -23
- package/dist/email/sendEmail.js +2 -12
- package/dist/email/types.js +2 -5
- package/dist/errors/APIError.js +4 -19
- package/dist/errors/AuthenticationError.d.ts +1 -1
- package/dist/errors/AuthenticationError.d.ts.map +1 -1
- package/dist/errors/AuthenticationError.js +7 -22
- package/dist/errors/DuplicateCollection.d.ts +1 -1
- package/dist/errors/DuplicateCollection.d.ts.map +1 -1
- package/dist/errors/DuplicateCollection.js +4 -19
- package/dist/errors/DuplicateFieldName.d.ts +1 -1
- package/dist/errors/DuplicateFieldName.d.ts.map +1 -1
- package/dist/errors/DuplicateFieldName.js +4 -19
- package/dist/errors/DuplicateGlobal.d.ts +2 -2
- package/dist/errors/DuplicateGlobal.d.ts.map +1 -1
- package/dist/errors/DuplicateGlobal.js +4 -19
- package/dist/errors/ErrorDeletingFile.d.ts +1 -1
- package/dist/errors/ErrorDeletingFile.d.ts.map +1 -1
- package/dist/errors/ErrorDeletingFile.js +7 -22
- package/dist/errors/FileUploadError.d.ts +1 -1
- package/dist/errors/FileUploadError.d.ts.map +1 -1
- package/dist/errors/FileUploadError.js +7 -22
- package/dist/errors/Forbidden.d.ts +1 -1
- package/dist/errors/Forbidden.d.ts.map +1 -1
- package/dist/errors/Forbidden.js +7 -22
- package/dist/errors/InvalidConfiguration.d.ts +1 -1
- package/dist/errors/InvalidConfiguration.d.ts.map +1 -1
- package/dist/errors/InvalidConfiguration.js +6 -21
- package/dist/errors/InvalidFieldName.d.ts +2 -2
- package/dist/errors/InvalidFieldName.d.ts.map +1 -1
- package/dist/errors/InvalidFieldName.js +4 -19
- package/dist/errors/InvalidFieldRelationship.d.ts +2 -2
- package/dist/errors/InvalidFieldRelationship.d.ts.map +1 -1
- package/dist/errors/InvalidFieldRelationship.js +4 -19
- package/dist/errors/InvalidSchema.d.ts +1 -1
- package/dist/errors/InvalidSchema.d.ts.map +1 -1
- package/dist/errors/InvalidSchema.js +6 -21
- package/dist/errors/LockedAuth.d.ts +1 -1
- package/dist/errors/LockedAuth.d.ts.map +1 -1
- package/dist/errors/LockedAuth.js +7 -22
- package/dist/errors/MissingCollectionLabel.d.ts +1 -1
- package/dist/errors/MissingCollectionLabel.d.ts.map +1 -1
- package/dist/errors/MissingCollectionLabel.js +4 -19
- package/dist/errors/MissingFieldInputOptions.d.ts +2 -2
- package/dist/errors/MissingFieldInputOptions.d.ts.map +1 -1
- package/dist/errors/MissingFieldInputOptions.js +4 -19
- package/dist/errors/MissingFieldType.d.ts +2 -2
- package/dist/errors/MissingFieldType.d.ts.map +1 -1
- package/dist/errors/MissingFieldType.js +6 -21
- package/dist/errors/MissingFile.d.ts +1 -1
- package/dist/errors/MissingFile.d.ts.map +1 -1
- package/dist/errors/MissingFile.js +7 -22
- package/dist/errors/NotFound.d.ts +1 -1
- package/dist/errors/NotFound.d.ts.map +1 -1
- package/dist/errors/NotFound.js +7 -22
- package/dist/errors/QueryError.d.ts +1 -1
- package/dist/errors/QueryError.d.ts.map +1 -1
- package/dist/errors/QueryError.js +6 -21
- package/dist/errors/TimestampsRequired.d.ts +2 -2
- package/dist/errors/TimestampsRequired.d.ts.map +1 -1
- package/dist/errors/TimestampsRequired.js +4 -19
- package/dist/errors/UnathorizedError.d.ts +1 -1
- package/dist/errors/UnathorizedError.d.ts.map +1 -1
- package/dist/errors/UnathorizedError.js +7 -22
- package/dist/errors/ValidationError.d.ts +1 -1
- package/dist/errors/ValidationError.d.ts.map +1 -1
- package/dist/errors/ValidationError.js +8 -23
- package/dist/errors/index.d.ts +19 -19
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/errors/index.js +20 -94
- package/dist/errors/types.d.ts +1 -1
- package/dist/errors/types.d.ts.map +1 -1
- package/dist/errors/types.js +2 -19
- package/dist/exports/auth.d.ts +5 -5
- package/dist/exports/auth.d.ts.map +1 -1
- package/dist/exports/auth.js +5 -44
- package/dist/exports/components/utilities.js +0 -1
- package/dist/exports/config.d.ts +10 -10
- package/dist/exports/config.d.ts.map +1 -1
- package/dist/exports/config.js +10 -59
- package/dist/exports/database.d.ts +22 -22
- package/dist/exports/database.d.ts.map +1 -1
- package/dist/exports/database.js +21 -108
- package/dist/exports/errors.d.ts +1 -1
- package/dist/exports/errors.d.ts.map +1 -1
- package/dist/exports/errors.js +2 -68
- package/dist/exports/fields/index.d.ts +2 -2
- package/dist/exports/fields/index.d.ts.map +1 -1
- package/dist/exports/fields/index.js +3 -26
- package/dist/exports/fields/validations.d.ts +1 -1
- package/dist/exports/fields/validations.d.ts.map +1 -1
- package/dist/exports/fields/validations.js +2 -19
- package/dist/exports/operations.d.ts +28 -28
- package/dist/exports/operations.d.ts.map +1 -1
- package/dist/exports/operations.js +29 -125
- package/dist/exports/types.d.ts +11 -11
- package/dist/exports/types.d.ts.map +1 -1
- package/dist/exports/types.js +4 -74
- package/dist/exports/utilities.d.ts +27 -27
- package/dist/exports/utilities.d.ts.map +1 -1
- package/dist/exports/utilities.js +28 -141
- package/dist/exports/versions.d.ts +9 -9
- package/dist/exports/versions.d.ts.map +1 -1
- package/dist/exports/versions.js +9 -45
- package/dist/fields/baseFields/baseBlockFields.d.ts +1 -1
- package/dist/fields/baseFields/baseBlockFields.d.ts.map +1 -1
- package/dist/fields/baseFields/baseBlockFields.js +6 -16
- package/dist/fields/baseFields/baseIDField.d.ts +1 -1
- package/dist/fields/baseFields/baseIDField.d.ts.map +1 -1
- package/dist/fields/baseFields/baseIDField.js +7 -21
- package/dist/fields/config/sanitize.d.ts +2 -2
- package/dist/fields/config/sanitize.d.ts.map +1 -1
- package/dist/fields/config/sanitize.js +28 -43
- package/dist/fields/config/sanitize.spec.js +25 -29
- package/dist/fields/config/schema.js +336 -431
- package/dist/fields/config/types.d.ts +5 -6
- package/dist/fields/config/types.d.ts.map +1 -1
- package/dist/fields/config/types.js +15 -69
- package/dist/fields/getDefaultValue.d.ts +1 -1
- package/dist/fields/getDefaultValue.d.ts.map +1 -1
- package/dist/fields/getDefaultValue.js +2 -12
- package/dist/fields/hooks/afterChange/index.d.ts +3 -3
- package/dist/fields/hooks/afterChange/index.d.ts.map +1 -1
- package/dist/fields/hooks/afterChange/index.js +6 -16
- package/dist/fields/hooks/afterChange/promise.d.ts +4 -4
- package/dist/fields/hooks/afterChange/promise.d.ts.map +1 -1
- package/dist/fields/hooks/afterChange/promise.js +14 -22
- package/dist/fields/hooks/afterChange/traverseFields.d.ts +4 -4
- package/dist/fields/hooks/afterChange/traverseFields.d.ts.map +1 -1
- package/dist/fields/hooks/afterChange/traverseFields.js +4 -14
- package/dist/fields/hooks/afterRead/index.d.ts +3 -3
- package/dist/fields/hooks/afterRead/index.d.ts.map +1 -1
- package/dist/fields/hooks/afterRead/index.js +6 -16
- package/dist/fields/hooks/afterRead/promise.d.ts +4 -4
- package/dist/fields/hooks/afterRead/promise.d.ts.map +1 -1
- package/dist/fields/hooks/afterRead/promise.js +28 -38
- package/dist/fields/hooks/afterRead/relationshipPopulationPromise.d.ts +2 -2
- package/dist/fields/hooks/afterRead/relationshipPopulationPromise.d.ts.map +1 -1
- package/dist/fields/hooks/afterRead/relationshipPopulationPromise.js +5 -15
- package/dist/fields/hooks/afterRead/traverseFields.d.ts +4 -4
- package/dist/fields/hooks/afterRead/traverseFields.d.ts.map +1 -1
- package/dist/fields/hooks/afterRead/traverseFields.js +4 -14
- package/dist/fields/hooks/beforeChange/cloneDataFromOriginalDoc.js +2 -12
- package/dist/fields/hooks/beforeChange/getExistingRowDoc.js +2 -12
- package/dist/fields/hooks/beforeChange/index.d.ts +3 -4
- package/dist/fields/hooks/beforeChange/index.d.ts.map +1 -1
- package/dist/fields/hooks/beforeChange/index.js +8 -18
- package/dist/fields/hooks/beforeChange/promise.d.ts +4 -5
- package/dist/fields/hooks/beforeChange/promise.d.ts.map +1 -1
- package/dist/fields/hooks/beforeChange/promise.js +26 -35
- package/dist/fields/hooks/beforeChange/traverseFields.d.ts +4 -5
- package/dist/fields/hooks/beforeChange/traverseFields.d.ts.map +1 -1
- package/dist/fields/hooks/beforeChange/traverseFields.js +4 -14
- package/dist/fields/hooks/beforeValidate/index.d.ts +3 -3
- package/dist/fields/hooks/beforeValidate/index.d.ts.map +1 -1
- package/dist/fields/hooks/beforeValidate/index.js +6 -16
- package/dist/fields/hooks/beforeValidate/promise.d.ts +4 -4
- package/dist/fields/hooks/beforeValidate/promise.d.ts.map +1 -1
- package/dist/fields/hooks/beforeValidate/promise.js +30 -39
- package/dist/fields/hooks/beforeValidate/traverseFields.d.ts +4 -4
- package/dist/fields/hooks/beforeValidate/traverseFields.d.ts.map +1 -1
- package/dist/fields/hooks/beforeValidate/traverseFields.js +4 -14
- package/dist/fields/mergeBaseFields.d.ts +1 -1
- package/dist/fields/mergeBaseFields.d.ts.map +1 -1
- package/dist/fields/mergeBaseFields.js +8 -23
- package/dist/fields/sortableFieldTypes.js +2 -12
- package/dist/fields/validations.d.ts +6 -6
- package/dist/fields/validations.d.ts.map +1 -1
- package/dist/fields/validations.js +31 -97
- package/dist/fields/validations.spec.js +93 -87
- package/dist/globals/config/sanitize.d.ts +2 -2
- package/dist/globals/config/sanitize.d.ts.map +1 -1
- package/dist/globals/config/sanitize.js +19 -34
- package/dist/globals/config/schema.js +55 -70
- package/dist/globals/config/types.d.ts +11 -11
- package/dist/globals/config/types.d.ts.map +1 -1
- package/dist/globals/config/types.js +2 -5
- package/dist/globals/operations/docAccess.d.ts +3 -3
- package/dist/globals/operations/docAccess.d.ts.map +1 -1
- package/dist/globals/operations/docAccess.js +12 -22
- package/dist/globals/operations/findOne.d.ts +2 -2
- package/dist/globals/operations/findOne.d.ts.map +1 -1
- package/dist/globals/operations/findOne.js +14 -29
- package/dist/globals/operations/findVersionByID.d.ts +3 -3
- package/dist/globals/operations/findVersionByID.d.ts.map +1 -1
- package/dist/globals/operations/findVersionByID.js +18 -33
- package/dist/globals/operations/findVersions.d.ts +4 -5
- package/dist/globals/operations/findVersions.d.ts.map +1 -1
- package/dist/globals/operations/findVersions.js +20 -35
- package/dist/globals/operations/local/findOne.d.ts +2 -4
- package/dist/globals/operations/local/findOne.d.ts.map +1 -1
- package/dist/globals/operations/local/findOne.js +11 -21
- package/dist/globals/operations/local/findVersionByID.d.ts +3 -5
- package/dist/globals/operations/local/findVersionByID.d.ts.map +1 -1
- package/dist/globals/operations/local/findVersionByID.js +9 -19
- package/dist/globals/operations/local/findVersions.d.ts +4 -6
- package/dist/globals/operations/local/findVersions.d.ts.map +1 -1
- package/dist/globals/operations/local/findVersions.js +9 -19
- package/dist/globals/operations/local/index.d.ts +5 -5
- package/dist/globals/operations/local/index.d.ts.map +1 -1
- package/dist/globals/operations/local/index.js +12 -27
- package/dist/globals/operations/local/restoreVersion.d.ts +2 -4
- package/dist/globals/operations/local/restoreVersion.d.ts.map +1 -1
- package/dist/globals/operations/local/restoreVersion.js +9 -19
- package/dist/globals/operations/local/update.d.ts +2 -4
- package/dist/globals/operations/local/update.d.ts.map +1 -1
- package/dist/globals/operations/local/update.js +9 -19
- package/dist/globals/operations/restoreVersion.d.ts +3 -3
- package/dist/globals/operations/restoreVersion.d.ts.map +1 -1
- package/dist/globals/operations/restoreVersion.js +16 -31
- package/dist/globals/operations/update.d.ts +9 -9
- package/dist/globals/operations/update.d.ts.map +1 -1
- package/dist/globals/operations/update.js +23 -38
- package/dist/index.d.ts +29 -29
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +50 -70
- package/dist/localization/middleware.js +2 -12
- package/dist/localization/sanitizeFallbackLocale.js +2 -12
- package/dist/preferences/deleteUserPreferences.d.ts +3 -3
- package/dist/preferences/deleteUserPreferences.d.ts.map +1 -1
- package/dist/preferences/deleteUserPreferences.js +2 -12
- package/dist/preferences/operations/delete.d.ts +2 -2
- package/dist/preferences/operations/delete.d.ts.map +1 -1
- package/dist/preferences/operations/delete.js +10 -25
- package/dist/preferences/operations/findOne.d.ts +2 -2
- package/dist/preferences/operations/findOne.d.ts.map +1 -1
- package/dist/preferences/operations/findOne.js +2 -12
- package/dist/preferences/operations/update.d.ts +1 -1
- package/dist/preferences/operations/update.d.ts.map +1 -1
- package/dist/preferences/operations/update.js +8 -23
- package/dist/preferences/preferencesCollection.d.ts +2 -2
- package/dist/preferences/preferencesCollection.d.ts.map +1 -1
- package/dist/preferences/preferencesCollection.js +8 -18
- package/dist/preferences/requestHandlers/delete.d.ts +1 -1
- package/dist/preferences/requestHandlers/delete.d.ts.map +1 -1
- package/dist/preferences/requestHandlers/delete.js +6 -21
- package/dist/preferences/requestHandlers/findOne.d.ts +1 -1
- package/dist/preferences/requestHandlers/findOne.d.ts.map +1 -1
- package/dist/preferences/requestHandlers/findOne.js +6 -21
- package/dist/preferences/requestHandlers/update.d.ts +1 -1
- package/dist/preferences/requestHandlers/update.d.ts.map +1 -1
- package/dist/preferences/requestHandlers/update.js +6 -21
- package/dist/preferences/types.d.ts +2 -2
- package/dist/preferences/types.d.ts.map +1 -1
- package/dist/preferences/types.js +2 -5
- package/dist/translations/extractTranslations.js +4 -14
- package/dist/translations/getLocalI18n.d.ts +1 -1
- package/dist/translations/getLocalI18n.d.ts.map +1 -1
- package/dist/translations/getLocalI18n.js +5 -15
- package/dist/types/constants.js +2 -12
- package/dist/types/index.d.ts +8 -6
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -12
- package/dist/uploads/canResizeImage.js +2 -12
- package/dist/uploads/cropImage.d.ts +3 -7
- package/dist/uploads/cropImage.d.ts.map +1 -1
- package/dist/uploads/cropImage.js +4 -28
- package/dist/uploads/deleteAssociatedFiles.d.ts +4 -4
- package/dist/uploads/deleteAssociatedFiles.d.ts.map +1 -1
- package/dist/uploads/deleteAssociatedFiles.js +11 -26
- package/dist/uploads/docWithFilenameExists.d.ts +1 -1
- package/dist/uploads/docWithFilenameExists.d.ts.map +1 -1
- package/dist/uploads/docWithFilenameExists.js +2 -12
- package/dist/uploads/fileExists.js +4 -19
- package/dist/uploads/formatFilesize.js +2 -12
- package/dist/uploads/generateFileData.d.ts +4 -4
- package/dist/uploads/generateFileData.d.ts.map +1 -1
- package/dist/uploads/generateFileData.js +42 -55
- package/dist/uploads/getBaseFields.d.ts +3 -3
- package/dist/uploads/getBaseFields.d.ts.map +1 -1
- package/dist/uploads/getBaseFields.js +6 -16
- package/dist/uploads/getExternalFile.d.ts +2 -2
- package/dist/uploads/getExternalFile.d.ts.map +1 -1
- package/dist/uploads/getExternalFile.js +5 -15
- package/dist/uploads/getFileByPath.d.ts +1 -1
- package/dist/uploads/getFileByPath.d.ts.map +1 -1
- package/dist/uploads/getFileByPath.js +11 -25
- package/dist/uploads/getImageSize.d.ts +2 -2
- package/dist/uploads/getImageSize.d.ts.map +1 -1
- package/dist/uploads/getImageSize.js +7 -22
- package/dist/uploads/getSafeFilename.d.ts +1 -1
- package/dist/uploads/getSafeFilename.d.ts.map +1 -1
- package/dist/uploads/getSafeFilename.js +8 -23
- package/dist/uploads/imageResizer.d.ts +6 -5
- package/dist/uploads/imageResizer.d.ts.map +1 -1
- package/dist/uploads/imageResizer.js +29 -44
- package/dist/uploads/isImage.js +2 -12
- package/dist/uploads/mimeTypeValidator.d.ts +1 -1
- package/dist/uploads/mimeTypeValidator.d.ts.map +1 -1
- package/dist/uploads/mimeTypeValidator.js +2 -12
- package/dist/uploads/mimeTypeValidator.spec.js +11 -15
- package/dist/uploads/saveBufferToFile.d.ts +1 -1
- package/dist/uploads/saveBufferToFile.js +6 -21
- package/dist/uploads/types.d.ts +8 -2
- package/dist/uploads/types.d.ts.map +1 -1
- package/dist/uploads/types.js +2 -5
- package/dist/uploads/unlinkTempFiles.d.ts +3 -3
- package/dist/uploads/unlinkTempFiles.d.ts.map +1 -1
- package/dist/uploads/unlinkTempFiles.js +9 -22
- package/dist/uploads/uploadFiles.d.ts +3 -3
- package/dist/uploads/uploadFiles.d.ts.map +1 -1
- package/dist/uploads/uploadFiles.js +6 -21
- package/dist/utilities/checkDuplicateCollections.d.ts +1 -1
- package/dist/utilities/checkDuplicateCollections.d.ts.map +1 -1
- package/dist/utilities/checkDuplicateCollections.js +4 -14
- package/dist/utilities/combineMerge.js +4 -19
- package/dist/utilities/commitTransaction.d.ts +1 -1
- package/dist/utilities/commitTransaction.d.ts.map +1 -1
- package/dist/utilities/commitTransaction.js +4 -12
- package/dist/utilities/configToJSONSchema.d.ts +4 -4
- package/dist/utilities/configToJSONSchema.d.ts.map +1 -1
- package/dist/utilities/configToJSONSchema.js +63 -81
- package/dist/utilities/configToJSONSchema.spec.js +5 -9
- package/dist/utilities/convertData.js +3 -23
- package/dist/utilities/createArrayFromCommaDelineated.js +2 -12
- package/dist/utilities/createLocalReq.d.ts +3 -3
- package/dist/utilities/createLocalReq.d.ts.map +1 -1
- package/dist/utilities/createLocalReq.js +7 -16
- package/dist/utilities/deepCopyObject.js +2 -12
- package/dist/utilities/deepMerge.js +2 -12
- package/dist/utilities/fieldSchemaToJSON.d.ts +2 -2
- package/dist/utilities/fieldSchemaToJSON.d.ts.map +1 -1
- package/dist/utilities/fieldSchemaToJSON.js +2 -12
- package/dist/utilities/flattenTopLevelFields.d.ts +1 -1
- package/dist/utilities/flattenTopLevelFields.d.ts.map +1 -1
- package/dist/utilities/flattenTopLevelFields.js +6 -16
- package/dist/utilities/formatLabels.d.ts +2 -1
- package/dist/utilities/formatLabels.d.ts.map +1 -1
- package/dist/utilities/formatLabels.js +10 -70
- package/dist/utilities/formatLabels.spec.js +8 -12
- package/dist/utilities/getCSSVariable.js +2 -12
- package/dist/utilities/getEntityPolicies.d.ts +4 -4
- package/dist/utilities/getEntityPolicies.d.ts.map +1 -1
- package/dist/utilities/getEntityPolicies.js +4 -14
- package/dist/utilities/getIDType.d.ts +2 -2
- package/dist/utilities/getIDType.d.ts.map +1 -1
- package/dist/utilities/getIDType.js +2 -12
- package/dist/utilities/getObjectDotNotation.js +2 -12
- package/dist/utilities/getUniqueListBy.js +2 -12
- package/dist/utilities/initTransaction.d.ts +1 -1
- package/dist/utilities/initTransaction.d.ts.map +1 -1
- package/dist/utilities/initTransaction.js +5 -12
- package/dist/utilities/isEntityHidden.d.ts +2 -2
- package/dist/utilities/isEntityHidden.d.ts.map +1 -1
- package/dist/utilities/isEntityHidden.js +2 -12
- package/dist/utilities/isNumber.js +2 -12
- package/dist/utilities/isPlainObject.d.ts +2 -0
- package/dist/utilities/isPlainObject.d.ts.map +1 -0
- package/dist/utilities/isPlainObject.js +25 -0
- package/dist/utilities/isValidID.d.ts.map +1 -1
- package/dist/utilities/isValidID.js +6 -20
- package/dist/utilities/isolateObjectProperty.js +2 -12
- package/dist/utilities/killTransaction.d.ts +1 -1
- package/dist/utilities/killTransaction.d.ts.map +1 -1
- package/dist/utilities/killTransaction.js +4 -12
- package/dist/utilities/logger.d.ts +6 -6
- package/dist/utilities/logger.d.ts.map +1 -1
- package/dist/utilities/logger.js +18 -37
- package/dist/utilities/mapAsync.js +2 -12
- package/dist/utilities/overwriteMerge.js +2 -12
- package/dist/utilities/parseCookies.js +4 -14
- package/dist/utilities/sanitizeInternalFields.js +2 -12
- package/dist/utilities/setsAreEqual.js +2 -12
- package/dist/utilities/telemetry/events/adminInit.d.ts +2 -2
- package/dist/utilities/telemetry/events/adminInit.d.ts.map +1 -1
- package/dist/utilities/telemetry/events/adminInit.js +7 -17
- package/dist/utilities/telemetry/events/serverInit.d.ts +1 -1
- package/dist/utilities/telemetry/events/serverInit.d.ts.map +1 -1
- package/dist/utilities/telemetry/events/serverInit.js +4 -14
- package/dist/utilities/telemetry/index.d.ts +3 -3
- package/dist/utilities/telemetry/index.d.ts.map +1 -1
- package/dist/utilities/telemetry/index.js +18 -40
- package/dist/utilities/telemetry/oneWayHash.js +4 -14
- package/dist/utilities/timestamp.js +2 -12
- package/dist/utilities/toKebabCase.js +2 -12
- package/dist/utilities/wait.js +2 -12
- package/dist/utilities/wordBoundariesRegex.js +3 -13
- package/dist/versions/baseFields.d.ts +1 -1
- package/dist/versions/baseFields.d.ts.map +1 -1
- package/dist/versions/baseFields.js +7 -25
- package/dist/versions/buildCollectionFields.d.ts +2 -2
- package/dist/versions/buildCollectionFields.d.ts.map +1 -1
- package/dist/versions/buildCollectionFields.js +2 -12
- package/dist/versions/buildGlobalFields.d.ts +2 -2
- package/dist/versions/buildGlobalFields.d.ts.map +1 -1
- package/dist/versions/buildGlobalFields.js +12 -22
- package/dist/versions/deleteCollectionVersions.d.ts +3 -3
- package/dist/versions/deleteCollectionVersions.d.ts.map +1 -1
- package/dist/versions/deleteCollectionVersions.js +2 -12
- package/dist/versions/drafts/appendVersionToQueryKey.d.ts +1 -1
- package/dist/versions/drafts/appendVersionToQueryKey.d.ts.map +1 -1
- package/dist/versions/drafts/appendVersionToQueryKey.js +2 -12
- package/dist/versions/drafts/getQueryDraftsSort.js +2 -12
- package/dist/versions/drafts/replaceWithDraftIfAvailable.d.ts +4 -4
- package/dist/versions/drafts/replaceWithDraftIfAvailable.d.ts.map +1 -1
- package/dist/versions/drafts/replaceWithDraftIfAvailable.js +12 -27
- package/dist/versions/enforceMaxVersions.d.ts +3 -3
- package/dist/versions/enforceMaxVersions.d.ts.map +1 -1
- package/dist/versions/enforceMaxVersions.js +2 -12
- package/dist/versions/getLatestCollectionVersion.d.ts +3 -3
- package/dist/versions/getLatestCollectionVersion.d.ts.map +1 -1
- package/dist/versions/getLatestCollectionVersion.js +4 -14
- package/dist/versions/getLatestGlobalVersion.d.ts +3 -3
- package/dist/versions/getLatestGlobalVersion.d.ts.map +1 -1
- package/dist/versions/getLatestGlobalVersion.js +5 -15
- package/dist/versions/getVersionsModelName.d.ts +2 -2
- package/dist/versions/getVersionsModelName.d.ts.map +1 -1
- package/dist/versions/getVersionsModelName.js +2 -12
- package/dist/versions/saveVersion.d.ts +4 -4
- package/dist/versions/saveVersion.d.ts.map +1 -1
- package/dist/versions/saveVersion.js +8 -23
- package/dist/versions/types.js +2 -5
- package/errors.d.ts +1 -1
- package/errors.js +2 -68
- package/graphql.d.ts +3 -0
- package/graphql.js +27 -0
- package/operations.d.ts +28 -28
- package/operations.js +29 -125
- package/package.json +17 -6
- package/types.d.ts +11 -11
- package/types.js +4 -74
- package/utilities.d.ts +27 -27
- package/utilities.js +28 -141
- package/versions.d.ts +9 -9
- package/versions.js +9 -45
- package/.eslintrc.js +0 -58
- package/dist/bundlers/mocks/db-mongodb.js +0 -3
- package/dist/bundlers/mocks/db-postgres.js +0 -13
- package/dist/bundlers/mocks/dotENV.js +0 -15
- package/dist/bundlers/mocks/emptyModule.js +0 -13
- package/dist/bundlers/mocks/fileMock.js +0 -13
- package/dist/bundlers/types.d.ts +0 -8
- package/dist/bundlers/types.d.ts.map +0 -1
- package/dist/bundlers/types.js +0 -6
- package/dist/express/middleware/errorHandler.d.ts +0 -2
- package/dist/express/middleware/errorHandler.d.ts.map +0 -1
- package/dist/express/middleware/errorHandler.js +0 -3
- package/dist/express/middleware/index.d.ts +0 -2
- package/dist/express/middleware/index.d.ts.map +0 -1
- package/dist/express/middleware/index.js +0 -3
- package/dist/globals/config/build.d.ts +0 -2
- package/dist/globals/config/build.d.ts.map +0 -1
- package/dist/globals/config/build.js +0 -3
- package/dist/globals/graphql/resolvers/docAccess.d.ts +0 -2
- package/dist/globals/graphql/resolvers/docAccess.d.ts.map +0 -1
- package/dist/globals/graphql/resolvers/docAccess.js +0 -3
package/auth.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './dist/auth';
|
|
2
|
-
export { default as executeAccess } from './dist/auth/executeAccess';
|
|
3
|
-
export { getAccessResults } from './dist/auth/getAccessResults';
|
|
4
|
-
export { getAuthenticatedUser } from './dist/auth/getAuthenticatedUser';
|
|
5
|
-
export type { AuthStrategyFunction, AuthStrategyFunctionArgs, CollectionPermission, FieldPermissions, GlobalPermission, IncomingAuthType, Permission, Permissions, User, VerifyConfig, } from './dist/auth/types';
|
|
1
|
+
export * from './dist/auth/index.js';
|
|
2
|
+
export { default as executeAccess } from './dist/auth/executeAccess.js';
|
|
3
|
+
export { getAccessResults } from './dist/auth/getAccessResults.js';
|
|
4
|
+
export { getAuthenticatedUser } from './dist/auth/getAuthenticatedUser.js';
|
|
5
|
+
export type { AuthStrategyFunction, AuthStrategyFunctionArgs, CollectionPermission, FieldPermissions, GlobalPermission, IncomingAuthType, Permission, Permissions, User, VerifyConfig, } from './dist/auth/types.d.ts';
|
|
6
6
|
//# sourceMappingURL=auth.d.ts.map
|
package/auth.js
CHANGED
|
@@ -1,45 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
function _export(target, all) {
|
|
6
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: all[name]
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
_export(exports, {
|
|
12
|
-
executeAccess: function() {
|
|
13
|
-
return _executeAccess.default;
|
|
14
|
-
},
|
|
15
|
-
getAccessResults: function() {
|
|
16
|
-
return _getAccessResults.getAccessResults;
|
|
17
|
-
},
|
|
18
|
-
getAuthenticatedUser: function() {
|
|
19
|
-
return _getAuthenticatedUser.getAuthenticatedUser;
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
_export_star(require("./dist/auth"), exports);
|
|
23
|
-
const _executeAccess = /*#__PURE__*/ _interop_require_default(require("./dist/auth/executeAccess"));
|
|
24
|
-
const _getAccessResults = require("./dist/auth/getAccessResults");
|
|
25
|
-
const _getAuthenticatedUser = require("./dist/auth/getAuthenticatedUser");
|
|
26
|
-
function _export_star(from, to) {
|
|
27
|
-
Object.keys(from).forEach(function(k) {
|
|
28
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
29
|
-
Object.defineProperty(to, k, {
|
|
30
|
-
enumerable: true,
|
|
31
|
-
get: function() {
|
|
32
|
-
return from[k];
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
return from;
|
|
38
|
-
}
|
|
39
|
-
function _interop_require_default(obj) {
|
|
40
|
-
return obj && obj.__esModule ? obj : {
|
|
41
|
-
default: obj
|
|
42
|
-
};
|
|
43
|
-
}
|
|
1
|
+
export * from './dist/auth/index.js';
|
|
2
|
+
export { default as executeAccess } from './dist/auth/executeAccess.js';
|
|
3
|
+
export { getAccessResults } from './dist/auth/getAccessResults.js';
|
|
4
|
+
export { getAuthenticatedUser } from './dist/auth/getAuthenticatedUser.js';
|
|
44
5
|
|
|
45
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9leHBvcnRzL2F1dGgudHMiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi4vYXV0aC9pbmRleC5qcydcbmV4cG9ydCB7IGRlZmF1bHQgYXMgZXhlY3V0ZUFjY2VzcyB9IGZyb20gJy4uL2F1dGgvZXhlY3V0ZUFjY2Vzcy5qcydcbmV4cG9ydCB7IGdldEFjY2Vzc1Jlc3VsdHMgfSBmcm9tICcuLi9hdXRoL2dldEFjY2Vzc1Jlc3VsdHMuanMnXG5leHBvcnQgeyBnZXRBdXRoZW50aWNhdGVkVXNlciB9IGZyb20gJy4uL2F1dGgvZ2V0QXV0aGVudGljYXRlZFVzZXIuanMnXG5cbmV4cG9ydCB0eXBlIHtcbiAgQXV0aFN0cmF0ZWd5RnVuY3Rpb24sXG4gIEF1dGhTdHJhdGVneUZ1bmN0aW9uQXJncyxcbiAgQ29sbGVjdGlvblBlcm1pc3Npb24sXG4gIEZpZWxkUGVybWlzc2lvbnMsXG4gIEdsb2JhbFBlcm1pc3Npb24sXG4gIEluY29taW5nQXV0aFR5cGUsXG4gIFBlcm1pc3Npb24sXG4gIFBlcm1pc3Npb25zLFxuICBVc2VyLFxuICBWZXJpZnlDb25maWcsXG59IGZyb20gJy4uL2F1dGgvdHlwZXMuZC50cydcbiJdLCJuYW1lcyI6WyJkZWZhdWx0IiwiZXhlY3V0ZUFjY2VzcyIsImdldEFjY2Vzc1Jlc3VsdHMiLCJnZXRBdXRoZW50aWNhdGVkVXNlciJdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxtQkFBa0I7QUFDaEMsU0FBU0EsV0FBV0MsYUFBYSxRQUFRLDJCQUEwQjtBQUNuRSxTQUFTQyxnQkFBZ0IsUUFBUSw4QkFBNkI7QUFDOUQsU0FBU0Msb0JBQW9CLFFBQVEsa0NBQWlDIn0=
|
package/bin.js
CHANGED
|
@@ -1,2 +1,41 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
const { getTsconfig } = require('get-tsconfig')
|
|
4
|
+
const path = require('path')
|
|
5
|
+
const swcRegister = require('@swc/register')
|
|
6
|
+
|
|
7
|
+
const tsConfig = getTsconfig()
|
|
8
|
+
|
|
9
|
+
const swcOptions = {
|
|
10
|
+
ignore: [/.*[\\/]node_modules[\\/].*/],
|
|
11
|
+
jsc: {
|
|
12
|
+
baseUrl: path.resolve(),
|
|
13
|
+
parser: {
|
|
14
|
+
syntax: 'typescript',
|
|
15
|
+
tsx: true,
|
|
16
|
+
},
|
|
17
|
+
paths: undefined,
|
|
18
|
+
},
|
|
19
|
+
module: {
|
|
20
|
+
type: 'commonjs',
|
|
21
|
+
},
|
|
22
|
+
sourceMaps: 'inline',
|
|
23
|
+
}
|
|
24
|
+
if (tsConfig?.config?.compilerOptions?.paths) {
|
|
25
|
+
swcOptions.jsc.paths = tsConfig.config.compilerOptions.paths
|
|
26
|
+
if (tsConfig?.config?.compilerOptions?.baseUrl) {
|
|
27
|
+
swcOptions.jsc.baseUrl = path.resolve(tsConfig.config.compilerOptions.baseUrl)
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
// Allow disabling SWC for debugging
|
|
31
|
+
if (process.env.DISABLE_SWC !== 'true') {
|
|
32
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
33
|
+
// @ts-expect-error - bad @swc/register types
|
|
34
|
+
swcRegister(swcOptions)
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
const bin = async () => {
|
|
38
|
+
await import('./dist/bin/index.js')
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
bin()
|
package/components.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { default as Banner } from './dist/admin/components/elements/Banner';
|
|
2
|
+
export { default as Button } from './dist/admin/components/elements/Button';
|
|
3
|
+
export { ErrorPill } from './dist/admin/components/elements/ErrorPill';
|
|
4
|
+
export { default as Pill } from './dist/admin/components/elements/Pill';
|
|
5
|
+
export { default as Popup } from './dist/admin/components/elements/Popup';
|
|
6
|
+
export { ShimmerEffect } from './dist/admin/components/elements/ShimmerEffect';
|
|
7
|
+
export { default as Tooltip } from './dist/admin/components/elements/Tooltip';
|
|
8
|
+
export { default as Check } from './dist/admin/components/icons/Check';
|
|
9
|
+
export { default as Chevron } from './dist/admin/components/icons/Chevron';
|
|
10
|
+
export { default as Menu } from './dist/admin/components/icons/Menu';
|
|
11
|
+
export { default as Search } from './dist/admin/components/icons/Search';
|
|
12
|
+
export { default as X } from './dist/admin/components/icons/X';
|
|
13
|
+
export { default as MinimalTemplate } from './dist/admin/components/templates/Minimal';
|
|
14
|
+
//# sourceMappingURL=components.d.ts.map
|
package/components.js
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: all[name]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
Banner: function() {
|
|
13
|
+
return _Banner.default;
|
|
14
|
+
},
|
|
15
|
+
Button: function() {
|
|
16
|
+
return _Button.default;
|
|
17
|
+
},
|
|
18
|
+
Check: function() {
|
|
19
|
+
return _Check.default;
|
|
20
|
+
},
|
|
21
|
+
Chevron: function() {
|
|
22
|
+
return _Chevron.default;
|
|
23
|
+
},
|
|
24
|
+
ErrorPill: function() {
|
|
25
|
+
return _ErrorPill.ErrorPill;
|
|
26
|
+
},
|
|
27
|
+
Menu: function() {
|
|
28
|
+
return _Menu.default;
|
|
29
|
+
},
|
|
30
|
+
MinimalTemplate: function() {
|
|
31
|
+
return _Minimal.default;
|
|
32
|
+
},
|
|
33
|
+
Pill: function() {
|
|
34
|
+
return _Pill.default;
|
|
35
|
+
},
|
|
36
|
+
Popup: function() {
|
|
37
|
+
return _Popup.default;
|
|
38
|
+
},
|
|
39
|
+
Search: function() {
|
|
40
|
+
return _Search.default;
|
|
41
|
+
},
|
|
42
|
+
ShimmerEffect: function() {
|
|
43
|
+
return _ShimmerEffect.ShimmerEffect;
|
|
44
|
+
},
|
|
45
|
+
Tooltip: function() {
|
|
46
|
+
return _Tooltip.default;
|
|
47
|
+
},
|
|
48
|
+
X: function() {
|
|
49
|
+
return _X.default;
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
const _Banner = /*#__PURE__*/ _interop_require_default(require("./dist/admin/components/elements/Banner"));
|
|
53
|
+
const _Button = /*#__PURE__*/ _interop_require_default(require("./dist/admin/components/elements/Button"));
|
|
54
|
+
const _ErrorPill = require("./dist/admin/components/elements/ErrorPill");
|
|
55
|
+
const _Pill = /*#__PURE__*/ _interop_require_default(require("./dist/admin/components/elements/Pill"));
|
|
56
|
+
const _Popup = /*#__PURE__*/ _interop_require_default(require("./dist/admin/components/elements/Popup"));
|
|
57
|
+
const _ShimmerEffect = require("./dist/admin/components/elements/ShimmerEffect");
|
|
58
|
+
const _Tooltip = /*#__PURE__*/ _interop_require_default(require("./dist/admin/components/elements/Tooltip"));
|
|
59
|
+
const _Check = /*#__PURE__*/ _interop_require_default(require("./dist/admin/components/icons/Check"));
|
|
60
|
+
const _Chevron = /*#__PURE__*/ _interop_require_default(require("./dist/admin/components/icons/Chevron"));
|
|
61
|
+
const _Menu = /*#__PURE__*/ _interop_require_default(require("./dist/admin/components/icons/Menu"));
|
|
62
|
+
const _Search = /*#__PURE__*/ _interop_require_default(require("./dist/admin/components/icons/Search"));
|
|
63
|
+
const _X = /*#__PURE__*/ _interop_require_default(require("./dist/admin/components/icons/X"));
|
|
64
|
+
const _Minimal = /*#__PURE__*/ _interop_require_default(require("./dist/admin/components/templates/Minimal"));
|
|
65
|
+
function _interop_require_default(obj) {
|
|
66
|
+
return obj && obj.__esModule ? obj : {
|
|
67
|
+
default: obj
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9leHBvcnRzL2NvbXBvbmVudHMudHMiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgZGVmYXVsdCBhcyBCYW5uZXIgfSBmcm9tICcuLi9hZG1pbi9jb21wb25lbnRzL2VsZW1lbnRzL0Jhbm5lcidcbmV4cG9ydCB7IGRlZmF1bHQgYXMgQnV0dG9uIH0gZnJvbSAnLi4vYWRtaW4vY29tcG9uZW50cy9lbGVtZW50cy9CdXR0b24nXG5cbmV4cG9ydCB7IEVycm9yUGlsbCB9IGZyb20gJy4uL2FkbWluL2NvbXBvbmVudHMvZWxlbWVudHMvRXJyb3JQaWxsJ1xuZXhwb3J0IHsgZGVmYXVsdCBhcyBQaWxsIH0gZnJvbSAnLi4vYWRtaW4vY29tcG9uZW50cy9lbGVtZW50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hcHBpbmdzIjoiOzs7Ozs7Ozs7OztJQUFvQkEsTUFBTTtlQUFOQSxlQUFNOztJQUNOQyxNQUFNO2VBQU5BLGVBQU07O0lBU05DLEtBQUs7ZUFBTEEsY0FBSzs7SUFDTEMsT0FBTztlQUFQQSxnQkFBTzs7SUFSbEJDLFNBQVM7ZUFBVEEsb0JBQVM7O0lBU0VDLElBQUk7ZUFBSkEsYUFBSTs7SUFHSkMsZUFBZTtlQUFmQSxnQkFBZTs7SUFYZkMsSUFBSTtlQUFKQSxhQUFJOztJQUVKQyxLQUFLO2VBQUxBLGNBQUs7O0lBT0xDLE1BQU07ZUFBTkEsZUFBTTs7SUFMakJDLGFBQWE7ZUFBYkEsNEJBQWE7O0lBQ0ZDLE9BQU87ZUFBUEEsZ0JBQU87O0lBS1BDLENBQUM7ZUFBREEsVUFBQzs7OytEQWRhOytEQUNBOzJCQUVSOzZEQUNNOzhEQUVDOytCQUVIO2dFQUNLOzhEQUNGO2dFQUNFOzZEQUNIOytEQUNFOzBEQUNMO2dFQUNjIn0=
|
package/config.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { buildConfig } from './dist/config/build';
|
|
2
|
-
export * from './dist/config/types';
|
|
3
|
-
export type { FieldTypes } from './dist/admin/forms/FieldTypes';
|
|
4
|
-
export { defaults as collectionDefaults } from './dist/collections/config/defaults';
|
|
5
|
-
export { createClientConfig } from './dist/config/createClientConfig';
|
|
6
|
-
export { defaults } from './dist/config/defaults';
|
|
7
|
-
export { sanitizeConfig } from './dist/config/sanitize';
|
|
8
|
-
export { baseBlockFields } from './dist/fields/baseFields/baseBlockFields';
|
|
9
|
-
export { baseIDField } from './dist/fields/baseFields/baseIDField';
|
|
10
|
-
export { sanitizeFields } from './dist/fields/config/sanitize';
|
|
1
|
+
export { buildConfig } from './dist/config/build.js';
|
|
2
|
+
export * from './dist/config/types.js';
|
|
3
|
+
export type { FieldTypes } from './dist/admin/forms/FieldTypes.js';
|
|
4
|
+
export { defaults as collectionDefaults } from './dist/collections/config/defaults.js';
|
|
5
|
+
export { createClientConfig } from './dist/config/createClientConfig.js';
|
|
6
|
+
export { defaults } from './dist/config/defaults.js';
|
|
7
|
+
export { sanitizeConfig } from './dist/config/sanitize.js';
|
|
8
|
+
export { baseBlockFields } from './dist/fields/baseFields/baseBlockFields.js';
|
|
9
|
+
export { baseIDField } from './dist/fields/baseFields/baseIDField.js';
|
|
10
|
+
export { sanitizeFields } from './dist/fields/config/sanitize.js';
|
|
11
11
|
//# sourceMappingURL=config.d.ts.map
|
package/config.js
CHANGED
|
@@ -1,60 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
_export(exports, {
|
|
12
|
-
baseBlockFields: function() {
|
|
13
|
-
return _baseBlockFields.baseBlockFields;
|
|
14
|
-
},
|
|
15
|
-
baseIDField: function() {
|
|
16
|
-
return _baseIDField.baseIDField;
|
|
17
|
-
},
|
|
18
|
-
buildConfig: function() {
|
|
19
|
-
return _build.buildConfig;
|
|
20
|
-
},
|
|
21
|
-
collectionDefaults: function() {
|
|
22
|
-
return _defaults.defaults;
|
|
23
|
-
},
|
|
24
|
-
createClientConfig: function() {
|
|
25
|
-
return _createClientConfig.createClientConfig;
|
|
26
|
-
},
|
|
27
|
-
defaults: function() {
|
|
28
|
-
return _defaults1.defaults;
|
|
29
|
-
},
|
|
30
|
-
sanitizeConfig: function() {
|
|
31
|
-
return _sanitize.sanitizeConfig;
|
|
32
|
-
},
|
|
33
|
-
sanitizeFields: function() {
|
|
34
|
-
return _sanitize1.sanitizeFields;
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
const _build = require("./dist/config/build");
|
|
38
|
-
_export_star(require("./dist/config/types"), exports);
|
|
39
|
-
const _defaults = require("./dist/collections/config/defaults");
|
|
40
|
-
const _createClientConfig = require("./dist/config/createClientConfig");
|
|
41
|
-
const _defaults1 = require("./dist/config/defaults");
|
|
42
|
-
const _sanitize = require("./dist/config/sanitize");
|
|
43
|
-
const _baseBlockFields = require("./dist/fields/baseFields/baseBlockFields");
|
|
44
|
-
const _baseIDField = require("./dist/fields/baseFields/baseIDField");
|
|
45
|
-
const _sanitize1 = require("./dist/fields/config/sanitize");
|
|
46
|
-
function _export_star(from, to) {
|
|
47
|
-
Object.keys(from).forEach(function(k) {
|
|
48
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
49
|
-
Object.defineProperty(to, k, {
|
|
50
|
-
enumerable: true,
|
|
51
|
-
get: function() {
|
|
52
|
-
return from[k];
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
return from;
|
|
58
|
-
}
|
|
1
|
+
export { buildConfig } from './dist/config/build.js';
|
|
2
|
+
export * from './dist/config/types.js';
|
|
3
|
+
export { defaults as collectionDefaults } from './dist/collections/config/defaults.js';
|
|
4
|
+
export { createClientConfig } from './dist/config/createClientConfig.js';
|
|
5
|
+
export { defaults } from './dist/config/defaults.js';
|
|
6
|
+
export { sanitizeConfig } from './dist/config/sanitize.js';
|
|
7
|
+
export { baseBlockFields } from './dist/fields/baseFields/baseBlockFields.js';
|
|
8
|
+
export { baseIDField } from './dist/fields/baseFields/baseIDField.js';
|
|
9
|
+
export { sanitizeFields } from './dist/fields/config/sanitize.js';
|
|
59
10
|
|
|
60
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9leHBvcnRzL2NvbmZpZy50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBidWlsZENvbmZpZyB9IGZyb20gJy4uL2NvbmZpZy9idWlsZC5qcydcbmV4cG9ydCAqIGZyb20gJy4uL2NvbmZpZy90eXBlcy5q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BaUM7QUFDcEUsU0FBU0YsUUFBUSxRQUFRLHdCQUF1QjtBQUNoRCxTQUFTRyxjQUFjLFFBQVEsd0JBQXVCO0FBQ3RELFNBQVNDLGVBQWUsUUFBUSwwQ0FBeUM7QUFDekUsU0FBU0MsV0FBVyxRQUFRLHNDQUFxQztBQUNqRSxTQUFTQyxjQUFjLFFBQVEsK0JBQThCIn0=
|
package/database.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export type { BaseDatabaseAdapter, BeginTransaction, CommitTransaction, Connect, Create, CreateArgs, CreateGlobal, CreateGlobalArgs, CreateGlobalVersion, CreateGlobalVersionArgs, CreateMigration, CreateVersion, CreateVersionArgs, DatabaseAdapterResult as DatabaseAdapterObj, DeleteMany, DeleteManyArgs, DeleteOne, DeleteOneArgs, DeleteVersions, DeleteVersionsArgs, Destroy, Find, FindArgs, FindGlobal, FindGlobalArgs, FindGlobalVersions, FindGlobalVersionsArgs, FindOne, FindOneArgs, FindVersions, FindVersionsArgs, Init, Migration, MigrationData, PaginatedDocs, QueryDrafts, QueryDraftsArgs, RollbackTransaction, Transaction, TypeWithVersion, UpdateGlobal, UpdateGlobalArgs, UpdateGlobalVersion, UpdateGlobalVersionArgs, UpdateOne, UpdateOneArgs, UpdateVersion, UpdateVersionArgs, } from './dist/database/types';
|
|
2
|
-
export * from './dist/database/queryValidation/types';
|
|
3
|
-
export { combineQueries } from './dist/database/combineQueries';
|
|
4
|
-
export { createDatabaseAdapter } from './dist/database/createDatabaseAdapter';
|
|
5
|
-
export { default as flattenWhereToOperators } from './dist/database/flattenWhereToOperators';
|
|
6
|
-
export { getLocalizedPaths } from './dist/database/getLocalizedPaths';
|
|
7
|
-
export { createMigration } from './dist/database/migrations/createMigration';
|
|
8
|
-
export { getMigrations } from './dist/database/migrations/getMigrations';
|
|
9
|
-
export { migrate } from './dist/database/migrations/migrate';
|
|
10
|
-
export { migrateDown } from './dist/database/migrations/migrateDown';
|
|
11
|
-
export { migrateRefresh } from './dist/database/migrations/migrateRefresh';
|
|
12
|
-
export { migrateReset } from './dist/database/migrations/migrateReset';
|
|
13
|
-
export { migrateStatus } from './dist/database/migrations/migrateStatus';
|
|
14
|
-
export { migrationTemplate } from './dist/database/migrations/migrationTemplate';
|
|
15
|
-
export { migrationsCollection } from './dist/database/migrations/migrationsCollection';
|
|
16
|
-
export { readMigrationFiles } from './dist/database/migrations/readMigrationFiles';
|
|
17
|
-
export type { EntityPolicies, PathToQuery } from './dist/database/queryValidation/types';
|
|
18
|
-
export { validateQueryPaths } from './dist/database/queryValidation/validateQueryPaths';
|
|
19
|
-
export { validateSearchParam } from './dist/database/queryValidation/validateSearchParams';
|
|
20
|
-
export { commitTransaction } from './dist/utilities/commitTransaction';
|
|
21
|
-
export { initTransaction } from './dist/utilities/initTransaction';
|
|
22
|
-
export { killTransaction } from './dist/utilities/killTransaction';
|
|
1
|
+
export type { BaseDatabaseAdapter, BeginTransaction, CommitTransaction, Connect, Create, CreateArgs, CreateGlobal, CreateGlobalArgs, CreateGlobalVersion, CreateGlobalVersionArgs, CreateMigration, CreateVersion, CreateVersionArgs, DatabaseAdapterResult as DatabaseAdapterObj, DeleteMany, DeleteManyArgs, DeleteOne, DeleteOneArgs, DeleteVersions, DeleteVersionsArgs, Destroy, Find, FindArgs, FindGlobal, FindGlobalArgs, FindGlobalVersions, FindGlobalVersionsArgs, FindOne, FindOneArgs, FindVersions, FindVersionsArgs, Init, Migration, MigrationData, PaginatedDocs, QueryDrafts, QueryDraftsArgs, RollbackTransaction, Transaction, TypeWithVersion, UpdateGlobal, UpdateGlobalArgs, UpdateGlobalVersion, UpdateGlobalVersionArgs, UpdateOne, UpdateOneArgs, UpdateVersion, UpdateVersionArgs, } from './dist/database/types.d.ts';
|
|
2
|
+
export * from './dist/database/queryValidation/types.js';
|
|
3
|
+
export { combineQueries } from './dist/database/combineQueries.js';
|
|
4
|
+
export { createDatabaseAdapter } from './dist/database/createDatabaseAdapter.js';
|
|
5
|
+
export { default as flattenWhereToOperators } from './dist/database/flattenWhereToOperators.js';
|
|
6
|
+
export { getLocalizedPaths } from './dist/database/getLocalizedPaths.js';
|
|
7
|
+
export { createMigration } from './dist/database/migrations/createMigration.js';
|
|
8
|
+
export { getMigrations } from './dist/database/migrations/getMigrations.js';
|
|
9
|
+
export { migrate } from './dist/database/migrations/migrate.js';
|
|
10
|
+
export { migrateDown } from './dist/database/migrations/migrateDown.js';
|
|
11
|
+
export { migrateRefresh } from './dist/database/migrations/migrateRefresh.js';
|
|
12
|
+
export { migrateReset } from './dist/database/migrations/migrateReset.js';
|
|
13
|
+
export { migrateStatus } from './dist/database/migrations/migrateStatus.js';
|
|
14
|
+
export { migrationTemplate } from './dist/database/migrations/migrationTemplate.js';
|
|
15
|
+
export { migrationsCollection } from './dist/database/migrations/migrationsCollection.js';
|
|
16
|
+
export { readMigrationFiles } from './dist/database/migrations/readMigrationFiles.js';
|
|
17
|
+
export type { EntityPolicies, PathToQuery } from './dist/database/queryValidation/types.d.ts';
|
|
18
|
+
export { validateQueryPaths } from './dist/database/queryValidation/validateQueryPaths.js';
|
|
19
|
+
export { validateSearchParam } from './dist/database/queryValidation/validateSearchParams.js';
|
|
20
|
+
export { commitTransaction } from './dist/utilities/commitTransaction.js';
|
|
21
|
+
export { initTransaction } from './dist/utilities/initTransaction.js';
|
|
22
|
+
export { killTransaction } from './dist/utilities/killTransaction.js';
|
|
23
23
|
//# sourceMappingURL=database.d.ts.map
|
package/database.js
CHANGED
|
@@ -1,109 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
createMigration: function() {
|
|
22
|
-
return _createMigration.createMigration;
|
|
23
|
-
},
|
|
24
|
-
flattenWhereToOperators: function() {
|
|
25
|
-
return _flattenWhereToOperators.default;
|
|
26
|
-
},
|
|
27
|
-
getLocalizedPaths: function() {
|
|
28
|
-
return _getLocalizedPaths.getLocalizedPaths;
|
|
29
|
-
},
|
|
30
|
-
getMigrations: function() {
|
|
31
|
-
return _getMigrations.getMigrations;
|
|
32
|
-
},
|
|
33
|
-
initTransaction: function() {
|
|
34
|
-
return _initTransaction.initTransaction;
|
|
35
|
-
},
|
|
36
|
-
killTransaction: function() {
|
|
37
|
-
return _killTransaction.killTransaction;
|
|
38
|
-
},
|
|
39
|
-
migrate: function() {
|
|
40
|
-
return _migrate.migrate;
|
|
41
|
-
},
|
|
42
|
-
migrateDown: function() {
|
|
43
|
-
return _migrateDown.migrateDown;
|
|
44
|
-
},
|
|
45
|
-
migrateRefresh: function() {
|
|
46
|
-
return _migrateRefresh.migrateRefresh;
|
|
47
|
-
},
|
|
48
|
-
migrateReset: function() {
|
|
49
|
-
return _migrateReset.migrateReset;
|
|
50
|
-
},
|
|
51
|
-
migrateStatus: function() {
|
|
52
|
-
return _migrateStatus.migrateStatus;
|
|
53
|
-
},
|
|
54
|
-
migrationTemplate: function() {
|
|
55
|
-
return _migrationTemplate.migrationTemplate;
|
|
56
|
-
},
|
|
57
|
-
migrationsCollection: function() {
|
|
58
|
-
return _migrationsCollection.migrationsCollection;
|
|
59
|
-
},
|
|
60
|
-
readMigrationFiles: function() {
|
|
61
|
-
return _readMigrationFiles.readMigrationFiles;
|
|
62
|
-
},
|
|
63
|
-
validateQueryPaths: function() {
|
|
64
|
-
return _validateQueryPaths.validateQueryPaths;
|
|
65
|
-
},
|
|
66
|
-
validateSearchParam: function() {
|
|
67
|
-
return _validateSearchParams.validateSearchParam;
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
_export_star(require("./dist/database/queryValidation/types"), exports);
|
|
71
|
-
const _combineQueries = require("./dist/database/combineQueries");
|
|
72
|
-
const _createDatabaseAdapter = require("./dist/database/createDatabaseAdapter");
|
|
73
|
-
const _flattenWhereToOperators = /*#__PURE__*/ _interop_require_default(require("./dist/database/flattenWhereToOperators"));
|
|
74
|
-
const _getLocalizedPaths = require("./dist/database/getLocalizedPaths");
|
|
75
|
-
const _createMigration = require("./dist/database/migrations/createMigration");
|
|
76
|
-
const _getMigrations = require("./dist/database/migrations/getMigrations");
|
|
77
|
-
const _migrate = require("./dist/database/migrations/migrate");
|
|
78
|
-
const _migrateDown = require("./dist/database/migrations/migrateDown");
|
|
79
|
-
const _migrateRefresh = require("./dist/database/migrations/migrateRefresh");
|
|
80
|
-
const _migrateReset = require("./dist/database/migrations/migrateReset");
|
|
81
|
-
const _migrateStatus = require("./dist/database/migrations/migrateStatus");
|
|
82
|
-
const _migrationTemplate = require("./dist/database/migrations/migrationTemplate");
|
|
83
|
-
const _migrationsCollection = require("./dist/database/migrations/migrationsCollection");
|
|
84
|
-
const _readMigrationFiles = require("./dist/database/migrations/readMigrationFiles");
|
|
85
|
-
const _validateQueryPaths = require("./dist/database/queryValidation/validateQueryPaths");
|
|
86
|
-
const _validateSearchParams = require("./dist/database/queryValidation/validateSearchParams");
|
|
87
|
-
const _commitTransaction = require("./dist/utilities/commitTransaction");
|
|
88
|
-
const _initTransaction = require("./dist/utilities/initTransaction");
|
|
89
|
-
const _killTransaction = require("./dist/utilities/killTransaction");
|
|
90
|
-
function _export_star(from, to) {
|
|
91
|
-
Object.keys(from).forEach(function(k) {
|
|
92
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
93
|
-
Object.defineProperty(to, k, {
|
|
94
|
-
enumerable: true,
|
|
95
|
-
get: function() {
|
|
96
|
-
return from[k];
|
|
97
|
-
}
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
});
|
|
101
|
-
return from;
|
|
102
|
-
}
|
|
103
|
-
function _interop_require_default(obj) {
|
|
104
|
-
return obj && obj.__esModule ? obj : {
|
|
105
|
-
default: obj
|
|
106
|
-
};
|
|
107
|
-
}
|
|
1
|
+
export * from './dist/database/queryValidation/types.js';
|
|
2
|
+
export { combineQueries } from './dist/database/combineQueries.js';
|
|
3
|
+
export { createDatabaseAdapter } from './dist/database/createDatabaseAdapter.js';
|
|
4
|
+
export { default as flattenWhereToOperators } from './dist/database/flattenWhereToOperators.js';
|
|
5
|
+
export { getLocalizedPaths } from './dist/database/getLocalizedPaths.js';
|
|
6
|
+
export { createMigration } from './dist/database/migrations/createMigration.js';
|
|
7
|
+
export { getMigrations } from './dist/database/migrations/getMigrations.js';
|
|
8
|
+
export { migrate } from './dist/database/migrations/migrate.js';
|
|
9
|
+
export { migrateDown } from './dist/database/migrations/migrateDown.js';
|
|
10
|
+
export { migrateRefresh } from './dist/database/migrations/migrateRefresh.js';
|
|
11
|
+
export { migrateReset } from './dist/database/migrations/migrateReset.js';
|
|
12
|
+
export { migrateStatus } from './dist/database/migrations/migrateStatus.js';
|
|
13
|
+
export { migrationTemplate } from './dist/database/migrations/migrationTemplate.js';
|
|
14
|
+
export { migrationsCollection } from './dist/database/migrations/migrationsCollection.js';
|
|
15
|
+
export { readMigrationFiles } from './dist/database/migrations/readMigrationFiles.js';
|
|
16
|
+
export { validateQueryPaths } from './dist/database/queryValidation/validateQueryPaths.js';
|
|
17
|
+
export { validateSearchParam } from './dist/database/queryValidation/validateSearchParams.js';
|
|
18
|
+
export { commitTransaction } from './dist/utilities/commitTransaction.js';
|
|
19
|
+
export { initTransaction } from './dist/utilities/initTransaction.js';
|
|
20
|
+
export { killTransaction } from './dist/utilities/killTransaction.js';
|
|
108
21
|
|
|
109
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9leHBvcnRzL2RhdGFiYXNlLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIHtcbiAgQmFzZURhdGFiYXNlQWRhcHR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vQ0FBbUM7QUFFM0QsU0FBU0MsV0FBVyxRQUFRLHdDQUF1QztBQUVuRSxTQUFTQyxjQUFjLFFBQVEsMkNBQTBDO0FBRXpFLFNBQVNDLFlBQVksUUFBUSx5Q0FBd0M7QUFFckUsU0FBU0MsYUFBYSxRQUFRLDBDQUF5QztBQUV2RSxTQUFTQyxpQkFBaUIsUUFBUSw4Q0FBNkM7QUFFL0UsU0FBU0Msb0JBQW9CLFFBQVEsaURBQWdEO0FBRXJGLFNBQVNDLGtCQUFrQixRQUFRLCtDQUE4QztBQUlqRixTQUFTQyxrQkFBa0IsUUFBUSxvREFBbUQ7QUFFdEYsU0FBU0MsbUJBQW1CLFFBQVEsc0RBQXFEO0FBRXpGLFNBQVNDLGlCQUFpQixRQUFRLG9DQUFtQztBQUNyRSxTQUFTQyxlQUFlLFFBQVEsa0NBQWlDO0FBQ2pFLFNBQVNDLGVBQWUsUUFBUSxrQ0FBaUMifQ==
|
package/dist/admin/RichText.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { JSONSchema4 } from 'json-schema';
|
|
2
|
-
import type { SanitizedConfig } from '../config/types';
|
|
3
|
-
import type { Field, RichTextField, Validate } from '../fields/config/types';
|
|
4
|
-
import type { PayloadRequest, RequestContext } from '../types';
|
|
5
|
-
import type { CellComponentProps } from './elements/Cell';
|
|
2
|
+
import type { SanitizedConfig } from '../config/types.d.ts';
|
|
3
|
+
import type { Field, RichTextField, Validate } from '../fields/config/types.d.ts';
|
|
4
|
+
import type { PayloadRequest, RequestContext } from '../types/index.d.ts';
|
|
5
|
+
import type { CellComponentProps } from './elements/Cell.d.ts';
|
|
6
6
|
export type RichTextFieldProps<Value extends object, AdapterProps, ExtraFieldProperties = {}> = Omit<RichTextField<Value, AdapterProps, ExtraFieldProperties>, 'type'> & {
|
|
7
7
|
path?: string;
|
|
8
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RichText.d.ts","sourceRoot":"","sources":["../../src/admin/RichText.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"RichText.d.ts","sourceRoot":"","sources":["../../src/admin/RichText.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAC3D,OAAO,KAAK,EAAE,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAA;AACjF,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACzE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAE9D,MAAM,MAAM,kBAAkB,CAC5B,KAAK,SAAS,MAAM,EACpB,YAAY,EACZ,oBAAoB,GAAG,EAAE,IACvB,IAAI,CAAC,aAAa,CAAC,KAAK,EAAE,YAAY,EAAE,oBAAoB,CAAC,EAAE,MAAM,CAAC,GAAG;IAC3E,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,KAAK,mBAAmB,CACtB,KAAK,SAAS,MAAM,GAAG,MAAM,EAC7B,YAAY,GAAG,GAAG,EAClB,oBAAoB,GAAG,EAAE,IACvB;IACF,gBAAgB,CAAC,EAAE,CAAC,EAClB,KAAK,EACL,mBAAmB,EACnB,UAAU,GACX,EAAE;QACD,KAAK,EAAE,aAAa,CAAC,KAAK,EAAE,YAAY,EAAE,oBAAoB,CAAC,CAAA;QAC/D,mBAAmB,EAAE,KAAK,CAAA;QAC1B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KACpC,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;IAC1B,oBAAoB,EAAE,CAAC,IAAI,EAAE;QAC3B,M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L,OAAO,EACP,aAAa,CAAC,KAAK,EAAE,YAAY,EAAE,oBAAoB,CAAC,CACzD,CAAA;CACF,CAAA;AAED,MAAM,MAAM,eAAe,CACzB,KAAK,SAAS,MAAM,GAAG,MAAM,EAC7B,YAAY,GAAG,GAAG,EAClB,oBAAoB,GAAG,EAAE,IACvB,mBAAmB,CAAC,KAAK,EAAE,YAAY,EAAE,oBAAoB,CAAC,GAChE,CACI;IACE,aAAa,EAAE,KAAK,CAAC,EAAE,CACrB,kBAAkB,CAAC,aAAa,CAAC,KAAK,EAAE,YAAY,EAAE,oBAAoB,CAAC,CAAC,CAC7E,CAAA;IACD,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAAC,KAAK,EAAE,YAAY,EAAE,oBAAoB,CAAC,CAAC,CAAA;CACxF,GACD;IACE,iBAAiB,EAAE,MAAM,OAAO,CAC9B,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAAC,aAAa,CAAC,KAAK,EAAE,YAAY,EAAE,oBAAoB,CAAC,CAAC,CAAC,CACvF,CAAA;IACD,kBAAkB,EAAE,MAAM,OAAO,CAC/B,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAAC,KAAK,EAAE,YAAY,EAAE,oBAAoB,CAAC,CAAC,CACxE,CAAA;CACF,CACJ,CAAA"}
|
package/dist/admin/RichText.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
1
|
+
export { };
|
|
5
2
|
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hZG1pbi9SaWNoVGV4dC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IEpTT05TY2hlbWE0IH0gZnJvbSAnanNvbi1zY2hlbWE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VudDogUmVhY3QuRkM8UmljaFRleHRGaWVsZFByb3BzPFZhbHVlLCBBZGFwdGVyUHJvcHMsIEV4dHJhRmllbGRQcm9wZXJ0aWVzPj5cbiAgICAgIH1cbiAgICB8IHtcbiAgICAgICAgTGF6eUNlbGxDb21wb25lbnQ6ICgpID0+IFByb21pc2U8XG4gICAgICAgICAgUmVhY3QuRkM8Q2VsbENvbXBvbmVudFByb3BzPFJpY2hUZXh0RmllbGQ8VmFsdWUsIEFkYXB0ZXJQcm9wcywgRXh0cmFGaWVsZFByb3BlcnRpZXM+Pj5cbiAgICAgICAgPlxuICAgICAgICBMYXp5RmllbGRDb21wb25lbnQ6ICgpID0+IFByb21pc2U8XG4gICAgICAgICAgUmVhY3QuRkM8UmljaFRleHRGaWVsZFByb3BzPFZhbHVlLCBBZGFwdGVyUHJvcHMsIEV4dHJhRmllbGRQcm9wZXJ0aWVzPj5cbiAgICAgICAgPlxuICAgICAgfVxuICApXG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBdUVBLFdBb0JHIn0=
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { SanitizedCollectionConfig } from '../../collections/config/types';
|
|
2
|
-
import type { BlockField, DateField, Field, FieldBase, Labels, RelationshipField, SelectField } from '../../fields/config/types';
|
|
1
|
+
import type { SanitizedCollectionConfig } from '../../collections/config/types.d.ts';
|
|
2
|
+
import type { BlockField, DateField, Field, FieldBase, Labels, RelationshipField, SelectField } from '../../fields/config/types.d.ts';
|
|
3
3
|
export type CellProps = {
|
|
4
4
|
/**
|
|
5
5
|
* A custom component to override the default cell component. If this is not set, the React component will be
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../src/admin/elements/Cell.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../src/admin/elements/Cell.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A;CACpD,CAAA;AAED,MAAM,MAAM,kBAAkB,CAAC,IAAI,GAAG,OAAO,IAAI;IAC/C,QAAQ,EAAE,IAAI,CAAA;IACd,iBAAiB,CAAC,EAAE;QAClB,cAAc,CAAC,EAAE,yBAAyB,CAAC,MAAM,CAAC,CAAA;QAClD,YAAY,CAAC,EAAE,yBAAyB,CAAC,QAAQ,CAAC,CAAA;KACnD,CAAA;IACD,oBAAoB,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,CAAA;IACnD,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAClC,CAAA"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
1
|
+
export { };
|
|
5
2
|
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hZG1pbi9lbGVtZW50cy9DZWxsLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHsgU2FuaXRpemVkQ29sbGVjdGlvbkNvbmZpZyB9IGZyb20gJy4uLy4uL2NvbGxlY3Rpb25zL2NvbmZpZy90eXBlcy5kLnRzJ1xuaW1wb3J0IHR5cGUge1xuICBCbG9ja0ZpZWxkLFxuICBEYXRlRmllbGQsXG4gIEZpZWxkLFxuICBGaWVsZEJhc2UsXG4gIExhYmVscyxcbiAgUmVsYXRpb25zaGlwRmllbGQsXG4gIFNlbGVjdEZpZWxkLFxufSBmcm9tICcuLi8uLi9maWVsZHMvY29uZmlnL3R5cGVzLmQudHMnXG5cbmV4cG9ydCB0eXBlIENlbGxQcm9wcyA9IHtcbiAgLyoqXG4gICAqIEEgY3VzdG9tIGNvbXBvbmVudCB0byBvdmVycmlkZSB0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iBSZWxhdGlvbnNoaXBGaWVsZFsncmVsYXRpb25UbyddXG4gIHJpY2hUZXh0Q29tcG9uZW50TWFwPzogTWFwPHN0cmluZywgUmVhY3QuUmVhY3ROb2RlPiAvLyBhbnkgc2hvdWxkIGJlIE1hcHBlZEZpZWxkXG59XG5cbmV4cG9ydCB0eXBlIENlbGxDb21wb25lbnRQcm9wczxEYXRhID0gdW5rbm93bj4gPSB7XG4gIGNlbGxEYXRhOiBEYXRhXG4gIGN1c3RvbUNlbGxDb250ZXh0Pzoge1xuICAgIGNvbGxlY3Rpb25TbHVnPzogU2FuaXRpemVkQ29sbGVjdGlvbkNvbmZpZ1snc2x1ZyddXG4gICAgdXBsb2FkQ29uZmlnPzogU2FuaXRpemVkQ29sbGVjdGlvbkNvbmZpZ1sndXBsb2FkJ11cbiAgfVxuICByaWNoVGV4dENvbXBvbmVudE1hcD86IE1hcDxzdHJpbmcsIFJlYWN0LlJlYWN0Tm9kZT5cbiAgcm93RGF0YT86IFJlY29yZDxzdHJpbmcsIHVua25vd24+XG59XG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBeUNBLFdBUUMifQ==
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
1
|
+
export { };
|
|
5
2
|
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hZG1pbi9lbGVtZW50cy9EYXRlUGlja2VyLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHsgUmVhY3REYXRlUGlja2VyUHJvcHMgfSBmcm9tICdyZWFjdC1kYXRlcGlja2VyJ1xuXG5leHBvcnQgdHlwZSBTaGFyZWRQcm9wcyA9IHtcbiAgZGlzcGxheUZvcm1hdD86IHN0cm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lja2VyQXBwZWFyYW5jZTogJ3RpbWVPbmx5J1xuICAgICAgfSlcbiAgfCAoU2hhcmVkUHJvcHMgJiB7XG4gICAgICBwaWNrZXJBcHBlYXJhbmNlPzogJ2RlZmF1bHQnXG4gICAgfSlcbiJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEwQkEsV0FvQk0ifQ==
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
1
|
+
export { };
|
|
5
2
|
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hZG1pbi9lbGVtZW50cy9QcmV2aWV3QnV0dG9uLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIEN1c3RvbVByZXZpZXdCdXR0b25Qcm9wcyA9IFJlYWN0LkNvbXBvbmVudFR5cGU8XG4gIERlZmF1bHRQcmV2aWV3QnV0dG9uUHJvcHMgJiB7XG4gICAgRGVmYXVsdEJ1dHRvbjogUmVhY3QuQ29tcG9uZW50VHlwZTxEZWZhdWx0UHJldmlld0J1dHRvblByb3BzPlxuICB9XG4+XG5cbmV4cG9ydCB0eXBlIERlZmF1bHRQcmV2aWV3QnV0dG9uUHJvcHMgPSB7XG4gIGRpc2FibGVkOiBib29sZWFuXG4gIGxhYmVsOiBzdHJpbmdcbiAgcHJldmlldzogKCkgPT4gdm9pZFxufVxuIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU1BLFdBSUMifQ==
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
1
|
+
export { };
|
|
5
2
|
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hZG1pbi9lbGVtZW50cy9QdWJsaXNoQnV0dG9uLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIEN1c3RvbVB1Ymxpc2hCdXR0b25Qcm9wcyA9IFJlYWN0LkNvbXBvbmVudFR5cGU8XG4gIERlZmF1bHRQdWJsaXNoQnV0dG9uUHJvcHMgJiB7XG4gICAgRGVmYXVsdEJ1dHRvbjogUmVhY3QuQ29tcG9uZW50VHlwZTxEZWZhdWx0UHVibGlzaEJ1dHRvblByb3BzPlxuICB9XG4+XG5cbmV4cG9ydCB0eXBlIERlZmF1bHRQdWJsaXNoQnV0dG9uUHJvcHMgPSB7XG4gIGNhblB1Ymxpc2g6IGJvb2xlYW5cbiAgZGlzYWJsZWQ6IGJvb2xlYW5cbiAgaWQ/OiBzdHJpbmdcbiAgbGFiZWw6IHN0cmluZ1xuICBwdWJsaXNoOiAoKSA9PiB2b2lkXG59XG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBTUEsV0FNQyJ9
|