@alpha.consultings/eloquent-orm.js 1.0.1 → 1.0.2

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.
Files changed (480) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/LICENSE +184 -0
  3. package/README.md +30 -3
  4. package/dist/Model.d.ts +0 -1
  5. package/dist/Model.js +0 -1
  6. package/dist/cli/commands/cacheClear.d.ts +0 -1
  7. package/dist/cli/commands/cacheClear.js +0 -1
  8. package/dist/cli/commands/cacheStats.d.ts +0 -1
  9. package/dist/cli/commands/cacheStats.js +0 -1
  10. package/dist/cli/commands/dbSeed.d.ts +0 -1
  11. package/dist/cli/commands/dbSeed.js +0 -1
  12. package/dist/cli/commands/dbSeedBootstrapPrecheck.d.ts +0 -1
  13. package/dist/cli/commands/dbSeedBootstrapPrecheck.js +0 -1
  14. package/dist/cli/commands/dbSeedFresh.d.ts +0 -1
  15. package/dist/cli/commands/dbSeedFresh.js +0 -1
  16. package/dist/cli/commands/demoScenario.d.ts +0 -1
  17. package/dist/cli/commands/demoScenario.js +0 -1
  18. package/dist/cli/commands/factoryStatus.d.ts +0 -1
  19. package/dist/cli/commands/factoryStatus.js +0 -1
  20. package/dist/cli/commands/makeController.d.ts +0 -1
  21. package/dist/cli/commands/makeController.js +0 -1
  22. package/dist/cli/commands/makeFactory.d.ts +0 -1
  23. package/dist/cli/commands/makeFactory.js +0 -1
  24. package/dist/cli/commands/makeMigration.d.ts +0 -1
  25. package/dist/cli/commands/makeMigration.js +0 -1
  26. package/dist/cli/commands/makeModel.d.ts +0 -1
  27. package/dist/cli/commands/makeModel.js +0 -1
  28. package/dist/cli/commands/makeRegistry.d.ts +0 -1
  29. package/dist/cli/commands/makeRegistry.js +0 -1
  30. package/dist/cli/commands/makeScenario.d.ts +0 -1
  31. package/dist/cli/commands/makeScenario.js +0 -1
  32. package/dist/cli/commands/makeSeed.d.ts +0 -1
  33. package/dist/cli/commands/makeSeed.js +0 -1
  34. package/dist/cli/commands/makeService.d.ts +0 -1
  35. package/dist/cli/commands/makeService.js +0 -1
  36. package/dist/cli/commands/migrateFresh.d.ts +0 -1
  37. package/dist/cli/commands/migrateFresh.js +0 -1
  38. package/dist/cli/commands/migrateReset.d.ts +0 -1
  39. package/dist/cli/commands/migrateReset.js +0 -1
  40. package/dist/cli/commands/migrateRollback.d.ts +0 -1
  41. package/dist/cli/commands/migrateRollback.js +0 -1
  42. package/dist/cli/commands/migrateRun.d.ts +0 -1
  43. package/dist/cli/commands/migrateRun.js +0 -1
  44. package/dist/cli/commands/migrateStatus.d.ts +0 -1
  45. package/dist/cli/commands/migrateStatus.js +0 -1
  46. package/dist/cli/eloquent.d.ts +0 -1
  47. package/dist/cli/eloquent.js +0 -1
  48. package/dist/cli/utils/ArtifactCompatibility.d.ts +0 -1
  49. package/dist/cli/utils/ArtifactCompatibility.js +0 -1
  50. package/dist/cli/utils/ArtifactRoutingReport.d.ts +0 -1
  51. package/dist/cli/utils/ArtifactRoutingReport.js +0 -1
  52. package/dist/cli/utils/ArtifactStorage.d.ts +0 -1
  53. package/dist/cli/utils/ArtifactStorage.js +0 -1
  54. package/dist/cli/utils/AuditTrail.d.ts +0 -1
  55. package/dist/cli/utils/AuditTrail.js +0 -1
  56. package/dist/cli/utils/CliActionRuntime.d.ts +0 -1
  57. package/dist/cli/utils/CliActionRuntime.js +0 -1
  58. package/dist/cli/utils/CliBootstrapSupport.d.ts +0 -1
  59. package/dist/cli/utils/CliBootstrapSupport.js +0 -1
  60. package/dist/cli/utils/CliCommandCatalog.d.ts +0 -1
  61. package/dist/cli/utils/CliCommandCatalog.js +0 -1
  62. package/dist/cli/utils/CliCommandTargets.d.ts +0 -1
  63. package/dist/cli/utils/CliCommandTargets.js +0 -1
  64. package/dist/cli/utils/CliMakeArtifactCommandRegistration.d.ts +0 -1
  65. package/dist/cli/utils/CliMakeArtifactCommandRegistration.js +0 -1
  66. package/dist/cli/utils/CliMigrationCommandRegistration.d.ts +0 -1
  67. package/dist/cli/utils/CliMigrationCommandRegistration.js +0 -1
  68. package/dist/cli/utils/CliPresentation.d.ts +0 -1
  69. package/dist/cli/utils/CliPresentation.js +0 -1
  70. package/dist/cli/utils/CliProductionGuards.d.ts +0 -1
  71. package/dist/cli/utils/CliProductionGuards.js +0 -1
  72. package/dist/cli/utils/CliScaffoldCommandRegistration.d.ts +0 -1
  73. package/dist/cli/utils/CliScaffoldCommandRegistration.js +0 -1
  74. package/dist/cli/utils/CliSeedScenarioCommandRegistration.d.ts +0 -1
  75. package/dist/cli/utils/CliSeedScenarioCommandRegistration.js +0 -1
  76. package/dist/cli/utils/CliSupportCommandRegistration.d.ts +0 -1
  77. package/dist/cli/utils/CliSupportCommandRegistration.js +0 -1
  78. package/dist/cli/utils/ConsoleSilencer.d.ts +0 -1
  79. package/dist/cli/utils/ConsoleSilencer.js +0 -1
  80. package/dist/cli/utils/ImportResolver.d.ts +0 -1
  81. package/dist/cli/utils/ImportResolver.js +0 -1
  82. package/dist/cli/utils/ModelIntrospector.d.ts +0 -1
  83. package/dist/cli/utils/ModelIntrospector.js +0 -1
  84. package/dist/cli/utils/PathMap.d.ts +0 -1
  85. package/dist/cli/utils/PathMap.js +0 -1
  86. package/dist/cli/utils/ProductionSafety.d.ts +0 -1
  87. package/dist/cli/utils/ProductionSafety.js +0 -1
  88. package/dist/cli/utils/ScaffoldGeneratorSupport.d.ts +0 -1
  89. package/dist/cli/utils/ScaffoldGeneratorSupport.js +0 -1
  90. package/dist/cli/utils/ScenarioMorphAliasRouting.d.ts +0 -1
  91. package/dist/cli/utils/ScenarioMorphAliasRouting.js +0 -1
  92. package/dist/cli/utils/SeedBootstrapPrecheck.d.ts +0 -1
  93. package/dist/cli/utils/SeedBootstrapPrecheck.js +0 -1
  94. package/dist/cli/utils/StructuredLogger.d.ts +0 -1
  95. package/dist/cli/utils/StructuredLogger.js +0 -1
  96. package/dist/cli/utils/TemplateEngine.d.ts +0 -1
  97. package/dist/cli/utils/TemplateEngine.js +0 -1
  98. package/dist/cli/utils/factories/Factory.d.ts +0 -1
  99. package/dist/cli/utils/factories/Factory.js +0 -1
  100. package/dist/cli/utils/factories/FactoryDisplay.d.ts +0 -1
  101. package/dist/cli/utils/factories/FactoryDisplay.js +0 -1
  102. package/dist/cli/utils/factories/FactoryGraph.d.ts +0 -1
  103. package/dist/cli/utils/factories/FactoryGraph.js +0 -1
  104. package/dist/cli/utils/factories/FactoryLoader.d.ts +0 -1
  105. package/dist/cli/utils/factories/FactoryLoader.js +0 -1
  106. package/dist/cli/utils/factories/FactoryRegistry.d.ts +0 -1
  107. package/dist/cli/utils/factories/FactoryRegistry.js +0 -1
  108. package/dist/cli/utils/fileWriter.d.ts +0 -1
  109. package/dist/cli/utils/fileWriter.js +0 -1
  110. package/dist/cli/utils/migrations/MigrationLockStrategy.d.ts +0 -1
  111. package/dist/cli/utils/migrations/MigrationLockStrategy.js +0 -1
  112. package/dist/cli/utils/migrations/MigrationTracker.d.ts +0 -1
  113. package/dist/cli/utils/migrations/MigrationTracker.js +0 -1
  114. package/dist/cli/utils/migrations/MongoMigrationTracker.d.ts +0 -1
  115. package/dist/cli/utils/migrations/MongoMigrationTracker.js +0 -1
  116. package/dist/cli/utils/resolveConnectionFlags.d.ts +0 -1
  117. package/dist/cli/utils/resolveConnectionFlags.js +0 -1
  118. package/dist/cli/utils/resolveSqlConnectionFlags.d.ts +0 -1
  119. package/dist/cli/utils/resolveSqlConnectionFlags.js +0 -1
  120. package/dist/cli/utils/typescript/BaseCommand.d.ts +0 -1
  121. package/dist/cli/utils/typescript/BaseCommand.js +0 -1
  122. package/dist/cli/utils/typescript/RuntimeDetector.d.ts +0 -1
  123. package/dist/cli/utils/typescript/RuntimeDetector.js +0 -1
  124. package/dist/cli/utils/typescript/TypeScriptCompiler.d.ts +0 -1
  125. package/dist/cli/utils/typescript/TypeScriptCompiler.js +0 -1
  126. package/dist/cli/utils/typescript/tsRuntime.d.ts +0 -1
  127. package/dist/cli/utils/typescript/tsRuntime.js +0 -1
  128. package/dist/config/database.d.ts +0 -1
  129. package/dist/config/database.js +0 -1
  130. package/dist/config/dbRoleEnv.d.ts +0 -1
  131. package/dist/config/dbRoleEnv.js +0 -1
  132. package/dist/core/cache/CacheAnalytics.d.ts +0 -1
  133. package/dist/core/cache/CacheAnalytics.js +0 -1
  134. package/dist/core/cache/CacheDriver.d.ts +0 -1
  135. package/dist/core/cache/CacheDriver.js +0 -1
  136. package/dist/core/cache/CacheFallbackManager.d.ts +0 -1
  137. package/dist/core/cache/CacheFallbackManager.js +0 -1
  138. package/dist/core/cache/CacheManager.d.ts +0 -1
  139. package/dist/core/cache/CacheManager.js +0 -1
  140. package/dist/core/cache/CacheRegistry.d.ts +0 -1
  141. package/dist/core/cache/CacheRegistry.js +0 -1
  142. package/dist/core/cache/drivers/FileCacheDriver.d.ts +0 -1
  143. package/dist/core/cache/drivers/FileCacheDriver.js +0 -1
  144. package/dist/core/cache/drivers/MemcachedCacheDriver.d.ts +0 -1
  145. package/dist/core/cache/drivers/MemcachedCacheDriver.js +0 -1
  146. package/dist/core/cache/drivers/MemoryCacheDriver.d.ts +0 -1
  147. package/dist/core/cache/drivers/MemoryCacheDriver.js +0 -1
  148. package/dist/core/cache/setupCache.d.ts +0 -1
  149. package/dist/core/cache/setupCache.js +0 -1
  150. package/dist/core/connection/BetterSqliteConnection.d.ts +0 -1
  151. package/dist/core/connection/BetterSqliteConnection.js +0 -1
  152. package/dist/core/connection/ConnectionFactory.d.ts +0 -1
  153. package/dist/core/connection/ConnectionFactory.js +0 -1
  154. package/dist/core/connection/DatabaseConnection.d.ts +0 -1
  155. package/dist/core/connection/DatabaseConnection.js +0 -1
  156. package/dist/core/connection/DriverAdapter.d.ts +0 -1
  157. package/dist/core/connection/DriverAdapter.js +0 -1
  158. package/dist/core/connection/resolveConnectionName.d.ts +0 -1
  159. package/dist/core/connection/resolveConnectionName.js +0 -1
  160. package/dist/core/model/BaseModel.d.ts +0 -1
  161. package/dist/core/model/BaseModel.js +0 -1
  162. package/dist/core/model/BaseModelSafeFinderStatics.d.ts +0 -1
  163. package/dist/core/model/BaseModelSafeFinderStatics.js +0 -1
  164. package/dist/core/model/CoreModel.d.ts +0 -1
  165. package/dist/core/model/CoreModel.js +0 -1
  166. package/dist/core/model/CoreModelPersistenceState.d.ts +0 -1
  167. package/dist/core/model/CoreModelPersistenceState.js +0 -1
  168. package/dist/core/model/CoreModelSafeFinderSupport.d.ts +0 -1
  169. package/dist/core/model/CoreModelSafeFinderSupport.js +0 -1
  170. package/dist/core/model/CoreModelValidationEvents.d.ts +0 -1
  171. package/dist/core/model/CoreModelValidationEvents.js +0 -1
  172. package/dist/core/model/SafeFinder.d.ts +0 -1
  173. package/dist/core/model/SafeFinder.js +0 -1
  174. package/dist/core/orm/Relation.d.ts +0 -1
  175. package/dist/core/orm/Relation.js +0 -1
  176. package/dist/core/orm/mixins/CastsMixin.d.ts +0 -1
  177. package/dist/core/orm/mixins/CastsMixin.js +0 -1
  178. package/dist/core/orm/mixins/EagerLoadingMixin.d.ts +0 -1
  179. package/dist/core/orm/mixins/EagerLoadingMixin.js +0 -1
  180. package/dist/core/orm/mixins/HooksMixin.d.ts +0 -1
  181. package/dist/core/orm/mixins/HooksMixin.js +0 -1
  182. package/dist/core/orm/mixins/MorphRegistry.d.ts +0 -1
  183. package/dist/core/orm/mixins/MorphRegistry.js +0 -1
  184. package/dist/core/orm/mixins/MorphableMixin.d.ts +0 -1
  185. package/dist/core/orm/mixins/MorphableMixin.js +0 -1
  186. package/dist/core/orm/mixins/PivotHelperMixin.d.ts +0 -1
  187. package/dist/core/orm/mixins/PivotHelperMixin.js +0 -1
  188. package/dist/core/orm/mixins/QueryCacheMixin.d.ts +0 -1
  189. package/dist/core/orm/mixins/QueryCacheMixin.js +0 -1
  190. package/dist/core/orm/mixins/ScopeMixin.d.ts +0 -1
  191. package/dist/core/orm/mixins/ScopeMixin.js +0 -1
  192. package/dist/core/orm/mixins/SerializeMixin.d.ts +0 -1
  193. package/dist/core/orm/mixins/SerializeMixin.js +0 -1
  194. package/dist/core/orm/mixins/SoftDeletesMixin.d.ts +0 -1
  195. package/dist/core/orm/mixins/SoftDeletesMixin.js +0 -1
  196. package/dist/core/orm/mixins/utils/BaseMethodResolver.d.ts +0 -1
  197. package/dist/core/orm/mixins/utils/BaseMethodResolver.js +0 -1
  198. package/dist/core/orm/mixins/utils/HookStore.d.ts +0 -1
  199. package/dist/core/orm/mixins/utils/HookStore.js +0 -1
  200. package/dist/core/orm/mixins/utils/ModelRegistry.d.ts +0 -1
  201. package/dist/core/orm/mixins/utils/ModelRegistry.js +0 -1
  202. package/dist/core/orm/mixins/utils/modelRegistration.d.ts +0 -1
  203. package/dist/core/orm/mixins/utils/modelRegistration.js +0 -1
  204. package/dist/core/orm/relations/BelongsTo.d.ts +0 -1
  205. package/dist/core/orm/relations/BelongsTo.js +0 -1
  206. package/dist/core/orm/relations/BelongsToMany.d.ts +0 -1
  207. package/dist/core/orm/relations/BelongsToMany.js +0 -1
  208. package/dist/core/orm/relations/HasMany.d.ts +0 -1
  209. package/dist/core/orm/relations/HasMany.js +0 -1
  210. package/dist/core/orm/relations/HasOne.d.ts +0 -1
  211. package/dist/core/orm/relations/HasOne.js +0 -1
  212. package/dist/core/orm/relations/MorphMany.d.ts +0 -1
  213. package/dist/core/orm/relations/MorphMany.js +0 -1
  214. package/dist/core/orm/relations/MorphOne.d.ts +0 -1
  215. package/dist/core/orm/relations/MorphOne.js +0 -1
  216. package/dist/core/orm/relations/MorphTo.d.ts +0 -1
  217. package/dist/core/orm/relations/MorphTo.js +0 -1
  218. package/dist/core/schema/SQLDialect.d.ts +0 -1
  219. package/dist/core/schema/SQLDialect.js +0 -1
  220. package/dist/core/schema/SchemaBlueprint.d.ts +0 -1
  221. package/dist/core/schema/SchemaBlueprint.js +0 -1
  222. package/dist/core/schema/SchemaBuilder.d.ts +0 -1
  223. package/dist/core/schema/SchemaBuilder.js +0 -1
  224. package/dist/core/schema/SchemaValidator.d.ts +0 -1
  225. package/dist/core/schema/SchemaValidator.js +0 -1
  226. package/dist/core/security/AbstractSecurity.d.ts +0 -1
  227. package/dist/core/security/AbstractSecurity.js +0 -1
  228. package/dist/core/security/EnvKeySecurity.d.ts +0 -1
  229. package/dist/core/security/EnvKeySecurity.js +0 -1
  230. package/dist/core/security/NoSecurity.d.ts +0 -1
  231. package/dist/core/security/NoSecurity.js +0 -1
  232. package/dist/core/security/SecretRedactor.d.ts +0 -1
  233. package/dist/core/security/SecretRedactor.js +0 -1
  234. package/dist/core/security/SecurityContract.d.ts +0 -1
  235. package/dist/core/security/SecurityContract.js +0 -1
  236. package/dist/core/security/SecurityFactory.d.ts +0 -1
  237. package/dist/core/security/SecurityFactory.js +0 -1
  238. package/dist/core/security/index.d.ts +0 -1
  239. package/dist/core/security/index.js +0 -1
  240. package/dist/index.d.ts +0 -1
  241. package/dist/index.js +0 -1
  242. package/package.json +11 -6
  243. package/dist/Model.d.ts.map +0 -1
  244. package/dist/Model.js.map +0 -1
  245. package/dist/cli/commands/cacheClear.d.ts.map +0 -1
  246. package/dist/cli/commands/cacheClear.js.map +0 -1
  247. package/dist/cli/commands/cacheStats.d.ts.map +0 -1
  248. package/dist/cli/commands/cacheStats.js.map +0 -1
  249. package/dist/cli/commands/dbSeed.d.ts.map +0 -1
  250. package/dist/cli/commands/dbSeed.js.map +0 -1
  251. package/dist/cli/commands/dbSeedBootstrapPrecheck.d.ts.map +0 -1
  252. package/dist/cli/commands/dbSeedBootstrapPrecheck.js.map +0 -1
  253. package/dist/cli/commands/dbSeedFresh.d.ts.map +0 -1
  254. package/dist/cli/commands/dbSeedFresh.js.map +0 -1
  255. package/dist/cli/commands/demoScenario.d.ts.map +0 -1
  256. package/dist/cli/commands/demoScenario.js.map +0 -1
  257. package/dist/cli/commands/factoryStatus.d.ts.map +0 -1
  258. package/dist/cli/commands/factoryStatus.js.map +0 -1
  259. package/dist/cli/commands/makeController.d.ts.map +0 -1
  260. package/dist/cli/commands/makeController.js.map +0 -1
  261. package/dist/cli/commands/makeFactory.d.ts.map +0 -1
  262. package/dist/cli/commands/makeFactory.js.map +0 -1
  263. package/dist/cli/commands/makeMigration.d.ts.map +0 -1
  264. package/dist/cli/commands/makeMigration.js.map +0 -1
  265. package/dist/cli/commands/makeModel.d.ts.map +0 -1
  266. package/dist/cli/commands/makeModel.js.map +0 -1
  267. package/dist/cli/commands/makeRegistry.d.ts.map +0 -1
  268. package/dist/cli/commands/makeRegistry.js.map +0 -1
  269. package/dist/cli/commands/makeScenario.d.ts.map +0 -1
  270. package/dist/cli/commands/makeScenario.js.map +0 -1
  271. package/dist/cli/commands/makeSeed.d.ts.map +0 -1
  272. package/dist/cli/commands/makeSeed.js.map +0 -1
  273. package/dist/cli/commands/makeService.d.ts.map +0 -1
  274. package/dist/cli/commands/makeService.js.map +0 -1
  275. package/dist/cli/commands/migrateFresh.d.ts.map +0 -1
  276. package/dist/cli/commands/migrateFresh.js.map +0 -1
  277. package/dist/cli/commands/migrateReset.d.ts.map +0 -1
  278. package/dist/cli/commands/migrateReset.js.map +0 -1
  279. package/dist/cli/commands/migrateRollback.d.ts.map +0 -1
  280. package/dist/cli/commands/migrateRollback.js.map +0 -1
  281. package/dist/cli/commands/migrateRun.d.ts.map +0 -1
  282. package/dist/cli/commands/migrateRun.js.map +0 -1
  283. package/dist/cli/commands/migrateStatus.d.ts.map +0 -1
  284. package/dist/cli/commands/migrateStatus.js.map +0 -1
  285. package/dist/cli/eloquent.d.ts.map +0 -1
  286. package/dist/cli/eloquent.js.map +0 -1
  287. package/dist/cli/utils/ArtifactCompatibility.d.ts.map +0 -1
  288. package/dist/cli/utils/ArtifactCompatibility.js.map +0 -1
  289. package/dist/cli/utils/ArtifactRoutingReport.d.ts.map +0 -1
  290. package/dist/cli/utils/ArtifactRoutingReport.js.map +0 -1
  291. package/dist/cli/utils/ArtifactStorage.d.ts.map +0 -1
  292. package/dist/cli/utils/ArtifactStorage.js.map +0 -1
  293. package/dist/cli/utils/AuditTrail.d.ts.map +0 -1
  294. package/dist/cli/utils/AuditTrail.js.map +0 -1
  295. package/dist/cli/utils/CliActionRuntime.d.ts.map +0 -1
  296. package/dist/cli/utils/CliActionRuntime.js.map +0 -1
  297. package/dist/cli/utils/CliBootstrapSupport.d.ts.map +0 -1
  298. package/dist/cli/utils/CliBootstrapSupport.js.map +0 -1
  299. package/dist/cli/utils/CliCommandCatalog.d.ts.map +0 -1
  300. package/dist/cli/utils/CliCommandCatalog.js.map +0 -1
  301. package/dist/cli/utils/CliCommandTargets.d.ts.map +0 -1
  302. package/dist/cli/utils/CliCommandTargets.js.map +0 -1
  303. package/dist/cli/utils/CliMakeArtifactCommandRegistration.d.ts.map +0 -1
  304. package/dist/cli/utils/CliMakeArtifactCommandRegistration.js.map +0 -1
  305. package/dist/cli/utils/CliMigrationCommandRegistration.d.ts.map +0 -1
  306. package/dist/cli/utils/CliMigrationCommandRegistration.js.map +0 -1
  307. package/dist/cli/utils/CliPresentation.d.ts.map +0 -1
  308. package/dist/cli/utils/CliPresentation.js.map +0 -1
  309. package/dist/cli/utils/CliProductionGuards.d.ts.map +0 -1
  310. package/dist/cli/utils/CliProductionGuards.js.map +0 -1
  311. package/dist/cli/utils/CliScaffoldCommandRegistration.d.ts.map +0 -1
  312. package/dist/cli/utils/CliScaffoldCommandRegistration.js.map +0 -1
  313. package/dist/cli/utils/CliSeedScenarioCommandRegistration.d.ts.map +0 -1
  314. package/dist/cli/utils/CliSeedScenarioCommandRegistration.js.map +0 -1
  315. package/dist/cli/utils/CliSupportCommandRegistration.d.ts.map +0 -1
  316. package/dist/cli/utils/CliSupportCommandRegistration.js.map +0 -1
  317. package/dist/cli/utils/ConsoleSilencer.d.ts.map +0 -1
  318. package/dist/cli/utils/ConsoleSilencer.js.map +0 -1
  319. package/dist/cli/utils/ImportResolver.d.ts.map +0 -1
  320. package/dist/cli/utils/ImportResolver.js.map +0 -1
  321. package/dist/cli/utils/ModelIntrospector.d.ts.map +0 -1
  322. package/dist/cli/utils/ModelIntrospector.js.map +0 -1
  323. package/dist/cli/utils/PathMap.d.ts.map +0 -1
  324. package/dist/cli/utils/PathMap.js.map +0 -1
  325. package/dist/cli/utils/ProductionSafety.d.ts.map +0 -1
  326. package/dist/cli/utils/ProductionSafety.js.map +0 -1
  327. package/dist/cli/utils/ScaffoldGeneratorSupport.d.ts.map +0 -1
  328. package/dist/cli/utils/ScaffoldGeneratorSupport.js.map +0 -1
  329. package/dist/cli/utils/ScenarioMorphAliasRouting.d.ts.map +0 -1
  330. package/dist/cli/utils/ScenarioMorphAliasRouting.js.map +0 -1
  331. package/dist/cli/utils/SeedBootstrapPrecheck.d.ts.map +0 -1
  332. package/dist/cli/utils/SeedBootstrapPrecheck.js.map +0 -1
  333. package/dist/cli/utils/StructuredLogger.d.ts.map +0 -1
  334. package/dist/cli/utils/StructuredLogger.js.map +0 -1
  335. package/dist/cli/utils/TemplateEngine.d.ts.map +0 -1
  336. package/dist/cli/utils/TemplateEngine.js.map +0 -1
  337. package/dist/cli/utils/factories/Factory.d.ts.map +0 -1
  338. package/dist/cli/utils/factories/Factory.js.map +0 -1
  339. package/dist/cli/utils/factories/FactoryDisplay.d.ts.map +0 -1
  340. package/dist/cli/utils/factories/FactoryDisplay.js.map +0 -1
  341. package/dist/cli/utils/factories/FactoryGraph.d.ts.map +0 -1
  342. package/dist/cli/utils/factories/FactoryGraph.js.map +0 -1
  343. package/dist/cli/utils/factories/FactoryLoader.d.ts.map +0 -1
  344. package/dist/cli/utils/factories/FactoryLoader.js.map +0 -1
  345. package/dist/cli/utils/factories/FactoryRegistry.d.ts.map +0 -1
  346. package/dist/cli/utils/factories/FactoryRegistry.js.map +0 -1
  347. package/dist/cli/utils/fileWriter.d.ts.map +0 -1
  348. package/dist/cli/utils/fileWriter.js.map +0 -1
  349. package/dist/cli/utils/migrations/MigrationLockStrategy.d.ts.map +0 -1
  350. package/dist/cli/utils/migrations/MigrationLockStrategy.js.map +0 -1
  351. package/dist/cli/utils/migrations/MigrationTracker.d.ts.map +0 -1
  352. package/dist/cli/utils/migrations/MigrationTracker.js.map +0 -1
  353. package/dist/cli/utils/migrations/MongoMigrationTracker.d.ts.map +0 -1
  354. package/dist/cli/utils/migrations/MongoMigrationTracker.js.map +0 -1
  355. package/dist/cli/utils/resolveConnectionFlags.d.ts.map +0 -1
  356. package/dist/cli/utils/resolveConnectionFlags.js.map +0 -1
  357. package/dist/cli/utils/resolveSqlConnectionFlags.d.ts.map +0 -1
  358. package/dist/cli/utils/resolveSqlConnectionFlags.js.map +0 -1
  359. package/dist/cli/utils/typescript/BaseCommand.d.ts.map +0 -1
  360. package/dist/cli/utils/typescript/BaseCommand.js.map +0 -1
  361. package/dist/cli/utils/typescript/RuntimeDetector.d.ts.map +0 -1
  362. package/dist/cli/utils/typescript/RuntimeDetector.js.map +0 -1
  363. package/dist/cli/utils/typescript/TypeScriptCompiler.d.ts.map +0 -1
  364. package/dist/cli/utils/typescript/TypeScriptCompiler.js.map +0 -1
  365. package/dist/cli/utils/typescript/tsRuntime.d.ts.map +0 -1
  366. package/dist/cli/utils/typescript/tsRuntime.js.map +0 -1
  367. package/dist/config/database.d.ts.map +0 -1
  368. package/dist/config/database.js.map +0 -1
  369. package/dist/config/dbRoleEnv.d.ts.map +0 -1
  370. package/dist/config/dbRoleEnv.js.map +0 -1
  371. package/dist/core/cache/CacheAnalytics.d.ts.map +0 -1
  372. package/dist/core/cache/CacheAnalytics.js.map +0 -1
  373. package/dist/core/cache/CacheDriver.d.ts.map +0 -1
  374. package/dist/core/cache/CacheDriver.js.map +0 -1
  375. package/dist/core/cache/CacheFallbackManager.d.ts.map +0 -1
  376. package/dist/core/cache/CacheFallbackManager.js.map +0 -1
  377. package/dist/core/cache/CacheManager.d.ts.map +0 -1
  378. package/dist/core/cache/CacheManager.js.map +0 -1
  379. package/dist/core/cache/CacheRegistry.d.ts.map +0 -1
  380. package/dist/core/cache/CacheRegistry.js.map +0 -1
  381. package/dist/core/cache/drivers/FileCacheDriver.d.ts.map +0 -1
  382. package/dist/core/cache/drivers/FileCacheDriver.js.map +0 -1
  383. package/dist/core/cache/drivers/MemcachedCacheDriver.d.ts.map +0 -1
  384. package/dist/core/cache/drivers/MemcachedCacheDriver.js.map +0 -1
  385. package/dist/core/cache/drivers/MemoryCacheDriver.d.ts.map +0 -1
  386. package/dist/core/cache/drivers/MemoryCacheDriver.js.map +0 -1
  387. package/dist/core/cache/setupCache.d.ts.map +0 -1
  388. package/dist/core/cache/setupCache.js.map +0 -1
  389. package/dist/core/connection/BetterSqliteConnection.d.ts.map +0 -1
  390. package/dist/core/connection/BetterSqliteConnection.js.map +0 -1
  391. package/dist/core/connection/ConnectionFactory.d.ts.map +0 -1
  392. package/dist/core/connection/ConnectionFactory.js.map +0 -1
  393. package/dist/core/connection/DatabaseConnection.d.ts.map +0 -1
  394. package/dist/core/connection/DatabaseConnection.js.map +0 -1
  395. package/dist/core/connection/DriverAdapter.d.ts.map +0 -1
  396. package/dist/core/connection/DriverAdapter.js.map +0 -1
  397. package/dist/core/connection/resolveConnectionName.d.ts.map +0 -1
  398. package/dist/core/connection/resolveConnectionName.js.map +0 -1
  399. package/dist/core/model/BaseModel.d.ts.map +0 -1
  400. package/dist/core/model/BaseModel.js.map +0 -1
  401. package/dist/core/model/BaseModelSafeFinderStatics.d.ts.map +0 -1
  402. package/dist/core/model/BaseModelSafeFinderStatics.js.map +0 -1
  403. package/dist/core/model/CoreModel.d.ts.map +0 -1
  404. package/dist/core/model/CoreModel.js.map +0 -1
  405. package/dist/core/model/CoreModelPersistenceState.d.ts.map +0 -1
  406. package/dist/core/model/CoreModelPersistenceState.js.map +0 -1
  407. package/dist/core/model/CoreModelSafeFinderSupport.d.ts.map +0 -1
  408. package/dist/core/model/CoreModelSafeFinderSupport.js.map +0 -1
  409. package/dist/core/model/CoreModelValidationEvents.d.ts.map +0 -1
  410. package/dist/core/model/CoreModelValidationEvents.js.map +0 -1
  411. package/dist/core/model/SafeFinder.d.ts.map +0 -1
  412. package/dist/core/model/SafeFinder.js.map +0 -1
  413. package/dist/core/orm/Relation.d.ts.map +0 -1
  414. package/dist/core/orm/Relation.js.map +0 -1
  415. package/dist/core/orm/mixins/CastsMixin.d.ts.map +0 -1
  416. package/dist/core/orm/mixins/CastsMixin.js.map +0 -1
  417. package/dist/core/orm/mixins/EagerLoadingMixin.d.ts.map +0 -1
  418. package/dist/core/orm/mixins/EagerLoadingMixin.js.map +0 -1
  419. package/dist/core/orm/mixins/HooksMixin.d.ts.map +0 -1
  420. package/dist/core/orm/mixins/HooksMixin.js.map +0 -1
  421. package/dist/core/orm/mixins/MorphRegistry.d.ts.map +0 -1
  422. package/dist/core/orm/mixins/MorphRegistry.js.map +0 -1
  423. package/dist/core/orm/mixins/MorphableMixin.d.ts.map +0 -1
  424. package/dist/core/orm/mixins/MorphableMixin.js.map +0 -1
  425. package/dist/core/orm/mixins/PivotHelperMixin.d.ts.map +0 -1
  426. package/dist/core/orm/mixins/PivotHelperMixin.js.map +0 -1
  427. package/dist/core/orm/mixins/QueryCacheMixin.d.ts.map +0 -1
  428. package/dist/core/orm/mixins/QueryCacheMixin.js.map +0 -1
  429. package/dist/core/orm/mixins/ScopeMixin.d.ts.map +0 -1
  430. package/dist/core/orm/mixins/ScopeMixin.js.map +0 -1
  431. package/dist/core/orm/mixins/SerializeMixin.d.ts.map +0 -1
  432. package/dist/core/orm/mixins/SerializeMixin.js.map +0 -1
  433. package/dist/core/orm/mixins/SoftDeletesMixin.d.ts.map +0 -1
  434. package/dist/core/orm/mixins/SoftDeletesMixin.js.map +0 -1
  435. package/dist/core/orm/mixins/utils/BaseMethodResolver.d.ts.map +0 -1
  436. package/dist/core/orm/mixins/utils/BaseMethodResolver.js.map +0 -1
  437. package/dist/core/orm/mixins/utils/HookStore.d.ts.map +0 -1
  438. package/dist/core/orm/mixins/utils/HookStore.js.map +0 -1
  439. package/dist/core/orm/mixins/utils/ModelRegistry.d.ts.map +0 -1
  440. package/dist/core/orm/mixins/utils/ModelRegistry.js.map +0 -1
  441. package/dist/core/orm/mixins/utils/modelRegistration.d.ts.map +0 -1
  442. package/dist/core/orm/mixins/utils/modelRegistration.js.map +0 -1
  443. package/dist/core/orm/relations/BelongsTo.d.ts.map +0 -1
  444. package/dist/core/orm/relations/BelongsTo.js.map +0 -1
  445. package/dist/core/orm/relations/BelongsToMany.d.ts.map +0 -1
  446. package/dist/core/orm/relations/BelongsToMany.js.map +0 -1
  447. package/dist/core/orm/relations/HasMany.d.ts.map +0 -1
  448. package/dist/core/orm/relations/HasMany.js.map +0 -1
  449. package/dist/core/orm/relations/HasOne.d.ts.map +0 -1
  450. package/dist/core/orm/relations/HasOne.js.map +0 -1
  451. package/dist/core/orm/relations/MorphMany.d.ts.map +0 -1
  452. package/dist/core/orm/relations/MorphMany.js.map +0 -1
  453. package/dist/core/orm/relations/MorphOne.d.ts.map +0 -1
  454. package/dist/core/orm/relations/MorphOne.js.map +0 -1
  455. package/dist/core/orm/relations/MorphTo.d.ts.map +0 -1
  456. package/dist/core/orm/relations/MorphTo.js.map +0 -1
  457. package/dist/core/schema/SQLDialect.d.ts.map +0 -1
  458. package/dist/core/schema/SQLDialect.js.map +0 -1
  459. package/dist/core/schema/SchemaBlueprint.d.ts.map +0 -1
  460. package/dist/core/schema/SchemaBlueprint.js.map +0 -1
  461. package/dist/core/schema/SchemaBuilder.d.ts.map +0 -1
  462. package/dist/core/schema/SchemaBuilder.js.map +0 -1
  463. package/dist/core/schema/SchemaValidator.d.ts.map +0 -1
  464. package/dist/core/schema/SchemaValidator.js.map +0 -1
  465. package/dist/core/security/AbstractSecurity.d.ts.map +0 -1
  466. package/dist/core/security/AbstractSecurity.js.map +0 -1
  467. package/dist/core/security/EnvKeySecurity.d.ts.map +0 -1
  468. package/dist/core/security/EnvKeySecurity.js.map +0 -1
  469. package/dist/core/security/NoSecurity.d.ts.map +0 -1
  470. package/dist/core/security/NoSecurity.js.map +0 -1
  471. package/dist/core/security/SecretRedactor.d.ts.map +0 -1
  472. package/dist/core/security/SecretRedactor.js.map +0 -1
  473. package/dist/core/security/SecurityContract.d.ts.map +0 -1
  474. package/dist/core/security/SecurityContract.js.map +0 -1
  475. package/dist/core/security/SecurityFactory.d.ts.map +0 -1
  476. package/dist/core/security/SecurityFactory.js.map +0 -1
  477. package/dist/core/security/index.d.ts.map +0 -1
  478. package/dist/core/security/index.js.map +0 -1
  479. package/dist/index.d.ts.map +0 -1
  480. package/dist/index.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.0.2](https://github.com/MetalDz/Eloquent-ORM.js/compare/v1.0.1...v1.0.2) (2026-03-24)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * finalize publish metadata, docs discovery, and package trim ([2bfff0e](https://github.com/MetalDz/Eloquent-ORM.js/commit/2bfff0e9b266fc4c96b8efce7f13c217ea663db0))
7
+
1
8
  ## [1.0.1](https://github.com/MetalDz/Eloquent-ORM.js/compare/v1.0.0...v1.0.1) (2026-03-23)
2
9
 
3
10
 
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/getting-started/quick-start.mdx](docs/getting-started/quick-start.mdx)
214
- - [docs/runtime/crud.mdx](docs/runtime/crud.mdx)
215
- - [docs/runtime/querying.mdx](docs/runtime/querying.mdx)
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/main/SECURITY.md
package/dist/Model.d.ts CHANGED
@@ -1,2 +1 @@
1
1
  export { SqlModel, MongoModel, type ModelAttrs, type ModelInstance, } from "./core/model/BaseModel";
