@zintrust/core 3.1.0 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (817) hide show
  1. package/bin/launcher.d.ts.map +1 -1
  2. package/bin/zintrust-main.d.ts +8 -16
  3. package/bin/zintrust-main.d.ts.map +1 -1
  4. package/package.json +26 -20
  5. package/src/auth/Auth.d.ts +1 -1
  6. package/src/auth/LoginFlow.d.ts +1 -1
  7. package/src/auth-index.d.ts +3 -3
  8. package/src/boot/Application.d.ts +1 -1
  9. package/src/boot/Application.d.ts.map +1 -1
  10. package/src/boot/Server.d.ts +3 -3
  11. package/src/boot/Server.d.ts.map +1 -1
  12. package/src/boot/registry/registerRoute.d.ts +1 -1
  13. package/src/boot/registry/registerRoute.d.ts.map +1 -1
  14. package/src/boot/registry/runtime.d.ts +2 -2
  15. package/src/boot/registry/runtime.d.ts.map +1 -1
  16. package/src/boot/registry/type.d.ts +3 -3
  17. package/src/boot/registry/worker.d.ts +1 -1
  18. package/src/boot/registry/worker.d.ts.map +1 -1
  19. package/src/bootstrap/service-manifest.d.ts +1 -1
  20. package/src/bootstrap/service-manifest.d.ts.map +1 -1
  21. package/src/cache/Cache.d.ts +25 -55
  22. package/src/cache/Cache.d.ts.map +1 -1
  23. package/src/cache/CacheDriverRegistry.d.ts +2 -2
  24. package/src/cache/CacheRuntimeRegistration.d.ts +1 -1
  25. package/src/cache/drivers/KVDriver.d.ts +2 -7
  26. package/src/cache/drivers/KVDriver.d.ts.map +1 -1
  27. package/src/cache/drivers/KVRemoteDriver.d.ts +2 -3
  28. package/src/cache/drivers/KVRemoteDriver.d.ts.map +1 -1
  29. package/src/cache/drivers/MemoryDriver.d.ts +2 -9
  30. package/src/cache/drivers/MemoryDriver.d.ts.map +1 -1
  31. package/src/cache/drivers/MongoDriver.d.ts +1 -1
  32. package/src/cache/drivers/RedisDriver.d.ts +2 -7
  33. package/src/cache/drivers/RedisDriver.d.ts.map +1 -1
  34. package/src/cli/ErrorHandler.d.ts +7 -37
  35. package/src/cli/ErrorHandler.d.ts.map +1 -1
  36. package/src/cli/OptionalCliExtensions.d.ts +16 -31
  37. package/src/cli/OptionalCliExtensions.d.ts.map +1 -1
  38. package/src/cli/cloudflare/CloudflareEnvTargetConfig.d.ts +11 -4
  39. package/src/cli/cloudflare/CloudflareEnvTargetConfig.d.ts.map +1 -1
  40. package/src/cli/cloudflare/CloudflareSecretSync.d.ts +3 -3
  41. package/src/cli/cloudflare/CloudflareSecretSync.d.ts.map +1 -1
  42. package/src/cli/cloudflare/CloudflareSecretSync.js +1 -1
  43. package/src/cli/cloudflare/CloudflareWranglerDevEnv.d.ts +2 -2
  44. package/src/cli/cloudflare/CloudflareWranglerDevEnv.d.ts.map +1 -1
  45. package/src/cli/cloudflare/CloudflareWranglerDevEnv.js +1 -1
  46. package/src/cli/commands/AddCommand.d.ts +35 -57
  47. package/src/cli/commands/AddCommand.d.ts.map +1 -1
  48. package/src/cli/commands/BroadcastWorkCommand.d.ts +1 -1
  49. package/src/cli/commands/BroadcastWorkCommand.d.ts.map +1 -1
  50. package/src/cli/commands/BroadcastWorkCommand.js +1 -1
  51. package/src/cli/commands/BulletproofKeyGenerateCommand.d.ts +1 -1
  52. package/src/cli/commands/BulletproofKeyGenerateCommand.d.ts.map +1 -1
  53. package/src/cli/commands/ConfigCommand.d.ts +1 -1
  54. package/src/cli/commands/ContainerComposeLifecycle.js +1 -1
  55. package/src/cli/commands/ContainerProxiesCommand.d.ts +1 -1
  56. package/src/cli/commands/ContainerProxiesCommand.js +2 -2
  57. package/src/cli/commands/ContainerWorkersCommand.d.ts +1 -1
  58. package/src/cli/commands/ContainerWorkersCommand.js +2 -2
  59. package/src/cli/commands/CreateCommand.d.ts +1 -1
  60. package/src/cli/commands/D1LearnCommand.d.ts +1 -1
  61. package/src/cli/commands/D1MigrateCommand.d.ts +1 -1
  62. package/src/cli/commands/D1ProxyCommand.d.ts +1 -1
  63. package/src/cli/commands/D1ProxyCommand.d.ts.map +1 -1
  64. package/src/cli/commands/D1ProxyCommand.js +2 -2
  65. package/src/cli/commands/DbSeedCommand.d.ts +1 -1
  66. package/src/cli/commands/DebugCommand.d.ts +2 -8
  67. package/src/cli/commands/DebugCommand.d.ts.map +1 -1
  68. package/src/cli/commands/DeployCommand.d.ts +1 -1
  69. package/src/cli/commands/DeployContainerProxiesCommand.d.ts +1 -1
  70. package/src/cli/commands/DeployContainerProxiesCommand.js +1 -1
  71. package/src/cli/commands/DeployContainerWorkersCommand.d.ts +1 -1
  72. package/src/cli/commands/DeployContainerWorkersCommand.js +1 -1
  73. package/src/cli/commands/DeployContainersProxyCommand.d.ts +1 -1
  74. package/src/cli/commands/DockerCommand.d.ts +1 -1
  75. package/src/cli/commands/DockerCommand.js +1 -1
  76. package/src/cli/commands/DockerComposeCommandUtils.d.ts.map +1 -1
  77. package/src/cli/commands/DockerPushCommand.d.ts +1 -1
  78. package/src/cli/commands/DoctorArchitectureCommand.d.ts +1 -1
  79. package/src/cli/commands/EmailProxyCommand.d.ts +1 -1
  80. package/src/cli/commands/EmailProxyCommand.d.ts.map +1 -1
  81. package/src/cli/commands/EmailProxyCommand.js +2 -2
  82. package/src/cli/commands/EnvKeyGenerateCommand.d.ts +1 -1
  83. package/src/cli/commands/EnvKeyGenerateCommand.d.ts.map +1 -1
  84. package/src/cli/commands/FixCommand.d.ts +1 -1
  85. package/src/cli/commands/InitContainerCommand.d.ts +1 -1
  86. package/src/cli/commands/InitContainersProxyCommand.d.ts +1 -1
  87. package/src/cli/commands/InitEcosystemCommand.d.ts +1 -1
  88. package/src/cli/commands/InitEcosystemCommand.d.ts.map +1 -1
  89. package/src/cli/commands/InitProducerCommand.d.ts +1 -1
  90. package/src/cli/commands/InitProxyCommand.d.ts +1 -1
  91. package/src/cli/commands/JwtDevCommand.d.ts +1 -1
  92. package/src/cli/commands/JwtDevCommand.d.ts.map +1 -1
  93. package/src/cli/commands/KeyGenerateCommand.d.ts +1 -1
  94. package/src/cli/commands/KvProxyCommand.d.ts +1 -1
  95. package/src/cli/commands/KvProxyCommand.d.ts.map +1 -1
  96. package/src/cli/commands/KvProxyCommand.js +2 -2
  97. package/src/cli/commands/LogsCleanupCommand.d.ts +1 -1
  98. package/src/cli/commands/LogsCleanupCommand.d.ts.map +1 -1
  99. package/src/cli/commands/LogsCommand.d.ts +1 -1
  100. package/src/cli/commands/LogsCommand.d.ts.map +1 -1
  101. package/src/cli/commands/MakeMailTemplateCommand.d.ts +1 -1
  102. package/src/cli/commands/MakeMailTemplateCommand.d.ts.map +1 -1
  103. package/src/cli/commands/MakeNotificationTemplateCommand.d.ts +1 -1
  104. package/src/cli/commands/MakeNotificationTemplateCommand.d.ts.map +1 -1
  105. package/src/cli/commands/MigrateCommand.d.ts +1 -1
  106. package/src/cli/commands/MigrateWorkerCommand.d.ts +1 -1
  107. package/src/cli/commands/MongoDBProxyCommand.js +1 -1
  108. package/src/cli/commands/MySqlProxyCommand.d.ts +1 -1
  109. package/src/cli/commands/MySqlProxyCommand.d.ts.map +1 -1
  110. package/src/cli/commands/MySqlProxyCommand.js +2 -2
  111. package/src/cli/commands/NewCommand.d.ts +1 -1
  112. package/src/cli/commands/NotificationWorkCommand.d.ts +1 -1
  113. package/src/cli/commands/NotificationWorkCommand.d.ts.map +1 -1
  114. package/src/cli/commands/NotificationWorkCommand.js +1 -1
  115. package/src/cli/commands/PluginCommand.d.ts +1 -1
  116. package/src/cli/commands/PostgresProxyCommand.d.ts +1 -1
  117. package/src/cli/commands/PostgresProxyCommand.d.ts.map +1 -1
  118. package/src/cli/commands/PostgresProxyCommand.js +2 -2
  119. package/src/cli/commands/PrepareCommand.d.ts +1 -1
  120. package/src/cli/commands/ProxyCommand.d.ts +8 -8
  121. package/src/cli/commands/ProxyCommand.d.ts.map +1 -1
  122. package/src/cli/commands/ProxyCommandUtils.d.ts.map +1 -1
  123. package/src/cli/commands/ProxyScaffoldUtils.d.ts.map +1 -1
  124. package/src/cli/commands/PublishCommand.d.ts +1 -1
  125. package/src/cli/commands/PutCommand.d.ts +1 -1
  126. package/src/cli/commands/PutCommand.d.ts.map +1 -1
  127. package/src/cli/commands/QACommand.d.ts +1 -1
  128. package/src/cli/commands/QueueCommand.d.ts +1 -1
  129. package/src/cli/commands/QueueCommand.d.ts.map +1 -1
  130. package/src/cli/commands/QueueCommand.js +2 -2
  131. package/src/cli/commands/QueueRecoveryCommand.d.ts +1 -1
  132. package/src/cli/commands/QueueRecoveryCommand.d.ts.map +1 -1
  133. package/src/cli/commands/QueueWorkCommandUtils.d.ts +1 -1
  134. package/src/cli/commands/QueueWorkCommandUtils.d.ts.map +1 -1
  135. package/src/cli/commands/RedisProxyCommand.d.ts +1 -1
  136. package/src/cli/commands/RedisProxyCommand.d.ts.map +1 -1
  137. package/src/cli/commands/RedisProxyCommand.js +1 -1
  138. package/src/cli/commands/RedisRpcCommand.d.ts +1 -1
  139. package/src/cli/commands/RedisRpcCommand.d.ts.map +1 -1
  140. package/src/cli/commands/RedisRpcCommand.js +1 -1
  141. package/src/cli/commands/ResourceControlCommand.d.ts +1 -1
  142. package/src/cli/commands/RoutesCommand.d.ts +1 -1
  143. package/src/cli/commands/RoutesCommand.d.ts.map +1 -1
  144. package/src/cli/commands/ScheduleListCommand.d.ts +1 -1
  145. package/src/cli/commands/ScheduleListCommand.d.ts.map +1 -1
  146. package/src/cli/commands/ScheduleListCommand.js +1 -1
  147. package/src/cli/commands/ScheduleRunCommand.d.ts +1 -1
  148. package/src/cli/commands/ScheduleRunCommand.d.ts.map +1 -1
  149. package/src/cli/commands/ScheduleRunCommand.js +1 -1
  150. package/src/cli/commands/ScheduleStartCommand.d.ts +1 -1
  151. package/src/cli/commands/ScheduleStartCommand.d.ts.map +1 -1
  152. package/src/cli/commands/ScheduleStartCommand.js +1 -1
  153. package/src/cli/commands/SecretsCommand.d.ts +1 -1
  154. package/src/cli/commands/SecretsCommand.d.ts.map +1 -1
  155. package/src/cli/commands/SimulateCommand.d.ts +1 -1
  156. package/src/cli/commands/SmtpProxyCommand.d.ts +1 -1
  157. package/src/cli/commands/SmtpProxyCommand.d.ts.map +1 -1
  158. package/src/cli/commands/SmtpProxyCommand.js +1 -1
  159. package/src/cli/commands/SqlProxyCommandUtils.d.ts +1 -1
  160. package/src/cli/commands/SqlProxyCommandUtils.d.ts.map +1 -1
  161. package/src/cli/commands/SqlProxyCommandUtils.js +1 -1
  162. package/src/cli/commands/SqlServerProxyCommand.js +1 -1
  163. package/src/cli/commands/StartCommand.d.ts +6 -12
  164. package/src/cli/commands/StartCommand.d.ts.map +1 -1
  165. package/src/cli/commands/StartCommand.js +1 -1
  166. package/src/cli/commands/TemplatesCommand.d.ts +1 -1
  167. package/src/cli/commands/TemplatesCommand.d.ts.map +1 -1
  168. package/src/cli/commands/TraceCommand.d.ts +1 -1
  169. package/src/cli/commands/TraceCommand.js +2 -2
  170. package/src/cli/commands/TraceCommands.d.ts +1 -1
  171. package/src/cli/commands/TraceCommands.d.ts.map +1 -1
  172. package/src/cli/commands/UpgradeCommand.d.ts +1 -1
  173. package/src/cli/commands/UpgradeCommand.d.ts.map +1 -1
  174. package/src/cli/commands/WorkerCommands.d.ts +9 -39
  175. package/src/cli/commands/WorkerCommands.d.ts.map +1 -1
  176. package/src/cli/commands/WranglerDevVarsCommand.d.ts +1 -1
  177. package/src/cli/commands/WranglerDevVarsCommand.d.ts.map +1 -1
  178. package/src/cli/commands/WranglerProxyCommandUtils.d.ts +1 -1
  179. package/src/cli/commands/WranglerProxyCommandUtils.d.ts.map +1 -1
  180. package/src/cli/commands/WranglerProxyCommandUtils.js +2 -2
  181. package/src/cli/commands/createKindWorkCommand.d.ts +2 -2
  182. package/src/cli/commands/createKindWorkCommand.js +1 -1
  183. package/src/cli/commands/index.d.ts +27 -27
  184. package/src/cli/commands/index.js +27 -27
  185. package/src/cli/commands/runner/index.d.ts.map +1 -1
  186. package/src/cli/commands/schedule/ScheduleCliSupport.d.ts +2 -4
  187. package/src/cli/commands/schedule/ScheduleCliSupport.d.ts.map +1 -1
  188. package/src/cli/config/ConfigManager.d.ts +1 -1
  189. package/src/cli/config/ConfigManager.js +1 -1
  190. package/src/cli/config/ConfigSchema.d.ts.map +1 -1
  191. package/src/cli/config/ConfigValidator.d.ts +1 -1
  192. package/src/cli/config/ConfigValidator.js +1 -1
  193. package/src/cli/config/index.d.ts +3 -3
  194. package/src/cli/config/index.js +3 -3
  195. package/src/cli/d1/LocalD1Resolver.d.ts +1 -1
  196. package/src/cli/d1/LocalD1Resolver.js +2 -2
  197. package/src/cli/d1/WranglerD1.d.ts +1 -1
  198. package/src/cli/env/EnvFileBackfill.d.ts +2 -5
  199. package/src/cli/env/EnvFileBackfill.d.ts.map +1 -1
  200. package/src/cli/index.d.ts +18 -18
  201. package/src/cli/logger/Logger.d.ts.map +1 -1
  202. package/src/cli/scaffolding/ControllerGenerator.js +2 -2
  203. package/src/cli/scaffolding/FactoryGenerator.js +1 -1
  204. package/src/cli/scaffolding/FeatureScaffolder.js +5 -5
  205. package/src/cli/scaffolding/FileGenerator.d.ts +15 -64
  206. package/src/cli/scaffolding/FileGenerator.d.ts.map +1 -1
  207. package/src/cli/scaffolding/GovernanceScaffolder.d.ts.map +1 -1
  208. package/src/cli/scaffolding/GovernanceScaffolder.js +4 -4
  209. package/src/cli/scaffolding/MigrationGenerator.js +2 -2
  210. package/src/cli/scaffolding/ModelGenerator.js +1 -1
  211. package/src/cli/scaffolding/ProjectScaffolder.js +2 -2
  212. package/src/cli/scaffolding/RequestFactoryGenerator.js +1 -1
  213. package/src/cli/scaffolding/ResponseFactoryGenerator.js +1 -1
  214. package/src/cli/scaffolding/RouteGenerator.js +1 -1
  215. package/src/cli/scaffolding/ScaffoldingVersionUtils.d.ts.map +1 -1
  216. package/src/cli/scaffolding/SeederGenerator.d.ts.map +1 -1
  217. package/src/cli/scaffolding/SeederGenerator.js +7 -7
  218. package/src/cli/scaffolding/ServiceIntegrationTestGenerator.js +2 -2
  219. package/src/cli/scaffolding/ServiceRequestFactoryGenerator.js +1 -1
  220. package/src/cli/scaffolding/ServiceScaffolder.js +1 -1
  221. package/src/cli/scaffolding/TemplateEngine.d.ts +6 -27
  222. package/src/cli/scaffolding/TemplateEngine.d.ts.map +1 -1
  223. package/src/cli/scaffolding/TemplateGenerator.js +1 -1
  224. package/src/cli/scaffolding/WorkflowGenerator.js +1 -1
  225. package/src/cli/scaffolding/env.d.ts.map +1 -1
  226. package/src/cli/scaffolding/index.d.ts +33 -33
  227. package/src/cli/scaffolding/index.js +17 -17
  228. package/src/cli/services/VersionChecker.d.ts +1 -1
  229. package/src/cli/services/WorkerStartupDiagnostics.d.ts +4 -8
  230. package/src/cli/services/WorkerStartupDiagnostics.d.ts.map +1 -1
  231. package/src/cli/utils/DatabaseCliUtils.d.ts +2 -2
  232. package/src/cli/utils/DatabaseCliUtils.d.ts.map +1 -1
  233. package/src/cli/utils/EnvFileLoader.d.ts +5 -10
  234. package/src/cli/utils/EnvFileLoader.d.ts.map +1 -1
  235. package/src/cli/workers/QueueWorkRunner.d.ts.map +1 -1
  236. package/src/cli-index.d.ts +11 -11
  237. package/src/cli.d.ts +8 -8
  238. package/src/cloudflare-index.d.ts +1 -1
  239. package/src/collections/index.d.ts +2 -2
  240. package/src/common/EnvFallbackUtils.d.ts.map +1 -1
  241. package/src/common/ExternalServiceUtils.d.ts +5 -5
  242. package/src/common/ExternalServiceUtils.d.ts.map +1 -1
  243. package/src/common/HealthRoutes.d.ts +1 -1
  244. package/src/common/HealthRoutes.d.ts.map +1 -1
  245. package/src/common/RemoteSignedJson.d.ts.map +1 -1
  246. package/src/common/index.d.ts +1 -1
  247. package/src/common/index.d.ts.map +1 -1
  248. package/src/common/utility.d.ts +3 -3
  249. package/src/common/utility.d.ts.map +1 -1
  250. package/src/config/FileLogWriter.d.ts.map +1 -1
  251. package/src/config/SecretsManager.d.ts +15 -15
  252. package/src/config/SecretsManager.d.ts.map +1 -1
  253. package/src/config/StartupConfigValidator.d.ts +1 -1
  254. package/src/config/StartupConfigValidator.d.ts.map +1 -1
  255. package/src/config/app.d.ts +3 -7
  256. package/src/config/app.d.ts.map +1 -1
  257. package/src/config/broadcast.d.ts +2 -2
  258. package/src/config/broadcast.d.ts.map +1 -1
  259. package/src/config/cache.d.ts +2 -2
  260. package/src/config/cloudflare.d.ts +9 -17
  261. package/src/config/cloudflare.d.ts.map +1 -1
  262. package/src/config/constants.d.ts +210 -210
  263. package/src/config/constants.d.ts.map +1 -1
  264. package/src/config/database.d.ts +1 -1
  265. package/src/config/env.d.ts +17 -17
  266. package/src/config/env.d.ts.map +1 -1
  267. package/src/config/features.d.ts +1 -1
  268. package/src/config/features.d.ts.map +1 -1
  269. package/src/config/index.d.ts +38 -38
  270. package/src/config/index.d.ts.map +1 -1
  271. package/src/config/logger.d.ts +1 -1
  272. package/src/config/logger.d.ts.map +1 -1
  273. package/src/config/logging/HttpLogger.d.ts.map +1 -1
  274. package/src/config/logging/KvLogger.d.ts.map +1 -1
  275. package/src/config/logging/SlackLogger.d.ts.map +1 -1
  276. package/src/config/mail.d.ts +1 -1
  277. package/src/config/microservices.d.ts +4 -4
  278. package/src/config/microservices.d.ts.map +1 -1
  279. package/src/config/middleware.d.ts +7 -7
  280. package/src/config/middleware.d.ts.map +1 -1
  281. package/src/config/notification.d.ts +1 -1
  282. package/src/config/notification.d.ts.map +1 -1
  283. package/src/config/queue.d.ts +1 -1
  284. package/src/config/redis.d.ts +3 -3
  285. package/src/config/redis.d.ts.map +1 -1
  286. package/src/config/security.d.ts +3 -3
  287. package/src/config/security.d.ts.map +1 -1
  288. package/src/config/startup.d.ts.map +1 -1
  289. package/src/config/storage.d.ts +1 -1
  290. package/src/config/type.d.ts +10 -10
  291. package/src/config/type.d.ts.map +1 -1
  292. package/src/config/workers.d.ts +2 -2
  293. package/src/config/workers.d.ts.map +1 -1
  294. package/src/config-index.d.ts +35 -35
  295. package/src/constants-index.d.ts +2 -2
  296. package/src/container/ServiceContainer.d.ts.map +1 -1
  297. package/src/database/Paginator.d.ts.map +1 -1
  298. package/src/database-index.d.ts +13 -13
  299. package/src/errors-index.d.ts +2 -2
  300. package/src/events/EventDispatcher.d.ts.map +1 -1
  301. package/src/events/index.d.ts +2 -2
  302. package/src/functions/cloudflare.d.ts.map +1 -1
  303. package/src/functions/deno.d.ts.map +1 -1
  304. package/src/functions/lambda.d.ts.map +1 -1
  305. package/src/health/RuntimeHealthProbes.d.ts +2 -4
  306. package/src/health/RuntimeHealthProbes.d.ts.map +1 -1
  307. package/src/health/StartupHealthChecks.d.ts +1 -1
  308. package/src/health/StartupHealthChecks.d.ts.map +1 -1
  309. package/src/helper/ShutdownTrace.d.ts +4 -8
  310. package/src/helper/ShutdownTrace.d.ts.map +1 -1
  311. package/src/helper/index.d.ts +54 -46
  312. package/src/helper/index.d.ts.map +1 -1
  313. package/src/http/Controller.d.ts +2 -2
  314. package/src/http/ErrorResponse.d.ts +8 -9
  315. package/src/http/ErrorResponse.d.ts.map +1 -1
  316. package/src/http/FileUpload.d.ts +2 -2
  317. package/src/http/FileUpload.d.ts.map +1 -1
  318. package/src/http/HttpStatus.d.ts.map +1 -1
  319. package/src/http/Kernel.d.ts +8 -12
  320. package/src/http/Kernel.d.ts.map +1 -1
  321. package/src/http/Request.d.ts +3 -3
  322. package/src/http/Request.d.ts.map +1 -1
  323. package/src/http/RequestContext.d.ts +1 -1
  324. package/src/http/RequestContext.d.ts.map +1 -1
  325. package/src/http/Response.d.ts +1 -1
  326. package/src/http/Response.d.ts.map +1 -1
  327. package/src/http/ValidationHelper.d.ts +1 -1
  328. package/src/http/ValidationHelper.d.ts.map +1 -1
  329. package/src/http/error-pages/ErrorPageRenderer.d.ts +1 -1
  330. package/src/http/middleware/BodyParsingMiddleware.d.ts +2 -2
  331. package/src/http/middleware/BodyParsingMiddleware.d.ts.map +1 -1
  332. package/src/http/middleware/FileUploadMiddleware.d.ts +1 -1
  333. package/src/http/middleware/FileUploadMiddleware.d.ts.map +1 -1
  334. package/src/http/parsers/BodyParsers.d.ts.map +1 -1
  335. package/src/http/parsers/MultipartParser.d.ts +1 -1
  336. package/src/http/parsers/MultipartParser.d.ts.map +1 -1
  337. package/src/http/parsers/MultipartParserRegistry.d.ts +2 -2
  338. package/src/http/parsers/MultipartParserRegistry.d.ts.map +1 -1
  339. package/src/http/validated.d.ts +5 -5
  340. package/src/http/validated.d.ts.map +1 -1
  341. package/src/http-index.d.ts +8 -8
  342. package/src/index.d.ts +215 -215
  343. package/src/index.js +3 -3
  344. package/src/lang/lang.d.ts +19 -19
  345. package/src/lang/lang.d.ts.map +1 -1
  346. package/src/lang-index.d.ts +1 -1
  347. package/src/logger-index.d.ts +1 -1
  348. package/src/mail-index.d.ts +7 -7
  349. package/src/microservices/MicroserviceBootstrap.d.ts.map +1 -1
  350. package/src/microservices/MicroserviceGenerator.d.ts.map +1 -1
  351. package/src/microservices/MicroserviceGenerator.js +1 -1
  352. package/src/microservices/MicroserviceManager.d.ts.map +1 -1
  353. package/src/microservices/PostgresAdapter.d.ts.map +1 -1
  354. package/src/microservices/RequestTracingMiddleware.d.ts +2 -2
  355. package/src/microservices/RequestTracingMiddleware.d.ts.map +1 -1
  356. package/src/microservices/ServiceAuthMiddleware.d.ts +2 -2
  357. package/src/microservices/ServiceAuthMiddleware.d.ts.map +1 -1
  358. package/src/microservices/ServiceBundler.d.ts.map +1 -1
  359. package/src/microservices/ServiceHealthMonitor.d.ts +2 -2
  360. package/src/microservices/ServiceHealthMonitor.d.ts.map +1 -1
  361. package/src/microservices/ServiceManifest.d.ts +19 -11
  362. package/src/microservices/ServiceManifest.d.ts.map +1 -1
  363. package/src/microservices-index.d.ts +2 -2
  364. package/src/middleware/AuthMiddleware.d.ts +2 -2
  365. package/src/middleware/AuthMiddleware.d.ts.map +1 -1
  366. package/src/middleware/BulletproofAuthMiddleware.d.ts +5 -5
  367. package/src/middleware/BulletproofAuthMiddleware.d.ts.map +1 -1
  368. package/src/middleware/CsrfMiddleware.d.ts +2 -2
  369. package/src/middleware/ErrorHandlerMiddleware.d.ts +2 -2
  370. package/src/middleware/ErrorHandlerMiddleware.d.ts.map +1 -1
  371. package/src/middleware/JwtAuthMiddleware.d.ts +3 -3
  372. package/src/middleware/JwtAuthMiddleware.d.ts.map +1 -1
  373. package/src/middleware/LoggingMiddleware.d.ts +1 -1
  374. package/src/middleware/LoggingMiddleware.d.ts.map +1 -1
  375. package/src/middleware/MiddlewareFailureResponder.d.ts +3 -3
  376. package/src/middleware/MiddlewareFailureResponder.d.ts.map +1 -1
  377. package/src/middleware/MiddlewareStack.d.ts +2 -2
  378. package/src/middleware/MiddlewareStack.d.ts.map +1 -1
  379. package/src/middleware/RateLimiter.d.ts +3 -3
  380. package/src/middleware/SanitizeBodyMiddleware.d.ts +1 -1
  381. package/src/middleware/SanitizeBodyMiddleware.d.ts.map +1 -1
  382. package/src/middleware/SecurityMiddleware.d.ts +1 -1
  383. package/src/middleware/SessionMiddleware.d.ts +2 -2
  384. package/src/middleware/SessionMiddleware.d.ts.map +1 -1
  385. package/src/middleware/ValidationMiddleware.d.ts +3 -3
  386. package/src/middleware/index.d.ts +8 -8
  387. package/src/middleware-index.d.ts +1 -1
  388. package/src/migrations/MigrationLoader.d.ts +1 -1
  389. package/src/migrations/Migrator.d.ts +3 -3
  390. package/src/migrations/MigratorFactory.d.ts +1 -1
  391. package/src/migrations/enum/index.d.ts +84 -84
  392. package/src/migrations/enum/index.d.ts.map +1 -1
  393. package/src/migrations/schema/Blueprint.d.ts +1 -1
  394. package/src/migrations/schema/Schema.d.ts +2 -2
  395. package/src/migrations/schema/Schema.js +2 -2
  396. package/src/migrations/schema/SchemaCompiler.d.ts +1 -1
  397. package/src/migrations/schema/index.d.ts +4 -4
  398. package/src/migrations/schema/index.js +3 -3
  399. package/src/migrations/schema/types.d.ts +1 -1
  400. package/src/migrations/types.d.ts +1 -1
  401. package/src/node-singletons/async_hooks.d.ts.map +1 -1
  402. package/src/node-singletons/fs.d.ts.map +1 -1
  403. package/src/node-singletons/index.d.ts +15 -15
  404. package/src/node-singletons/module.d.ts.map +1 -1
  405. package/src/node-singletons/net.d.ts.map +1 -1
  406. package/src/node-singletons/os.d.ts.map +1 -1
  407. package/src/node-singletons/path.d.ts +1 -1
  408. package/src/node-singletons/path.d.ts.map +1 -1
  409. package/src/node-singletons/perf-hooks.d.ts.map +1 -1
  410. package/src/node-singletons/process.d.ts.map +1 -1
  411. package/src/node-singletons/readline.d.ts.map +1 -1
  412. package/src/node-singletons/stream.d.ts.map +1 -1
  413. package/src/node-singletons/tls.d.ts.map +1 -1
  414. package/src/node-singletons/url.d.ts.map +1 -1
  415. package/src/node.d.ts +13 -13
  416. package/src/observability/OpenTelemetry.d.ts +8 -16
  417. package/src/observability/OpenTelemetry.d.ts.map +1 -1
  418. package/src/observability/PrometheusMetrics.d.ts.map +1 -1
  419. package/src/openapi/OpenApiGenerator.d.ts +1 -1
  420. package/src/openapi/OpenApiGenerator.d.ts.map +1 -1
  421. package/src/orm/ConnectionManager.d.ts +2 -2
  422. package/src/orm/Database.d.ts +3 -3
  423. package/src/orm/Database.d.ts.map +1 -1
  424. package/src/orm/DatabaseAdapter.d.ts +1 -1
  425. package/src/orm/DatabaseAdapterRegistry.d.ts +1 -1
  426. package/src/orm/DatabaseConnectionRegistry.d.ts +1 -1
  427. package/src/orm/DatabaseConnectionRegistry.d.ts.map +1 -1
  428. package/src/orm/DatabaseRuntimeRegistration.d.ts +1 -1
  429. package/src/orm/Model.d.ts +20 -23
  430. package/src/orm/Model.d.ts.map +1 -1
  431. package/src/orm/Model.js +2 -0
  432. package/src/orm/QueryBuilder.d.ts +5 -3
  433. package/src/orm/QueryBuilder.d.ts.map +1 -1
  434. package/src/orm/QueryBuilder.js +29 -0
  435. package/src/orm/QueryBuilderTypeSurface.fixture.d.ts +2 -2
  436. package/src/orm/QueryBuilderTypeSurface.fixture.d.ts.map +1 -1
  437. package/src/orm/QueryBuilderTypeSurface.fixture.js +4 -0
  438. package/src/orm/RelationBootstrapDiagnostics.d.ts.map +1 -1
  439. package/src/orm/Relationships.d.ts +1 -1
  440. package/src/orm/SchemaCompiler.d.ts +2 -2
  441. package/src/orm/SchemaStatemenWriter.d.ts.map +1 -1
  442. package/src/orm/adapters/D1Adapter.d.ts +1 -1
  443. package/src/orm/adapters/D1Adapter.d.ts.map +1 -1
  444. package/src/orm/adapters/D1Adapter.js +1 -1
  445. package/src/orm/adapters/D1ReadSession.d.ts +1 -1
  446. package/src/orm/adapters/D1ReadSession.d.ts.map +1 -1
  447. package/src/orm/adapters/D1RemoteAdapter.d.ts +1 -1
  448. package/src/orm/adapters/D1RemoteAdapter.d.ts.map +1 -1
  449. package/src/orm/adapters/D1RemoteAdapter.js +2 -2
  450. package/src/orm/adapters/MongoDBProxyAdapter.d.ts +1 -1
  451. package/src/orm/adapters/MongoDBProxyAdapter.js +2 -2
  452. package/src/orm/adapters/MySQLAdapter.d.ts +1 -1
  453. package/src/orm/adapters/MySQLAdapter.d.ts.map +1 -1
  454. package/src/orm/adapters/MySQLProxyAdapter.d.ts +1 -1
  455. package/src/orm/adapters/MySQLProxyAdapter.d.ts.map +1 -1
  456. package/src/orm/adapters/MySQLProxyAdapter.js +3 -3
  457. package/src/orm/adapters/PostgreSQLAdapter.d.ts +1 -1
  458. package/src/orm/adapters/PostgreSQLAdapter.d.ts.map +1 -1
  459. package/src/orm/adapters/PostgreSQLProxyAdapter.d.ts +1 -1
  460. package/src/orm/adapters/PostgreSQLProxyAdapter.d.ts.map +1 -1
  461. package/src/orm/adapters/PostgreSQLProxyAdapter.js +3 -3
  462. package/src/orm/adapters/ProxyCache.d.ts +1 -1
  463. package/src/orm/adapters/ProxySignedRequest.d.ts.map +1 -1
  464. package/src/orm/adapters/ProxySignedRequest.js +1 -1
  465. package/src/orm/adapters/ProxySigningPath.d.ts.map +1 -1
  466. package/src/orm/adapters/SQLServerAdapter.d.ts +1 -1
  467. package/src/orm/adapters/SQLServerAdapter.d.ts.map +1 -1
  468. package/src/orm/adapters/SQLiteAdapter.d.ts +1 -1
  469. package/src/orm/adapters/SqlProxyAdapterUtils.d.ts +1 -1
  470. package/src/orm/adapters/SqlProxyAdapterUtils.d.ts.map +1 -1
  471. package/src/orm/adapters/SqlProxyAdapterUtils.js +1 -1
  472. package/src/orm/adapters/SqlProxyHttpAdapterShared.d.ts +13 -20
  473. package/src/orm/adapters/SqlProxyHttpAdapterShared.d.ts.map +1 -1
  474. package/src/orm/adapters/SqlProxyHttpAdapterShared.js +2 -2
  475. package/src/orm/adapters/SqlProxyRegistryMode.d.ts.map +1 -1
  476. package/src/orm/adapters/SqlProxyRegistryMode.js +1 -1
  477. package/src/orm/adapters/SqlServerProxyAdapter.d.ts +1 -1
  478. package/src/orm/adapters/SqlServerProxyAdapter.js +3 -3
  479. package/src/orm/maintenance/SqliteMaintenance.d.ts +1 -1
  480. package/src/orm/migrations/MigrationStore.d.ts +2 -2
  481. package/src/orm-index.d.ts +18 -18
  482. package/src/performance/Optimizer.d.ts.map +1 -1
  483. package/src/profiling/MemoryProfiler.d.ts +1 -1
  484. package/src/profiling/N1Detector.d.ts +1 -1
  485. package/src/profiling/QueryLogger.d.ts +1 -1
  486. package/src/profiling/RequestProfiler.d.ts +4 -4
  487. package/src/profiling/RequestProfiler.d.ts.map +1 -1
  488. package/src/proxy/CloudflareProxyShared.d.ts +2 -2
  489. package/src/proxy/CloudflareProxyShared.d.ts.map +1 -1
  490. package/src/proxy/ErrorHandler.d.ts +1 -3
  491. package/src/proxy/ErrorHandler.d.ts.map +1 -1
  492. package/src/proxy/PoolManager.d.ts.map +1 -1
  493. package/src/proxy/ProxyRegistry.d.ts +3 -7
  494. package/src/proxy/ProxyRegistry.d.ts.map +1 -1
  495. package/src/proxy/ProxyRequestParsing.d.ts +1 -1
  496. package/src/proxy/ProxyRequestParsing.d.ts.map +1 -1
  497. package/src/proxy/ProxyServer.d.ts +2 -2
  498. package/src/proxy/ProxyServer.d.ts.map +1 -1
  499. package/src/proxy/ProxyServerUtils.d.ts +2 -2
  500. package/src/proxy/ProxyServerUtils.d.ts.map +1 -1
  501. package/src/proxy/ProxySigningConfigResolver.d.ts.map +1 -1
  502. package/src/proxy/ProxySigningRequest.d.ts +2 -2
  503. package/src/proxy/ProxySigningRequest.d.ts.map +1 -1
  504. package/src/proxy/RequestValidator.d.ts +8 -11
  505. package/src/proxy/RequestValidator.d.ts.map +1 -1
  506. package/src/proxy/SigningService.d.ts +1 -1
  507. package/src/proxy/SqlPayloadValidator.d.ts.map +1 -1
  508. package/src/proxy/SqlProxyServerDeps.d.ts +11 -11
  509. package/src/proxy/StatementPayloadValidator.d.ts.map +1 -1
  510. package/src/proxy/StatementRegistryLoader.d.ts +1 -1
  511. package/src/proxy/StatementRegistryLoader.d.ts.map +1 -1
  512. package/src/proxy/StatementRegistryResolver.d.ts +1 -1
  513. package/src/proxy/StatementRegistryResolver.d.ts.map +1 -1
  514. package/src/proxy/WorkerSigning.d.ts +7 -9
  515. package/src/proxy/WorkerSigning.d.ts.map +1 -1
  516. package/src/proxy/d1/ZintrustD1Proxy.d.ts.map +1 -1
  517. package/src/proxy/email/ZintrustEmailProxy.d.ts.map +1 -1
  518. package/src/proxy/isMutatingSql.d.ts.map +1 -1
  519. package/src/proxy/kv/ZintrustKvProxy.d.ts.map +1 -1
  520. package/src/proxy/mysql/MySqlProxyServer.d.ts +2 -2
  521. package/src/proxy/mysql/MySqlProxyServer.d.ts.map +1 -1
  522. package/src/proxy/postgres/PostgresProxyServer.d.ts +2 -2
  523. package/src/proxy/postgres/PostgresProxyServer.d.ts.map +1 -1
  524. package/src/proxy/redis/RedisProxyServer.d.ts +1 -1
  525. package/src/proxy/redis/RedisProxyServer.d.ts.map +1 -1
  526. package/src/proxy/smtp/SmtpProxyServer.d.ts.map +1 -1
  527. package/src/proxy/sqlserver/SqlServerProxyServer.d.ts +2 -2
  528. package/src/proxy-index.d.ts +6 -6
  529. package/src/proxy.d.ts +6 -6
  530. package/src/queue-index.d.ts +9 -9
  531. package/src/redis-index.d.ts +5 -5
  532. package/src/routes/CoreRoutes.d.ts +1 -1
  533. package/src/routes/CoreRoutes.d.ts.map +1 -1
  534. package/src/routes/CoreRoutes.js +1 -1
  535. package/src/routes/RouteRegistry.d.ts +1 -1
  536. package/src/routes/RouteRegistry.d.ts.map +1 -1
  537. package/src/routes/Router.d.ts +15 -26
  538. package/src/routes/Router.d.ts.map +1 -1
  539. package/src/routes/common.d.ts.map +1 -1
  540. package/src/routes/doc.d.ts +7 -7
  541. package/src/routes/doc.d.ts.map +1 -1
  542. package/src/routes/error.d.ts +4 -4
  543. package/src/routes/error.d.ts.map +1 -1
  544. package/src/routes/errorPages.d.ts +4 -4
  545. package/src/routes/errorPages.d.ts.map +1 -1
  546. package/src/routes/health.d.ts +1 -1
  547. package/src/routes/metrics.d.ts +1 -1
  548. package/src/routes/metrics.d.ts.map +1 -1
  549. package/src/routes/openapi.d.ts +1 -1
  550. package/src/routes/openapi.d.ts.map +1 -1
  551. package/src/routes/publicRoot.d.ts.map +1 -1
  552. package/src/runtime/NodeStartup.d.ts +1 -1
  553. package/src/runtime/NodeStartup.d.ts.map +1 -1
  554. package/src/runtime/OverrideValueMerge.d.ts.map +1 -1
  555. package/src/runtime/PluginAutoImports.d.ts +1 -1
  556. package/src/runtime/PluginManager.d.ts +1 -1
  557. package/src/runtime/ProjectBootstrap.d.ts.map +1 -1
  558. package/src/runtime/ProjectRuntime.d.ts +1 -1
  559. package/src/runtime/ProjectRuntime.d.ts.map +1 -1
  560. package/src/runtime/RuntimeAdapter.d.ts +1 -1
  561. package/src/runtime/RuntimeServices.d.ts.map +1 -1
  562. package/src/runtime/RuntimeServices.js +1 -1
  563. package/src/runtime/StartupConfigFileRegistry.d.ts +10 -10
  564. package/src/runtime/StartupConfigFileRegistry.d.ts.map +1 -1
  565. package/src/runtime/StartupErrorLogging.d.ts +2 -4
  566. package/src/runtime/StartupErrorLogging.d.ts.map +1 -1
  567. package/src/runtime/WorkerProjectPlugins.d.ts +1 -1
  568. package/src/runtime/WorkerProjectPlugins.d.ts.map +1 -1
  569. package/src/runtime/WorkersModule.d.ts.map +1 -1
  570. package/src/runtime/adapters/CloudflareAdapter.d.ts +1 -1
  571. package/src/runtime/adapters/DenoAdapter.d.ts +1 -1
  572. package/src/runtime/adapters/FargateAdapter.d.ts +2 -2
  573. package/src/runtime/adapters/LambdaAdapter.d.ts +1 -1
  574. package/src/runtime/adapters/NodeServerAdapter.d.ts +1 -1
  575. package/src/runtime/getKernel.d.ts +1 -1
  576. package/src/runtime/plugins/trace-runtime.d.ts.map +1 -1
  577. package/src/runtime/resolveNodeProjectRoot.d.ts.map +1 -1
  578. package/src/runtime/useFileLoader.d.ts.map +1 -1
  579. package/src/runtime-index.d.ts +95 -95
  580. package/src/scheduler/Schedule.d.ts +3 -3
  581. package/src/scheduler/Schedule.d.ts.map +1 -1
  582. package/src/scheduler/ScheduleHttpGateway.d.ts +1 -1
  583. package/src/scheduler/ScheduleHttpGateway.d.ts.map +1 -1
  584. package/src/scheduler/ScheduleRunner.d.ts +3 -3
  585. package/src/scheduler/ScheduleRunner.d.ts.map +1 -1
  586. package/src/scheduler/SchedulerRuntime.d.ts +4 -5
  587. package/src/scheduler/SchedulerRuntime.d.ts.map +1 -1
  588. package/src/scheduler/cron/Cron.d.ts.map +1 -1
  589. package/src/scheduler/index.d.ts +2 -2
  590. package/src/scheduler/leader/SchedulerLeader.d.ts.map +1 -1
  591. package/src/scheduler/state/ScheduleStateStore.d.ts.map +1 -1
  592. package/src/scheduler-index.d.ts +9 -9
  593. package/src/schedules/index.d.ts +2 -2
  594. package/src/schedules/job-tracking-cleanup.d.ts.map +1 -1
  595. package/src/schedules/log-cleanup.d.ts.map +1 -1
  596. package/src/scripts/TemplateImportsCheck.js +35 -65
  597. package/src/scripts-index.d.ts +3 -3
  598. package/src/security/AuthStoreIds.d.ts +2 -2
  599. package/src/security/AuthStoreIds.d.ts.map +1 -1
  600. package/src/security/BulletproofDeviceStore.d.ts.map +1 -1
  601. package/src/security/EncryptedEnvelope.d.ts +1 -2
  602. package/src/security/EncryptedEnvelope.d.ts.map +1 -1
  603. package/src/security/Hash.d.ts.map +1 -1
  604. package/src/security/JwtManager.d.ts +1 -1
  605. package/src/security/JwtSessions.d.ts.map +1 -1
  606. package/src/security/JwtVerifier.d.ts +6 -11
  607. package/src/security/JwtVerifier.d.ts.map +1 -1
  608. package/src/security/NonceReplay.d.ts.map +1 -1
  609. package/src/security/SecurePayload.d.ts +3 -3
  610. package/src/security/SecurePayload.d.ts.map +1 -1
  611. package/src/security/SignedRequest.d.ts +8 -11
  612. package/src/security/SignedRequest.d.ts.map +1 -1
  613. package/src/security/StartupSecretValidation.d.ts.map +1 -1
  614. package/src/security/TokenRevocation.d.ts.map +1 -1
  615. package/src/security/UrlValidator.d.ts.map +1 -1
  616. package/src/security/Xss.d.ts.map +1 -1
  617. package/src/security/XssProtection.d.ts.map +1 -1
  618. package/src/security-index.d.ts +22 -22
  619. package/src/seeders/SeederLoader.d.ts +1 -1
  620. package/src/seeders/types.d.ts +1 -1
  621. package/src/seeders-index.d.ts +3 -3
  622. package/src/session/SessionManager.d.ts.map +1 -1
  623. package/src/session/index.d.ts +2 -2
  624. package/src/socket-index.d.ts +4 -4
  625. package/src/sockets/SocketRuntime.d.ts +4 -4
  626. package/src/sockets/SocketRuntime.d.ts.map +1 -1
  627. package/src/sockets/SocketRuntimeRegistry.d.ts +2 -3
  628. package/src/sockets/SocketRuntimeRegistry.d.ts.map +1 -1
  629. package/src/start.d.ts +2 -3
  630. package/src/start.d.ts.map +1 -1
  631. package/src/storage-index.d.ts +9 -9
  632. package/src/tasks.d.ts +1 -1
  633. package/src/templates-index.d.ts +1 -1
  634. package/src/testing/TestEnvironment.d.ts +3 -3
  635. package/src/testing/TestHttp.d.ts +3 -3
  636. package/src/testing/index.d.ts +4 -4
  637. package/src/testing/index.js +2 -2
  638. package/src/testing-index.d.ts +2 -2
  639. package/src/time/index.d.ts +2 -2
  640. package/src/toolkit/Secrets/EnvFile.d.ts.map +1 -1
  641. package/src/toolkit/Secrets/Manifest.d.ts.map +1 -1
  642. package/src/toolkit/Secrets/index.d.ts +2 -2
  643. package/src/toolkit/Secrets/index.d.ts.map +1 -1
  644. package/src/toolkit/Secrets/index.js +4 -4
  645. package/src/toolkit/Secrets/providers/AwsSecretsManager.d.ts.map +1 -1
  646. package/src/toolkit/Secrets/providers/CloudflareKv.d.ts.map +1 -1
  647. package/src/tools/broadcast/Broadcast.d.ts +2 -2
  648. package/src/tools/broadcast/Broadcast.d.ts.map +1 -1
  649. package/src/tools/broadcast/BroadcastRegistry.d.ts +1 -1
  650. package/src/tools/broadcast/BroadcastRuntimeRegistration.d.ts +1 -1
  651. package/src/tools/broadcast/drivers/BaseDriver.d.ts.map +1 -1
  652. package/src/tools/broadcast/drivers/InMemory.d.ts.map +1 -1
  653. package/src/tools/broadcast/drivers/Pusher.d.ts +1 -1
  654. package/src/tools/broadcast/drivers/Pusher.d.ts.map +1 -1
  655. package/src/tools/broadcast/drivers/Redis.d.ts.map +1 -1
  656. package/src/tools/broadcast/drivers/RedisHttps.d.ts.map +1 -1
  657. package/src/tools/broadcast/index.d.ts +9 -9
  658. package/src/tools/http/Http.d.ts +2 -2
  659. package/src/tools/http/Http.d.ts.map +1 -1
  660. package/src/tools/http/HttpResponse.d.ts +1 -1
  661. package/src/tools/http/HttpResponse.d.ts.map +1 -1
  662. package/src/tools/http/index.d.ts +6 -7
  663. package/src/tools/http/index.d.ts.map +1 -1
  664. package/src/tools/mail/Mail.d.ts +1 -1
  665. package/src/tools/mail/MailMessage.d.ts.map +1 -1
  666. package/src/tools/mail/drivers/BaseDriver.d.ts.map +1 -1
  667. package/src/tools/mail/drivers/Cloudflare.d.ts +1 -1
  668. package/src/tools/mail/drivers/Cloudflare.d.ts.map +1 -1
  669. package/src/tools/mail/drivers/Cloudflare.js +1 -1
  670. package/src/tools/mail/drivers/Mailgun.d.ts.map +1 -1
  671. package/src/tools/mail/drivers/SendGrid.d.ts.map +1 -1
  672. package/src/tools/mail/drivers/Ses.d.ts.map +1 -1
  673. package/src/tools/mail/drivers/Smtp.d.ts +1 -1
  674. package/src/tools/mail/drivers/Smtp.d.ts.map +1 -1
  675. package/src/tools/mail/drivers/Smtp.js +1 -1
  676. package/src/tools/mail/index.d.ts +1 -1
  677. package/src/tools/mail/index.d.ts.map +1 -1
  678. package/src/tools/mail/template-loader.d.ts +1 -1
  679. package/src/tools/mail/templates/auth-password-reset.d.ts +1 -1
  680. package/src/tools/mail/templates/auth-password-reset.d.ts.map +1 -1
  681. package/src/tools/mail/templates/auth-welcome.d.ts +1 -1
  682. package/src/tools/mail/templates/auth-welcome.d.ts.map +1 -1
  683. package/src/tools/mail/templates/general.d.ts +1 -1
  684. package/src/tools/mail/templates/general.d.ts.map +1 -1
  685. package/src/tools/mail/templates/index.d.ts +1 -3
  686. package/src/tools/mail/templates/index.d.ts.map +1 -1
  687. package/src/tools/mail/templates/job-completed.d.ts +1 -1
  688. package/src/tools/mail/templates/job-completed.d.ts.map +1 -1
  689. package/src/tools/mail/templates/notifications-new-comment.d.ts +1 -1
  690. package/src/tools/mail/templates/notifications-new-comment.d.ts.map +1 -1
  691. package/src/tools/mail/templates/password-reset.d.ts +1 -1
  692. package/src/tools/mail/templates/password-reset.d.ts.map +1 -1
  693. package/src/tools/mail/templates/performance-report.d.ts +1 -1
  694. package/src/tools/mail/templates/performance-report.d.ts.map +1 -1
  695. package/src/tools/mail/templates/welcome.d.ts +1 -1
  696. package/src/tools/mail/templates/welcome.d.ts.map +1 -1
  697. package/src/tools/mail/templates/worker-alert.d.ts +1 -1
  698. package/src/tools/mail/templates/worker-alert.d.ts.map +1 -1
  699. package/src/tools/mail/testing.d.ts.map +1 -1
  700. package/src/tools/notification/Driver.d.ts.map +1 -1
  701. package/src/tools/notification/Notification.d.ts +2 -2
  702. package/src/tools/notification/Notification.d.ts.map +1 -1
  703. package/src/tools/notification/NotificationChannelRegistry.d.ts +1 -1
  704. package/src/tools/notification/NotificationChannelRegistry.d.ts.map +1 -1
  705. package/src/tools/notification/NotificationRuntimeRegistration.d.ts +1 -1
  706. package/src/tools/notification/NotificationRuntimeRegistration.d.ts.map +1 -1
  707. package/src/tools/notification/Registry.d.ts.map +1 -1
  708. package/src/tools/notification/Service.d.ts.map +1 -1
  709. package/src/tools/notification/config.d.ts.map +1 -1
  710. package/src/tools/notification/drivers/BaseDriver.d.ts.map +1 -1
  711. package/src/tools/notification/drivers/Console.d.ts.map +1 -1
  712. package/src/tools/notification/drivers/Slack.d.ts.map +1 -1
  713. package/src/tools/notification/drivers/SlackNotification.d.ts.map +1 -1
  714. package/src/tools/notification/drivers/SlackNotification.js +1 -1
  715. package/src/tools/notification/drivers/Termii.d.ts.map +1 -1
  716. package/src/tools/notification/drivers/Twilio.d.ts.map +1 -1
  717. package/src/tools/notification/drivers/TwilioNotification.d.ts.map +1 -1
  718. package/src/tools/notification/drivers/TwilioNotification.js +1 -1
  719. package/src/tools/notification/templates/markdown/index.d.ts +6 -2
  720. package/src/tools/notification/templates/markdown/index.d.ts.map +1 -1
  721. package/src/tools/notification/templates/markdown/index.js +1 -1
  722. package/src/tools/notification/templates/markdown/registry.d.ts +6 -3
  723. package/src/tools/notification/templates/markdown/registry.d.ts.map +1 -1
  724. package/src/tools/notification/templates/markdown/registry.js +1 -1
  725. package/src/tools/notification/testing.d.ts.map +1 -1
  726. package/src/tools/notification/testingHelpers.d.ts +4 -1
  727. package/src/tools/notification/testingHelpers.d.ts.map +1 -1
  728. package/src/tools/queue/AdvancedQueue.d.ts +3 -3
  729. package/src/tools/queue/DeduplicationBuilder.d.ts +1 -1
  730. package/src/tools/queue/DeduplicationKey.d.ts.map +1 -1
  731. package/src/tools/queue/IdempotencyManager.d.ts +1 -1
  732. package/src/tools/queue/IdempotencyManager.d.ts.map +1 -1
  733. package/src/tools/queue/JobHeartbeatStore.d.ts.map +1 -1
  734. package/src/tools/queue/JobReconciliationRunner.d.ts.map +1 -1
  735. package/src/tools/queue/JobRecoveryDaemon.d.ts +2 -2
  736. package/src/tools/queue/JobRecoveryDaemon.d.ts.map +1 -1
  737. package/src/tools/queue/JobStateTracker.d.ts +1 -1
  738. package/src/tools/queue/JobStateTracker.d.ts.map +1 -1
  739. package/src/tools/queue/JobStateTrackerDbPersistence.d.ts +1 -1
  740. package/src/tools/queue/JobStateTrackerDbPersistence.d.ts.map +1 -1
  741. package/src/tools/queue/LockProvider.d.ts +1 -1
  742. package/src/tools/queue/Queue.d.ts +1 -1
  743. package/src/tools/queue/Queue.d.ts.map +1 -1
  744. package/src/tools/queue/QueueDataRedactor.d.ts.map +1 -1
  745. package/src/tools/queue/QueueExtensions.d.ts +3 -3
  746. package/src/tools/queue/QueueExtensions.d.ts.map +1 -1
  747. package/src/tools/queue/QueueExtensions.js +1 -1
  748. package/src/tools/queue/QueueReliabilityMetrics.d.ts.map +1 -1
  749. package/src/tools/queue/QueueReliabilityOrchestrator.d.ts.map +1 -1
  750. package/src/tools/queue/QueueRuntimeRegistration.d.ts +1 -1
  751. package/src/tools/queue/QueueRuntimeRegistration.js +5 -5
  752. package/src/tools/queue/QueueTracing.d.ts +1 -2
  753. package/src/tools/queue/QueueTracing.d.ts.map +1 -1
  754. package/src/tools/queue/StalledJobMonitor.d.ts.map +1 -1
  755. package/src/tools/queue/TimeoutManager.d.ts +1 -2
  756. package/src/tools/queue/TimeoutManager.d.ts.map +1 -1
  757. package/src/tools/queue/drivers/Database.d.ts +1 -1
  758. package/src/tools/queue/drivers/Database.d.ts.map +1 -1
  759. package/src/tools/queue/drivers/InMemory.d.ts +1 -1
  760. package/src/tools/queue/drivers/InMemory.d.ts.map +1 -1
  761. package/src/tools/queue/drivers/Redis.d.ts +1 -1
  762. package/src/tools/queue/drivers/Redis.d.ts.map +1 -1
  763. package/src/tools/queue/index.d.ts +15 -15
  764. package/src/tools/redis/RedisTransport.d.ts +1 -1
  765. package/src/tools/redis/RedisTransport.d.ts.map +1 -1
  766. package/src/tools/storage/LocalSignedUrl.d.ts.map +1 -1
  767. package/src/tools/storage/StorageDiskRegistry.d.ts.map +1 -1
  768. package/src/tools/storage/StorageDriverRegistry.d.ts.map +1 -1
  769. package/src/tools/storage/StorageRuntimeRegistration.d.ts +1 -1
  770. package/src/tools/storage/StorageRuntimeRegistration.d.ts.map +1 -1
  771. package/src/tools/storage/drivers/Gcs.d.ts.map +1 -1
  772. package/src/tools/storage/drivers/Local.d.ts +1 -1
  773. package/src/tools/storage/drivers/Local.d.ts.map +1 -1
  774. package/src/tools/storage/drivers/R2.d.ts +1 -1
  775. package/src/tools/storage/drivers/R2.d.ts.map +1 -1
  776. package/src/tools/storage/drivers/R2.js +1 -1
  777. package/src/tools/storage/drivers/S3.d.ts +1 -1
  778. package/src/tools/storage/drivers/S3.d.ts.map +1 -1
  779. package/src/tools/storage/index.d.ts +1 -1
  780. package/src/tools/storage/index.d.ts.map +1 -1
  781. package/src/tools/storage/testing.d.ts +1 -1
  782. package/src/tools/storage/testing.d.ts.map +1 -1
  783. package/src/tools/templates/MarkdownRenderer.d.ts +1 -1
  784. package/src/tools/templates/MarkdownRenderer.d.ts.map +1 -1
  785. package/src/tools/templates/index.d.ts +1 -1
  786. package/src/tools-broadcast-index.d.ts +4 -4
  787. package/src/tools-http-index.d.ts +2 -2
  788. package/src/tools-index.d.ts +22 -22
  789. package/src/tools-mail-index.d.ts +12 -12
  790. package/src/tools-notification-index.d.ts +7 -7
  791. package/src/tools-queue-index.d.ts +17 -17
  792. package/src/tools-storage-index.d.ts +9 -9
  793. package/src/trace/SystemTraceBridge.d.ts +27 -40
  794. package/src/trace/SystemTraceBridge.d.ts.map +1 -1
  795. package/src/trace/SystemTraceWorkerBridge.d.ts +6 -9
  796. package/src/trace/SystemTraceWorkerBridge.d.ts.map +1 -1
  797. package/src/trace-index.d.ts +1 -1
  798. package/src/utils-index.d.ts +4 -4
  799. package/src/validation/ValidationError.d.ts +4 -4
  800. package/src/validation/ValidationError.d.ts.map +1 -1
  801. package/src/validation/Validator.d.ts +7 -18
  802. package/src/validation/Validator.d.ts.map +1 -1
  803. package/src/worker-commands.d.ts +1 -1
  804. package/src/worker-runtime/drain.d.ts +1 -1
  805. package/src/worker-runtime/drain.d.ts.map +1 -1
  806. package/src/worker-runtime/install-enqueue-hook.d.ts +2 -2
  807. package/src/worker-runtime/install-enqueue-hook.d.ts.map +1 -1
  808. package/src/worker-runtime/ping.d.ts +2 -2
  809. package/src/worker-runtime/ping.d.ts.map +1 -1
  810. package/src/worker-runtime/processor-registry.d.ts.map +1 -1
  811. package/src/worker-runtime/rpc-client.d.ts.map +1 -1
  812. package/src/worker-runtime.d.ts +4 -4
  813. package/src/workers-index.d.ts +4 -4
  814. package/src/zintrust.plugins.d.ts.map +1 -1
  815. package/src/zintrust.plugins.wg.d.ts.map +1 -1
  816. package/src/zintrust.runtime.d.ts.map +1 -1
  817. package/src/zintrust.runtime.wg.d.ts.map +1 -1
