@alpha.consultings/eloquent-orm.js 1.0.1 → 1.0.3
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/CHANGELOG.md +14 -0
- package/LICENSE +184 -0
- package/README.md +30 -3
- package/dist/Model.d.ts +0 -1
- package/dist/Model.js +0 -1
- package/dist/cli/commands/cacheClear.d.ts +0 -1
- package/dist/cli/commands/cacheClear.js +0 -1
- package/dist/cli/commands/cacheStats.d.ts +0 -1
- package/dist/cli/commands/cacheStats.js +0 -1
- package/dist/cli/commands/dbSeed.d.ts +0 -1
- package/dist/cli/commands/dbSeed.js +0 -1
- package/dist/cli/commands/dbSeedBootstrapPrecheck.d.ts +0 -1
- package/dist/cli/commands/dbSeedBootstrapPrecheck.js +0 -1
- package/dist/cli/commands/dbSeedFresh.d.ts +0 -1
- package/dist/cli/commands/dbSeedFresh.js +0 -1
- package/dist/cli/commands/demoScenario.d.ts +0 -1
- package/dist/cli/commands/demoScenario.js +0 -1
- package/dist/cli/commands/factoryStatus.d.ts +0 -1
- package/dist/cli/commands/factoryStatus.js +0 -1
- package/dist/cli/commands/makeController.d.ts +0 -1
- package/dist/cli/commands/makeController.js +0 -1
- package/dist/cli/commands/makeFactory.d.ts +0 -1
- package/dist/cli/commands/makeFactory.js +0 -1
- package/dist/cli/commands/makeMigration.d.ts +0 -1
- package/dist/cli/commands/makeMigration.js +0 -1
- package/dist/cli/commands/makeModel.d.ts +0 -1
- package/dist/cli/commands/makeModel.js +0 -1
- package/dist/cli/commands/makeRegistry.d.ts +0 -1
- package/dist/cli/commands/makeRegistry.js +0 -1
- package/dist/cli/commands/makeScenario.d.ts +0 -1
- package/dist/cli/commands/makeScenario.js +0 -1
- package/dist/cli/commands/makeSeed.d.ts +0 -1
- package/dist/cli/commands/makeSeed.js +0 -1
- package/dist/cli/commands/makeService.d.ts +0 -1
- package/dist/cli/commands/makeService.js +0 -1
- package/dist/cli/commands/migrateFresh.d.ts +0 -1
- package/dist/cli/commands/migrateFresh.js +0 -1
- package/dist/cli/commands/migrateReset.d.ts +0 -1
- package/dist/cli/commands/migrateReset.js +0 -1
- package/dist/cli/commands/migrateRollback.d.ts +0 -1
- package/dist/cli/commands/migrateRollback.js +0 -1
- package/dist/cli/commands/migrateRun.d.ts +0 -1
- package/dist/cli/commands/migrateRun.js +0 -1
- package/dist/cli/commands/migrateStatus.d.ts +0 -1
- package/dist/cli/commands/migrateStatus.js +0 -1
- package/dist/cli/eloquent.d.ts +0 -1
- package/dist/cli/eloquent.js +0 -1
- package/dist/cli/utils/ArtifactCompatibility.d.ts +0 -1
- package/dist/cli/utils/ArtifactCompatibility.js +0 -1
- package/dist/cli/utils/ArtifactRoutingReport.d.ts +0 -1
- package/dist/cli/utils/ArtifactRoutingReport.js +0 -1
- package/dist/cli/utils/ArtifactStorage.d.ts +0 -1
- package/dist/cli/utils/ArtifactStorage.js +0 -1
- package/dist/cli/utils/AuditTrail.d.ts +0 -1
- package/dist/cli/utils/AuditTrail.js +0 -1
- package/dist/cli/utils/CliActionRuntime.d.ts +0 -1
- package/dist/cli/utils/CliActionRuntime.js +0 -1
- package/dist/cli/utils/CliBootstrapSupport.d.ts +0 -1
- package/dist/cli/utils/CliBootstrapSupport.js +0 -1
- package/dist/cli/utils/CliCommandCatalog.d.ts +0 -1
- package/dist/cli/utils/CliCommandCatalog.js +0 -1
- package/dist/cli/utils/CliCommandTargets.d.ts +0 -1
- package/dist/cli/utils/CliCommandTargets.js +0 -1
- package/dist/cli/utils/CliMakeArtifactCommandRegistration.d.ts +0 -1
- package/dist/cli/utils/CliMakeArtifactCommandRegistration.js +0 -1
- package/dist/cli/utils/CliMigrationCommandRegistration.d.ts +0 -1
- package/dist/cli/utils/CliMigrationCommandRegistration.js +0 -1
- package/dist/cli/utils/CliPresentation.d.ts +0 -1
- package/dist/cli/utils/CliPresentation.js +0 -1
- package/dist/cli/utils/CliProductionGuards.d.ts +0 -1
- package/dist/cli/utils/CliProductionGuards.js +0 -1
- package/dist/cli/utils/CliScaffoldCommandRegistration.d.ts +0 -1
- package/dist/cli/utils/CliScaffoldCommandRegistration.js +0 -1
- package/dist/cli/utils/CliSeedScenarioCommandRegistration.d.ts +0 -1
- package/dist/cli/utils/CliSeedScenarioCommandRegistration.js +0 -1
- package/dist/cli/utils/CliSupportCommandRegistration.d.ts +0 -1
- package/dist/cli/utils/CliSupportCommandRegistration.js +0 -1
- package/dist/cli/utils/ConsoleSilencer.d.ts +0 -1
- package/dist/cli/utils/ConsoleSilencer.js +0 -1
- package/dist/cli/utils/ImportResolver.d.ts +0 -1
- package/dist/cli/utils/ImportResolver.js +0 -1
- package/dist/cli/utils/ModelIntrospector.d.ts +0 -1
- package/dist/cli/utils/ModelIntrospector.js +0 -1
- package/dist/cli/utils/PathMap.d.ts +0 -1
- package/dist/cli/utils/PathMap.js +0 -1
- package/dist/cli/utils/ProductionSafety.d.ts +0 -1
- package/dist/cli/utils/ProductionSafety.js +0 -1
- package/dist/cli/utils/ScaffoldGeneratorSupport.d.ts +0 -1
- package/dist/cli/utils/ScaffoldGeneratorSupport.js +0 -1
- package/dist/cli/utils/ScenarioMorphAliasRouting.d.ts +0 -1
- package/dist/cli/utils/ScenarioMorphAliasRouting.js +0 -1
- package/dist/cli/utils/SeedBootstrapPrecheck.d.ts +0 -1
- package/dist/cli/utils/SeedBootstrapPrecheck.js +0 -1
- package/dist/cli/utils/StructuredLogger.d.ts +0 -1
- package/dist/cli/utils/StructuredLogger.js +0 -1
- package/dist/cli/utils/TemplateEngine.d.ts +0 -1
- package/dist/cli/utils/TemplateEngine.js +0 -1
- package/dist/cli/utils/factories/Factory.d.ts +0 -1
- package/dist/cli/utils/factories/Factory.js +0 -1
- package/dist/cli/utils/factories/FactoryDisplay.d.ts +0 -1
- package/dist/cli/utils/factories/FactoryDisplay.js +0 -1
- package/dist/cli/utils/factories/FactoryGraph.d.ts +0 -1
- package/dist/cli/utils/factories/FactoryGraph.js +0 -1
- package/dist/cli/utils/factories/FactoryLoader.d.ts +0 -1
- package/dist/cli/utils/factories/FactoryLoader.js +0 -1
- package/dist/cli/utils/factories/FactoryRegistry.d.ts +0 -1
- package/dist/cli/utils/factories/FactoryRegistry.js +0 -1
- package/dist/cli/utils/fileWriter.d.ts +0 -1
- package/dist/cli/utils/fileWriter.js +0 -1
- package/dist/cli/utils/migrations/MigrationLockStrategy.d.ts +0 -1
- package/dist/cli/utils/migrations/MigrationLockStrategy.js +0 -1
- package/dist/cli/utils/migrations/MigrationTracker.d.ts +0 -1
- package/dist/cli/utils/migrations/MigrationTracker.js +0 -1
- package/dist/cli/utils/migrations/MongoMigrationTracker.d.ts +0 -1
- package/dist/cli/utils/migrations/MongoMigrationTracker.js +0 -1
- package/dist/cli/utils/resolveConnectionFlags.d.ts +0 -1
- package/dist/cli/utils/resolveConnectionFlags.js +0 -1
- package/dist/cli/utils/resolveSqlConnectionFlags.d.ts +0 -1
- package/dist/cli/utils/resolveSqlConnectionFlags.js +0 -1
- package/dist/cli/utils/typescript/BaseCommand.d.ts +0 -1
- package/dist/cli/utils/typescript/BaseCommand.js +0 -1
- package/dist/cli/utils/typescript/RuntimeDetector.d.ts +0 -1
- package/dist/cli/utils/typescript/RuntimeDetector.js +0 -1
- package/dist/cli/utils/typescript/TypeScriptCompiler.d.ts +0 -1
- package/dist/cli/utils/typescript/TypeScriptCompiler.js +0 -1
- package/dist/cli/utils/typescript/tsRuntime.d.ts +0 -1
- package/dist/cli/utils/typescript/tsRuntime.js +0 -1
- package/dist/config/database.d.ts +0 -1
- package/dist/config/database.js +0 -1
- package/dist/config/dbRoleEnv.d.ts +0 -1
- package/dist/config/dbRoleEnv.js +0 -1
- package/dist/core/cache/CacheAnalytics.d.ts +0 -1
- package/dist/core/cache/CacheAnalytics.js +0 -1
- package/dist/core/cache/CacheDriver.d.ts +0 -1
- package/dist/core/cache/CacheDriver.js +0 -1
- package/dist/core/cache/CacheFallbackManager.d.ts +0 -1
- package/dist/core/cache/CacheFallbackManager.js +0 -1
- package/dist/core/cache/CacheManager.d.ts +0 -1
- package/dist/core/cache/CacheManager.js +0 -1
- package/dist/core/cache/CacheRegistry.d.ts +0 -1
- package/dist/core/cache/CacheRegistry.js +0 -1
- package/dist/core/cache/drivers/FileCacheDriver.d.ts +0 -1
- package/dist/core/cache/drivers/FileCacheDriver.js +0 -1
- package/dist/core/cache/drivers/MemcachedCacheDriver.d.ts +0 -1
- package/dist/core/cache/drivers/MemcachedCacheDriver.js +0 -1
- package/dist/core/cache/drivers/MemoryCacheDriver.d.ts +0 -1
- package/dist/core/cache/drivers/MemoryCacheDriver.js +0 -1
- package/dist/core/cache/setupCache.d.ts +0 -1
- package/dist/core/cache/setupCache.js +0 -1
- package/dist/core/connection/BetterSqliteConnection.d.ts +0 -1
- package/dist/core/connection/BetterSqliteConnection.js +0 -1
- package/dist/core/connection/ConnectionFactory.d.ts +0 -1
- package/dist/core/connection/ConnectionFactory.js +0 -1
- package/dist/core/connection/DatabaseConnection.d.ts +0 -1
- package/dist/core/connection/DatabaseConnection.js +0 -1
- package/dist/core/connection/DriverAdapter.d.ts +0 -1
- package/dist/core/connection/DriverAdapter.js +0 -1
- package/dist/core/connection/resolveConnectionName.d.ts +0 -1
- package/dist/core/connection/resolveConnectionName.js +0 -1
- package/dist/core/model/BaseModel.d.ts +0 -1
- package/dist/core/model/BaseModel.js +0 -1
- package/dist/core/model/BaseModelSafeFinderStatics.d.ts +0 -1
- package/dist/core/model/BaseModelSafeFinderStatics.js +0 -1
- package/dist/core/model/CoreModel.d.ts +0 -1
- package/dist/core/model/CoreModel.js +0 -1
- package/dist/core/model/CoreModelPersistenceState.d.ts +0 -1
- package/dist/core/model/CoreModelPersistenceState.js +0 -1
- package/dist/core/model/CoreModelSafeFinderSupport.d.ts +0 -1
- package/dist/core/model/CoreModelSafeFinderSupport.js +0 -1
- package/dist/core/model/CoreModelValidationEvents.d.ts +0 -1
- package/dist/core/model/CoreModelValidationEvents.js +0 -1
- package/dist/core/model/SafeFinder.d.ts +0 -1
- package/dist/core/model/SafeFinder.js +0 -1
- package/dist/core/orm/Relation.d.ts +0 -1
- package/dist/core/orm/Relation.js +0 -1
- package/dist/core/orm/mixins/CastsMixin.d.ts +0 -1
- package/dist/core/orm/mixins/CastsMixin.js +0 -1
- package/dist/core/orm/mixins/EagerLoadingMixin.d.ts +0 -1
- package/dist/core/orm/mixins/EagerLoadingMixin.js +0 -1
- package/dist/core/orm/mixins/HooksMixin.d.ts +0 -1
- package/dist/core/orm/mixins/HooksMixin.js +0 -1
- package/dist/core/orm/mixins/MorphRegistry.d.ts +0 -1
- package/dist/core/orm/mixins/MorphRegistry.js +0 -1
- package/dist/core/orm/mixins/MorphableMixin.d.ts +0 -1
- package/dist/core/orm/mixins/MorphableMixin.js +0 -1
- package/dist/core/orm/mixins/PivotHelperMixin.d.ts +0 -1
- package/dist/core/orm/mixins/PivotHelperMixin.js +0 -1
- package/dist/core/orm/mixins/QueryCacheMixin.d.ts +0 -1
- package/dist/core/orm/mixins/QueryCacheMixin.js +0 -1
- package/dist/core/orm/mixins/ScopeMixin.d.ts +0 -1
- package/dist/core/orm/mixins/ScopeMixin.js +0 -1
- package/dist/core/orm/mixins/SerializeMixin.d.ts +0 -1
- package/dist/core/orm/mixins/SerializeMixin.js +0 -1
- package/dist/core/orm/mixins/SoftDeletesMixin.d.ts +0 -1
- package/dist/core/orm/mixins/SoftDeletesMixin.js +0 -1
- package/dist/core/orm/mixins/utils/BaseMethodResolver.d.ts +0 -1
- package/dist/core/orm/mixins/utils/BaseMethodResolver.js +0 -1
- package/dist/core/orm/mixins/utils/HookStore.d.ts +0 -1
- package/dist/core/orm/mixins/utils/HookStore.js +0 -1
- package/dist/core/orm/mixins/utils/ModelRegistry.d.ts +0 -1
- package/dist/core/orm/mixins/utils/ModelRegistry.js +0 -1
- package/dist/core/orm/mixins/utils/modelRegistration.d.ts +0 -1
- package/dist/core/orm/mixins/utils/modelRegistration.js +0 -1
- package/dist/core/orm/relations/BelongsTo.d.ts +0 -1
- package/dist/core/orm/relations/BelongsTo.js +0 -1
- package/dist/core/orm/relations/BelongsToMany.d.ts +0 -1
- package/dist/core/orm/relations/BelongsToMany.js +0 -1
- package/dist/core/orm/relations/HasMany.d.ts +0 -1
- package/dist/core/orm/relations/HasMany.js +0 -1
- package/dist/core/orm/relations/HasOne.d.ts +0 -1
- package/dist/core/orm/relations/HasOne.js +0 -1
- package/dist/core/orm/relations/MorphMany.d.ts +0 -1
- package/dist/core/orm/relations/MorphMany.js +0 -1
- package/dist/core/orm/relations/MorphOne.d.ts +0 -1
- package/dist/core/orm/relations/MorphOne.js +0 -1
- package/dist/core/orm/relations/MorphTo.d.ts +0 -1
- package/dist/core/orm/relations/MorphTo.js +0 -1
- package/dist/core/schema/SQLDialect.d.ts +0 -1
- package/dist/core/schema/SQLDialect.js +0 -1
- package/dist/core/schema/SchemaBlueprint.d.ts +0 -1
- package/dist/core/schema/SchemaBlueprint.js +0 -1
- package/dist/core/schema/SchemaBuilder.d.ts +0 -1
- package/dist/core/schema/SchemaBuilder.js +0 -1
- package/dist/core/schema/SchemaValidator.d.ts +0 -1
- package/dist/core/schema/SchemaValidator.js +0 -1
- package/dist/core/security/AbstractSecurity.d.ts +0 -1
- package/dist/core/security/AbstractSecurity.js +0 -1
- package/dist/core/security/EnvKeySecurity.d.ts +0 -1
- package/dist/core/security/EnvKeySecurity.js +0 -1
- package/dist/core/security/NoSecurity.d.ts +0 -1
- package/dist/core/security/NoSecurity.js +0 -1
- package/dist/core/security/SecretRedactor.d.ts +0 -1
- package/dist/core/security/SecretRedactor.js +0 -1
- package/dist/core/security/SecurityContract.d.ts +0 -1
- package/dist/core/security/SecurityContract.js +0 -1
- package/dist/core/security/SecurityFactory.d.ts +0 -1
- package/dist/core/security/SecurityFactory.js +0 -1
- package/dist/core/security/index.d.ts +0 -1
- package/dist/core/security/index.js +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/package.json +27 -6
- package/dist/Model.d.ts.map +0 -1
- package/dist/Model.js.map +0 -1
- package/dist/cli/commands/cacheClear.d.ts.map +0 -1
- package/dist/cli/commands/cacheClear.js.map +0 -1
- package/dist/cli/commands/cacheStats.d.ts.map +0 -1
- package/dist/cli/commands/cacheStats.js.map +0 -1
- package/dist/cli/commands/dbSeed.d.ts.map +0 -1
- package/dist/cli/commands/dbSeed.js.map +0 -1
- package/dist/cli/commands/dbSeedBootstrapPrecheck.d.ts.map +0 -1
- package/dist/cli/commands/dbSeedBootstrapPrecheck.js.map +0 -1
- package/dist/cli/commands/dbSeedFresh.d.ts.map +0 -1
- package/dist/cli/commands/dbSeedFresh.js.map +0 -1
- package/dist/cli/commands/demoScenario.d.ts.map +0 -1
- package/dist/cli/commands/demoScenario.js.map +0 -1
- package/dist/cli/commands/factoryStatus.d.ts.map +0 -1
- package/dist/cli/commands/factoryStatus.js.map +0 -1
- package/dist/cli/commands/makeController.d.ts.map +0 -1
- package/dist/cli/commands/makeController.js.map +0 -1
- package/dist/cli/commands/makeFactory.d.ts.map +0 -1
- package/dist/cli/commands/makeFactory.js.map +0 -1
- package/dist/cli/commands/makeMigration.d.ts.map +0 -1
- package/dist/cli/commands/makeMigration.js.map +0 -1
- package/dist/cli/commands/makeModel.d.ts.map +0 -1
- package/dist/cli/commands/makeModel.js.map +0 -1
- package/dist/cli/commands/makeRegistry.d.ts.map +0 -1
- package/dist/cli/commands/makeRegistry.js.map +0 -1
- package/dist/cli/commands/makeScenario.d.ts.map +0 -1
- package/dist/cli/commands/makeScenario.js.map +0 -1
- package/dist/cli/commands/makeSeed.d.ts.map +0 -1
- package/dist/cli/commands/makeSeed.js.map +0 -1
- package/dist/cli/commands/makeService.d.ts.map +0 -1
- package/dist/cli/commands/makeService.js.map +0 -1
- package/dist/cli/commands/migrateFresh.d.ts.map +0 -1
- package/dist/cli/commands/migrateFresh.js.map +0 -1
- package/dist/cli/commands/migrateReset.d.ts.map +0 -1
- package/dist/cli/commands/migrateReset.js.map +0 -1
- package/dist/cli/commands/migrateRollback.d.ts.map +0 -1
- package/dist/cli/commands/migrateRollback.js.map +0 -1
- package/dist/cli/commands/migrateRun.d.ts.map +0 -1
- package/dist/cli/commands/migrateRun.js.map +0 -1
- package/dist/cli/commands/migrateStatus.d.ts.map +0 -1
- package/dist/cli/commands/migrateStatus.js.map +0 -1
- package/dist/cli/eloquent.d.ts.map +0 -1
- package/dist/cli/eloquent.js.map +0 -1
- package/dist/cli/utils/ArtifactCompatibility.d.ts.map +0 -1
- package/dist/cli/utils/ArtifactCompatibility.js.map +0 -1
- package/dist/cli/utils/ArtifactRoutingReport.d.ts.map +0 -1
- package/dist/cli/utils/ArtifactRoutingReport.js.map +0 -1
- package/dist/cli/utils/ArtifactStorage.d.ts.map +0 -1
- package/dist/cli/utils/ArtifactStorage.js.map +0 -1
- package/dist/cli/utils/AuditTrail.d.ts.map +0 -1
- package/dist/cli/utils/AuditTrail.js.map +0 -1
- package/dist/cli/utils/CliActionRuntime.d.ts.map +0 -1
- package/dist/cli/utils/CliActionRuntime.js.map +0 -1
- package/dist/cli/utils/CliBootstrapSupport.d.ts.map +0 -1
- package/dist/cli/utils/CliBootstrapSupport.js.map +0 -1
- package/dist/cli/utils/CliCommandCatalog.d.ts.map +0 -1
- package/dist/cli/utils/CliCommandCatalog.js.map +0 -1
- package/dist/cli/utils/CliCommandTargets.d.ts.map +0 -1
- package/dist/cli/utils/CliCommandTargets.js.map +0 -1
- package/dist/cli/utils/CliMakeArtifactCommandRegistration.d.ts.map +0 -1
- package/dist/cli/utils/CliMakeArtifactCommandRegistration.js.map +0 -1
- package/dist/cli/utils/CliMigrationCommandRegistration.d.ts.map +0 -1
- package/dist/cli/utils/CliMigrationCommandRegistration.js.map +0 -1
- package/dist/cli/utils/CliPresentation.d.ts.map +0 -1
- package/dist/cli/utils/CliPresentation.js.map +0 -1
- package/dist/cli/utils/CliProductionGuards.d.ts.map +0 -1
- package/dist/cli/utils/CliProductionGuards.js.map +0 -1
- package/dist/cli/utils/CliScaffoldCommandRegistration.d.ts.map +0 -1
- package/dist/cli/utils/CliScaffoldCommandRegistration.js.map +0 -1
- package/dist/cli/utils/CliSeedScenarioCommandRegistration.d.ts.map +0 -1
- package/dist/cli/utils/CliSeedScenarioCommandRegistration.js.map +0 -1
- package/dist/cli/utils/CliSupportCommandRegistration.d.ts.map +0 -1
- package/dist/cli/utils/CliSupportCommandRegistration.js.map +0 -1
- package/dist/cli/utils/ConsoleSilencer.d.ts.map +0 -1
- package/dist/cli/utils/ConsoleSilencer.js.map +0 -1
- package/dist/cli/utils/ImportResolver.d.ts.map +0 -1
- package/dist/cli/utils/ImportResolver.js.map +0 -1
- package/dist/cli/utils/ModelIntrospector.d.ts.map +0 -1
- package/dist/cli/utils/ModelIntrospector.js.map +0 -1
- package/dist/cli/utils/PathMap.d.ts.map +0 -1
- package/dist/cli/utils/PathMap.js.map +0 -1
- package/dist/cli/utils/ProductionSafety.d.ts.map +0 -1
- package/dist/cli/utils/ProductionSafety.js.map +0 -1
- package/dist/cli/utils/ScaffoldGeneratorSupport.d.ts.map +0 -1
- package/dist/cli/utils/ScaffoldGeneratorSupport.js.map +0 -1
- package/dist/cli/utils/ScenarioMorphAliasRouting.d.ts.map +0 -1
- package/dist/cli/utils/ScenarioMorphAliasRouting.js.map +0 -1
- package/dist/cli/utils/SeedBootstrapPrecheck.d.ts.map +0 -1
- package/dist/cli/utils/SeedBootstrapPrecheck.js.map +0 -1
- package/dist/cli/utils/StructuredLogger.d.ts.map +0 -1
- package/dist/cli/utils/StructuredLogger.js.map +0 -1
- package/dist/cli/utils/TemplateEngine.d.ts.map +0 -1
- package/dist/cli/utils/TemplateEngine.js.map +0 -1
- package/dist/cli/utils/factories/Factory.d.ts.map +0 -1
- package/dist/cli/utils/factories/Factory.js.map +0 -1
- package/dist/cli/utils/factories/FactoryDisplay.d.ts.map +0 -1
- package/dist/cli/utils/factories/FactoryDisplay.js.map +0 -1
- package/dist/cli/utils/factories/FactoryGraph.d.ts.map +0 -1
- package/dist/cli/utils/factories/FactoryGraph.js.map +0 -1
- package/dist/cli/utils/factories/FactoryLoader.d.ts.map +0 -1
- package/dist/cli/utils/factories/FactoryLoader.js.map +0 -1
- package/dist/cli/utils/factories/FactoryRegistry.d.ts.map +0 -1
- package/dist/cli/utils/factories/FactoryRegistry.js.map +0 -1
- package/dist/cli/utils/fileWriter.d.ts.map +0 -1
- package/dist/cli/utils/fileWriter.js.map +0 -1
- package/dist/cli/utils/migrations/MigrationLockStrategy.d.ts.map +0 -1
- package/dist/cli/utils/migrations/MigrationLockStrategy.js.map +0 -1
- package/dist/cli/utils/migrations/MigrationTracker.d.ts.map +0 -1
- package/dist/cli/utils/migrations/MigrationTracker.js.map +0 -1
- package/dist/cli/utils/migrations/MongoMigrationTracker.d.ts.map +0 -1
- package/dist/cli/utils/migrations/MongoMigrationTracker.js.map +0 -1
- package/dist/cli/utils/resolveConnectionFlags.d.ts.map +0 -1
- package/dist/cli/utils/resolveConnectionFlags.js.map +0 -1
- package/dist/cli/utils/resolveSqlConnectionFlags.d.ts.map +0 -1
- package/dist/cli/utils/resolveSqlConnectionFlags.js.map +0 -1
- package/dist/cli/utils/typescript/BaseCommand.d.ts.map +0 -1
- package/dist/cli/utils/typescript/BaseCommand.js.map +0 -1
- package/dist/cli/utils/typescript/RuntimeDetector.d.ts.map +0 -1
- package/dist/cli/utils/typescript/RuntimeDetector.js.map +0 -1
- package/dist/cli/utils/typescript/TypeScriptCompiler.d.ts.map +0 -1
- package/dist/cli/utils/typescript/TypeScriptCompiler.js.map +0 -1
- package/dist/cli/utils/typescript/tsRuntime.d.ts.map +0 -1
- package/dist/cli/utils/typescript/tsRuntime.js.map +0 -1
- package/dist/config/database.d.ts.map +0 -1
- package/dist/config/database.js.map +0 -1
- package/dist/config/dbRoleEnv.d.ts.map +0 -1
- package/dist/config/dbRoleEnv.js.map +0 -1
- package/dist/core/cache/CacheAnalytics.d.ts.map +0 -1
- package/dist/core/cache/CacheAnalytics.js.map +0 -1
- package/dist/core/cache/CacheDriver.d.ts.map +0 -1
- package/dist/core/cache/CacheDriver.js.map +0 -1
- package/dist/core/cache/CacheFallbackManager.d.ts.map +0 -1
- package/dist/core/cache/CacheFallbackManager.js.map +0 -1
- package/dist/core/cache/CacheManager.d.ts.map +0 -1
- package/dist/core/cache/CacheManager.js.map +0 -1
- package/dist/core/cache/CacheRegistry.d.ts.map +0 -1
- package/dist/core/cache/CacheRegistry.js.map +0 -1
- package/dist/core/cache/drivers/FileCacheDriver.d.ts.map +0 -1
- package/dist/core/cache/drivers/FileCacheDriver.js.map +0 -1
- package/dist/core/cache/drivers/MemcachedCacheDriver.d.ts.map +0 -1
- package/dist/core/cache/drivers/MemcachedCacheDriver.js.map +0 -1
- package/dist/core/cache/drivers/MemoryCacheDriver.d.ts.map +0 -1
- package/dist/core/cache/drivers/MemoryCacheDriver.js.map +0 -1
- package/dist/core/cache/setupCache.d.ts.map +0 -1
- package/dist/core/cache/setupCache.js.map +0 -1
- package/dist/core/connection/BetterSqliteConnection.d.ts.map +0 -1
- package/dist/core/connection/BetterSqliteConnection.js.map +0 -1
- package/dist/core/connection/ConnectionFactory.d.ts.map +0 -1
- package/dist/core/connection/ConnectionFactory.js.map +0 -1
- package/dist/core/connection/DatabaseConnection.d.ts.map +0 -1
- package/dist/core/connection/DatabaseConnection.js.map +0 -1
- package/dist/core/connection/DriverAdapter.d.ts.map +0 -1
- package/dist/core/connection/DriverAdapter.js.map +0 -1
- package/dist/core/connection/resolveConnectionName.d.ts.map +0 -1
- package/dist/core/connection/resolveConnectionName.js.map +0 -1
- package/dist/core/model/BaseModel.d.ts.map +0 -1
- package/dist/core/model/BaseModel.js.map +0 -1
- package/dist/core/model/BaseModelSafeFinderStatics.d.ts.map +0 -1
- package/dist/core/model/BaseModelSafeFinderStatics.js.map +0 -1
- package/dist/core/model/CoreModel.d.ts.map +0 -1
- package/dist/core/model/CoreModel.js.map +0 -1
- package/dist/core/model/CoreModelPersistenceState.d.ts.map +0 -1
- package/dist/core/model/CoreModelPersistenceState.js.map +0 -1
- package/dist/core/model/CoreModelSafeFinderSupport.d.ts.map +0 -1
- package/dist/core/model/CoreModelSafeFinderSupport.js.map +0 -1
- package/dist/core/model/CoreModelValidationEvents.d.ts.map +0 -1
- package/dist/core/model/CoreModelValidationEvents.js.map +0 -1
- package/dist/core/model/SafeFinder.d.ts.map +0 -1
- package/dist/core/model/SafeFinder.js.map +0 -1
- package/dist/core/orm/Relation.d.ts.map +0 -1
- package/dist/core/orm/Relation.js.map +0 -1
- package/dist/core/orm/mixins/CastsMixin.d.ts.map +0 -1
- package/dist/core/orm/mixins/CastsMixin.js.map +0 -1
- package/dist/core/orm/mixins/EagerLoadingMixin.d.ts.map +0 -1
- package/dist/core/orm/mixins/EagerLoadingMixin.js.map +0 -1
- package/dist/core/orm/mixins/HooksMixin.d.ts.map +0 -1
- package/dist/core/orm/mixins/HooksMixin.js.map +0 -1
- package/dist/core/orm/mixins/MorphRegistry.d.ts.map +0 -1
- package/dist/core/orm/mixins/MorphRegistry.js.map +0 -1
- package/dist/core/orm/mixins/MorphableMixin.d.ts.map +0 -1
- package/dist/core/orm/mixins/MorphableMixin.js.map +0 -1
- package/dist/core/orm/mixins/PivotHelperMixin.d.ts.map +0 -1
- package/dist/core/orm/mixins/PivotHelperMixin.js.map +0 -1
- package/dist/core/orm/mixins/QueryCacheMixin.d.ts.map +0 -1
- package/dist/core/orm/mixins/QueryCacheMixin.js.map +0 -1
- package/dist/core/orm/mixins/ScopeMixin.d.ts.map +0 -1
- package/dist/core/orm/mixins/ScopeMixin.js.map +0 -1
- package/dist/core/orm/mixins/SerializeMixin.d.ts.map +0 -1
- package/dist/core/orm/mixins/SerializeMixin.js.map +0 -1
- package/dist/core/orm/mixins/SoftDeletesMixin.d.ts.map +0 -1
- package/dist/core/orm/mixins/SoftDeletesMixin.js.map +0 -1
- package/dist/core/orm/mixins/utils/BaseMethodResolver.d.ts.map +0 -1
- package/dist/core/orm/mixins/utils/BaseMethodResolver.js.map +0 -1
- package/dist/core/orm/mixins/utils/HookStore.d.ts.map +0 -1
- package/dist/core/orm/mixins/utils/HookStore.js.map +0 -1
- package/dist/core/orm/mixins/utils/ModelRegistry.d.ts.map +0 -1
- package/dist/core/orm/mixins/utils/ModelRegistry.js.map +0 -1
- package/dist/core/orm/mixins/utils/modelRegistration.d.ts.map +0 -1
- package/dist/core/orm/mixins/utils/modelRegistration.js.map +0 -1
- package/dist/core/orm/relations/BelongsTo.d.ts.map +0 -1
- package/dist/core/orm/relations/BelongsTo.js.map +0 -1
- package/dist/core/orm/relations/BelongsToMany.d.ts.map +0 -1
- package/dist/core/orm/relations/BelongsToMany.js.map +0 -1
- package/dist/core/orm/relations/HasMany.d.ts.map +0 -1
- package/dist/core/orm/relations/HasMany.js.map +0 -1
- package/dist/core/orm/relations/HasOne.d.ts.map +0 -1
- package/dist/core/orm/relations/HasOne.js.map +0 -1
- package/dist/core/orm/relations/MorphMany.d.ts.map +0 -1
- package/dist/core/orm/relations/MorphMany.js.map +0 -1
- package/dist/core/orm/relations/MorphOne.d.ts.map +0 -1
- package/dist/core/orm/relations/MorphOne.js.map +0 -1
- package/dist/core/orm/relations/MorphTo.d.ts.map +0 -1
- package/dist/core/orm/relations/MorphTo.js.map +0 -1
- package/dist/core/schema/SQLDialect.d.ts.map +0 -1
- package/dist/core/schema/SQLDialect.js.map +0 -1
- package/dist/core/schema/SchemaBlueprint.d.ts.map +0 -1
- package/dist/core/schema/SchemaBlueprint.js.map +0 -1
- package/dist/core/schema/SchemaBuilder.d.ts.map +0 -1
- package/dist/core/schema/SchemaBuilder.js.map +0 -1
- package/dist/core/schema/SchemaValidator.d.ts.map +0 -1
- package/dist/core/schema/SchemaValidator.js.map +0 -1
- package/dist/core/security/AbstractSecurity.d.ts.map +0 -1
- package/dist/core/security/AbstractSecurity.js.map +0 -1
- package/dist/core/security/EnvKeySecurity.d.ts.map +0 -1
- package/dist/core/security/EnvKeySecurity.js.map +0 -1
- package/dist/core/security/NoSecurity.d.ts.map +0 -1
- package/dist/core/security/NoSecurity.js.map +0 -1
- package/dist/core/security/SecretRedactor.d.ts.map +0 -1
- package/dist/core/security/SecretRedactor.js.map +0 -1
- package/dist/core/security/SecurityContract.d.ts.map +0 -1
- package/dist/core/security/SecurityContract.js.map +0 -1
- package/dist/core/security/SecurityFactory.d.ts.map +0 -1
- package/dist/core/security/SecurityFactory.js.map +0 -1
- package/dist/core/security/index.d.ts.map +0 -1
- package/dist/core/security/index.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.0.3](https://github.com/MetalDz/Eloquent-ORM.js/compare/v1.0.2...v1.0.3) (2026-03-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* & improve npm package discovery metadata ([8760ffb](https://github.com/MetalDz/Eloquent-ORM.js/commit/8760ffb297bd69cb71c560738e24549145fd79d6))
|
|
7
|
+
|
|
8
|
+
## [1.0.2](https://github.com/MetalDz/Eloquent-ORM.js/compare/v1.0.1...v1.0.2) (2026-03-24)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* finalize publish metadata, docs discovery, and package trim ([2bfff0e](https://github.com/MetalDz/Eloquent-ORM.js/commit/2bfff0e9b266fc4c96b8efce7f13c217ea663db0))
|
|
14
|
+
|
|
1
15
|
## [1.0.1](https://github.com/MetalDz/Eloquent-ORM.js/compare/v1.0.0...v1.0.1) (2026-03-23)
|
|
2
16
|
|
|
3
17
|
|
package/LICENSE
ADDED
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction, and
|
|
10
|
+
distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by the copyright
|
|
13
|
+
owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all other entities
|
|
16
|
+
that control, are controlled by, or are under common control with that entity.
|
|
17
|
+
For the purposes of this definition, "control" means (i) the power, direct or
|
|
18
|
+
indirect, to cause the direction or management of such entity, whether by
|
|
19
|
+
contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
20
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
21
|
+
|
|
22
|
+
"You" (or "Your") shall mean an individual or Legal Entity exercising
|
|
23
|
+
permissions granted by this License.
|
|
24
|
+
|
|
25
|
+
"Source" form shall mean the preferred form for making modifications, including
|
|
26
|
+
but not limited to software source code, documentation source, and
|
|
27
|
+
configuration files.
|
|
28
|
+
|
|
29
|
+
"Object" form shall mean any form resulting from mechanical transformation or
|
|
30
|
+
translation of a Source form, including but not limited to compiled object
|
|
31
|
+
code, generated documentation, and conversions to other media types.
|
|
32
|
+
|
|
33
|
+
"Work" shall mean the work of authorship, whether in Source or Object form,
|
|
34
|
+
made available under the License, as indicated by a copyright notice that is
|
|
35
|
+
included in or attached to the work (an example is provided in the Appendix
|
|
36
|
+
below).
|
|
37
|
+
|
|
38
|
+
"Derivative Works" shall mean any work, whether in Source or Object form, that
|
|
39
|
+
is based on (or derived from) the Work and for which the editorial revisions,
|
|
40
|
+
annotations, elaborations, or other modifications represent, as a whole, an
|
|
41
|
+
original work of authorship. For the purposes of this License, Derivative Works
|
|
42
|
+
shall not include works that remain separable from, or merely link (or bind by
|
|
43
|
+
name) to the interfaces of, the Work and Derivative Works thereof.
|
|
44
|
+
|
|
45
|
+
"Contribution" shall mean any work of authorship, including the original
|
|
46
|
+
version of the Work and any modifications or additions to that Work or
|
|
47
|
+
Derivative Works thereof, that is intentionally submitted to Licensor for
|
|
48
|
+
inclusion in the Work by the copyright owner or by an individual or Legal
|
|
49
|
+
Entity authorized to submit on behalf of the copyright owner. For the purposes
|
|
50
|
+
of this definition, "submitted" means any form of electronic, verbal, or
|
|
51
|
+
written communication sent to the Licensor or its representatives, including
|
|
52
|
+
but not limited to communication on electronic mailing lists, source code
|
|
53
|
+
control systems, and issue tracking systems that are managed by, or on behalf
|
|
54
|
+
of, the Licensor for the purpose of discussing and improving the Work, but
|
|
55
|
+
excluding communication that is conspicuously marked or otherwise designated in
|
|
56
|
+
writing by the copyright owner as "Not a Contribution."
|
|
57
|
+
|
|
58
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf
|
|
59
|
+
of whom a Contribution has been received by Licensor and subsequently
|
|
60
|
+
incorporated within the Work.
|
|
61
|
+
|
|
62
|
+
2. Grant of Copyright License. Subject to the terms and conditions of this
|
|
63
|
+
License, each Contributor hereby grants to You a perpetual, worldwide,
|
|
64
|
+
non-exclusive, no-charge, royalty-free, irrevocable copyright license to
|
|
65
|
+
reproduce, prepare Derivative Works of, publicly display, publicly perform,
|
|
66
|
+
sublicense, and distribute the Work and such Derivative Works in Source or
|
|
67
|
+
Object form.
|
|
68
|
+
|
|
69
|
+
3. Grant of Patent License. Subject to the terms and conditions of this
|
|
70
|
+
License, each Contributor hereby grants to You a perpetual, worldwide,
|
|
71
|
+
non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this
|
|
72
|
+
section) patent license to make, have made, use, offer to sell, sell, import,
|
|
73
|
+
and otherwise transfer the Work, where such license applies only to those
|
|
74
|
+
patent claims licensable by such Contributor that are necessarily infringed by
|
|
75
|
+
their Contribution(s) alone or by combination of their Contribution(s) with the
|
|
76
|
+
Work to which such Contribution(s) was submitted. If You institute patent
|
|
77
|
+
litigation against any entity (including a cross-claim or counterclaim in a
|
|
78
|
+
lawsuit) alleging that the Work or a Contribution incorporated within the Work
|
|
79
|
+
constitutes direct or contributory patent infringement, then any patent
|
|
80
|
+
licenses granted to You under this License for that Work shall terminate as of
|
|
81
|
+
the date such litigation is filed.
|
|
82
|
+
|
|
83
|
+
4. Redistribution. You may reproduce and distribute copies of the Work or
|
|
84
|
+
Derivative Works thereof in any medium, with or without modifications, and in
|
|
85
|
+
Source or Object form, provided that You meet the following conditions:
|
|
86
|
+
|
|
87
|
+
(a) You must give any other recipients of the Work or Derivative Works a copy
|
|
88
|
+
of this License; and
|
|
89
|
+
|
|
90
|
+
(b) You must cause any modified files to carry prominent notices stating that
|
|
91
|
+
You changed the files; and
|
|
92
|
+
|
|
93
|
+
(c) You must retain, in the Source form of any Derivative Works that You
|
|
94
|
+
distribute, all copyright, patent, trademark, and attribution notices from the
|
|
95
|
+
Source form of the Work, excluding those notices that do not pertain to any
|
|
96
|
+
part of the Derivative Works; and
|
|
97
|
+
|
|
98
|
+
(d) If the Work includes a "NOTICE" text file as part of its distribution, then
|
|
99
|
+
any Derivative Works that You distribute must include a readable copy of the
|
|
100
|
+
attribution notices contained within such NOTICE file, excluding those notices
|
|
101
|
+
that do not pertain to any part of the Derivative Works, in at least one of the
|
|
102
|
+
following places: within a NOTICE text file distributed as part of the
|
|
103
|
+
Derivative Works; within the Source form or documentation, if provided along
|
|
104
|
+
with the Derivative Works; or, within a display generated by the Derivative
|
|
105
|
+
Works, if and wherever such third-party notices normally appear. The contents
|
|
106
|
+
of the NOTICE file are for informational purposes only and do not modify the
|
|
107
|
+
License. You may add Your own attribution notices within Derivative Works that
|
|
108
|
+
You distribute, alongside or as an addendum to the NOTICE text from the Work,
|
|
109
|
+
provided that such additional attribution notices cannot be construed as
|
|
110
|
+
modifying the License.
|
|
111
|
+
|
|
112
|
+
You may add Your own copyright statement to Your modifications and may provide
|
|
113
|
+
additional or different license terms and conditions for use, reproduction, or
|
|
114
|
+
distribution of Your modifications, or for any such Derivative Works as a
|
|
115
|
+
whole, provided Your use, reproduction, and distribution of the Work otherwise
|
|
116
|
+
complies with the conditions stated in this License.
|
|
117
|
+
|
|
118
|
+
5. Submission of Contributions. Unless You explicitly state otherwise, any
|
|
119
|
+
Contribution intentionally submitted for inclusion in the Work by You to the
|
|
120
|
+
Licensor shall be under the terms and conditions of this License, without any
|
|
121
|
+
additional terms or conditions. Notwithstanding the above, nothing herein shall
|
|
122
|
+
supersede or modify the terms of any separate license agreement you may have
|
|
123
|
+
executed with Licensor regarding such Contributions.
|
|
124
|
+
|
|
125
|
+
6. Trademarks. This License does not grant permission to use the trade names,
|
|
126
|
+
trademarks, service marks, or product names of the Licensor, except as required
|
|
127
|
+
for reasonable and customary use in describing the origin of the Work and
|
|
128
|
+
reproducing the content of the NOTICE file.
|
|
129
|
+
|
|
130
|
+
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in
|
|
131
|
+
writing, Licensor provides the Work (and each Contributor provides its
|
|
132
|
+
Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
133
|
+
KIND, either express or implied, including, without limitation, any warranties
|
|
134
|
+
or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
135
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
136
|
+
appropriateness of using or redistributing the Work and assume any risks
|
|
137
|
+
associated with Your exercise of permissions under this License.
|
|
138
|
+
|
|
139
|
+
8. Limitation of Liability. In no event and under no legal theory, whether in
|
|
140
|
+
tort (including negligence), contract, or otherwise, unless required by
|
|
141
|
+
applicable law (such as deliberate and grossly negligent acts) or agreed to in
|
|
142
|
+
writing, shall any Contributor be liable to You for damages, including any
|
|
143
|
+
direct, indirect, special, incidental, or consequential damages of any
|
|
144
|
+
character arising as a result of this License or out of the use or inability to
|
|
145
|
+
use the Work (including but not limited to damages for loss of goodwill, work
|
|
146
|
+
stoppage, computer failure or malfunction, or any and all other commercial
|
|
147
|
+
damages or losses), even if such Contributor has been advised of the
|
|
148
|
+
possibility of such damages.
|
|
149
|
+
|
|
150
|
+
9. Accepting Warranty or Additional Liability. While redistributing the Work or
|
|
151
|
+
Derivative Works thereof, You may choose to offer, and charge a fee for,
|
|
152
|
+
acceptance of support, warranty, indemnity, or other liability obligations
|
|
153
|
+
and/or rights consistent with this License. However, in accepting such
|
|
154
|
+
obligations, You may act only on Your own behalf and on Your sole
|
|
155
|
+
responsibility, not on behalf of any other Contributor, and only if You agree
|
|
156
|
+
to indemnify, defend, and hold each Contributor harmless for any liability
|
|
157
|
+
incurred by, or claims asserted against, such Contributor by reason of your
|
|
158
|
+
accepting any such warranty or additional liability.
|
|
159
|
+
|
|
160
|
+
END OF TERMS AND CONDITIONS
|
|
161
|
+
|
|
162
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
163
|
+
|
|
164
|
+
To apply the Apache License to your work, attach the following boilerplate
|
|
165
|
+
notice, with the fields enclosed by brackets "Web developpement, backend developpement" replaced with your own
|
|
166
|
+
identifying information. The text should be
|
|
167
|
+
enclosed in the appropriate comment syntax for the file format. We also
|
|
168
|
+
recommend that a file or class name and description of purpose be included on
|
|
169
|
+
the same "printed page" as the copyright notice for easier identification
|
|
170
|
+
within third-party archives.
|
|
171
|
+
|
|
172
|
+
Copyright [2026] [MEKHERBECHE Fares, https://github.com/MetalDz/Eloquent-ORM.js]
|
|
173
|
+
|
|
174
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
175
|
+
you may not use this file except in compliance with the License.
|
|
176
|
+
You may obtain a copy of the License at
|
|
177
|
+
|
|
178
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
179
|
+
|
|
180
|
+
Unless required by applicable law or agreed to in writing, software
|
|
181
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
182
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
183
|
+
See the License for the specific language governing permissions and
|
|
184
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -208,8 +208,35 @@ The full consumer documentation is organized around the main usage paths:
|
|
|
208
208
|
- `ORM`: relations, mixins, soft deletes, migrations, multi-connection strategy, and Mongo guidance
|
|
209
209
|
- `CLI`: commands, generators, production-safety rules, and test matrix guidance
|
|
210
210
|
|
|
211
|
+
Official documentation:
|
|
212
|
+
|
|
213
|
+
- https://alphaconsultings.mintlify.app/
|
|
214
|
+
|
|
211
215
|
Start with:
|
|
212
216
|
|
|
213
|
-
- [docs
|
|
214
|
-
- [
|
|
215
|
-
- [
|
|
217
|
+
- [Package docs index](https://alphaconsultings.mintlify.app/getting-started/package-docs)
|
|
218
|
+
- [Quick start](https://alphaconsultings.mintlify.app/getting-started/quick-start)
|
|
219
|
+
- [Runtime CRUD](https://alphaconsultings.mintlify.app/runtime/crud)
|
|
220
|
+
- [Runtime querying](https://alphaconsultings.mintlify.app/runtime/querying)
|
|
221
|
+
|
|
222
|
+
## Published npm Package Notes
|
|
223
|
+
|
|
224
|
+
- The published npm package intentionally excludes `.map` files to keep the install surface smaller.
|
|
225
|
+
- Runtime behavior is unchanged. This affects debug metadata only, not ORM logic, CLI behavior, or public API contracts.
|
|
226
|
+
- Reverse navigation from published JavaScript back to the original TypeScript source is therefore not included in the npm tarball.
|
|
227
|
+
- Full TypeScript source remains available in the GitHub repository for collaboration, source review, and deeper debugging.
|
|
228
|
+
- Official docs: https://alphaconsultings.mintlify.app/
|
|
229
|
+
- GitHub source: https://github.com/MetalDz/Eloquent-ORM.js
|
|
230
|
+
|
|
231
|
+
## Security / Runtime Behavior
|
|
232
|
+
|
|
233
|
+
Some package scanners flag this package for network access and eval-like behavior. Those signals are expected for this runtime shape and should be read in context:
|
|
234
|
+
|
|
235
|
+
- Outbound DB/cache connections are by design. This package opens runtime connections to MySQL, PostgreSQL, MongoDB, SQLite, and Memcached when those drivers are configured.
|
|
236
|
+
- Mongo SRV mode may use custom DNS resolvers when configured. If you use a `mongodb+srv://` URI and set `MONGO_DNS_SERVERS`, the runtime may call Node's in-process DNS resolver override for Mongo SRV lookups.
|
|
237
|
+
- Eval-like behavior is not part of this package's own runtime source. Scanner warnings usually come from the `mysql2` dependency, which generates row parsers dynamically for performance.
|
|
238
|
+
|
|
239
|
+
For the current hosted docs and security guidance:
|
|
240
|
+
|
|
241
|
+
- Official Documentation website: https://alphaconsultings.mintlify.app/
|
|
242
|
+
- Security policy: https://github.com/MetalDz/Eloquent-ORM.js/blob/ai_master/SECURITY.md
|
package/dist/Model.d.ts
CHANGED
package/dist/Model.js
CHANGED
|
@@ -4,4 +4,3 @@ exports.MongoModel = exports.SqlModel = void 0;
|
|
|
4
4
|
var BaseModel_1 = require("./core/model/BaseModel");
|
|
5
5
|
Object.defineProperty(exports, "SqlModel", { enumerable: true, get: function () { return BaseModel_1.SqlModel; } });
|
|
6
6
|
Object.defineProperty(exports, "MongoModel", { enumerable: true, get: function () { return BaseModel_1.MongoModel; } });
|
|
7
|
-
//# sourceMappingURL=Model.js.map
|
|
@@ -7,4 +7,3 @@ export type MigrateRunOptions = {
|
|
|
7
7
|
export type MigrationConnectionFlags = SqlConnectionFlags;
|
|
8
8
|
export declare const resolveMigrationConnectionNames: typeof resolveSqlConnectionNames;
|
|
9
9
|
export declare function migrateRun(isTest?: boolean, modelName?: string, dryRun?: boolean, exitOnFinish?: boolean, options?: MigrateRunOptions): Promise<void>;
|
|
10
|
-
//# sourceMappingURL=migrateRun.d.ts.map
|
package/dist/cli/eloquent.d.ts
CHANGED
|
@@ -15,4 +15,3 @@ export declare function createCliProgram(): Command;
|
|
|
15
15
|
export declare function runCli(argv?: string[], env?: CliBootstrapEnv): Promise<void>;
|
|
16
16
|
export declare function autoRunCliIfMain(mainModule?: NodeJS.Module | undefined, entryModule?: NodeJS.Module, runner?: () => Promise<void>): void;
|
|
17
17
|
export declare function placeholder(): Promise<void>;
|
|
18
|
-
//# sourceMappingURL=eloquent.d.ts.map
|
package/dist/cli/eloquent.js
CHANGED
|
@@ -7,4 +7,3 @@ export declare function resolveArtifactCompatibility(artifactKind: StorageKind,
|
|
|
7
7
|
reason: ArtifactCompatibilityReason;
|
|
8
8
|
};
|
|
9
9
|
export declare function describeArtifactCompatibilityMismatch(artifactKind: StorageKind, targetKind: TargetStorageKind): string;
|
|
10
|
-
//# sourceMappingURL=ArtifactCompatibility.d.ts.map
|
|
@@ -7,4 +7,3 @@ export type TargetedArtifactDecision = {
|
|
|
7
7
|
};
|
|
8
8
|
export declare function createTargetedArtifactDecision(name: string, kind: StorageKind, targetKind: TargetStorageKind): TargetedArtifactDecision;
|
|
9
9
|
export declare function summarizeSkippedArtifacts(label: string, decisions: TargetedArtifactDecision[], targetKind: TargetStorageKind): string | null;
|
|
10
|
-
//# sourceMappingURL=ArtifactRoutingReport.d.ts.map
|
|
@@ -7,4 +7,3 @@ export declare function resolveFactoryStorageKindFromFile(filePath: string, isTe
|
|
|
7
7
|
export declare function resolveSeederStorageKindFromFile(filePath: string, isTest: boolean): StorageKind;
|
|
8
8
|
export declare function targetStorageKindForConnection(connectionName: string): TargetStorageKind;
|
|
9
9
|
export declare function matchesTargetStorageKind(artifactKind: StorageKind, targetKind: TargetStorageKind): boolean;
|
|
10
|
-
//# sourceMappingURL=ArtifactStorage.d.ts.map
|
|
@@ -190,4 +190,3 @@ function targetStorageKindForConnection(connectionName) {
|
|
|
190
190
|
function matchesTargetStorageKind(artifactKind, targetKind) {
|
|
191
191
|
return (0, ArtifactCompatibility_1.resolveArtifactCompatibility)(artifactKind, targetKind).matches;
|
|
192
192
|
}
|
|
193
|
-
//# sourceMappingURL=ArtifactStorage.js.map
|
|
@@ -22,4 +22,3 @@ export declare function resolveAuditActor(env?: NodeJS.ProcessEnv): string;
|
|
|
22
22
|
export declare function resolveAuditPath(env?: NodeJS.ProcessEnv): string;
|
|
23
23
|
export declare function buildAuditEvent(input: AuditEventInput): AuditEventRecord;
|
|
24
24
|
export declare function appendAuditEvent(input: AuditEventInput, env?: NodeJS.ProcessEnv): void;
|
|
25
|
-
//# sourceMappingURL=AuditTrail.d.ts.map
|
|
@@ -2,4 +2,3 @@ export type CliActionErrorRenderer = (message: string) => string;
|
|
|
2
2
|
export declare function toCliActionErrorMessage(error: unknown): string;
|
|
3
3
|
export declare function defaultCliActionErrorRenderer(message: string): string;
|
|
4
4
|
export declare function runCliAction<T>(action: () => Promise<T> | T, renderError?: CliActionErrorRenderer): Promise<T | undefined>;
|
|
5
|
-
//# sourceMappingURL=CliActionRuntime.d.ts.map
|
|
@@ -10,4 +10,3 @@ export declare function applyCliTestConnectionOverride(argv: string[], env: CliB
|
|
|
10
10
|
export declare function resolveCliRequestedStorageKind(argv: string[], env: CliBootstrapEnv): CliStorageKind | undefined;
|
|
11
11
|
export declare function shouldAutoLoadFactoriesForCli(argv: string[]): boolean;
|
|
12
12
|
export {};
|
|
13
|
-
//# sourceMappingURL=CliBootstrapSupport.d.ts.map
|
|
@@ -5,4 +5,3 @@ export type CliConnectionTargetOptions = Partial<DriverConnectionFlags> & {
|
|
|
5
5
|
};
|
|
6
6
|
export declare function resolveCliConnectionNames(options: CliConnectionTargetOptions | undefined, resolveOptions?: ResolveConnectionFlagsOptions): ConnectionName[];
|
|
7
7
|
export declare function resolveCliPrimaryConnectionName(options: CliConnectionTargetOptions | undefined, resolveOptions?: ResolveConnectionFlagsOptions): ConnectionName | undefined;
|
|
8
|
-
//# sourceMappingURL=CliCommandTargets.d.ts.map
|