2
- //# sourceMappingURL=Model.d.ts.map
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
@@ -1,2 +1 @@
1
1
  export declare function cacheClear(): Promise<void>;
2
- //# sourceMappingURL=cacheClear.d.ts.map
@@ -66,4 +66,3 @@ async function cacheClear() {
66
66
  }
67
67
  }
68
68
  }
69
- //# sourceMappingURL=cacheClear.js.map
@@ -1,2 +1 @@
1
1
  export declare function cacheStats(): Promise<void>;
2
- //# sourceMappingURL=cacheStats.d.ts.map
@@ -52,4 +52,3 @@ async function cacheStats() {
52
52
  console.log(` fallback chain shutdown: ${shutdownSummary || "no-op"}`);
53
53
  }
54
54
  }
55
- //# sourceMappingURL=cacheStats.js.map
@@ -13,4 +13,3 @@ export declare function dbSeed(options: {
13
13
  silent?: boolean;
14
14
  noHooks?: boolean;
15
15
  }): Promise<void>;
16
- //# sourceMappingURL=dbSeed.d.ts.map
@@ -198,4 +198,3 @@ async function runSeederFile(filePath) {
198
198
  console.log(chalk_1.default.red(`Exported ${name} is not callable.`));
199
199
  }
200
200
  }
