@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
package/src/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @zintrust/core v3.1.1
2
+ * @zintrust/core v3.1.3
3
3
  *
4
4
  * ZinTrust Framework - Production-Grade TypeScript Backend
5
5
  * Built for performance, type safety, and exceptional developer experience
6
6
  *
7
7
  * Build Information:
8
- * Built: 2026-08-28T11:10:03.577Z
8
+ * Built: 2026-10-20T06:31:53.978Z
9
9
  * Node: >=20.0.0
10
10
  * License: MIT
11
11
  *
@@ -21,7 +21,7 @@
21
21
  * Available at runtime for debugging and health checks
22
22
  */
23
23
  export const ZINTRUST_VERSION = '0.1.41';
24
- export const ZINTRUST_BUILD_DATE = '2026-08-28T11:10:03.541Z'; // Replaced during build
24
+ export const ZINTRUST_BUILD_DATE = '2026-10-20T06:31:53.935Z'; // Replaced during build
25
25
  export { Application } from './boot/Application.js';
26
26
  export { AwsSigV4 } from './common/index.js';
27
27
  export { SignedRequest } from './security/SignedRequest.js';
@@ -2,5 +2,5 @@
2
2
  * Language Exports
3
3
  * Provides language constants and utilities
4
4
  */
5
- export { ZintrustLang } from './lang/lang';
5
+ export { ZintrustLang } from './lang/lang.js';
6
6
  //# sourceMappingURL=lang-index.d.ts.map
@@ -2,5 +2,5 @@
2
2
  * Logger Exports
3
3
  * Provides logging utilities
4
4
  */
5
- export { Logger } from './config/logger';
5
+ export { Logger } from './config/logger.js';
6
6
  //# sourceMappingURL=logger-index.d.ts.map
@@ -2,11 +2,11 @@
2
2
  * Mail Exports
3
3
  * Provides mail drivers and notification utilities
4
4
  */
5
- export { MailgunDriver } from './tools/mail/drivers/Mailgun';
6
- export { SendGridDriver } from './tools/mail/drivers/SendGrid';
7
- export { SmtpDriver as CoreSmtpDriver, SmtpDriver } from './tools/mail/drivers/Smtp';
8
- export { Notification } from './tools/notification/Notification';
9
- export type { MailgunMailDriverConfig as MailgunConfig, SendGridMailDriverConfig as SendGridConfig, SmtpMailDriverConfig as SmtpDriverConfig, } from './config/type';
10
- export type { MailMessage as MailgunMessage, SendResult as MailgunResult, } from './tools/mail/drivers/Mailgun';
11
- export type { MailAddress as SendGridMailAddress, MailAttachment as SendGridMailAttachment, MailMessage as SendGridMailMessage, SendResult as SendGridSendResult, } from './tools/mail/drivers/SendGrid';
5
+ export { MailgunDriver } from './tools/mail/drivers/Mailgun.js';
6
+ export { SendGridDriver } from './tools/mail/drivers/SendGrid.js';
7
+ export { SmtpDriver as CoreSmtpDriver, SmtpDriver } from './tools/mail/drivers/Smtp.js';
8
+ export { Notification } from './tools/notification/Notification.js';
9
+ export type { MailgunMailDriverConfig as MailgunConfig, SendGridMailDriverConfig as SendGridConfig, SmtpMailDriverConfig as SmtpDriverConfig, } from './config/type.js';
10
+ export type { MailMessage as MailgunMessage, SendResult as MailgunResult, } from './tools/mail/drivers/Mailgun.js';
11
+ export type { MailAddress as SendGridMailAddress, MailAttachment as SendGridMailAttachment, MailMessage as SendGridMailMessage, SendResult as SendGridSendResult, } from './tools/mail/drivers/SendGrid.js';
12
12
  //# sourceMappingURL=mail-index.d.ts.map
@@ -109,7 +109,7 @@ DB_CONNECTION=postgresql
109
109
  Call another service:
