@zintrust/core 3.1.1 → 3.1.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.
Files changed (415) hide show
  1. package/package.json +24 -16
  2. package/src/auth/LoginFlow.d.ts +1 -1
  3. package/src/auth-index.d.ts +3 -3
  4. package/src/boot/Application.d.ts +1 -1
  5. package/src/boot/Server.d.ts +3 -3
  6. package/src/boot/registry/registerRoute.d.ts +1 -1
  7. package/src/boot/registry/runtime.d.ts +2 -2
  8. package/src/boot/registry/type.d.ts +3 -3
  9. package/src/boot/registry/worker.d.ts +1 -1
  10. package/src/bootstrap/service-manifest.d.ts +1 -1
  11. package/src/cache/Cache.d.ts +1 -1
  12. package/src/cache/CacheDriverRegistry.d.ts +2 -2
  13. package/src/cache/CacheRuntimeRegistration.d.ts +1 -1
  14. package/src/cache/drivers/KVDriver.d.ts +1 -1
  15. package/src/cache/drivers/KVRemoteDriver.d.ts +1 -1
  16. package/src/cache/drivers/MemoryDriver.d.ts +1 -1
  17. package/src/cache/drivers/MongoDriver.d.ts +1 -1
  18. package/src/cache/drivers/RedisDriver.d.ts +1 -1
  19. package/src/cli/cloudflare/CloudflareSecretSync.js +1 -1
  20. package/src/cli/cloudflare/CloudflareWranglerDevEnv.js +1 -1
  21. package/src/cli/commands/AddCommand.d.ts +2 -2
  22. package/src/cli/commands/BroadcastWorkCommand.d.ts +1 -1
  23. package/src/cli/commands/BroadcastWorkCommand.js +1 -1
  24. package/src/cli/commands/BulletproofKeyGenerateCommand.d.ts +1 -1
  25. package/src/cli/commands/ConfigCommand.d.ts +1 -1
  26. package/src/cli/commands/ContainerComposeLifecycle.js +1 -1
  27. package/src/cli/commands/ContainerProxiesCommand.d.ts +1 -1
  28. package/src/cli/commands/ContainerProxiesCommand.js +2 -2
  29. package/src/cli/commands/ContainerWorkersCommand.d.ts +1 -1
  30. package/src/cli/commands/ContainerWorkersCommand.js +2 -2
  31. package/src/cli/commands/CreateCommand.d.ts +1 -1
  32. package/src/cli/commands/D1LearnCommand.d.ts +1 -1
  33. package/src/cli/commands/D1MigrateCommand.d.ts +1 -1
  34. package/src/cli/commands/D1ProxyCommand.d.ts +1 -1
  35. package/src/cli/commands/D1ProxyCommand.js +2 -2
  36. package/src/cli/commands/DbSeedCommand.d.ts +1 -1
  37. package/src/cli/commands/DebugCommand.d.ts +1 -1
  38. package/src/cli/commands/DeployCommand.d.ts +1 -1
  39. package/src/cli/commands/DeployContainerProxiesCommand.d.ts +1 -1
  40. package/src/cli/commands/DeployContainerProxiesCommand.js +1 -1
  41. package/src/cli/commands/DeployContainerWorkersCommand.d.ts +1 -1
  42. package/src/cli/commands/DeployContainerWorkersCommand.js +1 -1
  43. package/src/cli/commands/DeployContainersProxyCommand.d.ts +1 -1
  44. package/src/cli/commands/DockerCommand.d.ts +1 -1
  45. package/src/cli/commands/DockerCommand.js +1 -1
  46. package/src/cli/commands/DockerPushCommand.d.ts +1 -1
  47. package/src/cli/commands/DoctorArchitectureCommand.d.ts +1 -1
  48. package/src/cli/commands/EmailProxyCommand.d.ts +1 -1
  49. package/src/cli/commands/EmailProxyCommand.js +2 -2
  50. package/src/cli/commands/EnvKeyGenerateCommand.d.ts +1 -1
  51. package/src/cli/commands/FixCommand.d.ts +1 -1
  52. package/src/cli/commands/InitContainerCommand.d.ts +1 -1
  53. package/src/cli/commands/InitContainersProxyCommand.d.ts +1 -1
  54. package/src/cli/commands/InitEcosystemCommand.d.ts +1 -1
  55. package/src/cli/commands/InitProducerCommand.d.ts +1 -1
  56. package/src/cli/commands/InitProxyCommand.d.ts +1 -1
  57. package/src/cli/commands/JwtDevCommand.d.ts +1 -1
  58. package/src/cli/commands/KeyGenerateCommand.d.ts +1 -1
  59. package/src/cli/commands/KvProxyCommand.d.ts +1 -1
  60. package/src/cli/commands/KvProxyCommand.js +2 -2
  61. package/src/cli/commands/LogsCleanupCommand.d.ts +1 -1
  62. package/src/cli/commands/LogsCommand.d.ts +1 -1
  63. package/src/cli/commands/MakeMailTemplateCommand.d.ts +1 -1
  64. package/src/cli/commands/MakeNotificationTemplateCommand.d.ts +1 -1
  65. package/src/cli/commands/MigrateCommand.d.ts +1 -1
  66. package/src/cli/commands/MigrateWorkerCommand.d.ts +1 -1
  67. package/src/cli/commands/MongoDBProxyCommand.js +1 -1
  68. package/src/cli/commands/MySqlProxyCommand.d.ts +1 -1
  69. package/src/cli/commands/MySqlProxyCommand.js +2 -2
  70. package/src/cli/commands/NewCommand.d.ts +1 -1
  71. package/src/cli/commands/NotificationWorkCommand.d.ts +1 -1
  72. package/src/cli/commands/NotificationWorkCommand.js +1 -1
  73. package/src/cli/commands/PluginCommand.d.ts +1 -1
  74. package/src/cli/commands/PostgresProxyCommand.d.ts +1 -1
  75. package/src/cli/commands/PostgresProxyCommand.js +2 -2
  76. package/src/cli/commands/PrepareCommand.d.ts +1 -1
  77. package/src/cli/commands/ProxyCommand.d.ts +8 -8
  78. package/src/cli/commands/PublishCommand.d.ts +1 -1
  79. package/src/cli/commands/PutCommand.d.ts +1 -1
  80. package/src/cli/commands/QACommand.d.ts +1 -1
  81. package/src/cli/commands/QueueCommand.d.ts +1 -1
  82. package/src/cli/commands/QueueCommand.js +2 -2
  83. package/src/cli/commands/QueueRecoveryCommand.d.ts +1 -1
  84. package/src/cli/commands/QueueWorkCommandUtils.d.ts +1 -1
  85. package/src/cli/commands/RedisProxyCommand.d.ts +1 -1
  86. package/src/cli/commands/RedisProxyCommand.js +1 -1
  87. package/src/cli/commands/RedisRpcCommand.d.ts +1 -1
  88. package/src/cli/commands/RedisRpcCommand.js +1 -1
  89. package/src/cli/commands/ResourceControlCommand.d.ts +1 -1
  90. package/src/cli/commands/RoutesCommand.d.ts +1 -1
  91. package/src/cli/commands/ScheduleListCommand.d.ts +1 -1
  92. package/src/cli/commands/ScheduleListCommand.js +1 -1
  93. package/src/cli/commands/ScheduleRunCommand.d.ts +1 -1
  94. package/src/cli/commands/ScheduleRunCommand.js +1 -1
  95. package/src/cli/commands/ScheduleStartCommand.d.ts +1 -1
  96. package/src/cli/commands/ScheduleStartCommand.js +1 -1
  97. package/src/cli/commands/SecretsCommand.d.ts +1 -1
  98. package/src/cli/commands/SimulateCommand.d.ts +1 -1
  99. package/src/cli/commands/SmtpProxyCommand.d.ts +1 -1
  100. package/src/cli/commands/SmtpProxyCommand.js +1 -1
  101. package/src/cli/commands/SqlProxyCommandUtils.d.ts +1 -1
  102. package/src/cli/commands/SqlProxyCommandUtils.js +1 -1
  103. package/src/cli/commands/SqlServerProxyCommand.js +1 -1
  104. package/src/cli/commands/StartCommand.d.ts +1 -1
  105. package/src/cli/commands/StartCommand.js +1 -1
  106. package/src/cli/commands/TemplatesCommand.d.ts +1 -1
  107. package/src/cli/commands/TraceCommand.d.ts +1 -1
  108. package/src/cli/commands/TraceCommand.js +2 -2
  109. package/src/cli/commands/TraceCommands.d.ts +1 -1
  110. package/src/cli/commands/UpgradeCommand.d.ts +1 -1
  111. package/src/cli/commands/WorkerCommands.d.ts +1 -1
  112. package/src/cli/commands/WranglerDevVarsCommand.d.ts +1 -1
  113. package/src/cli/commands/WranglerProxyCommandUtils.d.ts +1 -1
  114. package/src/cli/commands/WranglerProxyCommandUtils.js +2 -2
  115. package/src/cli/commands/createKindWorkCommand.d.ts +2 -2
  116. package/src/cli/commands/createKindWorkCommand.js +1 -1
  117. package/src/cli/commands/index.d.ts +27 -27
  118. package/src/cli/commands/index.js +27 -27
  119. package/src/cli/config/ConfigManager.d.ts +1 -1
  120. package/src/cli/config/ConfigManager.js +1 -1
  121. package/src/cli/config/ConfigValidator.d.ts +1 -1
  122. package/src/cli/config/ConfigValidator.js +1 -1
  123. package/src/cli/config/index.d.ts +3 -3
  124. package/src/cli/config/index.js +3 -3
  125. package/src/cli/d1/LocalD1Resolver.d.ts +1 -1
  126. package/src/cli/d1/LocalD1Resolver.js +2 -2
  127. package/src/cli/d1/WranglerD1.d.ts +1 -1
  128. package/src/cli/index.d.ts +18 -18
  129. package/src/cli/scaffolding/ControllerGenerator.js +2 -2
  130. package/src/cli/scaffolding/FactoryGenerator.js +1 -1
  131. package/src/cli/scaffolding/FeatureScaffolder.js +5 -5
  132. package/src/cli/scaffolding/GovernanceScaffolder.js +4 -4
  133. package/src/cli/scaffolding/MigrationGenerator.js +2 -2
  134. package/src/cli/scaffolding/ModelGenerator.js +1 -1
  135. package/src/cli/scaffolding/ProjectScaffolder.js +2 -2
  136. package/src/cli/scaffolding/RequestFactoryGenerator.js +1 -1
  137. package/src/cli/scaffolding/ResponseFactoryGenerator.js +1 -1
  138. package/src/cli/scaffolding/RouteGenerator.js +1 -1
  139. package/src/cli/scaffolding/SeederGenerator.js +7 -7
  140. package/src/cli/scaffolding/ServiceIntegrationTestGenerator.js +2 -2
  141. package/src/cli/scaffolding/ServiceRequestFactoryGenerator.js +1 -1
  142. package/src/cli/scaffolding/ServiceScaffolder.js +1 -1
  143. package/src/cli/scaffolding/TemplateGenerator.js +1 -1
  144. package/src/cli/scaffolding/WorkflowGenerator.js +1 -1
  145. package/src/cli/scaffolding/index.d.ts +33 -33
  146. package/src/cli/scaffolding/index.js +17 -17
  147. package/src/cli/services/VersionChecker.d.ts +1 -1
  148. package/src/cli/utils/DatabaseCliUtils.d.ts +2 -2
  149. package/src/cli-index.d.ts +11 -11
  150. package/src/cli.d.ts +8 -8
  151. package/src/cloudflare-index.d.ts +1 -1
  152. package/src/collections/index.d.ts +2 -2
  153. package/src/common/ExternalServiceUtils.d.ts +1 -1
  154. package/src/common/HealthRoutes.d.ts +1 -1
  155. package/src/common/index.d.ts +1 -1
  156. package/src/config/SecretsManager.d.ts +1 -1
  157. package/src/config/StartupConfigValidator.d.ts +1 -1
  158. package/src/config/app.d.ts +1 -1
  159. package/src/config/broadcast.d.ts +2 -2
  160. package/src/config/cache.d.ts +1 -1
  161. package/src/config/cloudflare.d.ts +2 -2
  162. package/src/config/database.d.ts +1 -1
  163. package/src/config/env.d.ts +1 -1
  164. package/src/config/features.d.ts +1 -1
  165. package/src/config/index.d.ts +31 -31
  166. package/src/config/logger.d.ts +1 -1
  167. package/src/config/mail.d.ts +1 -1
  168. package/src/config/middleware.d.ts +3 -3
  169. package/src/config/notification.d.ts +1 -1
  170. package/src/config/queue.d.ts +1 -1
  171. package/src/config/redis.d.ts +2 -2
  172. package/src/config/storage.d.ts +1 -1
  173. package/src/config/type.d.ts +2 -2
  174. package/src/config/workers.d.ts +2 -2
  175. package/src/config-index.d.ts +35 -35
  176. package/src/constants-index.d.ts +2 -2
  177. package/src/database-index.d.ts +13 -13
  178. package/src/errors-index.d.ts +2 -2
  179. package/src/events/index.d.ts +2 -2
  180. package/src/health/StartupHealthChecks.d.ts +1 -1
  181. package/src/helper/index.d.ts +1 -1
  182. package/src/http/Controller.d.ts +2 -2
  183. package/src/http/FileUpload.d.ts +2 -2
  184. package/src/http/Kernel.d.ts +7 -7
  185. package/src/http/Request.d.ts +3 -3
  186. package/src/http/RequestContext.d.ts +1 -1
  187. package/src/http/RequestContext.d.ts.map +1 -1
  188. package/src/http/RequestContext.js +14 -3
  189. package/src/http/Response.d.ts +1 -1
  190. package/src/http/ValidationHelper.d.ts +1 -1
  191. package/src/http/error-pages/ErrorPageRenderer.d.ts +1 -1
  192. package/src/http/middleware/BodyParsingMiddleware.d.ts +2 -2
  193. package/src/http/middleware/FileUploadMiddleware.d.ts +1 -1
  194. package/src/http/parsers/MultipartParser.d.ts +1 -1
  195. package/src/http/parsers/MultipartParserRegistry.d.ts +2 -2
  196. package/src/http/validated.d.ts +1 -1
  197. package/src/http-index.d.ts +8 -8
  198. package/src/index.d.ts +215 -215
  199. package/src/index.js +3 -3
  200. package/src/lang-index.d.ts +1 -1
  201. package/src/logger-index.d.ts +1 -1
  202. package/src/mail-index.d.ts +7 -7
  203. package/src/microservices/MicroserviceGenerator.js +1 -1
  204. package/src/microservices/RequestTracingMiddleware.d.ts +2 -2
  205. package/src/microservices/ServiceAuthMiddleware.d.ts +2 -2
  206. package/src/microservices/ServiceHealthMonitor.d.ts +2 -2
  207. package/src/microservices/ServiceManifest.d.ts +1 -1
  208. package/src/microservices-index.d.ts +2 -2
  209. package/src/middleware/AuthMiddleware.d.ts +2 -2
  210. package/src/middleware/BulletproofAuthMiddleware.d.ts +5 -5
  211. package/src/middleware/CsrfMiddleware.d.ts +2 -2
  212. package/src/middleware/ErrorHandlerMiddleware.d.ts +2 -2
  213. package/src/middleware/JwtAuthMiddleware.d.ts +3 -3
  214. package/src/middleware/LoggingMiddleware.d.ts +1 -1
  215. package/src/middleware/MiddlewareFailureResponder.d.ts +3 -3
  216. package/src/middleware/MiddlewareStack.d.ts +2 -2
  217. package/src/middleware/RateLimiter.d.ts +3 -3
  218. package/src/middleware/SanitizeBodyMiddleware.d.ts +1 -1
  219. package/src/middleware/SecurityMiddleware.d.ts +1 -1
  220. package/src/middleware/SessionMiddleware.d.ts +2 -2
  221. package/src/middleware/ValidationMiddleware.d.ts +3 -3
  222. package/src/middleware/index.d.ts +8 -8
  223. package/src/middleware-index.d.ts +1 -1
  224. package/src/migrations/MigrationLoader.d.ts +1 -1
  225. package/src/migrations/Migrator.d.ts +3 -3
  226. package/src/migrations/MigratorFactory.d.ts +1 -1
  227. package/src/migrations/schema/Blueprint.d.ts +1 -1
  228. package/src/migrations/schema/Schema.d.ts +2 -2
  229. package/src/migrations/schema/Schema.js +2 -2
  230. package/src/migrations/schema/SchemaCompiler.d.ts +1 -1
  231. package/src/migrations/schema/index.d.ts +4 -4
  232. package/src/migrations/schema/index.js +3 -3
  233. package/src/migrations/schema/types.d.ts +1 -1
  234. package/src/migrations/types.d.ts +1 -1
  235. package/src/node-singletons/index.d.ts +15 -15
  236. package/src/node.d.ts +13 -13
  237. package/src/openapi/OpenApiGenerator.d.ts +1 -1
  238. package/src/orm/ConnectionManager.d.ts +2 -2
  239. package/src/orm/Database.d.ts +3 -3
  240. package/src/orm/DatabaseAdapter.d.ts +1 -1
  241. package/src/orm/DatabaseAdapterRegistry.d.ts +1 -1
  242. package/src/orm/DatabaseConnectionRegistry.d.ts +1 -1
  243. package/src/orm/DatabaseRuntimeRegistration.d.ts +1 -1
  244. package/src/orm/Model.d.ts +5 -3
  245. package/src/orm/Model.d.ts.map +1 -1
  246. package/src/orm/Model.js +2 -0
  247. package/src/orm/QueryBuilder.d.ts +5 -3
  248. package/src/orm/QueryBuilder.d.ts.map +1 -1
  249. package/src/orm/QueryBuilder.js +29 -0
  250. package/src/orm/QueryBuilderTypeSurface.fixture.d.ts +2 -2
  251. package/src/orm/QueryBuilderTypeSurface.fixture.d.ts.map +1 -1
  252. package/src/orm/QueryBuilderTypeSurface.fixture.js +4 -0
  253. package/src/orm/Relationships.d.ts +1 -1
  254. package/src/orm/SchemaCompiler.d.ts +2 -2
  255. package/src/orm/adapters/D1Adapter.d.ts +1 -1
  256. package/src/orm/adapters/D1Adapter.js +1 -1
  257. package/src/orm/adapters/D1ReadSession.d.ts +1 -1
  258. package/src/orm/adapters/D1RemoteAdapter.d.ts +1 -1
  259. package/src/orm/adapters/D1RemoteAdapter.js +2 -2
  260. package/src/orm/adapters/MongoDBProxyAdapter.d.ts +1 -1
  261. package/src/orm/adapters/MongoDBProxyAdapter.js +2 -2
  262. package/src/orm/adapters/MySQLAdapter.d.ts +1 -1
  263. package/src/orm/adapters/MySQLProxyAdapter.d.ts +1 -1
  264. package/src/orm/adapters/MySQLProxyAdapter.js +3 -3
  265. package/src/orm/adapters/PostgreSQLAdapter.d.ts +1 -1
  266. package/src/orm/adapters/PostgreSQLProxyAdapter.d.ts +1 -1
  267. package/src/orm/adapters/PostgreSQLProxyAdapter.js +3 -3
  268. package/src/orm/adapters/ProxyCache.d.ts +1 -1
  269. package/src/orm/adapters/ProxySignedRequest.js +1 -1
  270. package/src/orm/adapters/SQLServerAdapter.d.ts +1 -1
  271. package/src/orm/adapters/SQLiteAdapter.d.ts +1 -1
  272. package/src/orm/adapters/SqlProxyAdapterUtils.d.ts +1 -1
  273. package/src/orm/adapters/SqlProxyAdapterUtils.js +1 -1
  274. package/src/orm/adapters/SqlProxyHttpAdapterShared.d.ts +1 -1
  275. package/src/orm/adapters/SqlProxyHttpAdapterShared.js +2 -2
  276. package/src/orm/adapters/SqlProxyRegistryMode.js +1 -1
  277. package/src/orm/adapters/SqlServerProxyAdapter.d.ts +1 -1
  278. package/src/orm/adapters/SqlServerProxyAdapter.js +3 -3
  279. package/src/orm/maintenance/SqliteMaintenance.d.ts +1 -1
  280. package/src/orm/migrations/MigrationStore.d.ts +2 -2
  281. package/src/orm-index.d.ts +18 -18
  282. package/src/profiling/MemoryProfiler.d.ts +1 -1
  283. package/src/profiling/N1Detector.d.ts +1 -1
  284. package/src/profiling/QueryLogger.d.ts +1 -1
  285. package/src/profiling/RequestProfiler.d.ts +4 -4
  286. package/src/proxy/CloudflareProxyShared.d.ts +2 -2
  287. package/src/proxy/ProxyRequestParsing.d.ts +1 -1
  288. package/src/proxy/ProxyServer.d.ts +2 -2
  289. package/src/proxy/ProxyServerUtils.d.ts +2 -2
  290. package/src/proxy/ProxySigningRequest.d.ts +2 -2
  291. package/src/proxy/SigningService.d.ts +1 -1
  292. package/src/proxy/SqlProxyServerDeps.d.ts +11 -11
  293. package/src/proxy/StatementRegistryResolver.d.ts +1 -1
  294. package/src/proxy/mysql/MySqlProxyServer.d.ts +2 -2
  295. package/src/proxy/postgres/PostgresProxyServer.d.ts +2 -2
  296. package/src/proxy/redis/RedisProxyServer.d.ts +1 -1
  297. package/src/proxy/sqlserver/SqlServerProxyServer.d.ts +2 -2
  298. package/src/proxy-index.d.ts +6 -6
  299. package/src/proxy.d.ts +6 -6
  300. package/src/queue-index.d.ts +9 -9
  301. package/src/redis-index.d.ts +5 -5
  302. package/src/routes/CoreRoutes.d.ts +1 -1
  303. package/src/routes/CoreRoutes.js +1 -1
  304. package/src/routes/RouteRegistry.d.ts +1 -1
  305. package/src/routes/Router.d.ts +3 -3
  306. package/src/routes/doc.d.ts +4 -4
  307. package/src/routes/error.d.ts +4 -4
  308. package/src/routes/errorPages.d.ts +2 -2
  309. package/src/routes/health.d.ts +1 -1
  310. package/src/routes/metrics.d.ts +1 -1
  311. package/src/routes/openapi.d.ts +1 -1
  312. package/src/runtime/PluginAutoImports.d.ts +1 -1
  313. package/src/runtime/PluginManager.d.ts +1 -1
  314. package/src/runtime/ProjectRuntime.d.ts +1 -1
  315. package/src/runtime/RuntimeAdapter.d.ts +1 -1
  316. package/src/runtime/WorkerProjectPlugins.d.ts +1 -1
  317. package/src/runtime/adapters/CloudflareAdapter.d.ts +1 -1
  318. package/src/runtime/adapters/DenoAdapter.d.ts +1 -1
  319. package/src/runtime/adapters/FargateAdapter.d.ts +2 -2
  320. package/src/runtime/adapters/LambdaAdapter.d.ts +1 -1
  321. package/src/runtime/adapters/NodeServerAdapter.d.ts +1 -1
  322. package/src/runtime/getKernel.d.ts +1 -1
  323. package/src/runtime-index.d.ts +95 -95
  324. package/src/scheduler/Schedule.d.ts +1 -1
  325. package/src/scheduler/ScheduleHttpGateway.d.ts +1 -1
  326. package/src/scheduler/ScheduleRunner.d.ts +2 -2
  327. package/src/scheduler/SchedulerRuntime.d.ts +3 -3
  328. package/src/scheduler/index.d.ts +2 -2
  329. package/src/scheduler-index.d.ts +9 -9
  330. package/src/schedules/index.d.ts +2 -2
  331. package/src/scripts/TemplateImportsCheck.js +1 -2
  332. package/src/scripts-index.d.ts +3 -3
  333. package/src/security/JwtManager.d.ts +1 -1
  334. package/src/security/JwtVerifier.d.ts +1 -1
  335. package/src/security/SecurePayload.d.ts +2 -2
  336. package/src/security-index.d.ts +22 -22
  337. package/src/seeders/SeederLoader.d.ts +1 -1
  338. package/src/seeders/types.d.ts +1 -1
  339. package/src/seeders-index.d.ts +3 -3
  340. package/src/session/index.d.ts +2 -2
  341. package/src/socket-index.d.ts +4 -4
  342. package/src/sockets/SocketRuntime.d.ts +4 -4
  343. package/src/sockets/SocketRuntimeRegistry.d.ts +1 -1
  344. package/src/start.d.ts +1 -1
  345. package/src/storage-index.d.ts +9 -9
  346. package/src/tasks.d.ts +1 -1
  347. package/src/templates-index.d.ts +1 -1
  348. package/src/testing/TestEnvironment.d.ts +3 -3
  349. package/src/testing/TestHttp.d.ts +2 -2
  350. package/src/testing/index.d.ts +4 -4
  351. package/src/testing/index.js +2 -2
  352. package/src/testing-index.d.ts +2 -2
  353. package/src/time/index.d.ts +2 -2
  354. package/src/toolkit/Secrets/index.d.ts +2 -2
  355. package/src/toolkit/Secrets/index.js +4 -4
  356. package/src/tools/broadcast/Broadcast.d.ts +2 -2
  357. package/src/tools/broadcast/Broadcast.js +1 -1
  358. package/src/tools/broadcast/BroadcastRegistry.d.ts +1 -1
  359. package/src/tools/broadcast/BroadcastRuntimeRegistration.d.ts +1 -1
  360. package/src/tools/broadcast/drivers/Pusher.d.ts +1 -1
  361. package/src/tools/broadcast/index.d.ts +9 -9
  362. package/src/tools/http/Http.d.ts +2 -2
  363. package/src/tools/http/index.d.ts +6 -6
  364. package/src/tools/mail/Mail.d.ts +1 -1
  365. package/src/tools/mail/drivers/Cloudflare.d.ts +1 -1
  366. package/src/tools/mail/drivers/Cloudflare.js +1 -1
  367. package/src/tools/mail/drivers/Smtp.d.ts +1 -1
  368. package/src/tools/mail/drivers/Smtp.js +1 -1
  369. package/src/tools/mail/index.d.ts +1 -1
  370. package/src/tools/mail/template-loader.d.ts +1 -1
  371. package/src/tools/notification/Notification.d.ts +2 -2
  372. package/src/tools/notification/NotificationChannelRegistry.d.ts +1 -1
  373. package/src/tools/notification/NotificationRuntimeRegistration.d.ts +1 -1
  374. package/src/tools/notification/drivers/SlackNotification.js +1 -1
  375. package/src/tools/notification/drivers/TwilioNotification.js +1 -1
  376. package/src/tools/notification/templates/markdown/index.d.ts +1 -1
  377. package/src/tools/notification/templates/markdown/index.js +1 -1
  378. package/src/tools/notification/templates/markdown/registry.d.ts +1 -1
  379. package/src/tools/notification/templates/markdown/registry.js +1 -1
  380. package/src/tools/queue/AdvancedQueue.d.ts +3 -3
  381. package/src/tools/queue/DeduplicationBuilder.d.ts +1 -1
  382. package/src/tools/queue/IdempotencyManager.d.ts +1 -1
  383. package/src/tools/queue/JobRecoveryDaemon.d.ts +1 -1
  384. package/src/tools/queue/JobStateTrackerDbPersistence.d.ts +1 -1
  385. package/src/tools/queue/LockProvider.d.ts +1 -1
  386. package/src/tools/queue/Queue.d.ts +1 -1
  387. package/src/tools/queue/QueueExtensions.d.ts +3 -3
  388. package/src/tools/queue/QueueExtensions.js +1 -1
  389. package/src/tools/queue/QueueRuntimeRegistration.d.ts +1 -1
  390. package/src/tools/queue/QueueRuntimeRegistration.js +5 -5
  391. package/src/tools/queue/drivers/Database.d.ts +1 -1
  392. package/src/tools/queue/drivers/InMemory.d.ts +1 -1
  393. package/src/tools/queue/drivers/Redis.d.ts +1 -1
  394. package/src/tools/queue/index.d.ts +15 -15
  395. package/src/tools/redis/RedisTransport.d.ts +1 -1
  396. package/src/tools/storage/StorageRuntimeRegistration.d.ts +1 -1
  397. package/src/tools/storage/drivers/R2.js +1 -1
  398. package/src/tools/storage/index.d.ts +1 -1
  399. package/src/tools/templates/index.d.ts +1 -1
  400. package/src/tools-broadcast-index.d.ts +4 -4
  401. package/src/tools-http-index.d.ts +2 -2
  402. package/src/tools-index.d.ts +22 -22
  403. package/src/tools-mail-index.d.ts +12 -12
  404. package/src/tools-notification-index.d.ts +7 -7
  405. package/src/tools-queue-index.d.ts +17 -17
  406. package/src/tools-storage-index.d.ts +9 -9
  407. package/src/trace-index.d.ts +1 -1
  408. package/src/utils-index.d.ts +4 -4
  409. package/src/validation/Validator.d.ts +2 -2
  410. package/src/worker-commands.d.ts +1 -1
  411. package/src/worker-runtime/drain.d.ts +1 -1
  412. package/src/worker-runtime/install-enqueue-hook.d.ts +2 -2
  413. package/src/worker-runtime/ping.d.ts +2 -2
  414. package/src/worker-runtime.d.ts +4 -4
  415. package/src/workers-index.d.ts +4 -4