201
- //# sourceMappingURL=dbSeed.js.map
@@ -1,3 +1,2 @@
1
1
  import { type SeedBootstrapPrecheckOptions } from "../utils/SeedBootstrapPrecheck";
2
2
  export declare function dbSeedBootstrapPrecheck(options?: SeedBootstrapPrecheckOptions): Promise<void>;
3
- //# sourceMappingURL=dbSeedBootstrapPrecheck.d.ts.map
@@ -5,4 +5,3 @@ const SeedBootstrapPrecheck_1 = require("../utils/SeedBootstrapPrecheck");
5
5
  async function dbSeedBootstrapPrecheck(options = {}) {
6
6
  await (0, SeedBootstrapPrecheck_1.assertSeedBootstrapPrecheck)(options);
7
7
  }
8
- //# sourceMappingURL=dbSeedBootstrapPrecheck.js.map
@@ -11,4 +11,3 @@ export declare function dbSeedFresh(options?: {
11
11
  noHooks?: boolean;
12
12
  connectionNames?: ConnectionName[];
13
13
  }): Promise<void>;
14
- //# sourceMappingURL=dbSeedFresh.d.ts.map
@@ -78,4 +78,3 @@ async function dbSeedFresh(options) {
78
78
  }
79
79
  }
80
80
  }
