@warlock.js/core 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 +7 -7
- package/esm/application/application-config-types.d.ts +0 -27
- package/esm/application/application-config-types.d.ts.map +0 -1
- package/esm/application/application.d.ts +0 -68
- package/esm/application/application.d.ts.map +0 -1
- package/esm/application/application.js +0 -94
- package/esm/application/application.js.map +0 -1
- package/esm/application/index.d.ts +0 -3
- package/esm/application/index.d.ts.map +0 -1
- package/esm/benchmark/benchmark-snapshots.d.ts +0 -47
- package/esm/benchmark/benchmark-snapshots.d.ts.map +0 -1
- package/esm/benchmark/benchmark-snapshots.js +0 -77
- package/esm/benchmark/benchmark-snapshots.js.map +0 -1
- package/esm/benchmark/benchmark.d.ts +0 -25
- package/esm/benchmark/benchmark.d.ts.map +0 -1
- package/esm/benchmark/benchmark.example.d.ts +0 -2
- package/esm/benchmark/benchmark.example.d.ts.map +0 -1
- package/esm/benchmark/benchmark.js +0 -120
- package/esm/benchmark/benchmark.js.map +0 -1
- package/esm/benchmark/channels/console.channel.d.ts +0 -14
- package/esm/benchmark/channels/console.channel.d.ts.map +0 -1
- package/esm/benchmark/channels/console.channel.js +0 -29
- package/esm/benchmark/channels/console.channel.js.map +0 -1
- package/esm/benchmark/channels/index.d.ts +0 -3
- package/esm/benchmark/channels/index.d.ts.map +0 -1
- package/esm/benchmark/channels/noop.channel.d.ts +0 -5
- package/esm/benchmark/channels/noop.channel.d.ts.map +0 -1
- package/esm/benchmark/channels/noop.channel.js +0 -3
- package/esm/benchmark/channels/noop.channel.js.map +0 -1
- package/esm/benchmark/index.d.ts +0 -7
- package/esm/benchmark/index.d.ts.map +0 -1
- package/esm/benchmark/profiler.d.ts +0 -63
- package/esm/benchmark/profiler.d.ts.map +0 -1
- package/esm/benchmark/profiler.js +0 -155
- package/esm/benchmark/profiler.js.map +0 -1
- package/esm/benchmark/types.d.ts +0 -167
- package/esm/benchmark/types.d.ts.map +0 -1
- package/esm/bootstrap/setup.d.ts +0 -2
- package/esm/bootstrap/setup.d.ts.map +0 -1
- package/esm/bootstrap/setup.js +0 -14
- package/esm/bootstrap/setup.js.map +0 -1
- package/esm/bootstrap.d.ts +0 -2
- package/esm/bootstrap.d.ts.map +0 -1
- package/esm/bootstrap.js +0 -5
- package/esm/bootstrap.js.map +0 -1
- package/esm/cache/database-cache-driver.d.ts +0 -56
- package/esm/cache/database-cache-driver.d.ts.map +0 -1
- package/esm/cache/database-cache-driver.js +0 -112
- package/esm/cache/database-cache-driver.js.map +0 -1
- package/esm/cache/index.d.ts +0 -3
- package/esm/cache/index.d.ts.map +0 -1
- package/esm/cache/index.js +0 -1
- package/esm/cache/index.js.map +0 -1
- package/esm/cli/cli-command.d.ts +0 -115
- package/esm/cli/cli-command.d.ts.map +0 -1
- package/esm/cli/cli-command.js +0 -227
- package/esm/cli/cli-command.js.map +0 -1
- package/esm/cli/cli-commands.manager.d.ts +0 -71
- package/esm/cli/cli-commands.manager.d.ts.map +0 -1
- package/esm/cli/cli-commands.manager.js +0 -362
- package/esm/cli/cli-commands.manager.js.map +0 -1
- package/esm/cli/cli-commands.utils.d.ts +0 -69
- package/esm/cli/cli-commands.utils.d.ts.map +0 -1
- package/esm/cli/cli-commands.utils.js +0 -180
- package/esm/cli/cli-commands.utils.js.map +0 -1
- package/esm/cli/commands/add.command.d.ts +0 -2
- package/esm/cli/commands/add.command.d.ts.map +0 -1
- package/esm/cli/commands/add.command.js +0 -15
- package/esm/cli/commands/add.command.js.map +0 -1
- package/esm/cli/commands/build.command.d.ts +0 -2
- package/esm/cli/commands/build.command.d.ts.map +0 -1
- package/esm/cli/commands/build.command.js +0 -8
- package/esm/cli/commands/build.command.js.map +0 -1
- package/esm/cli/commands/create-database.command.d.ts +0 -2
- package/esm/cli/commands/create-database.command.d.ts.map +0 -1
- package/esm/cli/commands/create-database.command.js +0 -18
- package/esm/cli/commands/create-database.command.js.map +0 -1
- package/esm/cli/commands/dev-server.command.d.ts +0 -2
- package/esm/cli/commands/dev-server.command.d.ts.map +0 -1
- package/esm/cli/commands/dev-server.command.js +0 -18
- package/esm/cli/commands/dev-server.command.js.map +0 -1
- package/esm/cli/commands/drop-tables.command.d.ts +0 -2
- package/esm/cli/commands/drop-tables.command.d.ts.map +0 -1
- package/esm/cli/commands/drop-tables.command.js +0 -17
- package/esm/cli/commands/drop-tables.command.js.map +0 -1
- package/esm/cli/commands/generate/generate.command.d.ts +0 -10
- package/esm/cli/commands/generate/generate.command.d.ts.map +0 -1
- package/esm/cli/commands/generate/generate.command.js +0 -188
- package/esm/cli/commands/generate/generate.command.js.map +0 -1
- package/esm/cli/commands/generate/generators/column-dsl-parser.d.ts +0 -11
- package/esm/cli/commands/generate/generators/column-dsl-parser.d.ts.map +0 -1
- package/esm/cli/commands/generate/generators/column-dsl-parser.js +0 -47
- package/esm/cli/commands/generate/generators/column-dsl-parser.js.map +0 -1
- package/esm/cli/commands/generate/generators/controller.generator.d.ts +0 -3
- package/esm/cli/commands/generate/generators/controller.generator.d.ts.map +0 -1
- package/esm/cli/commands/generate/generators/controller.generator.js +0 -51
- package/esm/cli/commands/generate/generators/controller.generator.js.map +0 -1
- package/esm/cli/commands/generate/generators/migration.generator.d.ts +0 -13
- package/esm/cli/commands/generate/generators/migration.generator.d.ts.map +0 -1
- package/esm/cli/commands/generate/generators/migration.generator.js +0 -82
- package/esm/cli/commands/generate/generators/migration.generator.js.map +0 -1
- package/esm/cli/commands/generate/generators/model.generator.d.ts +0 -3
- package/esm/cli/commands/generate/generators/model.generator.d.ts.map +0 -1
- package/esm/cli/commands/generate/generators/model.generator.js +0 -58
- package/esm/cli/commands/generate/generators/model.generator.js.map +0 -1
- package/esm/cli/commands/generate/generators/module.generator.d.ts +0 -3
- package/esm/cli/commands/generate/generators/module.generator.d.ts.map +0 -1
- package/esm/cli/commands/generate/generators/module.generator.js +0 -149
- package/esm/cli/commands/generate/generators/module.generator.js.map +0 -1
- package/esm/cli/commands/generate/generators/repository.generator.d.ts +0 -3
- package/esm/cli/commands/generate/generators/repository.generator.d.ts.map +0 -1
- package/esm/cli/commands/generate/generators/repository.generator.js +0 -37
- package/esm/cli/commands/generate/generators/repository.generator.js.map +0 -1
- package/esm/cli/commands/generate/generators/resource.generator.d.ts +0 -3
- package/esm/cli/commands/generate/generators/resource.generator.d.ts.map +0 -1
- package/esm/cli/commands/generate/generators/resource.generator.js +0 -37
- package/esm/cli/commands/generate/generators/resource.generator.js.map +0 -1
- package/esm/cli/commands/generate/generators/service.generator.d.ts +0 -3
- package/esm/cli/commands/generate/generators/service.generator.d.ts.map +0 -1
- package/esm/cli/commands/generate/generators/service.generator.js +0 -37
- package/esm/cli/commands/generate/generators/service.generator.js.map +0 -1
- package/esm/cli/commands/generate/generators/validation.generator.d.ts +0 -3
- package/esm/cli/commands/generate/generators/validation.generator.d.ts.map +0 -1
- package/esm/cli/commands/generate/generators/validation.generator.js +0 -46
- package/esm/cli/commands/generate/generators/validation.generator.js.map +0 -1
- package/esm/cli/commands/generate/templates/stubs.d.ts +0 -129
- package/esm/cli/commands/generate/templates/stubs.d.ts.map +0 -1
- package/esm/cli/commands/generate/templates/stubs.js +0 -528
- package/esm/cli/commands/generate/templates/stubs.js.map +0 -1
- package/esm/cli/commands/generate/types.d.ts +0 -53
- package/esm/cli/commands/generate/types.d.ts.map +0 -1
- package/esm/cli/commands/generate/utils/name-parser.d.ts +0 -40
- package/esm/cli/commands/generate/utils/name-parser.d.ts.map +0 -1
- package/esm/cli/commands/generate/utils/name-parser.js +0 -65
- package/esm/cli/commands/generate/utils/name-parser.js.map +0 -1
- package/esm/cli/commands/generate/utils/path-resolver.d.ts +0 -30
- package/esm/cli/commands/generate/utils/path-resolver.d.ts.map +0 -1
- package/esm/cli/commands/generate/utils/path-resolver.js +0 -42
- package/esm/cli/commands/generate/utils/path-resolver.js.map +0 -1
- package/esm/cli/commands/generate/utils/prompt.d.ts +0 -13
- package/esm/cli/commands/generate/utils/prompt.d.ts.map +0 -1
- package/esm/cli/commands/generate/utils/prompt.js +0 -21
- package/esm/cli/commands/generate/utils/prompt.js.map +0 -1
- package/esm/cli/commands/migrate.command.d.ts +0 -2
- package/esm/cli/commands/migrate.command.d.ts.map +0 -1
- package/esm/cli/commands/migrate.command.js +0 -52
- package/esm/cli/commands/migrate.command.js.map +0 -1
- package/esm/cli/commands/seed.command.d.ts +0 -2
- package/esm/cli/commands/seed.command.d.ts.map +0 -1
- package/esm/cli/commands/seed.command.js +0 -24
- package/esm/cli/commands/seed.command.js.map +0 -1
- package/esm/cli/commands/start-production.command.d.ts +0 -2
- package/esm/cli/commands/start-production.command.d.ts.map +0 -1
- package/esm/cli/commands/start-production.command.js +0 -65
- package/esm/cli/commands/start-production.command.js.map +0 -1
- package/esm/cli/commands/storage-put.action.d.ts +0 -22
- package/esm/cli/commands/storage-put.action.d.ts.map +0 -1
- package/esm/cli/commands/storage-put.action.js +0 -75
- package/esm/cli/commands/storage-put.action.js.map +0 -1
- package/esm/cli/commands/storage-put.command.d.ts +0 -20
- package/esm/cli/commands/storage-put.command.d.ts.map +0 -1
- package/esm/cli/commands/storage-put.command.js +0 -41
- package/esm/cli/commands/storage-put.command.js.map +0 -1
- package/esm/cli/commands/typings-generator.command.d.ts +0 -2
- package/esm/cli/commands/typings-generator.command.d.ts.map +0 -1
- package/esm/cli/commands/typings-generator.command.js +0 -37
- package/esm/cli/commands/typings-generator.command.js.map +0 -1
- package/esm/cli/commands-loader.d.ts +0 -18
- package/esm/cli/commands-loader.d.ts.map +0 -1
- package/esm/cli/commands-loader.js +0 -45
- package/esm/cli/commands-loader.js.map +0 -1
- package/esm/cli/framework-cli-commands.d.ts +0 -2
- package/esm/cli/framework-cli-commands.d.ts.map +0 -1
- package/esm/cli/framework-cli-commands.js +0 -27
- package/esm/cli/framework-cli-commands.js.map +0 -1
- package/esm/cli/index.d.ts +0 -3
- package/esm/cli/index.d.ts.map +0 -1
- package/esm/cli/index.js +0 -1
- package/esm/cli/index.js.map +0 -1
- package/esm/cli/parse-cli-args.d.ts +0 -18
- package/esm/cli/parse-cli-args.d.ts.map +0 -1
- package/esm/cli/parse-cli-args.js +0 -82
- package/esm/cli/parse-cli-args.js.map +0 -1
- package/esm/cli/start.d.ts +0 -2
- package/esm/cli/start.d.ts.map +0 -1
- package/esm/cli/start.js +0 -2
- package/esm/cli/start.js.map +0 -1
- package/esm/cli/string-similarity.d.ts +0 -44
- package/esm/cli/string-similarity.d.ts.map +0 -1
- package/esm/cli/string-similarity.js +0 -57
- package/esm/cli/string-similarity.js.map +0 -1
- package/esm/cli/types.d.ts +0 -218
- package/esm/cli/types.d.ts.map +0 -1
- package/esm/config/config-getter.d.ts +0 -35
- package/esm/config/config-getter.d.ts.map +0 -1
- package/esm/config/config-getter.js +0 -21
- package/esm/config/config-getter.js.map +0 -1
- package/esm/config/config-handlers.d.ts +0 -19
- package/esm/config/config-handlers.d.ts.map +0 -1
- package/esm/config/config-handlers.js +0 -47
- package/esm/config/config-handlers.js.map +0 -1
- package/esm/config/config-loader.d.ts +0 -37
- package/esm/config/config-loader.d.ts.map +0 -1
- package/esm/config/config-loader.js +0 -85
- package/esm/config/config-loader.js.map +0 -1
- package/esm/config/config-manager.d.ts +0 -22
- package/esm/config/config-manager.d.ts.map +0 -1
- package/esm/config/config-manager.js +0 -25
- package/esm/config/config-manager.js.map +0 -1
- package/esm/config/config-special-handlers.d.ts +0 -17
- package/esm/config/config-special-handlers.d.ts.map +0 -1
- package/esm/config/config-special-handlers.js +0 -23
- package/esm/config/config-special-handlers.js.map +0 -1
- package/esm/config/index.d.ts +0 -5
- package/esm/config/index.d.ts.map +0 -1
- package/esm/config/load-config-files.d.ts +0 -6
- package/esm/config/load-config-files.d.ts.map +0 -1
- package/esm/config/load-config-files.js +0 -19
- package/esm/config/load-config-files.js.map +0 -1
- package/esm/config/types.d.ts +0 -52
- package/esm/config/types.d.ts.map +0 -1
- package/esm/connectors/base-connector.d.ts +0 -49
- package/esm/connectors/base-connector.d.ts.map +0 -1
- package/esm/connectors/base-connector.js +0 -48
- package/esm/connectors/base-connector.js.map +0 -1
- package/esm/connectors/cache-connector.d.ts +0 -23
- package/esm/connectors/cache-connector.d.ts.map +0 -1
- package/esm/connectors/cache-connector.js +0 -35
- package/esm/connectors/cache-connector.js.map +0 -1
- package/esm/connectors/communicator-connector.d.ts +0 -23
- package/esm/connectors/communicator-connector.d.ts.map +0 -1
- package/esm/connectors/communicator-connector.js +0 -62
- package/esm/connectors/communicator-connector.js.map +0 -1
- package/esm/connectors/connectors-manager.d.ts +0 -42
- package/esm/connectors/connectors-manager.d.ts.map +0 -1
- package/esm/connectors/connectors-manager.js +0 -91
- package/esm/connectors/connectors-manager.js.map +0 -1
- package/esm/connectors/database-connector.d.ts +0 -23
- package/esm/connectors/database-connector.d.ts.map +0 -1
- package/esm/connectors/database-connector.js +0 -51
- package/esm/connectors/database-connector.js.map +0 -1
- package/esm/connectors/http-connector.d.ts +0 -31
- package/esm/connectors/http-connector.d.ts.map +0 -1
- package/esm/connectors/http-connector.js +0 -83
- package/esm/connectors/http-connector.js.map +0 -1
- package/esm/connectors/index.d.ts +0 -13
- package/esm/connectors/index.d.ts.map +0 -1
- package/esm/connectors/storage.connector.d.ts +0 -23
- package/esm/connectors/storage.connector.d.ts.map +0 -1
- package/esm/connectors/storage.connector.js +0 -32
- package/esm/connectors/storage.connector.js.map +0 -1
- package/esm/connectors/types.d.ts +0 -52
- package/esm/connectors/types.d.ts.map +0 -1
- package/esm/connectors/types.js +0 -11
- package/esm/connectors/types.js.map +0 -1
- package/esm/database/create-database-action.d.ts +0 -3
- package/esm/database/create-database-action.d.ts.map +0 -1
- package/esm/database/create-database-action.js +0 -28
- package/esm/database/create-database-action.js.map +0 -1
- package/esm/database/drop-tables-action.d.ts +0 -3
- package/esm/database/drop-tables-action.d.ts.map +0 -1
- package/esm/database/drop-tables-action.js +0 -29
- package/esm/database/drop-tables-action.js.map +0 -1
- package/esm/database/index.d.ts +0 -4
- package/esm/database/index.d.ts.map +0 -1
- package/esm/database/migrate-action.d.ts +0 -8
- package/esm/database/migrate-action.d.ts.map +0 -1
- package/esm/database/migrate-action.js +0 -118
- package/esm/database/migrate-action.js.map +0 -1
- package/esm/database/models/database-log/database-log.d.ts +0 -16
- package/esm/database/models/database-log/database-log.d.ts.map +0 -1
- package/esm/database/models/database-log/database-log.js +0 -17
- package/esm/database/models/database-log/database-log.js.map +0 -1
- package/esm/database/models/database-log/index.d.ts +0 -2
- package/esm/database/models/database-log/index.d.ts.map +0 -1
- package/esm/database/seed-command-action.d.ts +0 -3
- package/esm/database/seed-command-action.d.ts.map +0 -1
- package/esm/database/seed-command-action.js +0 -36
- package/esm/database/seed-command-action.js.map +0 -1
- package/esm/database/seeds/index.d.ts +0 -3
- package/esm/database/seeds/index.d.ts.map +0 -1
- package/esm/database/seeds/seeder.d.ts +0 -40
- package/esm/database/seeds/seeder.d.ts.map +0 -1
- package/esm/database/seeds/seeder.js +0 -6
- package/esm/database/seeds/seeder.js.map +0 -1
- package/esm/database/seeds/seeders.manager.d.ts +0 -47
- package/esm/database/seeds/seeders.manager.d.ts.map +0 -1
- package/esm/database/seeds/seeders.manager.js +0 -144
- package/esm/database/seeds/seeders.manager.js.map +0 -1
- package/esm/database/seeds/seeds-table-migration.d.ts +0 -8
- package/esm/database/seeds/seeds-table-migration.d.ts.map +0 -1
- package/esm/database/seeds/seeds-table-migration.js +0 -18
- package/esm/database/seeds/seeds-table-migration.js.map +0 -1
- package/esm/database/seeds/types.d.ts +0 -13
- package/esm/database/seeds/types.d.ts.map +0 -1
- package/esm/database/seeds/utils.d.ts +0 -2
- package/esm/database/seeds/utils.d.ts.map +0 -1
- package/esm/database/seeds/utils.js +0 -1
- package/esm/database/seeds/utils.js.map +0 -1
- package/esm/database/utils.d.ts +0 -17
- package/esm/database/utils.d.ts.map +0 -1
- package/esm/database/utils.js +0 -30
- package/esm/database/utils.js.map +0 -1
- package/esm/dev-server/create-worker.d.ts +0 -34
- package/esm/dev-server/create-worker.d.ts.map +0 -1
- package/esm/dev-server/create-worker.js +0 -37
- package/esm/dev-server/create-worker.js.map +0 -1
- package/esm/dev-server/dependency-graph.d.ts +0 -102
- package/esm/dev-server/dependency-graph.d.ts.map +0 -1
- package/esm/dev-server/dependency-graph.js +0 -310
- package/esm/dev-server/dependency-graph.js.map +0 -1
- package/esm/dev-server/dev-logger.d.ts +0 -14
- package/esm/dev-server/dev-logger.d.ts.map +0 -1
- package/esm/dev-server/dev-logger.js +0 -130
- package/esm/dev-server/dev-logger.js.map +0 -1
- package/esm/dev-server/development-server.d.ts +0 -55
- package/esm/dev-server/development-server.d.ts.map +0 -1
- package/esm/dev-server/development-server.js +0 -199
- package/esm/dev-server/development-server.js.map +0 -1
- package/esm/dev-server/events.d.ts +0 -5
- package/esm/dev-server/events.d.ts.map +0 -1
- package/esm/dev-server/events.js +0 -4
- package/esm/dev-server/events.js.map +0 -1
- package/esm/dev-server/export-analyzer.d.ts +0 -84
- package/esm/dev-server/export-analyzer.d.ts.map +0 -1
- package/esm/dev-server/export-analyzer.js +0 -206
- package/esm/dev-server/export-analyzer.js.map +0 -1
- package/esm/dev-server/file-event-handler.d.ts +0 -156
- package/esm/dev-server/file-event-handler.d.ts.map +0 -1
- package/esm/dev-server/file-event-handler.js +0 -309
- package/esm/dev-server/file-event-handler.js.map +0 -1
- package/esm/dev-server/file-manager.d.ts +0 -394
- package/esm/dev-server/file-manager.d.ts.map +0 -1
- package/esm/dev-server/file-manager.js +0 -603
- package/esm/dev-server/file-manager.js.map +0 -1
- package/esm/dev-server/file-operations.d.ts +0 -203
- package/esm/dev-server/file-operations.d.ts.map +0 -1
- package/esm/dev-server/file-operations.js +0 -365
- package/esm/dev-server/file-operations.js.map +0 -1
- package/esm/dev-server/files-orchestrator.d.ts +0 -153
- package/esm/dev-server/files-orchestrator.d.ts.map +0 -1
- package/esm/dev-server/files-orchestrator.js +0 -349
- package/esm/dev-server/files-orchestrator.js.map +0 -1
- package/esm/dev-server/files-watcher.d.ts +0 -67
- package/esm/dev-server/files-watcher.d.ts.map +0 -1
- package/esm/dev-server/files-watcher.js +0 -121
- package/esm/dev-server/files-watcher.js.map +0 -1
- package/esm/dev-server/flags.d.ts +0 -10
- package/esm/dev-server/flags.d.ts.map +0 -1
- package/esm/dev-server/flags.js +0 -9
- package/esm/dev-server/flags.js.map +0 -1
- package/esm/dev-server/health-checker/checkers/base-health-checker.d.ts +0 -52
- package/esm/dev-server/health-checker/checkers/base-health-checker.d.ts.map +0 -1
- package/esm/dev-server/health-checker/checkers/base-health-checker.js +0 -71
- package/esm/dev-server/health-checker/checkers/base-health-checker.js.map +0 -1
- package/esm/dev-server/health-checker/checkers/eslint-health-checker.d.ts +0 -40
- package/esm/dev-server/health-checker/checkers/eslint-health-checker.d.ts.map +0 -1
- package/esm/dev-server/health-checker/checkers/eslint-health-checker.js +0 -217
- package/esm/dev-server/health-checker/checkers/eslint-health-checker.js.map +0 -1
- package/esm/dev-server/health-checker/checkers/typescript-health-checker.d.ts +0 -56
- package/esm/dev-server/health-checker/checkers/typescript-health-checker.d.ts.map +0 -1
- package/esm/dev-server/health-checker/checkers/typescript-health-checker.js +0 -279
- package/esm/dev-server/health-checker/checkers/typescript-health-checker.js.map +0 -1
- package/esm/dev-server/health-checker/file-health-checker.contract.d.ts +0 -59
- package/esm/dev-server/health-checker/file-health-checker.contract.d.ts.map +0 -1
- package/esm/dev-server/health-checker/file-health-result.d.ts +0 -68
- package/esm/dev-server/health-checker/file-health-result.d.ts.map +0 -1
- package/esm/dev-server/health-checker/file-health-result.js +0 -40
- package/esm/dev-server/health-checker/file-health-result.js.map +0 -1
- package/esm/dev-server/health-checker/files-healthcare.manager.d.ts +0 -115
- package/esm/dev-server/health-checker/files-healthcare.manager.d.ts.map +0 -1
- package/esm/dev-server/health-checker/files-healthcare.manager.js +0 -422
- package/esm/dev-server/health-checker/files-healthcare.manager.js.map +0 -1
- package/esm/dev-server/health-checker/index.d.ts +0 -6
- package/esm/dev-server/health-checker/index.d.ts.map +0 -1
- package/esm/dev-server/health-checker/workers/eslint-health.worker.d.ts +0 -2
- package/esm/dev-server/health-checker/workers/eslint-health.worker.d.ts.map +0 -1
- package/esm/dev-server/health-checker/workers/eslint-health.worker.js +0 -214
- package/esm/dev-server/health-checker/workers/eslint-health.worker.js.map +0 -1
- package/esm/dev-server/health-checker/workers/ts-health.worker.d.ts +0 -2
- package/esm/dev-server/health-checker/workers/ts-health.worker.d.ts.map +0 -1
- package/esm/dev-server/health-checker/workers/ts-health.worker.js +0 -261
- package/esm/dev-server/health-checker/workers/ts-health.worker.js.map +0 -1
- package/esm/dev-server/import-deduplicator.d.ts +0 -75
- package/esm/dev-server/import-deduplicator.d.ts.map +0 -1
- package/esm/dev-server/import-deduplicator.js +0 -288
- package/esm/dev-server/import-deduplicator.js.map +0 -1
- package/esm/dev-server/import-deduplicator.test.d.ts +0 -7
- package/esm/dev-server/import-deduplicator.test.d.ts.map +0 -1
- package/esm/dev-server/import-transformer.d.ts +0 -17
- package/esm/dev-server/import-transformer.d.ts.map +0 -1
- package/esm/dev-server/import-transformer.js +0 -221
- package/esm/dev-server/import-transformer.js.map +0 -1
- package/esm/dev-server/index.d.ts +0 -1
- package/esm/dev-server/index.d.ts.map +0 -1
- package/esm/dev-server/layer-executor.d.ts +0 -64
- package/esm/dev-server/layer-executor.d.ts.map +0 -1
- package/esm/dev-server/layer-executor.js +0 -338
- package/esm/dev-server/layer-executor.js.map +0 -1
- package/esm/dev-server/manifest-manager.d.ts +0 -80
- package/esm/dev-server/manifest-manager.d.ts.map +0 -1
- package/esm/dev-server/manifest-manager.js +0 -107
- package/esm/dev-server/manifest-manager.js.map +0 -1
- package/esm/dev-server/module-loader.d.ts +0 -111
- package/esm/dev-server/module-loader.d.ts.map +0 -1
- package/esm/dev-server/module-loader.js +0 -276
- package/esm/dev-server/module-loader.js.map +0 -1
- package/esm/dev-server/package-json-manager.d.ts +0 -16
- package/esm/dev-server/package-json-manager.d.ts.map +0 -1
- package/esm/dev-server/package-json-manager.js +0 -20
- package/esm/dev-server/package-json-manager.js.map +0 -1
- package/esm/dev-server/parse-imports.d.ts +0 -34
- package/esm/dev-server/parse-imports.d.ts.map +0 -1
- package/esm/dev-server/parse-imports.js +0 -426
- package/esm/dev-server/parse-imports.js.map +0 -1
- package/esm/dev-server/path.d.ts +0 -39
- package/esm/dev-server/path.d.ts.map +0 -1
- package/esm/dev-server/path.js +0 -56
- package/esm/dev-server/path.js.map +0 -1
- package/esm/dev-server/runtime-import-helper.d.ts +0 -8
- package/esm/dev-server/runtime-import-helper.d.ts.map +0 -1
- package/esm/dev-server/runtime-import-helper.js +0 -158
- package/esm/dev-server/runtime-import-helper.js.map +0 -1
- package/esm/dev-server/special-files-collector.d.ts +0 -114
- package/esm/dev-server/special-files-collector.d.ts.map +0 -1
- package/esm/dev-server/special-files-collector.js +0 -212
- package/esm/dev-server/special-files-collector.js.map +0 -1
- package/esm/dev-server/start-development-server.d.ts +0 -7
- package/esm/dev-server/start-development-server.d.ts.map +0 -1
- package/esm/dev-server/start-development-server.js +0 -21
- package/esm/dev-server/start-development-server.js.map +0 -1
- package/esm/dev-server/transpile-file.d.ts +0 -11
- package/esm/dev-server/transpile-file.d.ts.map +0 -1
- package/esm/dev-server/transpile-file.js +0 -30
- package/esm/dev-server/transpile-file.js.map +0 -1
- package/esm/dev-server/tsconfig-manager.d.ts +0 -45
- package/esm/dev-server/tsconfig-manager.d.ts.map +0 -1
- package/esm/dev-server/tsconfig-manager.js +0 -107
- package/esm/dev-server/tsconfig-manager.js.map +0 -1
- package/esm/dev-server/type-generator.d.ts +0 -115
- package/esm/dev-server/type-generator.d.ts.map +0 -1
- package/esm/dev-server/type-generator.js +0 -566
- package/esm/dev-server/type-generator.js.map +0 -1
- package/esm/dev-server/types.d.ts +0 -30
- package/esm/dev-server/types.d.ts.map +0 -1
- package/esm/dev-server/utils.d.ts +0 -15
- package/esm/dev-server/utils.d.ts.map +0 -1
- package/esm/dev-server/utils.js +0 -41
- package/esm/dev-server/utils.js.map +0 -1
- package/esm/encryption/encrypt.d.ts +0 -23
- package/esm/encryption/encrypt.d.ts.map +0 -1
- package/esm/encryption/encrypt.js +0 -85
- package/esm/encryption/encrypt.js.map +0 -1
- package/esm/encryption/hash.d.ts +0 -17
- package/esm/encryption/hash.d.ts.map +0 -1
- package/esm/encryption/hash.js +0 -26
- package/esm/encryption/hash.js.map +0 -1
- package/esm/encryption/index.d.ts +0 -5
- package/esm/encryption/index.d.ts.map +0 -1
- package/esm/encryption/password.d.ts +0 -23
- package/esm/encryption/password.d.ts.map +0 -1
- package/esm/encryption/password.js +0 -72
- package/esm/encryption/password.js.map +0 -1
- package/esm/encryption/types.d.ts +0 -51
- package/esm/encryption/types.d.ts.map +0 -1
- package/esm/generations/add-command.action.d.ts +0 -3
- package/esm/generations/add-command.action.d.ts.map +0 -1
- package/esm/generations/add-command.action.js +0 -382
- package/esm/generations/add-command.action.js.map +0 -1
- package/esm/generations/stubs.d.ts +0 -2
- package/esm/generations/stubs.d.ts.map +0 -1
- package/esm/generations/stubs.js +0 -81
- package/esm/generations/stubs.js.map +0 -1
- package/esm/http/config.d.ts +0 -10
- package/esm/http/config.d.ts.map +0 -1
- package/esm/http/config.js +0 -22
- package/esm/http/config.js.map +0 -1
- package/esm/http/context/request-context.d.ts +0 -47
- package/esm/http/context/request-context.d.ts.map +0 -1
- package/esm/http/context/request-context.js +0 -52
- package/esm/http/context/request-context.js.map +0 -1
- package/esm/http/createHttpApplication.d.ts +0 -3
- package/esm/http/createHttpApplication.d.ts.map +0 -1
- package/esm/http/createHttpApplication.js +0 -28
- package/esm/http/createHttpApplication.js.map +0 -1
- package/esm/http/database/RequestLog.d.ts +0 -16
- package/esm/http/database/RequestLog.d.ts.map +0 -1
- package/esm/http/database/RequestLog.js +0 -26
- package/esm/http/database/RequestLog.js.map +0 -1
- package/esm/http/errors/errors.d.ts +0 -39
- package/esm/http/errors/errors.d.ts.map +0 -1
- package/esm/http/errors/errors.js +0 -76
- package/esm/http/errors/errors.js.map +0 -1
- package/esm/http/errors/index.d.ts +0 -2
- package/esm/http/errors/index.d.ts.map +0 -1
- package/esm/http/events.d.ts +0 -4
- package/esm/http/events.d.ts.map +0 -1
- package/esm/http/events.js +0 -26
- package/esm/http/events.js.map +0 -1
- package/esm/http/index.d.ts +0 -17
- package/esm/http/index.d.ts.map +0 -1
- package/esm/http/middleware/cache-response-middleware.d.ts +0 -34
- package/esm/http/middleware/cache-response-middleware.d.ts.map +0 -1
- package/esm/http/middleware/cache-response-middleware.js +0 -45
- package/esm/http/middleware/cache-response-middleware.js.map +0 -1
- package/esm/http/middleware/index.d.ts +0 -3
- package/esm/http/middleware/index.d.ts.map +0 -1
- package/esm/http/middleware/inject-request-context.d.ts +0 -21
- package/esm/http/middleware/inject-request-context.d.ts.map +0 -1
- package/esm/http/middleware/inject-request-context.js +0 -119
- package/esm/http/middleware/inject-request-context.js.map +0 -1
- package/esm/http/plugins.d.ts +0 -3
- package/esm/http/plugins.d.ts.map +0 -1
- package/esm/http/plugins.js +0 -36
- package/esm/http/plugins.js.map +0 -1
- package/esm/http/request-controller.d.ts +0 -11
- package/esm/http/request-controller.d.ts.map +0 -1
- package/esm/http/request-controller.js +0 -9
- package/esm/http/request-controller.js.map +0 -1
- package/esm/http/request.d.ts +0 -396
- package/esm/http/request.d.ts.map +0 -1
- package/esm/http/request.js +0 -759
- package/esm/http/request.js.map +0 -1
- package/esm/http/response.d.ts +0 -374
- package/esm/http/response.d.ts.map +0 -1
- package/esm/http/response.js +0 -974
- package/esm/http/response.js.map +0 -1
- package/esm/http/server.d.ts +0 -8
- package/esm/http/server.d.ts.map +0 -1
- package/esm/http/server.js +0 -15
- package/esm/http/server.js.map +0 -1
- package/esm/http/types.d.ts +0 -230
- package/esm/http/types.d.ts.map +0 -1
- package/esm/http/uploaded-file.d.ts +0 -459
- package/esm/http/uploaded-file.d.ts.map +0 -1
- package/esm/http/uploaded-file.js +0 -709
- package/esm/http/uploaded-file.js.map +0 -1
- package/esm/http/uploads-config.d.ts +0 -26
- package/esm/http/uploads-config.d.ts.map +0 -1
- package/esm/http/uploads-config.js +0 -35
- package/esm/http/uploads-config.js.map +0 -1
- package/esm/http/uploads-types.d.ts +0 -236
- package/esm/http/uploads-types.d.ts.map +0 -1
- package/esm/image/image.d.ts +0 -388
- package/esm/image/image.d.ts.map +0 -1
- package/esm/image/image.js +0 -602
- package/esm/image/image.js.map +0 -1
- package/esm/image/index.d.ts +0 -2
- package/esm/image/index.d.ts.map +0 -1
- package/esm/index.d.ts +0 -34
- package/esm/index.d.ts.map +0 -1
- package/esm/index.js +0 -1
- package/esm/index.js.map +0 -1
- package/esm/logger/index.d.ts +0 -3
- package/esm/logger/index.d.ts.map +0 -1
- package/esm/logger/logger.d.ts +0 -3
- package/esm/logger/logger.d.ts.map +0 -1
- package/esm/logger/logger.js +0 -16
- package/esm/logger/logger.js.map +0 -1
- package/esm/logger/types.d.ts +0 -39
- package/esm/logger/types.d.ts.map +0 -1
- package/esm/mail/config.d.ts +0 -80
- package/esm/mail/config.d.ts.map +0 -1
- package/esm/mail/config.js +0 -158
- package/esm/mail/config.js.map +0 -1
- package/esm/mail/events.d.ts +0 -96
- package/esm/mail/events.d.ts.map +0 -1
- package/esm/mail/events.js +0 -123
- package/esm/mail/events.js.map +0 -1
- package/esm/mail/index.d.ts +0 -10
- package/esm/mail/index.d.ts.map +0 -1
- package/esm/mail/mail.d.ts +0 -175
- package/esm/mail/mail.d.ts.map +0 -1
- package/esm/mail/mail.js +0 -286
- package/esm/mail/mail.js.map +0 -1
- package/esm/mail/mailer-pool.d.ts +0 -27
- package/esm/mail/mailer-pool.d.ts.map +0 -1
- package/esm/mail/mailer-pool.js +0 -215
- package/esm/mail/mailer-pool.js.map +0 -1
- package/esm/mail/react-mail.d.ts +0 -12
- package/esm/mail/react-mail.d.ts.map +0 -1
- package/esm/mail/react-mail.js +0 -40
- package/esm/mail/react-mail.js.map +0 -1
- package/esm/mail/send-mail.d.ts +0 -33
- package/esm/mail/send-mail.d.ts.map +0 -1
- package/esm/mail/send-mail.js +0 -313
- package/esm/mail/send-mail.js.map +0 -1
- package/esm/mail/test-mailbox.d.ts +0 -110
- package/esm/mail/test-mailbox.d.ts.map +0 -1
- package/esm/mail/test-mailbox.js +0 -143
- package/esm/mail/test-mailbox.js.map +0 -1
- package/esm/mail/types.d.ts +0 -264
- package/esm/mail/types.d.ts.map +0 -1
- package/esm/mail/types.js +0 -13
- package/esm/mail/types.js.map +0 -1
- package/esm/manifest/manifest-manager.d.ts +0 -74
- package/esm/manifest/manifest-manager.d.ts.map +0 -1
- package/esm/manifest/manifest-manager.js +0 -88
- package/esm/manifest/manifest-manager.js.map +0 -1
- package/esm/production/build-app-production.d.ts +0 -6
- package/esm/production/build-app-production.d.ts.map +0 -1
- package/esm/production/build-app-production.js +0 -8
- package/esm/production/build-app-production.js.map +0 -1
- package/esm/production/esbuild-plugins.d.ts +0 -5
- package/esm/production/esbuild-plugins.d.ts.map +0 -1
- package/esm/production/esbuild-plugins.js +0 -23
- package/esm/production/esbuild-plugins.js.map +0 -1
- package/esm/production/production-builder.d.ts +0 -76
- package/esm/production/production-builder.d.ts.map +0 -1
- package/esm/production/production-builder.js +0 -254
- package/esm/production/production-builder.js.map +0 -1
- package/esm/react/index.d.ts +0 -14
- package/esm/react/index.d.ts.map +0 -1
- package/esm/react/index.js +0 -65
- package/esm/react/index.js.map +0 -1
- package/esm/repositories/adapters/cascade/cascade-adapter.d.ts +0 -85
- package/esm/repositories/adapters/cascade/cascade-adapter.d.ts.map +0 -1
- package/esm/repositories/adapters/cascade/cascade-adapter.js +0 -179
- package/esm/repositories/adapters/cascade/cascade-adapter.js.map +0 -1
- package/esm/repositories/adapters/cascade/cascade-query-builder.d.ts +0 -141
- package/esm/repositories/adapters/cascade/cascade-query-builder.d.ts.map +0 -1
- package/esm/repositories/adapters/cascade/cascade-query-builder.js +0 -281
- package/esm/repositories/adapters/cascade/cascade-query-builder.js.map +0 -1
- package/esm/repositories/adapters/cascade/filter-applicator.d.ts +0 -126
- package/esm/repositories/adapters/cascade/filter-applicator.d.ts.map +0 -1
- package/esm/repositories/adapters/cascade/filter-applicator.js +0 -549
- package/esm/repositories/adapters/cascade/filter-applicator.js.map +0 -1
- package/esm/repositories/adapters/cascade/index.d.ts +0 -7
- package/esm/repositories/adapters/cascade/index.d.ts.map +0 -1
- package/esm/repositories/contracts/index.d.ts +0 -8
- package/esm/repositories/contracts/index.d.ts.map +0 -1
- package/esm/repositories/contracts/query-builder.contract.d.ts +0 -320
- package/esm/repositories/contracts/query-builder.contract.d.ts.map +0 -1
- package/esm/repositories/contracts/repository-adapter.contract.d.ts +0 -183
- package/esm/repositories/contracts/repository-adapter.contract.d.ts.map +0 -1
- package/esm/repositories/contracts/types.d.ts +0 -328
- package/esm/repositories/contracts/types.d.ts.map +0 -1
- package/esm/repositories/index.d.ts +0 -8
- package/esm/repositories/index.d.ts.map +0 -1
- package/esm/repositories/repository.manager.d.ts +0 -694
- package/esm/repositories/repository.manager.d.ts.map +0 -1
- package/esm/repositories/repository.manager.js +0 -1123
- package/esm/repositories/repository.manager.js.map +0 -1
- package/esm/resource/define-resource.d.ts +0 -65
- package/esm/resource/define-resource.d.ts.map +0 -1
- package/esm/resource/define-resource.js +0 -62
- package/esm/resource/define-resource.js.map +0 -1
- package/esm/resource/index.d.ts +0 -6
- package/esm/resource/index.d.ts.map +0 -1
- package/esm/resource/register-resource.d.ts +0 -21
- package/esm/resource/register-resource.d.ts.map +0 -1
- package/esm/resource/register-resource.js +0 -23
- package/esm/resource/register-resource.js.map +0 -1
- package/esm/resource/resource-field-builder.d.ts +0 -104
- package/esm/resource/resource-field-builder.d.ts.map +0 -1
- package/esm/resource/resource-field-builder.js +0 -260
- package/esm/resource/resource-field-builder.js.map +0 -1
- package/esm/resource/resource.d.ts +0 -217
- package/esm/resource/resource.d.ts.map +0 -1
- package/esm/resource/resource.js +0 -303
- package/esm/resource/resource.js.map +0 -1
- package/esm/resource/types.d.ts +0 -74
- package/esm/resource/types.d.ts.map +0 -1
- package/esm/restful/index.d.ts +0 -2
- package/esm/restful/index.d.ts.map +0 -1
- package/esm/restful/restful.d.ts +0 -110
- package/esm/restful/restful.d.ts.map +0 -1
- package/esm/restful/restful.js +0 -317
- package/esm/restful/restful.js.map +0 -1
- package/esm/retry/index.d.ts +0 -3
- package/esm/retry/index.d.ts.map +0 -1
- package/esm/retry/retry.d.ts +0 -21
- package/esm/retry/retry.d.ts.map +0 -1
- package/esm/retry/retry.js +0 -39
- package/esm/retry/retry.js.map +0 -1
- package/esm/retry/types.d.ts +0 -27
- package/esm/retry/types.d.ts.map +0 -1
- package/esm/router/index.d.ts +0 -3
- package/esm/router/index.d.ts.map +0 -1
- package/esm/router/route-builder.d.ts +0 -120
- package/esm/router/route-builder.d.ts.map +0 -1
- package/esm/router/route-builder.js +0 -201
- package/esm/router/route-builder.js.map +0 -1
- package/esm/router/route-registry.d.ts +0 -30
- package/esm/router/route-registry.d.ts.map +0 -1
- package/esm/router/route-registry.js +0 -67
- package/esm/router/route-registry.js.map +0 -1
- package/esm/router/route.d.ts +0 -34
- package/esm/router/route.d.ts.map +0 -1
- package/esm/router/router.d.ts +0 -188
- package/esm/router/router.d.ts.map +0 -1
- package/esm/router/router.js +0 -605
- package/esm/router/router.js.map +0 -1
- package/esm/router/types.d.ts +0 -254
- package/esm/router/types.d.ts.map +0 -1
- package/esm/storage/config.d.ts +0 -15
- package/esm/storage/config.d.ts.map +0 -1
- package/esm/storage/config.js +0 -32
- package/esm/storage/config.js.map +0 -1
- package/esm/storage/context/storage-driver-context.d.ts +0 -69
- package/esm/storage/context/storage-driver-context.d.ts.map +0 -1
- package/esm/storage/context/storage-driver-context.js +0 -80
- package/esm/storage/context/storage-driver-context.js.map +0 -1
- package/esm/storage/drivers/cloud-driver.d.ts +0 -206
- package/esm/storage/drivers/cloud-driver.d.ts.map +0 -1
- package/esm/storage/drivers/cloud-driver.js +0 -721
- package/esm/storage/drivers/cloud-driver.js.map +0 -1
- package/esm/storage/drivers/do-spaces-driver.d.ts +0 -43
- package/esm/storage/drivers/do-spaces-driver.d.ts.map +0 -1
- package/esm/storage/drivers/do-spaces-driver.js +0 -50
- package/esm/storage/drivers/do-spaces-driver.js.map +0 -1
- package/esm/storage/drivers/local-driver.d.ts +0 -151
- package/esm/storage/drivers/local-driver.d.ts.map +0 -1
- package/esm/storage/drivers/local-driver.js +0 -448
- package/esm/storage/drivers/local-driver.js.map +0 -1
- package/esm/storage/drivers/r2-driver.d.ts +0 -47
- package/esm/storage/drivers/r2-driver.d.ts.map +0 -1
- package/esm/storage/drivers/r2-driver.js +0 -60
- package/esm/storage/drivers/r2-driver.js.map +0 -1
- package/esm/storage/drivers/s3-driver.d.ts +0 -32
- package/esm/storage/drivers/s3-driver.d.ts.map +0 -1
- package/esm/storage/drivers/s3-driver.js +0 -37
- package/esm/storage/drivers/s3-driver.js.map +0 -1
- package/esm/storage/index.d.ts +0 -13
- package/esm/storage/index.d.ts.map +0 -1
- package/esm/storage/scoped-storage.d.ts +0 -547
- package/esm/storage/scoped-storage.d.ts.map +0 -1
- package/esm/storage/scoped-storage.js +0 -739
- package/esm/storage/scoped-storage.js.map +0 -1
- package/esm/storage/storage-file.d.ts +0 -222
- package/esm/storage/storage-file.d.ts.map +0 -1
- package/esm/storage/storage-file.js +0 -376
- package/esm/storage/storage-file.js.map +0 -1
- package/esm/storage/storage.d.ts +0 -583
- package/esm/storage/storage.d.ts.map +0 -1
- package/esm/storage/storage.js +0 -948
- package/esm/storage/storage.js.map +0 -1
- package/esm/storage/types.d.ts +0 -966
- package/esm/storage/types.d.ts.map +0 -1
- package/esm/storage/utils/mime.d.ts +0 -33
- package/esm/storage/utils/mime.d.ts.map +0 -1
- package/esm/storage/utils/mime.js +0 -45
- package/esm/storage/utils/mime.js.map +0 -1
- package/esm/tests/index.d.ts +0 -9
- package/esm/tests/index.d.ts.map +0 -1
- package/esm/tests/start-http-development-server.d.ts +0 -15
- package/esm/tests/start-http-development-server.d.ts.map +0 -1
- package/esm/tests/start-http-development-server.js +0 -69
- package/esm/tests/start-http-development-server.js.map +0 -1
- package/esm/tests/test-helpers.d.ts +0 -43
- package/esm/tests/test-helpers.d.ts.map +0 -1
- package/esm/tests/test-helpers.js +0 -86
- package/esm/tests/test-helpers.js.map +0 -1
- package/esm/tests/vitest-setup.d.ts +0 -10
- package/esm/tests/vitest-setup.d.ts.map +0 -1
- package/esm/tests/vitest-setup.js +0 -36
- package/esm/tests/vitest-setup.js.map +0 -1
- package/esm/use-cases/index.d.ts +0 -7
- package/esm/use-cases/index.d.ts.map +0 -1
- package/esm/use-cases/types.d.ts +0 -267
- package/esm/use-cases/types.d.ts.map +0 -1
- package/esm/use-cases/use-case-events.d.ts +0 -33
- package/esm/use-cases/use-case-events.d.ts.map +0 -1
- package/esm/use-cases/use-case-events.js +0 -65
- package/esm/use-cases/use-case-events.js.map +0 -1
- package/esm/use-cases/use-case-pipeline.d.ts +0 -29
- package/esm/use-cases/use-case-pipeline.d.ts.map +0 -1
- package/esm/use-cases/use-case-pipeline.js +0 -45
- package/esm/use-cases/use-case-pipeline.js.map +0 -1
- package/esm/use-cases/use-case.d.ts +0 -27
- package/esm/use-cases/use-case.d.ts.map +0 -1
- package/esm/use-cases/use-case.errors.d.ts +0 -6
- package/esm/use-cases/use-case.errors.d.ts.map +0 -1
- package/esm/use-cases/use-case.errors.js +0 -8
- package/esm/use-cases/use-case.errors.js.map +0 -1
- package/esm/use-cases/use-case.js +0 -138
- package/esm/use-cases/use-case.js.map +0 -1
- package/esm/use-cases/use-cases-registry.d.ts +0 -38
- package/esm/use-cases/use-cases-registry.d.ts.map +0 -1
- package/esm/use-cases/use-cases-registry.js +0 -92
- package/esm/use-cases/use-cases-registry.js.map +0 -1
- package/esm/utils/app-log.d.ts +0 -8
- package/esm/utils/app-log.d.ts.map +0 -1
- package/esm/utils/app-log.js +0 -7
- package/esm/utils/app-log.js.map +0 -1
- package/esm/utils/cleanup-temp-files.d.ts +0 -5
- package/esm/utils/cleanup-temp-files.d.ts.map +0 -1
- package/esm/utils/database-log.d.ts +0 -25
- package/esm/utils/database-log.d.ts.map +0 -1
- package/esm/utils/database-log.js +0 -43
- package/esm/utils/database-log.js.map +0 -1
- package/esm/utils/download-file.d.ts +0 -3
- package/esm/utils/download-file.d.ts.map +0 -1
- package/esm/utils/environment.d.ts +0 -4
- package/esm/utils/environment.d.ts.map +0 -1
- package/esm/utils/environment.js +0 -6
- package/esm/utils/environment.js.map +0 -1
- package/esm/utils/framework-vesion.d.ts +0 -6
- package/esm/utils/framework-vesion.d.ts.map +0 -1
- package/esm/utils/framework-vesion.js +0 -18
- package/esm/utils/framework-vesion.js.map +0 -1
- package/esm/utils/get-localized.d.ts +0 -10
- package/esm/utils/get-localized.d.ts.map +0 -1
- package/esm/utils/get-localized.js +0 -15
- package/esm/utils/get-localized.js.map +0 -1
- package/esm/utils/index.d.ts +0 -12
- package/esm/utils/index.d.ts.map +0 -1
- package/esm/utils/internal.d.ts +0 -4
- package/esm/utils/internal.d.ts.map +0 -1
- package/esm/utils/paths.d.ts +0 -55
- package/esm/utils/paths.d.ts.map +0 -1
- package/esm/utils/paths.js +0 -89
- package/esm/utils/paths.js.map +0 -1
- package/esm/utils/promise-all-object.d.ts +0 -8
- package/esm/utils/promise-all-object.d.ts.map +0 -1
- package/esm/utils/promise-all-object.js +0 -12
- package/esm/utils/promise-all-object.js.map +0 -1
- package/esm/utils/queue.d.ts +0 -49
- package/esm/utils/queue.d.ts.map +0 -1
- package/esm/utils/queue.js +0 -89
- package/esm/utils/queue.js.map +0 -1
- package/esm/utils/sleep.d.ts +0 -2
- package/esm/utils/sleep.d.ts.map +0 -1
- package/esm/utils/sleep.js +0 -3
- package/esm/utils/sleep.js.map +0 -1
- package/esm/utils/sluggable.d.ts +0 -5
- package/esm/utils/sluggable.d.ts.map +0 -1
- package/esm/utils/sluggable.js +0 -15
- package/esm/utils/sluggable.js.map +0 -1
- package/esm/utils/to-json.d.ts +0 -2
- package/esm/utils/to-json.d.ts.map +0 -1
- package/esm/utils/to-json.js +0 -26
- package/esm/utils/to-json.js.map +0 -1
- package/esm/utils/types.d.ts +0 -22
- package/esm/utils/types.d.ts.map +0 -1
- package/esm/utils/urls.d.ts +0 -21
- package/esm/utils/urls.d.ts.map +0 -1
- package/esm/utils/urls.js +0 -31
- package/esm/utils/urls.js.map +0 -1
- package/esm/validation/database/exists-except-current-id.d.ts +0 -7
- package/esm/validation/database/exists-except-current-id.d.ts.map +0 -1
- package/esm/validation/database/exists-except-current-id.js +0 -24
- package/esm/validation/database/exists-except-current-id.js.map +0 -1
- package/esm/validation/database/exists-except-current-user.d.ts +0 -7
- package/esm/validation/database/exists-except-current-user.d.ts.map +0 -1
- package/esm/validation/database/exists-except-current-user.js +0 -26
- package/esm/validation/database/exists-except-current-user.js.map +0 -1
- package/esm/validation/database/exists.d.ts +0 -7
- package/esm/validation/database/exists.d.ts.map +0 -1
- package/esm/validation/database/exists.js +0 -22
- package/esm/validation/database/exists.js.map +0 -1
- package/esm/validation/database/index.d.ts +0 -12
- package/esm/validation/database/index.d.ts.map +0 -1
- package/esm/validation/database/types.d.ts +0 -68
- package/esm/validation/database/types.d.ts.map +0 -1
- package/esm/validation/database/unique-except-current-id.d.ts +0 -7
- package/esm/validation/database/unique-except-current-id.d.ts.map +0 -1
- package/esm/validation/database/unique-except-current-id.js +0 -24
- package/esm/validation/database/unique-except-current-id.js.map +0 -1
- package/esm/validation/database/unique-except-current-user.d.ts +0 -7
- package/esm/validation/database/unique-except-current-user.d.ts.map +0 -1
- package/esm/validation/database/unique-except-current-user.js +0 -29
- package/esm/validation/database/unique-except-current-user.js.map +0 -1
- package/esm/validation/database/unique.d.ts +0 -7
- package/esm/validation/database/unique.d.ts.map +0 -1
- package/esm/validation/database/unique.js +0 -31
- package/esm/validation/database/unique.js.map +0 -1
- package/esm/validation/file/file.d.ts +0 -22
- package/esm/validation/file/file.d.ts.map +0 -1
- package/esm/validation/file/file.js +0 -60
- package/esm/validation/file/file.js.map +0 -1
- package/esm/validation/file/index.d.ts +0 -6
- package/esm/validation/file/index.d.ts.map +0 -1
- package/esm/validation/index.d.ts +0 -16
- package/esm/validation/index.d.ts.map +0 -1
- package/esm/validation/init.d.ts +0 -7
- package/esm/validation/init.d.ts.map +0 -1
- package/esm/validation/init.js +0 -36
- package/esm/validation/init.js.map +0 -1
- package/esm/validation/plugins/database-plugin.d.ts +0 -14
- package/esm/validation/plugins/database-plugin.d.ts.map +0 -1
- package/esm/validation/plugins/database-plugin.js +0 -83
- package/esm/validation/plugins/database-plugin.js.map +0 -1
- package/esm/validation/plugins/file-plugin.d.ts +0 -11
- package/esm/validation/plugins/file-plugin.d.ts.map +0 -1
- package/esm/validation/plugins/file-plugin.js +0 -17
- package/esm/validation/plugins/file-plugin.js.map +0 -1
- package/esm/validation/plugins/index.d.ts +0 -9
- package/esm/validation/plugins/index.d.ts.map +0 -1
- package/esm/validation/plugins/localized-plugin.d.ts +0 -11
- package/esm/validation/plugins/localized-plugin.d.ts.map +0 -1
- package/esm/validation/plugins/localized-plugin.js +0 -19
- package/esm/validation/plugins/localized-plugin.js.map +0 -1
- package/esm/validation/types.d.ts +0 -87
- package/esm/validation/types.d.ts.map +0 -1
- package/esm/validation/validateAll.d.ts +0 -7
- package/esm/validation/validateAll.d.ts.map +0 -1
- package/esm/validation/validateAll.js +0 -60
- package/esm/validation/validateAll.js.map +0 -1
- package/esm/validation/validators/file-validator.d.ts +0 -62
- package/esm/validation/validators/file-validator.d.ts.map +0 -1
- package/esm/validation/validators/file-validator.js +0 -136
- package/esm/validation/validators/file-validator.js.map +0 -1
- package/esm/validation/validators/index.d.ts +0 -7
- package/esm/validation/validators/index.d.ts.map +0 -1
- package/esm/warlock-config/default-configurations.d.ts +0 -3
- package/esm/warlock-config/default-configurations.d.ts.map +0 -1
- package/esm/warlock-config/default-configurations.js +0 -8
- package/esm/warlock-config/default-configurations.js.map +0 -1
- package/esm/warlock-config/define-config.d.ts +0 -3
- package/esm/warlock-config/define-config.d.ts.map +0 -1
- package/esm/warlock-config/define-config.js +0 -3
- package/esm/warlock-config/define-config.js.map +0 -1
- package/esm/warlock-config/index.d.ts +0 -4
- package/esm/warlock-config/index.d.ts.map +0 -1
- package/esm/warlock-config/types.d.ts +0 -129
- package/esm/warlock-config/types.d.ts.map +0 -1
- package/esm/warlock-config/warlock-config.manager.d.ts +0 -83
- package/esm/warlock-config/warlock-config.manager.d.ts.map +0 -1
- package/esm/warlock-config/warlock-config.manager.js +0 -141
- package/esm/warlock-config/warlock-config.manager.js.map +0 -1
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import {addCommandAction}from'../../generations/add-command.action.js';import {command}from'../cli-command.js';const addCommand = command({
|
|
2
|
-
name: "add <features...>",
|
|
3
|
-
description: "Add new feature(s) to the project",
|
|
4
|
-
action: addCommandAction,
|
|
5
|
-
options: [
|
|
6
|
-
{
|
|
7
|
-
text: "--package-manager -pm",
|
|
8
|
-
description: "Package manager to use, if not passed, it will be detected automatically",
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
text: "--list, -l",
|
|
12
|
-
description: "List available features",
|
|
13
|
-
},
|
|
14
|
-
],
|
|
15
|
-
});export{addCommand};//# sourceMappingURL=add.command.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"add.command.js","sources":["../../../src/cli/commands/add.command.ts"],"sourcesContent":[null],"names":[],"mappings":"+GAGO,MAAM,UAAU,GAAG,OAAO,CAAC;AAChC,IAAA,IAAI,EAAE,mBAAmB;AACzB,IAAA,WAAW,EAAE,mCAAmC;AAChD,IAAA,MAAM,EAAE,gBAAgB;AACxB,IAAA,OAAO,EAAE;AACP,QAAA;AACE,YAAA,IAAI,EAAE,uBAAuB;AAC7B,YAAA,WAAW,EAAE,0EAA0E;AACxF,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,YAAY;AAClB,YAAA,WAAW,EAAE,yBAAyB;AACvC,SAAA;AACF,KAAA;AACF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build.command.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/build.command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,qCAOvB,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import {buildAppProduction}from'../../production/build-app-production.js';import {command}from'../cli-command.js';const buildCommand = command({
|
|
2
|
-
name: "build",
|
|
3
|
-
description: "Build the project for production",
|
|
4
|
-
action: buildAppProduction,
|
|
5
|
-
preload: {
|
|
6
|
-
warlockConfig: true,
|
|
7
|
-
},
|
|
8
|
-
});export{buildCommand};//# sourceMappingURL=build.command.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build.command.js","sources":["../../../src/cli/commands/build.command.ts"],"sourcesContent":[null],"names":[],"mappings":"kHAGO,MAAM,YAAY,GAAG,OAAO,CAAC;AAClC,IAAA,IAAI,EAAE,OAAO;AACb,IAAA,WAAW,EAAE,kCAAkC;AAC/C,IAAA,MAAM,EAAE,kBAAkB;AAC1B,IAAA,OAAO,EAAE;AACP,QAAA,aAAa,EAAE,IAAI;AACpB,KAAA;AACF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-database.command.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/create-database.command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,qBAAqB,qCAiBhC,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import {createDatabaseAction}from'../../database/create-database-action.js';import {command}from'../cli-command.js';const createDatabaseCommand = command({
|
|
2
|
-
name: "create-database <name>",
|
|
3
|
-
alias: "cdb",
|
|
4
|
-
description: "Create a new database",
|
|
5
|
-
action: createDatabaseAction,
|
|
6
|
-
preload: {
|
|
7
|
-
config: ["database", "log"],
|
|
8
|
-
env: true,
|
|
9
|
-
connectors: ["database"],
|
|
10
|
-
},
|
|
11
|
-
options: [
|
|
12
|
-
{
|
|
13
|
-
text: "--connection, -c",
|
|
14
|
-
description: "Database connection name",
|
|
15
|
-
defaultValue: "default",
|
|
16
|
-
},
|
|
17
|
-
],
|
|
18
|
-
});export{createDatabaseCommand};//# sourceMappingURL=create-database.command.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-database.command.js","sources":["../../../src/cli/commands/create-database.command.ts"],"sourcesContent":[null],"names":[],"mappings":"oHAGO,MAAM,qBAAqB,GAAG,OAAO,CAAC;AAC3C,IAAA,IAAI,EAAE,wBAAwB;AAC9B,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,WAAW,EAAE,uBAAuB;AACpC,IAAA,MAAM,EAAE,oBAAoB;AAC5B,IAAA,OAAO,EAAE;AACP,QAAA,MAAM,EAAE,CAAC,UAAU,EAAE,KAAK,CAAC;AAC3B,QAAA,GAAG,EAAE,IAAI;QACT,UAAU,EAAE,CAAC,UAAU,CAAC;AACzB,KAAA;AACD,IAAA,OAAO,EAAE;AACP,QAAA;AACE,YAAA,IAAI,EAAE,kBAAkB;AACxB,YAAA,WAAW,EAAE,0BAA0B;AACvC,YAAA,YAAY,EAAE,SAAS;AACxB,SAAA;AACF,KAAA;AACF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dev-server.command.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/dev-server.command.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,qCAiByB,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import {startDevelopmentServer}from'../../dev-server/start-development-server.js';import {command}from'../cli-command.js';import {displayStartupBanner}from'../cli-commands.utils.js';const devServerCommand = command({
|
|
2
|
-
name: "dev",
|
|
3
|
-
description: "Start development server",
|
|
4
|
-
persistent: true,
|
|
5
|
-
preload: {
|
|
6
|
-
runtimeStrategy: "development",
|
|
7
|
-
config: true,
|
|
8
|
-
bootstrap: true,
|
|
9
|
-
prestart: true,
|
|
10
|
-
connectors: true, // load all connectors
|
|
11
|
-
},
|
|
12
|
-
preAction: async () => {
|
|
13
|
-
await displayStartupBanner({ environment: "development" });
|
|
14
|
-
},
|
|
15
|
-
action: async () => {
|
|
16
|
-
await startDevelopmentServer();
|
|
17
|
-
},
|
|
18
|
-
}).option("--fresh", "Start Fresh Development server");export{devServerCommand};//# sourceMappingURL=dev-server.command.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dev-server.command.js","sources":["../../../src/cli/commands/dev-server.command.ts"],"sourcesContent":[null],"names":[],"mappings":"sLAIO,MAAM,gBAAgB,GAAG,OAAO,CAAC;AACtC,IAAA,IAAI,EAAE,KAAK;AACX,IAAA,WAAW,EAAE,0BAA0B;AACvC,IAAA,UAAU,EAAE,IAAI;AAChB,IAAA,OAAO,EAAE;AACP,QAAA,eAAe,EAAE,aAAa;AAC9B,QAAA,MAAM,EAAE,IAAI;AACZ,QAAA,SAAS,EAAE,IAAI;AACf,QAAA,QAAQ,EAAE,IAAI;QACd,UAAU,EAAE,IAAI;AACjB,KAAA;IACD,SAAS,EAAE,YAAW;QACpB,MAAM,oBAAoB,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC,CAAC;KAC5D;IACD,MAAM,EAAE,YAAW;QACjB,MAAM,sBAAsB,EAAE,CAAC;KAChC;AACF,CAAA,CAAC,CAAC,MAAM,CAAC,SAAS,EAAE,gCAAgC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drop-tables.command.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/drop-tables.command.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB,qCAgB5B,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import {dropTablesAction}from'../../database/drop-tables-action.js';import {command}from'../cli-command.js';const dropTablesCommand = command({
|
|
2
|
-
name: "drop.tables",
|
|
3
|
-
description: "Drop all tables in the database",
|
|
4
|
-
action: dropTablesAction,
|
|
5
|
-
preload: {
|
|
6
|
-
config: ["database", "log"],
|
|
7
|
-
env: true,
|
|
8
|
-
connectors: ["database"],
|
|
9
|
-
},
|
|
10
|
-
options: [
|
|
11
|
-
{
|
|
12
|
-
text: "--force, -f",
|
|
13
|
-
description: "Drop tables without confirmation",
|
|
14
|
-
type: "boolean",
|
|
15
|
-
},
|
|
16
|
-
],
|
|
17
|
-
});export{dropTablesCommand};//# sourceMappingURL=drop-tables.command.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drop-tables.command.js","sources":["../../../src/cli/commands/drop-tables.command.ts"],"sourcesContent":[null],"names":[],"mappings":"4GAGO,MAAM,iBAAiB,GAAG,OAAO,CAAC;AACvC,IAAA,IAAI,EAAE,aAAa;AACnB,IAAA,WAAW,EAAE,iCAAiC;AAC9C,IAAA,MAAM,EAAE,gBAAgB;AACxB,IAAA,OAAO,EAAE;AACP,QAAA,MAAM,EAAE,CAAC,UAAU,EAAE,KAAK,CAAC;AAC3B,QAAA,GAAG,EAAE,IAAI;QACT,UAAU,EAAE,CAAC,UAAU,CAAC;AACzB,KAAA;AACD,IAAA,OAAO,EAAE;AACP,QAAA;AACE,YAAA,IAAI,EAAE,aAAa;AACnB,YAAA,WAAW,EAAE,kCAAkC;AAC/C,YAAA,IAAI,EAAE,SAAS;AAChB,SAAA;AACF,KAAA;AACF,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const generateCommand: import("../../cli-command").CLICommand;
|
|
2
|
-
export declare const generateModuleCommand: import("../../cli-command").CLICommand;
|
|
3
|
-
export declare const generateControllerCommand: import("../../cli-command").CLICommand;
|
|
4
|
-
export declare const generateServiceCommand: import("../../cli-command").CLICommand;
|
|
5
|
-
export declare const generateModelCommand: import("../../cli-command").CLICommand;
|
|
6
|
-
export declare const generateRepositoryCommand: import("../../cli-command").CLICommand;
|
|
7
|
-
export declare const generateResourceCommand: import("../../cli-command").CLICommand;
|
|
8
|
-
export declare const generateValidationCommand: import("../../cli-command").CLICommand;
|
|
9
|
-
export declare const generateMigrationCommand: import("../../cli-command").CLICommand;
|
|
10
|
-
//# sourceMappingURL=generate.command.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generate.command.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/generate/generate.command.ts"],"names":[],"mappings":"AAyDA,eAAO,MAAM,eAAe,wCAW1B,CAAC;AAGH,eAAO,MAAM,qBAAqB,wCAgBhC,CAAC;AAEH,eAAO,MAAM,yBAAyB,wCAepC,CAAC;AAEH,eAAO,MAAM,sBAAsB,wCAWjC,CAAC;AAEH,eAAO,MAAM,oBAAoB,wCAuB/B,CAAC;AAEH,eAAO,MAAM,yBAAyB,wCAWpC,CAAC;AAEH,eAAO,MAAM,uBAAuB,wCAWlC,CAAC;AAEH,eAAO,MAAM,yBAAyB,wCAepC,CAAC;AAEH,eAAO,MAAM,wBAAwB,wCA2BnC,CAAC"}
|
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import {colors}from'@mongez/copper';import {command}from'../../cli-command.js';import {generateController}from'./generators/controller.generator.js';import {generateMigration}from'./generators/migration.generator.js';import {generateModel}from'./generators/model.generator.js';import {generateModule}from'./generators/module.generator.js';import {generateRepository}from'./generators/repository.generator.js';import {generateResource}from'./generators/resource.generator.js';import {generateService}from'./generators/service.generator.js';import {generateValidation}from'./generators/validation.generator.js';const generators = {
|
|
2
|
-
module: generateModule,
|
|
3
|
-
controller: generateController,
|
|
4
|
-
service: generateService,
|
|
5
|
-
model: generateModel,
|
|
6
|
-
migration: generateMigration,
|
|
7
|
-
repository: generateRepository,
|
|
8
|
-
resource: generateResource,
|
|
9
|
-
validation: generateValidation,
|
|
10
|
-
};
|
|
11
|
-
async function generateCommandAction(data) {
|
|
12
|
-
const commandName = data.args[0];
|
|
13
|
-
if (!commandName) {
|
|
14
|
-
console.log(colors.red("Error: Generator name is required"));
|
|
15
|
-
console.log(colors.yellow("\nAvailable generators:"));
|
|
16
|
-
Object.keys(generators).forEach((cmd) => {
|
|
17
|
-
console.log(colors.cyan(` - ${cmd}`));
|
|
18
|
-
});
|
|
19
|
-
console.log(colors.yellow("\nUsage: warlock generate <generator> <name> [options]"));
|
|
20
|
-
process.exit(1);
|
|
21
|
-
}
|
|
22
|
-
const generator = generators[commandName];
|
|
23
|
-
if (!generator) {
|
|
24
|
-
console.log(colors.red(`Error: Unknown generator "${commandName}"`));
|
|
25
|
-
console.log(colors.yellow("\nAvailable generators:"));
|
|
26
|
-
Object.keys(generators).forEach((cmd) => {
|
|
27
|
-
console.log(colors.cyan(` - ${cmd}`));
|
|
28
|
-
});
|
|
29
|
-
process.exit(1);
|
|
30
|
-
}
|
|
31
|
-
// Remove the command name from args for the generator
|
|
32
|
-
const generatorData = {
|
|
33
|
-
...data,
|
|
34
|
-
args: data.args.slice(1),
|
|
35
|
-
};
|
|
36
|
-
await generator(generatorData);
|
|
37
|
-
}
|
|
38
|
-
// Master generate command
|
|
39
|
-
const generateCommand = command({
|
|
40
|
-
name: "generate <generator> [args...]",
|
|
41
|
-
alias: "g",
|
|
42
|
-
description: "Scaffold a new component",
|
|
43
|
-
action: generateCommandAction,
|
|
44
|
-
options: [
|
|
45
|
-
{
|
|
46
|
-
text: "--force, -f",
|
|
47
|
-
description: "Overwrite existing files",
|
|
48
|
-
},
|
|
49
|
-
],
|
|
50
|
-
});
|
|
51
|
-
// Individual commands
|
|
52
|
-
const generateModuleCommand = command({
|
|
53
|
-
name: "generate.module <name>",
|
|
54
|
-
alias: "gen.m",
|
|
55
|
-
description: "Generate a new module",
|
|
56
|
-
action: generateModule,
|
|
57
|
-
options: [
|
|
58
|
-
{
|
|
59
|
-
text: "--crud, -c",
|
|
60
|
-
description: "Generate full CRUD scaffold (controllers, model, validation, routes)",
|
|
61
|
-
defaultValue: true,
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
text: "--force, -f",
|
|
65
|
-
description: "Overwrite existing files",
|
|
66
|
-
},
|
|
67
|
-
],
|
|
68
|
-
});
|
|
69
|
-
const generateControllerCommand = command({
|
|
70
|
-
name: "generate.controller <module>/<name>",
|
|
71
|
-
alias: "gen.c",
|
|
72
|
-
description: "Generate a new controller",
|
|
73
|
-
action: generateController,
|
|
74
|
-
options: [
|
|
75
|
-
{
|
|
76
|
-
text: "--with-validation, -v",
|
|
77
|
-
description: "Generate validation schema and request type",
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
text: "--force, -f",
|
|
81
|
-
description: "Overwrite existing files",
|
|
82
|
-
},
|
|
83
|
-
],
|
|
84
|
-
});
|
|
85
|
-
const generateServiceCommand = command({
|
|
86
|
-
name: "generate.service <module>/<name>",
|
|
87
|
-
alias: "gen.s",
|
|
88
|
-
description: "Generate a new service",
|
|
89
|
-
action: generateService,
|
|
90
|
-
options: [
|
|
91
|
-
{
|
|
92
|
-
text: "--force, -f",
|
|
93
|
-
description: "Overwrite existing files",
|
|
94
|
-
},
|
|
95
|
-
],
|
|
96
|
-
});
|
|
97
|
-
const generateModelCommand = command({
|
|
98
|
-
name: "generate.model <module>/<name>",
|
|
99
|
-
alias: "gen.md",
|
|
100
|
-
description: "Generate a new model with migration",
|
|
101
|
-
action: generateModel,
|
|
102
|
-
options: [
|
|
103
|
-
{
|
|
104
|
-
text: "--with-resource, -rs",
|
|
105
|
-
description: "Generate resource",
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
text: "--table <name>",
|
|
109
|
-
description: "Specify table name",
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
text: "--force, -f",
|
|
113
|
-
description: "Overwrite existing files",
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
text: "--timestamps [bool]",
|
|
117
|
-
description: "Include timestamps in migration (default: true)",
|
|
118
|
-
},
|
|
119
|
-
],
|
|
120
|
-
});
|
|
121
|
-
const generateRepositoryCommand = command({
|
|
122
|
-
name: "generate.repository <module>/<name>",
|
|
123
|
-
alias: "gen.r",
|
|
124
|
-
description: "Generate a new repository",
|
|
125
|
-
action: generateRepository,
|
|
126
|
-
options: [
|
|
127
|
-
{
|
|
128
|
-
text: "--force, -f",
|
|
129
|
-
description: "Overwrite existing files",
|
|
130
|
-
},
|
|
131
|
-
],
|
|
132
|
-
});
|
|
133
|
-
const generateResourceCommand = command({
|
|
134
|
-
name: "generate.resource <module>/<name>",
|
|
135
|
-
alias: "gen.rs",
|
|
136
|
-
description: "Generate a new resource",
|
|
137
|
-
action: generateResource,
|
|
138
|
-
options: [
|
|
139
|
-
{
|
|
140
|
-
text: "--force, -f",
|
|
141
|
-
description: "Overwrite existing files",
|
|
142
|
-
},
|
|
143
|
-
],
|
|
144
|
-
});
|
|
145
|
-
const generateValidationCommand = command({
|
|
146
|
-
name: "generate.validation <module>/<name>",
|
|
147
|
-
alias: "gen.v",
|
|
148
|
-
description: "Generate a new validation schema",
|
|
149
|
-
action: generateValidation,
|
|
150
|
-
options: [
|
|
151
|
-
{
|
|
152
|
-
text: "--with-request, -r",
|
|
153
|
-
description: "Generate request type",
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
text: "--force, -f",
|
|
157
|
-
description: "Overwrite existing files",
|
|
158
|
-
},
|
|
159
|
-
],
|
|
160
|
-
});
|
|
161
|
-
const generateMigrationCommand = command({
|
|
162
|
-
name: "generate.migration <model-path>",
|
|
163
|
-
alias: "gen.mig",
|
|
164
|
-
description: "Generate a new migration for a model",
|
|
165
|
-
action: generateMigration,
|
|
166
|
-
options: [
|
|
167
|
-
{
|
|
168
|
-
text: "--force, -f",
|
|
169
|
-
description: "Overwrite existing files",
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
text: "--add <columns>",
|
|
173
|
-
description: "Columns to add (DSL: name:type:modifier,...)",
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
text: "--drop <columns>",
|
|
177
|
-
description: "Columns to drop (comma-separated names)",
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
text: "--rename <columns>",
|
|
181
|
-
description: "Columns to rename (DSL: old:new,...)",
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
text: "--timestamps [bool]",
|
|
185
|
-
description: "Include timestamps (default: true)",
|
|
186
|
-
},
|
|
187
|
-
],
|
|
188
|
-
});export{generateCommand,generateControllerCommand,generateMigrationCommand,generateModelCommand,generateModuleCommand,generateRepositoryCommand,generateResourceCommand,generateServiceCommand,generateValidationCommand};//# sourceMappingURL=generate.command.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generate.command.js","sources":["../../../../src/cli/commands/generate/generate.command.ts"],"sourcesContent":[null],"names":[],"mappings":"imBAYA,MAAM,UAAU,GAA+D;AAC7E,IAAA,MAAM,EAAE,cAAc;AACtB,IAAA,UAAU,EAAE,kBAAkB;AAC9B,IAAA,OAAO,EAAE,eAAe;AACxB,IAAA,KAAK,EAAE,aAAa;AACpB,IAAA,SAAS,EAAE,iBAAiB;AAC5B,IAAA,UAAU,EAAE,kBAAkB;AAC9B,IAAA,QAAQ,EAAE,gBAAgB;AAC1B,IAAA,UAAU,EAAE,kBAAkB;CAC/B,CAAC;AAEF,eAAe,qBAAqB,CAAC,IAAuB,EAAA;IAC1D,MAAM,WAAW,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAEjC,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,mCAAmC,CAAC,CAAC,CAAC;QAC7D,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,yBAAyB,CAAC,CAAC,CAAC;QACtD,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,KAAI;AACtC,YAAA,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA,IAAA,EAAO,GAAG,CAAA,CAAE,CAAC,CAAC,CAAC;AACzC,SAAC,CAAC,CAAC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AACP,QAAA;AACE,YAAA,IAAI,EAAE,oBAAoB;AAC1B,YAAA,WAAW,EAAE,uBAAuB;AACrC,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,aAAa;AACnB,YAAA,WAAW,EAAE,0BAA0B;AACxC,SAAA;AACF,KAAA;AACF,CAAA,EAAE;AAEI,MAAM,wBAAwB,GAAG,OAAO,CAAC;AAC9C,IAAA,IAAI,EAAE,iCAAiC;AACvC,IAAA,KAAK,EAAE,SAAS;AAChB,IAAA,WAAW,EAAE,sCAAsC;AACnD,IAAA,MAAM,EAAE,iBAAiB;AACzB,IAAA,OAAO,EAAE;AACP,QAAA;AACE,YAAA,IAAI,EAAE,aAAa;AACnB,YAAA,WAAW,EAAE,0BAA0B;AACxC,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,iBAAiB;AACvB,YAAA,WAAW,EAAE,8CAA8C;AAC5D,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,kBAAkB;AACxB,YAAA,WAAW,EAAE,yCAAyC;AACvD,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,oBAAoB;AAC1B,YAAA,WAAW,EAAE,sCAAsC;AACpD,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,qBAAqB;AAC3B,YAAA,WAAW,EAAE,oCAAoC;AAClD,SAAA;AACF,KAAA;AACF,CAAA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export type ParsedColumn = {
|
|
2
|
-
name: string;
|
|
3
|
-
helper: string;
|
|
4
|
-
modifiers: string[];
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* Parses a subset DSL for column schemas:
|
|
8
|
-
* "phone:text:nullable,price:decimal:notNullable:unsigned"
|
|
9
|
-
*/
|
|
10
|
-
export declare function parseColumnDsl(input: string): ParsedColumn[];
|
|
11
|
-
//# sourceMappingURL=column-dsl-parser.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"column-dsl-parser.d.ts","sourceRoot":"","sources":["../../../../../src/cli/commands/generate/generators/column-dsl-parser.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC;AAwBF;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY,EAAE,CAwB5D"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
const typeMapping = {
|
|
2
|
-
text: "text",
|
|
3
|
-
string: "string",
|
|
4
|
-
integer: "integer",
|
|
5
|
-
int: "integer",
|
|
6
|
-
bigInteger: "bigInteger",
|
|
7
|
-
bigInt: "bigInteger",
|
|
8
|
-
boolean: "boolCol",
|
|
9
|
-
bool: "boolCol",
|
|
10
|
-
uuid: "uuid",
|
|
11
|
-
timestamp: "timestamp",
|
|
12
|
-
date: "date",
|
|
13
|
-
json: "json",
|
|
14
|
-
object: "objectCol",
|
|
15
|
-
decimal: "decimal",
|
|
16
|
-
float: "float",
|
|
17
|
-
enum: "enumCol",
|
|
18
|
-
set: "setCol",
|
|
19
|
-
blob: "blobCol",
|
|
20
|
-
binary: "blobCol",
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* Parses a subset DSL for column schemas:
|
|
24
|
-
* "phone:text:nullable,price:decimal:notNullable:unsigned"
|
|
25
|
-
*/
|
|
26
|
-
function parseColumnDsl(input) {
|
|
27
|
-
if (!input)
|
|
28
|
-
return [];
|
|
29
|
-
const columns = input.split(",").map((c) => c.trim()).filter(Boolean);
|
|
30
|
-
return columns.map((colStr) => {
|
|
31
|
-
const parts = colStr.split(":").map((p) => p.trim());
|
|
32
|
-
const name = parts[0];
|
|
33
|
-
const rawType = parts[1] || "string";
|
|
34
|
-
const helper = typeMapping[rawType] || rawType; // fallback to raw string if not mapped
|
|
35
|
-
const modifiers = [];
|
|
36
|
-
for (let i = 2; i < parts.length; i++) {
|
|
37
|
-
let modifier = parts[i];
|
|
38
|
-
// Basic modifiers that translates to builder calls
|
|
39
|
-
modifiers.push(`.${modifier}()`);
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
name,
|
|
43
|
-
helper,
|
|
44
|
-
modifiers,
|
|
45
|
-
};
|
|
46
|
-
});
|
|
47
|
-
}export{parseColumnDsl};//# sourceMappingURL=column-dsl-parser.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"column-dsl-parser.js","sources":["../../../../../src/cli/commands/generate/generators/column-dsl-parser.ts"],"sourcesContent":[null],"names":[],"mappings":"AAMA,MAAM,WAAW,GAA2B;AAC1C,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,GAAG,EAAE,SAAS;AACd,IAAA,UAAU,EAAE,YAAY;AACxB,IAAA,MAAM,EAAE,YAAY;AACpB,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,IAAI,EAAE,SAAS;AACf,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,SAAS,EAAE,WAAW;AACtB,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,MAAM,EAAE,WAAW;AACnB,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,IAAI,EAAE,SAAS;AACf,IAAA,GAAG,EAAE,QAAQ;AACb,IAAA,IAAI,EAAE,SAAS;AACf,IAAA,MAAM,EAAE,SAAS;CAClB,CAAC;AAEF;;;AAGG;AACG,SAAU,cAAc,CAAC,KAAa,EAAA;AAC1C,IAAA,IAAI,CAAC,KAAK;AAAE,QAAA,OAAO,EAAE,CAAC;IAEtB,MAAM,OAAO,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AAEtE,IAAA,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,KAAI;QAC5B,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;AACrD,QAAA,MAAM,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;QACtB,MAAM,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,IAAI,QAAQ,CAAC;QACrC,MAAM,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,IAAI,OAAO,CAAC;QAE/C,MAAM,SAAS,GAAa,EAAE,CAAC;AAC/B,QAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AACrC,YAAA,IAAI,QAAQ,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;;AAExB,YAAA,SAAS,CAAC,IAAI,CAAC,IAAI,QAAQ,CAAA,EAAA,CAAI,CAAC,CAAC;AAClC,SAAA;QAED,OAAO;YACL,IAAI;YACJ,MAAM;YACN,SAAS;SACV,CAAC;AACJ,KAAC,CAAC,CAAC;AACL"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"controller.generator.d.ts","sourceRoot":"","sources":["../../../../../src/cli/commands/generate/generators/controller.generator.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAUxD,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CAgE/E"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import {colors}from'@mongez/copper';import {putFileAsync}from'@mongez/fs';import {controllerStub,validationStub,requestStub}from'../templates/stubs.js';import {parseModulePath,parseName}from'../utils/name-parser.js';import {moduleExists,resolveComponentPath,componentExists,ensureComponentDirectory}from'../utils/path-resolver.js';async function generateController(data) {
|
|
2
|
-
const input = data.args[0];
|
|
3
|
-
if (!input) {
|
|
4
|
-
console.log(colors.red("Error: Controller name is required"));
|
|
5
|
-
console.log(colors.yellow("Usage: warlock create.controller <module>/<name>"));
|
|
6
|
-
console.log(colors.yellow("Example: warlock create.controller users/create-user"));
|
|
7
|
-
process.exit(1);
|
|
8
|
-
}
|
|
9
|
-
const { module, name: componentName } = parseModulePath(input);
|
|
10
|
-
if (!module) {
|
|
11
|
-
console.log(colors.red("Error: Module name is required"));
|
|
12
|
-
console.log(colors.yellow("Usage: warlock create.controller <module>/<name>"));
|
|
13
|
-
process.exit(1);
|
|
14
|
-
}
|
|
15
|
-
// Check if module exists
|
|
16
|
-
if (!(await moduleExists(module))) {
|
|
17
|
-
console.log(colors.red(`Error: Module "${module}" does not exist`));
|
|
18
|
-
console.log(colors.yellow(`Run: warlock create.module ${module}`));
|
|
19
|
-
process.exit(1);
|
|
20
|
-
}
|
|
21
|
-
const name = parseName(componentName);
|
|
22
|
-
const withValidation = data.options.withValidation || data.options.v;
|
|
23
|
-
const force = data.options.force || data.options.f;
|
|
24
|
-
// Check if controller already exists
|
|
25
|
-
const controllerPath = resolveComponentPath(module, "controllers", `${name.kebab}.controller`);
|
|
26
|
-
if ((await componentExists(module, "controllers", `${name.kebab}.controller`)) && !force) {
|
|
27
|
-
console.log(colors.red(`Error: Controller "${name.kebab}.controller.ts" already exists`));
|
|
28
|
-
console.log(colors.yellow("Use --force to overwrite"));
|
|
29
|
-
process.exit(1);
|
|
30
|
-
}
|
|
31
|
-
// Ensure directories exist
|
|
32
|
-
await ensureComponentDirectory(module, "controllers");
|
|
33
|
-
// Generate controller
|
|
34
|
-
const controllerContent = controllerStub(name, { withValidation: !!withValidation });
|
|
35
|
-
await putFileAsync(controllerPath, controllerContent);
|
|
36
|
-
console.log(colors.green(`✓ Created controller: ${controllerPath}`));
|
|
37
|
-
// Generate schema and request if requested
|
|
38
|
-
if (withValidation) {
|
|
39
|
-
await ensureComponentDirectory(module, "schema");
|
|
40
|
-
await ensureComponentDirectory(module, "requests");
|
|
41
|
-
const schemaPath = resolveComponentPath(module, "schema", `${name.kebab}.schema`);
|
|
42
|
-
const requestPath = resolveComponentPath(module, "requests", `${name.kebab}.request`);
|
|
43
|
-
const schemaContent = validationStub(name);
|
|
44
|
-
const requestContent = requestStub(name);
|
|
45
|
-
await putFileAsync(schemaPath, schemaContent);
|
|
46
|
-
await putFileAsync(requestPath, requestContent);
|
|
47
|
-
console.log(colors.green(`✓ Created schema: ${schemaPath}`));
|
|
48
|
-
console.log(colors.green(`✓ Created request: ${requestPath}`));
|
|
49
|
-
}
|
|
50
|
-
console.log(colors.cyan(`\n✨ Controller "${name.camel}" generated successfully!`));
|
|
51
|
-
}export{generateController};//# sourceMappingURL=controller.generator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"controller.generator.js","sources":["../../../../../src/cli/commands/generate/generators/controller.generator.ts"],"sourcesContent":[null],"names":[],"mappings":"2UAYO,eAAe,kBAAkB,CAAC,IAAuB,EAAA;IAC9D,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAE3B,IAAI,CAAC,KAAK,EAAE;QACV,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,oCAAoC,CAAC,CAAC,CAAC;QAC9D,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,kDAAkD,CAAC,CAAC,CAAC;QAC/E,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,sDAAsD,CAAC,CAAC,CAAC;AACnF,QAAA,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACjB,KAAA;AAED,IAAA,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,GAAG,eAAe,CAAC,KAAK,CAAC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AAc,CAAC,CAAC;AAEhD,QAAA,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA,kBAAA,EAAqB,UAAU,CAAA,CAAE,CAAC,CAAC,CAAC;AAC7D,QAAA,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA,mBAAA,EAAsB,WAAW,CAAA,CAAE,CAAC,CAAC,CAAC;AAChE,KAAA;AAED,IAAA,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAmB,gBAAA,EAAA,IAAI,CAAC,KAAK,CAA2B,yBAAA,CAAA,CAAC,CAAC,CAAC;AACrF"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { CommandActionData } from "../../../types";
|
|
2
|
-
/**
|
|
3
|
-
* Generate a migration file for a model
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Create a migration file for a model
|
|
7
|
-
*/
|
|
8
|
-
export declare function createMigrationFile(moduleName: string, entityName: string, options?: any): Promise<string>;
|
|
9
|
-
/**
|
|
10
|
-
* Generate a migration file for a model
|
|
11
|
-
*/
|
|
12
|
-
export declare function generateMigration(data: CommandActionData): Promise<void>;
|
|
13
|
-
//# sourceMappingURL=migration.generator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"migration.generator.d.ts","sourceRoot":"","sources":["../../../../../src/cli/commands/generate/generators/migration.generator.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAKxD;;GAEG;AACH;;GAEG;AACH,wBAAsB,mBAAmB,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,GAAE,GAAQ,mBAgElG;AAED;;GAEG;AACH,wBAAsB,iBAAiB,CAAC,IAAI,EAAE,iBAAiB,iBAwB9D"}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import {colors}from'@mongez/copper';import {ensureDirectoryAsync,putFileAsync}from'@mongez/fs';import path from'node:path';import'@warlock.js/logger';import'../../../../database/models/database-log/database-log.js';import'../../../../http/context/request-context.js';import {appPath}from'../../../../utils/paths.js';import'@mongez/slug';import'@mongez/supportive-is';import'@mongez/reinforcements';import {migrationAlterStub,migrationStub}from'../templates/stubs.js';import {parseColumnDsl}from'./column-dsl-parser.js';import {parseName}from'../utils/name-parser.js';/**
|
|
2
|
-
* Generate a migration file for a model
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Create a migration file for a model
|
|
6
|
-
*/
|
|
7
|
-
async function createMigrationFile(moduleName, entityName, options = {}) {
|
|
8
|
-
const entity = parseName(entityName);
|
|
9
|
-
// Generate timestamp: MM-DD-YYYY_HH-MM-SS
|
|
10
|
-
const now = new Date();
|
|
11
|
-
const timestamp = `${String(now.getMonth() + 1).padStart(2, "0")}-${String(now.getDate()).padStart(2, "0")}-${now.getFullYear()}_${String(now.getHours()).padStart(2, "0")}-${String(now.getMinutes()).padStart(2, "0")}-${String(now.getSeconds()).padStart(2, "0")}`;
|
|
12
|
-
const migrationFileName = `${timestamp}-${entity.kebab}.migration.ts`;
|
|
13
|
-
const migrationsPath = path.join(appPath(), moduleName, "models", entity.kebab, "migrations");
|
|
14
|
-
// Ensure migrations directory exists
|
|
15
|
-
await ensureDirectoryAsync(migrationsPath);
|
|
16
|
-
const addParams = options.add;
|
|
17
|
-
const dropParams = options.drop;
|
|
18
|
-
const renameParams = options.rename;
|
|
19
|
-
const timestamps = options.timestamps !== "false" && options.timestamps !== false;
|
|
20
|
-
let migrationContent = "";
|
|
21
|
-
if (addParams || dropParams || renameParams) {
|
|
22
|
-
// Generate alter stub
|
|
23
|
-
const parsedAdd = parseColumnDsl(addParams || "");
|
|
24
|
-
const helpersSet = new Set();
|
|
25
|
-
const addLines = parsedAdd.map((col) => {
|
|
26
|
-
helpersSet.add(col.helper);
|
|
27
|
-
return ` ${col.name}: ${col.helper}()${col.modifiers.join("")},`;
|
|
28
|
-
});
|
|
29
|
-
let formattedDrop = undefined;
|
|
30
|
-
if (dropParams) {
|
|
31
|
-
formattedDrop = JSON.stringify(dropParams.split(",").map((s) => s.trim()));
|
|
32
|
-
}
|
|
33
|
-
let formattedRename = undefined;
|
|
34
|
-
if (renameParams) {
|
|
35
|
-
const obj = {};
|
|
36
|
-
renameParams.split(",").map((s) => s.trim()).forEach((p) => {
|
|
37
|
-
const [oldN, newN] = p.split(":").map((s) => s.trim());
|
|
38
|
-
if (oldN && newN)
|
|
39
|
-
obj[oldN] = newN;
|
|
40
|
-
});
|
|
41
|
-
formattedRename = JSON.stringify(obj, null, 2).replace(/\n/g, '\n ');
|
|
42
|
-
}
|
|
43
|
-
migrationContent = migrationAlterStub(entity, {
|
|
44
|
-
add: addLines.length > 0 ? addLines.join("\n") : undefined,
|
|
45
|
-
drop: formattedDrop,
|
|
46
|
-
rename: formattedRename,
|
|
47
|
-
imports: Array.from(helpersSet),
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
// Generate create stub
|
|
52
|
-
migrationContent = migrationStub(entity, {
|
|
53
|
-
timestamps,
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
// Create migration file
|
|
57
|
-
const migrationFilePath = path.join(migrationsPath, migrationFileName);
|
|
58
|
-
await putFileAsync(migrationFilePath, migrationContent);
|
|
59
|
-
console.log(colors.green(`✓ Created ${migrationFileName}`));
|
|
60
|
-
return migrationFilePath;
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* Generate a migration file for a model
|
|
64
|
-
*/
|
|
65
|
-
async function generateMigration(data) {
|
|
66
|
-
const modelPath = data.args[0];
|
|
67
|
-
if (!modelPath) {
|
|
68
|
-
console.log(colors.red("Error: Model path is required"));
|
|
69
|
-
console.log(colors.gray("Usage: warlock gen.migration <model-path>"));
|
|
70
|
-
console.log(colors.gray("Example: warlock gen.migration products/product"));
|
|
71
|
-
return;
|
|
72
|
-
}
|
|
73
|
-
// Parse model path (e.g., "products/product")
|
|
74
|
-
const [moduleName, entityName] = modelPath.split("/");
|
|
75
|
-
if (!moduleName || !entityName) {
|
|
76
|
-
console.log(colors.red("Error: Invalid model path format. Expected: <module>/<entity>"));
|
|
77
|
-
console.log(colors.gray("Example: warlock gen.migration products/product"));
|
|
78
|
-
return;
|
|
79
|
-
}
|
|
80
|
-
const migrationFilePath = await createMigrationFile(moduleName, entityName, data.options);
|
|
81
|
-
console.log(colors.cyan(`\n✨ Migration file created at: ${path.relative(appPath(), migrationFilePath)}`));
|
|
82
|
-
}export{createMigrationFile,generateMigration};//# sourceMappingURL=migration.generator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"migration.generator.js","sources":["../../../../../src/cli/commands/generate/generators/migration.generator.ts"],"sourcesContent":[null],"names":[],"mappings":"ujBASA;;AAEG;AACH;;AAEG;AACI,eAAe,mBAAmB,CAAC,UAAkB,EAAE,UAAkB,EAAE,OAAA,GAAe,EAAE,EAAA;AACjG,IAAA,MAAM,MAAM,GAAG,SAAS,CAAC,UAAU,CAAC,CAAC;;AAGrC,IAAA,MAAM,GAAG,GAAG,IAAI,IAAI,EAAE,CAAC;AACvB,IAAA,MAAM,SAAS,GAAG,CAAA,EAAG,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAA,CAAA,EAAI,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAI,CAAA,EAAA,GAAG,CAAC,WAAW,EAAE,IAAI,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAA,CAAA,EAAI,MAAM,CAAC,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,IAAI,MA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