@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,7 +1,6 @@
1
1
  import * as fs from '../node-singletons/fs.js';
2
2
  import * as path from '../node-singletons/path.js';
3
- // TypeScript 7's `typescript` package no longer ships the compiler API.
4
- import ts from '@typescript/typescript6';
3
+ import ts from 'typescript';
5
4
  const TEMPLATES_ROOT = path.resolve(process.cwd(), 'src/templates');
6
5
  const bannedPrefixes = [
7
6
  '@exceptions/',
@@ -2,7 +2,7 @@
2
2
  * ZinTrust Scripts - Non-runtime entrypoint
3
3
  * Contains script utilities and generators for development/admin use
4
4
  */
5
- export * from './scripts/GenerateEnvArtifacts';
6
- export * from './scripts/TemplateImportsCheck';
7
- export * from './scripts/TemplateSync';
5
+ export * from './scripts/GenerateEnvArtifacts.js';
6
+ export * from './scripts/TemplateImportsCheck.js';
7
+ export * from './scripts/TemplateSync.js';
8
8
  //# sourceMappingURL=scripts-index.d.ts.map
@@ -3,7 +3,7 @@
3
3
  * JSON Web Token generation, verification, and claims management
4
4
  * Uses native Node.js crypto module (zero external dependencies)
5
5
  */
6
- import type { AuthorizationHeader } from './JwtSessions';
6
+ import type { AuthorizationHeader } from './JwtSessions.js';
7
7
  export type JwtAlgorithm = 'HS256' | 'HS512' | 'RS256';
8
8
  export interface JwtPayload {
9
9
  sub?: string;
@@ -1,4 +1,4 @@
1
- import type { JwtPayload } from './JwtManager';
1
+ import type { JwtPayload } from './JwtManager.js';
2
2
  export type JwtVerifierAlgorithm = 'RS256';
3
3
  type JwtVerifierJsonWebKey = Readonly<{
4
4
  alg?: string;
@@ -1,5 +1,5 @@
1
- import { EncryptedEnvelope } from './EncryptedEnvelope';
2
- import { type ISchema } from '../validation/Validator';
1
+ import { EncryptedEnvelope } from './EncryptedEnvelope.js';
2
+ import { type ISchema } from '../validation/Validator.js';
3
3
  export type SecurePayloadDecryptor<TContext = unknown> = (raw: string, context?: TContext) => Promise<string> | string;
4
4
  export type SecurePayloadDecodeOptions<TContext = unknown> = {
5
5
  decryptor?: string | SecurePayloadDecryptor<TContext>;
@@ -2,26 +2,26 @@
2
2
  * ZinTrust Security - Security primitives and crypto utilities
3
3
  * Contains authentication, encryption, hashing, JWT, and security helpers
4
4
  */
5
- export { BulletproofDeviceStore } from './security/BulletproofDeviceStore';
6
- export { CsrfTokenManager } from './security/CsrfTokenManager';
7
- export type { CsrfTokenData, CsrfTokenManagerType, ICsrfTokenManager, } from './security/CsrfTokenManager';
8
- export { EncryptedEnvelope } from './security/EncryptedEnvelope';
9
- export { Encryptor } from './security/Encryptor';
10
- export { Hash } from './security/Hash';
11
- export { JwtManager } from './security/JwtManager';
12
- export type { IJwtManager, JwtAlgorithm, JwtManagerType, JwtOptions, JwtPayload, } from './security/JwtManager';
13
- export { JwtSessions } from './security/JwtSessions';
14
- export { JwtVerifier } from './security/JwtVerifier';
15
- export type { JwtVerifierAlgorithm, JwtVerifierFailure, JwtVerifierFailureReason, JwtVerifierJwk, JwtVerifierJwksDocument, JwtVerifierResult, JwtVerifierSuccess, JwtVerifierWithJwkInput, JwtVerifierWithJwksInput, } from './security/JwtVerifier';
16
- export { PasswordResetTokenBroker } from './security/PasswordResetTokenBroker';
17
- export type { IPasswordResetTokenBroker, IPasswordResetTokenStore, PasswordResetTokenBrokerOptions, PasswordResetTokenBrokerType, PasswordResetTokenRecord, } from './security/PasswordResetTokenBroker';
18
- export { createSanitizer, Sanitizer, type SanitizerType } from './security/Sanitizer';
19
- export { TokenRevocation } from './security/TokenRevocation';
20
- export { Xss } from './security/Xss';
21
- export { XssProtection } from './security/XssProtection';
22
- export { SecurePayload, type SecurePayloadCoercionShape, type SecurePayloadCoercionType, type SecurePayloadDecodeOptions, type SecurePayloadDecryptor, type SecurePayloadPipeline, type SecurePayloadPipelineIssue, type SecurePayloadPipelineStage, } from './security/SecurePayload';
23
- export { RemoteSignedJson } from './common/RemoteSignedJson';
24
- export type { RemoteSignedJsonSettings } from './common/RemoteSignedJson';
25
- export type { SanitizerError } from './exceptions/ZintrustError';
26
- export { SignedRequest } from './security/SignedRequest';
5
+ export { BulletproofDeviceStore } from './security/BulletproofDeviceStore.js';
6
+ export { CsrfTokenManager } from './security/CsrfTokenManager.js';
7
+ export type { CsrfTokenData, CsrfTokenManagerType, ICsrfTokenManager, } from './security/CsrfTokenManager.js';
8
+ export { EncryptedEnvelope } from './security/EncryptedEnvelope.js';
9
+ export { Encryptor } from './security/Encryptor.js';
10
+ export { Hash } from './security/Hash.js';
11
+ export { JwtManager } from './security/JwtManager.js';
12
+ export type { IJwtManager, JwtAlgorithm, JwtManagerType, JwtOptions, JwtPayload, } from './security/JwtManager.js';
13
+ export { JwtSessions } from './security/JwtSessions.js';
14
+ export { JwtVerifier } from './security/JwtVerifier.js';
15
+ export type { JwtVerifierAlgorithm, JwtVerifierFailure, JwtVerifierFailureReason, JwtVerifierJwk, JwtVerifierJwksDocument, JwtVerifierResult, JwtVerifierSuccess, JwtVerifierWithJwkInput, JwtVerifierWithJwksInput, } from './security/JwtVerifier.js';
16
+ export { PasswordResetTokenBroker } from './security/PasswordResetTokenBroker.js';
17
+ export type { IPasswordResetTokenBroker, IPasswordResetTokenStore, PasswordResetTokenBrokerOptions, PasswordResetTokenBrokerType, PasswordResetTokenRecord, } from './security/PasswordResetTokenBroker.js';
18
+ export { createSanitizer, Sanitizer, type SanitizerType } from './security/Sanitizer.js';
19
+ export { TokenRevocation } from './security/TokenRevocation.js';
20
+ export { Xss } from './security/Xss.js';
21
+ export { XssProtection } from './security/XssProtection.js';
22
+ export { SecurePayload, type SecurePayloadCoercionShape, type SecurePayloadCoercionType, type SecurePayloadDecodeOptions, type SecurePayloadDecryptor, type SecurePayloadPipeline, type SecurePayloadPipelineIssue, type SecurePayloadPipelineStage, } from './security/SecurePayload.js';
23
+ export { RemoteSignedJson } from './common/RemoteSignedJson.js';
24
+ export type { RemoteSignedJsonSettings } from './common/RemoteSignedJson.js';
25
+ export type { SanitizerError } from './exceptions/ZintrustError.js';
26
+ export { SignedRequest } from './security/SignedRequest.js';
27
27
  //# sourceMappingURL=security-index.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { LoadedSeeder } from '../seeders/types';
1
+ import type { LoadedSeeder } from './types.js';
2
2
  export declare const SeederLoader: Readonly<{
3
3
  load(filePath: string): Promise<LoadedSeeder>;
4
4
  }>;
@@ -1,4 +1,4 @@
1
- import type { IDatabase } from '../orm/Database';
1
+ import type { IDatabase } from '../orm/Database.js';
2
2
  export type SeederModule = {
3
3
  /** Common pattern: export const UserSeeder = { run() { ... } } */
4
4
  [key: string]: unknown;
@@ -2,7 +2,7 @@
2
2
  * ZinTrust Seeders - Non-runtime entrypoint
3
3
  * Contains database seeding utilities for development/admin use
4
4
  */
5
- export { SeederDiscovery } from './seeders/SeederDiscovery';
6
- export { SeederLoader } from './seeders/SeederLoader';
7
- export type { LoadedSeeder, SeederHandler } from './seeders/types';
5
+ export { SeederDiscovery } from './seeders/SeederDiscovery.js';
6
+ export { SeederLoader } from './seeders/SeederLoader.js';
7
+ export type { LoadedSeeder, SeederHandler } from './seeders/types.js';
8
8
  //# sourceMappingURL=seeders-index.d.ts.map
@@ -1,3 +1,3 @@
1
- export { SessionManager } from './SessionManager';
2
- export type { ISession, ISessionManager, SessionData, SessionManagerOptions, } from './SessionManager';
1
+ export { SessionManager } from './SessionManager.js';
2
+ export type { ISession, ISessionManager, SessionData, SessionManagerOptions, } from './SessionManager.js';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -2,8 +2,8 @@
2
2
  * Socket Exports
3
3
  * Provides WebSocket and real-time communication utilities
4
4
  */
5
- export { CloudflareSocket } from './sockets/CloudflareSocket';
6
- export { SocketFeature } from './sockets/SocketRuntime';
7
- export type { SocketAuthorizationContext, SocketAuthorizationDecision, SocketAuthorizer, SocketAuthorizerHandler, SocketFeatureSettings, SocketNodeUpgradeInput, SocketPublishContext, SocketPublishDecision, SocketPublishPolicy, SocketPublishPolicyHandler, SocketRouteRegistrar, SocketRuntime, SocketRuntimeDiagnostics, SocketTransportMode, SocketWorkerContext, } from './sockets/SocketRuntime';
8
- export { SocketRuntimeRegistry } from './sockets/SocketRuntimeRegistry';
5
+ export { CloudflareSocket } from './sockets/CloudflareSocket.js';
6
+ export { SocketFeature } from './sockets/SocketRuntime.js';
7
+ export type { SocketAuthorizationContext, SocketAuthorizationDecision, SocketAuthorizer, SocketAuthorizerHandler, SocketFeatureSettings, SocketNodeUpgradeInput, SocketPublishContext, SocketPublishDecision, SocketPublishPolicy, SocketPublishPolicyHandler, SocketRouteRegistrar, SocketRuntime, SocketRuntimeDiagnostics, SocketTransportMode, SocketWorkerContext, } from './sockets/SocketRuntime.js';
8
+ export { SocketRuntimeRegistry } from './sockets/SocketRuntimeRegistry.js';
9
9
  //# sourceMappingURL=socket-index.d.ts.map
@@ -1,7 +1,7 @@
1
- import type { IRouter } from '../routes/Router';
2
- import type { IRequest } from '../http/Request';
3
- import type { IncomingMessage } from '../node-singletons/http';
4
- import type { Socket } from '../node-singletons/net';
1
+ import type { IRouter } from '../routes/Router.js';
2
+ import type { IRequest } from '../http/Request.js';
3
+ import type { IncomingMessage } from '../node-singletons/http.js';
4
+ import type { Socket } from '../node-singletons/net.js';
5
5
  export type SocketTransportMode = 'auto' | 'node' | 'cloudflare';
6
6
  export type SocketFeatureSettings = Readonly<{
7
7
  enabled: boolean;
@@ -1,4 +1,4 @@
1
- import type { SocketRouteRegistrar, SocketRuntime, SocketRuntimeDiagnostics } from './SocketRuntime';
1
+ import type { SocketRouteRegistrar, SocketRuntime, SocketRuntimeDiagnostics } from './SocketRuntime.js';
2
2
  export declare const SocketRuntimeRegistry: Readonly<{
3
3
  registerRuntime(runtime: SocketRuntime): void;
4
4
  getRuntime(): SocketRuntime | undefined;
package/src/start.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type ActiveServiceRuntime } from './microservices/ServiceManifest';
1
+ import { type ActiveServiceRuntime } from './microservices/ServiceManifest.js';
2
2
  export declare const isNodeMain: (importMetaUrl: string) => boolean;
3
3
  export declare const configureStandaloneService: (activeService: unknown) => ActiveServiceRuntime;
4
4
  export declare const bootStandaloneService: (importMetaUrl: string, activeService: unknown) => Promise<ActiveServiceRuntime>;
@@ -2,13 +2,13 @@
2
2
  * Storage Exports
3
3
  * Provides storage drivers and utilities
4
4
  */
5
- export { GcsDriver } from './tools/storage/drivers/Gcs';
6
- export { R2Driver } from './tools/storage/drivers/R2';
7
- export { S3Driver } from './tools/storage/drivers/S3';
8
- export { StorageDriverRegistry } from './tools/storage/StorageDriverRegistry';
9
- export { MultipartParserRegistry } from './http/parsers/MultipartParserRegistry';
10
- export type { MultipartFieldValue, MultipartParseInput, MultipartParserProvider, ParsedMultipartData, } from './http/parsers/MultipartParserRegistry';
11
- export type { GcsConfig } from './tools/storage/drivers/Gcs';
12
- export type { R2Config } from './tools/storage/drivers/R2';
13
- export type { S3Config } from './tools/storage/drivers/S3';
5
+ export { GcsDriver } from './tools/storage/drivers/Gcs.js';
6
+ export { R2Driver } from './tools/storage/drivers/R2.js';
7
+ export { S3Driver } from './tools/storage/drivers/S3.js';
8
+ export { StorageDriverRegistry } from './tools/storage/StorageDriverRegistry.js';
9
+ export { MultipartParserRegistry } from './http/parsers/MultipartParserRegistry.js';
10
+ export type { MultipartFieldValue, MultipartParseInput, MultipartParserProvider, ParsedMultipartData, } from './http/parsers/MultipartParserRegistry.js';
11
+ export type { GcsConfig } from './tools/storage/drivers/Gcs.js';
12
+ export type { R2Config } from './tools/storage/drivers/R2.js';
13
+ export type { S3Config } from './tools/storage/drivers/S3.js';
14
14
  //# sourceMappingURL=storage-index.d.ts.map
package/src/tasks.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { BackgroundTaskScheduler } from './runtime/BackgroundTaskScheduler';
1
+ export { BackgroundTaskScheduler } from './runtime/BackgroundTaskScheduler.js';
2
2
  //# sourceMappingURL=tasks.d.ts.map
@@ -2,5 +2,5 @@
2
2
  * ZinTrust Templates - Template utilities
3
3
  * Contains template rendering and generation utilities
4
4
  */
5
- export { MarkdownRenderer } from './tools/templates';
5
+ export { MarkdownRenderer } from './tools/templates/index.js';
6
6
  //# sourceMappingURL=templates-index.d.ts.map
@@ -1,6 +1,6 @@
1
- import { type IServiceContainer } from '../container/ServiceContainer';
2
- import { type IKernel } from '../http/Kernel';
3
- import { type IRouter } from '../routes/Router';
1
+ import { type IServiceContainer } from '../container/ServiceContainer.js';
2
+ import { type IKernel } from '../http/Kernel.js';
3
+ import { type IRouter } from '../routes/Router.js';
4
4
  export type TestHeaders = Record<string, string>;
5
5
  export type TestRequestInput = {
6
6
  method: string;
@@ -1,5 +1,5 @@
1
- import { type IRequest, type ValidatedRequest } from '../http/Request';
2
- import type { IResponse } from '../http/Response';
1
+ import { type IRequest, type ValidatedRequest } from '../http/Request.js';
2
+ import type { IResponse } from '../http/Response.js';
3
3
  export type TestHttpRequestInput = {
4
4
  method?: string;
5
5
  path?: string;
@@ -1,5 +1,5 @@
1
- export { TestEnvironment } from '../testing/TestEnvironment';
2
- export type { ITestEnvironment, TestEnvironmentOptions, TestHeaders, TestRequestInput, TestResponse, } from '../testing/TestEnvironment';
3
- export { TestHttp } from '../testing/TestHttp';
4
- export type { TestHttpRequestInput, TestHttpResponseRecorder } from '../testing/TestHttp';
1
+ export { TestEnvironment } from './TestEnvironment.js';
2
+ export type { ITestEnvironment, TestEnvironmentOptions, TestHeaders, TestRequestInput, TestResponse, } from './TestEnvironment.js';
3
+ export { TestHttp } from './TestHttp.js';
4
+ export type { TestHttpRequestInput, TestHttpResponseRecorder } from './TestHttp.js';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export { TestEnvironment } from '../testing/TestEnvironment.js';
2
- export { TestHttp } from '../testing/TestHttp.js';
1
+ export { TestEnvironment } from './TestEnvironment.js';
2
+ export { TestHttp } from './TestHttp.js';
@@ -2,6 +2,6 @@
2
2
  * ZinTrust Testing - Non-runtime entrypoint
3
3
  * Contains test utilities and helpers for development use
4
4
  */
5
- export { TestEnvironment } from './testing/TestEnvironment';
6
- export { TestHttp } from './testing/TestHttp';
5
+ export { TestEnvironment } from './testing/TestEnvironment.js';
6
+ export { TestHttp } from './testing/TestHttp.js';
7
7
  //# sourceMappingURL=testing-index.d.ts.map
@@ -2,6 +2,6 @@
2
2
  * Time Utilities Module
3
3
  * Exports immutable DateTime utilities and related types
4
4
  */
5
- export { DateTime } from './DateTime';
6
- export type { IDateTime } from './DateTime';
5
+ export { DateTime } from './DateTime.js';
6
+ export type { IDateTime } from './DateTime.js';
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -4,8 +4,8 @@
4
4
  * Internal framework module intended for CLI usage.
5
5
  * It may use Node APIs (via node-singletons) and should not be used by runtime apps.
6
6
  */
7
- import { type SecretsProviderName } from '../Secrets/Manifest';
8
- export type { SecretsProviderName } from '../Secrets/Manifest';
7
+ import { type SecretsProviderName } from './Manifest.js';
8
+ export type { SecretsProviderName } from './Manifest.js';
9
9
  export type PullOptions = {
10
10
  cwd: string;
11
11
  provider?: SecretsProviderName;
@@ -6,10 +6,10 @@
6
6
  */
7
7
  import { Env } from '../../config/env.js';
8
8
  import { ErrorFactory } from '../../exceptions/ZintrustError.js';
9
- import { EnvFile } from '../Secrets/EnvFile.js';
10
- import { Manifest } from '../Secrets/Manifest.js';
11
- import { AwsSecretsManager } from '../Secrets/providers/AwsSecretsManager.js';
12
- import { CloudflareKv } from '../Secrets/providers/CloudflareKv.js';
9
+ import { EnvFile } from './EnvFile.js';
10
+ import { Manifest } from './Manifest.js';
11
+ import { AwsSecretsManager } from './providers/AwsSecretsManager.js';
12
+ import { CloudflareKv } from './providers/CloudflareKv.js';
13
13
  const resolveDefaultEnvFile = () => Env.ZINTRUST_ENV_FILE;
14
14
  const resolveDefaultManifest = () => Env.ZINTRUST_SECRETS_MANIFEST;
15
15
  const resolveDefaultInFile = () => Env.ZINTRUST_ENV_IN_FILE;
@@ -1,5 +1,5 @@
1
- import type { KnownBroadcastDriverConfig } from '../../config/type';
2
- import type { IRequest } from '../../http/Request';
1
+ import type { KnownBroadcastDriverConfig } from '../../config/type.js';
2
+ import type { IRequest } from '../../http/Request.js';
3
3
  type Broadcaster = Readonly<{
4
4
  send: (channel: string, event: string, data: unknown) => Promise<unknown>;
5
5
  publish: (input: BroadcastPublishInput) => Promise<BroadcastPublishResult>;
@@ -187,7 +187,7 @@ const getInternalPublishConfig = () => {
187
187
  const baseUrls = [];
188
188
  appendUnique(baseUrls, toAbsoluteBaseUrl(Env.get('BROADCAST_INTERNAL_URL', '')));
189
189
  appendUnique(baseUrls, toAbsoluteBaseUrl(Env.get('APP_URL', '')));
190
- appendUnique(baseUrls, toAbsoluteBaseUrl(Env.get('BASE_URL', Env.BASE_URL ?? '')));
190
+ appendUnique(baseUrls, toAbsoluteBaseUrl(Env.get('BASE_URL', '')));
191
191
  const appId = resolveBroadcastAppId();
192
192
  const secret = resolveBroadcastSecret();
193
193
  return Object.freeze({
@@ -1,4 +1,4 @@
1
- import type { KnownBroadcastDriverConfig } from '../../config/type';
1
+ import type { KnownBroadcastDriverConfig } from '../../config/type.js';
2
2
  declare function register(name: string, config: KnownBroadcastDriverConfig): void;
3
3
  declare function get(name: string): KnownBroadcastDriverConfig;
4
4
  declare function has(name: string): boolean;
@@ -1,4 +1,4 @@
1
- import type { BroadcastConfigInput } from '../../config/type';
1
+ import type { BroadcastConfigInput } from '../../config/type.js';
2
2
  /**
3
3
  * Register broadcasters from runtime config.
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { PusherBroadcastDriverConfig } from '../../../config/type';
1
+ import type { PusherBroadcastDriverConfig } from '../../../config/type.js';
2
2
  export declare const PusherDriver: Readonly<{
3
3
  send(config: PusherBroadcastDriverConfig, channel: string, event: string, data: unknown): Promise<{
4
4
  ok: boolean;
@@ -1,10 +1,10 @@
1
- export { Broadcast } from './Broadcast';
2
- export type { BroadcastPublishInput, BroadcastPublishResult } from './Broadcast';
3
- export { BroadcastRegistry } from './BroadcastRegistry';
4
- export { registerBroadcastersFromRuntimeConfig } from './BroadcastRuntimeRegistration';
5
- export { BaseDriver } from './drivers/BaseDriver';
6
- export { InMemoryDriver } from './drivers/InMemory';
7
- export { PusherDriver } from './drivers/Pusher';
8
- export { RedisDriver } from './drivers/Redis';
9
- export { RedisHttpsDriver } from './drivers/RedisHttps';
1
+ export { Broadcast } from './Broadcast.js';
2
+ export type { BroadcastPublishInput, BroadcastPublishResult } from './Broadcast.js';
3
+ export { BroadcastRegistry } from './BroadcastRegistry.js';
4
+ export { registerBroadcastersFromRuntimeConfig } from './BroadcastRuntimeRegistration.js';
5
+ export { BaseDriver } from './drivers/BaseDriver.js';
6
+ export { InMemoryDriver } from './drivers/InMemory.js';
7
+ export { PusherDriver } from './drivers/Pusher.js';
8
+ export { RedisDriver } from './drivers/Redis.js';
9
+ export { RedisHttpsDriver } from './drivers/RedisHttps.js';
10
10
  //# sourceMappingURL=index.d.ts.map
@@ -5,8 +5,8 @@
5
5
  * await HttpClient.get('https://api.example.com/users').withAuth(token).send();
6
6
  * await HttpClient.post('https://api.example.com/users', data).withTimeout(5000).send();
7
7
  */
8
- import { type IHttpResponse } from './HttpResponse';
9
- export type { IHttpResponse } from './HttpResponse';
8
+ import { type IHttpResponse } from './HttpResponse.js';
9
+ export type { IHttpResponse } from './HttpResponse.js';
10
10
  export type HttpRequestBody = Record<string, unknown> | string | ArrayBuffer | ArrayBufferView | Blob | FormData | URLSearchParams;
11
11
  export type HttpRequestCustomMode = Readonly<{
12
12
  contentType?: string;
@@ -3,13 +3,13 @@
3
3
  */
4
4
  declare const _default: Readonly<{
5
5
  HttpClient: Readonly<{
6
- get(url: string): import("./Http").IHttpRequest;
7
- post(url: string, data?: import("./Http").HttpRequestBody | null): import("./Http").IHttpRequest;
8
- put(url: string, data?: import("./Http").HttpRequestBody | null): import("./Http").IHttpRequest;
9
- patch(url: string, data?: import("./Http").HttpRequestBody | null): import("./Http").IHttpRequest;
10
- delete(url: string, data?: import("./Http").HttpRequestBody | null): import("./Http").IHttpRequest;
6
+ get(url: string): import("./Http.js").IHttpRequest;
7
+ post(url: string, data?: import("./Http.js").HttpRequestBody | null): import("./Http.js").IHttpRequest;
8
+ put(url: string, data?: import("./Http.js").HttpRequestBody | null): import("./Http.js").IHttpRequest;
9
+ patch(url: string, data?: import("./Http.js").HttpRequestBody | null): import("./Http.js").IHttpRequest;
10
+ delete(url: string, data?: import("./Http.js").HttpRequestBody | null): import("./Http.js").IHttpRequest;
11
11
  }>;
12
- createHttpResponse: (response: Response, body: string) => import("./HttpResponse").IHttpResponse;
12
+ createHttpResponse: (response: Response, body: string) => import("./HttpResponse.js").IHttpResponse;
13
13
  }>;
14
14
  export default _default;
15
15
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export { default, Mail } from './index';
1
+ export { default, Mail } from './index.js';
2
2
  //# sourceMappingURL=Mail.d.ts.map
@@ -1,4 +1,4 @@
1
- import { type MailMessage } from '../../mail/MailMessage';
1
+ import { type MailMessage } from '../MailMessage.js';
2
2
  export type CloudflareMailConfig = {
3
3
  driver: 'cl';
4
4
  binding: string;
@@ -3,7 +3,7 @@ import { Cloudflare } from '../../../config/cloudflare.js';
3
3
  import { Env } from '../../../config/env.js';
4
4
  import { ErrorFactory } from '../../../exceptions/ZintrustError.js';
5
5
  import { parseCustomHeadersFromEnv } from '../../../orm/adapters/SqlProxyAdapterUtils.js';
6
- import { buildRfc2822Message } from '../../mail/MailMessage.js';
6
+ import { buildRfc2822Message } from '../MailMessage.js';
7
7
  const MAIL_PROXY_KEY_ID_ENV = 'MAIL_CLOUDFLARE_PROXY_KEY_ID';
8
8
  const MAIL_PROXY_SECRET_ENV = ['MAIL_CLOUDFLARE_PROXY', 'SECRET'].join('_');
9
9
  const APP_KEY_ID_ENV = 'APP_NAME';
@@ -1,4 +1,4 @@
1
- import { type MailAddress, type MailAttachment, type MailMessage } from '../../mail/MailMessage';
1
+ import { type MailAddress, type MailAttachment, type MailMessage } from '../MailMessage.js';
2
2
  export type SmtpConfig = {
3
3
  host: string;
4
4
  port: number;
@@ -7,7 +7,7 @@ import * as net from '../../../node-singletons/net.js';
7
7
  import * as tls from '../../../node-singletons/tls.js';
8
8
  import { parseCustomHeadersFromEnv } from '../../../orm/adapters/SqlProxyAdapterUtils.js';
9
9
  import { normalizeSigningCredentials } from '../../../proxy/SigningService.js';
10
- import { buildRfc2822Message, } from '../../mail/MailMessage.js';
10
+ import { buildRfc2822Message, } from '../MailMessage.js';
11
11
  const resolveSigningPrefix = (baseUrl) => {
12
12
  try {
13
13
  const parsed = new URL(baseUrl);
@@ -1,4 +1,4 @@
1
- import { type AttachmentInput } from './attachments';
1
+ import { type AttachmentInput } from './attachments.js';
2
2
  export type SendMailInput = {
3
3
  to: string | string[];
4
4
  subject: string;
@@ -1,4 +1,4 @@
1
- import type { TemplateVariables } from './template-utils';
1
+ import type { TemplateVariables } from './template-utils.js';
2
2
  /**
3
3
  * Load and render email template with variable substitution
4
4
  */
@@ -18,8 +18,8 @@ export declare const Notification: Readonly<{
18
18
  channel: (name: string) => Readonly<{
19
19
  send: (recipient: string, message: string, options?: Record<string, unknown>) => Promise<unknown>;
20
20
  }>;
21
- compose: <TContext = unknown>(options?: import("./Composer").NotificationComposeOptions<TContext>) => import("./Composer").NotificationComposeBuilder<TContext>;
22
- registerChannel: <TPayload = unknown, TContext = unknown>(name: string, handler: import("./Composer").NotificationChannelHandler<TPayload, TContext>) => void;
21
+ compose: <TContext = unknown>(options?: import("./Composer.js").NotificationComposeOptions<TContext>) => import("./Composer.js").NotificationComposeBuilder<TContext>;
22
+ registerChannel: <TPayload = unknown, TContext = unknown>(name: string, handler: import("./Composer.js").NotificationChannelHandler<TPayload, TContext>) => void;
23
23
  unregisterChannel: (name: string) => void;
24
24
  hasChannel: (name: string) => boolean;
25
25
  listChannels: () => string[];
@@ -1,4 +1,4 @@
1
- import type { KnownNotificationDriverConfig } from '../../config/type';
1
+ import type { KnownNotificationDriverConfig } from '../../config/type.js';
2
2
  declare function register(name: string, config: KnownNotificationDriverConfig): void;
3
3
  declare function has(name: string): boolean;
4
4
  declare function get(name: string): KnownNotificationDriverConfig;
@@ -1,4 +1,4 @@
1
- import type { NotificationConfigInput } from '../../config/type';
1
+ import type { NotificationConfigInput } from '../../config/type.js';
2
2
  /**
3
3
  * Register notification channels from runtime config.
4
4
  *
@@ -1,5 +1,5 @@
1
1
  import notificationConfig from '../../../config/notification.js';
2
- import { SlackDriver } from '../drivers/Slack.js';
2
+ import { SlackDriver } from './Slack.js';
3
3
  export const SlackNotificationDriver = Object.freeze({
4
4
  async send(_recipient, message, options = {}) {
5
5
  const cfg = notificationConfig.providers.slack;
@@ -1,5 +1,5 @@
1
1
  import notificationConfig from '../../../config/notification.js';
2
- import { TwilioDriver } from '../drivers/Twilio.js';
2
+ import { TwilioDriver } from './Twilio.js';
3
3
  export const TwilioNotificationDriver = Object.freeze({
4
4
  async send(recipient, message) {
5
5
  const cfg = notificationConfig.providers.twilio;
@@ -3,7 +3,7 @@ export declare const loadTemplate: (name: string) => {
3
3
  content: string;
4
4
  variables?: string[];
5
5
  };
6
- export { listTemplates, renderTemplate } from '../../templates/markdown/registry';
6
+ export { listTemplates, renderTemplate } from './registry.js';
7
7
  declare const _default: {
8
8
  loadTemplate: (name: string) => {
9
9
  subject?: string;
@@ -34,5 +34,5 @@ export const loadTemplate = (name) => {
34
34
  const content = lines.slice(i).join('\n').trim();
35
35
  return { content, ...meta };
36
36
  };
37
- export { listTemplates, renderTemplate } from '../../templates/markdown/registry.js';
37
+ export { listTemplates, renderTemplate } from './registry.js';
38
38
  export default { loadTemplate };
@@ -1,4 +1,4 @@
1
- import { loadTemplate } from '../../templates/markdown';
1
+ import { loadTemplate } from './index.js';
2
2
  export declare const listTemplates: () => string[];
3
3
  export declare const renderTemplate: (name: string, vars?: Record<string, unknown>) => {
4
4
  html: string;
@@ -1,6 +1,6 @@
1
1
  import { readdirSync, statSync } from '../../../../node-singletons/fs.js';
2
2
  import { join, relative } from '../../../../node-singletons/path.js';
3
- import { loadTemplate } from '../../templates/markdown/index.js';
3
+ import { loadTemplate } from './index.js';
4
4
  import { MarkdownRenderer } from '../../../templates/index.js';
5
5
  const BASE = join(process.cwd(), 'src', 'tools', 'notification', 'templates', 'markdown');
6
6
  const walkDir = (dir, base = dir) => {
@@ -2,9 +2,9 @@
2
2
  * Advanced Queue Implementation
3
3
  * Extends ZinTrust queue functionality with deduplication and lock management
4
4
  */
5
- import type { AdvancedJobOptions, JobResult, QueueConfig } from '../../types/Queue';
6
- import { type DeduplicationBuilder } from './DeduplicationBuilder';
7
- import type { BullMQPayload } from './Queue';
5
+ import type { AdvancedJobOptions, JobResult, QueueConfig } from '../../types/Queue.js';
6
+ import { type DeduplicationBuilder } from './DeduplicationBuilder.js';
7
+ import type { BullMQPayload } from './Queue.js';
8
8
  export interface AdvancedQueue {
9
9
  enqueue(name: string, payload: BullMQPayload, options: AdvancedJobOptions): Promise<string>;
10
10
  deduplicate(id: string, builder: DeduplicationBuilder): Promise<JobResult>;
@@ -2,7 +2,7 @@
2
2
  * Deduplication Builder - Plain function implementation for BullMQ job deduplication
3
3
  * Follows ZinTrust's preference for functions over classes
4
4
  */
5
- import type { DeduplicationOptions, ReleaseCondition } from '../../types/Queue';
5
+ import type { DeduplicationOptions, ReleaseCondition } from '../../types/Queue.js';
6
6
  export type ReleaseStrategy = string | number | ReleaseCondition;
7
7
  export interface DeduplicationBuilder {
8
8
  id(id: string): DeduplicationBuilder;
@@ -1,4 +1,4 @@
1
- import { type BullMQPayload } from './Queue';
1
+ import { type BullMQPayload } from './Queue.js';
2
2
  export declare const IdempotencyManager: Readonly<{
3
3
  enqueueIdempotent(queueName: string, payload: BullMQPayload, idempotencyKey: string, ttlMs?: number): Promise<string>;
4
4
  }>;
@@ -1,4 +1,4 @@
1
- import { type JobTrackingRecord } from './JobStateTracker';
1
+ import { type JobTrackingRecord } from './JobStateTracker.js';
2
2
  export type DlqReplayReasonCode = 'bug_fixed' | 'transient_dependency' | 'operator_override';
3
3
  type DlqReplayRequest = {
4
4
  reasonCode: DlqReplayReasonCode;
@@ -1,4 +1,4 @@
1
- import type { JobStateTrackerPersistenceAdapter } from './JobStateTracker';
1
+ import type { JobStateTrackerPersistenceAdapter } from './JobStateTracker.js';
2
2
  type JobStateTrackerDbOptions = {
3
3
  connectionName?: string;
4
4
  jobsTable?: string;
@@ -2,7 +2,7 @@
2
2
  * Lock Provider Implementation
3
3
  * Provides distributed lock management for job deduplication
4
4
  */
5
- import type { LockProvider, LockProviderConfig } from '../../types/Queue';
5
+ import type { LockProvider, LockProviderConfig } from '../../types/Queue.js';
6
6
  /**
7
7
  * Close Redis connection and cleanup resources
8
8
  */
@@ -70,5 +70,5 @@ export declare const Queue: Readonly<{
70
70
  drain(queue: string, driverName?: string): Promise<void>;
71
71
  }>;
72
72
  export default Queue;
73
- export { resolveDeduplicationLockKey } from './DeduplicationKey';
73
+ export { resolveDeduplicationLockKey } from './DeduplicationKey.js';
74
74
  //# sourceMappingURL=Queue.d.ts.map