81
- //# sourceMappingURL=dbSeedFresh.js.map
@@ -6,4 +6,3 @@ type DemoScenarioOptions = {
6
6
  };
7
7
  export declare function demoScenario(options?: DemoScenarioOptions): Promise<void>;
8
8
  export {};
9
- //# sourceMappingURL=demoScenario.d.ts.map
@@ -182,4 +182,3 @@ async function pickRandomMongoUser(collection) {
182
182
  const sampled = await collection.aggregate([{ $sample: { size: 1 } }]).toArray();
183
183
  return sampled[0] ?? null;
184
184
  }
185
- //# sourceMappingURL=demoScenario.js.map
@@ -6,4 +6,3 @@ export declare function factoryStatus(options?: {
6
6
  details?: boolean;
7
7
  graph?: boolean;
8
8
  }, _command?: unknown): Promise<void>;
9
- //# sourceMappingURL=factoryStatus.d.ts.map
@@ -100,4 +100,3 @@ async function factoryStatus(options, _command) {
100
100
  }
101
101
  }
102
102
  }
103
- //# sourceMappingURL=factoryStatus.js.map
@@ -8,4 +8,3 @@ export declare function makeController(modelName: string, options?: {
8
8
  test?: boolean;
9
9
  force?: boolean;
10
10
  }): Promise<void>;
