alepha 0.19.1 → 0.19.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (531) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +6 -9
  3. package/dist/api/audits/index.d.ts +378 -346
  4. package/dist/api/audits/index.d.ts.map +1 -1
  5. package/dist/api/files/index.d.ts +216 -184
  6. package/dist/api/files/index.d.ts.map +1 -1
  7. package/dist/api/jobs/index.d.ts +534 -502
  8. package/dist/api/jobs/index.d.ts.map +1 -1
  9. package/dist/api/jobs/index.js +13 -7
  10. package/dist/api/jobs/index.js.map +1 -1
  11. package/dist/api/keys/index.d.ts +202 -202
  12. package/dist/api/keys/index.d.ts.map +1 -1
  13. package/dist/api/notifications/index.d.ts +152 -152
  14. package/dist/api/notifications/index.d.ts.map +1 -1
  15. package/dist/api/organizations/index.browser.js +48 -0
  16. package/dist/api/organizations/index.browser.js.map +1 -0
  17. package/dist/api/organizations/index.d.ts +516 -0
  18. package/dist/api/organizations/index.d.ts.map +1 -0
  19. package/dist/api/organizations/index.js +202 -0
  20. package/dist/api/organizations/index.js.map +1 -0
  21. package/dist/api/parameters/index.d.ts +391 -358
  22. package/dist/api/parameters/index.d.ts.map +1 -1
  23. package/dist/api/parameters/index.js +5 -1
  24. package/dist/api/parameters/index.js.map +1 -1
  25. package/dist/api/users/index.browser.js +7 -5
  26. package/dist/api/users/index.browser.js.map +1 -1
  27. package/dist/api/users/index.d.ts +986 -931
  28. package/dist/api/users/index.d.ts.map +1 -1
  29. package/dist/api/users/index.js +160 -112
  30. package/dist/api/users/index.js.map +1 -1
  31. package/dist/api/verifications/index.d.ts +137 -137
  32. package/dist/api/verifications/index.d.ts.map +1 -1
  33. package/dist/api/verifications/index.js +2 -2
  34. package/dist/api/verifications/index.js.map +1 -1
  35. package/dist/batch/index.d.ts +6 -6
  36. package/dist/batch/index.d.ts.map +1 -1
  37. package/dist/billing/index.d.ts +1048 -0
  38. package/dist/billing/index.d.ts.map +1 -0
  39. package/dist/billing/index.js +713 -0
  40. package/dist/billing/index.js.map +1 -0
  41. package/dist/bin/index.js +0 -2
  42. package/dist/bin/index.js.map +1 -1
  43. package/dist/bucket/index.d.ts +10 -10
  44. package/dist/bucket/index.d.ts.map +1 -1
  45. package/dist/bucket/index.js +2 -2
  46. package/dist/bucket/index.js.map +1 -1
  47. package/dist/cache/core/index.d.ts +9 -9
  48. package/dist/cache/core/index.d.ts.map +1 -1
  49. package/dist/cache/core/index.js +2 -2
  50. package/dist/cache/core/index.js.map +1 -1
  51. package/dist/cache/core/index.workerd.js +2 -2
  52. package/dist/cache/core/index.workerd.js.map +1 -1
  53. package/dist/cache/redis/index.d.ts +6 -6
  54. package/dist/cache/redis/index.d.ts.map +1 -1
  55. package/dist/cache/redis/index.js +2 -2
  56. package/dist/cache/redis/index.js.map +1 -1
  57. package/dist/cli/config/index.d.ts +6 -18
  58. package/dist/cli/config/index.d.ts.map +1 -1
  59. package/dist/cli/config/index.js +5 -6
  60. package/dist/cli/config/index.js.map +1 -1
  61. package/dist/cli/core/index.d.ts +11811 -323
  62. package/dist/cli/core/index.d.ts.map +1 -1
  63. package/dist/cli/core/index.js +324 -98
  64. package/dist/cli/core/index.js.map +1 -1
  65. package/dist/cli/devtools/index.d.ts +50 -0
  66. package/dist/cli/devtools/index.d.ts.map +1 -0
  67. package/dist/cli/devtools/index.js +174 -0
  68. package/dist/cli/devtools/index.js.map +1 -0
  69. package/dist/cli/platform/index.d.ts +438 -542
  70. package/dist/cli/platform/index.d.ts.map +1 -1
  71. package/dist/cli/platform/index.js +46 -511
  72. package/dist/cli/platform/index.js.map +1 -1
  73. package/dist/cli/vendor/index.d.ts +201 -0
  74. package/dist/cli/vendor/index.d.ts.map +1 -0
  75. package/dist/cli/vendor/index.js +388 -0
  76. package/dist/cli/vendor/index.js.map +1 -0
  77. package/dist/command/index.d.ts +18 -18
  78. package/dist/command/index.d.ts.map +1 -1
  79. package/dist/command/index.js +2 -2
  80. package/dist/command/index.js.map +1 -1
  81. package/dist/core/index.browser.js +4 -4
  82. package/dist/core/index.browser.js.map +1 -1
  83. package/dist/core/index.d.ts +10 -10
  84. package/dist/core/index.d.ts.map +1 -1
  85. package/dist/core/index.js +8 -4
  86. package/dist/core/index.js.map +1 -1
  87. package/dist/core/index.native.js +8 -4
  88. package/dist/core/index.native.js.map +1 -1
  89. package/dist/core/index.workerd.js +8 -4
  90. package/dist/core/index.workerd.js.map +1 -1
  91. package/dist/crypto/index.d.ts +7 -7
  92. package/dist/crypto/index.d.ts.map +1 -1
  93. package/dist/datetime/index.d.ts +4 -4
  94. package/dist/datetime/index.d.ts.map +1 -1
  95. package/dist/email/brevo/index.d.ts +4 -4
  96. package/dist/email/brevo/index.d.ts.map +1 -1
  97. package/dist/email/core/index.d.ts +15 -11
  98. package/dist/email/core/index.d.ts.map +1 -1
  99. package/dist/email/core/index.js +12 -35
  100. package/dist/email/core/index.js.map +1 -1
  101. package/dist/email/smtp/index.d.ts +12 -12
  102. package/dist/email/smtp/index.d.ts.map +1 -1
  103. package/dist/email/smtp/index.js +7 -4
  104. package/dist/email/smtp/index.js.map +1 -1
  105. package/dist/fake/index.d.ts +4 -8
  106. package/dist/fake/index.d.ts.map +1 -1
  107. package/dist/fake/index.js +55 -889
  108. package/dist/fake/index.js.map +1 -1
  109. package/dist/lock/core/index.d.ts +13 -13
  110. package/dist/lock/core/index.d.ts.map +1 -1
  111. package/dist/lock/core/index.js +2 -2
  112. package/dist/lock/core/index.js.map +1 -1
  113. package/dist/lock/redis/index.d.ts +4 -4
  114. package/dist/lock/redis/index.d.ts.map +1 -1
  115. package/dist/logger/index.d.ts +16 -15
  116. package/dist/logger/index.d.ts.map +1 -1
  117. package/dist/logger/index.js +6 -3
  118. package/dist/logger/index.js.map +1 -1
  119. package/dist/mcp/index.d.ts +11 -11
  120. package/dist/mcp/index.d.ts.map +1 -1
  121. package/dist/mcp/index.js +2 -2
  122. package/dist/mcp/index.js.map +1 -1
  123. package/dist/orm/core/index.browser.js +11 -1
  124. package/dist/orm/core/index.browser.js.map +1 -1
  125. package/dist/orm/core/index.bun.js +78 -72
  126. package/dist/orm/core/index.bun.js.map +1 -1
  127. package/dist/orm/core/index.d.ts +103 -69
  128. package/dist/orm/core/index.d.ts.map +1 -1
  129. package/dist/orm/core/index.js +80 -70
  130. package/dist/orm/core/index.js.map +1 -1
  131. package/dist/orm/postgres/index.d.ts +19 -17
  132. package/dist/orm/postgres/index.d.ts.map +1 -1
  133. package/dist/queue/core/index.d.ts +14 -14
  134. package/dist/queue/core/index.d.ts.map +1 -1
  135. package/dist/queue/core/index.js +2 -2
  136. package/dist/queue/core/index.js.map +1 -1
  137. package/dist/queue/core/index.workerd.js +2 -2
  138. package/dist/queue/core/index.workerd.js.map +1 -1
  139. package/dist/queue/redis/index.d.ts +4 -4
  140. package/dist/queue/redis/index.d.ts.map +1 -1
  141. package/dist/queue/redis/index.js +2 -2
  142. package/dist/queue/redis/index.js.map +1 -1
  143. package/dist/react/auth/index.d.ts +9 -9
  144. package/dist/react/auth/index.d.ts.map +1 -1
  145. package/dist/react/core/index.d.ts +6 -6
  146. package/dist/react/core/index.d.ts.map +1 -1
  147. package/dist/react/core/index.js +5 -4
  148. package/dist/react/core/index.js.map +1 -1
  149. package/dist/react/form/index.d.ts +4 -4
  150. package/dist/react/form/index.d.ts.map +1 -1
  151. package/dist/react/head/index.d.ts +4 -4
  152. package/dist/react/head/index.d.ts.map +1 -1
  153. package/dist/react/i18n/index.d.ts +9 -9
  154. package/dist/react/i18n/index.d.ts.map +1 -1
  155. package/dist/react/intro/index.d.ts +2 -2
  156. package/dist/react/intro/index.d.ts.map +1 -1
  157. package/dist/react/intro/index.js +1 -1
  158. package/dist/react/intro/index.js.map +1 -1
  159. package/dist/react/router/index.browser.js +4 -5
  160. package/dist/react/router/index.browser.js.map +1 -1
  161. package/dist/react/router/index.d.ts +215 -215
  162. package/dist/react/router/index.d.ts.map +1 -1
  163. package/dist/react/router/index.js +6 -7
  164. package/dist/react/router/index.js.map +1 -1
  165. package/dist/react/testing/index.d.ts +2 -2
  166. package/dist/react/testing/index.d.ts.map +1 -1
  167. package/dist/react/testing/index.js +2 -4
  168. package/dist/react/testing/index.js.map +1 -1
  169. package/dist/redis/index.d.ts +19 -19
  170. package/dist/redis/index.d.ts.map +1 -1
  171. package/dist/retry/index.d.ts +4 -4
  172. package/dist/retry/index.d.ts.map +1 -1
  173. package/dist/scheduler/index.d.ts +13 -13
  174. package/dist/scheduler/index.d.ts.map +1 -1
  175. package/dist/scheduler/index.js +2 -2
  176. package/dist/scheduler/index.js.map +1 -1
  177. package/dist/scheduler/index.workerd.js +2 -2
  178. package/dist/scheduler/index.workerd.js.map +1 -1
  179. package/dist/security/index.browser.js +1 -1
  180. package/dist/security/index.browser.js.map +1 -1
  181. package/dist/security/index.d.ts +47 -47
  182. package/dist/security/index.d.ts.map +1 -1
  183. package/dist/security/index.js +9 -12
  184. package/dist/security/index.js.map +1 -1
  185. package/dist/server/auth/index.d.ts +170 -169
  186. package/dist/server/auth/index.d.ts.map +1 -1
  187. package/dist/server/auth/index.js +16 -2
  188. package/dist/server/auth/index.js.map +1 -1
  189. package/dist/server/cookies/index.d.ts +7 -7
  190. package/dist/server/cookies/index.d.ts.map +1 -1
  191. package/dist/server/core/index.d.ts +76 -76
  192. package/dist/server/core/index.d.ts.map +1 -1
  193. package/dist/server/core/index.js +23 -17
  194. package/dist/server/core/index.js.map +1 -1
  195. package/dist/server/cors/index.d.ts +13 -13
  196. package/dist/server/cors/index.d.ts.map +1 -1
  197. package/dist/server/cors/index.js +2 -2
  198. package/dist/server/cors/index.js.map +1 -1
  199. package/dist/server/etag/index.d.ts +9 -9
  200. package/dist/server/etag/index.d.ts.map +1 -1
  201. package/dist/server/health/index.d.ts +20 -20
  202. package/dist/server/health/index.d.ts.map +1 -1
  203. package/dist/server/links/index.browser.js +2 -2
  204. package/dist/server/links/index.browser.js.map +1 -1
  205. package/dist/server/links/index.d.ts +66 -66
  206. package/dist/server/links/index.d.ts.map +1 -1
  207. package/dist/server/links/index.js +4 -4
  208. package/dist/server/links/index.js.map +1 -1
  209. package/dist/server/metrics/index.d.ts +7 -7
  210. package/dist/server/metrics/index.d.ts.map +1 -1
  211. package/dist/server/proxy/index.d.ts +5 -5
  212. package/dist/server/proxy/index.d.ts.map +1 -1
  213. package/dist/server/rate-limit/index.d.ts +12 -12
  214. package/dist/server/rate-limit/index.d.ts.map +1 -1
  215. package/dist/server/rate-limit/index.js +2 -2
  216. package/dist/server/rate-limit/index.js.map +1 -1
  217. package/dist/server/static/index.d.ts +5 -5
  218. package/dist/server/static/index.d.ts.map +1 -1
  219. package/dist/server/swagger/index.d.ts +7 -7
  220. package/dist/server/swagger/index.d.ts.map +1 -1
  221. package/dist/server/swagger/index.js +2 -2
  222. package/dist/server/swagger/index.js.map +1 -1
  223. package/dist/sms/index.d.ts +11 -7
  224. package/dist/sms/index.d.ts.map +1 -1
  225. package/dist/sms/index.js +9 -15
  226. package/dist/sms/index.js.map +1 -1
  227. package/dist/system/index.d.ts +4 -4
  228. package/dist/system/index.d.ts.map +1 -1
  229. package/dist/topic/core/index.d.ts +6 -6
  230. package/dist/topic/core/index.d.ts.map +1 -1
  231. package/dist/topic/redis/index.d.ts +7 -7
  232. package/dist/topic/redis/index.d.ts.map +1 -1
  233. package/dist/topic/redis/index.js +2 -2
  234. package/dist/topic/redis/index.js.map +1 -1
  235. package/dist/websocket/index.d.ts +36 -36
  236. package/dist/websocket/index.d.ts.map +1 -1
  237. package/dist/websocket/index.js +2 -2
  238. package/dist/websocket/index.js.map +1 -1
  239. package/package.json +37 -15
  240. package/src/api/jobs/{services → __tests__}/JobService.spec.ts +1 -1
  241. package/src/api/jobs/providers/JobProvider.ts +13 -9
  242. package/src/api/keys/{services → __tests__}/ApiKeyService.spec.ts +1 -1
  243. package/src/api/organizations/__tests__/OrganizationService.spec.ts +193 -0
  244. package/src/api/organizations/controllers/AdminOrganizationController.ts +103 -0
  245. package/src/api/organizations/entities/organizations.ts +20 -0
  246. package/src/api/organizations/index.browser.ts +10 -0
  247. package/src/api/organizations/index.ts +31 -0
  248. package/src/api/organizations/schemas/createOrganizationSchema.ts +10 -0
  249. package/src/api/organizations/schemas/organizationQuerySchema.ts +10 -0
  250. package/src/api/organizations/schemas/organizationResourceSchema.ts +6 -0
  251. package/src/api/organizations/schemas/updateOrganizationSchema.ts +7 -0
  252. package/src/api/organizations/services/OrganizationService.ts +75 -0
  253. package/src/api/parameters/services/ParameterProvider.ts +6 -1
  254. package/src/api/users/{services → __tests__}/SessionService.spec.ts +67 -0
  255. package/src/api/users/{jobs → __tests__}/UserJobs.spec.ts +1 -1
  256. package/src/api/users/entities/users.ts +9 -3
  257. package/src/api/users/index.ts +23 -4
  258. package/src/api/users/primitives/$realm.ts +6 -4
  259. package/src/api/users/providers/RealmProvider.ts +1 -1
  260. package/src/api/users/services/RegistrationService.ts +1 -1
  261. package/src/api/users/services/SessionService.ts +92 -5
  262. package/src/api/users/services/UserService.ts +1 -1
  263. package/src/api/verifications/{jobs → __tests__}/VerificationJobs.spec.ts +4 -2
  264. package/src/api/verifications/parameters/VerificationParameters.ts +2 -2
  265. package/src/billing/__tests__/BillingService.spec.ts +136 -0
  266. package/src/billing/__tests__/PaymentMethodService.spec.ts +78 -0
  267. package/src/billing/controllers/AdminBillingController.ts +149 -0
  268. package/src/billing/controllers/BillingController.ts +108 -0
  269. package/src/billing/entities/paymentIntents.ts +34 -0
  270. package/src/billing/entities/paymentMethods.ts +24 -0
  271. package/src/billing/entities/refunds.ts +22 -0
  272. package/src/billing/errors/BillingError.ts +5 -0
  273. package/src/billing/index.ts +76 -0
  274. package/src/billing/providers/BillingProvider.ts +79 -0
  275. package/src/billing/providers/MemoryBillingProvider.ts +139 -0
  276. package/src/billing/schemas/intentSchemas.ts +60 -0
  277. package/src/billing/schemas/paymentMethodSchemas.ts +13 -0
  278. package/src/billing/schemas/refundSchemas.ts +6 -0
  279. package/src/billing/services/BillingService.ts +325 -0
  280. package/src/billing/services/PaymentMethodService.ts +82 -0
  281. package/src/bin/index.ts +0 -2
  282. package/src/bucket/providers/LocalFileStorageProvider.ts +2 -2
  283. package/src/cache/core/{primitives → __tests__}/$cache.middleware.spec.ts +1 -1
  284. package/src/cache/core/{providers → __tests__}/MemoryCacheProvider.spec.ts +1 -1
  285. package/src/cache/core/primitives/$cache.ts +2 -2
  286. package/src/cache/redis/providers/RedisCacheProvider.ts +2 -2
  287. package/src/cli/config/defineConfig.ts +17 -26
  288. package/src/cli/core/{services → __tests__}/ProjectScaffolder.spec.ts +1 -1
  289. package/src/cli/core/{commands/gen → __tests__}/changelog.spec.ts +1 -1
  290. package/src/cli/core/{commands → __tests__}/init.spec.ts +2 -8
  291. package/src/cli/core/atoms/devOptions.ts +0 -5
  292. package/src/cli/core/commands/build.ts +2 -2
  293. package/src/cli/core/commands/dev.ts +165 -30
  294. package/src/cli/core/commands/gen/changelog.ts +2 -2
  295. package/src/cli/core/commands/init.ts +2 -7
  296. package/src/cli/core/commands/verify.ts +0 -1
  297. package/src/cli/core/providers/AppEntryProvider.ts +2 -2
  298. package/src/cli/core/providers/ViteDevServerProvider.ts +99 -69
  299. package/src/cli/core/services/PackageManagerUtils.ts +8 -1
  300. package/src/cli/core/services/ProjectScaffolder.ts +23 -23
  301. package/src/cli/core/tasks/BuildClientTask.ts +8 -0
  302. package/src/cli/core/tasks/BuildServerTask.ts +17 -4
  303. package/src/cli/core/templates/agentMd.ts +14 -5
  304. package/src/cli/core/templates/alephaConfigTs.ts +0 -6
  305. package/src/cli/core/templates/webAdminDashboardTsx.ts +17 -0
  306. package/src/cli/core/templates/webAppRouterTs.ts +85 -2
  307. package/src/cli/devtools/atoms/devtoolsOptions.ts +26 -0
  308. package/src/cli/devtools/index.ts +214 -0
  309. package/src/cli/platform/{adapters → __tests__}/CloudflareAdapter.spec.ts +2 -2
  310. package/src/cli/platform/{providers → __tests__}/GitHubSecretStore.spec.ts +1 -1
  311. package/src/cli/platform/{services → __tests__}/NamingService.spec.ts +1 -1
  312. package/src/cli/platform/{providers → __tests__}/PlatformCacheProvider.spec.ts +1 -1
  313. package/src/cli/platform/{services → __tests__}/PlatformInspector.spec.ts +1 -1
  314. package/src/cli/platform/{services → __tests__}/PlatformOrchestrator.spec.ts +3 -3
  315. package/src/cli/platform/{services → __tests__}/SecretFilterService.spec.ts +1 -1
  316. package/src/cli/platform/{commands → __tests__}/SecretsCommand.spec.ts +1 -1
  317. package/src/cli/platform/{adapters → __tests__}/VercelAdapter.spec.ts +2 -2
  318. package/src/cli/platform/atoms/platformOptions.ts +2 -10
  319. package/src/cli/platform/commands/SecretsCommand.ts +2 -2
  320. package/src/cli/platform/commands/platform.ts +2 -11
  321. package/src/cli/platform/index.ts +55 -11
  322. package/src/cli/platform/services/PlatformInspector.ts +2 -2
  323. package/src/cli/platform/services/PlatformOrchestrator.ts +0 -9
  324. package/src/cli/vendor/__tests__/VendorService.spec.ts +407 -0
  325. package/src/cli/vendor/atoms/vendorOptions.ts +41 -0
  326. package/src/cli/vendor/commands/VendorCommand.ts +204 -0
  327. package/src/cli/vendor/index.ts +60 -0
  328. package/src/cli/vendor/services/VendorService.ts +338 -0
  329. package/src/command/{providers → __tests__}/CliProvider.spec.ts +1 -1
  330. package/src/command/{helpers → __tests__}/EnvUtils.spec.ts +1 -1
  331. package/src/command/providers/CliProvider.ts +2 -2
  332. package/src/core/Alepha.ts +10 -0
  333. package/src/core/{primitives → __tests__}/$atom.spec.ts +2 -2
  334. package/src/core/{primitives → __tests__}/$memoize.spec.ts +1 -1
  335. package/src/core/{primitives → __tests__}/$mode.spec.ts +1 -1
  336. package/src/core/{primitives → __tests__}/$pipeline.spec.ts +1 -1
  337. package/src/core/{primitives → __tests__}/$scope.spec.ts +2 -2
  338. package/src/core/{providers → __tests__}/KeylessJsonSchemaCodec.spec.ts +1 -1
  339. package/src/core/{providers → __tests__}/SchemaValidator.spec.ts +1 -1
  340. package/src/core/{helpers → __tests__}/jsonSchemaToTypeBox.spec.ts +1 -1
  341. package/src/core/index.shared.ts +1 -1
  342. package/src/core/primitives/{$use.ts → $state.ts} +4 -4
  343. package/src/crypto/{providers → __tests__}/BrowserCryptoProvider.browser.spec.ts +1 -1
  344. package/src/crypto/{providers → __tests__}/CryptoProvider.spec.ts +1 -1
  345. package/src/datetime/{primitives → __tests__}/$debounce.spec.ts +1 -1
  346. package/src/datetime/{primitives → __tests__}/$throttle.spec.ts +1 -1
  347. package/src/datetime/{primitives → __tests__}/$timeout.spec.ts +1 -1
  348. package/src/email/brevo/{providers → __tests__}/BrevoEmailProvider.spec.ts +1 -1
  349. package/src/email/core/{providers → __tests__}/LocalEmailProvider.spec.ts +39 -150
  350. package/src/email/core/providers/LocalEmailProvider.ts +13 -51
  351. package/src/email/smtp/providers/NodemailerEmailProvider.ts +2 -2
  352. package/src/lock/core/{primitives → __tests__}/$lock.middleware.spec.ts +1 -1
  353. package/src/lock/core/primitives/$lock.ts +2 -2
  354. package/src/logger/index.ts +16 -5
  355. package/src/mcp/transports/SseMcpTransport.ts +2 -2
  356. package/src/orm/__tests__/ModelBuilder-tests.ts +53 -0
  357. package/src/orm/__tests__/ModelBuilder.spec.ts +80 -0
  358. package/src/orm/__tests__/organization-tests.ts +200 -0
  359. package/src/orm/__tests__/organization.spec.ts +103 -0
  360. package/src/orm/core/{providers/drivers → __tests__}/BunSqliteProvider.bun.spec.ts +5 -2
  361. package/src/orm/core/constants/PG_SYMBOLS.ts +2 -0
  362. package/src/orm/core/index.shared.ts +1 -0
  363. package/src/orm/core/primitives/$entity.ts +31 -0
  364. package/src/orm/core/providers/DatabaseTypeProvider.ts +11 -0
  365. package/src/orm/core/providers/DrizzleKitProvider.ts +57 -106
  366. package/src/orm/core/providers/drivers/BunSqliteProvider.ts +2 -2
  367. package/src/orm/core/providers/drivers/NodeSqliteProvider.ts +3 -3
  368. package/src/orm/core/services/ModelBuilder.ts +11 -0
  369. package/src/orm/core/services/QueryManager.ts +16 -2
  370. package/src/orm/core/services/Repository.ts +70 -10
  371. package/src/orm/postgres/{providers → __tests__}/BunPostgresProvider.bun.spec.ts +1 -1
  372. package/src/queue/core/providers/WorkerProvider.ts +2 -2
  373. package/src/queue/redis/providers/RedisQueueProvider.ts +2 -2
  374. package/src/react/core/{hooks → __tests__}/useAction.browser.spec.tsx +1 -1
  375. package/src/react/core/hooks/useAction.ts +7 -6
  376. package/src/react/head/{providers → __tests__}/BrowserHeadProvider.browser.spec.ts +1 -1
  377. package/src/react/head/{helpers → __tests__}/SeoExpander.spec.ts +1 -1
  378. package/src/react/i18n/{providers → __tests__}/I18nProvider.spec.ts +1 -1
  379. package/src/react/i18n/{hooks → __tests__}/useI18n.browser.spec.tsx +1 -1
  380. package/src/react/intro/components/GettingStartedDevtoolsSlide.tsx +1 -1
  381. package/src/react/router/{providers → __tests__}/ReactBrowserProvider.browser.spec.ts +1 -1
  382. package/src/react/router/providers/ReactBrowserProvider.ts +2 -2
  383. package/src/react/router/providers/ReactPageProvider.ts +2 -2
  384. package/src/react/router/providers/ReactServerProvider.ts +3 -3
  385. package/src/redis/{providers → __tests__}/BunRedisProvider.bun.spec.ts +4 -4
  386. package/src/retry/{primitives → __tests__}/$retry.middleware.spec.ts +1 -1
  387. package/src/router/{TemplatedPathParser.spec.ts → __tests__/TemplatedPathParser.spec.ts} +1 -1
  388. package/src/scheduler/primitives/$scheduler.ts +2 -2
  389. package/src/security/{primitives → __tests__}/$secure-browser.spec.ts +1 -1
  390. package/src/security/{primitives → __tests__}/$secure.spec.ts +1 -1
  391. package/src/security/primitives/$issuer.ts +1 -1
  392. package/src/security/providers/JwtProvider.ts +6 -10
  393. package/src/security/providers/SecurityProvider.ts +6 -11
  394. package/src/security/schemas/userAccountInfoSchema.ts +3 -3
  395. package/src/server/auth/providers/ServerAuthProvider.ts +24 -2
  396. package/src/server/cookies/{services → __tests__}/CookieParser.spec.ts +1 -1
  397. package/src/server/core/{primitives → __tests__}/$circuit.spec.ts +1 -1
  398. package/src/server/core/{providers → __tests__}/NodeHttpServerProvider.spec.ts +1 -1
  399. package/src/server/core/{providers → __tests__}/ServerBodyParserProvider.spec.ts +31 -1
  400. package/src/server/core/{providers → __tests__}/ServerCompressProvider.spec.ts +1 -1
  401. package/src/server/core/{providers → __tests__}/ServerHelmetProvider.spec.ts +4 -1
  402. package/src/server/core/{providers → __tests__}/ServerMultipartProvider.spec.ts +1 -1
  403. package/src/server/core/{services → __tests__}/ServerRequestParser.spec.ts +1 -1
  404. package/src/server/core/primitives/$action.ts +2 -2
  405. package/src/server/core/primitives/$sse.ts +2 -2
  406. package/src/server/core/providers/ServerBodyParserProvider.ts +21 -12
  407. package/src/server/core/providers/ServerCompressProvider.ts +2 -2
  408. package/src/server/core/providers/ServerHelmetProvider.ts +2 -2
  409. package/src/server/core/providers/ServerMultipartProvider.ts +2 -2
  410. package/src/server/core/providers/ServerRouterProvider.ts +1 -5
  411. package/src/server/cors/{primitives → __tests__}/$cors.spec.ts +1 -1
  412. package/src/server/cors/providers/ServerCorsProvider.ts +2 -2
  413. package/src/server/links/{services → __tests__}/BatchCollector.spec.ts +1 -1
  414. package/src/server/links/providers/LinkProvider.ts +2 -2
  415. package/src/server/links/providers/RemotePrimitiveProvider.ts +2 -2
  416. package/src/server/links/providers/ServerLinksProvider.ts +2 -2
  417. package/src/server/rate-limit/{primitives → __tests__}/$rateLimit.spec.ts +1 -1
  418. package/src/server/rate-limit/providers/ServerRateLimitProvider.ts +2 -2
  419. package/src/server/swagger/providers/ServerSwaggerProvider.ts +2 -2
  420. package/src/sms/{providers → __tests__}/LocalSmsProvider.spec.ts +35 -29
  421. package/src/sms/providers/LocalSmsProvider.ts +13 -24
  422. package/src/system/{providers → __tests__}/MemoryFileSystemProvider.spec.ts +1 -1
  423. package/src/system/{providers → __tests__}/MemoryShellProvider.spec.ts +1 -1
  424. package/src/topic/redis/providers/RedisTopicProvider.ts +2 -2
  425. package/src/websocket/{services → __tests__}/RoomManager.spec.ts +1 -1
  426. package/src/websocket/providers/NodeWebSocketServerProvider.ts +2 -2
  427. package/src/cli/platform/adapters/DockerAdapter.spec.ts +0 -378
  428. package/src/cli/platform/adapters/DockerAdapter.ts +0 -417
  429. package/src/cli/platform/services/DockerComposeGenerator.spec.ts +0 -490
  430. package/src/cli/platform/services/DockerComposeGenerator.ts +0 -353
  431. package/src/cli/platform/services/DockerSshService.spec.ts +0 -47
  432. package/src/cli/platform/services/DockerSshService.ts +0 -61
  433. /package/src/api/audits/{primitives → __tests__}/$audit.spec.ts +0 -0
  434. /package/src/api/audits/{services → __tests__}/AuditService.spec.ts +0 -0
  435. /package/src/api/files/{controllers → __tests__}/AdminFileStatsController.spec.ts +0 -0
  436. /package/src/api/files/{controllers → __tests__}/FileController.spec.ts +0 -0
  437. /package/src/api/files/{jobs → __tests__}/FileJobs.spec.ts +0 -0
  438. /package/src/api/files/{services → __tests__}/FileService.spec.ts +0 -0
  439. /package/src/api/jobs/{primitives → __tests__}/$job-middleware.spec.ts +0 -0
  440. /package/src/api/parameters/{primitives → __tests__}/$parameter.spec.ts +0 -0
  441. /package/src/api/users/{primitives → __tests__}/$realm.spec.ts +0 -0
  442. /package/src/api/users/{controllers → __tests__}/AdminIdentityController.spec.ts +0 -0
  443. /package/src/api/users/{controllers → __tests__}/AdminSessionController.spec.ts +0 -0
  444. /package/src/api/users/{controllers → __tests__}/AdminUserController.spec.ts +0 -0
  445. /package/src/api/users/{services → __tests__}/CredentialService.spec.ts +0 -0
  446. /package/src/api/users/{providers → __tests__}/RealmProvider.spec.ts +0 -0
  447. /package/src/api/users/{services → __tests__}/RegistrationService.spec.ts +0 -0
  448. /package/src/batch/{primitives → __tests__}/$batch.spec.ts +0 -0
  449. /package/src/batch/{providers → __tests__}/BatchProvider.spec.ts +0 -0
  450. /package/src/bucket/{primitives → __tests__}/$bucket.spec.ts +0 -0
  451. /package/src/bucket/{providers → __tests__}/FileStorageProvider.spec.ts +0 -0
  452. /package/src/bucket/{providers → __tests__}/LocalFileStorageProvider.spec.ts +0 -0
  453. /package/src/bucket/{providers → __tests__}/MemoryFileStorageProvider.spec.ts +0 -0
  454. /package/src/cache/core/{primitives → __tests__}/$cache.spec.ts +0 -0
  455. /package/src/cache/redis/{providers → __tests__}/RedisCacheProvider.spec.ts +0 -0
  456. /package/src/command/{primitives → __tests__}/$command.spec.ts +0 -0
  457. /package/src/command/{helpers → __tests__}/Asker.spec.ts +0 -0
  458. /package/src/command/{helpers → __tests__}/Runner.spec.ts +0 -0
  459. /package/src/core/{primitives → __tests__}/$context.spec.ts +0 -0
  460. /package/src/core/{primitives → __tests__}/$env.spec.ts +0 -0
  461. /package/src/core/{primitives → __tests__}/$hook.spec.ts +0 -0
  462. /package/src/core/{primitives → __tests__}/$inject.spec.ts +0 -0
  463. /package/src/core/{primitives → __tests__}/$module.spec.ts +0 -0
  464. /package/src/core/{providers → __tests__}/CodecManager.spec.ts +0 -0
  465. /package/src/core/{providers → __tests__}/EventManager.spec.ts +0 -0
  466. /package/src/core/{providers → __tests__}/StateManager.spec.ts +0 -0
  467. /package/src/core/{providers → __tests__}/TypeProvider.spec.ts +0 -0
  468. /package/src/datetime/{primitives → __tests__}/$interval.spec.ts +0 -0
  469. /package/src/datetime/{providers → __tests__}/DateTimeProvider.spec.ts +0 -0
  470. /package/src/email/core/{primitives → __tests__}/$email.spec.ts +0 -0
  471. /package/src/fake/{providers → __tests__}/FakeProvider.spec.ts +0 -0
  472. /package/src/lock/core/{providers → __tests__}/MemoryLockProvider.spec.ts +0 -0
  473. /package/src/lock/redis/{providers → __tests__}/RedisLockProvider.spec.ts +0 -0
  474. /package/src/logger/{primitives → __tests__}/$logger.spec.ts +0 -0
  475. /package/src/logger/{services → __tests__}/Logger.spec.ts +0 -0
  476. /package/src/mcp/{primitives → __tests__}/$prompt.spec.ts +0 -0
  477. /package/src/mcp/{primitives → __tests__}/$resource.spec.ts +0 -0
  478. /package/src/mcp/{primitives → __tests__}/$tool.spec.ts +0 -0
  479. /package/src/mcp/{providers → __tests__}/McpServerProvider.spec.ts +0 -0
  480. /package/src/mcp/{helpers → __tests__}/jsonrpc.spec.ts +0 -0
  481. /package/src/orm/core/{helpers → __tests__}/parseQueryString.spec.ts +0 -0
  482. /package/src/queue/core/{primitives → __tests__}/$consumer.spec.ts +0 -0
  483. /package/src/queue/core/{providers → __tests__}/MemoryQueueProvider.spec.ts +0 -0
  484. /package/src/queue/core/{providers → __tests__}/WorkerProvider.spec.ts +0 -0
  485. /package/src/queue/redis/{providers → __tests__}/RedisQueueProvider.spec.ts +0 -0
  486. /package/src/react/form/{hooks → __tests__}/useForm.browser.spec.tsx +0 -0
  487. /package/src/react/head/{hooks → __tests__}/useHead.spec.tsx +0 -0
  488. /package/src/react/i18n/{components → __tests__}/Localize.spec.tsx +0 -0
  489. /package/src/react/router/{primitives → __tests__}/$page.browser.spec.tsx +0 -0
  490. /package/src/react/router/{primitives → __tests__}/$page.middleware.spec.tsx +0 -0
  491. /package/src/react/router/{primitives → __tests__}/$page.spec.tsx +0 -0
  492. /package/src/react/router/{providers → __tests__}/ReactPreloadProvider.spec.ts +0 -0
  493. /package/src/react/router/{providers → __tests__}/ReactServerProvider.spec.tsx +0 -0
  494. /package/src/react/router/{providers → __tests__}/ReactServerTemplateProvider.spec.ts +0 -0
  495. /package/src/retry/{primitives → __tests__}/$retry.spec.ts +0 -0
  496. /package/src/retry/{providers → __tests__}/RetryProvider.spec.ts +0 -0
  497. /package/src/router/{providers → __tests__}/RouterProvider.spec.ts +0 -0
  498. /package/src/security/{primitives → __tests__}/$issuer.spec.ts +0 -0
  499. /package/src/security/{primitives → __tests__}/$permission.spec.ts +0 -0
  500. /package/src/security/{primitives → __tests__}/$role.spec.ts +0 -0
  501. /package/src/security/{primitives → __tests__}/$serviceAccount.spec.ts +0 -0
  502. /package/src/security/{providers → __tests__}/SecurityProvider.spec.ts +0 -0
  503. /package/src/server/cookies/{providers → __tests__}/ServerCookiesProvider.spec.ts +0 -0
  504. /package/src/server/core/{primitives → __tests__}/$action.spec.ts +0 -0
  505. /package/src/server/core/{primitives → __tests__}/$middleware.spec.ts +0 -0
  506. /package/src/server/core/{primitives → __tests__}/$route.spec.ts +0 -0
  507. /package/src/server/core/{primitives → __tests__}/$sse.spec.ts +0 -0
  508. /package/src/server/core/{providers → __tests__}/BunHttpServerProvider.bun.spec.ts +0 -0
  509. /package/src/server/core/{services → __tests__}/HttpClient.spec.ts +0 -0
  510. /package/src/server/core/{providers → __tests__}/ServerLoggerProvider.spec.ts +0 -0
  511. /package/src/server/core/{services → __tests__}/UserAgentParser.spec.ts +0 -0
  512. /package/src/server/cors/{providers → __tests__}/ServerCorsProvider.spec.ts +0 -0
  513. /package/src/server/etag/{providers → __tests__}/ServerEtagProvider.spec.ts +0 -0
  514. /package/src/server/health/{providers → __tests__}/ServerHealthProvider.spec.ts +0 -0
  515. /package/src/server/links/{primitives → __tests__}/$remote.spec.ts +0 -0
  516. /package/src/server/links/{services → __tests__}/BatchEndpoint.spec.ts +0 -0
  517. /package/src/server/links/{providers → __tests__}/LinkProvider.spec.ts +0 -0
  518. /package/src/server/links/{providers → __tests__}/ServerLinksProvider.spec.ts +0 -0
  519. /package/src/server/metrics/{providers → __tests__}/ServerMetricsProvider.spec.ts +0 -0
  520. /package/src/server/proxy/{primitives → __tests__}/$proxy.spec.ts +0 -0
  521. /package/src/server/rate-limit/{providers → __tests__}/ServerRateLimitProvider.spec.ts +0 -0
  522. /package/src/server/static/{primitives → __tests__}/$serve.spec.ts +0 -0
  523. /package/src/server/swagger/{primitives → __tests__}/$swagger.spec.ts +0 -0
  524. /package/src/sms/{primitives → __tests__}/$sms.spec.ts +0 -0
  525. /package/src/sms/{providers → __tests__}/MemorySmsProvider.spec.ts +0 -0
  526. /package/src/system/{services → __tests__}/FileDetector.spec.ts +0 -0
  527. /package/src/system/{providers → __tests__}/NodeFileSystemProvider.spec.ts +0 -0
  528. /package/src/topic/core/{primitives → __tests__}/$subscriber.spec.ts +0 -0
  529. /package/src/topic/core/{providers → __tests__}/MemoryTopicProvider.spec.ts +0 -0
  530. /package/src/topic/redis/{providers → __tests__}/RedisTopicProvider.spec.ts +0 -0
  531. /package/src/websocket/{primitives → __tests__}/$channel.spec.ts +0 -0