@@ -1,4 +1,4 @@
1
- import type { IRequest } from '../Request';
1
+ import type { IRequest } from '../Request.js';
2
2
  type ErrorTemplateName = '404' | '500';
3
3
  type RenderInput = {
4
4
  statusCode: number;
@@ -2,8 +2,8 @@
2
2
  * Content Type Detection & Body Parsing Middleware
3
3
  * Detects content-type and parses non-JSON request bodies
4
4
  */
5
- import type { IRequest } from '../Request';
6
- import type { Middleware } from '../../middleware/MiddlewareStack';
5
+ import type { IRequest } from '../Request.js';
6
+ import type { Middleware } from '../../middleware/MiddlewareStack.js';
7
7
  type ReadBodyResult = {
8
8
  ok: true;
9
9
  bytes: Buffer;
@@ -1 +1 @@
1
- {"version":3,"file":"BodyParsingMiddleware.d.ts","sourceRoot":"","sources":["../../../../src/http/middleware/BodyParsingMiddleware.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAG9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAE9D,KAAK,cAAc,GACf;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,GAC1C;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,UAAU,EAAE,GAAG,GAAG,GAAG,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AA+J1D;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,SAAU,MAAM,KAAG,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAapF,CAAC;AAEF,eAAO,MAAM,cAAc,QACpB,QAAQ,aACF,cAAc,GAAG;IAAE,EAAE,EAAE,IAAI,CAAA;CAAE,eAC3B,MAAM,KAClB,IA4BF,CAAC;AA+CF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,SAAU,MAAM,KAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAY3E,CAAC;AAwGF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,UA4CnC,CAAC;eAEa,qBAAqB"}
1
+ {"version":3,"file":"BodyParsingMiddleware.d.ts","sourceRoot":"","sources":["../../../../src/http/middleware/BodyParsingMiddleware.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAG9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAE9D,KAAK,cAAc,GACf;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,GAC1C;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,UAAU,EAAE,GAAG,GAAG,GAAG,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AA+J1D;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,GAAI,MAAM,MAAM,KAAG,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAapF,CAAC;AAEF,eAAO,MAAM,cAAc,GACzB,KAAK,QAAQ,EACb,WAAW,cAAc,GAAG;IAAE,EAAE,EAAE,IAAI,CAAA;CAAE,EACxC,aAAa,MAAM,KAClB,IA4BF,CAAC;AA+CF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,KAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAY3E,CAAC;AAwGF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,UA4CnC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -2,7 +2,7 @@
2
2
  * File Upload Middleware
3
3
  * Processes multipart/form-data requests and makes files available on request
4
4
  */
5
- import type { Middleware } from '../../middleware/MiddlewareStack';
5
+ import type { Middleware } from '../../middleware/MiddlewareStack.js';
6
6
  /**
7
7
  * File upload middleware
8
8
  * Automatically parses multipart/form-data and makes files available
@@ -1 +1 @@
1
- {"version":3,"file":"FileUploadMiddleware.d.ts","sourceRoot":"","sources":["../../../../src/http/middleware/FileUploadMiddleware.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAaH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAqJ9D;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,UAsDlC,CAAC;eAEa,oBAAoB"}
1
+ {"version":3,"file":"FileUploadMiddleware.d.ts","sourceRoot":"","sources":["../../../../src/http/middleware/FileUploadMiddleware.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAaH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAqJ9D;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,UAsDlC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BodyParsers.d.ts","sourceRoot":"","sources":["../../../../src/http/parsers/BodyParsers.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,UAAU,gBAAgB;IACxB,EAAE,EAAE,OAAO,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,GAAG,OAAO,EAAE,CAAC;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,WAAW;IACnB,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC;IACvC,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,gBAAgB,CAAC;CAChD;AAoND,eAAO,MAAM,WAAW;;;;IAKtB;;OAEG;cACO,WAAW,EAAE;IAIvB;;OAEG;4BACqB,MAAM,GAAG,WAAW,GAAG,SAAS;IAIxD;;OAEG;uBACgB,MAAM,QAAQ,MAAM,GAAG,MAAM,GAAG,gBAAgB;EAQnE,CAAC;eAEY,WAAW"}
1
+ {"version":3,"file":"BodyParsers.d.ts","sourceRoot":"","sources":["../../../../src/http/parsers/BodyParsers.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,UAAU,gBAAgB;IACxB,EAAE,EAAE,OAAO,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,GAAG,OAAO,EAAE,CAAC;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,WAAW;IACnB,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC;IACvC,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,gBAAgB,CAAC;CAChD;AAoND,eAAO,MAAM,WAAW;;;;IAKtB;;OAEG;cACO,WAAW,EAAE;IAIvB;;OAEG;4BACqB,MAAM,GAAG,WAAW,GAAG,SAAS;IAIxD;;OAEG;uBACgB,MAAM,QAAQ,MAAM,GAAG,MAAM,GAAG,gBAAgB;EAQnE,CAAC;AAEH,eAAe,WAAW,CAAC"}
@@ -2,7 +2,7 @@
2
2
  * Multipart Form-Data Parser
3
3
  * Parses multipart/form-data requests for file uploads and form fields
4
4
  */
5
- import type { UploadedFile } from '../FileUpload';
5
+ import type { UploadedFile } from '../FileUpload.js';
6
6
  interface ParsedMultipartData {
7
7
  fields: Record<string, string | string[]>;
8
8
  files: Record<string, UploadedFile[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"MultipartParser.d.ts","sourceRoot":"","sources":["../../../../src/http/parsers/MultipartParser.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,UAAU,mBAAmB;IAC3B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAC;IAC1C,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC;CACvC;AAwJD;;;GAGG;AACH,eAAO,MAAM,sBAAsB,SAC3B,MAAM,GAAG,MAAM,YACX,MAAM,KACf,mBAaF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe;IAC1B;;;;OAIG;6BACsB,MAAM,GAAG,OAAO;IAIzC;;OAEG;6BACsB,MAAM,GAAG,MAAM,GAAG,SAAS;IAIpD;;OAEG;gBACS,MAAM,GAAG,MAAM,YAAY,MAAM,GAAG,mBAAmB;EAGnE,CAAC;eAEY,eAAe"}
1
+ {"version":3,"file":"MultipartParser.d.ts","sourceRoot":"","sources":["../../../../src/http/parsers/MultipartParser.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,UAAU,mBAAmB;IAC3B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAC;IAC1C,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC;CACvC;AAwJD;;;GAGG;AACH,eAAO,MAAM,sBAAsB,GACjC,MAAM,MAAM,GAAG,MAAM,EACrB,UAAU,MAAM,KACf,mBAaF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe;IAC1B;;;;OAIG;6BACsB,MAAM,GAAG,OAAO;IAIzC;;OAEG;6BACsB,MAAM,GAAG,MAAM,GAAG,SAAS;IAIpD;;OAEG;gBACS,MAAM,GAAG,MAAM,YAAY,MAAM,GAAG,mBAAmB;EAGnE,CAAC;AAEH,eAAe,eAAe,CAAC"}
@@ -1,5 +1,5 @@
1
- import type { UploadedFile } from '../FileUpload';
2
- import type { IncomingMessage } from '../../node-singletons/http';
1
+ import type { UploadedFile } from '../FileUpload.js';
2
+ import type { IncomingMessage } from '../../node-singletons/http.js';
3
3
  export type MultipartFieldValue = string | string[];
4
4
  export type ParsedMultipartData = {
5
5
  fields: Record<string, MultipartFieldValue>;
@@ -1 +1 @@
1
- {"version":3,"file":"MultipartParserRegistry.d.ts","sourceRoot":"","sources":["../../../../src/http/parsers/MultipartParserRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;AAEpD,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;IAC5C,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,GAAG,EAAE,eAAe,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,MAAM,EAAE;QACN,gBAAgB,EAAE,MAAM,CAAC;QACzB,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,MAAM,CAAC;QAClB,iBAAiB,EAAE,MAAM,CAAC;KAC3B,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,CAAC,KAAK,EAAE,mBAAmB,KAAK,OAAO,CAAC,mBAAmB,CAAC,CAAC;AAInG,iBAAS,QAAQ,CAAC,IAAI,EAAE,uBAAuB,GAAG,IAAI,CAErD;AAED,iBAAS,GAAG,IAAI,uBAAuB,GAAG,IAAI,CAE7C;AAED,iBAAS,GAAG,IAAI,OAAO,CAEtB;AAED,iBAAS,KAAK,IAAI,IAAI,CAErB;AAED,eAAO,MAAM,uBAAuB;;;;;EAKlC,CAAC;eAEY,uBAAuB"}
1
+ {"version":3,"file":"MultipartParserRegistry.d.ts","sourceRoot":"","sources":["../../../../src/http/parsers/MultipartParserRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;AAEpD,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;IAC5C,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,GAAG,EAAE,eAAe,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,MAAM,EAAE;QACN,gBAAgB,EAAE,MAAM,CAAC;QACzB,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,MAAM,CAAC;QAClB,iBAAiB,EAAE,MAAM,CAAC;KAC3B,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,CAAC,KAAK,EAAE,mBAAmB,KAAK,OAAO,CAAC,mBAAmB,CAAC,CAAC;AAInG,iBAAS,QAAQ,CAAC,IAAI,EAAE,uBAAuB,GAAG,IAAI,CAErD;AAED,iBAAS,GAAG,IAAI,uBAAuB,GAAG,IAAI,CAE7C;AAED,iBAAS,GAAG,IAAI,OAAO,CAEtB;AAED,iBAAS,KAAK,IAAI,IAAI,CAErB;AAED,eAAO,MAAM,uBAAuB;;;;;EAKlC,CAAC;AAEH,eAAe,uBAAuB,CAAC"}
@@ -1,12 +1,12 @@
1
- import type { IRequest } from './Request';
1
+ import type { IRequest } from './Request.js';
2
2
  export declare const validatedBody: <TBody = Record<string, unknown>>(req: IRequest) => TBody | undefined;
3
3
  export declare const validatedQuery: <TQuery = Record<string, unknown>>(req: IRequest) => TQuery | undefined;
4
4
  export declare const validatedParams: <TParams = Record<string, unknown>>(req: IRequest) => TParams | undefined;
5
5
  export declare const validatedHeaders: <THeaders = Record<string, unknown>>(req: IRequest) => THeaders | undefined;
6
6
  export declare const Validated: Readonly<{
7
- body: typeof validatedBody;
8
- query: typeof validatedQuery;
9
- params: typeof validatedParams;
10
- headers: typeof validatedHeaders;
7
+ body: <TBody = Record<string, unknown>>(req: IRequest) => TBody | undefined;
8
+ query: <TQuery = Record<string, unknown>>(req: IRequest) => TQuery | undefined;
9
+ params: <TParams = Record<string, unknown>>(req: IRequest) => TParams | undefined;
10
+ headers: <THeaders = Record<string, unknown>>(req: IRequest) => THeaders | undefined;
11
11
  }>;
12
12
  //# sourceMappingURL=validated.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validated.d.ts","sourceRoot":"","sources":["../../../src/http/validated.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAa9C,eAAO,MAAM,aAAa,GAAI,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,OACtD,QAAQ,KACZ,KAAK,GAAG,SAKV,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,OACxD,QAAQ,KACZ,MAAM,GAAG,SAKX,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,OAC1D,QAAQ,KACZ,OAAO,GAAG,SAKZ,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,OAC5D,QAAQ,KACZ,QAAQ,GAAG,SAKb,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;EAKpB,CAAC"}
1
+ {"version":3,"file":"validated.d.ts","sourceRoot":"","sources":["../../../src/http/validated.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAa9C,eAAO,MAAM,aAAa,GAAI,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC3D,KAAK,QAAQ,KACZ,KAAK,GAAG,SAKV,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7D,KAAK,QAAQ,KACZ,MAAM,GAAG,SAKX,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/D,KAAK,QAAQ,KACZ,OAAO,GAAG,SAKZ,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACjE,KAAK,QAAQ,KACZ,QAAQ,GAAG,SAKb,CAAC;AAEF,eAAO,MAAM,SAAS;WApCQ,KAAK,iCAC5B,QAAQ,KACZ,KAAK,GAAG,SAAS;YAOW,MAAM,iCAC9B,QAAQ,KACZ,MAAM,GAAG,SAAS;aAOW,OAAO,iCAChC,QAAQ,KACZ,OAAO,GAAG,SAAS;cAOW,QAAQ,iCAClC,QAAQ,KACZ,QAAQ,GAAG,SAAS;EAYrB,CAAC"}
@@ -3,12 +3,12 @@
3
3
  * Provides HTTP request/response types and routing utilities
4
4
  */
5
5
  export type { FileUploadOptions, IFileUploadHandler, IRequest, IResponse, IRouter, Middleware, MultipartParserProvider, RouteMeta, RouteOptions, RouteRegistration, ValidatedRequest, } from './runtime-index.js';
6
- export { Router } from './routes/Router';
7
- export type { IRouter as IRouterType } from './routes/Router';
8
- export type { UploadedFile } from './http/FileUpload';
9
- export { MultipartParserRegistry } from './http/parsers/MultipartParserRegistry';
10
- export type { MultipartFieldValue, MultipartParseInput, ParsedMultipartData, } from './http/parsers/MultipartParserRegistry';
11
- export { MIME_TYPES } from './config/constants';
12
- export { AssetsBinding } from './config/type';
13
- export { getValidatedBody } from './http/ValidationHelper';
6
+ export { Router } from './routes/Router.js';
7
+ export type { IRouter as IRouterType } from './routes/Router.js';
8
+ export type { UploadedFile } from './http/FileUpload.js';
9
+ export { MultipartParserRegistry } from './http/parsers/MultipartParserRegistry.js';
10
+ export type { MultipartFieldValue, MultipartParseInput, ParsedMultipartData, } from './http/parsers/MultipartParserRegistry.js';
11
+ export { MIME_TYPES } from './config/constants.js';
12
+ export { AssetsBinding } from './config/type.js';
13
+ export { getValidatedBody } from './http/ValidationHelper.js';
14
14
  //# sourceMappingURL=http-index.d.ts.map
package/src/index.d.ts CHANGED
@@ -8,223 +8,223 @@
8
8
  */
9
9
  export declare const ZINTRUST_VERSION = "0.1.41";
10
10
  export declare const ZINTRUST_BUILD_DATE = "__BUILD_DATE__";
11
- export { Application } from './boot/Application';
12
- export { AwsSigV4 } from './common/index';
13
- export { SignedRequest } from './security/SignedRequest';
14
- export { Server } from './boot/Server';
15
- export { ServiceContainer } from './container/ServiceContainer';
16
- export { Paginator, createPaginator, getNextPageUrl, getPrevPageUrl } from './database/Paginator';
17
- export type { CreatePaginatorInput, PaginationLinks, PaginationQuery, Paginator as PaginatorType, } from './database/Paginator';
18
- export { MySQLAdapter } from './orm/adapters/MySQLAdapter';
19
- export { PostgreSQLAdapter } from './orm/adapters/PostgreSQLAdapter';
20
- export { SQLiteAdapter } from './orm/adapters/SQLiteAdapter';
21
- export { SQLServerAdapter } from './orm/adapters/SQLServerAdapter';
22
- export { Database, resetDatabase, useDatabase, useEnsureDbConnected } from './orm/Database';
23
- export type { IDatabase } from './orm/Database';
24
- export { DatabaseConnectionRegistry } from './orm/DatabaseConnectionRegistry';
25
- export { Model } from './orm/Model';
26
- export type { DefinedModel, IModel, ModelConfig, ModelStatic } from './orm/Model';
27
- export { QueryBuilder } from './orm/QueryBuilder';
28
- export type { IJoinOnBuilder, IQueryBuilder, InsertResult, JoinOnInput, LatestPerOptions, PaginationOptions, } from './orm/QueryBuilder';
29
- export type { IRelationship } from './orm/Relationships';
11
+ export { Application } from './boot/Application.js';
12
+ export { AwsSigV4 } from './common/index.js';
13
+ export { SignedRequest } from './security/SignedRequest.js';
14
+ export { Server } from './boot/Server.js';
15
+ export { ServiceContainer } from './container/ServiceContainer.js';
16
+ export { Paginator, createPaginator, getNextPageUrl, getPrevPageUrl } from './database/Paginator.js';
17
+ export type { CreatePaginatorInput, PaginationLinks, PaginationQuery, Paginator as PaginatorType, } from './database/Paginator.js';
18
+ export { MySQLAdapter } from './orm/adapters/MySQLAdapter.js';
19
+ export { PostgreSQLAdapter } from './orm/adapters/PostgreSQLAdapter.js';
20
+ export { SQLiteAdapter } from './orm/adapters/SQLiteAdapter.js';
21
+ export { SQLServerAdapter } from './orm/adapters/SQLServerAdapter.js';
22
+ export { Database, resetDatabase, useDatabase, useEnsureDbConnected } from './orm/Database.js';
23
+ export type { IDatabase } from './orm/Database.js';
24
+ export { DatabaseConnectionRegistry } from './orm/DatabaseConnectionRegistry.js';
25
+ export { Model } from './orm/Model.js';
26
+ export type { DefinedModel, IModel, ModelConfig, ModelStatic } from './orm/Model.js';
27
+ export { QueryBuilder } from './orm/QueryBuilder.js';
28
+ export type { IJoinOnBuilder, IQueryBuilder, InsertResult, JoinOnInput, LatestPerOptions, PaginationOptions, } from './orm/QueryBuilder.js';
29
+ export type { IRelationship } from './orm/Relationships.js';
30
30
  export { BodyParsers, BulletproofAuthMiddleware, Controller, CsrfMiddleware, ErrorHandlerMiddleware, FileUpload, Kernel, LoggingMiddleware, MiddlewareStack, MultipartParser, RateLimiter, Request, RequestContext, Response, SecurityMiddleware, SessionMiddleware, ValidationHelper, ValidationMiddleware, bodyParsingMiddleware, fileUploadMiddleware, getValidatedBody, getValidatedHeaders, getValidatedParams, getValidatedQuery, hasValidatedBody, requireValidatedBody, } from './runtime-index.js';
31
31
  export type { FileUploadOptions, IFileUploadHandler, IRequest, IResponse, Middleware, MultipartFieldValue, MultipartParseInput, MultipartParserProvider, ParsedMultipartData, UploadedFile, ValidatedRequest, } from './runtime-index.js';
32
- export { DateTime } from './time/DateTime';
33
- export type { IDateTime } from './time/DateTime';
34
- export { Schema as MigrationSchema, type Blueprint } from './migrations/schema';
35
- export { OpenApiGenerator } from './openapi/OpenApiGenerator';
36
- export type { OpenApiGeneratorOptions } from './openapi/OpenApiGenerator';
37
- export { Router } from './routes/Router';
38
- export type { IRouter } from './routes/Router';
39
- export { RouteRegistry, normalizeRouteMeta } from './routes/RouteRegistry';
40
- export type { RouteMeta, RouteMetaInput, RouteRegistration } from './routes/RouteRegistry';
41
- export { DatabaseAdapterRegistry } from './orm/DatabaseAdapterRegistry';
32
+ export { DateTime } from './time/DateTime.js';
33
+ export type { IDateTime } from './time/DateTime.js';
34
+ export { Schema as MigrationSchema, type Blueprint } from './migrations/schema/index.js';
35
+ export { OpenApiGenerator } from './openapi/OpenApiGenerator.js';
36
+ export type { OpenApiGeneratorOptions } from './openapi/OpenApiGenerator.js';
37
+ export { Router } from './routes/Router.js';
38
+ export type { IRouter } from './routes/Router.js';
39
+ export { RouteRegistry, normalizeRouteMeta } from './routes/RouteRegistry.js';
40
+ export type { RouteMeta, RouteMetaInput, RouteRegistration } from './routes/RouteRegistry.js';
41
+ export { DatabaseAdapterRegistry } from './orm/DatabaseAdapterRegistry.js';
42
42
  export { ContextLoader, RemoteSignedJson, Utilities, delay, ensureDirSafe, generateSecureJobId, generateUuid, getString, } from './runtime-index.js';
43
43
  export type { ContextLoaderBatchHandler, ContextLoaderBatchKey, ContextLoaderBatchResult, ContextLoaderContext, ContextLoaderInstance, ContextLoaderMode, ContextLoaderPlan, ContextLoaderResolver, RemoteSignedJsonSettings, UtilitiesType, } from './runtime-index.js';
44
- export { Collection, collect } from './collections/index';
45
- export type { ICollection, PrimitiveKey } from './collections/index';
46
- export { HttpClient } from './tools/http/Http';
47
- export type { IHttpRequest, IHttpResponse } from './tools/http/Http';
48
- export { BaseAdapter } from './orm/DatabaseAdapter';
49
- export type { DatabaseConfig, ID1Database, IDatabaseAdapter, QueryResult, } from './orm/DatabaseAdapter';
50
- export { MemoryProfiler } from './profiling/MemoryProfiler';
51
- export { N1Detector } from './profiling/N1Detector';
52
- export { QueryLogger } from './profiling/QueryLogger';
53
- export { RequestProfiler } from './profiling/RequestProfiler';
54
- export type { MemoryDelta, MemorySnapshot, N1Pattern, ProfileReport, QueryLogEntry, } from './profiling/types';
55
- export { GenerationCache, LazyLoader, Memoize, ParallelGenerator, PerformanceOptimizer, runAll, runBatch, } from './performance/Optimizer';
56
- export type { IGenerationCache, ILazyLoader, IPerformanceOptimizer } from './performance/Optimizer';
57
- export { OpenTelemetry } from './observability/OpenTelemetry';
58
- export { PrometheusMetrics } from './observability/PrometheusMetrics';
59
- export type { ObserveDbQueryInput, ObserveHttpRequestInput, } from './observability/PrometheusMetrics';
60
- export { ValidationError } from './validation/ValidationError';
61
- export type { FieldError } from './validation/ValidationError';
62
- export { Schema, Validator } from './validation/Validator';
63
- export type { ISchema, SchemaType } from './validation/Validator';
64
- export { Schedule } from './scheduler/Schedule';
65
- export { BulletproofDeviceStore } from './security/BulletproofDeviceStore';
66
- export { CsrfTokenManager } from './security/CsrfTokenManager';
67
- export type { CsrfTokenData, CsrfTokenManagerType, ICsrfTokenManager, } from './security/CsrfTokenManager';
68
- export { EncryptedEnvelope } from './security/EncryptedEnvelope';
69
- export { Encryptor } from './security/Encryptor';
70
- export { Hash } from './security/Hash';
71
- export { JwtManager } from './security/JwtManager';
72
- export type { IJwtManager, JwtAlgorithm, JwtManagerType, JwtOptions, JwtPayload, } from './security/JwtManager';
73
- export { JwtSessions } from './security/JwtSessions';
74
- export { JwtVerifier } from './security/JwtVerifier';
75
- export type { JwtVerifierAlgorithm, JwtVerifierFailure, JwtVerifierFailureReason, JwtVerifierJwk, JwtVerifierJwksDocument, JwtVerifierResult, JwtVerifierSuccess, JwtVerifierWithJwkInput, JwtVerifierWithJwksInput, } from './security/JwtVerifier';
76
- export { PasswordResetTokenBroker } from './security/PasswordResetTokenBroker';
77
- export type { IPasswordResetTokenBroker, IPasswordResetTokenStore, PasswordResetTokenBrokerOptions, PasswordResetTokenBrokerType, PasswordResetTokenRecord, } from './security/PasswordResetTokenBroker';
78
- export { Sanitizer, createSanitizer, type SanitizerType } from './security/Sanitizer';
79
- export { TokenRevocation } from './security/TokenRevocation';
80
- export { Xss } from './security/Xss';
81
- export { XssProtection } from './security/XssProtection';
82
- export { ErrorFactory } from './exceptions/ZintrustError';
83
- export { RUNTIME_PLATFORM, RuntimeServices, detectCloudflareWorkers, detectRuntimePlatform, type RuntimeCrypto, type RuntimeEnvReader, type RuntimeFs, type RuntimePlatform, type RuntimeServices as RuntimeServicesType, type RuntimeTimers, } from './runtime/RuntimeServices';
84
- export { StartupConfigFile, StartupConfigFileRegistry } from './runtime/StartupConfigFileRegistry';
85
- export { SystemTraceBridge } from './trace/SystemTraceBridge';
86
- export { EventDispatcher } from './events/EventDispatcher';
87
- export type { EventListener, EventMap, IEventDispatcher } from './events/EventDispatcher';
88
- export { SessionManager } from './session/SessionManager';
89
- export type { ISession, ISessionManager, SessionData, SessionManagerOptions, } from './session/SessionManager';
90
- export { defaultMiddlewareFailureResponder, respondWithMiddlewareFailure, } from './middleware/MiddlewareFailureResponder';
91
- export type { MiddlewareFailureContext, MiddlewareFailureResponder, } from './middleware/MiddlewareFailureResponder';
92
- export { Env } from './config/env';
93
- export { Logger } from './config/logger';
94
- export type { LogSink } from './config/logger';
95
- export { LocalD1Resolver } from './cli/d1/LocalD1Resolver';
96
- export { WranglerConfig } from './cli/d1/WranglerConfig';
97
- export { WranglerD1 } from './cli/d1/WranglerD1';
98
- export { OptionalCliCommandRegistry } from './cli/OptionalCliCommandRegistry';
99
- export type { CliCommandProvider } from './cli/OptionalCliCommandRegistry';
100
- export { appConfig } from './config/app';
101
- export type { AppConfig } from './config/app';
102
- export { cacheConfig } from './config/cache';
103
- export type { CacheConfig, CacheConfigOverrides } from './config/cache';
104
- export { Cache, cache } from './cache/Cache';
105
- export type { CacheDriver } from './cache/CacheDriver';
106
- export { registerCachesFromRuntimeConfig } from './cache/CacheRuntimeRegistration';
107
- export { CacheDriverRegistry } from './cache/CacheDriverRegistry';
108
- export { databaseConfig } from './config/database';
109
- export type { DatabaseConfigOverrides, DatabaseConfig as DatabaseRuntimeConfig, } from './config/database';
110
- export { registerDatabasesFromRuntimeConfig } from './orm/DatabaseRuntimeRegistration';
111
- export { microservicesConfig } from './config/microservices';
112
- export type { MicroservicesConfig } from './config/microservices';
113
- export { MicroserviceBootstrap } from './microservices/MicroserviceBootstrap';
114
- export type { IMicroserviceBootstrap, ServiceConfig } from './microservices/MicroserviceBootstrap';
115
- export { RequestTracingMiddleware } from './microservices/RequestTracingMiddleware';
116
- export { ServiceAuthMiddleware } from './microservices/ServiceAuthMiddleware';
117
- export { HealthCheckHandler, ServiceHealthMonitor } from './microservices/ServiceHealthMonitor';
118
- export type { AggregatedHealthStatus, HealthCheckResult, IServiceHealthMonitor, } from './microservices/ServiceHealthMonitor';
119
- export { getServiceId, isCanonicalServiceId, normalizeServiceManifest, } from './microservices/ServiceManifest';
120
- export type { ProjectRuntimeModule, ServiceManifestEntry } from './microservices/ServiceManifest';
121
- export { MiddlewareKeys, clearMiddlewareConfigCache, middlewareConfig } from './config/middleware';
122
- export type { MiddlewareKey } from './config/middleware';
123
- export type { MiddlewareConfigType } from './config/type';
124
- export { createBaseDrivers, queueConfig } from './config/queue';
125
- export type { QueueConfig, QueueConfigOverrides } from './config/queue';
126
- export { default as broadcastConfig, clearBroadcastConfigCache } from './config/broadcast';
127
- export type { BroadcastConfigOverrides, SocketBroadcastConfig } from './config/broadcast';
128
- export { default as notificationConfig } from './config/notification';
129
- export type { NotificationConfig, NotificationConfigOverrides } from './config/notification';
130
- export { securityConfig } from './config/security';
131
- export { mailConfig } from './config/mail';
132
- export type { MailConfig, MailConfigOverrides } from './config/mail';
133
- export { storageConfig } from './config/storage';
134
- export type { StorageConfig, StorageConfigOverrides } from './config/storage';
135
- export { startupConfig } from './config/startup';
136
- export type { StartupConfig } from './config/startup';
137
- export { Constants, DEFAULTS, ENV_KEYS, HTTP_HEADERS, MIME_TYPES } from './config/constants';
138
- export { FeatureFlags } from './config/features';
139
- export { Cloudflare } from './config/cloudflare';
140
- export { SECRETS, SecretsManager, getDatabaseCredentials, getJwtSecrets, } from './config/SecretsManager';
141
- export type { DatabaseCredentials, JwtSecrets } from './config/SecretsManager';
142
- export type { MailDriverConfig, MailDriverName, WorkersEnv } from './config/type';
143
- export { StartupConfigValidator } from './config/StartupConfigValidator';
144
- export type { SendMailInput, SendMailResult } from './tools/mail';
145
- export { Mail } from './tools/mail';
146
- export { MailTemplateRenderer, MailTemplates } from './tools/mail/templates';
147
- export type { MailTemplate, MailTemplateRegistry } from './tools/mail/templates';
148
- export { MailDriverRegistry } from './tools/mail/MailDriverRegistry';
149
- export { registerQueuesFromRuntimeConfig } from './tools/queue/QueueRuntimeRegistration';
150
- export { SmtpDriver } from './tools/mail/drivers/Smtp';
151
- export type { SmtpConfig as SmtpDriverConfig } from './tools/mail/drivers/Smtp';
152
- export { SendGridDriver } from './tools/mail/drivers/SendGrid';
153
- export type { SendGridConfig, MailAddress as SendGridMailAddress, MailAttachment as SendGridMailAttachment, MailMessage as SendGridMailMessage, SendResult as SendGridSendResult, } from './tools/mail/drivers/SendGrid';
154
- export { MailgunDriver } from './tools/mail/drivers/Mailgun';
155
- export type { MailgunConfig, MailMessage as MailgunMessage, SendResult as MailgunResult, } from './tools/mail/drivers/Mailgun';
156
- export { NotificationComposer } from './tools/notification/Composer';
157
- export type { NotificationChannelHandler, NotificationComposeBuilder, NotificationComposeChannelResult, NotificationComposeError, NotificationComposeOptions, NotificationComposePolicy, NotificationComposeResult, } from './tools/notification/Composer';
158
- export { sendSlackWebhook } from './tools/notification/drivers/Slack';
159
- export { TermiiDriver } from './tools/notification/drivers/Termii';
160
- export { sendSms } from './tools/notification/drivers/Twilio';
161
- export { Notification } from './tools/notification/Notification';
162
- export { NotificationRegistry } from './tools/notification/Registry';
163
- export { MarkdownRenderer } from './tools/templates';
164
- export { RuntimeHealthProbes } from './health/RuntimeHealthProbes';
165
- export { Broadcast } from './tools/broadcast/Broadcast';
166
- export type { BroadcastPublishInput, BroadcastPublishResult } from './tools/broadcast/Broadcast';
167
- export { BroadcastRegistry } from './tools/broadcast/BroadcastRegistry';
168
- export { registerBroadcastersFromRuntimeConfig } from './tools/broadcast/BroadcastRuntimeRegistration';
169
- export { MultipartParserRegistry } from './http/parsers/MultipartParserRegistry';
170
- export { Storage } from './tools/storage/index';
171
- export { LocalSignedUrl } from './tools/storage/LocalSignedUrl';
172
- export { StorageDriverRegistry } from './tools/storage/StorageDriverRegistry';
173
- export { S3Driver } from './tools/storage/drivers/S3';
174
- export type { S3Config } from './tools/storage/drivers/S3';
175
- export { R2Driver } from './tools/storage/drivers/R2';
176
- export type { R2Config } from './tools/storage/drivers/R2';
177
- export { GcsDriver } from './tools/storage/drivers/Gcs';
178
- export type { GcsConfig } from './tools/storage/drivers/Gcs';
179
- export { resolveDeduplicationLockKey } from './tools/queue/DeduplicationKey';
180
- export { RedisQueue } from './tools/queue/drivers/Redis';
181
- export { IdempotencyManager } from './tools/queue/IdempotencyManager';
182
- export { JobHeartbeatStore } from './tools/queue/JobHeartbeatStore';
183
- export { JobReconciliationRunner } from './tools/queue/JobReconciliationRunner';
184
- export { JobRecoveryDaemon } from './tools/queue/JobRecoveryDaemon';
185
- export { JobStateTracker } from './tools/queue/JobStateTracker';
186
- export { autoRegisterJobStateTrackerPersistenceFromEnv, createJobStateTrackerDbPersistence, } from './tools/queue/JobStateTrackerDbPersistence';
187
- export { createLockProvider, getLockProvider, registerLockProvider } from './tools/queue/LockProvider';
188
- export { Queue, resolveLockPrefix } from './tools/queue/Queue';
189
- export type { BullMQPayload, IQueueDriver, QueueMessage } from './tools/queue/Queue';
190
- export { QueueDataRedactor } from './tools/queue/QueueDataRedactor';
191
- export { QueueReliabilityMetrics } from './tools/queue/QueueReliabilityMetrics';
192
- export { QueueReliabilityOrchestrator } from './tools/queue/QueueReliabilityOrchestrator';
193
- export { QueueTracing } from './tools/queue/QueueTracing';
194
- export { StalledJobMonitor } from './tools/queue/StalledJobMonitor';
195
- export { TimeoutManager } from './tools/queue/TimeoutManager';
196
- export { SeederLoader } from './seeders/SeederLoader';
197
- export type { LoadedSeeder, SeederHandler } from './seeders/types';
198
- export { default as logCleanup } from './schedules/log-cleanup';
199
- export * as NodeSingletons from './node-singletons/index';
200
- export { Auth } from './auth/Auth';
201
- export { LoginFlow } from './auth/LoginFlow';
202
- export type { BulletproofJwtIssued, LoginFlowAuditEvent, LoginFlowAuditor, LoginFlowBuilder, LoginFlowCreateOptions, LoginFlowError, LoginFlowIdentity, LoginFlowIssuer, LoginFlowIssuerInput, LoginFlowProvider, LoginFlowResult, LoginFlowStage, LoginFlowVerifiedRecord, } from './auth/LoginFlow';
203
- export { MicroserviceGenerator } from './microservices/MicroserviceGenerator';
204
- export type { GenerateServiceOptions, IMicroserviceGenerator, } from './microservices/MicroserviceGenerator';
205
- export { ErrorHandler as ProxyErrorHandler } from './proxy/ErrorHandler';
206
- export { RequestValidator } from './proxy/RequestValidator';
207
- export { SigningService } from './proxy/SigningService';
208
- export { getKernel } from './runtime/getKernel';
209
- export { useFileLoader } from './runtime/useFileLoader';
210
- export { PluginManager } from './runtime/PluginManager';
211
- export { PluginRegistry } from './runtime/PluginRegistry';
212
- export { nowIso } from './common/utility';
213
- export type { SanitizerError } from './exceptions/ZintrustError';
214
- export { randomBytes } from './node-singletons/crypto';
215
- export { SecurePayload, type SecurePayloadCoercionShape, type SecurePayloadCoercionType, type SecurePayloadDecodeOptions, type SecurePayloadDecryptor, type SecurePayloadPipeline, type SecurePayloadPipelineIssue, type SecurePayloadPipelineStage, } from './security/SecurePayload';
216
- export type { MiddlewaresType } from './config/middleware';
217
- export * from './config/redis';
218
- export type * from './config/type';
219
- export * from './helper/index';
220
- export { ZintrustLang } from './lang/lang';
221
- export { createRedisConnection, workersConfig } from './config/workers';
222
- export type { RedisTransportOptions } from './tools/redis/RedisTransport';
223
- export type { RouteOptions } from './routes/Router';
224
- export { RedisKeys, createRedisKey, extractOriginalKey, getBullMQSafeQueueName, getPrefix, isAppKey, type RedisKeyType, } from './tools/redis/RedisKeyManager';
225
- export { CloudflareSocket } from './sockets/CloudflareSocket';
226
- export { SocketFeature } from './sockets/SocketRuntime';
227
- export type { SocketAuthorizationContext, SocketAuthorizationDecision, SocketAuthorizer, SocketAuthorizerHandler, SocketFeatureSettings, SocketNodeUpgradeInput, SocketPublishContext, SocketPublishDecision, SocketPublishPolicy, SocketPublishPolicyHandler, SocketRouteRegistrar, SocketRuntime, SocketRuntimeDiagnostics, SocketTransportMode, SocketWorkerContext, } from './sockets/SocketRuntime';
228
- export { SocketRuntimeRegistry } from './sockets/SocketRuntimeRegistry';
229
- export { detectRuntime } from './runtime/detectRuntime';
44
+ export { Collection, collect } from './collections/index.js';
45
+ export type { ICollection, PrimitiveKey } from './collections/index.js';
46
+ export { HttpClient } from './tools/http/Http.js';
47
+ export type { IHttpRequest, IHttpResponse } from './tools/http/Http.js';
48
+ export { BaseAdapter } from './orm/DatabaseAdapter.js';
49
+ export type { DatabaseConfig, ID1Database, IDatabaseAdapter, QueryResult, } from './orm/DatabaseAdapter.js';
50
+ export { MemoryProfiler } from './profiling/MemoryProfiler.js';
51
+ export { N1Detector } from './profiling/N1Detector.js';
52
+ export { QueryLogger } from './profiling/QueryLogger.js';
53
+ export { RequestProfiler } from './profiling/RequestProfiler.js';
54
+ export type { MemoryDelta, MemorySnapshot, N1Pattern, ProfileReport, QueryLogEntry, } from './profiling/types.js';
55
+ export { GenerationCache, LazyLoader, Memoize, ParallelGenerator, PerformanceOptimizer, runAll, runBatch, } from './performance/Optimizer.js';
56
+ export type { IGenerationCache, ILazyLoader, IPerformanceOptimizer } from './performance/Optimizer.js';
57
+ export { OpenTelemetry } from './observability/OpenTelemetry.js';
58
+ export { PrometheusMetrics } from './observability/PrometheusMetrics.js';
59
+ export type { ObserveDbQueryInput, ObserveHttpRequestInput, } from './observability/PrometheusMetrics.js';
60
+ export { ValidationError } from './validation/ValidationError.js';
61
+ export type { FieldError } from './validation/ValidationError.js';
62
+ export { Schema, Validator } from './validation/Validator.js';
63
+ export type { ISchema, SchemaType } from './validation/Validator.js';
64
+ export { Schedule } from './scheduler/Schedule.js';
65
+ export { BulletproofDeviceStore } from './security/BulletproofDeviceStore.js';
66
+ export { CsrfTokenManager } from './security/CsrfTokenManager.js';
67
+ export type { CsrfTokenData, CsrfTokenManagerType, ICsrfTokenManager, } from './security/CsrfTokenManager.js';
68
+ export { EncryptedEnvelope } from './security/EncryptedEnvelope.js';
69
+ export { Encryptor } from './security/Encryptor.js';
70
+ export { Hash } from './security/Hash.js';
71
+ export { JwtManager } from './security/JwtManager.js';
72
+ export type { IJwtManager, JwtAlgorithm, JwtManagerType, JwtOptions, JwtPayload, } from './security/JwtManager.js';
73
+ export { JwtSessions } from './security/JwtSessions.js';
74
+ export { JwtVerifier } from './security/JwtVerifier.js';
75
+ export type { JwtVerifierAlgorithm, JwtVerifierFailure, JwtVerifierFailureReason, JwtVerifierJwk, JwtVerifierJwksDocument, JwtVerifierResult, JwtVerifierSuccess, JwtVerifierWithJwkInput, JwtVerifierWithJwksInput, } from './security/JwtVerifier.js';
76
+ export { PasswordResetTokenBroker } from './security/PasswordResetTokenBroker.js';
77
+ export type { IPasswordResetTokenBroker, IPasswordResetTokenStore, PasswordResetTokenBrokerOptions, PasswordResetTokenBrokerType, PasswordResetTokenRecord, } from './security/PasswordResetTokenBroker.js';
78
+ export { Sanitizer, createSanitizer, type SanitizerType } from './security/Sanitizer.js';
79
+ export { TokenRevocation } from './security/TokenRevocation.js';
80
+ export { Xss } from './security/Xss.js';
81
+ export { XssProtection } from './security/XssProtection.js';
82
+ export { ErrorFactory } from './exceptions/ZintrustError.js';
83
+ export { RUNTIME_PLATFORM, RuntimeServices, detectCloudflareWorkers, detectRuntimePlatform, type RuntimeCrypto, type RuntimeEnvReader, type RuntimeFs, type RuntimePlatform, type RuntimeServices as RuntimeServicesType, type RuntimeTimers, } from './runtime/RuntimeServices.js';
84
+ export { StartupConfigFile, StartupConfigFileRegistry } from './runtime/StartupConfigFileRegistry.js';
85
+ export { SystemTraceBridge } from './trace/SystemTraceBridge.js';
86
+ export { EventDispatcher } from './events/EventDispatcher.js';
87
+ export type { EventListener, EventMap, IEventDispatcher } from './events/EventDispatcher.js';
88
+ export { SessionManager } from './session/SessionManager.js';
89
+ export type { ISession, ISessionManager, SessionData, SessionManagerOptions, } from './session/SessionManager.js';
90
+ export { defaultMiddlewareFailureResponder, respondWithMiddlewareFailure, } from './middleware/MiddlewareFailureResponder.js';
91
+ export type { MiddlewareFailureContext, MiddlewareFailureResponder, } from './middleware/MiddlewareFailureResponder.js';
92
+ export { Env } from './config/env.js';
93
+ export { Logger } from './config/logger.js';
94
+ export type { LogSink } from './config/logger.js';
95
+ export { LocalD1Resolver } from './cli/d1/LocalD1Resolver.js';
96
+ export { WranglerConfig } from './cli/d1/WranglerConfig.js';
97
+ export { WranglerD1 } from './cli/d1/WranglerD1.js';
98
+ export { OptionalCliCommandRegistry } from './cli/OptionalCliCommandRegistry.js';
99
+ export type { CliCommandProvider } from './cli/OptionalCliCommandRegistry.js';
100
+ export { appConfig } from './config/app.js';
101
+ export type { AppConfig } from './config/app.js';
102
+ export { cacheConfig } from './config/cache.js';
103
+ export type { CacheConfig, CacheConfigOverrides } from './config/cache.js';
104
+ export { Cache, cache } from './cache/Cache.js';
105
+ export type { CacheDriver } from './cache/CacheDriver.js';
106
+ export { registerCachesFromRuntimeConfig } from './cache/CacheRuntimeRegistration.js';
107
+ export { CacheDriverRegistry } from './cache/CacheDriverRegistry.js';
108
+ export { databaseConfig } from './config/database.js';
109
+ export type { DatabaseConfigOverrides, DatabaseConfig as DatabaseRuntimeConfig, } from './config/database.js';
110
+ export { registerDatabasesFromRuntimeConfig } from './orm/DatabaseRuntimeRegistration.js';
111
+ export { microservicesConfig } from './config/microservices.js';
112
+ export type { MicroservicesConfig } from './config/microservices.js';
113
+ export { MicroserviceBootstrap } from './microservices/MicroserviceBootstrap.js';
114
+ export type { IMicroserviceBootstrap, ServiceConfig } from './microservices/MicroserviceBootstrap.js';
115
+ export { RequestTracingMiddleware } from './microservices/RequestTracingMiddleware.js';
116
+ export { ServiceAuthMiddleware } from './microservices/ServiceAuthMiddleware.js';
117
+ export { HealthCheckHandler, ServiceHealthMonitor } from './microservices/ServiceHealthMonitor.js';
118
+ export type { AggregatedHealthStatus, HealthCheckResult, IServiceHealthMonitor, } from './microservices/ServiceHealthMonitor.js';
119
+ export { getServiceId, isCanonicalServiceId, normalizeServiceManifest, } from './microservices/ServiceManifest.js';
120
+ export type { ProjectRuntimeModule, ServiceManifestEntry } from './microservices/ServiceManifest.js';
121
+ export { MiddlewareKeys, clearMiddlewareConfigCache, middlewareConfig } from './config/middleware.js';
122
+ export type { MiddlewareKey } from './config/middleware.js';
123
+ export type { MiddlewareConfigType } from './config/type.js';
124
+ export { createBaseDrivers, queueConfig } from './config/queue.js';
125
+ export type { QueueConfig, QueueConfigOverrides } from './config/queue.js';
126
+ export { default as broadcastConfig, clearBroadcastConfigCache } from './config/broadcast.js';
127
+ export type { BroadcastConfigOverrides, SocketBroadcastConfig } from './config/broadcast.js';
128
+ export { default as notificationConfig } from './config/notification.js';
129
+ export type { NotificationConfig, NotificationConfigOverrides } from './config/notification.js';
130
+ export { securityConfig } from './config/security.js';
131
+ export { mailConfig } from './config/mail.js';
132
+ export type { MailConfig, MailConfigOverrides } from './config/mail.js';
133
+ export { storageConfig } from './config/storage.js';
134
+ export type { StorageConfig, StorageConfigOverrides } from './config/storage.js';
135
+ export { startupConfig } from './config/startup.js';
136
+ export type { StartupConfig } from './config/startup.js';
137
+ export { Constants, DEFAULTS, ENV_KEYS, HTTP_HEADERS, MIME_TYPES } from './config/constants.js';
138
+ export { FeatureFlags } from './config/features.js';
139
+ export { Cloudflare } from './config/cloudflare.js';
140
+ export { SECRETS, SecretsManager, getDatabaseCredentials, getJwtSecrets, } from './config/SecretsManager.js';
141
+ export type { DatabaseCredentials, JwtSecrets } from './config/SecretsManager.js';
142
+ export type { MailDriverConfig, MailDriverName, WorkersEnv } from './config/type.js';
143
+ export { StartupConfigValidator } from './config/StartupConfigValidator.js';
144
+ export type { SendMailInput, SendMailResult } from './tools/mail/index.js';
145
+ export { Mail } from './tools/mail/index.js';
146
+ export { MailTemplateRenderer, MailTemplates } from './tools/mail/templates/index.js';
147
+ export type { MailTemplate, MailTemplateRegistry } from './tools/mail/templates/index.js';
148
+ export { MailDriverRegistry } from './tools/mail/MailDriverRegistry.js';
149
+ export { registerQueuesFromRuntimeConfig } from './tools/queue/QueueRuntimeRegistration.js';
150
+ export { SmtpDriver } from './tools/mail/drivers/Smtp.js';
151
+ export type { SmtpConfig as SmtpDriverConfig } from './tools/mail/drivers/Smtp.js';
152
+ export { SendGridDriver } from './tools/mail/drivers/SendGrid.js';
153
+ export type { SendGridConfig, MailAddress as SendGridMailAddress, MailAttachment as SendGridMailAttachment, MailMessage as SendGridMailMessage, SendResult as SendGridSendResult, } from './tools/mail/drivers/SendGrid.js';
154
+ export { MailgunDriver } from './tools/mail/drivers/Mailgun.js';
155
+ export type { MailgunConfig, MailMessage as MailgunMessage, SendResult as MailgunResult, } from './tools/mail/drivers/Mailgun.js';
156
+ export { NotificationComposer } from './tools/notification/Composer.js';
157
+ export type { NotificationChannelHandler, NotificationComposeBuilder, NotificationComposeChannelResult, NotificationComposeError, NotificationComposeOptions, NotificationComposePolicy, NotificationComposeResult, } from './tools/notification/Composer.js';
158
+ export { sendSlackWebhook } from './tools/notification/drivers/Slack.js';
159
+ export { TermiiDriver } from './tools/notification/drivers/Termii.js';
160
+ export { sendSms } from './tools/notification/drivers/Twilio.js';
161
+ export { Notification } from './tools/notification/Notification.js';
162
+ export { NotificationRegistry } from './tools/notification/Registry.js';
163
+ export { MarkdownRenderer } from './tools/templates/index.js';
164
+ export { RuntimeHealthProbes } from './health/RuntimeHealthProbes.js';
165
+ export { Broadcast } from './tools/broadcast/Broadcast.js';
166
+ export type { BroadcastPublishInput, BroadcastPublishResult } from './tools/broadcast/Broadcast.js';
167
+ export { BroadcastRegistry } from './tools/broadcast/BroadcastRegistry.js';
168
+ export { registerBroadcastersFromRuntimeConfig } from './tools/broadcast/BroadcastRuntimeRegistration.js';
169
+ export { MultipartParserRegistry } from './http/parsers/MultipartParserRegistry.js';
170
+ export { Storage } from './tools/storage/index.js';
171
+ export { LocalSignedUrl } from './tools/storage/LocalSignedUrl.js';
172
+ export { StorageDriverRegistry } from './tools/storage/StorageDriverRegistry.js';
173
+ export { S3Driver } from './tools/storage/drivers/S3.js';
174
+ export type { S3Config } from './tools/storage/drivers/S3.js';
175
+ export { R2Driver } from './tools/storage/drivers/R2.js';
176
+ export type { R2Config } from './tools/storage/drivers/R2.js';
177
+ export { GcsDriver } from './tools/storage/drivers/Gcs.js';
178
+ export type { GcsConfig } from './tools/storage/drivers/Gcs.js';
179
+ export { resolveDeduplicationLockKey } from './tools/queue/DeduplicationKey.js';
180
+ export { RedisQueue } from './tools/queue/drivers/Redis.js';
181
+ export { IdempotencyManager } from './tools/queue/IdempotencyManager.js';
182
+ export { JobHeartbeatStore } from './tools/queue/JobHeartbeatStore.js';
183
+ export { JobReconciliationRunner } from './tools/queue/JobReconciliationRunner.js';
184
+ export { JobRecoveryDaemon } from './tools/queue/JobRecoveryDaemon.js';
185
+ export { JobStateTracker } from './tools/queue/JobStateTracker.js';
186
+ export { autoRegisterJobStateTrackerPersistenceFromEnv, createJobStateTrackerDbPersistence, } from './tools/queue/JobStateTrackerDbPersistence.js';
187
+ export { createLockProvider, getLockProvider, registerLockProvider } from './tools/queue/LockProvider.js';
188
+ export { Queue, resolveLockPrefix } from './tools/queue/Queue.js';
189
+ export type { BullMQPayload, IQueueDriver, QueueMessage } from './tools/queue/Queue.js';
190
+ export { QueueDataRedactor } from './tools/queue/QueueDataRedactor.js';
191
+ export { QueueReliabilityMetrics } from './tools/queue/QueueReliabilityMetrics.js';
192
+ export { QueueReliabilityOrchestrator } from './tools/queue/QueueReliabilityOrchestrator.js';
193
+ export { QueueTracing } from './tools/queue/QueueTracing.js';
194
+ export { StalledJobMonitor } from './tools/queue/StalledJobMonitor.js';
195
+ export { TimeoutManager } from './tools/queue/TimeoutManager.js';
196
+ export { SeederLoader } from './seeders/SeederLoader.js';
197
+ export type { LoadedSeeder, SeederHandler } from './seeders/types.js';
198
+ export { default as logCleanup } from './schedules/log-cleanup.js';
199
+ export * as NodeSingletons from './node-singletons/index.js';
200
+ export { Auth } from './auth/Auth.js';
201
+ export { LoginFlow } from './auth/LoginFlow.js';
202
+ export type { BulletproofJwtIssued, LoginFlowAuditEvent, LoginFlowAuditor, LoginFlowBuilder, LoginFlowCreateOptions, LoginFlowError, LoginFlowIdentity, LoginFlowIssuer, LoginFlowIssuerInput, LoginFlowProvider, LoginFlowResult, LoginFlowStage, LoginFlowVerifiedRecord, } from './auth/LoginFlow.js';
203
+ export { MicroserviceGenerator } from './microservices/MicroserviceGenerator.js';
204
+ export type { GenerateServiceOptions, IMicroserviceGenerator, } from './microservices/MicroserviceGenerator.js';
205
+ export { ErrorHandler as ProxyErrorHandler } from './proxy/ErrorHandler.js';
206
+ export { RequestValidator } from './proxy/RequestValidator.js';
207
+ export { SigningService } from './proxy/SigningService.js';
208
+ export { getKernel } from './runtime/getKernel.js';
209
+ export { useFileLoader } from './runtime/useFileLoader.js';
210
+ export { PluginManager } from './runtime/PluginManager.js';
211
+ export { PluginRegistry } from './runtime/PluginRegistry.js';
212
+ export { nowIso } from './common/utility.js';
213
+ export type { SanitizerError } from './exceptions/ZintrustError.js';
214
+ export { randomBytes } from './node-singletons/crypto.js';
215
+ export { SecurePayload, type SecurePayloadCoercionShape, type SecurePayloadCoercionType, type SecurePayloadDecodeOptions, type SecurePayloadDecryptor, type SecurePayloadPipeline, type SecurePayloadPipelineIssue, type SecurePayloadPipelineStage, } from './security/SecurePayload.js';
216
+ export type { MiddlewaresType } from './config/middleware.js';
217
+ export * from './config/redis.js';
218
+ export type * from './config/type.js';
219
+ export * from './helper/index.js';
220
+ export { ZintrustLang } from './lang/lang.js';
221
+ export { createRedisConnection, workersConfig } from './config/workers.js';
222
+ export type { RedisTransportOptions } from './tools/redis/RedisTransport.js';
223
+ export type { RouteOptions } from './routes/Router.js';
224
+ export { RedisKeys, createRedisKey, extractOriginalKey, getBullMQSafeQueueName, getPrefix, isAppKey, type RedisKeyType, } from './tools/redis/RedisKeyManager.js';
225
+ export { CloudflareSocket } from './sockets/CloudflareSocket.js';
226
+ export { SocketFeature } from './sockets/SocketRuntime.js';
227
+ export type { SocketAuthorizationContext, SocketAuthorizationDecision, SocketAuthorizer, SocketAuthorizerHandler, SocketFeatureSettings, SocketNodeUpgradeInput, SocketPublishContext, SocketPublishDecision, SocketPublishPolicy, SocketPublishPolicyHandler, SocketRouteRegistrar, SocketRuntime, SocketRuntimeDiagnostics, SocketTransportMode, SocketWorkerContext, } from './sockets/SocketRuntime.js';
228
+ export { SocketRuntimeRegistry } from './sockets/SocketRuntimeRegistry.js';
229
+ export { detectRuntime } from './runtime/detectRuntime.js';
230
230
  //# sourceMappingURL=index.d.ts.map