11
- //# sourceMappingURL=makeController.d.ts.map
@@ -58,4 +58,3 @@ async function makeController(modelName, options = {}) {
58
58
  (0, ScaffoldGeneratorSupport_1.logScaffoldFailure)("controller", modelName, err);
59
59
  }
60
60
  }
61
- //# sourceMappingURL=makeController.js.map
@@ -11,4 +11,3 @@ type MakeFactoryOptions = {
11
11
  */
12
12
  export declare function makeFactory(factoryName: string, options?: MakeFactoryOptions): Promise<void>;
13
13
  export {};
14
- //# sourceMappingURL=makeFactory.d.ts.map
@@ -180,4 +180,3 @@ async function makeFactory(factoryName, options = {}) {
180
180
  }
181
181
  }
182
182
  }
183
- //# sourceMappingURL=makeFactory.js.map
@@ -15,4 +15,3 @@ interface MigrationOptions {
15
15
  */
16
16
  export declare function makeMigration(modelName: string, options?: MigrationOptions): Promise<void>;
17
17
  export {};
18
- //# sourceMappingURL=makeMigration.d.ts.map
@@ -493,4 +493,3 @@ export async function down(db: { query(sql: string): Promise<void> }) {
493
493
  process.exit(0);
494
494
  }
495
495
  }