@@ -1,30 +1,30 @@
1
1
  /**
2
2
  * CLI Commands Module Index
3
3
  */
4
- export { AddCommand } from '../commands/AddCommand.js';
5
- export { BroadcastWorkCommand } from '../commands/BroadcastWorkCommand.js';
6
- export { ConfigCommand } from '../commands/ConfigCommand.js';
7
- export { ContainerWorkersCommand } from '../commands/ContainerWorkersCommand.js';
8
- export { AddMigrationCommand, CreateCommand, CreateMigrationCommand, } from '../commands/CreateCommand.js';
9
- export { D1ProxyCommand } from '../commands/D1ProxyCommand.js';
10
- export { DebugCommand } from '../commands/DebugCommand.js';
11
- export { JwtDevCommand } from '../commands/JwtDevCommand.js';
12
- export { KvProxyCommand } from '../commands/KvProxyCommand.js';
13
- export { LogsCleanupCommand } from '../commands/LogsCleanupCommand.js';
14
- export { MakeMailTemplateCommand } from '../commands/MakeMailTemplateCommand.js';
15
- export { MakeNotificationTemplateCommand } from '../commands/MakeNotificationTemplateCommand.js';
16
- export { MigrateCommand } from '../commands/MigrateCommand.js';
17
- export { MigrateWorkerCommand } from '../commands/MigrateWorkerCommand.js';
18
- export { NewCommand } from '../commands/NewCommand.js';
19
- export { NotificationWorkCommand } from '../commands/NotificationWorkCommand.js';
20
- export { PrepareCommand } from '../commands/PrepareCommand.js';
21
- export { QueueCommand } from '../commands/QueueCommand.js';
22
- export { QueueRecoveryCommand } from '../commands/QueueRecoveryCommand.js';
23
- export { RedisRpcCommand } from '../commands/RedisRpcCommand.js';
24
- export { ResourceControlCommand } from '../commands/ResourceControlCommand.js';
25
- export { RoutesCommand } from '../commands/RoutesCommand.js';
26
- export { SecretsCommand } from '../commands/SecretsCommand.js';
27
- export { StartCommand } from '../commands/StartCommand.js';
28
- export { TemplatesCommand } from '../commands/TemplatesCommand.js';
29
- export { TraceCommands } from '../commands/TraceCommands.js';
30
- export { WranglerDevVarsCommand } from '../commands/WranglerDevVarsCommand.js';
4
+ export { AddCommand } from './AddCommand.js';
5
+ export { BroadcastWorkCommand } from './BroadcastWorkCommand.js';
6
+ export { ConfigCommand } from './ConfigCommand.js';
7
+ export { ContainerWorkersCommand } from './ContainerWorkersCommand.js';
8
+ export { AddMigrationCommand, CreateCommand, CreateMigrationCommand, } from './CreateCommand.js';
9
+ export { D1ProxyCommand } from './D1ProxyCommand.js';
10
+ export { DebugCommand } from './DebugCommand.js';
11
+ export { JwtDevCommand } from './JwtDevCommand.js';
12
+ export { KvProxyCommand } from './KvProxyCommand.js';
13
+ export { LogsCleanupCommand } from './LogsCleanupCommand.js';
14
+ export { MakeMailTemplateCommand } from './MakeMailTemplateCommand.js';
15
+ export { MakeNotificationTemplateCommand } from './MakeNotificationTemplateCommand.js';
16
+ export { MigrateCommand } from './MigrateCommand.js';
17
+ export { MigrateWorkerCommand } from './MigrateWorkerCommand.js';
18
+ export { NewCommand } from './NewCommand.js';
19
+ export { NotificationWorkCommand } from './NotificationWorkCommand.js';
20
+ export { PrepareCommand } from './PrepareCommand.js';
21
+ export { QueueCommand } from './QueueCommand.js';
22
+ export { QueueRecoveryCommand } from './QueueRecoveryCommand.js';
23
+ export { RedisRpcCommand } from './RedisRpcCommand.js';
24
+ export { ResourceControlCommand } from './ResourceControlCommand.js';
25
+ export { RoutesCommand } from './RoutesCommand.js';
26
+ export { SecretsCommand } from './SecretsCommand.js';
27
+ export { StartCommand } from './StartCommand.js';
28
+ export { TemplatesCommand } from './TemplatesCommand.js';
29
+ export { TraceCommands } from './TraceCommands.js';
30
+ export { WranglerDevVarsCommand } from './WranglerDevVarsCommand.js';
@@ -2,7 +2,7 @@
2
2
  * Configuration Manager
