@typetron/framework 0.5.21 → 0.5.22
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/.automaker/app_spec.txt +440 -0
- package/.automaker/categories.json +1 -0
- package/.automaker/features/a-b-testing-framework/feature.json +14 -0
- package/.automaker/features/account-lockout-protection/feature.json +14 -0
- package/.automaker/features/api-versioning/feature.json +14 -0
- package/.automaker/features/background-job-processing/feature.json +12 -0
- package/.automaker/features/cloud-storage-integration/feature.json +14 -0
- package/.automaker/features/compression-middleware/feature.json +14 -0
- package/.automaker/features/cors-and-security-headers/feature.json +14 -0
- package/.automaker/features/currency-and-timezone/feature.json +14 -0
- package/.automaker/features/database-backup-restore/feature.json +14 -0
- package/.automaker/features/database-query-logging/feature.json +15 -0
- package/.automaker/features/database-transaction-support/feature.json +14 -0
- package/.automaker/features/discord-notifications-channel/feature.json +14 -0
- package/.automaker/features/eager-loading-optimization/feature.json +14 -0
- package/.automaker/features/email-notifications-channel/feature.json +14 -0
- package/.automaker/features/error-tracking-integration/feature.json +14 -0
- package/.automaker/features/feature-flags/feature.json +12 -0
- package/.automaker/features/file-upload-handling/feature.json +14 -0
- package/.automaker/features/form-builder/feature.json +14 -0
- package/.automaker/features/full-text-search/feature.json +14 -0
- package/.automaker/features/graphql-api-support/feature.json +14 -0
- package/.automaker/features/graphql-documentation/feature.json +14 -0
- package/.automaker/features/graphql-subscriptions/feature.json +15 -0
- package/.automaker/features/html-view-rendering/feature.json +14 -0
- package/.automaker/features/http2-support/feature.json +14 -0
- package/.automaker/features/http3-quic-support/feature.json +14 -0
- package/.automaker/features/image-processing/feature.json +14 -0
- package/.automaker/features/internationalization-i18n/feature.json +12 -0
- package/.automaker/features/job-retries-and-failures/feature.json +14 -0
- package/.automaker/features/job-scheduling/feature.json +14 -0
- package/.automaker/features/locale-detection/feature.json +14 -0
- package/.automaker/features/log-rotation/feature.json +14 -0
- package/.automaker/features/logging-system/feature.json +12 -0
- package/.automaker/features/oauth-authentication/feature.json +14 -0
- package/.automaker/features/pagination-component/feature.json +14 -0
- package/.automaker/features/password-reset-flow/feature.json +14 -0
- package/.automaker/features/performance-monitoring/feature.json +14 -0
- package/.automaker/features/permission-management/feature.json +14 -0
- package/.automaker/features/policy-based-authorization/feature.json +14 -0
- package/.automaker/features/polymorphic-relationships/feature.json +14 -0
- package/.automaker/features/query-scopes/feature.json +14 -0
- package/.automaker/features/rate-limiting/feature.json +14 -0
- package/.automaker/features/request-validation-middleware/feature.json +14 -0
- package/.automaker/features/response-caching-headers/feature.json +14 -0
- package/.automaker/features/rest-api-documentation/feature.json +14 -0
- package/.automaker/features/role-based-access-control/feature.json +14 -0
- package/.automaker/features/session-management/feature.json +14 -0
- package/.automaker/features/session-middleware/feature.json +14 -0
- package/.automaker/features/slack-notifications-channel/feature.json +14 -0
- package/.automaker/features/sms-notifications-channel/feature.json +14 -0
- package/.automaker/features/soft-deletes/feature.json +14 -0
- package/.automaker/features/structured-logging/feature.json +14 -0
- package/.automaker/features/timestamps-and-auditing/feature.json +14 -0
- package/.automaker/features/two-factor-authentication/feature.json +14 -0
- package/.automaker/features/view-helpers-utilities/feature.json +14 -0
- package/.automaker/features/webhook-notifications/feature.json +14 -0
- package/.claude/settings.local.json +10 -0
- package/.editorconfig +11 -0
- package/.mocharc.json +13 -0
- package/CONTRIBUTING.md +9 -0
- package/Cache/Cache.ts +13 -0
- package/Cache/Stores/DatabaseStore.ts +120 -0
- package/Cache/Stores/FileStore.ts +69 -0
- package/Cache/Stores/MemoryStore.ts +71 -0
- package/Cache/index.ts +5 -0
- package/Cache/types.ts +4 -0
- package/Container/ClassResolver.ts +106 -0
- package/Container/Container.ts +144 -0
- package/Container/Contracts.ts +3 -0
- package/Container/Decorators.ts +20 -0
- package/Container/Metadata.ts +16 -0
- package/Container/Resolver.ts +27 -0
- package/Container/index.ts +5 -0
- package/Database/Clauses/Where.ts +0 -0
- package/Database/Connection.ts +52 -0
- package/Database/Decorators.ts +142 -0
- package/Database/Drivers/DatabaseDriver.ts +37 -0
- package/Database/Drivers/MySQL/Alter/index.ts +55 -0
- package/Database/Drivers/MySQL/ColumnDefinition.ts +16 -0
- package/Database/Drivers/MySQL/Create.ts +47 -0
- package/Database/Drivers/MySQL/MysqlDriver.ts +123 -0
- package/Database/Drivers/MySQL/Schema.ts +82 -0
- package/Database/Drivers/MySQL/index.ts +13 -0
- package/Database/Drivers/SQL/Schema.ts +73 -0
- package/Database/Drivers/SQL/Statements/Alter.ts +22 -0
- package/Database/Drivers/SQL/Statements/BaseStatement.ts +55 -0
- package/Database/Drivers/SQL/Statements/Delete.ts +20 -0
- package/Database/Drivers/SQL/Statements/Insert.ts +24 -0
- package/Database/Drivers/SQL/Statements/Select.ts +55 -0
- package/Database/Drivers/SQL/Statements/Update.ts +33 -0
- package/Database/Drivers/SQL/index.ts +8 -0
- package/Database/Drivers/SQLite/Create.ts +45 -0
- package/Database/Drivers/SQLite/Schema.ts +54 -0
- package/Database/Drivers/SQLite/SqliteDriver.ts +144 -0
- package/Database/Drivers/SQLite/index.ts +15 -0
- package/Database/Drivers/SchemaContract.ts +11 -0
- package/Database/Drivers/Statement.ts +16 -0
- package/Database/Drivers/index.ts +4 -0
- package/Database/Entity.ts +377 -0
- package/Database/EntityNotFoundError.ts +5 -0
- package/Database/EntityProxyHandler.ts +43 -0
- package/Database/EntityQuery.ts +197 -0
- package/Database/Expression.ts +3 -0
- package/Database/Fields.ts +816 -0
- package/Database/Helpers.ts +12 -0
- package/Database/List.ts +71 -0
- package/Database/Migrations/Migration.ts +10 -0
- package/Database/Migrations/MigrationHistory.ts +20 -0
- package/Database/Migrations/Migrator.ts +122 -0
- package/Database/Migrations/index.ts +3 -0
- package/Database/ORM/BaseRelationship.ts +10 -0
- package/Database/Query.ts +374 -0
- package/Database/Seeders/Seeder.ts +3 -0
- package/Database/Seeders/SeederManager.ts +27 -0
- package/Database/Seeders/index.ts +2 -0
- package/Database/StringExpression.ts +9 -0
- package/Database/Types.ts +165 -0
- package/Database/index.ts +23 -0
- package/Encryption/index.ts +51 -0
- package/Forms/Decorators.ts +29 -0
- package/Forms/Form.ts +70 -0
- package/Forms/FormFields.ts +36 -0
- package/Forms/index.ts +3 -0
- package/Framework/App.ts +10 -0
- package/Framework/Application.ts +118 -0
- package/Framework/Auth/Auth.ts +122 -0
- package/Framework/Auth/Authenticatable.ts +9 -0
- package/Framework/Auth/User.ts +27 -0
- package/Framework/Auth/index.ts +29 -0
- package/Framework/Config/AppConfig.ts +25 -0
- package/Framework/Config/AuthConfig.ts +11 -0
- package/Framework/Config/BaseConfig.ts +9 -0
- package/Framework/Config/CacheConfig.ts +38 -0
- package/Framework/Config/DatabaseConfig.ts +21 -0
- package/Framework/Config/MailConfig.ts +30 -0
- package/Framework/Config/index.ts +6 -0
- package/Framework/Middleware/AuthMiddleware.ts +31 -0
- package/Framework/Middleware/CorsMiddleware.ts +32 -0
- package/Framework/Middleware/StaticAssetsMiddleware.ts +76 -0
- package/Framework/Middleware/index.ts +2 -0
- package/Framework/Provider.ts +9 -0
- package/Framework/Providers/CacheProvider.ts +28 -0
- package/Framework/Providers/DatabaseProvider.ts +36 -0
- package/Framework/Providers/MailProvider.ts +31 -0
- package/Framework/Providers/WebsocketsProvider.ts +141 -0
- package/Framework/Resolvers/AuthResolver.ts +23 -0
- package/Framework/Resolvers/EntityResolver.ts +41 -0
- package/Framework/Resolvers/FormResolver.ts +37 -0
- package/Framework/RootDir.ts +1 -0
- package/Framework/index.ts +8 -0
- package/Frontend/Angular/Readme.md +7 -0
- package/Frontend/Angular/index.ts +24 -0
- package/Frontend/Angular/package-lock.json +2767 -0
- package/Frontend/Angular/package.json +38 -0
- package/Frontend/Angular/tsconfig.json +20 -0
- package/Frontend/Websockets/Readme.md +86 -0
- package/Frontend/Websockets/index.ts +99 -0
- package/Frontend/Websockets/package-lock.json +4371 -0
- package/Frontend/Websockets/package.json +45 -0
- package/Frontend/Websockets/tsc-alias.config.json +7 -0
- package/Frontend/Websockets/tsconfig.json +20 -0
- package/Mail/MailAddress.ts +4 -0
- package/Mail/MailTransport.ts +6 -0
- package/Mail/Mailable.ts +16 -0
- package/Mail/Mailer.ts +27 -0
- package/Mail/PendingMail.ts +68 -0
- package/Mail/SentMessage.ts +20 -0
- package/Mail/Transports/MemoryTransport.ts +13 -0
- package/Mail/Transports/SendGridTransport.ts +95 -0
- package/Mail/index.ts +3 -0
- package/Models/Model.ts +41 -0
- package/Models/index.ts +54 -0
- package/Router/BaseController.ts +7 -0
- package/Router/Decorators.ts +224 -0
- package/Router/Guard.ts +10 -0
- package/Router/Http/Contracts.ts +4 -0
- package/Router/Http/ErrorHandler.ts +45 -0
- package/Router/Http/ErrorHandlerInterface.ts +6 -0
- package/Router/Http/Errors/HttpError.ts +15 -0
- package/Router/Http/Handler.ts +183 -0
- package/Router/Http/HttpRoute.ts +110 -0
- package/Router/Http/Middleware.ts +7 -0
- package/Router/Http/Request.ts +225 -0
- package/Router/Http/Response.ts +35 -0
- package/Router/Http/index.ts +85 -0
- package/Router/Metadata.ts +34 -0
- package/Router/Middleware.ts +16 -0
- package/Router/Request.ts +65 -0
- package/Router/Route.ts +16 -0
- package/Router/RouteNotFoundError.ts +5 -0
- package/Router/Router.ts +35 -0
- package/Router/Servers/index.ts +6 -0
- package/Router/Servers/node.ts +49 -0
- package/Router/Servers/uNetworking.ts +151 -0
- package/Router/Websockets/Handler.ts +82 -0
- package/Router/Websockets/Middleware.ts +7 -0
- package/Router/Websockets/Request.ts +3 -0
- package/Router/Websockets/WebsocketRoute.ts +61 -0
- package/Router/Websockets/index.ts +59 -0
- package/Router/Websockets/types.ts +24 -0
- package/Router/index.ts +6 -0
- package/Storage/File.ts +30 -0
- package/Storage/Image.ts +19 -0
- package/Storage/InvalidImage.ts +3 -0
- package/Storage/Storage.ts +98 -0
- package/Storage/index.ts +4 -0
- package/Storage/utils.ts +18 -0
- package/Support/Array.ts +184 -0
- package/Support/Math.ts +12 -0
- package/Support/Metadata.ts +31 -0
- package/Support/String.ts +38 -0
- package/Support/index.ts +19 -0
- package/Support/utils.ts +7 -0
- package/Testing/TestCase.ts +193 -0
- package/Validation/Rule.ts +9 -0
- package/Validation/RuleInterface.ts +10 -0
- package/Validation/Rules/Email.ts +20 -0
- package/Validation/Rules/FileExtension.ts +21 -0
- package/Validation/Rules/MaxLength.ts +17 -0
- package/Validation/Rules/MinLength.ts +18 -0
- package/Validation/Rules/Optional.ts +18 -0
- package/Validation/Rules/Required.ts +29 -0
- package/Validation/Validator.ts +7 -0
- package/Validation/index.ts +12 -0
- package/benchmark.ts +47 -0
- package/eslint.config.mjs +78 -0
- package/package.json +2 -6
- package/tests/.nycrc.json +19 -0
- package/tests/Cache/DatabaseStoreTest.ts +110 -0
- package/tests/Cache/FileStoreTest.ts +93 -0
- package/tests/Cache/MemoryStoreTest.ts +92 -0
- package/tests/Container/ContainerTest.ts +336 -0
- package/tests/Database/Drivers/MySQL/AlterTest.ts +100 -0
- package/tests/Database/Drivers/MySQL/CreateTest.ts +39 -0
- package/tests/Database/Drivers/MysqlDriverTest.ts +140 -0
- package/tests/Database/Drivers/SqliteDriverTest.ts +126 -0
- package/tests/Database/Entities/Article.ts +21 -0
- package/tests/Database/Entities/Profile.ts +21 -0
- package/tests/Database/Entities/Role.ts +15 -0
- package/tests/Database/Entities/User.ts +35 -0
- package/tests/Database/EntityRelationshipsTest.ts +475 -0
- package/tests/Database/EntityTest.ts +202 -0
- package/tests/Database/Migrations/RunnerTest.ts +96 -0
- package/tests/Database/Migrations/migrations/1.createUserTable.ts +12 -0
- package/tests/Database/Migrations/migrations/2.createArticlesTable.ts +12 -0
- package/tests/Database/QueryTest.ts +573 -0
- package/tests/Database/SchemaTest.ts +32 -0
- package/tests/Database/Seeders/RunnerTest.ts +30 -0
- package/tests/Database/Seeders/seeders/RandomSeeder.ts +10 -0
- package/tests/Database/utils.ts +16 -0
- package/tests/Forms/FormsTest.ts +59 -0
- package/tests/Framework/Middleware/StaticAssetsMiddlewareTest.ts +129 -0
- package/tests/Framework/Middleware/articles/my-article.html +1 -0
- package/tests/Framework/Middleware/articles/some-directory/index.html +1 -0
- package/tests/Framework/Middleware/assets/styles.css +3 -0
- package/tests/Framework/Resolvers/EntityResolverTest.ts +48 -0
- package/tests/Framework/Router/RouterTest.ts +33 -0
- package/tests/Mail/MailerTest.ts +76 -0
- package/tests/Model/ModelTest.ts +183 -0
- package/tests/Router/HttpHandlerTest.ts +72 -0
- package/tests/Router/RequestTest.ts +77 -0
- package/tests/Router/WebSocketsHandlerTest.ts +51 -0
- package/tests/Storage/StorageTest.ts +97 -0
- package/tests/Support/ArrayTest.ts +167 -0
- package/tests/Support/StringTest.ts +18 -0
- package/tests/Validation/RulesTest.ts +54 -0
- package/tests/tsconfig.json +5 -0
- package/tsconfig.json +53 -0
- package/types.d.ts +8 -0
- package/build/Cache/Cache.d.ts +0 -9
- package/build/Cache/Cache.d.ts.map +0 -1
- package/build/Cache/Cache.js +0 -7
- package/build/Cache/Cache.js.map +0 -1
- package/build/Cache/Stores/DatabaseStore.d.ts +0 -16
- package/build/Cache/Stores/DatabaseStore.d.ts.map +0 -1
- package/build/Cache/Stores/DatabaseStore.js +0 -105
- package/build/Cache/Stores/DatabaseStore.js.map +0 -1
- package/build/Cache/Stores/FileStore.d.ts +0 -16
- package/build/Cache/Stores/FileStore.d.ts.map +0 -1
- package/build/Cache/Stores/FileStore.js +0 -65
- package/build/Cache/Stores/FileStore.js.map +0 -1
- package/build/Cache/Stores/MemoryStore.d.ts +0 -13
- package/build/Cache/Stores/MemoryStore.d.ts.map +0 -1
- package/build/Cache/Stores/MemoryStore.js +0 -57
- package/build/Cache/Stores/MemoryStore.js.map +0 -1
- package/build/Cache/index.d.ts +0 -6
- package/build/Cache/index.d.ts.map +0 -1
- package/build/Cache/index.js +0 -22
- package/build/Cache/index.js.map +0 -1
- package/build/Cache/types.d.ts +0 -5
- package/build/Cache/types.d.ts.map +0 -1
- package/build/Cache/types.js +0 -3
- package/build/Cache/types.js.map +0 -1
- package/build/Container/ClassResolver.d.ts +0 -9
- package/build/Container/ClassResolver.d.ts.map +0 -1
- package/build/Container/ClassResolver.js +0 -93
- package/build/Container/ClassResolver.js.map +0 -1
- package/build/Container/Container.d.ts +0 -25
- package/build/Container/Container.d.ts.map +0 -1
- package/build/Container/Container.js +0 -123
- package/build/Container/Container.js.map +0 -1
- package/build/Container/Contracts.d.ts +0 -3
- package/build/Container/Contracts.d.ts.map +0 -1
- package/build/Container/Contracts.js +0 -3
- package/build/Container/Contracts.js.map +0 -1
- package/build/Container/Decorators.d.ts +0 -5
- package/build/Container/Decorators.d.ts.map +0 -1
- package/build/Container/Decorators.js +0 -21
- package/build/Container/Decorators.js.map +0 -1
- package/build/Container/Metadata.d.ts +0 -21
- package/build/Container/Metadata.d.ts.map +0 -1
- package/build/Container/Metadata.js +0 -17
- package/build/Container/Metadata.js.map +0 -1
- package/build/Container/Resolver.d.ts +0 -19
- package/build/Container/Resolver.d.ts.map +0 -1
- package/build/Container/Resolver.js +0 -17
- package/build/Container/Resolver.js.map +0 -1
- package/build/Container/index.d.ts +0 -6
- package/build/Container/index.d.ts.map +0 -1
- package/build/Container/index.js +0 -22
- package/build/Container/index.js.map +0 -1
- package/build/Database/Clauses/Where.d.ts +0 -1
- package/build/Database/Clauses/Where.d.ts.map +0 -1
- package/build/Database/Clauses/Where.js +0 -2
- package/build/Database/Clauses/Where.js.map +0 -1
- package/build/Database/Connection.d.ts +0 -21
- package/build/Database/Connection.d.ts.map +0 -1
- package/build/Database/Connection.js +0 -44
- package/build/Database/Connection.js.map +0 -1
- package/build/Database/Decorators.d.ts +0 -36
- package/build/Database/Decorators.d.ts.map +0 -1
- package/build/Database/Decorators.js +0 -116
- package/build/Database/Decorators.js.map +0 -1
- package/build/Database/Drivers/DatabaseDriver.d.ts +0 -29
- package/build/Database/Drivers/DatabaseDriver.d.ts.map +0 -1
- package/build/Database/Drivers/DatabaseDriver.js +0 -7
- package/build/Database/Drivers/DatabaseDriver.js.map +0 -1
- package/build/Database/Drivers/MySQL/Alter/index.d.ts +0 -34
- package/build/Database/Drivers/MySQL/Alter/index.d.ts.map +0 -1
- package/build/Database/Drivers/MySQL/Alter/index.js +0 -70
- package/build/Database/Drivers/MySQL/Alter/index.js.map +0 -1
- package/build/Database/Drivers/MySQL/ColumnDefinition.d.ts +0 -7
- package/build/Database/Drivers/MySQL/ColumnDefinition.d.ts.map +0 -1
- package/build/Database/Drivers/MySQL/ColumnDefinition.js +0 -19
- package/build/Database/Drivers/MySQL/ColumnDefinition.js.map +0 -1
- package/build/Database/Drivers/MySQL/Create.d.ts +0 -10
- package/build/Database/Drivers/MySQL/Create.d.ts.map +0 -1
- package/build/Database/Drivers/MySQL/Create.js +0 -44
- package/build/Database/Drivers/MySQL/Create.js.map +0 -1
- package/build/Database/Drivers/MySQL/MysqlDriver.d.ts +0 -42
- package/build/Database/Drivers/MySQL/MysqlDriver.d.ts.map +0 -1
- package/build/Database/Drivers/MySQL/MysqlDriver.js +0 -93
- package/build/Database/Drivers/MySQL/MysqlDriver.js.map +0 -1
- package/build/Database/Drivers/MySQL/Schema.d.ts +0 -16
- package/build/Database/Drivers/MySQL/Schema.d.ts.map +0 -1
- package/build/Database/Drivers/MySQL/Schema.js +0 -67
- package/build/Database/Drivers/MySQL/Schema.js.map +0 -1
- package/build/Database/Drivers/MySQL/index.d.ts +0 -2
- package/build/Database/Drivers/MySQL/index.d.ts.map +0 -1
- package/build/Database/Drivers/MySQL/index.js +0 -16
- package/build/Database/Drivers/MySQL/index.js.map +0 -1
- package/build/Database/Drivers/SQL/Schema.d.ts +0 -7
- package/build/Database/Drivers/SQL/Schema.d.ts.map +0 -1
- package/build/Database/Drivers/SQL/Schema.js +0 -58
- package/build/Database/Drivers/SQL/Schema.js.map +0 -1
- package/build/Database/Drivers/SQL/Statements/Alter.d.ts +0 -8
- package/build/Database/Drivers/SQL/Statements/Alter.d.ts.map +0 -1
- package/build/Database/Drivers/SQL/Statements/Alter.js +0 -22
- package/build/Database/Drivers/SQL/Statements/Alter.js.map +0 -1
- package/build/Database/Drivers/SQL/Statements/BaseStatement.d.ts +0 -13
- package/build/Database/Drivers/SQL/Statements/BaseStatement.d.ts.map +0 -1
- package/build/Database/Drivers/SQL/Statements/BaseStatement.js +0 -46
- package/build/Database/Drivers/SQL/Statements/BaseStatement.js.map +0 -1
- package/build/Database/Drivers/SQL/Statements/Delete.d.ts +0 -6
- package/build/Database/Drivers/SQL/Statements/Delete.d.ts.map +0 -1
- package/build/Database/Drivers/SQL/Statements/Delete.js +0 -20
- package/build/Database/Drivers/SQL/Statements/Delete.js.map +0 -1
- package/build/Database/Drivers/SQL/Statements/Insert.d.ts +0 -7
- package/build/Database/Drivers/SQL/Statements/Insert.d.ts.map +0 -1
- package/build/Database/Drivers/SQL/Statements/Insert.js +0 -24
- package/build/Database/Drivers/SQL/Statements/Insert.js.map +0 -1
- package/build/Database/Drivers/SQL/Statements/Select.d.ts +0 -8
- package/build/Database/Drivers/SQL/Statements/Select.d.ts.map +0 -1
- package/build/Database/Drivers/SQL/Statements/Select.js +0 -51
- package/build/Database/Drivers/SQL/Statements/Select.js.map +0 -1
- package/build/Database/Drivers/SQL/Statements/Update.d.ts +0 -7
- package/build/Database/Drivers/SQL/Statements/Update.d.ts.map +0 -1
- package/build/Database/Drivers/SQL/Statements/Update.js +0 -33
- package/build/Database/Drivers/SQL/Statements/Update.js.map +0 -1
- package/build/Database/Drivers/SQL/index.d.ts +0 -9
- package/build/Database/Drivers/SQL/index.d.ts.map +0 -1
- package/build/Database/Drivers/SQL/index.js +0 -3
- package/build/Database/Drivers/SQL/index.js.map +0 -1
- package/build/Database/Drivers/SQLite/Create.d.ts +0 -10
- package/build/Database/Drivers/SQLite/Create.d.ts.map +0 -1
- package/build/Database/Drivers/SQLite/Create.js +0 -43
- package/build/Database/Drivers/SQLite/Create.js.map +0 -1
- package/build/Database/Drivers/SQLite/Schema.d.ts +0 -16
- package/build/Database/Drivers/SQLite/Schema.d.ts.map +0 -1
- package/build/Database/Drivers/SQLite/Schema.js +0 -49
- package/build/Database/Drivers/SQLite/Schema.js.map +0 -1
- package/build/Database/Drivers/SQLite/SqliteDriver.d.ts +0 -43
- package/build/Database/Drivers/SQLite/SqliteDriver.d.ts.map +0 -1
- package/build/Database/Drivers/SQLite/SqliteDriver.js +0 -115
- package/build/Database/Drivers/SQLite/SqliteDriver.js.map +0 -1
- package/build/Database/Drivers/SQLite/index.d.ts +0 -3
- package/build/Database/Drivers/SQLite/index.d.ts.map +0 -1
- package/build/Database/Drivers/SQLite/index.js +0 -31
- package/build/Database/Drivers/SQLite/index.js.map +0 -1
- package/build/Database/Drivers/SchemaContract.d.ts +0 -9
- package/build/Database/Drivers/SchemaContract.d.ts.map +0 -1
- package/build/Database/Drivers/SchemaContract.js +0 -11
- package/build/Database/Drivers/SchemaContract.js.map +0 -1
- package/build/Database/Drivers/Statement.d.ts +0 -10
- package/build/Database/Drivers/Statement.d.ts.map +0 -1
- package/build/Database/Drivers/Statement.js +0 -17
- package/build/Database/Drivers/Statement.js.map +0 -1
- package/build/Database/Drivers/index.d.ts +0 -5
- package/build/Database/Drivers/index.d.ts.map +0 -1
- package/build/Database/Drivers/index.js +0 -21
- package/build/Database/Drivers/index.js.map +0 -1
- package/build/Database/Entity.d.ts +0 -64
- package/build/Database/Entity.d.ts.map +0 -1
- package/build/Database/Entity.js +0 -243
- package/build/Database/Entity.js.map +0 -1
- package/build/Database/EntityNotFoundError.d.ts +0 -6
- package/build/Database/EntityNotFoundError.d.ts.map +0 -1
- package/build/Database/EntityNotFoundError.js +0 -12
- package/build/Database/EntityNotFoundError.js.map +0 -1
- package/build/Database/EntityProxyHandler.d.ts +0 -6
- package/build/Database/EntityProxyHandler.d.ts.map +0 -1
- package/build/Database/EntityProxyHandler.js +0 -40
- package/build/Database/EntityProxyHandler.js.map +0 -1
- package/build/Database/EntityQuery.d.ts +0 -29
- package/build/Database/EntityQuery.d.ts.map +0 -1
- package/build/Database/EntityQuery.js +0 -158
- package/build/Database/EntityQuery.js.map +0 -1
- package/build/Database/Expression.d.ts +0 -4
- package/build/Database/Expression.d.ts.map +0 -1
- package/build/Database/Expression.js +0 -7
- package/build/Database/Expression.js.map +0 -1
- package/build/Database/Fields.d.ts +0 -156
- package/build/Database/Fields.d.ts.map +0 -1
- package/build/Database/Fields.js +0 -564
- package/build/Database/Fields.js.map +0 -1
- package/build/Database/Helpers.d.ts +0 -2
- package/build/Database/Helpers.d.ts.map +0 -1
- package/build/Database/Helpers.js +0 -16
- package/build/Database/Helpers.js.map +0 -1
- package/build/Database/List.d.ts +0 -24
- package/build/Database/List.d.ts.map +0 -1
- package/build/Database/List.js +0 -48
- package/build/Database/List.js.map +0 -1
- package/build/Database/Migrations/Migration.d.ts +0 -8
- package/build/Database/Migrations/Migration.d.ts.map +0 -1
- package/build/Database/Migrations/Migration.js +0 -11
- package/build/Database/Migrations/Migration.js.map +0 -1
- package/build/Database/Migrations/MigrationHistory.d.ts +0 -9
- package/build/Database/Migrations/MigrationHistory.d.ts.map +0 -1
- package/build/Database/Migrations/MigrationHistory.js +0 -43
- package/build/Database/Migrations/MigrationHistory.js.map +0 -1
- package/build/Database/Migrations/Migrator.d.ts +0 -21
- package/build/Database/Migrations/Migrator.d.ts.map +0 -1
- package/build/Database/Migrations/Migrator.js +0 -135
- package/build/Database/Migrations/Migrator.js.map +0 -1
- package/build/Database/Migrations/index.d.ts +0 -4
- package/build/Database/Migrations/index.d.ts.map +0 -1
- package/build/Database/Migrations/index.js +0 -20
- package/build/Database/Migrations/index.js.map +0 -1
- package/build/Database/ORM/BaseRelationship.d.ts +0 -8
- package/build/Database/ORM/BaseRelationship.d.ts.map +0 -1
- package/build/Database/ORM/BaseRelationship.js +0 -13
- package/build/Database/ORM/BaseRelationship.js.map +0 -1
- package/build/Database/Query.d.ts +0 -63
- package/build/Database/Query.d.ts.map +0 -1
- package/build/Database/Query.js +0 -264
- package/build/Database/Query.js.map +0 -1
- package/build/Database/Seeders/Seeder.d.ts +0 -4
- package/build/Database/Seeders/Seeder.d.ts.map +0 -1
- package/build/Database/Seeders/Seeder.js +0 -7
- package/build/Database/Seeders/Seeder.js.map +0 -1
- package/build/Database/Seeders/SeederManager.d.ts +0 -9
- package/build/Database/Seeders/SeederManager.d.ts.map +0 -1
- package/build/Database/Seeders/SeederManager.js +0 -27
- package/build/Database/Seeders/SeederManager.js.map +0 -1
- package/build/Database/Seeders/index.d.ts +0 -3
- package/build/Database/Seeders/index.d.ts.map +0 -1
- package/build/Database/Seeders/index.js +0 -19
- package/build/Database/Seeders/index.js.map +0 -1
- package/build/Database/StringExpression.d.ts +0 -7
- package/build/Database/StringExpression.d.ts.map +0 -1
- package/build/Database/StringExpression.js +0 -16
- package/build/Database/StringExpression.js.map +0 -1
- package/build/Database/Types.d.ts +0 -118
- package/build/Database/Types.d.ts.map +0 -1
- package/build/Database/Types.js +0 -106
- package/build/Database/Types.js.map +0 -1
- package/build/Database/index.d.ts +0 -21
- package/build/Database/index.d.ts.map +0 -1
- package/build/Database/index.js +0 -25
- package/build/Database/index.js.map +0 -1
- package/build/Encryption/index.d.ts +0 -15
- package/build/Encryption/index.d.ts.map +0 -1
- package/build/Encryption/index.js +0 -68
- package/build/Encryption/index.js.map +0 -1
- package/build/Forms/Decorators.d.ts +0 -7
- package/build/Forms/Decorators.d.ts.map +0 -1
- package/build/Forms/Decorators.js +0 -29
- package/build/Forms/Decorators.js.map +0 -1
- package/build/Forms/Form.d.ts +0 -18
- package/build/Forms/Form.d.ts.map +0 -1
- package/build/Forms/Form.js +0 -68
- package/build/Forms/Form.js.map +0 -1
- package/build/Forms/FormFields.d.ts +0 -10
- package/build/Forms/FormFields.d.ts.map +0 -1
- package/build/Forms/FormFields.js +0 -39
- package/build/Forms/FormFields.js.map +0 -1
- package/build/Forms/index.d.ts +0 -4
- package/build/Forms/index.d.ts.map +0 -1
- package/build/Forms/index.js +0 -20
- package/build/Forms/index.js.map +0 -1
- package/build/Framework/App.d.ts +0 -7
- package/build/Framework/App.d.ts.map +0 -1
- package/build/Framework/App.js +0 -11
- package/build/Framework/App.js.map +0 -1
- package/build/Framework/Application.d.ts +0 -17
- package/build/Framework/Application.d.ts.map +0 -1
- package/build/Framework/Application.js +0 -94
- package/build/Framework/Application.js.map +0 -1
- package/build/Framework/Auth/Auth.d.ts +0 -24
- package/build/Framework/Auth/Auth.d.ts.map +0 -1
- package/build/Framework/Auth/Auth.js +0 -116
- package/build/Framework/Auth/Auth.js.map +0 -1
- package/build/Framework/Auth/Authenticatable.d.ts +0 -7
- package/build/Framework/Auth/Authenticatable.d.ts.map +0 -1
- package/build/Framework/Auth/Authenticatable.js +0 -3
- package/build/Framework/Auth/Authenticatable.js.map +0 -1
- package/build/Framework/Auth/User.d.ts +0 -11
- package/build/Framework/Auth/User.d.ts.map +0 -1
- package/build/Framework/Auth/User.js +0 -41
- package/build/Framework/Auth/User.js.map +0 -1
- package/build/Framework/Auth/index.d.ts +0 -6
- package/build/Framework/Auth/index.d.ts.map +0 -1
- package/build/Framework/Auth/index.js +0 -44
- package/build/Framework/Auth/index.js.map +0 -1
- package/build/Framework/Config/AppConfig.d.ts +0 -26
- package/build/Framework/Config/AppConfig.d.ts.map +0 -1
- package/build/Framework/Config/AppConfig.js +0 -20
- package/build/Framework/Config/AppConfig.js.map +0 -1
- package/build/Framework/Config/AuthConfig.d.ts +0 -11
- package/build/Framework/Config/AuthConfig.d.ts.map +0 -1
- package/build/Framework/Config/AuthConfig.js +0 -13
- package/build/Framework/Config/AuthConfig.js.map +0 -1
- package/build/Framework/Config/BaseConfig.d.ts +0 -7
- package/build/Framework/Config/BaseConfig.d.ts.map +0 -1
- package/build/Framework/Config/BaseConfig.js +0 -14
- package/build/Framework/Config/BaseConfig.js.map +0 -1
- package/build/Framework/Config/CacheConfig.d.ts +0 -16
- package/build/Framework/Config/CacheConfig.d.ts.map +0 -1
- package/build/Framework/Config/CacheConfig.js +0 -37
- package/build/Framework/Config/CacheConfig.js.map +0 -1
- package/build/Framework/Config/DatabaseConfig.d.ts +0 -11
- package/build/Framework/Config/DatabaseConfig.d.ts.map +0 -1
- package/build/Framework/Config/DatabaseConfig.js +0 -23
- package/build/Framework/Config/DatabaseConfig.js.map +0 -1
- package/build/Framework/Config/MailConfig.d.ts +0 -19
- package/build/Framework/Config/MailConfig.d.ts.map +0 -1
- package/build/Framework/Config/MailConfig.js +0 -11
- package/build/Framework/Config/MailConfig.js.map +0 -1
- package/build/Framework/Config/index.d.ts +0 -7
- package/build/Framework/Config/index.d.ts.map +0 -1
- package/build/Framework/Config/index.js +0 -23
- package/build/Framework/Config/index.js.map +0 -1
- package/build/Framework/Middleware/AuthMiddleware.d.ts +0 -9
- package/build/Framework/Middleware/AuthMiddleware.d.ts.map +0 -1
- package/build/Framework/Middleware/AuthMiddleware.js +0 -78
- package/build/Framework/Middleware/AuthMiddleware.js.map +0 -1
- package/build/Framework/Middleware/CorsMiddleware.d.ts +0 -8
- package/build/Framework/Middleware/CorsMiddleware.d.ts.map +0 -1
- package/build/Framework/Middleware/CorsMiddleware.js +0 -47
- package/build/Framework/Middleware/CorsMiddleware.js.map +0 -1
- package/build/Framework/Middleware/StaticAssetsMiddleware.d.ts +0 -16
- package/build/Framework/Middleware/StaticAssetsMiddleware.d.ts.map +0 -1
- package/build/Framework/Middleware/StaticAssetsMiddleware.js +0 -120
- package/build/Framework/Middleware/StaticAssetsMiddleware.js.map +0 -1
- package/build/Framework/Middleware/index.d.ts +0 -3
- package/build/Framework/Middleware/index.d.ts.map +0 -1
- package/build/Framework/Middleware/index.js +0 -19
- package/build/Framework/Middleware/index.js.map +0 -1
- package/build/Framework/Provider.d.ts +0 -6
- package/build/Framework/Provider.d.ts.map +0 -1
- package/build/Framework/Provider.js +0 -22
- package/build/Framework/Provider.js.map +0 -1
- package/build/Framework/Providers/CacheProvider.d.ts +0 -7
- package/build/Framework/Providers/CacheProvider.d.ts.map +0 -1
- package/build/Framework/Providers/CacheProvider.js +0 -40
- package/build/Framework/Providers/CacheProvider.js.map +0 -1
- package/build/Framework/Providers/DatabaseProvider.d.ts +0 -10
- package/build/Framework/Providers/DatabaseProvider.d.ts.map +0 -1
- package/build/Framework/Providers/DatabaseProvider.js +0 -80
- package/build/Framework/Providers/DatabaseProvider.js.map +0 -1
- package/build/Framework/Providers/MailProvider.d.ts +0 -7
- package/build/Framework/Providers/MailProvider.d.ts.map +0 -1
- package/build/Framework/Providers/MailProvider.js +0 -41
- package/build/Framework/Providers/MailProvider.js.map +0 -1
- package/build/Framework/Providers/WebsocketsProvider.d.ts +0 -13
- package/build/Framework/Providers/WebsocketsProvider.d.ts.map +0 -1
- package/build/Framework/Providers/WebsocketsProvider.js +0 -145
- package/build/Framework/Providers/WebsocketsProvider.js.map +0 -1
- package/build/Framework/Resolvers/AuthResolver.d.ts +0 -6
- package/build/Framework/Resolvers/AuthResolver.d.ts.map +0 -1
- package/build/Framework/Resolvers/AuthResolver.js +0 -19
- package/build/Framework/Resolvers/AuthResolver.js.map +0 -1
- package/build/Framework/Resolvers/EntityResolver.d.ts +0 -10
- package/build/Framework/Resolvers/EntityResolver.d.ts.map +0 -1
- package/build/Framework/Resolvers/EntityResolver.js +0 -40
- package/build/Framework/Resolvers/EntityResolver.js.map +0 -1
- package/build/Framework/Resolvers/FormResolver.d.ts +0 -10
- package/build/Framework/Resolvers/FormResolver.d.ts.map +0 -1
- package/build/Framework/Resolvers/FormResolver.js +0 -34
- package/build/Framework/Resolvers/FormResolver.js.map +0 -1
- package/build/Framework/RootDir.d.ts +0 -3
- package/build/Framework/RootDir.d.ts.map +0 -1
- package/build/Framework/RootDir.js +0 -7
- package/build/Framework/RootDir.js.map +0 -1
- package/build/Framework/index.d.ts +0 -9
- package/build/Framework/index.d.ts.map +0 -1
- package/build/Framework/index.js +0 -25
- package/build/Framework/index.js.map +0 -1
- package/build/LICENSE.md +0 -21
- package/build/Mail/MailAddress.d.ts +0 -5
- package/build/Mail/MailAddress.d.ts.map +0 -1
- package/build/Mail/MailAddress.js +0 -3
- package/build/Mail/MailAddress.js.map +0 -1
- package/build/Mail/MailTransport.d.ts +0 -6
- package/build/Mail/MailTransport.d.ts.map +0 -1
- package/build/Mail/MailTransport.js +0 -7
- package/build/Mail/MailTransport.js.map +0 -1
- package/build/Mail/Mailable.d.ts +0 -18
- package/build/Mail/Mailable.d.ts.map +0 -1
- package/build/Mail/Mailable.js +0 -17
- package/build/Mail/Mailable.js.map +0 -1
- package/build/Mail/Mailer.d.ts +0 -12
- package/build/Mail/Mailer.d.ts.map +0 -1
- package/build/Mail/Mailer.js +0 -27
- package/build/Mail/Mailer.js.map +0 -1
- package/build/Mail/PendingMail.d.ts +0 -30
- package/build/Mail/PendingMail.d.ts.map +0 -1
- package/build/Mail/PendingMail.js +0 -54
- package/build/Mail/PendingMail.js.map +0 -1
- package/build/Mail/SentMessage.d.ts +0 -16
- package/build/Mail/SentMessage.d.ts.map +0 -1
- package/build/Mail/SentMessage.js +0 -20
- package/build/Mail/SentMessage.js.map +0 -1
- package/build/Mail/Transports/MemoryTransport.d.ts +0 -8
- package/build/Mail/Transports/MemoryTransport.d.ts.map +0 -1
- package/build/Mail/Transports/MemoryTransport.js +0 -15
- package/build/Mail/Transports/MemoryTransport.js.map +0 -1
- package/build/Mail/Transports/SendGridTransport.d.ts +0 -11
- package/build/Mail/Transports/SendGridTransport.d.ts.map +0 -1
- package/build/Mail/Transports/SendGridTransport.js +0 -106
- package/build/Mail/Transports/SendGridTransport.js.map +0 -1
- package/build/Mail/index.d.ts +0 -4
- package/build/Mail/index.d.ts.map +0 -1
- package/build/Mail/index.js +0 -20
- package/build/Mail/index.js.map +0 -1
- package/build/Models/Model.d.ts +0 -10
- package/build/Models/Model.d.ts.map +0 -1
- package/build/Models/Model.js +0 -36
- package/build/Models/Model.js.map +0 -1
- package/build/Models/index.d.ts +0 -22
- package/build/Models/index.d.ts.map +0 -1
- package/build/Models/index.js +0 -64
- package/build/Models/index.js.map +0 -1
- package/build/Readme.md +0 -123
- package/build/Router/BaseController.d.ts +0 -5
- package/build/Router/BaseController.d.ts.map +0 -1
- package/build/Router/BaseController.js +0 -22
- package/build/Router/BaseController.js.map +0 -1
- package/build/Router/Decorators.d.ts +0 -19
- package/build/Router/Decorators.d.ts.map +0 -1
- package/build/Router/Decorators.js +0 -175
- package/build/Router/Decorators.js.map +0 -1
- package/build/Router/Guard.d.ts +0 -5
- package/build/Router/Guard.d.ts.map +0 -1
- package/build/Router/Guard.js +0 -11
- package/build/Router/Guard.js.map +0 -1
- package/build/Router/Http/Contracts.d.ts +0 -4
- package/build/Router/Http/Contracts.d.ts.map +0 -1
- package/build/Router/Http/Contracts.js +0 -3
- package/build/Router/Http/Contracts.js.map +0 -1
- package/build/Router/Http/ErrorHandler.d.ts +0 -10
- package/build/Router/Http/ErrorHandler.d.ts.map +0 -1
- package/build/Router/Http/ErrorHandler.js +0 -53
- package/build/Router/Http/ErrorHandler.js.map +0 -1
- package/build/Router/Http/ErrorHandlerInterface.d.ts +0 -6
- package/build/Router/Http/ErrorHandlerInterface.d.ts.map +0 -1
- package/build/Router/Http/ErrorHandlerInterface.js +0 -8
- package/build/Router/Http/ErrorHandlerInterface.js.map +0 -1
- package/build/Router/Http/Errors/HttpError.d.ts +0 -8
- package/build/Router/Http/Errors/HttpError.d.ts.map +0 -1
- package/build/Router/Http/Errors/HttpError.js +0 -18
- package/build/Router/Http/Errors/HttpError.js.map +0 -1
- package/build/Router/Http/Handler.d.ts +0 -19
- package/build/Router/Http/Handler.d.ts.map +0 -1
- package/build/Router/Http/Handler.js +0 -163
- package/build/Router/Http/Handler.js.map +0 -1
- package/build/Router/Http/HttpRoute.d.ts +0 -25
- package/build/Router/Http/HttpRoute.d.ts.map +0 -1
- package/build/Router/Http/HttpRoute.js +0 -97
- package/build/Router/Http/HttpRoute.js.map +0 -1
- package/build/Router/Http/Middleware.d.ts +0 -7
- package/build/Router/Http/Middleware.d.ts.map +0 -1
- package/build/Router/Http/Middleware.js +0 -8
- package/build/Router/Http/Middleware.js.map +0 -1
- package/build/Router/Http/Request.d.ts +0 -38
- package/build/Router/Http/Request.d.ts.map +0 -1
- package/build/Router/Http/Request.js +0 -211
- package/build/Router/Http/Request.js.map +0 -1
- package/build/Router/Http/Response.d.ts +0 -14
- package/build/Router/Http/Response.d.ts.map +0 -1
- package/build/Router/Http/Response.js +0 -31
- package/build/Router/Http/Response.js.map +0 -1
- package/build/Router/Http/index.d.ts +0 -84
- package/build/Router/Http/index.d.ts.map +0 -1
- package/build/Router/Http/index.js +0 -104
- package/build/Router/Http/index.js.map +0 -1
- package/build/Router/Metadata.d.ts +0 -41
- package/build/Router/Metadata.d.ts.map +0 -1
- package/build/Router/Metadata.js +0 -33
- package/build/Router/Metadata.js.map +0 -1
- package/build/Router/Middleware.d.ts +0 -13
- package/build/Router/Middleware.d.ts.map +0 -1
- package/build/Router/Middleware.js +0 -7
- package/build/Router/Middleware.js.map +0 -1
- package/build/Router/Request.d.ts +0 -24
- package/build/Router/Request.d.ts.map +0 -1
- package/build/Router/Request.js +0 -44
- package/build/Router/Request.js.map +0 -1
- package/build/Router/Route.d.ts +0 -13
- package/build/Router/Route.d.ts.map +0 -1
- package/build/Router/Route.js +0 -20
- package/build/Router/Route.js.map +0 -1
- package/build/Router/RouteNotFoundError.d.ts +0 -4
- package/build/Router/RouteNotFoundError.d.ts.map +0 -1
- package/build/Router/RouteNotFoundError.js +0 -10
- package/build/Router/RouteNotFoundError.js.map +0 -1
- package/build/Router/Router.d.ts +0 -19
- package/build/Router/Router.d.ts.map +0 -1
- package/build/Router/Router.js +0 -36
- package/build/Router/Router.js.map +0 -1
- package/build/Router/Servers/index.d.ts +0 -5
- package/build/Router/Servers/index.d.ts.map +0 -1
- package/build/Router/Servers/index.js +0 -19
- package/build/Router/Servers/index.js.map +0 -1
- package/build/Router/Servers/node.d.ts +0 -3
- package/build/Router/Servers/node.d.ts.map +0 -1
- package/build/Router/Servers/node.js +0 -41
- package/build/Router/Servers/node.js.map +0 -1
- package/build/Router/Servers/uNetworking.d.ts +0 -3
- package/build/Router/Servers/uNetworking.d.ts.map +0 -1
- package/build/Router/Servers/uNetworking.js +0 -172
- package/build/Router/Servers/uNetworking.js.map +0 -1
- package/build/Router/Websockets/Handler.d.ts +0 -15
- package/build/Router/Websockets/Handler.d.ts.map +0 -1
- package/build/Router/Websockets/Handler.js +0 -69
- package/build/Router/Websockets/Handler.js.map +0 -1
- package/build/Router/Websockets/Middleware.d.ts +0 -7
- package/build/Router/Websockets/Middleware.d.ts.map +0 -1
- package/build/Router/Websockets/Middleware.js +0 -8
- package/build/Router/Websockets/Middleware.js.map +0 -1
- package/build/Router/Websockets/Request.d.ts +0 -4
- package/build/Router/Websockets/Request.d.ts.map +0 -1
- package/build/Router/Websockets/Request.js +0 -8
- package/build/Router/Websockets/Request.js.map +0 -1
- package/build/Router/Websockets/WebsocketRoute.d.ts +0 -7
- package/build/Router/Websockets/WebsocketRoute.d.ts.map +0 -1
- package/build/Router/Websockets/WebsocketRoute.js +0 -47
- package/build/Router/Websockets/WebsocketRoute.js.map +0 -1
- package/build/Router/Websockets/index.d.ts +0 -19
- package/build/Router/Websockets/index.d.ts.map +0 -1
- package/build/Router/Websockets/index.js +0 -68
- package/build/Router/Websockets/index.js.map +0 -1
- package/build/Router/Websockets/types.d.ts +0 -22
- package/build/Router/Websockets/types.d.ts.map +0 -1
- package/build/Router/Websockets/types.js +0 -9
- package/build/Router/Websockets/types.js.map +0 -1
- package/build/Router/index.d.ts +0 -7
- package/build/Router/index.d.ts.map +0 -1
- package/build/Router/index.js +0 -23
- package/build/Router/index.js.map +0 -1
- package/build/Storage/File.d.ts +0 -12
- package/build/Storage/File.d.ts.map +0 -1
- package/build/Storage/File.js +0 -65
- package/build/Storage/File.js.map +0 -1
- package/build/Storage/Image.d.ts +0 -4
- package/build/Storage/Image.d.ts.map +0 -1
- package/build/Storage/Image.js +0 -8
- package/build/Storage/Image.js.map +0 -1
- package/build/Storage/InvalidImage.d.ts +0 -4
- package/build/Storage/InvalidImage.d.ts.map +0 -1
- package/build/Storage/InvalidImage.js +0 -8
- package/build/Storage/InvalidImage.js.map +0 -1
- package/build/Storage/Storage.d.ts +0 -13
- package/build/Storage/Storage.d.ts.map +0 -1
- package/build/Storage/Storage.js +0 -120
- package/build/Storage/Storage.js.map +0 -1
- package/build/Storage/index.d.ts +0 -5
- package/build/Storage/index.d.ts.map +0 -1
- package/build/Storage/index.js +0 -21
- package/build/Storage/index.js.map +0 -1
- package/build/Storage/utils.d.ts +0 -5
- package/build/Storage/utils.d.ts.map +0 -1
- package/build/Storage/utils.js +0 -20
- package/build/Storage/utils.js.map +0 -1
- package/build/Support/Array.d.ts +0 -29
- package/build/Support/Array.d.ts.map +0 -1
- package/build/Support/Array.js +0 -112
- package/build/Support/Array.js.map +0 -1
- package/build/Support/Math.d.ts +0 -7
- package/build/Support/Math.d.ts.map +0 -1
- package/build/Support/Math.js +0 -8
- package/build/Support/Math.js.map +0 -1
- package/build/Support/Metadata.d.ts +0 -16
- package/build/Support/Metadata.d.ts.map +0 -1
- package/build/Support/Metadata.js +0 -33
- package/build/Support/Metadata.js.map +0 -1
- package/build/Support/String.d.ts +0 -12
- package/build/Support/String.d.ts.map +0 -1
- package/build/Support/String.js +0 -24
- package/build/Support/String.js.map +0 -1
- package/build/Support/index.d.ts +0 -16
- package/build/Support/index.d.ts.map +0 -1
- package/build/Support/index.js +0 -7
- package/build/Support/index.js.map +0 -1
- package/build/Support/utils.d.ts +0 -2
- package/build/Support/utils.d.ts.map +0 -1
- package/build/Support/utils.js +0 -12
- package/build/Support/utils.js.map +0 -1
- package/build/Testing/TestCase.d.ts +0 -33
- package/build/Testing/TestCase.d.ts.map +0 -1
- package/build/Testing/TestCase.js +0 -138
- package/build/Testing/TestCase.js.map +0 -1
- package/build/Validation/Rule.d.ts +0 -7
- package/build/Validation/Rule.d.ts.map +0 -1
- package/build/Validation/Rule.js +0 -7
- package/build/Validation/Rule.js.map +0 -1
- package/build/Validation/RuleInterface.d.ts +0 -7
- package/build/Validation/RuleInterface.d.ts.map +0 -1
- package/build/Validation/RuleInterface.js +0 -3
- package/build/Validation/RuleInterface.js.map +0 -1
- package/build/Validation/Rules/Email.d.ts +0 -4
- package/build/Validation/Rules/Email.d.ts.map +0 -1
- package/build/Validation/Rules/Email.js +0 -17
- package/build/Validation/Rules/Email.js.map +0 -1
- package/build/Validation/Rules/FileExtension.d.ts +0 -4
- package/build/Validation/Rules/FileExtension.d.ts.map +0 -1
- package/build/Validation/Rules/FileExtension.js +0 -19
- package/build/Validation/Rules/FileExtension.js.map +0 -1
- package/build/Validation/Rules/MaxLength.d.ts +0 -4
- package/build/Validation/Rules/MaxLength.d.ts.map +0 -1
- package/build/Validation/Rules/MaxLength.js +0 -16
- package/build/Validation/Rules/MaxLength.js.map +0 -1
- package/build/Validation/Rules/MinLength.d.ts +0 -4
- package/build/Validation/Rules/MinLength.d.ts.map +0 -1
- package/build/Validation/Rules/MinLength.js +0 -16
- package/build/Validation/Rules/MinLength.js.map +0 -1
- package/build/Validation/Rules/Optional.d.ts +0 -4
- package/build/Validation/Rules/Optional.d.ts.map +0 -1
- package/build/Validation/Rules/Optional.js +0 -16
- package/build/Validation/Rules/Optional.js.map +0 -1
- package/build/Validation/Rules/Required.d.ts +0 -4
- package/build/Validation/Rules/Required.d.ts.map +0 -1
- package/build/Validation/Rules/Required.js +0 -24
- package/build/Validation/Rules/Required.js.map +0 -1
- package/build/Validation/Validator.d.ts +0 -12
- package/build/Validation/Validator.d.ts.map +0 -1
- package/build/Validation/Validator.js +0 -13
- package/build/Validation/Validator.js.map +0 -1
- package/build/Validation/index.d.ts +0 -11
- package/build/Validation/index.d.ts.map +0 -1
- package/build/Validation/index.js +0 -27
- package/build/Validation/index.js.map +0 -1
- package/build/package-lock.json +0 -5764
- package/build/package.json +0 -88
package/build/Database/List.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListProxyHandler = exports.List = void 0;
|
|
4
|
-
const BaseRelationship_1 = require("./ORM/BaseRelationship");
|
|
5
|
-
class List extends BaseRelationship_1.BaseRelationship {
|
|
6
|
-
items = [];
|
|
7
|
-
constructor(relationship, parent) {
|
|
8
|
-
super(relationship, parent);
|
|
9
|
-
return new Proxy(this, new ListProxyHandler());
|
|
10
|
-
}
|
|
11
|
-
get length() {
|
|
12
|
-
return this.items.length;
|
|
13
|
-
}
|
|
14
|
-
[Symbol.iterator]() {
|
|
15
|
-
return this.items[Symbol.iterator]();
|
|
16
|
-
}
|
|
17
|
-
async load() {
|
|
18
|
-
await this.parent.load(this.relationship.property);
|
|
19
|
-
return this;
|
|
20
|
-
}
|
|
21
|
-
async get() {
|
|
22
|
-
await this.load();
|
|
23
|
-
return this.items;
|
|
24
|
-
}
|
|
25
|
-
newQuery() {
|
|
26
|
-
return this.relationship.getQuery(this.parent);
|
|
27
|
-
}
|
|
28
|
-
where(column, operator, value, boolean) {
|
|
29
|
-
return this.relationship.getQuery(this.parent).where(column, operator, value, boolean);
|
|
30
|
-
}
|
|
31
|
-
findWhere(name, value) {
|
|
32
|
-
return undefined;
|
|
33
|
-
}
|
|
34
|
-
toJSON() {
|
|
35
|
-
return this.items;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
exports.List = List;
|
|
39
|
-
class ListProxyHandler {
|
|
40
|
-
get(target, property) {
|
|
41
|
-
if (Number.isInteger(Number(property.toString()))) {
|
|
42
|
-
return target.items[property];
|
|
43
|
-
}
|
|
44
|
-
return target[property];
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
exports.ListProxyHandler = ListProxyHandler;
|
|
48
|
-
//# sourceMappingURL=List.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"List.js","sourceRoot":"","sources":["../../Database/List.ts"],"names":[],"mappings":";;;AAKA,6DAAyE;AAEzE,MAAsB,IAAkD,SAAQ,mCAAkB;IAE9F,KAAK,GAAQ,EAAE,CAAA;IAIf,YACI,YAA2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AAE,CAAC;YAChD,OAAO,MAAM,CAAC,KAAK,CAAC,QAA6B,CAAC,CAAA;QACtD,CAAC;QACD,OAAO,MAAM,CAAC,QAA4B,CAAC,CAAA;IAC/C,CAAC;CACJ;AAPD,4CAOC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Connection } from '../Connection';
|
|
2
|
-
export declare abstract class Migration {
|
|
3
|
-
protected connection: Connection;
|
|
4
|
-
constructor(connection: Connection);
|
|
5
|
-
abstract up(): void | Promise<void>;
|
|
6
|
-
abstract down(): void | Promise<void>;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=Migration.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Migration.d.ts","sourceRoot":"","sources":["../../../Database/Migrations/Migration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE1C,8BAAsB,SAAS;IAEf,SAAS,CAAC,UAAU,EAAE,UAAU;gBAAtB,UAAU,EAAE,UAAU;IAE5C,QAAQ,CAAC,EAAE,IAAI,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;IAEnC,QAAQ,CAAC,IAAI,IAAI,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;CACxC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Migration = void 0;
|
|
4
|
-
class Migration {
|
|
5
|
-
connection;
|
|
6
|
-
constructor(connection) {
|
|
7
|
-
this.connection = connection;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
exports.Migration = Migration;
|
|
11
|
-
//# sourceMappingURL=Migration.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Migration.js","sourceRoot":"","sources":["../../../Database/Migrations/Migration.ts"],"names":[],"mappings":";;;AAEA,MAAsB,SAAS;IAEL;IAAtB,YAAsB,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;IAAG,CAAC;CAKnD;AAPD,8BAOC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MigrationHistory.d.ts","sourceRoot":"","sources":["../../../Database/Migrations/MigrationHistory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,EAAE,EAA0B,MAAM,eAAe,CAAA;AAC7E,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAElC,qBAGa,gBAAiB,SAAQ,MAAM;IAGxC,EAAE,EAAE,EAAE,CAAA;IAGN,IAAI,EAAE,MAAM,CAAA;IAGZ,KAAK,EAAE,MAAM,CAAA;IAGb,SAAS,EAAE,IAAI,CAAA;CAClB"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.MigrationHistory = void 0;
|
|
13
|
-
const Decorators_1 = require("../Decorators");
|
|
14
|
-
const Entity_1 = require("../Entity");
|
|
15
|
-
let MigrationHistory = class MigrationHistory extends Entity_1.Entity {
|
|
16
|
-
id;
|
|
17
|
-
name;
|
|
18
|
-
batch;
|
|
19
|
-
createdAt;
|
|
20
|
-
};
|
|
21
|
-
exports.MigrationHistory = MigrationHistory;
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, Decorators_1.PrimaryColumn)(),
|
|
24
|
-
__metadata("design:type", Object)
|
|
25
|
-
], MigrationHistory.prototype, "id", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, Decorators_1.Column)(),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], MigrationHistory.prototype, "name", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, Decorators_1.Column)(),
|
|
32
|
-
__metadata("design:type", Number)
|
|
33
|
-
], MigrationHistory.prototype, "batch", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, Decorators_1.CreatedAt)(),
|
|
36
|
-
__metadata("design:type", Date)
|
|
37
|
-
], MigrationHistory.prototype, "createdAt", void 0);
|
|
38
|
-
exports.MigrationHistory = MigrationHistory = __decorate([
|
|
39
|
-
(0, Decorators_1.Options)({
|
|
40
|
-
table: 'migration_history'
|
|
41
|
-
})
|
|
42
|
-
], MigrationHistory);
|
|
43
|
-
//# sourceMappingURL=MigrationHistory.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MigrationHistory.js","sourceRoot":"","sources":["../../../Database/Migrations/MigrationHistory.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAA6E;AAC7E,sCAAkC;AAK3B,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,eAAM;IAGxC,EAAE,CAAI;IAGN,IAAI,CAAQ;IAGZ,KAAK,CAAQ;IAGb,SAAS,CAAM;CAClB,CAAA;AAbY,4CAAgB;AAGzB;IADC,IAAA,0BAAa,GAAE;;4CACV;AAGN;IADC,IAAA,mBAAM,GAAE;;8CACG;AAGZ;IADC,IAAA,mBAAM,GAAE;;+CACI;AAGb;IADC,IAAA,sBAAS,GAAE;8BACD,IAAI;mDAAA;2BAZN,gBAAgB;IAH5B,IAAA,oBAAO,EAAC;QACL,KAAK,EAAE,mBAAmB;KAC7B,CAAC;GACW,gBAAgB,CAa5B"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { File, Storage } from '@Typetron/Storage';
|
|
2
|
-
import { Connection } from '..';
|
|
3
|
-
interface MigrateOptions {
|
|
4
|
-
fresh?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare class Migrator {
|
|
7
|
-
storage: Storage;
|
|
8
|
-
connection: Connection;
|
|
9
|
-
directory: string;
|
|
10
|
-
constructor(storage: Storage, connection: Connection, directory: string);
|
|
11
|
-
files(): Promise<File[]>;
|
|
12
|
-
migrate(options?: MigrateOptions): Promise<boolean>;
|
|
13
|
-
rollback(steps?: number): Promise<boolean>;
|
|
14
|
-
protected getLastBatchId(): Promise<number>;
|
|
15
|
-
reset(): Promise<boolean>;
|
|
16
|
-
private getMigration;
|
|
17
|
-
protected createMigrationTable(): Promise<void>;
|
|
18
|
-
protected clearTable(): Promise<unknown>;
|
|
19
|
-
}
|
|
20
|
-
export {};
|
|
21
|
-
//# sourceMappingURL=Migrator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Migrator.d.ts","sourceRoot":"","sources":["../../../Database/Migrations/Migrator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAA;AAG/B,UAAU,cAAc;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,qBAAa,QAAQ;IAGN,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,UAAU;IACtB,SAAS,EAAE,MAAM;gBAFjB,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,MAAM;IAGtB,KAAK,IAAI,OAAO,CAAC,IAAI,EAAE,CAAC;IAIjB,OAAO,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC;IAsCnD,QAAQ,CAAC,KAAK,SAAI;cA8Bf,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC;IAKpC,KAAK;IAYlB,OAAO,CAAC,YAAY;cAMJ,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;cAIrC,UAAU,IAAI,OAAO,CAAC,OAAO,CAAC;CAGjD"}
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.Migrator = void 0;
|
|
37
|
-
const MigrationHistory_1 = require("./MigrationHistory");
|
|
38
|
-
const path = __importStar(require("path"));
|
|
39
|
-
class Migrator {
|
|
40
|
-
storage;
|
|
41
|
-
connection;
|
|
42
|
-
directory;
|
|
43
|
-
constructor(storage, connection, directory) {
|
|
44
|
-
this.storage = storage;
|
|
45
|
-
this.connection = connection;
|
|
46
|
-
this.directory = directory;
|
|
47
|
-
}
|
|
48
|
-
async files() {
|
|
49
|
-
return this.storage.files(this.directory, true).where('extension', 'ts');
|
|
50
|
-
}
|
|
51
|
-
async migrate(options) {
|
|
52
|
-
await this.createMigrationTable();
|
|
53
|
-
if (options?.fresh) {
|
|
54
|
-
await this.clearTable();
|
|
55
|
-
}
|
|
56
|
-
const files = await this.files();
|
|
57
|
-
const migrates = await MigrationHistory_1.MigrationHistory.whereIn('name', files.pluck('name')).get();
|
|
58
|
-
const filesToMigrate = files.filter(file => !migrates.findWhere('name', file.name));
|
|
59
|
-
if (!filesToMigrate.length) {
|
|
60
|
-
console.log('Nothing to migrate');
|
|
61
|
-
return true;
|
|
62
|
-
}
|
|
63
|
-
const lastBatch = await this.getLastBatchId();
|
|
64
|
-
for await (const file of filesToMigrate) {
|
|
65
|
-
const migration = this.getMigration(file.path);
|
|
66
|
-
const migrationName = migration.constructor.name;
|
|
67
|
-
console.log(`Migrating '${migrationName}'`);
|
|
68
|
-
try {
|
|
69
|
-
await migration.up();
|
|
70
|
-
await MigrationHistory_1.MigrationHistory.create({
|
|
71
|
-
name: file,
|
|
72
|
-
batch: lastBatch + 1,
|
|
73
|
-
createdAt: new Date()
|
|
74
|
-
});
|
|
75
|
-
console.log(`Migrated '${migrationName}'`);
|
|
76
|
-
}
|
|
77
|
-
catch (error) {
|
|
78
|
-
console.error(`Failed to run the migration from '${migrationName}'`, error.message);
|
|
79
|
-
return false;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
return true;
|
|
83
|
-
}
|
|
84
|
-
async rollback(steps = 0) {
|
|
85
|
-
await this.createMigrationTable();
|
|
86
|
-
const lastMigration = await MigrationHistory_1.MigrationHistory.newQuery().orderBy('batch', 'DESC').first();
|
|
87
|
-
if (!lastMigration) {
|
|
88
|
-
throw new Error('Can not find any migration to rollback.');
|
|
89
|
-
}
|
|
90
|
-
const migrations = await MigrationHistory_1.MigrationHistory
|
|
91
|
-
.where('batch', '>=', Math.max(0, lastMigration.batch - steps))
|
|
92
|
-
.orderBy('batch', 'DESC')
|
|
93
|
-
.get();
|
|
94
|
-
for (const migrationEntity of migrations) {
|
|
95
|
-
const migration = this.getMigration(path.join(this.directory, migrationEntity.name));
|
|
96
|
-
const migrationName = migration.constructor.name;
|
|
97
|
-
console.log(`Rolling back the '${migrationName}' migration.`);
|
|
98
|
-
try {
|
|
99
|
-
await migration.down();
|
|
100
|
-
console.log(`Reverted '${migrationName}' migration.`);
|
|
101
|
-
await migrationEntity.delete();
|
|
102
|
-
}
|
|
103
|
-
catch (error) {
|
|
104
|
-
console.error(`Failed to run the migration '${migrationName}'`, error);
|
|
105
|
-
return false;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
return true;
|
|
109
|
-
}
|
|
110
|
-
async getLastBatchId() {
|
|
111
|
-
const lastMigration = await MigrationHistory_1.MigrationHistory.orderBy('batch', 'DESC').first();
|
|
112
|
-
return lastMigration?.batch ?? 0;
|
|
113
|
-
}
|
|
114
|
-
async reset() {
|
|
115
|
-
await this.createMigrationTable();
|
|
116
|
-
const lastMigration = await MigrationHistory_1.MigrationHistory.newQuery().orderBy('batch', 'DESC').first();
|
|
117
|
-
if (!lastMigration) {
|
|
118
|
-
return true;
|
|
119
|
-
}
|
|
120
|
-
return this.rollback(lastMigration?.batch);
|
|
121
|
-
}
|
|
122
|
-
getMigration(migrationFilePath) {
|
|
123
|
-
const migrationModule = require(migrationFilePath);
|
|
124
|
-
const MigrationClass = Object.values(migrationModule)[0];
|
|
125
|
-
return new MigrationClass(this.connection);
|
|
126
|
-
}
|
|
127
|
-
async createMigrationTable() {
|
|
128
|
-
await this.connection.driver.schema.synchronize([MigrationHistory_1.MigrationHistory].pluck('metadata'));
|
|
129
|
-
}
|
|
130
|
-
async clearTable() {
|
|
131
|
-
return MigrationHistory_1.MigrationHistory.truncate();
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
exports.Migrator = Migrator;
|
|
135
|
-
//# sourceMappingURL=Migrator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Migrator.js","sourceRoot":"","sources":["../../../Database/Migrations/Migrator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yDAAqD;AAErD,2CAA4B;AAS5B,MAAa,QAAQ;IAGN;IACA;IACA;IAHX,YACW,OAAgB,EAChB,UAAsB,EACtB,SAAiB;QAFjB,YAAO,GAAP,OAAO,CAAS;QAChB,eAAU,GAAV,UAAU,CAAY;QACtB,cAAS,GAAT,SAAS,CAAQ;IACzB,CAAC;IAEJ,KAAK,CAAC,KAAK;QACP,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,CAAA;IAC5E,CAAC;IAEM,KAAK,CAAC,OAAO,CAAC,OAAwB;QACzC,MAAM,IAAI,CAAC,oBAAoB,EAAE,CAAA;QAEjC,IAAI,OAAO,EAAE,KAAK,EAAE,CAAC;YACjB,MAAM,IAAI,CAAC,UAAU,EAAE,CAAA;QAC3B,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,KAAK,EAAE,CAAA;QAChC,MAAM,QAAQ,GAAG,MAAM,mCAA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ict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./Migrator"), exports);
|
|
18
|
-
__exportStar(require("./Migration"), exports);
|
|
19
|
-
__exportStar(require("./MigrationHistory"), exports);
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../Database/Migrations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,8CAA2B;AAC3B,qDAAkC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Entity } from '../Entity';
|
|
2
|
-
import { InverseRelationship, RelationshipField } from '../Fields';
|
|
3
|
-
export declare abstract class BaseRelationship<E extends Entity, P extends Entity = Entity> {
|
|
4
|
-
relationship: RelationshipField<P, E> | InverseRelationship<P, E>;
|
|
5
|
-
parent: P;
|
|
6
|
-
constructor(relationship: RelationshipField<P, E> | InverseRelationship<P, E>, parent: P);
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=BaseRelationship.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BaseRelationship.d.ts","sourceRoot":"","sources":["../../../Database/ORM/BaseRelationship.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAElE,8BAAsB,gBAAgB,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,MAAM,GAAG,MAAM;IAEnE,YAAY,EAAE,iBAAiB,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC;IACjE,MAAM,EAAE,CAAC;gBADT,YAAY,EAAE,iBAAiB,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,EACjE,MAAM,EAAE,CAAC;CAGvB"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BaseRelationship = void 0;
|
|
4
|
-
class BaseRelationship {
|
|
5
|
-
relationship;
|
|
6
|
-
parent;
|
|
7
|
-
constructor(relationship, parent) {
|
|
8
|
-
this.relationship = relationship;
|
|
9
|
-
this.parent = parent;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.BaseRelationship = BaseRelationship;
|
|
13
|
-
//# sourceMappingURL=BaseRelationship.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BaseRelationship.js","sourceRoot":"","sources":["../../../Database/ORM/BaseRelationship.ts"],"names":[],"mappings":";;;AAGA,MAAsB,gBAAgB;IAEvB;IACA;IAFX,YACW,YAAiE,EACjE,MAAS;QADT,iBAAY,GAAZ,YAAY,CAAqD;QACjE,WAAM,GAAN,MAAM,CAAG;IAEpB,CAAC;CACJ;AAND,4CAMC"}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { BooleanOperator, Direction, JoinType, Operator, SqlValue, SqlValueMap, WhereFunction, WhereValue } from './Types';
|
|
2
|
-
import { Connection } from './Connection';
|
|
3
|
-
import { StringExpression } from './StringExpression';
|
|
4
|
-
import { Statement } from './Drivers/Statement';
|
|
5
|
-
import { Expression } from './Expression';
|
|
6
|
-
export declare class Query<T = {}> extends Expression {
|
|
7
|
-
static connection: Connection;
|
|
8
|
-
private statementType;
|
|
9
|
-
private useDistinct;
|
|
10
|
-
private components;
|
|
11
|
-
get statement(): Statement;
|
|
12
|
-
static table<T = object>(table: string): Query<T>;
|
|
13
|
-
static from<T = {}>(table: string): Query<T>;
|
|
14
|
-
static truncate(table: string): Promise<void>;
|
|
15
|
-
truncate(): Promise<void>;
|
|
16
|
-
getBindings(): SqlValue[];
|
|
17
|
-
toSQL(): string;
|
|
18
|
-
get<K extends keyof T>(...columns: (K | string | StringExpression)[]): Promise<T[]>;
|
|
19
|
-
run<K extends keyof T>(): Promise<void>;
|
|
20
|
-
table(table: string): this;
|
|
21
|
-
from(table: string): this;
|
|
22
|
-
first<K extends keyof T>(...columns: (K | string | StringExpression)[]): Promise<T | undefined>;
|
|
23
|
-
select<K extends keyof T>(...columns: (K | string | StringExpression)[]): this;
|
|
24
|
-
where<K extends keyof T>(column: K | string, operator: Operator | Query | WhereValue | WhereFunction | T[K], value?: Query | WhereValue | WhereFunction | T[K], boolean?: BooleanOperator): this;
|
|
25
|
-
orWhere<K extends keyof T>(column: K | string, operator: Operator | WhereValue | T[K], value?: WhereValue | T[K]): this;
|
|
26
|
-
andWhere<K extends keyof T>(column: K | string, operator: Operator | WhereValue | T[K], value?: WhereValue | T[K]): this;
|
|
27
|
-
whereIn<K extends keyof T>(column: K | string, values: Query | WhereFunction | WhereValue[] | T[K][], boolean?: BooleanOperator, not?: boolean): this;
|
|
28
|
-
andWhereIn<K extends keyof T>(column: K | string, values: SqlValue[]): this;
|
|
29
|
-
andWhereNotIn<K extends keyof T>(column: K | string, values: SqlValue[]): this;
|
|
30
|
-
whereLike<K extends keyof T>(column: K | string, value: SqlValue, boolean?: BooleanOperator, not?: boolean): this;
|
|
31
|
-
whereNotIn<K extends keyof T>(column: K | string, values: Query | WhereFunction | WhereValue[] | T[K][], boolean?: BooleanOperator): this;
|
|
32
|
-
orWhereIn<K extends keyof T>(column: K | string, values: SqlValue[]): this;
|
|
33
|
-
orWhereNotIn<K extends keyof T>(column: K | string, values: SqlValue[]): this;
|
|
34
|
-
orWhereLike<K extends keyof T>(column: K | string, value: SqlValue, not?: boolean): this;
|
|
35
|
-
orWhereNotLike<K extends keyof T>(column: K | string, value: SqlValue): this;
|
|
36
|
-
whereBetween<K extends keyof T>(column: K | string, values: [SqlValue, SqlValue], boolean?: BooleanOperator, not?: boolean): this;
|
|
37
|
-
whereNotBetween<K extends keyof T>(column: K | string, values: [SqlValue, SqlValue], boolean?: BooleanOperator): this;
|
|
38
|
-
orWhereBetween<K extends keyof T>(column: K | string, values: [SqlValue, SqlValue]): this;
|
|
39
|
-
orWhereNotBetween<K extends keyof T>(column: K | string, values: [SqlValue, SqlValue]): this;
|
|
40
|
-
whereNull<K extends keyof T>(column: K | string, boolean?: BooleanOperator, not?: boolean): this;
|
|
41
|
-
andWhereNull<K extends keyof T>(column: K | string): this;
|
|
42
|
-
whereNotNull<K extends keyof T>(column: K | string, boolean?: BooleanOperator): this;
|
|
43
|
-
andWhereNotNull<K extends keyof T>(column: K | string, boolean?: BooleanOperator): this;
|
|
44
|
-
orWhereNull<K extends keyof T>(column: K | string): this;
|
|
45
|
-
orWhereNotNull<K extends keyof T>(column: K | string): this;
|
|
46
|
-
distinct(value?: boolean): this;
|
|
47
|
-
join(table: string, first: string, operator: Operator, second: string, type?: keyof typeof JoinType): this;
|
|
48
|
-
innerJoin(table: string, first: string, operator: Operator, second: string): this;
|
|
49
|
-
leftJoin(table: string, first: string, operator: Operator, second: string): this;
|
|
50
|
-
rightJoin(table: string, first: string, operator: Operator, second: string): this;
|
|
51
|
-
orderBy<K extends keyof T>(column: K | [string | K, Direction][], direction?: Direction): this;
|
|
52
|
-
groupBy<K extends keyof T>(...columns: (K | string)[]): this;
|
|
53
|
-
addSelect<K extends keyof T>(...columns: (K | string | StringExpression)[]): this;
|
|
54
|
-
count<K extends keyof T>(...columns: (K | string | StringExpression)[]): Promise<number>;
|
|
55
|
-
selectCount<K extends keyof T>(...columns: (K | string | StringExpression)[]): this;
|
|
56
|
-
max<K extends keyof T>(column: (K | string | StringExpression), ...columns: (K | string | StringExpression)[]): Promise<T[]>;
|
|
57
|
-
insert(data: SqlValueMap | SqlValueMap[]): Promise<void>;
|
|
58
|
-
insertOne(data: SqlValueMap): Promise<number>;
|
|
59
|
-
delete(): Promise<void>;
|
|
60
|
-
update(name: string | keyof T | Record<keyof T, SqlValue> | SqlValueMap, value?: SqlValue): Promise<void>;
|
|
61
|
-
limit<K extends keyof T>(from: number, count?: number): this;
|
|
62
|
-
}
|
|
63
|
-
//# sourceMappingURL=Query.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../Database/Query.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,eAAe,EAEf,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,WAAW,EAGX,aAAa,EAKb,UAAU,EACb,MAAM,SAAS,CAAA;AAChB,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAE/C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,qBAAa,KAAK,CAAC,CAAC,GAAG,EAAE,CAAE,SAAQ,UAAU;IACzC,MAAM,CAAC,UAAU,EAAE,UAAU,CAAA;IAE7B,OAAO,CAAC,aAAa,CAAoE;IAEzF,OAAO,CAAC,WAAW,CAAQ;IAE3B,OAAO,CAAC,U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