@@ -1,29 +1,29 @@
1
- import * as alepha from "alepha";
1
+ import * as _$alepha from "alepha";
2
2
  import { Alepha, Static } from "alepha";
3
3
  import { IssuerResolver, UserInfo } from "alepha/security";
4
- import * as alepha_server0 from "alepha/server";
5
- import * as alepha_orm0 from "alepha/orm";
6
- import * as alepha_cache0 from "alepha/cache";
4
+ import * as _$alepha_server0 from "alepha/server";
5
+ import * as _$alepha_orm0 from "alepha/orm";
6
+ import * as _$alepha_cache0 from "alepha/cache";
7
7
  import { DateTimeProvider } from "alepha/datetime";
8
- import * as alepha_logger0 from "alepha/logger";
8
+ import * as _$alepha_logger0 from "alepha/logger";
9
9
 
10
10
  //#region ../../src/api/keys/entities/apiKeyEntity.d.ts
11
- declare const apiKeyEntity: alepha_orm0.EntityPrimitive<alepha.TObject<{
12
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
13
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
14
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
15
- userId: alepha.TString;
16
- name: alepha.TString;
17
- description: alepha.TOptional<alepha.TString>;
18
- tokenHash: alepha.TString;
19
- tokenPrefix: alepha.TString;
20
- tokenSuffix: alepha.TString;
21
- roles: alepha_orm0.PgAttr<alepha.TArray<alepha.TString>, typeof alepha_orm0.PG_DEFAULT>;
22
- lastUsedAt: alepha.TOptional<alepha.TString>;
23
- lastUsedIp: alepha.TOptional<alepha.TString>;
24
- usageCount: alepha_orm0.PgAttr<alepha.TInteger, typeof alepha_orm0.PG_DEFAULT>;
25
- expiresAt: alepha.TOptional<alepha.TString>;
26
- revokedAt: alepha.TOptional<alepha.TString>;
11
+ declare const apiKeyEntity: _$alepha_orm0.EntityPrimitive<_$alepha.TObject<{
12
+ id: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$alepha.TString, typeof _$alepha_orm0.PG_PRIMARY_KEY>, typeof _$alepha_orm0.PG_DEFAULT>;
13
+ createdAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$alepha.TString, typeof _$alepha_orm0.PG_CREATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
14
+ updatedAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$alepha.TString, typeof _$alepha_orm0.PG_UPDATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
15
+ userId: _$alepha.TString;
16
+ name: _$alepha.TString;
17
+ description: _$alepha.TOptional<_$alepha.TString>;
18
+ tokenHash: _$alepha.TString;
19
+ tokenPrefix: _$alepha.TString;
20
+ tokenSuffix: _$alepha.TString;
21
+ roles: _$alepha_orm0.PgAttr<_$alepha.TArray<_$alepha.TString>, typeof _$alepha_orm0.PG_DEFAULT>;
22
+ lastUsedAt: _$alepha.TOptional<_$alepha.TString>;
23
+ lastUsedIp: _$alepha.TOptional<_$alepha.TString>;
24
+ usageCount: _$alepha_orm0.PgAttr<_$alepha.TInteger, typeof _$alepha_orm0.PG_DEFAULT>;
25
+ expiresAt: _$alepha.TOptional<_$alepha.TString>;
26
+ revokedAt: _$alepha.TOptional<_$alepha.TString>;
27
27
  }>>;
28
28
  type ApiKeyEntity = Static<typeof apiKeyEntity.schema>;
29
29
  //#endregion
@@ -31,28 +31,28 @@ type ApiKeyEntity = Static<typeof apiKeyEntity.schema>;
31
31
  declare class ApiKeyService {
32
32
  protected readonly alepha: Alepha;
33
33
  protected readonly dateTimeProvider: DateTimeProvider;
34
- protected readonly log: alepha_logger0.Logger;
35
- protected readonly repo: alepha_orm0.Repository<alepha.TObject<{
36
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
37
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
38
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
39
- userId: alepha.TString;
40
- name: alepha.TString;
41
- description: alepha.TOptional<alepha.TString>;
42
- tokenHash: alepha.TString;
43
- tokenPrefix: alepha.TString;
44
- tokenSuffix: alepha.TString;
45
- roles: alepha_orm0.PgAttr<alepha.TArray<alepha.TString>, typeof alepha_orm0.PG_DEFAULT>;
46
- lastUsedAt: alepha.TOptional<alepha.TString>;
47
- lastUsedIp: alepha.TOptional<alepha.TString>;
48
- usageCount: alepha_orm0.PgAttr<alepha.TInteger, typeof alepha_orm0.PG_DEFAULT>;
49
- expiresAt: alepha.TOptional<alepha.TString>;
50
- revokedAt: alepha.TOptional<alepha.TString>;
34
+ protected readonly log: _$alepha_logger0.Logger;
35
+ protected readonly repo: _$alepha_orm0.Repository<_$alepha.TObject<{
36
+ id: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$alepha.TString, typeof _$alepha_orm0.PG_PRIMARY_KEY>, typeof _$alepha_orm0.PG_DEFAULT>;
37
+ createdAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$alepha.TString, typeof _$alepha_orm0.PG_CREATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
38
+ updatedAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$alepha.TString, typeof _$alepha_orm0.PG_UPDATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
39
+ userId: _$alepha.TString;
40
+ name: _$alepha.TString;
41
+ description: _$alepha.TOptional<_$alepha.TString>;
42
+ tokenHash: _$alepha.TString;
43
+ tokenPrefix: _$alepha.TString;
44
+ tokenSuffix: _$alepha.TString;
45
+ roles: _$alepha_orm0.PgAttr<_$alepha.TArray<_$alepha.TString>, typeof _$alepha_orm0.PG_DEFAULT>;
46
+ lastUsedAt: _$alepha.TOptional<_$alepha.TString>;
47
+ lastUsedIp: _$alepha.TOptional<_$alepha.TString>;
48
+ usageCount: _$alepha_orm0.PgAttr<_$alepha.TInteger, typeof _$alepha_orm0.PG_DEFAULT>;
49
+ expiresAt: _$alepha.TOptional<_$alepha.TString>;
50
+ revokedAt: _$alepha.TOptional<_$alepha.TString>;
51
51
  }>>;
52
52
  /**
53
53
  * Cache validated API keys for 15 minutes.
54
54
  */
55
- protected readonly validationCache: alepha_cache0.CacheMiddlewareFn<{
55
+ protected readonly validationCache: _$alepha_cache0.CacheMiddlewareFn<{
56
56
  description?: string | undefined;
57
57
  lastUsedAt?: string | undefined;
58
58
  lastUsedIp?: string | undefined;
@@ -108,38 +108,38 @@ declare class ApiKeyService {
108
108
  page?: number;
109
109
  size?: number;
110
110
  sort?: string;
111
- }): Promise<alepha.Page<alepha_orm0.PgStatic<alepha.TObject<{
112
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
113
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
114
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
115
- userId: alepha.TString;
116
- name: alepha.TString;
117
- description: alepha.TOptional<alepha.TString>;
118
- tokenHash: alepha.TString;
119
- tokenPrefix: alepha.TString;
120
- tokenSuffix: alepha.TString;
121
- roles: alepha_orm0.PgAttr<alepha.TArray<alepha.TString>, typeof alepha_orm0.PG_DEFAULT>;
122
- lastUsedAt: alepha.TOptional<alepha.TString>;
123
- lastUsedIp: alepha.TOptional<alepha.TString>;
124
- usageCount: alepha_orm0.PgAttr<alepha.TInteger, typeof alepha_orm0.PG_DEFAULT>;
125
- expiresAt: alepha.TOptional<alepha.TString>;
126
- revokedAt: alepha.TOptional<alepha.TString>;
127
- }>, alepha_orm0.PgRelationMap<alepha.TObject<{
128
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
129
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
130
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
131
- userId: alepha.TString;
132
- name: alepha.TString;
133
- description: alepha.TOptional<alepha.TString>;
134
- tokenHash: alepha.TString;
135
- tokenPrefix: alepha.TString;
136
- tokenSuffix: alepha.TString;
137
- roles: alepha_orm0.PgAttr<alepha.TArray<alepha.TString>, typeof alepha_orm0.PG_DEFAULT>;
138
- lastUsedAt: alepha.TOptional<alepha.TString>;
139
- lastUsedIp: alepha.TOptional<alepha.TString>;
140
- usageCount: alepha_orm0.PgAttr<alepha.TInteger, typeof alepha_orm0.PG_DEFAULT>;
141
- expiresAt: alepha.TOptional<alepha.TString>;
142
- revokedAt: alepha.TOptional<alepha.TString>;
111
+ }): Promise<_$alepha.Page<_$alepha_orm0.PgStatic<_$alepha.TObject<{
112
+ id: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$alepha.TString, typeof _$alepha_orm0.PG_PRIMARY_KEY>, typeof _$alepha_orm0.PG_DEFAULT>;
113
+ createdAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$alepha.TString, typeof _$alepha_orm0.PG_CREATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
114
+ updatedAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$alepha.TString, typeof _$alepha_orm0.PG_UPDATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
115
+ userId: _$alepha.TString;
116
+ name: _$alepha.TString;
117
+ description: _$alepha.TOptional<_$alepha.TString>;
118
+ tokenHash: _$alepha.TString;
119
+ tokenPrefix: _$alepha.TString;
120
+ tokenSuffix: _$alepha.TString;
121
+ roles: _$alepha_orm0.PgAttr<_$alepha.TArray<_$alepha.TString>, typeof _$alepha_orm0.PG_DEFAULT>;
122
+ lastUsedAt: _$alepha.TOptional<_$alepha.TString>;
123
+ lastUsedIp: _$alepha.TOptional<_$alepha.TString>;
124
+ usageCount: _$alepha_orm0.PgAttr<_$alepha.TInteger, typeof _$alepha_orm0.PG_DEFAULT>;
125
+ expiresAt: _$alepha.TOptional<_$alepha.TString>;
126
+ revokedAt: _$alepha.TOptional<_$alepha.TString>;
127
+ }>, _$alepha_orm0.PgRelationMap<_$alepha.TObject<{
128
+ id: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$alepha.TString, typeof _$alepha_orm0.PG_PRIMARY_KEY>, typeof _$alepha_orm0.PG_DEFAULT>;
129
+ createdAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$alepha.TString, typeof _$alepha_orm0.PG_CREATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
130
+ updatedAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$alepha.TString, typeof _$alepha_orm0.PG_UPDATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
131
+ userId: _$alepha.TString;
132
+ name: _$alepha.TString;
133
+ description: _$alepha.TOptional<_$alepha.TString>;
134
+ tokenHash: _$alepha.TString;
135
+ tokenPrefix: _$alepha.TString;
136
+ tokenSuffix: _$alepha.TString;
137
+ roles: _$alepha_orm0.PgAttr<_$alepha.TArray<_$alepha.TString>, typeof _$alepha_orm0.PG_DEFAULT>;
138
+ lastUsedAt: _$alepha.TOptional<_$alepha.TString>;
139
+ lastUsedIp: _$alepha.TOptional<_$alepha.TString>;
140
+ usageCount: _$alepha_orm0.PgAttr<_$alepha.TInteger, typeof _$alepha_orm0.PG_DEFAULT>;
141
+ expiresAt: _$alepha.TOptional<_$alepha.TString>;
142
+ revokedAt: _$alepha.TOptional<_$alepha.TString>;
143
143
  }>>>>>;
144
144
  /**
145
145
  * Get an API key by ID (admin only).
@@ -179,64 +179,64 @@ declare class AdminApiKeyController {
179
179
  /**
180
180
  * Find all API keys with optional filtering.
181
181
  */
182
- readonly findApiKeys: alepha_server0.ActionPrimitiveFn<{
183
- query: alepha.TObject<{
184
- page: alepha.TOptional<alepha.TInteger>;
185
- size: alepha.TOptional<alepha.TInteger>;
186
- sort: alepha.TOptional<alepha.TString>;
187
- userId: alepha.TOptional<alepha.TString>;
188
- includeRevoked: alepha.TOptional<alepha.TBoolean>;
182
+ readonly findApiKeys: _$alepha_server0.ActionPrimitiveFn<{
183
+ query: _$alepha.TObject<{
184
+ page: _$alepha.TOptional<_$alepha.TInteger>;
185
+ size: _$alepha.TOptional<_$alepha.TInteger>;
186
+ sort: _$alepha.TOptional<_$alepha.TString>;
187
+ userId: _$alepha.TOptional<_$alepha.TString>;
188
+ includeRevoked: _$alepha.TOptional<_$alepha.TBoolean>;
189
189
  }>;
190
- response: alepha.TPage<alepha.TObject<{
191
- id: alepha.TString;
192
- userId: alepha.TString;
193
- name: alepha.TString;
194
- description: alepha.TOptional<alepha.TString>;
195
- tokenPrefix: alepha.TString;
196
- tokenSuffix: alepha.TString;
197
- roles: alepha.TArray<alepha.TString>;
198
- createdAt: alepha.TString;
199
- lastUsedAt: alepha.TOptional<alepha.TString>;
200
- lastUsedIp: alepha.TOptional<alepha.TString>;
201
- expiresAt: alepha.TOptional<alepha.TString>;
202
- revokedAt: alepha.TOptional<alepha.TString>;
203
- usageCount: alepha.TInteger;
190
+ response: _$alepha.TPage<_$alepha.TObject<{
191
+ id: _$alepha.TString;
192
+ userId: _$alepha.TString;
193
+ name: _$alepha.TString;
194
+ description: _$alepha.TOptional<_$alepha.TString>;
195
+ tokenPrefix: _$alepha.TString;
196
+ tokenSuffix: _$alepha.TString;
197
+ roles: _$alepha.TArray<_$alepha.TString>;
198
+ createdAt: _$alepha.TString;
199
+ lastUsedAt: _$alepha.TOptional<_$alepha.TString>;
200
+ lastUsedIp: _$alepha.TOptional<_$alepha.TString>;
201
+ expiresAt: _$alepha.TOptional<_$alepha.TString>;
202
+ revokedAt: _$alepha.TOptional<_$alepha.TString>;
203
+ usageCount: _$alepha.TInteger;
204
204
  }>>;
205
205
  }>;
206
206
  /**
207
207
  * Get an API key by ID.
208
208
  */
209
- readonly getApiKey: alepha_server0.ActionPrimitiveFn<{
210
- params: alepha.TObject<{
211
- id: alepha.TString;
209
+ readonly getApiKey: _$alepha_server0.ActionPrimitiveFn<{
210
+ params: _$alepha.TObject<{
211
+ id: _$alepha.TString;
212
212
  }>;
213
- response: alepha.TObject<{
214
- id: alepha.TString;
215
- userId: alepha.TString;
216
- name: alepha.TString;
217
- description: alepha.TOptional<alepha.TString>;
218
- tokenPrefix: alepha.TString;
219
- tokenSuffix: alepha.TString;
220
- roles: alepha.TArray<alepha.TString>;
221
- createdAt: alepha.TString;
222
- lastUsedAt: alepha.TOptional<alepha.TString>;
223
- lastUsedIp: alepha.TOptional<alepha.TString>;
224
- expiresAt: alepha.TOptional<alepha.TString>;
225
- revokedAt: alepha.TOptional<alepha.TString>;
226
- usageCount: alepha.TInteger;
213
+ response: _$alepha.TObject<{
214
+ id: _$alepha.TString;
215
+ userId: _$alepha.TString;
216
+ name: _$alepha.TString;
217
+ description: _$alepha.TOptional<_$alepha.TString>;
218
+ tokenPrefix: _$alepha.TString;
219
+ tokenSuffix: _$alepha.TString;
220
+ roles: _$alepha.TArray<_$alepha.TString>;
221
+ createdAt: _$alepha.TString;
222
+ lastUsedAt: _$alepha.TOptional<_$alepha.TString>;
223
+ lastUsedIp: _$alepha.TOptional<_$alepha.TString>;
224
+ expiresAt: _$alepha.TOptional<_$alepha.TString>;
225
+ revokedAt: _$alepha.TOptional<_$alepha.TString>;
226
+ usageCount: _$alepha.TInteger;
227
227
  }>;
228
228
  }>;
229
229
  /**
230
230
  * Revoke any API key.
231
231
  */
232
- readonly revokeApiKey: alepha_server0.ActionPrimitiveFn<{
233
- params: alepha.TObject<{
234
- id: alepha.TString;
232
+ readonly revokeApiKey: _$alepha_server0.ActionPrimitiveFn<{
233
+ params: _$alepha.TObject<{
234
+ id: _$alepha.TString;
235
235
  }>;
236
- response: alepha.TObject<{
237
- ok: alepha.TBoolean;
238
- id: alepha.TOptional<alepha.TUnion<[alepha.TString, alepha.TInteger]>>;
239
- count: alepha.TOptional<alepha.TNumber>;
236
+ response: _$alepha.TObject<{
237
+ ok: _$alepha.TBoolean;
238
+ id: _$alepha.TOptional<_$alepha.TUnion<[_$alepha.TString, _$alepha.TInteger]>>;
239
+ count: _$alepha.TOptional<_$alepha.TNumber>;
240
240
  }>;
241
241
  }>;
242
242
  }
@@ -254,128 +254,128 @@ declare class ApiKeyController {
254
254
  * Create a new API key for the authenticated user.
255
255
  * The token is only returned once upon creation.
256
256
  */
257
- readonly createApiKey: alepha_server0.ActionPrimitiveFn<{
258
- body: alepha.TObject<{
259
- name: alepha.TString;
260
- description: alepha.TOptional<alepha.TString>;
261
- expiresAt: alepha.TOptional<alepha.TString>;
257
+ readonly createApiKey: _$alepha_server0.ActionPrimitiveFn<{
258
+ body: _$alepha.TObject<{
259
+ name: _$alepha.TString;
260
+ description: _$alepha.TOptional<_$alepha.TString>;
261
+ expiresAt: _$alepha.TOptional<_$alepha.TString>;
262
262
  }>;
263
- response: alepha.TObject<{
264
- id: alepha.TString;
265
- name: alepha.TString;
266
- token: alepha.TString;
267
- tokenSuffix: alepha.TString;
268
- roles: alepha.TArray<alepha.TString>;
269
- createdAt: alepha.TString;
270
- expiresAt: alepha.TOptional<alepha.TString>;
263
+ response: _$alepha.TObject<{
264
+ id: _$alepha.TString;
265
+ name: _$alepha.TString;
266
+ token: _$alepha.TString;
267
+ tokenSuffix: _$alepha.TString;
268
+ roles: _$alepha.TArray<_$alepha.TString>;
269
+ createdAt: _$alepha.TString;
270
+ expiresAt: _$alepha.TOptional<_$alepha.TString>;
271
271
  }>;
272
272
  }>;
273
273
  /**
274
274
  * List all active API keys for the authenticated user.
275
275
  * Does not return the actual tokens.
276
276
  */
277
- readonly listApiKeys: alepha_server0.ActionPrimitiveFn<{
278
- response: alepha.TArray<alepha.TObject<{
279
- id: alepha.TString;
280
- name: alepha.TString;
281
- tokenPrefix: alepha.TString;
282
- tokenSuffix: alepha.TString;
283
- roles: alepha.TArray<alepha.TString>;
284
- createdAt: alepha.TString;
285
- lastUsedAt: alepha.TOptional<alepha.TString>;
286
- expiresAt: alepha.TOptional<alepha.TString>;
287
- usageCount: alepha.TInteger;
277
+ readonly listApiKeys: _$alepha_server0.ActionPrimitiveFn<{
278
+ response: _$alepha.TArray<_$alepha.TObject<{
279
+ id: _$alepha.TString;
280
+ name: _$alepha.TString;
281
+ tokenPrefix: _$alepha.TString;
282
+ tokenSuffix: _$alepha.TString;
283
+ roles: _$alepha.TArray<_$alepha.TString>;
284
+ createdAt: _$alepha.TString;
285
+ lastUsedAt: _$alepha.TOptional<_$alepha.TString>;
286
+ expiresAt: _$alepha.TOptional<_$alepha.TString>;
287
+ usageCount: _$alepha.TInteger;
288
288
  }>>;
289
289
  }>;
290
290
  /**
291
291
  * Revoke an API key. Only the owner can revoke their own keys.
292
292
  */
293
- readonly revokeMyApiKey: alepha_server0.ActionPrimitiveFn<{
294
- params: alepha.TObject<{
295
- id: alepha.TString;
293
+ readonly revokeMyApiKey: _$alepha_server0.ActionPrimitiveFn<{
294
+ params: _$alepha.TObject<{
295
+ id: _$alepha.TString;
296
296
  }>;
297
- response: alepha.TObject<{
298
- ok: alepha.TBoolean;
297
+ response: _$alepha.TObject<{
298
+ ok: _$alepha.TBoolean;
299
299
  }>;
300
300
  }>;
301
301
  }
302
302
  //#endregion
303
303
  //#region ../../src/api/keys/schemas/adminApiKeyQuerySchema.d.ts
304
- declare const adminApiKeyQuerySchema: alepha.TObject<{
305
- page: alepha.TOptional<alepha.TInteger>;
306
- size: alepha.TOptional<alepha.TInteger>;
307
- sort: alepha.TOptional<alepha.TString>;
308
- userId: alepha.TOptional<alepha.TString>;
309
- includeRevoked: alepha.TOptional<alepha.TBoolean>;
304
+ declare const adminApiKeyQuerySchema: _$alepha.TObject<{
305
+ page: _$alepha.TOptional<_$alepha.TInteger>;
306
+ size: _$alepha.TOptional<_$alepha.TInteger>;
307
+ sort: _$alepha.TOptional<_$alepha.TString>;
308
+ userId: _$alepha.TOptional<_$alepha.TString>;
309
+ includeRevoked: _$alepha.TOptional<_$alepha.TBoolean>;
310
310
  }>;
311
311
  //#endregion
312
312
  //#region ../../src/api/keys/schemas/adminApiKeyResourceSchema.d.ts
313
- declare const adminApiKeyResourceSchema: alepha.TObject<{
314
- id: alepha.TString;
315
- userId: alepha.TString;
316
- name: alepha.TString;
317
- description: alepha.TOptional<alepha.TString>;
318
- tokenPrefix: alepha.TString;
319
- tokenSuffix: alepha.TString;
320
- roles: alepha.TArray<alepha.TString>;
321
- createdAt: alepha.TString;
322
- lastUsedAt: alepha.TOptional<alepha.TString>;
323
- lastUsedIp: alepha.TOptional<alepha.TString>;
324
- expiresAt: alepha.TOptional<alepha.TString>;
325
- revokedAt: alepha.TOptional<alepha.TString>;
326
- usageCount: alepha.TInteger;
313
+ declare const adminApiKeyResourceSchema: _$alepha.TObject<{
314
+ id: _$alepha.TString;
315
+ userId: _$alepha.TString;
316
+ name: _$alepha.TString;
317
+ description: _$alepha.TOptional<_$alepha.TString>;
318
+ tokenPrefix: _$alepha.TString;
319
+ tokenSuffix: _$alepha.TString;
320
+ roles: _$alepha.TArray<_$alepha.TString>;
321
+ createdAt: _$alepha.TString;
322
+ lastUsedAt: _$alepha.TOptional<_$alepha.TString>;
323
+ lastUsedIp: _$alepha.TOptional<_$alepha.TString>;
324
+ expiresAt: _$alepha.TOptional<_$alepha.TString>;
325
+ revokedAt: _$alepha.TOptional<_$alepha.TString>;
326
+ usageCount: _$alepha.TInteger;
327
327
  }>;
328
328
  //#endregion
329
329
  //#region ../../src/api/keys/schemas/createApiKeyBodySchema.d.ts
330
- declare const createApiKeyBodySchema: alepha.TObject<{
331
- name: alepha.TString;
332
- description: alepha.TOptional<alepha.TString>;
333
- expiresAt: alepha.TOptional<alepha.TString>;
330
+ declare const createApiKeyBodySchema: _$alepha.TObject<{
331
+ name: _$alepha.TString;
332
+ description: _$alepha.TOptional<_$alepha.TString>;
333
+ expiresAt: _$alepha.TOptional<_$alepha.TString>;
334
334
  }>;
335
335
  //#endregion
336
336
  //#region ../../src/api/keys/schemas/createApiKeyResponseSchema.d.ts
337
- declare const createApiKeyResponseSchema: alepha.TObject<{
338
- id: alepha.TString;
339
- name: alepha.TString;
340
- token: alepha.TString;
341
- tokenSuffix: alepha.TString;
342
- roles: alepha.TArray<alepha.TString>;
343
- createdAt: alepha.TString;
344
- expiresAt: alepha.TOptional<alepha.TString>;
337
+ declare const createApiKeyResponseSchema: _$alepha.TObject<{
338
+ id: _$alepha.TString;
339
+ name: _$alepha.TString;
340
+ token: _$alepha.TString;
341
+ tokenSuffix: _$alepha.TString;
342
+ roles: _$alepha.TArray<_$alepha.TString>;
343
+ createdAt: _$alepha.TString;
344
+ expiresAt: _$alepha.TOptional<_$alepha.TString>;
345
345
  }>;
346
346
  //#endregion
347
347
  //#region ../../src/api/keys/schemas/listApiKeyResponseSchema.d.ts
348
- declare const listApiKeyItemSchema: alepha.TObject<{
349
- id: alepha.TString;
350
- name: alepha.TString;
351
- tokenPrefix: alepha.TString;
352
- tokenSuffix: alepha.TString;
353
- roles: alepha.TArray<alepha.TString>;
354
- createdAt: alepha.TString;
355
- lastUsedAt: alepha.TOptional<alepha.TString>;
356
- expiresAt: alepha.TOptional<alepha.TString>;
357
- usageCount: alepha.TInteger;
348
+ declare const listApiKeyItemSchema: _$alepha.TObject<{
349
+ id: _$alepha.TString;
350
+ name: _$alepha.TString;
351
+ tokenPrefix: _$alepha.TString;
352
+ tokenSuffix: _$alepha.TString;
353
+ roles: _$alepha.TArray<_$alepha.TString>;
354
+ createdAt: _$alepha.TString;
355
+ lastUsedAt: _$alepha.TOptional<_$alepha.TString>;
356
+ expiresAt: _$alepha.TOptional<_$alepha.TString>;
357
+ usageCount: _$alepha.TInteger;
358
358
  }>;
359
- declare const listApiKeyResponseSchema: alepha.TArray<alepha.TObject<{
360
- id: alepha.TString;
361
- name: alepha.TString;
362
- tokenPrefix: alepha.TString;
363
- tokenSuffix: alepha.TString;
364
- roles: alepha.TArray<alepha.TString>;
365
- createdAt: alepha.TString;
366
- lastUsedAt: alepha.TOptional<alepha.TString>;
367
- expiresAt: alepha.TOptional<alepha.TString>;
368
- usageCount: alepha.TInteger;
359
+ declare const listApiKeyResponseSchema: _$alepha.TArray<_$alepha.TObject<{
360
+ id: _$alepha.TString;
361
+ name: _$alepha.TString;
362
+ tokenPrefix: _$alepha.TString;
363
+ tokenSuffix: _$alepha.TString;
364
+ roles: _$alepha.TArray<_$alepha.TString>;
365
+ createdAt: _$alepha.TString;
366
+ lastUsedAt: _$alepha.TOptional<_$alepha.TString>;
367
+ expiresAt: _$alepha.TOptional<_$alepha.TString>;
368
+ usageCount: _$alepha.TInteger;
369
369
  }>>;
370
370
  //#endregion
371
371
  //#region ../../src/api/keys/schemas/revokeApiKeyParamsSchema.d.ts
372
- declare const revokeApiKeyParamsSchema: alepha.TObject<{
373
- id: alepha.TString;
372
+ declare const revokeApiKeyParamsSchema: _$alepha.TObject<{
373
+ id: _$alepha.TString;
374
374
  }>;
375
375
  //#endregion
376
376
  //#region ../../src/api/keys/schemas/revokeApiKeyResponseSchema.d.ts
377
- declare const revokeApiKeyResponseSchema: alepha.TObject<{
378
- ok: alepha.TBoolean;
377
+ declare const revokeApiKeyResponseSchema: _$alepha.TObject<{
378
+ ok: _$alepha.TBoolean;
379
379
  }>;
380
380
  //#endregion
381
381
  //#region ../../src/api/keys/index.d.ts
@@ -403,7 +403,7 @@ declare const revokeApiKeyResponseSchema: alepha.TObject<{
403
403
  *
404
404
  * @module alepha.api.keys
405
405
  */
406
- declare const AlephaApiKeys: alepha.Service<alepha.Module>;
406
+ declare const AlephaApiKeys: _$alepha.Service<_$alepha.Module>;
407
407
  //#endregion
408
408
  export { AdminApiKeyController, AlephaApiKeys, ApiKeyController, ApiKeyEntity, ApiKeyService, adminApiKeyQuerySchema, adminApiKeyResourceSchema, apiKeyEntity, createApiKeyBodySchema, createApiKeyResponseSchema, listApiKeyItemSchema, listApiKeyResponseSchema, revokeApiKeyParamsSchema, revokeApiKeyResponseSchema };
409
409
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/api/keys/entities/apiKeyEntity.ts","../../../src/api/keys/services/ApiKeyService.ts","../../../src/api/keys/controllers/AdminApiKeyController.ts","../../../src/api/keys/controllers/ApiKeyController.ts","../../../src/api/keys/schemas/adminApiKeyQuerySchema.ts","../../../src/api/keys/schemas/adminApiKeyResourceSchema.ts","../../../src/api/keys/schemas/createApiKeyBodySchema.ts","../../../src/api/keys/schemas/createApiKeyResponseSchema.ts","../../../src/api/keys/schemas/listApiKeyResponseSchema.ts","../../../src/api/keys/schemas/revokeApiKeyParamsSchema.ts","../../../src/api/keys/schemas/revokeApiKeyResponseSchema.ts","../../../src/api/keys/index.ts"],"mappings":"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"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/api/keys/entities/apiKeyEntity.ts","../../../src/api/keys/services/ApiKeyService.ts","../../../src/api/keys/controllers/AdminApiKeyController.ts","../../../src/api/keys/controllers/ApiKeyController.ts","../../../src/api/keys/schemas/adminApiKeyQuerySchema.ts","../../../src/api/keys/schemas/adminApiKeyResourceSchema.ts","../../../src/api/keys/schemas/createApiKeyBodySchema.ts","../../../src/api/keys/schemas/createApiKeyResponseSchema.ts","../../../src/api/keys/schemas/listApiKeyResponseSchema.ts","../../../src/api/keys/schemas/revokeApiKeyParamsSchema.ts","../../../src/api/keys/schemas/revokeApiKeyResponseSchema.ts","../../../src/api/keys/index.ts"],"mappings":"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"}