@warlock.js/cascade 4.0.157 → 4.0.158
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/package.json +4 -4
- package/cjs/context/database-data-source-context.d.ts +0 -29
- package/cjs/context/database-data-source-context.d.ts.map +0 -1
- package/cjs/context/database-data-source-context.js +0 -28
- package/cjs/context/database-data-source-context.js.map +0 -1
- package/cjs/context/database-transaction-context.d.ts +0 -35
- package/cjs/context/database-transaction-context.d.ts.map +0 -1
- package/cjs/context/database-transaction-context.js +0 -40
- package/cjs/context/database-transaction-context.js.map +0 -1
- package/cjs/contracts/database-driver.contract.d.ts +0 -450
- package/cjs/contracts/database-driver.contract.d.ts.map +0 -1
- package/cjs/contracts/database-id-generator.contract.d.ts +0 -109
- package/cjs/contracts/database-id-generator.contract.d.ts.map +0 -1
- package/cjs/contracts/database-remover.contract.d.ts +0 -104
- package/cjs/contracts/database-remover.contract.d.ts.map +0 -1
- package/cjs/contracts/database-restorer.contract.d.ts +0 -143
- package/cjs/contracts/database-restorer.contract.d.ts.map +0 -1
- package/cjs/contracts/database-writer.contract.d.ts +0 -119
- package/cjs/contracts/database-writer.contract.d.ts.map +0 -1
- package/cjs/contracts/driver-blueprint.contract.d.ts +0 -49
- package/cjs/contracts/driver-blueprint.contract.d.ts.map +0 -1
- package/cjs/contracts/index.d.ts +0 -10
- package/cjs/contracts/index.d.ts.map +0 -1
- package/cjs/contracts/migration-driver.contract.d.ts +0 -522
- package/cjs/contracts/migration-driver.contract.d.ts.map +0 -1
- package/cjs/contracts/query-builder.contract.d.ts +0 -1609
- package/cjs/contracts/query-builder.contract.d.ts.map +0 -1
- package/cjs/contracts/sync-adapter.contract.d.ts +0 -58
- package/cjs/contracts/sync-adapter.contract.d.ts.map +0 -1
- package/cjs/data-source/data-source-registry.d.ts +0 -108
- package/cjs/data-source/data-source-registry.d.ts.map +0 -1
- package/cjs/data-source/data-source-registry.js +0 -145
- package/cjs/data-source/data-source-registry.js.map +0 -1
- package/cjs/data-source/data-source.d.ts +0 -147
- package/cjs/data-source/data-source.d.ts.map +0 -1
- package/cjs/data-source/data-source.js +0 -83
- package/cjs/data-source/data-source.js.map +0 -1
- package/cjs/database-dirty-tracker.d.ts +0 -252
- package/cjs/database-dirty-tracker.d.ts.map +0 -1
- package/cjs/database-dirty-tracker.js +0 -386
- package/cjs/database-dirty-tracker.js.map +0 -1
- package/cjs/drivers/mongodb/mongodb-blueprint.d.ts +0 -30
- package/cjs/drivers/mongodb/mongodb-blueprint.d.ts.map +0 -1
- package/cjs/drivers/mongodb/mongodb-blueprint.js +0 -51
- package/cjs/drivers/mongodb/mongodb-blueprint.js.map +0 -1
- package/cjs/drivers/mongodb/mongodb-driver.d.ts +0 -324
- package/cjs/drivers/mongodb/mongodb-driver.d.ts.map +0 -1
- package/cjs/drivers/mongodb/mongodb-driver.js +0 -799
- package/cjs/drivers/mongodb/mongodb-driver.js.map +0 -1
- package/cjs/drivers/mongodb/mongodb-id-generator.d.ts +0 -116
- package/cjs/drivers/mongodb/mongodb-id-generator.d.ts.map +0 -1
- package/cjs/drivers/mongodb/mongodb-id-generator.js +0 -149
- package/cjs/drivers/mongodb/mongodb-id-generator.js.map +0 -1
- package/cjs/drivers/mongodb/mongodb-migration-driver.d.ts +0 -317
- package/cjs/drivers/mongodb/mongodb-migration-driver.d.ts.map +0 -1
- package/cjs/drivers/mongodb/mongodb-migration-driver.js +0 -666
- package/cjs/drivers/mongodb/mongodb-migration-driver.js.map +0 -1
- package/cjs/drivers/mongodb/mongodb-query-builder.d.ts +0 -1122
- package/cjs/drivers/mongodb/mongodb-query-builder.d.ts.map +0 -1
- package/cjs/drivers/mongodb/mongodb-query-builder.js +0 -1988
- package/cjs/drivers/mongodb/mongodb-query-builder.js.map +0 -1
- package/cjs/drivers/mongodb/mongodb-query-operations.d.ts +0 -226
- package/cjs/drivers/mongodb/mongodb-query-operations.d.ts.map +0 -1
- package/cjs/drivers/mongodb/mongodb-query-operations.js +0 -270
- package/cjs/drivers/mongodb/mongodb-query-operations.js.map +0 -1
- package/cjs/drivers/mongodb/mongodb-query-parser.d.ts +0 -262
- package/cjs/drivers/mongodb/mongodb-query-parser.d.ts.map +0 -1
- package/cjs/drivers/mongodb/mongodb-query-parser.js +0 -1351
- package/cjs/drivers/mongodb/mongodb-query-parser.js.map +0 -1
- package/cjs/drivers/mongodb/mongodb-sync-adapter.d.ts +0 -79
- package/cjs/drivers/mongodb/mongodb-sync-adapter.d.ts.map +0 -1
- package/cjs/drivers/mongodb/mongodb-sync-adapter.js +0 -146
- package/cjs/drivers/mongodb/mongodb-sync-adapter.js.map +0 -1
- package/cjs/drivers/mongodb/types.d.ts +0 -43
- package/cjs/drivers/mongodb/types.d.ts.map +0 -1
- package/cjs/drivers/postgres/index.d.ts +0 -16
- package/cjs/drivers/postgres/index.d.ts.map +0 -1
- package/cjs/drivers/postgres/postgres-blueprint.d.ts +0 -64
- package/cjs/drivers/postgres/postgres-blueprint.d.ts.map +0 -1
- package/cjs/drivers/postgres/postgres-blueprint.js +0 -121
- package/cjs/drivers/postgres/postgres-blueprint.js.map +0 -1
- package/cjs/drivers/postgres/postgres-dialect.d.ts +0 -136
- package/cjs/drivers/postgres/postgres-dialect.d.ts.map +0 -1
- package/cjs/drivers/postgres/postgres-dialect.js +0 -268
- package/cjs/drivers/postgres/postgres-dialect.js.map +0 -1
- package/cjs/drivers/postgres/postgres-driver.d.ts +0 -432
- package/cjs/drivers/postgres/postgres-driver.d.ts.map +0 -1
- package/cjs/drivers/postgres/postgres-driver.js +0 -965
- package/cjs/drivers/postgres/postgres-driver.js.map +0 -1
- package/cjs/drivers/postgres/postgres-migration-driver.d.ts +0 -397
- package/cjs/drivers/postgres/postgres-migration-driver.d.ts.map +0 -1
- package/cjs/drivers/postgres/postgres-migration-driver.js +0 -900
- package/cjs/drivers/postgres/postgres-migration-driver.js.map +0 -1
- package/cjs/drivers/postgres/postgres-query-builder.d.ts +0 -254
- package/cjs/drivers/postgres/postgres-query-builder.d.ts.map +0 -1
- package/cjs/drivers/postgres/postgres-query-builder.js +0 -933
- package/cjs/drivers/postgres/postgres-query-builder.js.map +0 -1
- package/cjs/drivers/postgres/postgres-query-parser.d.ts +0 -328
- package/cjs/drivers/postgres/postgres-query-parser.d.ts.map +0 -1
- package/cjs/drivers/postgres/postgres-query-parser.js +0 -864
- package/cjs/drivers/postgres/postgres-query-parser.js.map +0 -1
- package/cjs/drivers/postgres/postgres-sql-serializer.d.ts +0 -37
- package/cjs/drivers/postgres/postgres-sql-serializer.d.ts.map +0 -1
- package/cjs/drivers/postgres/postgres-sql-serializer.js +0 -400
- package/cjs/drivers/postgres/postgres-sql-serializer.js.map +0 -1
- package/cjs/drivers/postgres/postgres-sync-adapter.d.ts +0 -83
- package/cjs/drivers/postgres/postgres-sync-adapter.d.ts.map +0 -1
- package/cjs/drivers/postgres/postgres-sync-adapter.js +0 -197
- package/cjs/drivers/postgres/postgres-sync-adapter.js.map +0 -1
- package/cjs/drivers/postgres/types.d.ts +0 -142
- package/cjs/drivers/postgres/types.d.ts.map +0 -1
- package/cjs/drivers/sql/index.d.ts +0 -10
- package/cjs/drivers/sql/index.d.ts.map +0 -1
- package/cjs/drivers/sql/sql-dialect.contract.d.ts +0 -204
- package/cjs/drivers/sql/sql-dialect.contract.d.ts.map +0 -1
- package/cjs/drivers/sql/sql-types.d.ts +0 -202
- package/cjs/drivers/sql/sql-types.d.ts.map +0 -1
- package/cjs/errors/missing-data-source.error.d.ts +0 -22
- package/cjs/errors/missing-data-source.error.d.ts.map +0 -1
- package/cjs/errors/missing-data-source.error.js +0 -29
- package/cjs/errors/missing-data-source.error.js.map +0 -1
- package/cjs/errors/transaction-rollback.error.d.ts +0 -20
- package/cjs/errors/transaction-rollback.error.d.ts.map +0 -1
- package/cjs/errors/transaction-rollback.error.js +0 -27
- package/cjs/errors/transaction-rollback.error.js.map +0 -1
- package/cjs/events/model-events.d.ts +0 -231
- package/cjs/events/model-events.d.ts.map +0 -1
- package/cjs/events/model-events.js +0 -259
- package/cjs/events/model-events.js.map +0 -1
- package/cjs/expressions/aggregate-expressions.d.ts +0 -215
- package/cjs/expressions/aggregate-expressions.d.ts.map +0 -1
- package/cjs/expressions/aggregate-expressions.js +0 -221
- package/cjs/expressions/aggregate-expressions.js.map +0 -1
- package/cjs/expressions/index.d.ts +0 -2
- package/cjs/expressions/index.d.ts.map +0 -1
- package/cjs/index.d.ts +0 -45
- package/cjs/index.d.ts.map +0 -1
- package/cjs/index.js +0 -1
- package/cjs/index.js.map +0 -1
- package/cjs/migration/column-builder.d.ts +0 -417
- package/cjs/migration/column-builder.d.ts.map +0 -1
- package/cjs/migration/column-builder.js +0 -586
- package/cjs/migration/column-builder.js.map +0 -1
- package/cjs/migration/column-helpers.d.ts +0 -275
- package/cjs/migration/column-helpers.d.ts.map +0 -1
- package/cjs/migration/column-helpers.js +0 -389
- package/cjs/migration/column-helpers.js.map +0 -1
- package/cjs/migration/foreign-key-builder.d.ts +0 -103
- package/cjs/migration/foreign-key-builder.d.ts.map +0 -1
- package/cjs/migration/foreign-key-builder.js +0 -121
- package/cjs/migration/foreign-key-builder.js.map +0 -1
- package/cjs/migration/index.d.ts +0 -7
- package/cjs/migration/index.d.ts.map +0 -1
- package/cjs/migration/migration-runner.d.ts +0 -278
- package/cjs/migration/migration-runner.d.ts.map +0 -1
- package/cjs/migration/migration-runner.js +0 -815
- package/cjs/migration/migration-runner.js.map +0 -1
- package/cjs/migration/migration.d.ts +0 -1992
- package/cjs/migration/migration.d.ts.map +0 -1
- package/cjs/migration/migration.js +0 -2162
- package/cjs/migration/migration.js.map +0 -1
- package/cjs/migration/sql-grammar.d.ts +0 -61
- package/cjs/migration/sql-grammar.d.ts.map +0 -1
- package/cjs/migration/sql-grammar.js +0 -164
- package/cjs/migration/sql-grammar.js.map +0 -1
- package/cjs/migration/sql-serializer.d.ts +0 -22
- package/cjs/migration/sql-serializer.d.ts.map +0 -1
- package/cjs/migration/sql-serializer.js +0 -26
- package/cjs/migration/sql-serializer.js.map +0 -1
- package/cjs/migration/types.d.ts +0 -155
- package/cjs/migration/types.d.ts.map +0 -1
- package/cjs/model/methods/accessor-methods.d.ts +0 -13
- package/cjs/model/methods/accessor-methods.d.ts.map +0 -1
- package/cjs/model/methods/accessor-methods.js +0 -51
- package/cjs/model/methods/accessor-methods.js.map +0 -1
- package/cjs/model/methods/delete-methods.d.ts +0 -10
- package/cjs/model/methods/delete-methods.d.ts.map +0 -1
- package/cjs/model/methods/delete-methods.js +0 -10
- package/cjs/model/methods/delete-methods.js.map +0 -1
- package/cjs/model/methods/dirty-methods.d.ts +0 -10
- package/cjs/model/methods/dirty-methods.d.ts.map +0 -1
- package/cjs/model/methods/dirty-methods.js +0 -15
- package/cjs/model/methods/dirty-methods.js.map +0 -1
- package/cjs/model/methods/hydration-methods.d.ts +0 -10
- package/cjs/model/methods/hydration-methods.d.ts.map +0 -1
- package/cjs/model/methods/hydration-methods.js +0 -57
- package/cjs/model/methods/hydration-methods.js.map +0 -1
- package/cjs/model/methods/instance-event-methods.d.ts +0 -7
- package/cjs/model/methods/instance-event-methods.d.ts.map +0 -1
- package/cjs/model/methods/instance-event-methods.js +0 -15
- package/cjs/model/methods/instance-event-methods.js.map +0 -1
- package/cjs/model/methods/meta-methods.d.ts +0 -7
- package/cjs/model/methods/meta-methods.d.ts.map +0 -1
- package/cjs/model/methods/meta-methods.js +0 -78
- package/cjs/model/methods/meta-methods.js.map +0 -1
- package/cjs/model/methods/query-methods.d.ts +0 -24
- package/cjs/model/methods/query-methods.d.ts.map +0 -1
- package/cjs/model/methods/query-methods.js +0 -161
- package/cjs/model/methods/query-methods.js.map +0 -1
- package/cjs/model/methods/restore-methods.d.ts +0 -10
- package/cjs/model/methods/restore-methods.d.ts.map +0 -1
- package/cjs/model/methods/restore-methods.js +0 -13
- package/cjs/model/methods/restore-methods.js.map +0 -1
- package/cjs/model/methods/scope-methods.d.ts +0 -7
- package/cjs/model/methods/scope-methods.d.ts.map +0 -1
- package/cjs/model/methods/scope-methods.js +0 -15
- package/cjs/model/methods/scope-methods.js.map +0 -1
- package/cjs/model/methods/serialization-methods.d.ts +0 -3
- package/cjs/model/methods/serialization-methods.d.ts.map +0 -1
- package/cjs/model/methods/serialization-methods.js +0 -27
- package/cjs/model/methods/serialization-methods.js.map +0 -1
- package/cjs/model/methods/static-event-methods.d.ts +0 -9
- package/cjs/model/methods/static-event-methods.d.ts.map +0 -1
- package/cjs/model/methods/static-event-methods.js +0 -29
- package/cjs/model/methods/static-event-methods.js.map +0 -1
- package/cjs/model/methods/write-methods.d.ts +0 -10
- package/cjs/model/methods/write-methods.d.ts.map +0 -1
- package/cjs/model/methods/write-methods.js +0 -52
- package/cjs/model/methods/write-methods.js.map +0 -1
- package/cjs/model/model.d.ts +0 -1650
- package/cjs/model/model.d.ts.map +0 -1
- package/cjs/model/model.js +0 -1657
- package/cjs/model/model.js.map +0 -1
- package/cjs/model/model.types.d.ts +0 -44
- package/cjs/model/model.types.d.ts.map +0 -1
- package/cjs/model/register-model.d.ts +0 -81
- package/cjs/model/register-model.d.ts.map +0 -1
- package/cjs/model/register-model.js +0 -94
- package/cjs/model/register-model.js.map +0 -1
- package/cjs/query-builder/query-builder.d.ts +0 -556
- package/cjs/query-builder/query-builder.d.ts.map +0 -1
- package/cjs/query-builder/query-builder.js +0 -1070
- package/cjs/query-builder/query-builder.js.map +0 -1
- package/cjs/relations/helpers.d.ts +0 -156
- package/cjs/relations/helpers.d.ts.map +0 -1
- package/cjs/relations/helpers.js +0 -201
- package/cjs/relations/helpers.js.map +0 -1
- package/cjs/relations/index.d.ts +0 -35
- package/cjs/relations/index.d.ts.map +0 -1
- package/cjs/relations/pivot-operations.d.ts +0 -160
- package/cjs/relations/pivot-operations.d.ts.map +0 -1
- package/cjs/relations/pivot-operations.js +0 -293
- package/cjs/relations/pivot-operations.js.map +0 -1
- package/cjs/relations/relation-hydrator.d.ts +0 -68
- package/cjs/relations/relation-hydrator.d.ts.map +0 -1
- package/cjs/relations/relation-hydrator.js +0 -81
- package/cjs/relations/relation-hydrator.js.map +0 -1
- package/cjs/relations/relation-loader.d.ts +0 -194
- package/cjs/relations/relation-loader.d.ts.map +0 -1
- package/cjs/relations/relation-loader.js +0 -466
- package/cjs/relations/relation-loader.js.map +0 -1
- package/cjs/relations/types.d.ts +0 -306
- package/cjs/relations/types.d.ts.map +0 -1
- package/cjs/remover/database-remover.d.ts +0 -100
- package/cjs/remover/database-remover.d.ts.map +0 -1
- package/cjs/remover/database-remover.js +0 -214
- package/cjs/remover/database-remover.js.map +0 -1
- package/cjs/restorer/database-restorer.d.ts +0 -131
- package/cjs/restorer/database-restorer.d.ts.map +0 -1
- package/cjs/restorer/database-restorer.js +0 -434
- package/cjs/restorer/database-restorer.js.map +0 -1
- package/cjs/sql-database-dirty-tracker.d.ts +0 -13
- package/cjs/sql-database-dirty-tracker.d.ts.map +0 -1
- package/cjs/sql-database-dirty-tracker.js +0 -14
- package/cjs/sql-database-dirty-tracker.js.map +0 -1
- package/cjs/sync/index.d.ts +0 -12
- package/cjs/sync/index.d.ts.map +0 -1
- package/cjs/sync/model-events.d.ts +0 -62
- package/cjs/sync/model-events.d.ts.map +0 -1
- package/cjs/sync/model-events.js +0 -49
- package/cjs/sync/model-events.js.map +0 -1
- package/cjs/sync/model-sync-operation.d.ts +0 -163
- package/cjs/sync/model-sync-operation.d.ts.map +0 -1
- package/cjs/sync/model-sync-operation.js +0 -292
- package/cjs/sync/model-sync-operation.js.map +0 -1
- package/cjs/sync/model-sync.d.ts +0 -130
- package/cjs/sync/model-sync.d.ts.map +0 -1
- package/cjs/sync/model-sync.js +0 -178
- package/cjs/sync/model-sync.js.map +0 -1
- package/cjs/sync/sync-context.d.ts +0 -70
- package/cjs/sync/sync-context.d.ts.map +0 -1
- package/cjs/sync/sync-context.js +0 -101
- package/cjs/sync/sync-context.js.map +0 -1
- package/cjs/sync/sync-manager.d.ts +0 -213
- package/cjs/sync/sync-manager.d.ts.map +0 -1
- package/cjs/sync/sync-manager.js +0 -689
- package/cjs/sync/sync-manager.js.map +0 -1
- package/cjs/sync/types.d.ts +0 -289
- package/cjs/sync/types.d.ts.map +0 -1
- package/cjs/test-migrations/test-enhanced-features.migration.d.ts +0 -15
- package/cjs/test-migrations/test-enhanced-features.migration.d.ts.map +0 -1
- package/cjs/types.d.ts +0 -371
- package/cjs/types.d.ts.map +0 -1
- package/cjs/utils/connect-to-database.d.ts +0 -300
- package/cjs/utils/connect-to-database.d.ts.map +0 -1
- package/cjs/utils/connect-to-database.js +0 -128
- package/cjs/utils/connect-to-database.js.map +0 -1
- package/cjs/utils/database-writer.utils.d.ts +0 -15
- package/cjs/utils/database-writer.utils.d.ts.map +0 -1
- package/cjs/utils/database-writer.utils.js +0 -14
- package/cjs/utils/database-writer.utils.js.map +0 -1
- package/cjs/utils/define-model.js +0 -100
- package/cjs/utils/define-model.js.map +0 -1
- package/cjs/utils/is-valid-date-value.d.ts +0 -5
- package/cjs/utils/is-valid-date-value.d.ts.map +0 -1
- package/cjs/utils/is-valid-date-value.js +0 -25
- package/cjs/utils/is-valid-date-value.js.map +0 -1
- package/cjs/utils/once-connected.d.ts +0 -146
- package/cjs/utils/once-connected.d.ts.map +0 -1
- package/cjs/utils/once-connected.js +0 -251
- package/cjs/utils/once-connected.js.map +0 -1
- package/cjs/validation/database-seal-plugins.d.ts +0 -12
- package/cjs/validation/database-seal-plugins.d.ts.map +0 -1
- package/cjs/validation/database-seal-plugins.js +0 -1
- package/cjs/validation/database-seal-plugins.js.map +0 -1
- package/cjs/validation/database-writer-validation-error.d.ts +0 -97
- package/cjs/validation/database-writer-validation-error.d.ts.map +0 -1
- package/cjs/validation/database-writer-validation-error.js +0 -160
- package/cjs/validation/database-writer-validation-error.js.map +0 -1
- package/cjs/validation/index.d.ts +0 -3
- package/cjs/validation/index.d.ts.map +0 -1
- package/cjs/validation/mutators/embed-mutator.d.ts +0 -9
- package/cjs/validation/mutators/embed-mutator.d.ts.map +0 -1
- package/cjs/validation/mutators/embed-mutator.js +0 -33
- package/cjs/validation/mutators/embed-mutator.js.map +0 -1
- package/cjs/validation/plugins/embed-validator-plugin.d.ts +0 -24
- package/cjs/validation/plugins/embed-validator-plugin.d.ts.map +0 -1
- package/cjs/validation/plugins/embed-validator-plugin.js +0 -18
- package/cjs/validation/plugins/embed-validator-plugin.js.map +0 -1
- package/cjs/validation/rules/database-model-rule.d.ts +0 -7
- package/cjs/validation/rules/database-model-rule.d.ts.map +0 -1
- package/cjs/validation/rules/database-model-rule.js +0 -27
- package/cjs/validation/rules/database-model-rule.js.map +0 -1
- package/cjs/validation/transformers/embed-model-transformer.d.ts +0 -3
- package/cjs/validation/transformers/embed-model-transformer.d.ts.map +0 -1
- package/cjs/validation/transformers/embed-model-transformer.js +0 -18
- package/cjs/validation/transformers/embed-model-transformer.js.map +0 -1
- package/cjs/validation/validators/embed-validator.d.ts +0 -21
- package/cjs/validation/validators/embed-validator.d.ts.map +0 -1
- package/cjs/validation/validators/embed-validator.js +0 -43
- package/cjs/validation/validators/embed-validator.js.map +0 -1
- package/cjs/writer/database-writer.d.ts +0 -181
- package/cjs/writer/database-writer.d.ts.map +0 -1
- package/cjs/writer/database-writer.js +0 -407
- package/cjs/writer/database-writer.js.map +0 -1
- package/esm/context/database-data-source-context.d.ts +0 -29
- package/esm/context/database-data-source-context.d.ts.map +0 -1
- package/esm/context/database-data-source-context.js +0 -28
- package/esm/context/database-data-source-context.js.map +0 -1
- package/esm/context/database-transaction-context.d.ts +0 -35
- package/esm/context/database-transaction-context.d.ts.map +0 -1
- package/esm/context/database-transaction-context.js +0 -40
- package/esm/context/database-transaction-context.js.map +0 -1
- package/esm/contracts/database-driver.contract.d.ts +0 -450
- package/esm/contracts/database-driver.contract.d.ts.map +0 -1
- package/esm/contracts/database-id-generator.contract.d.ts +0 -109
- package/esm/contracts/database-id-generator.contract.d.ts.map +0 -1
- package/esm/contracts/database-remover.contract.d.ts +0 -104
- package/esm/contracts/database-remover.contract.d.ts.map +0 -1
- package/esm/contracts/database-restorer.contract.d.ts +0 -143
- package/esm/contracts/database-restorer.contract.d.ts.map +0 -1
- package/esm/contracts/database-writer.contract.d.ts +0 -119
- package/esm/contracts/database-writer.contract.d.ts.map +0 -1
- package/esm/contracts/driver-blueprint.contract.d.ts +0 -49
- package/esm/contracts/driver-blueprint.contract.d.ts.map +0 -1
- package/esm/contracts/index.d.ts +0 -10
- package/esm/contracts/index.d.ts.map +0 -1
- package/esm/contracts/migration-driver.contract.d.ts +0 -522
- package/esm/contracts/migration-driver.contract.d.ts.map +0 -1
- package/esm/contracts/query-builder.contract.d.ts +0 -1609
- package/esm/contracts/query-builder.contract.d.ts.map +0 -1
- package/esm/contracts/sync-adapter.contract.d.ts +0 -58
- package/esm/contracts/sync-adapter.contract.d.ts.map +0 -1
- package/esm/data-source/data-source-registry.d.ts +0 -108
- package/esm/data-source/data-source-registry.d.ts.map +0 -1
- package/esm/data-source/data-source-registry.js +0 -145
- package/esm/data-source/data-source-registry.js.map +0 -1
- package/esm/data-source/data-source.d.ts +0 -147
- package/esm/data-source/data-source.d.ts.map +0 -1
- package/esm/data-source/data-source.js +0 -83
- package/esm/data-source/data-source.js.map +0 -1
- package/esm/database-dirty-tracker.d.ts +0 -252
- package/esm/database-dirty-tracker.d.ts.map +0 -1
- package/esm/database-dirty-tracker.js +0 -386
- package/esm/database-dirty-tracker.js.map +0 -1
- package/esm/drivers/mongodb/mongodb-blueprint.d.ts +0 -30
- package/esm/drivers/mongodb/mongodb-blueprint.d.ts.map +0 -1
- package/esm/drivers/mongodb/mongodb-blueprint.js +0 -51
- package/esm/drivers/mongodb/mongodb-blueprint.js.map +0 -1
- package/esm/drivers/mongodb/mongodb-driver.d.ts +0 -324
- package/esm/drivers/mongodb/mongodb-driver.d.ts.map +0 -1
- package/esm/drivers/mongodb/mongodb-driver.js +0 -799
- package/esm/drivers/mongodb/mongodb-driver.js.map +0 -1
- package/esm/drivers/mongodb/mongodb-id-generator.d.ts +0 -116
- package/esm/drivers/mongodb/mongodb-id-generator.d.ts.map +0 -1
- package/esm/drivers/mongodb/mongodb-id-generator.js +0 -149
- package/esm/drivers/mongodb/mongodb-id-generator.js.map +0 -1
- package/esm/drivers/mongodb/mongodb-migration-driver.d.ts +0 -317
- package/esm/drivers/mongodb/mongodb-migration-driver.d.ts.map +0 -1
- package/esm/drivers/mongodb/mongodb-migration-driver.js +0 -666
- package/esm/drivers/mongodb/mongodb-migration-driver.js.map +0 -1
- package/esm/drivers/mongodb/mongodb-query-builder.d.ts +0 -1122
- package/esm/drivers/mongodb/mongodb-query-builder.d.ts.map +0 -1
- package/esm/drivers/mongodb/mongodb-query-builder.js +0 -1988
- package/esm/drivers/mongodb/mongodb-query-builder.js.map +0 -1
- package/esm/drivers/mongodb/mongodb-query-operations.d.ts +0 -226
- package/esm/drivers/mongodb/mongodb-query-operations.d.ts.map +0 -1
- package/esm/drivers/mongodb/mongodb-query-operations.js +0 -270
- package/esm/drivers/mongodb/mongodb-query-operations.js.map +0 -1
- package/esm/drivers/mongodb/mongodb-query-parser.d.ts +0 -262
- package/esm/drivers/mongodb/mongodb-query-parser.d.ts.map +0 -1
- package/esm/drivers/mongodb/mongodb-query-parser.js +0 -1351
- package/esm/drivers/mongodb/mongodb-query-parser.js.map +0 -1
- package/esm/drivers/mongodb/mongodb-sync-adapter.d.ts +0 -79
- package/esm/drivers/mongodb/mongodb-sync-adapter.d.ts.map +0 -1
- package/esm/drivers/mongodb/mongodb-sync-adapter.js +0 -146
- package/esm/drivers/mongodb/mongodb-sync-adapter.js.map +0 -1
- package/esm/drivers/mongodb/types.d.ts +0 -43
- package/esm/drivers/mongodb/types.d.ts.map +0 -1
- package/esm/drivers/postgres/index.d.ts +0 -16
- package/esm/drivers/postgres/index.d.ts.map +0 -1
- package/esm/drivers/postgres/postgres-blueprint.d.ts +0 -64
- package/esm/drivers/postgres/postgres-blueprint.d.ts.map +0 -1
- package/esm/drivers/postgres/postgres-blueprint.js +0 -121
- package/esm/drivers/postgres/postgres-blueprint.js.map +0 -1
- package/esm/drivers/postgres/postgres-dialect.d.ts +0 -136
- package/esm/drivers/postgres/postgres-dialect.d.ts.map +0 -1
- package/esm/drivers/postgres/postgres-dialect.js +0 -268
- package/esm/drivers/postgres/postgres-dialect.js.map +0 -1
- package/esm/drivers/postgres/postgres-driver.d.ts +0 -432
- package/esm/drivers/postgres/postgres-driver.d.ts.map +0 -1
- package/esm/drivers/postgres/postgres-driver.js +0 -965
- package/esm/drivers/postgres/postgres-driver.js.map +0 -1
- package/esm/drivers/postgres/postgres-migration-driver.d.ts +0 -397
- package/esm/drivers/postgres/postgres-migration-driver.d.ts.map +0 -1
- package/esm/drivers/postgres/postgres-migration-driver.js +0 -900
- package/esm/drivers/postgres/postgres-migration-driver.js.map +0 -1
- package/esm/drivers/postgres/postgres-query-builder.d.ts +0 -254
- package/esm/drivers/postgres/postgres-query-builder.d.ts.map +0 -1
- package/esm/drivers/postgres/postgres-query-builder.js +0 -933
- package/esm/drivers/postgres/postgres-query-builder.js.map +0 -1
- package/esm/drivers/postgres/postgres-query-parser.d.ts +0 -328
- package/esm/drivers/postgres/postgres-query-parser.d.ts.map +0 -1
- package/esm/drivers/postgres/postgres-query-parser.js +0 -864
- package/esm/drivers/postgres/postgres-query-parser.js.map +0 -1
- package/esm/drivers/postgres/postgres-sql-serializer.d.ts +0 -37
- package/esm/drivers/postgres/postgres-sql-serializer.d.ts.map +0 -1
- package/esm/drivers/postgres/postgres-sql-serializer.js +0 -400
- package/esm/drivers/postgres/postgres-sql-serializer.js.map +0 -1
- package/esm/drivers/postgres/postgres-sync-adapter.d.ts +0 -83
- package/esm/drivers/postgres/postgres-sync-adapter.d.ts.map +0 -1
- package/esm/drivers/postgres/postgres-sync-adapter.js +0 -197
- package/esm/drivers/postgres/postgres-sync-adapter.js.map +0 -1
- package/esm/drivers/postgres/types.d.ts +0 -142
- package/esm/drivers/postgres/types.d.ts.map +0 -1
- package/esm/drivers/sql/index.d.ts +0 -10
- package/esm/drivers/sql/index.d.ts.map +0 -1
- package/esm/drivers/sql/sql-dialect.contract.d.ts +0 -204
- package/esm/drivers/sql/sql-dialect.contract.d.ts.map +0 -1
- package/esm/drivers/sql/sql-types.d.ts +0 -202
- package/esm/drivers/sql/sql-types.d.ts.map +0 -1
- package/esm/errors/missing-data-source.error.d.ts +0 -22
- package/esm/errors/missing-data-source.error.d.ts.map +0 -1
- package/esm/errors/missing-data-source.error.js +0 -29
- package/esm/errors/missing-data-source.error.js.map +0 -1
- package/esm/errors/transaction-rollback.error.d.ts +0 -20
- package/esm/errors/transaction-rollback.error.d.ts.map +0 -1
- package/esm/errors/transaction-rollback.error.js +0 -27
- package/esm/errors/transaction-rollback.error.js.map +0 -1
- package/esm/events/model-events.d.ts +0 -231
- package/esm/events/model-events.d.ts.map +0 -1
- package/esm/events/model-events.js +0 -259
- package/esm/events/model-events.js.map +0 -1
- package/esm/expressions/aggregate-expressions.d.ts +0 -215
- package/esm/expressions/aggregate-expressions.d.ts.map +0 -1
- package/esm/expressions/aggregate-expressions.js +0 -221
- package/esm/expressions/aggregate-expressions.js.map +0 -1
- package/esm/expressions/index.d.ts +0 -2
- package/esm/expressions/index.d.ts.map +0 -1
- package/esm/index.d.ts +0 -45
- package/esm/index.d.ts.map +0 -1
- package/esm/index.js +0 -1
- package/esm/index.js.map +0 -1
- package/esm/migration/column-builder.d.ts +0 -417
- package/esm/migration/column-builder.d.ts.map +0 -1
- package/esm/migration/column-builder.js +0 -586
- package/esm/migration/column-builder.js.map +0 -1
- package/esm/migration/column-helpers.d.ts +0 -275
- package/esm/migration/column-helpers.d.ts.map +0 -1
- package/esm/migration/column-helpers.js +0 -389
- package/esm/migration/column-helpers.js.map +0 -1
- package/esm/migration/foreign-key-builder.d.ts +0 -103
- package/esm/migration/foreign-key-builder.d.ts.map +0 -1
- package/esm/migration/foreign-key-builder.js +0 -121
- package/esm/migration/foreign-key-builder.js.map +0 -1
- package/esm/migration/index.d.ts +0 -7
- package/esm/migration/index.d.ts.map +0 -1
- package/esm/migration/migration-runner.d.ts +0 -278
- package/esm/migration/migration-runner.d.ts.map +0 -1
- package/esm/migration/migration-runner.js +0 -815
- package/esm/migration/migration-runner.js.map +0 -1
- package/esm/migration/migration.d.ts +0 -1992
- package/esm/migration/migration.d.ts.map +0 -1
- package/esm/migration/migration.js +0 -2162
- package/esm/migration/migration.js.map +0 -1
- package/esm/migration/sql-grammar.d.ts +0 -61
- package/esm/migration/sql-grammar.d.ts.map +0 -1
- package/esm/migration/sql-grammar.js +0 -164
- package/esm/migration/sql-grammar.js.map +0 -1
- package/esm/migration/sql-serializer.d.ts +0 -22
- package/esm/migration/sql-serializer.d.ts.map +0 -1
- package/esm/migration/sql-serializer.js +0 -26
- package/esm/migration/sql-serializer.js.map +0 -1
- package/esm/migration/types.d.ts +0 -155
- package/esm/migration/types.d.ts.map +0 -1
- package/esm/model/methods/accessor-methods.d.ts +0 -13
- package/esm/model/methods/accessor-methods.d.ts.map +0 -1
- package/esm/model/methods/accessor-methods.js +0 -51
- package/esm/model/methods/accessor-methods.js.map +0 -1
- package/esm/model/methods/delete-methods.d.ts +0 -10
- package/esm/model/methods/delete-methods.d.ts.map +0 -1
- package/esm/model/methods/delete-methods.js +0 -10
- package/esm/model/methods/delete-methods.js.map +0 -1
- package/esm/model/methods/dirty-methods.d.ts +0 -10
- package/esm/model/methods/dirty-methods.d.ts.map +0 -1
- package/esm/model/methods/dirty-methods.js +0 -15
- package/esm/model/methods/dirty-methods.js.map +0 -1
- package/esm/model/methods/hydration-methods.d.ts +0 -10
- package/esm/model/methods/hydration-methods.d.ts.map +0 -1
- package/esm/model/methods/hydration-methods.js +0 -57
- package/esm/model/methods/hydration-methods.js.map +0 -1
- package/esm/model/methods/instance-event-methods.d.ts +0 -7
- package/esm/model/methods/instance-event-methods.d.ts.map +0 -1
- package/esm/model/methods/instance-event-methods.js +0 -15
- package/esm/model/methods/instance-event-methods.js.map +0 -1
- package/esm/model/methods/meta-methods.d.ts +0 -7
- package/esm/model/methods/meta-methods.d.ts.map +0 -1
- package/esm/model/methods/meta-methods.js +0 -78
- package/esm/model/methods/meta-methods.js.map +0 -1
- package/esm/model/methods/query-methods.d.ts +0 -24
- package/esm/model/methods/query-methods.d.ts.map +0 -1
- package/esm/model/methods/query-methods.js +0 -161
- package/esm/model/methods/query-methods.js.map +0 -1
- package/esm/model/methods/restore-methods.d.ts +0 -10
- package/esm/model/methods/restore-methods.d.ts.map +0 -1
- package/esm/model/methods/restore-methods.js +0 -13
- package/esm/model/methods/restore-methods.js.map +0 -1
- package/esm/model/methods/scope-methods.d.ts +0 -7
- package/esm/model/methods/scope-methods.d.ts.map +0 -1
- package/esm/model/methods/scope-methods.js +0 -15
- package/esm/model/methods/scope-methods.js.map +0 -1
- package/esm/model/methods/serialization-methods.d.ts +0 -3
- package/esm/model/methods/serialization-methods.d.ts.map +0 -1
- package/esm/model/methods/serialization-methods.js +0 -27
- package/esm/model/methods/serialization-methods.js.map +0 -1
- package/esm/model/methods/static-event-methods.d.ts +0 -9
- package/esm/model/methods/static-event-methods.d.ts.map +0 -1
- package/esm/model/methods/static-event-methods.js +0 -29
- package/esm/model/methods/static-event-methods.js.map +0 -1
- package/esm/model/methods/write-methods.d.ts +0 -10
- package/esm/model/methods/write-methods.d.ts.map +0 -1
- package/esm/model/methods/write-methods.js +0 -52
- package/esm/model/methods/write-methods.js.map +0 -1
- package/esm/model/model.d.ts +0 -1650
- package/esm/model/model.d.ts.map +0 -1
- package/esm/model/model.js +0 -1657
- package/esm/model/model.js.map +0 -1
- package/esm/model/model.types.d.ts +0 -44
- package/esm/model/model.types.d.ts.map +0 -1
- package/esm/model/register-model.d.ts +0 -81
- package/esm/model/register-model.d.ts.map +0 -1
- package/esm/model/register-model.js +0 -94
- package/esm/model/register-model.js.map +0 -1
- package/esm/query-builder/query-builder.d.ts +0 -556
- package/esm/query-builder/query-builder.d.ts.map +0 -1
- package/esm/query-builder/query-builder.js +0 -1070
- package/esm/query-builder/query-builder.js.map +0 -1
- package/esm/relations/helpers.d.ts +0 -156
- package/esm/relations/helpers.d.ts.map +0 -1
- package/esm/relations/helpers.js +0 -201
- package/esm/relations/helpers.js.map +0 -1
- package/esm/relations/index.d.ts +0 -35
- package/esm/relations/index.d.ts.map +0 -1
- package/esm/relations/pivot-operations.d.ts +0 -160
- package/esm/relations/pivot-operations.d.ts.map +0 -1
- package/esm/relations/pivot-operations.js +0 -293
- package/esm/relations/pivot-operations.js.map +0 -1
- package/esm/relations/relation-hydrator.d.ts +0 -68
- package/esm/relations/relation-hydrator.d.ts.map +0 -1
- package/esm/relations/relation-hydrator.js +0 -81
- package/esm/relations/relation-hydrator.js.map +0 -1
- package/esm/relations/relation-loader.d.ts +0 -194
- package/esm/relations/relation-loader.d.ts.map +0 -1
- package/esm/relations/relation-loader.js +0 -466
- package/esm/relations/relation-loader.js.map +0 -1
- package/esm/relations/types.d.ts +0 -306
- package/esm/relations/types.d.ts.map +0 -1
- package/esm/remover/database-remover.d.ts +0 -100
- package/esm/remover/database-remover.d.ts.map +0 -1
- package/esm/remover/database-remover.js +0 -214
- package/esm/remover/database-remover.js.map +0 -1
- package/esm/restorer/database-restorer.d.ts +0 -131
- package/esm/restorer/database-restorer.d.ts.map +0 -1
- package/esm/restorer/database-restorer.js +0 -434
- package/esm/restorer/database-restorer.js.map +0 -1
- package/esm/sql-database-dirty-tracker.d.ts +0 -13
- package/esm/sql-database-dirty-tracker.d.ts.map +0 -1
- package/esm/sql-database-dirty-tracker.js +0 -14
- package/esm/sql-database-dirty-tracker.js.map +0 -1
- package/esm/sync/index.d.ts +0 -12
- package/esm/sync/index.d.ts.map +0 -1
- package/esm/sync/model-events.d.ts +0 -62
- package/esm/sync/model-events.d.ts.map +0 -1
- package/esm/sync/model-events.js +0 -49
- package/esm/sync/model-events.js.map +0 -1
- package/esm/sync/model-sync-operation.d.ts +0 -163
- package/esm/sync/model-sync-operation.d.ts.map +0 -1
- package/esm/sync/model-sync-operation.js +0 -292
- package/esm/sync/model-sync-operation.js.map +0 -1
- package/esm/sync/model-sync.d.ts +0 -130
- package/esm/sync/model-sync.d.ts.map +0 -1
- package/esm/sync/model-sync.js +0 -178
- package/esm/sync/model-sync.js.map +0 -1
- package/esm/sync/sync-context.d.ts +0 -70
- package/esm/sync/sync-context.d.ts.map +0 -1
- package/esm/sync/sync-context.js +0 -101
- package/esm/sync/sync-context.js.map +0 -1
- package/esm/sync/sync-manager.d.ts +0 -213
- package/esm/sync/sync-manager.d.ts.map +0 -1
- package/esm/sync/sync-manager.js +0 -689
- package/esm/sync/sync-manager.js.map +0 -1
- package/esm/sync/types.d.ts +0 -289
- package/esm/sync/types.d.ts.map +0 -1
- package/esm/test-migrations/test-enhanced-features.migration.d.ts +0 -15
- package/esm/test-migrations/test-enhanced-features.migration.d.ts.map +0 -1
- package/esm/types.d.ts +0 -371
- package/esm/types.d.ts.map +0 -1
- package/esm/utils/connect-to-database.d.ts +0 -300
- package/esm/utils/connect-to-database.d.ts.map +0 -1
- package/esm/utils/connect-to-database.js +0 -128
- package/esm/utils/connect-to-database.js.map +0 -1
- package/esm/utils/database-writer.utils.d.ts +0 -15
- package/esm/utils/database-writer.utils.d.ts.map +0 -1
- package/esm/utils/database-writer.utils.js +0 -14
- package/esm/utils/database-writer.utils.js.map +0 -1
- package/esm/utils/define-model.js +0 -100
- package/esm/utils/define-model.js.map +0 -1
- package/esm/utils/is-valid-date-value.d.ts +0 -5
- package/esm/utils/is-valid-date-value.d.ts.map +0 -1
- package/esm/utils/is-valid-date-value.js +0 -25
- package/esm/utils/is-valid-date-value.js.map +0 -1
- package/esm/utils/once-connected.d.ts +0 -146
- package/esm/utils/once-connected.d.ts.map +0 -1
- package/esm/utils/once-connected.js +0 -251
- package/esm/utils/once-connected.js.map +0 -1
- package/esm/validation/database-seal-plugins.d.ts +0 -12
- package/esm/validation/database-seal-plugins.d.ts.map +0 -1
- package/esm/validation/database-seal-plugins.js +0 -1
- package/esm/validation/database-seal-plugins.js.map +0 -1
- package/esm/validation/database-writer-validation-error.d.ts +0 -97
- package/esm/validation/database-writer-validation-error.d.ts.map +0 -1
- package/esm/validation/database-writer-validation-error.js +0 -160
- package/esm/validation/database-writer-validation-error.js.map +0 -1
- package/esm/validation/index.d.ts +0 -3
- package/esm/validation/index.d.ts.map +0 -1
- package/esm/validation/mutators/embed-mutator.d.ts +0 -9
- package/esm/validation/mutators/embed-mutator.d.ts.map +0 -1
- package/esm/validation/mutators/embed-mutator.js +0 -33
- package/esm/validation/mutators/embed-mutator.js.map +0 -1
- package/esm/validation/plugins/embed-validator-plugin.d.ts +0 -24
- package/esm/validation/plugins/embed-validator-plugin.d.ts.map +0 -1
- package/esm/validation/plugins/embed-validator-plugin.js +0 -18
- package/esm/validation/plugins/embed-validator-plugin.js.map +0 -1
- package/esm/validation/rules/database-model-rule.d.ts +0 -7
- package/esm/validation/rules/database-model-rule.d.ts.map +0 -1
- package/esm/validation/rules/database-model-rule.js +0 -27
- package/esm/validation/rules/database-model-rule.js.map +0 -1
- package/esm/validation/transformers/embed-model-transformer.d.ts +0 -3
- package/esm/validation/transformers/embed-model-transformer.d.ts.map +0 -1
- package/esm/validation/transformers/embed-model-transformer.js +0 -18
- package/esm/validation/transformers/embed-model-transformer.js.map +0 -1
- package/esm/validation/validators/embed-validator.d.ts +0 -21
- package/esm/validation/validators/embed-validator.d.ts.map +0 -1
- package/esm/validation/validators/embed-validator.js +0 -43
- package/esm/validation/validators/embed-validator.js.map +0 -1
- package/esm/writer/database-writer.d.ts +0 -181
- package/esm/writer/database-writer.d.ts.map +0 -1
- package/esm/writer/database-writer.js +0 -407
- package/esm/writer/database-writer.js.map +0 -1
|
@@ -1,522 +0,0 @@
|
|
|
1
|
-
import type { DataSource } from "../data-source/data-source";
|
|
2
|
-
import type { MigrationDefaults } from "../types";
|
|
3
|
-
import type { DriverContract } from "./database-driver.contract";
|
|
4
|
-
import type { TableIndexInformation } from "./driver-blueprint.contract";
|
|
5
|
-
export type { TableIndexInformation };
|
|
6
|
-
/**
|
|
7
|
-
* Column data types supported across all database drivers.
|
|
8
|
-
*/
|
|
9
|
-
export type ColumnType = "string" | "char" | "text" | "mediumText" | "longText" | "integer" | "smallInteger" | "tinyInteger" | "bigInteger" | "float" | "double" | "decimal" | "boolean" | "date" | "dateTime" | "timestamp" | "time" | "year" | "json" | "binary" | "uuid" | "ulid" | "ipAddress" | "macAddress" | "point" | "polygon" | "lineString" | "geometry" | "vector" | "enum" | "set" | "arrayInt" | "arrayBigInt" | "arrayFloat" | "arrayDecimal" | "arrayBoolean" | "arrayText" | "arrayDate" | "arrayTimestamp" | "arrayUuid";
|
|
10
|
-
/**
|
|
11
|
-
* Column definition used when adding or modifying columns.
|
|
12
|
-
*/
|
|
13
|
-
export type ColumnDefinition = {
|
|
14
|
-
/** Column name */
|
|
15
|
-
name: string;
|
|
16
|
-
/** Column data type */
|
|
17
|
-
type: ColumnType;
|
|
18
|
-
/** Length for string/char types */
|
|
19
|
-
length?: number;
|
|
20
|
-
/** Precision for decimal types */
|
|
21
|
-
precision?: number;
|
|
22
|
-
/** Scale for decimal types */
|
|
23
|
-
scale?: number;
|
|
24
|
-
/** Whether the column allows NULL values */
|
|
25
|
-
nullable?: boolean;
|
|
26
|
-
/** Default value for the column (can be a primitive, SQL string, or {__type: 'CURRENT_TIMESTAMP'}) */
|
|
27
|
-
defaultValue?: unknown;
|
|
28
|
-
/** MySQL: ON UPDATE CURRENT_TIMESTAMP */
|
|
29
|
-
onUpdateCurrent?: boolean;
|
|
30
|
-
/** Whether this is a primary key */
|
|
31
|
-
primary?: boolean;
|
|
32
|
-
/** Whether this column auto-increments */
|
|
33
|
-
autoIncrement?: boolean;
|
|
34
|
-
/** Whether this column must be unsigned (numeric only) */
|
|
35
|
-
unsigned?: boolean;
|
|
36
|
-
/** Whether this column has a unique constraint */
|
|
37
|
-
unique?: boolean;
|
|
38
|
-
/** Column comment/description */
|
|
39
|
-
comment?: string;
|
|
40
|
-
/** Enum/set values */
|
|
41
|
-
values?: string[];
|
|
42
|
-
/** Vector dimensions (for vector type) */
|
|
43
|
-
dimensions?: number;
|
|
44
|
-
/** Whether defaultValue should be treated as raw SQL (true) or escaped literal (false) */
|
|
45
|
-
isRawDefault?: boolean;
|
|
46
|
-
/** Position this column after another column */
|
|
47
|
-
after?: string;
|
|
48
|
-
/** Position this column as the first column in the table */
|
|
49
|
-
first?: boolean;
|
|
50
|
-
/** Generated column configuration */
|
|
51
|
-
generated?: {
|
|
52
|
-
/** SQL expression to compute the value */
|
|
53
|
-
expression: string;
|
|
54
|
-
/** true = STORED (persisted), false = VIRTUAL (computed on read) */
|
|
55
|
-
stored: boolean;
|
|
56
|
-
};
|
|
57
|
-
/** Inline CHECK constraint on this column */
|
|
58
|
-
checkConstraint?: {
|
|
59
|
-
expression: string;
|
|
60
|
-
name: string;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* Index definition for creating database indexes.
|
|
65
|
-
*/
|
|
66
|
-
export type IndexDefinition = {
|
|
67
|
-
/** Index name (auto-generated if not provided) */
|
|
68
|
-
readonly name?: string;
|
|
69
|
-
/** Columns included in the index */
|
|
70
|
-
readonly columns: string[];
|
|
71
|
-
/** Whether this is a unique index */
|
|
72
|
-
readonly unique?: boolean;
|
|
73
|
-
/** Index type (driver-specific) */
|
|
74
|
-
readonly type?: string;
|
|
75
|
-
/** Partial index condition */
|
|
76
|
-
readonly where?: Record<string, unknown>;
|
|
77
|
-
/** Whether to create sparse index (MongoDB) */
|
|
78
|
-
readonly sparse?: boolean;
|
|
79
|
-
/** Sort direction for each column */
|
|
80
|
-
readonly directions?: Array<"asc" | "desc">;
|
|
81
|
-
/** Expression-based index (PostgreSQL) - e.g., ['lower(email)', 'upper(name)'] */
|
|
82
|
-
readonly expressions?: string[];
|
|
83
|
-
/** Covering index columns (PostgreSQL INCLUDE clause) */
|
|
84
|
-
readonly include?: string[];
|
|
85
|
-
/** Create index concurrently without blocking writes (PostgreSQL) */
|
|
86
|
-
readonly concurrently?: boolean;
|
|
87
|
-
};
|
|
88
|
-
/**
|
|
89
|
-
* Full-text search index options.
|
|
90
|
-
*/
|
|
91
|
-
export type FullTextIndexOptions = {
|
|
92
|
-
/** Index name */
|
|
93
|
-
readonly name?: string;
|
|
94
|
-
/** Language for text analysis */
|
|
95
|
-
readonly language?: string;
|
|
96
|
-
/** Field weights for relevance scoring */
|
|
97
|
-
readonly weights?: Record<string, number>;
|
|
98
|
-
};
|
|
99
|
-
/**
|
|
100
|
-
* Geo-spatial index options.
|
|
101
|
-
*/
|
|
102
|
-
export type GeoIndexOptions = {
|
|
103
|
-
/** Index name */
|
|
104
|
-
readonly name?: string;
|
|
105
|
-
/** Index type: "2dsphere" (default) or "2d" */
|
|
106
|
-
readonly type?: "2dsphere" | "2d";
|
|
107
|
-
/** Minimum bound for 2d index */
|
|
108
|
-
readonly min?: number;
|
|
109
|
-
/** Maximum bound for 2d index */
|
|
110
|
-
readonly max?: number;
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
* Vector index options for AI/ML embeddings.
|
|
114
|
-
*/
|
|
115
|
-
export type VectorIndexOptions = {
|
|
116
|
-
/** Vector dimensions (e.g., 1536 for OpenAI) */
|
|
117
|
-
readonly dimensions: number;
|
|
118
|
-
/** Similarity metric */
|
|
119
|
-
readonly similarity?: "cosine" | "euclidean" | "dotProduct";
|
|
120
|
-
/** Index name */
|
|
121
|
-
readonly name?: string;
|
|
122
|
-
/** Number of lists/clusters (IVF) */
|
|
123
|
-
readonly lists?: number;
|
|
124
|
-
};
|
|
125
|
-
/**
|
|
126
|
-
* Foreign key constraint definition (SQL only).
|
|
127
|
-
*/
|
|
128
|
-
export type ForeignKeyDefinition = {
|
|
129
|
-
/** Constraint name */
|
|
130
|
-
readonly name?: string;
|
|
131
|
-
/** Local column name */
|
|
132
|
-
readonly column: string;
|
|
133
|
-
/** Referenced table */
|
|
134
|
-
readonly referencesTable: string;
|
|
135
|
-
/** Referenced column */
|
|
136
|
-
readonly referencesColumn: string;
|
|
137
|
-
/** Action on delete */
|
|
138
|
-
readonly onDelete?: "cascade" | "restrict" | "setNull" | "noAction";
|
|
139
|
-
/** Action on update */
|
|
140
|
-
readonly onUpdate?: "cascade" | "restrict" | "setNull" | "noAction";
|
|
141
|
-
};
|
|
142
|
-
/**
|
|
143
|
-
* Contract that all migration drivers must implement.
|
|
144
|
-
*
|
|
145
|
-
* Each database driver provides its own implementation that translates
|
|
146
|
-
* the abstract operations to native database commands.
|
|
147
|
-
*
|
|
148
|
-
* @example
|
|
149
|
-
* ```typescript
|
|
150
|
-
* const driver = new MongoMigrationDriver(dataSource);
|
|
151
|
-
* await driver.createIndex("users", { columns: ["email"], unique: true });
|
|
152
|
-
* ```
|
|
153
|
-
*/
|
|
154
|
-
export interface MigrationDriverContract {
|
|
155
|
-
/**
|
|
156
|
-
* Create a new table or collection.
|
|
157
|
-
*
|
|
158
|
-
* @param table - Table/collection name
|
|
159
|
-
*/
|
|
160
|
-
createTable(table: string): Promise<void>;
|
|
161
|
-
/**
|
|
162
|
-
* Create a new table or collection if it doesn't exist.
|
|
163
|
-
*
|
|
164
|
-
* @param table - Table/collection name
|
|
165
|
-
*/
|
|
166
|
-
createTableIfNotExists(table: string): Promise<void>;
|
|
167
|
-
/**
|
|
168
|
-
* Drop an existing table or collection.
|
|
169
|
-
*
|
|
170
|
-
* @param table - Table/collection name
|
|
171
|
-
*/
|
|
172
|
-
dropTable(table: string): Promise<void>;
|
|
173
|
-
/**
|
|
174
|
-
* Drop table if it exists (no error if missing).
|
|
175
|
-
*
|
|
176
|
-
* @param table - Table/collection name
|
|
177
|
-
*/
|
|
178
|
-
dropTableIfExists(table: string): Promise<void>;
|
|
179
|
-
/**
|
|
180
|
-
* Rename a table or collection.
|
|
181
|
-
*
|
|
182
|
-
* @param from - Current table name
|
|
183
|
-
* @param to - New table name
|
|
184
|
-
*/
|
|
185
|
-
renameTable(from: string, to: string): Promise<void>;
|
|
186
|
-
/**
|
|
187
|
-
* Truncate a table — remove all rows efficiently.
|
|
188
|
-
*
|
|
189
|
-
* @param table - Table name
|
|
190
|
-
*/
|
|
191
|
-
truncateTable(table: string): Promise<void>;
|
|
192
|
-
/**
|
|
193
|
-
* Check if a table or collection exists.
|
|
194
|
-
*
|
|
195
|
-
* @param table - Table/collection name
|
|
196
|
-
* @returns True if table exists
|
|
197
|
-
*/
|
|
198
|
-
tableExists(table: string): Promise<boolean>;
|
|
199
|
-
/**
|
|
200
|
-
* List all columns in a table.
|
|
201
|
-
*
|
|
202
|
-
* @param table - Table name
|
|
203
|
-
* @returns Array of column definitions
|
|
204
|
-
*/
|
|
205
|
-
listColumns(table: string): Promise<ColumnDefinition[]>;
|
|
206
|
-
/**
|
|
207
|
-
* List all tables in the current database/connection.
|
|
208
|
-
*
|
|
209
|
-
* @returns Array of table names
|
|
210
|
-
*/
|
|
211
|
-
listTables(): Promise<string[]>;
|
|
212
|
-
/**
|
|
213
|
-
* Ensure the migrations tracking table exists.
|
|
214
|
-
*
|
|
215
|
-
* Creates the table with appropriate columns if it doesn't exist:
|
|
216
|
-
* - `name` (string, unique) - Migration name
|
|
217
|
-
* - `batch` (integer) - Batch number
|
|
218
|
-
* - `executedAt` (timestamp) - When the migration was executed
|
|
219
|
-
* - `createdAt` (timestamp, optional) - Migration creation date
|
|
220
|
-
*
|
|
221
|
-
* @param tableName - Name of the migrations table (default: "_migrations")
|
|
222
|
-
*/
|
|
223
|
-
ensureMigrationsTable(tableName: string): Promise<void>;
|
|
224
|
-
/**
|
|
225
|
-
* Add a column to an existing table.
|
|
226
|
-
*
|
|
227
|
-
* Note: This is a no-op for schema-less databases like MongoDB.
|
|
228
|
-
*
|
|
229
|
-
* @param table - Table name
|
|
230
|
-
* @param column - Column definition
|
|
231
|
-
*/
|
|
232
|
-
addColumn(table: string, column: ColumnDefinition): Promise<void>;
|
|
233
|
-
/**
|
|
234
|
-
* Drop a column from an existing table.
|
|
235
|
-
*
|
|
236
|
-
* Note: For MongoDB, this optionally runs $unset on all documents.
|
|
237
|
-
*
|
|
238
|
-
* @param table - Table name
|
|
239
|
-
* @param column - Column name to drop
|
|
240
|
-
*/
|
|
241
|
-
dropColumn(table: string, column: string): Promise<void>;
|
|
242
|
-
/**
|
|
243
|
-
* Drop multiple columns from an existing table.
|
|
244
|
-
*
|
|
245
|
-
* @param table - Table name
|
|
246
|
-
* @param columns - Column names to drop
|
|
247
|
-
*/
|
|
248
|
-
dropColumns(table: string, columns: string[]): Promise<void>;
|
|
249
|
-
/**
|
|
250
|
-
* Rename a column.
|
|
251
|
-
*
|
|
252
|
-
* @param table - Table name
|
|
253
|
-
* @param from - Current column name
|
|
254
|
-
* @param to - New column name
|
|
255
|
-
*/
|
|
256
|
-
renameColumn(table: string, from: string, to: string): Promise<void>;
|
|
257
|
-
/**
|
|
258
|
-
* Modify an existing column's definition.
|
|
259
|
-
*
|
|
260
|
-
* @param table - Table name
|
|
261
|
-
* @param column - New column definition (name must match existing)
|
|
262
|
-
*/
|
|
263
|
-
modifyColumn(table: string, column: ColumnDefinition): Promise<void>;
|
|
264
|
-
/**
|
|
265
|
-
* Create standard timestamp columns (created_at, updated_at).
|
|
266
|
-
*
|
|
267
|
-
* Implementation varies by database driver:
|
|
268
|
-
* - PostgreSQL: Creates TIMESTAMPTZ columns with NOW() defaults
|
|
269
|
-
* - MongoDB: No-op or schema validation (application handles timestamps)
|
|
270
|
-
*
|
|
271
|
-
* @param table - Table name
|
|
272
|
-
*/
|
|
273
|
-
createTimestampColumns(table: string): Promise<void>;
|
|
274
|
-
/**
|
|
275
|
-
* Create an index on one or more columns.
|
|
276
|
-
*
|
|
277
|
-
* @param table - Table name
|
|
278
|
-
* @param index - Index definition
|
|
279
|
-
*/
|
|
280
|
-
createIndex(table: string, index: IndexDefinition): Promise<void>;
|
|
281
|
-
/**
|
|
282
|
-
* Drop an index by name or columns.
|
|
283
|
-
*
|
|
284
|
-
* @param table - Table name
|
|
285
|
-
* @param indexNameOrColumns - Index name (string) or columns array
|
|
286
|
-
*/
|
|
287
|
-
dropIndex(table: string, indexNameOrColumns: string | string[]): Promise<void>;
|
|
288
|
-
/**
|
|
289
|
-
* Create a unique index/constraint.
|
|
290
|
-
*
|
|
291
|
-
* @param table - Table name
|
|
292
|
-
* @param columns - Columns to include
|
|
293
|
-
* @param name - Optional index name
|
|
294
|
-
*/
|
|
295
|
-
createUniqueIndex(table: string, columns: string[], name?: string): Promise<void>;
|
|
296
|
-
/**
|
|
297
|
-
* Drop a unique index/constraint.
|
|
298
|
-
*
|
|
299
|
-
* @param table - Table name
|
|
300
|
-
* @param columns - Columns in the index (used to find it)
|
|
301
|
-
*/
|
|
302
|
-
dropUniqueIndex(table: string, columns: string[]): Promise<void>;
|
|
303
|
-
/**
|
|
304
|
-
* Create a full-text search index.
|
|
305
|
-
*
|
|
306
|
-
* @param table - Table name
|
|
307
|
-
* @param columns - Columns to index
|
|
308
|
-
* @param options - Full-text options
|
|
309
|
-
*/
|
|
310
|
-
createFullTextIndex(table: string, columns: string[], options?: FullTextIndexOptions): Promise<void>;
|
|
311
|
-
/**
|
|
312
|
-
* Drop a full-text search index.
|
|
313
|
-
*
|
|
314
|
-
* @param table - Table name
|
|
315
|
-
* @param name - Index name
|
|
316
|
-
*/
|
|
317
|
-
dropFullTextIndex(table: string, name: string): Promise<void>;
|
|
318
|
-
/**
|
|
319
|
-
* Create a geo-spatial index.
|
|
320
|
-
*
|
|
321
|
-
* @param table - Table name
|
|
322
|
-
* @param column - Geo column
|
|
323
|
-
* @param options - Geo index options
|
|
324
|
-
*/
|
|
325
|
-
createGeoIndex(table: string, column: string, options?: GeoIndexOptions): Promise<void>;
|
|
326
|
-
/**
|
|
327
|
-
* Drop a geo-spatial index.
|
|
328
|
-
*
|
|
329
|
-
* @param table - Table name
|
|
330
|
-
* @param column - Geo column (used to find index)
|
|
331
|
-
*/
|
|
332
|
-
dropGeoIndex(table: string, column: string): Promise<void>;
|
|
333
|
-
/**
|
|
334
|
-
* Create a vector search index for AI embeddings.
|
|
335
|
-
*
|
|
336
|
-
* @param table - Table name
|
|
337
|
-
* @param column - Vector column
|
|
338
|
-
* @param options - Vector index options
|
|
339
|
-
*/
|
|
340
|
-
createVectorIndex(table: string, column: string, options: VectorIndexOptions): Promise<void>;
|
|
341
|
-
/**
|
|
342
|
-
* Drop a vector search index.
|
|
343
|
-
*
|
|
344
|
-
* @param table - Table name
|
|
345
|
-
* @param column - Vector column
|
|
346
|
-
*/
|
|
347
|
-
dropVectorIndex(table: string, column: string): Promise<void>;
|
|
348
|
-
/**
|
|
349
|
-
* Create a TTL (time-to-live) index for automatic document expiration.
|
|
350
|
-
*
|
|
351
|
-
* Note: Primarily for MongoDB. SQL databases may throw "not supported".
|
|
352
|
-
*
|
|
353
|
-
* @param table - Table name
|
|
354
|
-
* @param column - Date column to check for expiration
|
|
355
|
-
* @param expireAfterSeconds - Seconds after which documents expire
|
|
356
|
-
*/
|
|
357
|
-
createTTLIndex(table: string, column: string, expireAfterSeconds: number): Promise<void>;
|
|
358
|
-
/**
|
|
359
|
-
* Drop a TTL index.
|
|
360
|
-
*
|
|
361
|
-
* @param table - Table name
|
|
362
|
-
* @param column - Column with TTL index
|
|
363
|
-
*/
|
|
364
|
-
dropTTLIndex(table: string, column: string): Promise<void>;
|
|
365
|
-
/**
|
|
366
|
-
* List all indexes on a table.
|
|
367
|
-
*
|
|
368
|
-
* @param table - Table name
|
|
369
|
-
* @returns Array of index metadata
|
|
370
|
-
*/
|
|
371
|
-
listIndexes(table: string): Promise<TableIndexInformation[]>;
|
|
372
|
-
/**
|
|
373
|
-
* Add a foreign key constraint.
|
|
374
|
-
*
|
|
375
|
-
* Note: No-op for MongoDB.
|
|
376
|
-
*
|
|
377
|
-
* @param table - Table name
|
|
378
|
-
* @param foreignKey - Foreign key definition
|
|
379
|
-
*/
|
|
380
|
-
addForeignKey(table: string, foreignKey: ForeignKeyDefinition): Promise<void>;
|
|
381
|
-
/**
|
|
382
|
-
* Drop a foreign key constraint.
|
|
383
|
-
*
|
|
384
|
-
* @param table - Table name
|
|
385
|
-
* @param name - Constraint name
|
|
386
|
-
*/
|
|
387
|
-
dropForeignKey(table: string, name: string): Promise<void>;
|
|
388
|
-
/**
|
|
389
|
-
* Add a primary key constraint.
|
|
390
|
-
*
|
|
391
|
-
* @param table - Table name
|
|
392
|
-
* @param columns - Primary key columns
|
|
393
|
-
*/
|
|
394
|
-
addPrimaryKey(table: string, columns: string[]): Promise<void>;
|
|
395
|
-
/**
|
|
396
|
-
* Drop the primary key constraint.
|
|
397
|
-
*
|
|
398
|
-
* @param table - Table name
|
|
399
|
-
*/
|
|
400
|
-
dropPrimaryKey(table: string): Promise<void>;
|
|
401
|
-
/**
|
|
402
|
-
* Add a CHECK constraint.
|
|
403
|
-
*
|
|
404
|
-
* Validates that all rows satisfy the given SQL expression.
|
|
405
|
-
*
|
|
406
|
-
* @param table - Table name
|
|
407
|
-
* @param name - Constraint name
|
|
408
|
-
* @param expression - SQL CHECK expression
|
|
409
|
-
*/
|
|
410
|
-
addCheck(table: string, name: string, expression: string): Promise<void>;
|
|
411
|
-
/**
|
|
412
|
-
* Drop a CHECK constraint.
|
|
413
|
-
*
|
|
414
|
-
* @param table - Table name
|
|
415
|
-
* @param name - Constraint name
|
|
416
|
-
*/
|
|
417
|
-
dropCheck(table: string, name: string): Promise<void>;
|
|
418
|
-
/**
|
|
419
|
-
* Set JSON schema validation rules on a collection.
|
|
420
|
-
*
|
|
421
|
-
* Note: Primarily for MongoDB. SQL databases ignore this.
|
|
422
|
-
*
|
|
423
|
-
* @param table - Collection name
|
|
424
|
-
* @param schema - JSON Schema object
|
|
425
|
-
*/
|
|
426
|
-
setSchemaValidation(table: string, schema: object): Promise<void>;
|
|
427
|
-
/**
|
|
428
|
-
* Remove schema validation rules from a collection.
|
|
429
|
-
*
|
|
430
|
-
* @param table - Collection name
|
|
431
|
-
*/
|
|
432
|
-
removeSchemaValidation(table: string): Promise<void>;
|
|
433
|
-
/**
|
|
434
|
-
* Begin a database transaction.
|
|
435
|
-
*/
|
|
436
|
-
beginTransaction(): Promise<void>;
|
|
437
|
-
/**
|
|
438
|
-
* Commit the current transaction.
|
|
439
|
-
*/
|
|
440
|
-
commit(): Promise<void>;
|
|
441
|
-
/**
|
|
442
|
-
* Rollback the current transaction.
|
|
443
|
-
*/
|
|
444
|
-
rollback(): Promise<void>;
|
|
445
|
-
/**
|
|
446
|
-
* Whether the driver supports transactions.
|
|
447
|
-
*/
|
|
448
|
-
supportsTransactions(): boolean;
|
|
449
|
-
/**
|
|
450
|
-
* Get the default transactional behavior for this driver.
|
|
451
|
-
*
|
|
452
|
-
* This determines whether migrations should be wrapped in transactions
|
|
453
|
-
* by default when no explicit configuration is provided.
|
|
454
|
-
*
|
|
455
|
-
* - **PostgreSQL**: Returns `true` (DDL operations are transactional)
|
|
456
|
-
* - **MongoDB**: Returns `false` (DDL operations cannot be transactional)
|
|
457
|
-
*
|
|
458
|
-
* Can be overridden by:
|
|
459
|
-
* 1. Migration-level `transactional` property
|
|
460
|
-
* 2. Config-level `migrations.transactional` option
|
|
461
|
-
*
|
|
462
|
-
* @returns true if migrations should be transactional by default
|
|
463
|
-
*/
|
|
464
|
-
getDefaultTransactional(): boolean;
|
|
465
|
-
/**
|
|
466
|
-
* Get the default UUID generation expression for this driver.
|
|
467
|
-
*
|
|
468
|
-
* Used by `Migration.primaryUuid()` to set driver-appropriate defaults.
|
|
469
|
-
* SQL drivers return a native expression (e.g., `gen_random_uuid()`).
|
|
470
|
-
* NoSQL drivers return `undefined` (application-level UUID generation).
|
|
471
|
-
*
|
|
472
|
-
* @param migrationDefaults - Optional overrides from DataSource config
|
|
473
|
-
* @returns SQL expression string, or undefined for schema-less DBs
|
|
474
|
-
*
|
|
475
|
-
* @example
|
|
476
|
-
* ```typescript
|
|
477
|
-
* // PostgreSQL with default v4
|
|
478
|
-
* driver.getUuidDefault(); // "gen_random_uuid()"
|
|
479
|
-
*
|
|
480
|
-
* // PostgreSQL with v7 override
|
|
481
|
-
* driver.getUuidDefault({ uuidStrategy: "v7" }); // "uuid_generate_v7()"
|
|
482
|
-
*
|
|
483
|
-
* // PostgreSQL with raw expression escape hatch
|
|
484
|
-
* driver.getUuidDefault({ uuidExpression: "uuid_generate_v1mc()" });
|
|
485
|
-
* // "uuid_generate_v1mc()"
|
|
486
|
-
*
|
|
487
|
-
* // MongoDB
|
|
488
|
-
* driver.getUuidDefault(); // undefined
|
|
489
|
-
* ```
|
|
490
|
-
*/
|
|
491
|
-
getUuidDefault(migrationDefaults?: MigrationDefaults): string | undefined;
|
|
492
|
-
/**
|
|
493
|
-
* Check if a database extension/plugin is available on the database server.
|
|
494
|
-
*
|
|
495
|
-
* @param extension - Name of the extension
|
|
496
|
-
* @returns true if available, or if the database doesn't require explicit extension installation
|
|
497
|
-
*/
|
|
498
|
-
isExtensionAvailable(extension: string): Promise<boolean>;
|
|
499
|
-
/**
|
|
500
|
-
* Get the official documentation or installation URL for a database extension.
|
|
501
|
-
*
|
|
502
|
-
* @param extension - Extension name
|
|
503
|
-
* @returns URL string, or undefined to fall back to a generic search approach
|
|
504
|
-
*/
|
|
505
|
-
getExtensionDocsUrl(extension: string): string | undefined;
|
|
506
|
-
/**
|
|
507
|
-
* Execute raw operations with direct driver access.
|
|
508
|
-
*
|
|
509
|
-
* @param callback - Callback receiving the native driver/connection
|
|
510
|
-
* @returns Result from callback
|
|
511
|
-
*/
|
|
512
|
-
raw<T>(callback: (connection: unknown) => Promise<T>): Promise<T>;
|
|
513
|
-
/**
|
|
514
|
-
* Get database driver
|
|
515
|
-
*/
|
|
516
|
-
driver: DriverContract;
|
|
517
|
-
}
|
|
518
|
-
/**
|
|
519
|
-
* Factory function type for creating migration drivers.
|
|
520
|
-
*/
|
|
521
|
-
export type MigrationDriverFactory = (source: DataSource | DriverContract) => MigrationDriverContract;
|
|
522
|
-
//# sourceMappingURL=migration-driver.contract.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"migration-driver.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/migration-driver.cont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