496
- //# sourceMappingURL=makeMigration.js.map
@@ -17,4 +17,3 @@ interface ModelOptions {
17
17
  */
18
18
  export declare function makeModel(name: string, options?: ModelOptions): Promise<void>;
19
19
  export {};
20
- //# sourceMappingURL=makeModel.d.ts.map
@@ -357,4 +357,3 @@ export async function down(db: { query(sql: string): Promise<void> }) {
357
357
  }
358
358
  }
359
359
  }
360
- //# sourceMappingURL=makeModel.js.map
@@ -4,4 +4,3 @@ type RegistryOptions = {
4
4
  };
5
5
  export declare function makeRegistry(options?: RegistryOptions): Promise<void>;
6
6
  export {};
7
- //# sourceMappingURL=makeRegistry.d.ts.map
@@ -85,4 +85,3 @@ async function makeRegistry(options = {}) {
85
85
  console.error(err);
86
86
  }
87
87
  }
88
- //# sourceMappingURL=makeRegistry.js.map
@@ -9,4 +9,3 @@ type ScenarioOptions = {
9
9
  };
10
10
  export declare function makeScenario(name: string, options?: ScenarioOptions): Promise<void>;
11
11
  export {};
12
- //# sourceMappingURL=makeScenario.d.ts.map
@@ -636,4 +636,3 @@ export async function ${preset.seedName}() {
636
636
  }