3
3
  * Handles reading, writing, and managing configuration files
4
4
  */
5
- import type { ProjectConfig } from '../config/ConfigSchema';
5
+ import type { ProjectConfig } from './ConfigSchema.js';
6
6
  export interface IConfigManager {
7
7
  load(): Promise<ProjectConfig>;
8
8
  save(config?: ProjectConfig): Promise<void>;
@@ -2,7 +2,7 @@
2
2
  * Configuration Manager
3
3
  * Handles reading, writing, and managing configuration files
4
4
  */
5
- import { ConfigPaths, DEFAULT_CONFIG, getConfigValue, setConfigValue, } from '../config/ConfigSchema.js';
5
+ import { ConfigPaths, DEFAULT_CONFIG, getConfigValue, setConfigValue, } from './ConfigSchema.js';
6
6
  import { Logger } from '../../config/logger.js';
7
7
  import { ErrorFactory } from '../../exceptions/ZintrustError.js';
8
8
  import { fsPromises as fs } from '../../node-singletons/fs.js';
@@ -2,7 +2,7 @@
2
2
  * Configuration Validator
3
3
  * Validates configuration against schema and rules
4
4
  */
5
- import type { ProjectConfig } from '../config/ConfigSchema';
5
+ import type { ProjectConfig } from './ConfigSchema.js';
6
6
  export interface ValidationError {
7
7
  key: string;
8
8
  value: unknown;
@@ -2,7 +2,7 @@
2
2
  * Configuration Validator
3
3
  * Validates configuration against schema and rules
4
4
  */
5
- import { CONFIG_RULES, getConfigValue } from '../config/ConfigSchema.js';
5
+ import { CONFIG_RULES, getConfigValue } from './ConfigSchema.js';
6
6
  /**
7
7
  * Validate entire config against schema
8
8
  */
@@ -2,7 +2,7 @@
2
2
  * Configuration Module
3
3
  * Exports config management classes
4
4
  */
5
- export { ConfigManager } from '../config/ConfigManager';
6
- export { AuthConfig, CONFIG_RULES, ConfigPaths, DEFAULT_CONFIG, DatabaseConfig, FeatureConfig, MicroservicesConfig, ProjectConfig, ServerConfig, getConfigValue, getDefaultValue, setConfigValue, } from '../config/ConfigSchema';
7
- export { ConfigValidator, ValidationError, ValidationResult } from '../config/ConfigValidator';
5
+ export { ConfigManager } from './ConfigManager.js';
6
+ export { AuthConfig, CONFIG_RULES, ConfigPaths, DEFAULT_CONFIG, DatabaseConfig, FeatureConfig, MicroservicesConfig, ProjectConfig, ServerConfig, getConfigValue, getDefaultValue, setConfigValue, } from './ConfigSchema.js';
7
+ export { ConfigValidator, ValidationError, ValidationResult } from './ConfigValidator.js';
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -2,6 +2,6 @@
2
2
  * Configuration Module
3
3
  * Exports config management classes
4
4
  */
5
- export { ConfigManager } from '../config/ConfigManager.js';
6
- export { CONFIG_RULES, ConfigPaths, DEFAULT_CONFIG, getConfigValue, getDefaultValue, setConfigValue, } from '../config/ConfigSchema.js';
7
- export { ConfigValidator } from '../config/ConfigValidator.js';
5
+ export { ConfigManager } from './ConfigManager.js';
6
+ export { CONFIG_RULES, ConfigPaths, DEFAULT_CONFIG, getConfigValue, getDefaultValue, setConfigValue, } from './ConfigSchema.js';
7
+ export { ConfigValidator } from './ConfigValidator.js';
@@ -1,4 +1,4 @@
1
- import { type WranglerD1DatabaseConfig, type WranglerD1ResolutionMatch } from '../d1/WranglerConfig';
1
+ import { type WranglerD1DatabaseConfig, type WranglerD1ResolutionMatch } from './WranglerConfig.js';
2
2
  type ResolvedD1Target = {
3
3
  config: WranglerD1DatabaseConfig;
4
4
  databaseName: string;
@@ -1,5 +1,5 @@
1
- import { WranglerConfig, } from '../d1/WranglerConfig.js';
2
- import { WranglerD1 } from '../d1/WranglerD1.js';
1
+ import { WranglerConfig, } from './WranglerConfig.js';
2
+ import { WranglerD1 } from './WranglerD1.js';
3
3
  import { Logger } from '../../config/logger.js';
4
4
  import { ErrorFactory } from '../../exceptions/ZintrustError.js';
5
5
  import { isNonEmptyString } from '../../helper/index.js';
@@ -1,4 +1,4 @@
1
- import type { IBaseCommand } from '../BaseCommand';
1
+ import type { IBaseCommand } from '../BaseCommand.js';
2
2
  type ApplyOptions = {
3
3
  cmd: IBaseCommand;
4
4
  dbName: string;
@@ -2,22 +2,22 @@
2
2
  * CLI Module Index
3
3
  * Exports all CLI components
4
4
  */
5
- export { BaseCommand, type CommandOptions } from './BaseCommand';
6
- export { CLI } from './CLI';
7
- export { ErrorHandler, EXIT_CODES } from './ErrorHandler';
8
- export { PromptHelper, type PromptOptions } from './PromptHelper';
9
- export { AddCommand } from './commands/AddCommand';
10
- export { ConfigCommand } from './commands/ConfigCommand';
11
- export { D1ProxyCommand } from './commands/D1ProxyCommand';
12
- export { DebugCommand } from './commands/DebugCommand';
13
- export { KvProxyCommand } from './commands/KvProxyCommand';
14
- export { MigrateCommand } from './commands/MigrateCommand';
15
- export { MySqlProxyCommand } from './commands/MySqlProxyCommand';
16
- export { NewCommand } from './commands/NewCommand';
17
- export { PostgresProxyCommand } from './commands/PostgresProxyCommand';
18
- export { ProxyCommand } from './commands/ProxyCommand';
19
- export { RedisProxyCommand } from './commands/RedisProxyCommand';
20
- export { SecretsCommand } from './commands/SecretsCommand';
21
- export { TraceCommands } from './commands/TraceCommands';
22
- export { WorkerCommands } from './commands/WorkerCommands';
5
+ export { BaseCommand, type CommandOptions } from './BaseCommand.js';
6
+ export { CLI } from './CLI.js';
7
+ export { ErrorHandler, EXIT_CODES } from './ErrorHandler.js';
8
+ export { PromptHelper, type PromptOptions } from './PromptHelper.js';
9
+ export { AddCommand } from './commands/AddCommand.js';
10
+ export { ConfigCommand } from './commands/ConfigCommand.js';
11
+ export { D1ProxyCommand } from './commands/D1ProxyCommand.js';
12
+ export { DebugCommand } from './commands/DebugCommand.js';
13
+ export { KvProxyCommand } from './commands/KvProxyCommand.js';
14
+ export { MigrateCommand } from './commands/MigrateCommand.js';
15
+ export { MySqlProxyCommand } from './commands/MySqlProxyCommand.js';
16
+ export { NewCommand } from './commands/NewCommand.js';
17
+ export { PostgresProxyCommand } from './commands/PostgresProxyCommand.js';
18
+ export { ProxyCommand } from './commands/ProxyCommand.js';
19
+ export { RedisProxyCommand } from './commands/RedisProxyCommand.js';
20
+ export { SecretsCommand } from './commands/SecretsCommand.js';
21
+ export { TraceCommands } from './commands/TraceCommands.js';
22
+ export { WorkerCommands } from './commands/WorkerCommands.js';
23
23
  //# sourceMappingURL=index.d.ts.map
@@ -2,7 +2,7 @@
2
2
  * ControllerGenerator - Generate controller files
3
3
  * Creates CRUD controllers with validation and error handling
4
4
  */
5
- import { FileGenerator } from '../scaffolding/FileGenerator.js';
5
+ import { FileGenerator } from './FileGenerator.js';
6
6
  import { Logger } from '../../config/logger.js';
7
7
  import * as path from '../../node-singletons/path.js';
8
8
  /**
@@ -451,7 +451,7 @@ function generateWebSocketController(options) {
451
451
  * Auto-generated WebSocket controller
452
452
  */
453
453
 
454
- import { Logger } from '../../config/logger';
454
+ import { Logger } from '../../config/logger.js';
455
455
 
456
456
  const controller = Object.freeze({
457
457
  /**
@@ -2,7 +2,7 @@
2
2
  * Factory Generator
3
3
  * Generates test data factory modules for models
4
4
  */
5
- import { FileGenerator } from '../scaffolding/FileGenerator.js';
5
+ import { FileGenerator } from './FileGenerator.js';
6
6
  import { CommonUtils } from '../../common/index.js';
7
7
  import { Logger } from '../../config/logger.js';
8
8
  import { ErrorFactory } from '../../exceptions/ZintrustError.js';
@@ -2,7 +2,7 @@
2
2
  * FeatureScaffolder - Generate features within a service
3
3
  * Features like authentication, payments, logging, API docs, etc.
4
4
  */
5
- import { FileGenerator } from '../scaffolding/FileGenerator.js';
5
+ import { FileGenerator } from './FileGenerator.js';
6
6
  import { Logger } from '../../config/logger.js';
7
7
  import * as path from '../../node-singletons/path.js';
8
8
  /**
@@ -208,7 +208,7 @@ const PAYMENTS_TEMPLATE = `/**
208
208
  * Handles payment processing and transactions
209
209
  */
210
210
 
211
- import { randomBytes } from '../../node-singletons/crypto';
211
+ import { randomBytes } from '../../node-singletons/crypto.js';
212
212
 
213
213
  export interface PaymentConfig {
214
214
  provider: 'stripe' | 'paypal' | 'square';
@@ -266,7 +266,7 @@ const LOGGING_TEMPLATE = `/**
266
266
  * Structured logging with multiple transports
267
267
  */
268
268
 
269
- import { Logger } from '../../config/logger';
269
+ import { Logger } from '../../config/logger.js';
270
270
 
271
271
  export type LogLevel = 'debug' | 'info' | 'warn' | 'error';
272
272
 
@@ -429,7 +429,7 @@ const EMAIL_TEMPLATE = `/**
429
429
  * Handles email sending
430
430
  */
431
431
 
432
- import { randomBytes } from '../../node-singletons/crypto';
432
+ import { randomBytes } from '../../node-singletons/crypto.js';
433
433
 
434
434
  export interface EmailConfig {
435
435
  provider: 'sendgrid' | 'mailgun' | 'nodemailer';
@@ -547,7 +547,7 @@ const QUEUE_TEMPLATE = `/**
547
547
  * Job queue processing
548
548
  */
549
549
 
550
- import { randomBytes } from '../../node-singletons/crypto';
550
+ import { randomBytes } from '../../node-singletons/crypto.js';
551
551
 
552
552
  export interface Job {
553
553
  id: string;
@@ -5,8 +5,8 @@
5
5
  * - ESLint config + scripts
6
6
  * - Architecture tests (Vitest)
7
7
  */
8
- import { FileGenerator } from '../scaffolding/FileGenerator.js';
9
- import { PINNED_GOVERNANCE_SCAFFOLDER_VERSION } from '../scaffolding/ScaffoldingVersionUtils.js';
8
+ import { FileGenerator } from './FileGenerator.js';
9
+ import { PINNED_GOVERNANCE_SCAFFOLDER_VERSION } from './ScaffoldingVersionUtils.js';
10
10
  import { SpawnUtil } from '../utils/spawn.js';
11
11
  import { resolvePackageManager } from '../../common/index.js';
12
12
  import { Logger } from '../../config/logger.js';
@@ -201,8 +201,8 @@ describe('Architecture: import boundaries', () => {
201
201
  });
202
202
  });
203
203
  `;
204
- const ROUTE_MIDDLEWARE_REGISTRY_ARCH_TEST_CONTENT = `import { middlewareConfigObj } from '../../config/middleware';
205
- import { registerRoutes } from '../../../routes/api';
204
+ const ROUTE_MIDDLEWARE_REGISTRY_ARCH_TEST_CONTENT = `import { middlewareConfigObj } from '../../config/middleware.js';
205
+ import { registerRoutes } from '../../../routes/api.js';
206
206
  import { RouteRegistry, Router } from '../../index.js';
207
207
  import { beforeEach, describe, expect, it } from 'vitest';
208
208
 
@@ -2,7 +2,7 @@
2
2
  * MigrationGenerator - Generate database migrations
3
3
  * Creates migration files for schema changes
4
4
  */
5
- import { FileGenerator } from '../scaffolding/FileGenerator.js';
5
+ import { FileGenerator } from './FileGenerator.js';
6
6
  import { CommonUtils } from '../../common/index.js';
7
7
  import { Logger } from '../../config/logger.js';
8
8
  import * as path from '../../node-singletons/path.js';
@@ -154,7 +154,7 @@ function resolveMigrationImportBlock(migrationsPath) {
154
154
  const pkgRaw = FileGenerator.readFile(packageJsonPath);
155
155
  const pkg = JSON.parse(pkgRaw);
156
156
  if (pkg.name === '@zintrust/core') {
157
- return `import type { IDatabase } from '../../orm/Database';\nimport { Schema as MigrationSchema, type Blueprint } from '../../migrations/schema';`;
157
+ return `import type { IDatabase } from '../../orm/Database.js';\nimport { Schema as MigrationSchema, type Blueprint } from '../../migrations/schema/index.js';`;
158
158
  }
159
159
  }
160
160
  catch {
@@ -2,7 +2,7 @@
2
2
  * ModelGenerator - Generate ORM model files
3
3
  * Creates type-safe model modules with relationships and validation
4
4
  */
5
- import { FileGenerator } from '../scaffolding/FileGenerator.js';
5
+ import { FileGenerator } from './FileGenerator.js';
6
6
  import { CommonUtils } from '../../common/index.js';
7
7
  import { Logger } from '../../config/logger.js';
8
8
  import * as path from '../../node-singletons/path.js';
@@ -3,8 +3,8 @@
3
3
  * Handles directory structure and boilerplate file creation
4
4
  */
5
5
  import { EnvFileBackfill } from '../env/EnvFileBackfill.js';
6
- import { EnvData } from '../scaffolding/env.js';
7
- import { PINNED_GOVERNANCE_SCAFFOLDER_VERSION } from '../scaffolding/ScaffoldingVersionUtils.js';
6
+ import { EnvData } from './env.js';
7
+ import { PINNED_GOVERNANCE_SCAFFOLDER_VERSION } from './ScaffoldingVersionUtils.js';
8
8
  import { Logger } from '../../config/logger.js';
9
9
  import { ErrorFactory } from '../../exceptions/ZintrustError.js';
10
10
  import { isNonEmptyString } from '../../helper/index.js';
@@ -2,7 +2,7 @@
2
2
  * Request Factory Generator - Phase 6.3
3
3
  * Generates request/input DTO factories with built-in validation
4
4
  */
5
- import { FileGenerator } from '../scaffolding/FileGenerator.js';
5
+ import { FileGenerator } from './FileGenerator.js';
6
6
  import { Logger } from '../../config/logger.js';
7
7
  import { ErrorFactory } from '../../exceptions/ZintrustError.js';
8
8
  import { fsPromises as fs } from '../../node-singletons/fs.js';
@@ -2,7 +2,7 @@
2
2
  * Response Factory Generator - Phase 7
3
3
  * Generates response/output DTO factories with built-in validation
4
4
  */
5
- import { FileGenerator } from '../scaffolding/FileGenerator.js';
5
+ import { FileGenerator } from './FileGenerator.js';
6
6
  import { Logger } from '../../config/logger.js';
7
7
  import { ErrorFactory } from '../../exceptions/ZintrustError.js';
8
8
  import { fsPromises as fs } from '../../node-singletons/fs.js';
@@ -2,7 +2,7 @@
2
2
  * RouteGenerator - Generate route files
3
3
  * Creates route definitions with middleware and parameters
4
4
  */
5
- import { FileGenerator } from '../scaffolding/FileGenerator.js';
5
+ import { FileGenerator } from './FileGenerator.js';
6
6
  import { Logger } from '../../config/logger.js';
7
7
  import * as path from '../../node-singletons/path.js';
8
8
  // Escape characters that can cause issues when embedding JSON.stringify output
@@ -3,7 +3,7 @@
3
3
  * Generates database seeders for populating development/staging databases
4
4
  * Uses factory generators for consistent data generation
5
5
  */
6
- import { FileGenerator } from '../scaffolding/FileGenerator.js';
6
+ import { FileGenerator } from './FileGenerator.js';
7
7
  import { CommonUtils } from '../../common/index.js';
8
8
  import { Logger } from '../../config/logger.js';
9
9
  import { ErrorFactory } from '../../exceptions/ZintrustError.js';
@@ -99,11 +99,11 @@ export async function generateDatabaseSeeder(options) {
99
99
  }
100
100
  }
101
101
  function buildDatabaseSeederCode() {
102
- return `import { SeederDiscovery } from '../../seeders/SeederDiscovery';
103
- import { SeederLoader } from '../../seeders/SeederLoader';
104
- import { CommonUtils } from '../../common/index';
105
- import type { IDatabase } from '../../orm/Database';
106
- import * as path from '../../node-singletons/path';
102
+ return `import { SeederDiscovery } from '../../seeders/SeederDiscovery.js';
103
+ import { SeederLoader } from '../../seeders/SeederLoader.js';
104
+ import { CommonUtils } from '../../common/index.js';
105
+ import type { IDatabase } from '../../orm/Database.js';
106
+ import * as path from '../../node-singletons/path.js';
107
107
 
108
108
  export const DatabaseSeeder = Object.freeze({
109
109
  async run(db: IDatabase): Promise<void> {
@@ -264,7 +264,7 @@ function buildSeederResetMethod(options) {
264
264
  */
265
265
  function buildImports(options) {
266
266
  const factoryName = getFactoryName(options);
267
- return `import { Logger } from '../../config/logger';
267
+ return `import { Logger } from '../../config/logger.js';
268
268
  import { ${factoryName} } from '@database/factories/${factoryName}';
269
269
  import { ${options.modelName} } from '@app/Models/${options.modelName}';`;
270
270
  }
@@ -2,7 +2,7 @@
2
2
  * Service Integration Test Generator
3
3
  * Generates integration tests for service-to-service communication
4
4
  */
5
- import { FileGenerator } from '../scaffolding/FileGenerator.js';
5
+ import { FileGenerator } from './FileGenerator.js';
6
6
  import { CommonUtils } from '../../common/index.js';
7
7
  import { Logger } from '../../config/logger.js';
8
8
  import * as path from '../../node-singletons/path.js';
@@ -71,7 +71,7 @@ function buildTestCode(options) {
71
71
  */
72
72
 
73
73
  import { describe, it, expect, beforeAll, afterAll, vi } from 'vitest';
74
- import { ErrorFactory } from '../../exceptions/ZintrustError';
74
+ import { ErrorFactory } from '../../exceptions/ZintrustError.js';
75
75
 
76
76
  interface ServiceConfig {
77
77
  baseUrl: string;
@@ -2,7 +2,7 @@
2
2
  * ServiceRequestFactoryGenerator - Generate inter-service request factories
3
3
  * Creates type-safe factories for testing service-to-service API calls
4
4
  */
5
- import { FileGenerator } from '../scaffolding/FileGenerator.js';
5
+ import { FileGenerator } from './FileGenerator.js';
6
6
  import { CommonUtils } from '../../common/index.js';
7
7
  import { Logger } from '../../config/logger.js';
8
8
  import * as path from '../../node-singletons/path.js';
@@ -2,7 +2,7 @@
2
2
  * ServiceScaffolder - Generate microservices within a project
3
3
  * Creates service structure with controllers, models, routes, and config
4
4
  */
5
- import { FileGenerator } from '../scaffolding/FileGenerator.js';
5
+ import { FileGenerator } from './FileGenerator.js';
6
6
  import { Logger } from '../../config/logger.js';
7
7
  import { isArray, isObject } from '../../helper/index.js';
8
8
  import * as path from '../../node-singletons/path.js';
@@ -6,7 +6,7 @@
6
6
  * - Generates into application folders (default: src/mail/markdown and src/notification/markdown)
7
7
  * - Uses FileGenerator for consistent file I/O + logging
8
8
  */
9
- import { FileGenerator } from '../scaffolding/FileGenerator.js';
9
+ import { FileGenerator } from './FileGenerator.js';
10
10
  import { Logger } from '../../config/logger.js';
11
11
  import { ErrorFactory } from '../../exceptions/ZintrustError.js';
12
12
  import * as path from '../../node-singletons/path.js';
@@ -2,7 +2,7 @@
2
2
  * Workflow Generator
3
3
  * Generates GitHub Actions workflows for deployment and CI/CD
4
4
  */
5
- import { FileGenerator } from '../scaffolding/FileGenerator.js';
5
+ import { FileGenerator } from './FileGenerator.js';
6
6
  import { Logger } from '../../config/logger.js';
7
7
  import { fsPromises as fs } from '../../node-singletons/fs.js';
8
8
  import * as path from '../../node-singletons/path.js';
@@ -1,37 +1,37 @@
1
1
  /**
2
2
  * Scaffolding Module Exports
3
3
  */
4
- export { ControllerGenerator } from '../scaffolding/ControllerGenerator';
5
- export type { ControllerGeneratorResult, ControllerOptions, ControllerType, } from '../scaffolding/ControllerGenerator';
6
- export { FactoryGenerator } from '../scaffolding/FactoryGenerator';
7
- export type { FactoryField, FactoryGeneratorResult, FactoryOptions, } from '../scaffolding/FactoryGenerator';
8
- export { FeatureScaffolder } from '../scaffolding/FeatureScaffolder';
9
- export type { FeatureOptions, FeatureScaffoldResult, FeatureType, } from '../scaffolding/FeatureScaffolder';
10
- export { FileGenerator } from '../scaffolding/FileGenerator';
11
- export type { FileCreationOptions } from '../scaffolding/FileGenerator';
12
- export { GovernanceScaffolder } from '../scaffolding/GovernanceScaffolder';
13
- export type { GovernanceScaffoldOptions, GovernanceScaffoldResult, } from '../scaffolding/GovernanceScaffolder';
14
- export { MigrationGenerator } from '../scaffolding/MigrationGenerator';
15
- export type { MigrationOptions, MigrationScaffoldResult, } from '../scaffolding/MigrationGenerator';
16
- export { ModelGenerator } from '../scaffolding/ModelGenerator';
17
- export type { FieldType, ModelField, ModelGeneratorResult, ModelOptions, ModelRelationship, } from '../scaffolding/ModelGenerator';
18
- export { ProjectScaffolder } from '../scaffolding/ProjectScaffolder';
19
- export type { ProjectScaffoldOptions, ProjectScaffoldResult, } from '../scaffolding/ProjectScaffolder';
20
- export { RequestFactoryGenerator } from '../scaffolding/RequestFactoryGenerator';
21
- export type { RequestFactoryGeneratorResult, RequestFactoryOptions, RequestField, } from '../scaffolding/RequestFactoryGenerator';
22
- export { ResponseFactoryGenerator } from '../scaffolding/ResponseFactoryGenerator';
23
- export type { ResponseFactoryGeneratorResult, ResponseFactoryOptions, ResponseField, } from '../scaffolding/ResponseFactoryGenerator';
24
- export { RouteGenerator } from '../scaffolding/RouteGenerator';
25
- export type { RouteDefinition, RouteGeneratorResult, RouteMethod, RouteOptions, } from '../scaffolding/RouteGenerator';
26
- export { SeederGenerator } from '../scaffolding/SeederGenerator';
27
- export type { SeederField, SeederGeneratorResult, SeederOptions, } from '../scaffolding/SeederGenerator';
28
- export { ServiceIntegrationTestGenerator } from '../scaffolding/ServiceIntegrationTestGenerator';
29
- export type { ServiceEndpoint, ServiceIntegrationTestOptions, ServiceIntegrationTestResult, } from '../scaffolding/ServiceIntegrationTestGenerator';
30
- export { ServiceRequestFactoryGenerator } from '../scaffolding/ServiceRequestFactoryGenerator';
31
- export type { ServiceRequestFactoryResult, ServiceRequestField, ServiceRequestOptions, } from '../scaffolding/ServiceRequestFactoryGenerator';
32
- export { ServiceScaffolder } from '../scaffolding/ServiceScaffolder';
33
- export type { ServiceOptions, ServiceScaffoldResult } from '../scaffolding/ServiceScaffolder';
34
- export { BUILT_IN_TEMPLATES, TemplateEngine } from '../scaffolding/TemplateEngine';
35
- export type { Template, TemplateFile, TemplateVariables } from '../scaffolding/TemplateEngine';
36
- export { TemplateGenerator } from '../scaffolding/TemplateGenerator';
4
+ export { ControllerGenerator } from './ControllerGenerator.js';
5
+ export type { ControllerGeneratorResult, ControllerOptions, ControllerType, } from './ControllerGenerator.js';
6
+ export { FactoryGenerator } from './FactoryGenerator.js';
7
+ export type { FactoryField, FactoryGeneratorResult, FactoryOptions, } from './FactoryGenerator.js';
8
+ export { FeatureScaffolder } from './FeatureScaffolder.js';
9
+ export type { FeatureOptions, FeatureScaffoldResult, FeatureType, } from './FeatureScaffolder.js';
10
+ export { FileGenerator } from './FileGenerator.js';
11
+ export type { FileCreationOptions } from './FileGenerator.js';
12
+ export { GovernanceScaffolder } from './GovernanceScaffolder.js';
13
+ export type { GovernanceScaffoldOptions, GovernanceScaffoldResult, } from './GovernanceScaffolder.js';
14
+ export { MigrationGenerator } from './MigrationGenerator.js';
15
+ export type { MigrationOptions, MigrationScaffoldResult, } from './MigrationGenerator.js';
16
+ export { ModelGenerator } from './ModelGenerator.js';
17
+ export type { FieldType, ModelField, ModelGeneratorResult, ModelOptions, ModelRelationship, } from './ModelGenerator.js';
18
+ export { ProjectScaffolder } from './ProjectScaffolder.js';
19
+ export type { ProjectScaffoldOptions, ProjectScaffoldResult, } from './ProjectScaffolder.js';
20
+ export { RequestFactoryGenerator } from './RequestFactoryGenerator.js';
21
+ export type { RequestFactoryGeneratorResult, RequestFactoryOptions, RequestField, } from './RequestFactoryGenerator.js';
22
+ export { ResponseFactoryGenerator } from './ResponseFactoryGenerator.js';
23
+ export type { ResponseFactoryGeneratorResult, ResponseFactoryOptions, ResponseField, } from './ResponseFactoryGenerator.js';
24
+ export { RouteGenerator } from './RouteGenerator.js';
25
+ export type { RouteDefinition, RouteGeneratorResult, RouteMethod, RouteOptions, } from './RouteGenerator.js';
26
+ export { SeederGenerator } from './SeederGenerator.js';
27
+ export type { SeederField, SeederGeneratorResult, SeederOptions, } from './SeederGenerator.js';
28
+ export { ServiceIntegrationTestGenerator } from './ServiceIntegrationTestGenerator.js';
29
+ export type { ServiceEndpoint, ServiceIntegrationTestOptions, ServiceIntegrationTestResult, } from './ServiceIntegrationTestGenerator.js';
30
+ export { ServiceRequestFactoryGenerator } from './ServiceRequestFactoryGenerator.js';
31
+ export type { ServiceRequestFactoryResult, ServiceRequestField, ServiceRequestOptions, } from './ServiceRequestFactoryGenerator.js';
32
+ export { ServiceScaffolder } from './ServiceScaffolder.js';
33
+ export type { ServiceOptions, ServiceScaffoldResult } from './ServiceScaffolder.js';
34
+ export { BUILT_IN_TEMPLATES, TemplateEngine } from './TemplateEngine.js';
35
+ export type { Template, TemplateFile, TemplateVariables } from './TemplateEngine.js';
36
+ export { TemplateGenerator } from './TemplateGenerator.js';
37
37
  //# sourceMappingURL=index.d.ts.map
@@ -1,20 +1,20 @@
1
1
  /**
2
2
  * Scaffolding Module Exports
3
3
  */
4
- export { ControllerGenerator } from '../scaffolding/ControllerGenerator.js';
5
- export { FactoryGenerator } from '../scaffolding/FactoryGenerator.js';
6
- export { FeatureScaffolder } from '../scaffolding/FeatureScaffolder.js';
7
- export { FileGenerator } from '../scaffolding/FileGenerator.js';
8
- export { GovernanceScaffolder } from '../scaffolding/GovernanceScaffolder.js';
9
- export { MigrationGenerator } from '../scaffolding/MigrationGenerator.js';
10
- export { ModelGenerator } from '../scaffolding/ModelGenerator.js';
11
- export { ProjectScaffolder } from '../scaffolding/ProjectScaffolder.js';
12
- export { RequestFactoryGenerator } from '../scaffolding/RequestFactoryGenerator.js';
13
- export { ResponseFactoryGenerator } from '../scaffolding/ResponseFactoryGenerator.js';
14
- export { RouteGenerator } from '../scaffolding/RouteGenerator.js';
15
- export { SeederGenerator } from '../scaffolding/SeederGenerator.js';
16
- export { ServiceIntegrationTestGenerator } from '../scaffolding/ServiceIntegrationTestGenerator.js';
17
- export { ServiceRequestFactoryGenerator } from '../scaffolding/ServiceRequestFactoryGenerator.js';
18
- export { ServiceScaffolder } from '../scaffolding/ServiceScaffolder.js';
19
- export { BUILT_IN_TEMPLATES, TemplateEngine } from '../scaffolding/TemplateEngine.js';
20
- export { TemplateGenerator } from '../scaffolding/TemplateGenerator.js';
4
+ export { ControllerGenerator } from './ControllerGenerator.js';
5
+ export { FactoryGenerator } from './FactoryGenerator.js';
6
+ export { FeatureScaffolder } from './FeatureScaffolder.js';
7
+ export { FileGenerator } from './FileGenerator.js';
8
+ export { GovernanceScaffolder } from './GovernanceScaffolder.js';
9
+ export { MigrationGenerator } from './MigrationGenerator.js';
10
+ export { ModelGenerator } from './ModelGenerator.js';
11
+ export { ProjectScaffolder } from './ProjectScaffolder.js';
12
+ export { RequestFactoryGenerator } from './RequestFactoryGenerator.js';
13
+ export { ResponseFactoryGenerator } from './ResponseFactoryGenerator.js';
14
+ export { RouteGenerator } from './RouteGenerator.js';
15
+ export { SeederGenerator } from './SeederGenerator.js';
16
+ export { ServiceIntegrationTestGenerator } from './ServiceIntegrationTestGenerator.js';
17
+ export { ServiceRequestFactoryGenerator } from './ServiceRequestFactoryGenerator.js';
18
+ export { ServiceScaffolder } from './ServiceScaffolder.js';
19
+ export { BUILT_IN_TEMPLATES, TemplateEngine } from './TemplateEngine.js';
20
+ export { TemplateGenerator } from './TemplateGenerator.js';
@@ -4,7 +4,7 @@
4
4
  * Checks if the current CLI version is outdated and warns users
5
5
  * when a newer version is available from npm registry.
6
6
  */
7
- import { type IHttpResponse } from '../../tools/http/Http';
7
+ import { type IHttpResponse } from '../../tools/http/Http.js';
8
8
  interface VersionCheckResult {
9
9
  currentVersion: string;
10
10
  latestVersion: string;
@@ -1,5 +1,5 @@
1
- import type { CommandOptions, IBaseCommand } from '../BaseCommand';
2
- import type { DatabaseConfig as OrmDatabaseConfig } from '../../orm/DatabaseAdapter';
1
+ import type { CommandOptions, IBaseCommand } from '../BaseCommand.js';
2
+ import type { DatabaseConfig as OrmDatabaseConfig } from '../../orm/DatabaseAdapter.js';
3
3
  export type ConnectionConfig = {
4
4
  driver: string;
5
5
  host?: string;