110
110
 
111
111
  \`\`\`typescript
112
- import { MicroserviceManager } from './MicroserviceManager';
112
+ import { MicroserviceManager } from './MicroserviceManager.js';
113
113
 
114
114
  const manager = MicroserviceManager.getInstance();
115
115
  const response = await manager.callService('other-service', {
@@ -1,5 +1,5 @@
1
- import type { IRequest } from '../http/Request';
2
- import type { IResponse } from '../http/Response';
1
+ import type { IRequest } from '../http/Request.js';
2
+ import type { IResponse } from '../http/Response.js';
3
3
  export type NextFunction = (error?: Error) => void | Promise<void>;
4
4
  export interface MNextFunction {
5
5
  middleware(serviceName: string, enabled?: boolean, samplingRate?: number): (req: IRequest, res: IResponse, next: NextFunction) => void | Promise<void>;
@@ -1,5 +1,5 @@
1
- import type { IRequest } from '../http/Request';
2
- import type { IResponse } from '../http/Response';
1
+ import type { IRequest } from '../http/Request.js';
2
+ import type { IResponse } from '../http/Response.js';
3
3
  export type NextFunction = (error?: Error) => void | Promise<void>;
4
4
  /**
5
5
  * Service-to-service authentication strategies
@@ -2,8 +2,8 @@
2
2
  * Service Health Check and Monitoring System
3
3
  * Provides per-service and aggregated health status with detailed diagnostics
4
4
  */
5
- import type { IRequest } from '../http/Request';
6
- import type { IResponse } from '../http/Response';
5
+ import type { IRequest } from '../http/Request.js';
6
+ import type { IResponse } from '../http/Response.js';
7
7
  export interface HealthCheckResult {
8
8
  service: string;
9
9
  domain: string;
@@ -1,4 +1,4 @@
1
- import type { RoutesModule } from '../boot/registry/type';
1
+ import type { RoutesModule } from '../boot/registry/type.js';
2
2
  export interface ServiceManifestEntry {
3
3
  id: string;
4
4
  domain: string;
@@ -2,6 +2,6 @@
2
2
  * ZinTrust Microservices
3
3
  * Microservice management and orchestration
4
4
  */
5
- export { MicroserviceManager } from './microservices/MicroserviceManager';
6
- export type { IMicroserviceManager, MicroserviceConfig } from './microservices/MicroserviceManager';
5
+ export { MicroserviceManager } from './microservices/MicroserviceManager.js';
6
+ export type { IMicroserviceManager, MicroserviceConfig } from './microservices/MicroserviceManager.js';
7
7
  //# sourceMappingURL=microservices-index.d.ts.map
@@ -1,5 +1,5 @@
1
- import { type MiddlewareFailureResponder } from './MiddlewareFailureResponder';
2
- import type { Middleware } from './MiddlewareStack';
1
+ import { type MiddlewareFailureResponder } from './MiddlewareFailureResponder.js';
2
+ import type { Middleware } from './MiddlewareStack.js';
3
3
  export interface AuthOptions {
4
4
  headerName?: string;
5
5
  message?: string;
@@ -1,8 +1,8 @@
1
- import type { IRequest } from '../http/Request';
2
- import { type MiddlewareFailureResponder } from './MiddlewareFailureResponder';
3
- import type { Middleware } from './MiddlewareStack';
4
- import type { JwtAlgorithm } from '../security/JwtManager';
5
- import { type NonceReplayVerifier } from '../security/NonceReplay';
1
+ import type { IRequest } from '../http/Request.js';
2
+ import { type MiddlewareFailureResponder } from './MiddlewareFailureResponder.js';
3
+ import type { Middleware } from './MiddlewareStack.js';
4
+ import type { JwtAlgorithm } from '../security/JwtManager.js';
5
+ import { type NonceReplayVerifier } from '../security/NonceReplay.js';
6
6
  export type BulletproofAuthContext = {
7
7
  strategy: 'bulletproof';
8
8
  deviceId: string;
@@ -3,8 +3,8 @@
3
3
  * Protects against Cross-Site Request Forgery attacks
4
4
  * Uses CsrfTokenManager for token generation and validation
5
5
  */
6
- import { type MiddlewareFailureResponder } from './MiddlewareFailureResponder';
7
- import type { Middleware } from './MiddlewareStack';
6
+ import { type MiddlewareFailureResponder } from './MiddlewareFailureResponder.js';
7
+ import type { Middleware } from './MiddlewareStack.js';
8
8
  export interface CsrfOptions {
9
9
  cookieName?: string;
10
10
  headerName?: string;
@@ -1,5 +1,5 @@
1
- import { type MiddlewareFailureResponder } from './MiddlewareFailureResponder';
2
- import type { Middleware } from './MiddlewareStack';
1
+ import { type MiddlewareFailureResponder } from './MiddlewareFailureResponder.js';
2
+ import type { Middleware } from './MiddlewareStack.js';
3
3
  export interface ErrorHandlerOptions {
4
4
  onFailure?: MiddlewareFailureResponder;
5
5
  }
@@ -1,6 +1,6 @@
1
- import { type MiddlewareFailureResponder } from './MiddlewareFailureResponder';
2
- import type { Middleware } from './MiddlewareStack';
3
- import type { JwtAlgorithm } from '../security/JwtManager';
1
+ import { type MiddlewareFailureResponder } from './MiddlewareFailureResponder.js';
2
+ import type { Middleware } from './MiddlewareStack.js';
3
+ import type { JwtAlgorithm } from '../security/JwtManager.js';
4
4
  export interface JwtAuthOptions {
5
5
  algorithm?: JwtAlgorithm;
6
6
  secret?: string;
@@ -1,4 +1,4 @@
1
- import type { Middleware } from './MiddlewareStack';
1
+ import type { Middleware } from './MiddlewareStack.js';
2
2
  export interface LoggingOptions {
3
3
  enabled?: boolean;
4
4
  }
@@ -1,6 +1,6 @@
1
- import type { IRequest } from '../http/Request';
2
- import type { IResponse } from '../http/Response';
3
- export { createDefaultMiddlewareFailureBody, type DefaultMiddlewareFailureBody, type MiddlewareFailureBodyInput, } from './MiddlewareFailureBody';
1
+ import type { IRequest } from '../http/Request.js';
2
+ import type { IResponse } from '../http/Response.js';
3
+ export { createDefaultMiddlewareFailureBody, type DefaultMiddlewareFailureBody, type MiddlewareFailureBodyInput, } from './MiddlewareFailureBody.js';
4
4
  export type MiddlewareFailureContext = Readonly<{
5
5
  middleware: string;
6
6
  reason: string;
@@ -1,5 +1,5 @@
1
- import type { IRequest } from '../http/Request';
2
- import type { IResponse } from '../http/Response';
1
+ import type { IRequest } from '../http/Request.js';
2
+ import type { IResponse } from '../http/Response.js';
3
3
  /**
4
4
  * Middleware Stack
5
5
  * Manages middleware execution pipeline
@@ -3,9 +3,9 @@
3
3
  * Token bucket implementation for request rate limiting
4
4
  * Zero-dependency implementation
5
5
  */
6
- import type { IRequest } from '../http/Request';
7
- import { type MiddlewareFailureResponder } from './MiddlewareFailureResponder';
8
- import type { Middleware } from './MiddlewareStack';
6
+ import type { IRequest } from '../http/Request.js';
7
+ import { type MiddlewareFailureResponder } from './MiddlewareFailureResponder.js';
8
+ import type { Middleware } from './MiddlewareStack.js';
9
9
  export interface RateLimitOptions {
10
10
  windowMs: number;
11
11
  maxRequests: number;
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * This is a defense-in-depth layer that normalizes untrusted input early.
6
6
  */
7
- import type { Middleware } from './MiddlewareStack';
7
+ import type { Middleware } from './MiddlewareStack.js';
8
8
  export declare const SanitizeBodyMiddleware: Readonly<{
9
9
  create(): Middleware;
10
10
  }>;
@@ -3,7 +3,7 @@
3
3
  * Implements standard security headers and CORS protection
4
4
  * Zero-dependency implementation replacing helmet/cors
5
5
  */
6
- import type { Middleware } from './MiddlewareStack';
6
+ import type { Middleware } from './MiddlewareStack.js';
7
7
  export interface SecurityOptions {
8
8
  hsts?: {
9
9
  maxAge?: number;
@@ -1,5 +1,5 @@
1
- import type { Middleware } from './MiddlewareStack';
2
- import { type SessionManagerOptions } from '../session/SessionManager';
1
+ import type { Middleware } from './MiddlewareStack.js';
2
+ import { type SessionManagerOptions } from '../session/SessionManager.js';
3
3
  export type SessionOptions = SessionManagerOptions;
4
4
  export declare const SessionMiddleware: Readonly<{
5
5
  create(options?: SessionOptions): Middleware;
@@ -1,6 +1,6 @@
1
- import { type MiddlewareFailureResponder } from './MiddlewareFailureResponder';
2
- import type { Middleware } from './MiddlewareStack';
3
- import type { ISchema, TypedSchema } from '../validation/Validator';
1
+ import { type MiddlewareFailureResponder } from './MiddlewareFailureResponder.js';
2
+ import type { Middleware } from './MiddlewareStack.js';
3
+ import type { ISchema, TypedSchema } from '../validation/Validator.js';
4
4
  type ValidationMiddlewareOptions = Readonly<{
5
5
  onFailure?: MiddlewareFailureResponder;
6
6
  middlewareKey?: string;
@@ -2,12 +2,12 @@
2
2
  * Middleware Exports
3
3
  * Central export point for all framework middleware
4
4
  */
5
- export * from './CsrfMiddleware';
6
- export * from './ErrorHandlerMiddleware';
7
- export * from './LoggingMiddleware';
8
- export * from './MiddlewareFailureBody';
9
- export * from './MiddlewareFailureResponder';
10
- export * from './MiddlewareStack';
11
- export * from './RateLimiter';
12
- export * from './SecurityMiddleware';
5
+ export * from './CsrfMiddleware.js';
6
+ export * from './ErrorHandlerMiddleware.js';
7
+ export * from './LoggingMiddleware.js';
8
+ export * from './MiddlewareFailureBody.js';
9
+ export * from './MiddlewareFailureResponder.js';
10
+ export * from './MiddlewareStack.js';
11
+ export * from './RateLimiter.js';
12
+ export * from './SecurityMiddleware.js';
13
13
  //# sourceMappingURL=index.d.ts.map
@@ -2,5 +2,5 @@
2
2
  * ZinTrust Middleware
3
3
  * Middleware types and failure responders for request handling
4
4
  */
5
- export { MiddlewareFailureContext, MiddlewareFailureResponder, defaultMiddlewareFailureResponder, } from './middleware/MiddlewareFailureResponder';
5
+ export { MiddlewareFailureContext, MiddlewareFailureResponder, defaultMiddlewareFailureResponder, } from './middleware/MiddlewareFailureResponder.js';
6
6
  //# sourceMappingURL=middleware-index.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { LoadedMigration } from './types';
1
+ import type { LoadedMigration } from './types.js';
2
2
  export declare const MigrationLoader: Readonly<{
3
3
  load(filePath: string): Promise<LoadedMigration>;
4
4
  }>;
@@ -1,7 +1,7 @@
1
- export type { LoadedMigration, MigrationHandler, MigrationModule, MigrationRecord, MigrationRecordStatus, MigrationScope, MigratorOptions, MigratorStatusRow, } from './types';
1
+ export type { LoadedMigration, MigrationHandler, MigrationModule, MigrationRecord, MigrationRecordStatus, MigrationScope, MigratorOptions, MigratorStatusRow, } from './types.js';
2
2
  export declare const Migrator: Readonly<{
3
- create: (options: import("./types").MigratorOptions) => {
4
- status(): Promise<import("./types").MigratorStatusRow[]>;
3
+ create: (options: import("./types.js").MigratorOptions) => {
4
+ status(): Promise<import("./types.js").MigratorStatusRow[]>;
5
5
  migrate(): Promise<{
6
6
  applied: number;
7
7
  pending: number;
@@ -1,4 +1,4 @@
1
- import type { MigratorOptions, MigratorStatusRow } from './types';
1
+ import type { MigratorOptions, MigratorStatusRow } from './types.js';
2
2
  type MigratorApi = {
3
3
  status(): Promise<MigratorStatusRow[]>;
4
4
  migrate(): Promise<{
@@ -1,4 +1,4 @@
1
- import type { Blueprint } from '../schema/types';
1
+ import type { Blueprint } from './types.js';
2
2
  export declare const MigrationBlueprint: Readonly<{
3
3
  create(tableName: string): Blueprint;
4
4
  }>;
@@ -1,5 +1,5 @@
1
- import type { IDatabase } from '../../orm/Database';
2
- import type { SchemaBuilder } from '../schema/types';
1
+ import type { IDatabase } from '../../orm/Database.js';
2
+ import type { SchemaBuilder } from './types.js';
3
3
  declare function createSchemaBuilder(db: IDatabase): SchemaBuilder;
4
4
  export declare const Schema: Readonly<{
5
5
  create: typeof createSchemaBuilder;
@@ -2,8 +2,8 @@ import { ErrorFactory } from '../../exceptions/ZintrustError.js';
2
2
  import { isNonEmptyString, isObject } from '../../helper/index.js';
3
3
  import { BaseAdapter } from '../../orm/DatabaseAdapter.js';
4
4
  import { isSqliteFamily } from '../enum/index.js';
5
- import { MigrationBlueprint } from '../schema/Blueprint.js';
6
- import { MigrationSchemaCompiler } from '../schema/SchemaCompiler.js';
5
+ import { MigrationBlueprint } from './Blueprint.js';
6
+ import { MigrationSchemaCompiler } from './SchemaCompiler.js';
7
7
  const IDENT_RE = /^[A-Za-z_]\w*$/;
8
8
  function assertIdentifier(label, value) {
9
9
  if (!IDENT_RE.test(value)) {
@@ -1,4 +1,4 @@
1
- import type { ColumnDefinition, ForeignKeyDefinition, IndexDefinition, TableDefinition } from '../schema/types';
1
+ import type { ColumnDefinition, ForeignKeyDefinition, IndexDefinition, TableDefinition } from './types.js';
2
2
  type AlterTablePlan = {
3
3
  addColumns: ColumnDefinition[];
4
4
  dropColumns: string[];
@@ -1,5 +1,5 @@
1
- export { MigrationBlueprint } from '../schema/Blueprint';
2
- export { Schema } from '../schema/Schema';
3
- export { MigrationSchemaCompiler } from '../schema/SchemaCompiler';
4
- export type { Blueprint, BlueprintCallback, ColumnBuilder, ColumnDefinition, ColumnType, ForeignKeyAction, ForeignKeyBuilder, ForeignKeyDefinition, IndexDefinition, IndexType, SchemaBuilder, TableDefinition, } from '../schema/types';
1
+ export { MigrationBlueprint } from './Blueprint.js';
2
+ export { Schema } from './Schema.js';
3
+ export { MigrationSchemaCompiler } from './SchemaCompiler.js';
4
+ export type { Blueprint, BlueprintCallback, ColumnBuilder, ColumnDefinition, ColumnType, ForeignKeyAction, ForeignKeyBuilder, ForeignKeyDefinition, IndexDefinition, IndexType, SchemaBuilder, TableDefinition, } from './types.js';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,3 @@
1
- export { MigrationBlueprint } from '../schema/Blueprint.js';
2
- export { Schema } from '../schema/Schema.js';
3
- export { MigrationSchemaCompiler } from '../schema/SchemaCompiler.js';
1
+ export { MigrationBlueprint } from './Blueprint.js';
2
+ export { Schema } from './Schema.js';
3
+ export { MigrationSchemaCompiler } from './SchemaCompiler.js';
@@ -1,4 +1,4 @@
1
- import type { IDatabase } from '../../orm/Database';
1
+ import type { IDatabase } from '../../orm/Database.js';
2
2
  export type ColumnType = 'STRING' | 'DATE' | 'INTEGER' | 'BIGINT' | 'UUID' | 'REAL' | 'BOOLEAN' | 'TEXT' | 'JSON' | 'TIMESTAMP' | 'BLOB';
3
3
  export type IndexType = 'INDEX' | 'UNIQUE';
4
4
  export type ForeignKeyAction = 'CASCADE' | 'SET NULL' | 'RESTRICT' | 'NO ACTION' | 'SET DEFAULT';
@@ -1,4 +1,4 @@
1
- import type { IDatabase } from '../orm/Database';
1
+ import type { IDatabase } from '../orm/Database.js';
2
2
  export type MigrationScope = 'global' | 'service';
3
3
  export type MigrationRecordStatus = 'running' | 'completed' | 'failed';
4
4
  export type MigrationRecord = {
@@ -17,19 +17,19 @@
17
17
  * - os
18
18
  * - readline
19
19
  */
20
- export * from './async_hooks';
21
- export * from './crypto';
22
- export * from './events';
23
- export * from './http';
24
- export * from './perf-hooks';
25
- export * as process from './process';
26
- export * as childProcess from './child-process';
27
- export * as fs from './fs';
28
- export * as module from './module';
29
- export * as net from './net';
30
- export * as os from './os';
31
- export * as path from './path';
32
- export * as readline from './readline';
33
- export * as tls from './tls';
34
- export * as url from './url';
20
+ export * from './async_hooks.js';
21
+ export * from './crypto.js';
22
+ export * from './events.js';
23
+ export * from './http.js';
24
+ export * from './perf-hooks.js';
25
+ export * as process from './process.js';
26
+ export * as childProcess from './child-process.js';
27
+ export * as fs from './fs.js';
28
+ export * as module from './module.js';
29
+ export * as net from './net.js';
30
+ export * as os from './os.js';
31
+ export * as path from './path.js';
32
+ export * as readline from './readline.js';
33
+ export * as tls from './tls.js';
34
+ export * as url from './url.js';
35
35
  //# sourceMappingURL=index.d.ts.map
package/src/node.d.ts CHANGED
@@ -1,14 +1,14 @@
1
- export * as crypto from './node-singletons/crypto';
2
- export * as fs from './node-singletons/fs';
3
- export * as path from './node-singletons/path';
4
- export { performance } from './node-singletons/perf-hooks';
5
- export { default, default as process } from './node-singletons/process';
6
- export * as url from './node-singletons/url';
7
- export { cleanOnce, FileLogWriter } from './config/FileLogWriter';
8
- export { listTemplates, loadTemplate, renderTemplate } from './tools/mail/templates';
9
- export { MailFake } from './tools/mail/testing';
10
- export { FakeStorage } from './tools/storage/testing';
11
- export { TestEnvironment, TestHttp } from './testing/index';
12
- export type { ITestEnvironment, TestEnvironmentOptions, TestHeaders, TestHttpRequestInput, TestHttpResponseRecorder, TestRequestInput, TestResponse, } from './testing/index';
13
- export { listTemplates as listNotificationTemplates, loadTemplate as loadNotificationTemplate, renderTemplate as renderNotificationTemplate, } from './tools/notification/templates/markdown';
1
+ export * as crypto from './node-singletons/crypto.js';
2
+ export * as fs from './node-singletons/fs.js';
3
+ export * as path from './node-singletons/path.js';
4
+ export { performance } from './node-singletons/perf-hooks.js';
5
+ export { default, default as process } from './node-singletons/process.js';
6
+ export * as url from './node-singletons/url.js';
7
+ export { cleanOnce, FileLogWriter } from './config/FileLogWriter.js';
8
+ export { listTemplates, loadTemplate, renderTemplate } from './tools/mail/templates/index.js';
9
+ export { MailFake } from './tools/mail/testing.js';
10
+ export { FakeStorage } from './tools/storage/testing.js';
11
+ export { TestEnvironment, TestHttp } from './testing/index.js';
12
+ export type { ITestEnvironment, TestEnvironmentOptions, TestHeaders, TestHttpRequestInput, TestHttpResponseRecorder, TestRequestInput, TestResponse, } from './testing/index.js';
13
+ export { listTemplates as listNotificationTemplates, loadTemplate as loadNotificationTemplate, renderTemplate as renderNotificationTemplate, } from './tools/notification/templates/markdown/index.js';
14
14
  //# sourceMappingURL=node.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { RouteRegistration } from '../routes/RouteRegistry';
1
+ import type { RouteRegistration } from '../routes/RouteRegistry.js';
2
2
  type OpenApiSchema = {
3
3
  type?: string;
4
4
  format?: string;
@@ -3,8 +3,8 @@
3
3
  * Handles database connections across different runtime environments
4
4
  * Supports: PostgreSQL, MySQL, SQL Server with connection pooling for Lambda
5
5
  */
6
- import type { SupportedDriver } from '../migrations/enum';
7
- import type { IDatabaseAdapter } from './DatabaseAdapter';
6
+ import type { SupportedDriver } from '../migrations/enum/index.js';
7
+ import type { IDatabaseAdapter } from './DatabaseAdapter.js';
8
8
  export interface ConnectionConfig {
9
9
  adapter: SupportedDriver;
10
10
  host?: string;
@@ -2,9 +2,9 @@
2
2
  * Database Manager
3
3
  * Central database connection management and query execution
4
4
  */
5
- import type { SupportedDriver } from '../migrations/enum';
6
- import { type D1ReadConstraint, type DatabaseConfig, type IDatabaseAdapter, type QueryResult } from './DatabaseAdapter';
7
- import type { IQueryBuilder } from './QueryBuilder';
5
+ import type { SupportedDriver } from '../migrations/enum/index.js';
6
+ import { type D1ReadConstraint, type DatabaseConfig, type IDatabaseAdapter, type QueryResult } from './DatabaseAdapter.js';
7
+ import type { IQueryBuilder } from './QueryBuilder.js';
8
8
  export type RawValue = {
9
9
  __raw: string;
10
10
  };
@@ -2,7 +2,7 @@
2
2
  * Database Adapter Interface
3
3
  * Defines contract for different database implementations
4
4
  */
5
- import type { SupportedDriver } from '../migrations/enum';
5
+ import type { SupportedDriver } from '../migrations/enum/index.js';
6
6
  export type ExternalDatabaseDriver = 'mysql-zedgi' | 'postgres-zedgi' | 'pg-zedgi';
7
7
  /**
8
8
  * Read-replication constraint for a D1 session.
@@ -1,4 +1,4 @@
1
- import type { DatabaseConfig, IDatabaseAdapter } from './DatabaseAdapter';
1
+ import type { DatabaseConfig, IDatabaseAdapter } from './DatabaseAdapter.js';
2
2
  export type AdapterFactory = (config: DatabaseConfig) => IDatabaseAdapter;
3
3
  declare function register(driver: DatabaseConfig['driver'], factory: AdapterFactory): void;
4
4
  declare function get(driver: DatabaseConfig['driver']): AdapterFactory | undefined;
@@ -1,4 +1,4 @@
1
- import type { DatabaseConfig } from './DatabaseAdapter';
1
+ import type { DatabaseConfig } from './DatabaseAdapter.js';
2
2
  export declare const DatabaseConnectionRegistry: Readonly<{
3
3
  clear(): void;
4
4
  set(name: string, config: DatabaseConfig): void;
@@ -4,7 +4,7 @@
4
4
  * Bridges config-layer database connection definitions into ORM connection
5
5
  * instances that can be selected via `useDatabase(undefined, name)`.
6
6
  */
7
- import type { DatabaseConfigShape } from '../config/type';
7
+ import type { DatabaseConfigShape } from '../config/type.js';
8
8
  /**
9
9
  * Register all connections from runtime config.
10
10
  *
@@ -2,9 +2,9 @@
2
2
  * Enhanced Model with Relationships
3
3
  * Full ORM capabilities with eager/lazy loading
4
4
  */
5
- import type { Paginator } from '../database/Paginator';
6
- import type { EagerLoadConstraints, IQueryBuilder, InsertResult, JoinOnInput, LatestPerOptions, NormalizedTextOptions, PaginationOptions } from './QueryBuilder';
7
- import type { IRelationship } from './Relationships';
5
+ import type { Paginator } from '../database/Paginator.js';
6
+ import type { EagerLoadConstraints, IQueryBuilder, InsertResult, JoinOnInput, LatestPerOptions, NormalizedTextOptions, PaginationOptions } from './QueryBuilder.js';
7
+ import type { IRelationship } from './Relationships.js';
8
8
  export interface ModelConfig {
9
9
  table: string;
10
10
  fillable: string[];
@@ -117,6 +117,8 @@ export type DefinedModel<T extends BoundModelMethods> = {
117
117
  whereNotNull: (column: string) => IQueryBuilder;
118
118
  whereIn: (column: string, values: unknown[]) => IQueryBuilder;
119
119
  whereNotIn: (column: string, values: unknown[]) => IQueryBuilder;
120
+ whereMatch: (column: string, query: string) => IQueryBuilder;
121
+ whereNotMatch: (column: string, query: string) => IQueryBuilder;
120
122
  whereColumn: (left: string, operator: string, right: string) => IQueryBuilder;
121
123
  whereExists: (callback: (builder: IQueryBuilder) => unknown) => IQueryBuilder;
122
124
  whereNotExists: (callback: (builder: IQueryBuilder) => unknown) => IQueryBuilder;
@@ -1 +1 @@
1
- {"version":3,"file":"Model.d.ts","sourceRoot":"","sources":["../../../src/orm/Model.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,OAAO,KAAK,EACV,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,WAAW,EACX,gBAAgB,EAChB,qBAAqB,EACrB,iBAAiB,EAElB,MAAM,mBAAmB,CAAC;AAM3B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAqBxD,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAA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Model) => {
710
710
  whereNotNull: (column) => wrappedBuilder().whereNotNull(column),
711
711
  whereIn: (column, values) => wrappedBuilder().whereIn(column, values),
712
712
  whereNotIn: (column, values) => wrappedBuilder().whereNotIn(column, values),
713
+ whereMatch: (column, matchQuery) => wrappedBuilder().whereMatch(column, matchQuery),
714
+ whereNotMatch: (column, matchQuery) => wrappedBuilder().whereNotMatch(column, matchQuery),
713
715
  whereColumn: (left, operator, right) => wrappedBuilder().whereColumn(left, operator, right),
714
716
  whereExists: (callback) => wrappedBuilder().whereExists(callback),
715
717
  whereNotExists: (callback) => wrappedBuilder().whereNotExists(callback),