637
637
  console.log(chalk_1.default.greenBright("\nScenario generation complete.\n"));
638
638
  }
639
- //# sourceMappingURL=makeScenario.js.map
@@ -8,4 +8,3 @@ export declare function makeSeed(name: string, options?: {
8
8
  force?: boolean;
9
9
  mongo?: boolean;
10
10
  }): Promise<void>;
11
- //# sourceMappingURL=makeSeed.d.ts.map
@@ -44,4 +44,3 @@ async function makeSeed(name, options) {
44
44
  console.error(chalk_1.default.red(err.message));
45
45
  }
46
46
  }
47
- //# sourceMappingURL=makeSeed.js.map
@@ -2,4 +2,3 @@ export declare function makeService(modelName: string, options?: {
2
2
  test?: boolean;
3
3
  force?: boolean;
4
4
  }): Promise<void>;
5
- //# sourceMappingURL=makeService.d.ts.map
@@ -28,4 +28,3 @@ async function makeService(modelName, options = {}) {
28
28
  (0, ScaffoldGeneratorSupport_1.logScaffoldFailure)("service", modelName, err);
29
29
  }
30
30
  }
31
- //# sourceMappingURL=makeService.js.map
@@ -11,4 +11,3 @@ export type MigrateFreshOptions = {
11
11
  auditCommand?: string;
12
12
  };
13
13
  export declare function migrateFresh(options?: MigrateFreshOptions): Promise<void>;
14
- //# sourceMappingURL=migrateFresh.d.ts.map
@@ -147,4 +147,3 @@ async function confirmDangerousAction() {
147
147
  });
148
148
  });
149
149
  }
150
- //# sourceMappingURL=migrateFresh.js.map
@@ -9,4 +9,3 @@ export type MigrateResetOptions = {
9
9
  * Rolls back all migrations completely (every batch).
10
10
  */
11
11
  export declare function migrateReset(options?: MigrateResetOptions): Promise<void>;
12
- //# sourceMappingURL=migrateReset.d.ts.map
@@ -25,4 +25,3 @@ async function migrateReset(options = {}) {
25
25
  auditCommand: "migrate:reset",
26
26
  });
27
27
  }
28
- //# sourceMappingURL=migrateReset.js.map
@@ -7,4 +7,3 @@ export type MigrateRollbackOptions = {
7
7
  auditCommand?: string;
8
8
  };
9
9
  export declare function migrateRollback(options?: MigrateRollbackOptions): Promise<void>;
10
- //# sourceMappingURL=migrateRollback.d.ts.map
@@ -300,4 +300,3 @@ async function migrateRollback(options = {}) {
300
300
  process.exitCode = 1;
301
301
  }
302
302
  }
303
- //# sourceMappingURL=migrateRollback.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
@@ -298,4 +298,3 @@ async function migrateRun(isTest = false, modelName, dryRun = false, exitOnFinis
298
298
  }
299
299
  exitCli();
300
300
  }
301
- //# sourceMappingURL=migrateRun.js.map
@@ -5,4 +5,3 @@ export type MigrateStatusOptions = {
5
5
  allMigrations?: boolean;
6
6
  };
7
7
  export declare function migrateStatus(options?: MigrateStatusOptions | boolean): Promise<void>;
8
- //# sourceMappingURL=migrateStatus.d.ts.map
@@ -115,4 +115,3 @@ async function migrateStatus(options = {}) {
115
115
  if (hadFailure)
116
116
  process.exitCode = 1;
117
117
  }
118
- //# sourceMappingURL=migrateStatus.js.map
@@ -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
@@ -184,4 +184,3 @@ async function placeholder() {
184
184
  console.log("This command is not yet implemented.");
185
185
  }
186
186
  autoRunCliIfMain();
187
- //# sourceMappingURL=eloquent.js.map
@@ -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
@@ -57,4 +57,3 @@ function describeArtifactCompatibilityMismatch(artifactKind, targetKind) {
57
57
  return `${artifactKind} artifacts are compatible with ${targetKind}-targeted flows`;
58
58
  }
59
59
  }
60
- //# sourceMappingURL=ArtifactCompatibility.js.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
@@ -22,4 +22,3 @@ function summarizeSkippedArtifacts(label, decisions, targetKind) {
22
22
  .join("; ");
23
23
  return `Skipping incompatible ${pluralLabel} for ${targetKind}: ${details}`;
24
24
  }
25
- //# sourceMappingURL=ArtifactRoutingReport.js.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
@@ -71,4 +71,3 @@ function appendAuditEvent(input, env = process.env) {
71
71
  // Audit log failures must not block migrations/seeding commands.
72
72
  }
73
73
  }
74
- //# sourceMappingURL=AuditTrail.js.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
@@ -19,4 +19,3 @@ async function runCliAction(action, renderError = defaultCliActionErrorRenderer)
19
19
  return undefined;
20
20
  }
21
21
  }
22
- //# sourceMappingURL=CliActionRuntime.js.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
@@ -52,4 +52,3 @@ function shouldAutoLoadFactoriesForCli(argv) {
52
52
  }
53
53
  return false;
54
54
  }
55
- //# sourceMappingURL=CliBootstrapSupport.js.map
@@ -3,4 +3,3 @@ export type CliCommandCatalogEntry = {
3
3
  Description: string;
4
4
  };
5
5
  export declare const CLI_COMMAND_CATALOG: CliCommandCatalogEntry[];
6
- //# sourceMappingURL=CliCommandCatalog.d.ts.map
@@ -75,4 +75,3 @@ exports.CLI_COMMAND_CATALOG = [
75
75
  { Command: "cache:stats", Description: "(no options)" },
76
76
  { Command: "list", Description: "(no options)" },
77
77
  ];
78
- //# sourceMappingURL=CliCommandCatalog.js.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
@@ -16,4 +16,3 @@ function resolveCliConnectionNames(options, resolveOptions = {}) {
16
16
  function resolveCliPrimaryConnectionName(options, resolveOptions = {}) {
17
17
  return resolveCliConnectionNames(options, resolveOptions)[0];
18
18
  }
19
- //# sourceMappingURL=CliCommandTargets.js.map
@@ -1,3 +1,2 @@
1
1
  import type { Command } from "commander";
2
2
  export declare function registerCliMakeArtifactCommands(program: Command): void;
3
- //# sourceMappingURL=CliMakeArtifactCommandRegistration.d.ts.map
@@ -91,4 +91,3 @@ function registerCliMakeArtifactCommands(program) {
91
91
  });
92
92
  });
93
93
  }
94
- //# sourceMappingURL=CliMakeArtifactCommandRegistration.js.map
@@ -1,3 +1,2 @@
1
1
  import type { Command } from "commander";
2
2
  export declare function registerCliMigrationCommands(program: Command): void;
3
- //# sourceMappingURL=CliMigrationCommandRegistration.d.ts.map