alepha 0.14.1 → 0.14.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 (402) hide show
  1. package/README.md +3 -3
  2. package/dist/api/audits/index.browser.js +5 -5
  3. package/dist/api/audits/index.browser.js.map +1 -1
  4. package/dist/api/audits/index.d.ts +784 -784
  5. package/dist/api/audits/index.d.ts.map +1 -1
  6. package/dist/api/audits/index.js +13 -13
  7. package/dist/api/audits/index.js.map +1 -1
  8. package/dist/api/files/index.browser.js +5 -5
  9. package/dist/api/files/index.browser.js.map +1 -1
  10. package/dist/api/files/index.d.ts +57 -57
  11. package/dist/api/files/index.d.ts.map +1 -1
  12. package/dist/api/files/index.js +71 -71
  13. package/dist/api/files/index.js.map +1 -1
  14. package/dist/api/jobs/index.browser.js +5 -5
  15. package/dist/api/jobs/index.browser.js.map +1 -1
  16. package/dist/api/jobs/index.d.ts +165 -165
  17. package/dist/api/jobs/index.d.ts.map +1 -1
  18. package/dist/api/jobs/index.js +10 -10
  19. package/dist/api/jobs/index.js.map +1 -1
  20. package/dist/api/notifications/index.browser.js +10 -10
  21. package/dist/api/notifications/index.browser.js.map +1 -1
  22. package/dist/api/notifications/index.d.ts +583 -171
  23. package/dist/api/notifications/index.d.ts.map +1 -1
  24. package/dist/api/notifications/index.js +12 -12
  25. package/dist/api/notifications/index.js.map +1 -1
  26. package/dist/api/parameters/index.browser.js +163 -10
  27. package/dist/api/parameters/index.browser.js.map +1 -1
  28. package/dist/api/parameters/index.d.ts +281 -276
  29. package/dist/api/parameters/index.d.ts.map +1 -1
  30. package/dist/api/parameters/index.js +196 -91
  31. package/dist/api/parameters/index.js.map +1 -1
  32. package/dist/api/users/index.browser.js +19 -19
  33. package/dist/api/users/index.browser.js.map +1 -1
  34. package/dist/api/users/index.d.ts +778 -764
  35. package/dist/api/users/index.d.ts.map +1 -1
  36. package/dist/api/users/index.js +831 -596
  37. package/dist/api/users/index.js.map +1 -1
  38. package/dist/api/verifications/index.browser.js +6 -6
  39. package/dist/api/verifications/index.browser.js.map +1 -1
  40. package/dist/api/verifications/index.d.ts +125 -125
  41. package/dist/api/verifications/index.d.ts.map +1 -1
  42. package/dist/api/verifications/index.js +6 -6
  43. package/dist/api/verifications/index.js.map +1 -1
  44. package/dist/batch/index.js.map +1 -1
  45. package/dist/bin/index.d.ts +1 -2
  46. package/dist/bin/index.js +0 -1
  47. package/dist/bin/index.js.map +1 -1
  48. package/dist/cache/core/index.js.map +1 -1
  49. package/dist/cli/index.d.ts +249 -218
  50. package/dist/cli/index.d.ts.map +1 -1
  51. package/dist/cli/index.js +951 -821
  52. package/dist/cli/index.js.map +1 -1
  53. package/dist/command/index.d.ts +40 -0
  54. package/dist/command/index.d.ts.map +1 -1
  55. package/dist/command/index.js +97 -17
  56. package/dist/command/index.js.map +1 -1
  57. package/dist/core/index.browser.js +14 -18
  58. package/dist/core/index.browser.js.map +1 -1
  59. package/dist/core/index.d.ts +29 -0
  60. package/dist/core/index.d.ts.map +1 -1
  61. package/dist/core/index.js +21 -24
  62. package/dist/core/index.js.map +1 -1
  63. package/dist/core/index.native.js +21 -24
  64. package/dist/core/index.native.js.map +1 -1
  65. package/dist/datetime/index.js.map +1 -1
  66. package/dist/fake/index.js +195 -168
  67. package/dist/fake/index.js.map +1 -1
  68. package/dist/file/index.d.ts +8 -0
  69. package/dist/file/index.d.ts.map +1 -1
  70. package/dist/file/index.js +3 -0
  71. package/dist/file/index.js.map +1 -1
  72. package/dist/lock/redis/index.js.map +1 -1
  73. package/dist/logger/index.js.map +1 -1
  74. package/dist/mcp/index.d.ts.map +1 -1
  75. package/dist/mcp/index.js.map +1 -1
  76. package/dist/orm/index.browser.js +26 -5
  77. package/dist/orm/index.browser.js.map +1 -1
  78. package/dist/orm/index.d.ts +146 -121
  79. package/dist/orm/index.d.ts.map +1 -1
  80. package/dist/orm/index.js +49 -24
  81. package/dist/orm/index.js.map +1 -1
  82. package/dist/redis/index.js.map +1 -1
  83. package/dist/retry/index.js.map +1 -1
  84. package/dist/router/index.js.map +1 -1
  85. package/dist/scheduler/index.d.ts +6 -6
  86. package/dist/scheduler/index.js.map +1 -1
  87. package/dist/security/index.d.ts +29 -29
  88. package/dist/security/index.d.ts.map +1 -1
  89. package/dist/security/index.js +1 -1
  90. package/dist/security/index.js.map +1 -1
  91. package/dist/server/auth/index.d.ts +171 -155
  92. package/dist/server/auth/index.d.ts.map +1 -1
  93. package/dist/server/auth/index.js +0 -1
  94. package/dist/server/auth/index.js.map +1 -1
  95. package/dist/server/cache/index.js.map +1 -1
  96. package/dist/server/compress/index.d.ts.map +1 -1
  97. package/dist/server/compress/index.js +2 -0
  98. package/dist/server/compress/index.js.map +1 -1
  99. package/dist/server/cookies/index.browser.js.map +1 -1
  100. package/dist/server/cookies/index.js.map +1 -1
  101. package/dist/server/core/index.browser.js.map +1 -1
  102. package/dist/server/core/index.d.ts.map +1 -1
  103. package/dist/server/core/index.js +1 -1
  104. package/dist/server/core/index.js.map +1 -1
  105. package/dist/server/health/index.d.ts +17 -17
  106. package/dist/server/helmet/index.js.map +1 -1
  107. package/dist/server/links/index.browser.js +22 -6
  108. package/dist/server/links/index.browser.js.map +1 -1
  109. package/dist/server/links/index.d.ts +46 -44
  110. package/dist/server/links/index.d.ts.map +1 -1
  111. package/dist/server/links/index.js +24 -41
  112. package/dist/server/links/index.js.map +1 -1
  113. package/dist/server/multipart/index.js.map +1 -1
  114. package/dist/server/rate-limit/index.js.map +1 -1
  115. package/dist/server/security/index.js.map +1 -1
  116. package/dist/server/swagger/index.d.ts +2 -1
  117. package/dist/server/swagger/index.d.ts.map +1 -1
  118. package/dist/server/swagger/index.js +8 -3
  119. package/dist/server/swagger/index.js.map +1 -1
  120. package/dist/thread/index.js.map +1 -1
  121. package/dist/topic/core/index.js.map +1 -1
  122. package/dist/vite/index.d.ts.map +1 -1
  123. package/dist/vite/index.js +12 -4
  124. package/dist/vite/index.js.map +1 -1
  125. package/dist/websocket/index.browser.js.map +1 -1
  126. package/dist/websocket/index.js.map +1 -1
  127. package/package.json +7 -7
  128. package/src/api/audits/controllers/{AuditController.ts → AdminAuditController.ts} +5 -6
  129. package/src/api/audits/entities/audits.ts +5 -5
  130. package/src/api/audits/index.browser.ts +1 -1
  131. package/src/api/audits/index.ts +3 -3
  132. package/src/api/audits/primitives/$audit.spec.ts +276 -0
  133. package/src/api/audits/services/AuditService.spec.ts +495 -0
  134. package/src/api/files/__tests__/$bucket.spec.ts +91 -0
  135. package/src/api/files/controllers/AdminFileStatsController.spec.ts +166 -0
  136. package/src/api/files/controllers/{StorageStatsController.ts → AdminFileStatsController.ts} +2 -2
  137. package/src/api/files/controllers/FileController.spec.ts +558 -0
  138. package/src/api/files/controllers/FileController.ts +4 -5
  139. package/src/api/files/entities/files.ts +5 -5
  140. package/src/api/files/index.browser.ts +1 -1
  141. package/src/api/files/index.ts +4 -4
  142. package/src/api/files/jobs/FileJobs.spec.ts +52 -0
  143. package/src/api/files/services/FileService.spec.ts +109 -0
  144. package/src/api/jobs/__tests__/JobController.spec.ts +343 -0
  145. package/src/api/jobs/controllers/{JobController.ts → AdminJobController.ts} +2 -2
  146. package/src/api/jobs/entities/jobExecutions.ts +5 -5
  147. package/src/api/jobs/index.ts +3 -3
  148. package/src/api/jobs/primitives/$job.spec.ts +476 -0
  149. package/src/api/notifications/controllers/{NotificationController.ts → AdminNotificationController.ts} +4 -5
  150. package/src/api/notifications/entities/notifications.ts +5 -5
  151. package/src/api/notifications/index.browser.ts +1 -1
  152. package/src/api/notifications/index.ts +4 -4
  153. package/src/api/parameters/controllers/{ConfigController.ts → AdminConfigController.ts} +46 -107
  154. package/src/api/parameters/entities/parameters.ts +7 -17
  155. package/src/api/parameters/index.ts +3 -3
  156. package/src/api/parameters/primitives/$config.spec.ts +356 -0
  157. package/src/api/parameters/schemas/activateConfigBodySchema.ts +12 -0
  158. package/src/api/parameters/schemas/checkScheduledResponseSchema.ts +8 -0
  159. package/src/api/parameters/schemas/configCurrentResponseSchema.ts +13 -0
  160. package/src/api/parameters/schemas/configHistoryResponseSchema.ts +9 -0
  161. package/src/api/parameters/schemas/configNameParamSchema.ts +10 -0
  162. package/src/api/parameters/schemas/configNamesResponseSchema.ts +8 -0
  163. package/src/api/parameters/schemas/configTreeNodeSchema.ts +13 -0
  164. package/src/api/parameters/schemas/configVersionParamSchema.ts +9 -0
  165. package/src/api/parameters/schemas/configVersionResponseSchema.ts +9 -0
  166. package/src/api/parameters/schemas/configsByStatusResponseSchema.ts +9 -0
  167. package/src/api/parameters/schemas/createConfigVersionBodySchema.ts +24 -0
  168. package/src/api/parameters/schemas/index.ts +15 -0
  169. package/src/api/parameters/schemas/parameterResponseSchema.ts +26 -0
  170. package/src/api/parameters/schemas/parameterStatusSchema.ts +13 -0
  171. package/src/api/parameters/schemas/rollbackConfigBodySchema.ts +15 -0
  172. package/src/api/parameters/schemas/statusParamSchema.ts +9 -0
  173. package/src/api/users/__tests__/EmailVerification.spec.ts +369 -0
  174. package/src/api/users/__tests__/PasswordReset.spec.ts +550 -0
  175. package/src/api/users/controllers/AdminIdentityController.spec.ts +365 -0
  176. package/src/api/users/controllers/{IdentityController.ts → AdminIdentityController.ts} +3 -4
  177. package/src/api/users/controllers/AdminSessionController.spec.ts +274 -0
  178. package/src/api/users/controllers/{SessionController.ts → AdminSessionController.ts} +3 -4
  179. package/src/api/users/controllers/AdminUserController.spec.ts +372 -0
  180. package/src/api/users/controllers/AdminUserController.ts +116 -0
  181. package/src/api/users/controllers/UserController.ts +4 -107
  182. package/src/api/users/controllers/UserRealmController.ts +3 -0
  183. package/src/api/users/entities/identities.ts +6 -6
  184. package/src/api/users/entities/sessions.ts +6 -6
  185. package/src/api/users/entities/users.ts +9 -9
  186. package/src/api/users/index.ts +13 -6
  187. package/src/api/users/primitives/$userRealm.ts +13 -8
  188. package/src/api/users/services/CredentialService.spec.ts +509 -0
  189. package/src/api/users/services/CredentialService.ts +46 -0
  190. package/src/api/users/services/IdentityService.ts +15 -0
  191. package/src/api/users/services/RegistrationService.spec.ts +630 -0
  192. package/src/api/users/services/RegistrationService.ts +18 -0
  193. package/src/api/users/services/SessionService.spec.ts +301 -0
  194. package/src/api/users/services/SessionService.ts +110 -1
  195. package/src/api/users/services/UserService.ts +67 -2
  196. package/src/api/verifications/__tests__/CodeVerification.spec.ts +318 -0
  197. package/src/api/verifications/__tests__/LinkVerification.spec.ts +279 -0
  198. package/src/api/verifications/entities/verifications.ts +6 -6
  199. package/src/api/verifications/jobs/VerificationJobs.spec.ts +50 -0
  200. package/src/batch/__tests__/startup-buffering.spec.ts +458 -0
  201. package/src/batch/primitives/$batch.spec.ts +766 -0
  202. package/src/batch/providers/BatchProvider.spec.ts +786 -0
  203. package/src/bin/index.ts +0 -1
  204. package/src/bucket/__tests__/shared.ts +194 -0
  205. package/src/bucket/primitives/$bucket.spec.ts +104 -0
  206. package/src/bucket/providers/FileStorageProvider.spec.ts +13 -0
  207. package/src/bucket/providers/LocalFileStorageProvider.spec.ts +77 -0
  208. package/src/bucket/providers/MemoryFileStorageProvider.spec.ts +82 -0
  209. package/src/cache/core/__tests__/shared.ts +377 -0
  210. package/src/cache/core/primitives/$cache.spec.ts +111 -0
  211. package/src/cache/redis/__tests__/cache-redis.spec.ts +70 -0
  212. package/src/cli/apps/AlephaCli.ts +54 -16
  213. package/src/cli/apps/AlephaPackageBuilderCli.ts +2 -1
  214. package/src/cli/assets/appRouterTs.ts +1 -1
  215. package/src/cli/commands/{ViteCommands.ts → build.ts} +2 -105
  216. package/src/cli/commands/clean.ts +14 -0
  217. package/src/cli/commands/{DrizzleCommands.ts → db.ts} +10 -117
  218. package/src/cli/commands/{DeployCommands.ts → deploy.ts} +1 -1
  219. package/src/cli/commands/dev.ts +69 -0
  220. package/src/cli/commands/format.ts +17 -0
  221. package/src/cli/commands/gen/changelog.spec.ts +315 -0
  222. package/src/cli/commands/{ChangelogCommands.ts → gen/changelog.ts} +16 -31
  223. package/src/cli/commands/gen/openapi.ts +71 -0
  224. package/src/cli/commands/gen.ts +18 -0
  225. package/src/cli/commands/{CoreCommands.ts → init.ts} +4 -40
  226. package/src/cli/commands/lint.ts +17 -0
  227. package/src/cli/commands/root.ts +41 -0
  228. package/src/cli/commands/run.ts +24 -0
  229. package/src/cli/commands/test.ts +42 -0
  230. package/src/cli/commands/typecheck.ts +24 -0
  231. package/src/cli/commands/{VerifyCommands.ts → verify.ts} +1 -13
  232. package/src/cli/defineConfig.ts +10 -1
  233. package/src/cli/index.ts +17 -7
  234. package/src/cli/services/AlephaCliUtils.ts +71 -32
  235. package/src/cli/services/GitMessageParser.ts +1 -1
  236. package/src/command/helpers/Asker.spec.ts +127 -0
  237. package/src/command/helpers/Runner.spec.ts +126 -0
  238. package/src/command/primitives/$command.spec.ts +1588 -0
  239. package/src/command/providers/CliProvider.ts +74 -24
  240. package/src/core/Alepha.ts +52 -4
  241. package/src/core/__tests__/Alepha-emit.spec.ts +22 -0
  242. package/src/core/__tests__/Alepha-graph.spec.ts +93 -0
  243. package/src/core/__tests__/Alepha-has.spec.ts +41 -0
  244. package/src/core/__tests__/Alepha-inject.spec.ts +93 -0
  245. package/src/core/__tests__/Alepha-register.spec.ts +81 -0
  246. package/src/core/__tests__/Alepha-start.spec.ts +176 -0
  247. package/src/core/__tests__/Alepha-with.spec.ts +14 -0
  248. package/src/core/__tests__/TypeBox-usecases.spec.ts +35 -0
  249. package/src/core/__tests__/TypeBoxLocale.spec.ts +15 -0
  250. package/src/core/__tests__/descriptor.spec.ts +34 -0
  251. package/src/core/__tests__/fixtures/A.ts +5 -0
  252. package/src/core/__tests__/pagination.spec.ts +77 -0
  253. package/src/core/helpers/jsonSchemaToTypeBox.ts +2 -2
  254. package/src/core/primitives/$atom.spec.ts +43 -0
  255. package/src/core/primitives/$hook.spec.ts +130 -0
  256. package/src/core/primitives/$inject.spec.ts +175 -0
  257. package/src/core/primitives/$module.spec.ts +115 -0
  258. package/src/core/providers/CodecManager.spec.ts +740 -0
  259. package/src/core/providers/EventManager.spec.ts +762 -0
  260. package/src/core/providers/EventManager.ts +4 -0
  261. package/src/core/providers/StateManager.spec.ts +365 -0
  262. package/src/core/providers/TypeProvider.spec.ts +1607 -0
  263. package/src/core/providers/TypeProvider.ts +20 -26
  264. package/src/datetime/primitives/$interval.spec.ts +103 -0
  265. package/src/datetime/providers/DateTimeProvider.spec.ts +86 -0
  266. package/src/email/primitives/$email.spec.ts +175 -0
  267. package/src/email/providers/LocalEmailProvider.spec.ts +341 -0
  268. package/src/fake/__tests__/keyName.example.ts +40 -0
  269. package/src/fake/__tests__/keyName.spec.ts +152 -0
  270. package/src/fake/__tests__/module.example.ts +32 -0
  271. package/src/fake/providers/FakeProvider.spec.ts +438 -0
  272. package/src/file/providers/FileSystemProvider.ts +8 -0
  273. package/src/file/providers/NodeFileSystemProvider.spec.ts +418 -0
  274. package/src/file/providers/NodeFileSystemProvider.ts +5 -0
  275. package/src/file/services/FileDetector.spec.ts +591 -0
  276. package/src/lock/core/__tests__/shared.ts +190 -0
  277. package/src/lock/core/providers/MemoryLockProvider.spec.ts +25 -0
  278. package/src/lock/redis/providers/RedisLockProvider.spec.ts +25 -0
  279. package/src/logger/__tests__/SimpleFormatterProvider.spec.ts +109 -0
  280. package/src/logger/primitives/$logger.spec.ts +108 -0
  281. package/src/logger/services/Logger.spec.ts +295 -0
  282. package/src/mcp/__tests__/errors.spec.ts +175 -0
  283. package/src/mcp/__tests__/integration.spec.ts +450 -0
  284. package/src/mcp/helpers/jsonrpc.spec.ts +380 -0
  285. package/src/mcp/primitives/$prompt.spec.ts +468 -0
  286. package/src/mcp/primitives/$resource.spec.ts +390 -0
  287. package/src/mcp/primitives/$tool.spec.ts +406 -0
  288. package/src/mcp/providers/McpServerProvider.spec.ts +797 -0
  289. package/src/orm/__tests__/$repository-crud.spec.ts +276 -0
  290. package/src/orm/__tests__/$repository-hooks.spec.ts +325 -0
  291. package/src/orm/__tests__/$repository-orderBy.spec.ts +128 -0
  292. package/src/orm/__tests__/$repository-pagination-sort.spec.ts +149 -0
  293. package/src/orm/__tests__/$repository-save.spec.ts +37 -0
  294. package/src/orm/__tests__/ModelBuilder-integration.spec.ts +490 -0
  295. package/src/orm/__tests__/ModelBuilder-types.spec.ts +186 -0
  296. package/src/orm/__tests__/PostgresProvider.spec.ts +46 -0
  297. package/src/orm/__tests__/delete-returning.spec.ts +256 -0
  298. package/src/orm/__tests__/deletedAt.spec.ts +80 -0
  299. package/src/orm/__tests__/enums.spec.ts +315 -0
  300. package/src/orm/__tests__/execute.spec.ts +72 -0
  301. package/src/orm/__tests__/fixtures/bigEntitySchema.ts +65 -0
  302. package/src/orm/__tests__/fixtures/userEntitySchema.ts +27 -0
  303. package/src/orm/__tests__/joins.spec.ts +1114 -0
  304. package/src/orm/__tests__/page.spec.ts +287 -0
  305. package/src/orm/__tests__/primaryKey.spec.ts +87 -0
  306. package/src/orm/__tests__/query-date-encoding.spec.ts +402 -0
  307. package/src/orm/__tests__/ref-auto-onDelete.spec.ts +156 -0
  308. package/src/orm/__tests__/references.spec.ts +102 -0
  309. package/src/orm/__tests__/security.spec.ts +710 -0
  310. package/src/orm/__tests__/sqlite.spec.ts +111 -0
  311. package/src/orm/__tests__/string-operators.spec.ts +429 -0
  312. package/src/orm/__tests__/timestamps.spec.ts +388 -0
  313. package/src/orm/__tests__/validation.spec.ts +183 -0
  314. package/src/orm/__tests__/version.spec.ts +64 -0
  315. package/src/orm/helpers/parseQueryString.spec.ts +196 -0
  316. package/src/orm/index.browser.ts +1 -1
  317. package/src/orm/index.ts +10 -6
  318. package/src/orm/primitives/$repository.spec.ts +137 -0
  319. package/src/orm/primitives/$sequence.spec.ts +29 -0
  320. package/src/orm/primitives/$transaction.spec.ts +82 -0
  321. package/src/orm/providers/{PostgresTypeProvider.ts → DatabaseTypeProvider.ts} +25 -3
  322. package/src/orm/providers/drivers/BunPostgresProvider.ts +3 -3
  323. package/src/orm/providers/drivers/BunSqliteProvider.ts +1 -1
  324. package/src/orm/providers/drivers/CloudflareD1Provider.ts +1 -1
  325. package/src/orm/providers/drivers/DatabaseProvider.ts +1 -1
  326. package/src/orm/providers/drivers/NodePostgresProvider.ts +3 -3
  327. package/src/orm/providers/drivers/NodeSqliteProvider.ts +1 -1
  328. package/src/orm/providers/drivers/PglitePostgresProvider.ts +2 -2
  329. package/src/orm/services/ModelBuilder.spec.ts +575 -0
  330. package/src/orm/services/Repository.spec.ts +137 -0
  331. package/src/queue/core/__tests__/shared.ts +143 -0
  332. package/src/queue/core/providers/MemoryQueueProvider.spec.ts +23 -0
  333. package/src/queue/core/providers/WorkerProvider.spec.ts +378 -0
  334. package/src/queue/redis/providers/RedisQueueProvider.spec.ts +23 -0
  335. package/src/redis/__tests__/redis.spec.ts +58 -0
  336. package/src/retry/primitives/$retry.spec.ts +234 -0
  337. package/src/retry/providers/RetryProvider.spec.ts +438 -0
  338. package/src/router/__tests__/match.spec.ts +252 -0
  339. package/src/router/providers/RouterProvider.spec.ts +197 -0
  340. package/src/scheduler/__tests__/$scheduler-cron.spec.ts +25 -0
  341. package/src/scheduler/__tests__/$scheduler-interval.spec.ts +25 -0
  342. package/src/scheduler/__tests__/shared.ts +77 -0
  343. package/src/security/__tests__/bug-1-wildcard-after-start.spec.ts +229 -0
  344. package/src/security/__tests__/bug-2-password-validation.spec.ts +245 -0
  345. package/src/security/__tests__/bug-3-regex-vulnerability.spec.ts +407 -0
  346. package/src/security/__tests__/bug-4-oauth2-validation.spec.ts +439 -0
  347. package/src/security/__tests__/multi-layer-permissions.spec.ts +522 -0
  348. package/src/security/primitives/$permission.spec.ts +30 -0
  349. package/src/security/primitives/$permission.ts +2 -2
  350. package/src/security/primitives/$realm.spec.ts +101 -0
  351. package/src/security/primitives/$role.spec.ts +52 -0
  352. package/src/security/primitives/$serviceAccount.spec.ts +61 -0
  353. package/src/security/providers/SecurityProvider.spec.ts +350 -0
  354. package/src/server/auth/providers/ServerAuthProvider.ts +0 -2
  355. package/src/server/cache/providers/ServerCacheProvider.spec.ts +942 -0
  356. package/src/server/compress/providers/ServerCompressProvider.spec.ts +31 -0
  357. package/src/server/compress/providers/ServerCompressProvider.ts +2 -0
  358. package/src/server/cookies/providers/ServerCookiesProvider.spec.ts +253 -0
  359. package/src/server/core/__tests__/ServerRouterProvider-getRoutes.spec.ts +334 -0
  360. package/src/server/core/__tests__/ServerRouterProvider-requestId.spec.ts +129 -0
  361. package/src/server/core/primitives/$action.spec.ts +191 -0
  362. package/src/server/core/primitives/$route.spec.ts +65 -0
  363. package/src/server/core/providers/ServerBodyParserProvider.spec.ts +93 -0
  364. package/src/server/core/providers/ServerLoggerProvider.spec.ts +100 -0
  365. package/src/server/core/providers/ServerProvider.ts +3 -1
  366. package/src/server/core/services/HttpClient.spec.ts +123 -0
  367. package/src/server/core/services/UserAgentParser.spec.ts +111 -0
  368. package/src/server/cors/providers/ServerCorsProvider.spec.ts +481 -0
  369. package/src/server/health/providers/ServerHealthProvider.spec.ts +22 -0
  370. package/src/server/helmet/providers/ServerHelmetProvider.spec.ts +105 -0
  371. package/src/server/links/__tests__/$action.spec.ts +238 -0
  372. package/src/server/links/__tests__/fixtures/CrudApp.ts +122 -0
  373. package/src/server/links/__tests__/requestId.spec.ts +120 -0
  374. package/src/server/links/primitives/$remote.spec.ts +228 -0
  375. package/src/server/links/providers/LinkProvider.spec.ts +54 -0
  376. package/src/server/links/providers/LinkProvider.ts +49 -3
  377. package/src/server/links/providers/ServerLinksProvider.ts +1 -53
  378. package/src/server/links/schemas/apiLinksResponseSchema.ts +7 -0
  379. package/src/server/metrics/providers/ServerMetricsProvider.spec.ts +25 -0
  380. package/src/server/multipart/providers/ServerMultipartProvider.spec.ts +528 -0
  381. package/src/server/proxy/primitives/$proxy.spec.ts +87 -0
  382. package/src/server/rate-limit/__tests__/ActionRateLimit.spec.ts +211 -0
  383. package/src/server/rate-limit/providers/ServerRateLimitProvider.spec.ts +344 -0
  384. package/src/server/security/__tests__/BasicAuth.spec.ts +684 -0
  385. package/src/server/security/__tests__/ServerSecurityProvider-realm.spec.ts +388 -0
  386. package/src/server/security/providers/ServerSecurityProvider.spec.ts +123 -0
  387. package/src/server/static/primitives/$serve.spec.ts +193 -0
  388. package/src/server/swagger/__tests__/ui.spec.ts +52 -0
  389. package/src/server/swagger/primitives/$swagger.spec.ts +193 -0
  390. package/src/server/swagger/providers/ServerSwaggerProvider.ts +18 -8
  391. package/src/sms/primitives/$sms.spec.ts +165 -0
  392. package/src/sms/providers/LocalSmsProvider.spec.ts +224 -0
  393. package/src/sms/providers/MemorySmsProvider.spec.ts +193 -0
  394. package/src/thread/primitives/$thread.spec.ts +186 -0
  395. package/src/topic/core/__tests__/shared.ts +144 -0
  396. package/src/topic/core/providers/MemoryTopicProvider.spec.ts +23 -0
  397. package/src/topic/redis/providers/RedisTopicProvider.spec.ts +23 -0
  398. package/src/vite/plugins/viteAlephaDev.ts +16 -4
  399. package/src/vite/tasks/runAlepha.ts +7 -1
  400. package/src/websocket/__tests__/$websocket-new.spec.ts +195 -0
  401. package/src/websocket/primitives/$channel.spec.ts +30 -0
  402. package/src/cli/commands/BiomeCommands.ts +0 -29
@@ -1,4 +1,4 @@
1
- import * as alepha317 from "alepha";
1
+ import * as alepha624 from "alepha";
2
2
  import { KIND, Primitive, Static, TNull, TObject, TOptional, TSchema, TUnion } from "alepha";
3
3
  import * as alepha_server0 from "alepha/server";
4
4
  import { DateTimeProvider } from "alepha/datetime";
@@ -21,16 +21,14 @@ import "drizzle-orm/postgres-js";
21
21
  import "postgres";
22
22
  import { UserAccount } from "alepha/security";
23
23
 
24
- //#region ../../src/api/parameters/entities/parameters.d.ts
24
+ //#region ../../src/api/parameters/schemas/parameterStatusSchema.d.ts
25
25
  /**
26
- * Parameter status values.
27
- *
28
- * - EXPIRED: Past version, no longer active
29
- * - CURRENT: Currently active version
30
- * - NEXT: Scheduled to become active (closest future date)
31
- * - FUTURE: Scheduled for activation after NEXT
26
+ * Parameter status enum schema.
32
27
  */
33
- type ParameterStatus = "expired" | "current" | "next" | "future";
28
+ declare const parameterStatusSchema: alepha624.TUnsafe<"expired" | "current" | "next" | "future">;
29
+ type ParameterStatus = Static<typeof parameterStatusSchema>;
30
+ //#endregion
31
+ //#region ../../src/api/parameters/entities/parameters.d.ts
34
32
  /**
35
33
  * Configuration parameter entity for versioned configuration management.
36
34
  *
@@ -40,67 +38,67 @@ type ParameterStatus = "expired" | "current" | "next" | "future";
40
38
  * - Activation scheduling
41
39
  * - Audit trail (creator info)
42
40
  */
43
- declare const parameters: alepha_orm14.EntityPrimitive<alepha317.TObject<{
44
- id: alepha_orm14.PgAttr<alepha_orm14.PgAttr<alepha317.TString, typeof alepha_orm14.PG_PRIMARY_KEY>, typeof alepha_orm14.PG_DEFAULT>;
45
- createdAt: alepha_orm14.PgAttr<alepha_orm14.PgAttr<alepha317.TString, typeof alepha_orm14.PG_CREATED_AT>, typeof alepha_orm14.PG_DEFAULT>;
46
- updatedAt: alepha_orm14.PgAttr<alepha_orm14.PgAttr<alepha317.TString, typeof alepha_orm14.PG_UPDATED_AT>, typeof alepha_orm14.PG_DEFAULT>;
41
+ declare const parameters: alepha_orm14.EntityPrimitive<alepha624.TObject<{
42
+ id: alepha_orm14.PgAttr<alepha_orm14.PgAttr<alepha624.TString, typeof alepha_orm14.PG_PRIMARY_KEY>, typeof alepha_orm14.PG_DEFAULT>;
43
+ createdAt: alepha_orm14.PgAttr<alepha_orm14.PgAttr<alepha624.TString, typeof alepha_orm14.PG_CREATED_AT>, typeof alepha_orm14.PG_DEFAULT>;
44
+ updatedAt: alepha_orm14.PgAttr<alepha_orm14.PgAttr<alepha624.TString, typeof alepha_orm14.PG_UPDATED_AT>, typeof alepha_orm14.PG_DEFAULT>;
47
45
  /**
48
46
  * Configuration name using dot notation for tree hierarchy.
49
47
  * Examples: "app.features", "app.pricing.tiers", "system.limits"
50
48
  */
51
- name: alepha317.TString;
49
+ name: alepha624.TString;
52
50
  /**
53
51
  * The configuration content as JSON.
54
52
  */
55
- content: alepha317.TRecord<string, alepha317.TAny>;
53
+ content: alepha624.TRecord<string, alepha624.TAny>;
56
54
  /**
57
55
  * Schema version hash for detecting schema changes.
58
56
  * Used for auto-migration when schema evolves.
59
57
  */
60
- schemaHash: alepha317.TString;
58
+ schemaHash: alepha624.TString;
61
59
  /**
62
60
  * Current status of this parameter version.
63
61
  */
64
- status: alepha_orm14.PgAttr<alepha317.TUnsafe<"expired" | "current" | "next" | "future">, typeof alepha_orm14.PG_DEFAULT>;
62
+ status: alepha_orm14.PgAttr<alepha624.TUnsafe<"expired" | "current" | "next" | "future">, typeof alepha_orm14.PG_DEFAULT>;
65
63
  /**
66
64
  * When this version should become active.
67
65
  * Default is immediate (now).
68
66
  */
69
- activationDate: alepha317.TString;
67
+ activationDate: alepha624.TString;
70
68
  /**
71
69
  * When this version was deactivated (became expired).
72
70
  * Null if still active or scheduled.
73
71
  */
74
- expiredAt: alepha317.TOptional<alepha317.TString>;
72
+ expiredAt: alepha624.TOptional<alepha624.TString>;
75
73
  /**
76
74
  * Version number for this configuration.
77
75
  * Auto-incremented per config name.
78
76
  */
79
- version: alepha317.TInteger;
77
+ version: alepha624.TInteger;
80
78
  /**
81
79
  * Optional description of changes in this version.
82
80
  */
83
- changeDescription: alepha317.TOptional<alepha317.TString>;
81
+ changeDescription: alepha624.TOptional<alepha624.TString>;
84
82
  /**
85
83
  * Optional tags for filtering/categorization.
86
84
  */
87
- tags: alepha317.TOptional<alepha317.TArray<alepha317.TString>>;
85
+ tags: alepha624.TOptional<alepha624.TArray<alepha624.TString>>;
88
86
  /**
89
87
  * Creator user ID (if available).
90
88
  */
91
- creatorId: alepha317.TOptional<alepha317.TString>;
89
+ creatorId: alepha624.TOptional<alepha624.TString>;
92
90
  /**
93
91
  * Creator display name for audit trail.
94
92
  */
95
- creatorName: alepha317.TOptional<alepha317.TString>;
93
+ creatorName: alepha624.TOptional<alepha624.TString>;
96
94
  /**
97
95
  * Previous content before this change (for rollback reference).
98
96
  */
99
- previousContent: alepha317.TOptional<alepha317.TRecord<string, alepha317.TAny>>;
97
+ previousContent: alepha624.TOptional<alepha624.TRecord<string, alepha624.TAny>>;
100
98
  /**
101
99
  * Migration log if schema changed.
102
100
  */
103
- migrationLog: alepha317.TOptional<alepha317.TString>;
101
+ migrationLog: alepha624.TOptional<alepha624.TString>;
104
102
  }>>;
105
103
  type Parameter = Static<typeof parameters.schema>;
106
104
  type ParameterInsert = Omit<Parameter, "id" | "createdAt" | "updatedAt">;
@@ -325,7 +323,7 @@ type PgAttr<T extends TSchema, TAttr extends PgSymbolKeys> = T & { [K in TAttr]:
325
323
  declare module "alepha" {
326
324
  interface Env extends Partial<Static<typeof envSchema$1>> {}
327
325
  }
328
- declare const envSchema$1: alepha317.TObject<{
326
+ declare const envSchema$1: alepha624.TObject<{
329
327
  /**
330
328
  * Main configuration for database connection.
331
329
  * Accept a string in the format of a Postgres connection URL.
@@ -333,11 +331,11 @@ declare const envSchema$1: alepha317.TObject<{
333
331
  * or
334
332
  * Example: postgres://user:password@localhost:5432/database?sslmode=require
335
333
  */
336
- DATABASE_URL: alepha317.TOptional<alepha317.TString>;
334
+ DATABASE_URL: alepha624.TOptional<alepha624.TString>;
337
335
  /**
338
336
  * In addition to the DATABASE_URL, you can specify the postgres schema name.
339
337
  */
340
- POSTGRES_SCHEMA: alepha317.TOptional<alepha317.TString>;
338
+ POSTGRES_SCHEMA: alepha624.TOptional<alepha624.TString>;
341
339
  }>;
342
340
  /**
343
341
  * Bun PostgreSQL provider using Drizzle ORM with Bun's native SQL client.
@@ -362,8 +360,8 @@ declare const envSchema$1: alepha317.TObject<{
362
360
  /**
363
361
  * Configuration options for the Bun SQLite database provider.
364
362
  */
365
- declare const bunSqliteOptions: alepha317.Atom<alepha317.TObject<{
366
- path: alepha317.TOptional<alepha317.TString>;
363
+ declare const bunSqliteOptions: alepha624.Atom<alepha624.TObject<{
364
+ path: alepha624.TOptional<alepha624.TString>;
367
365
  }>, "alepha.postgres.bun-sqlite.options">;
368
366
  type BunSqliteProviderOptions = Static<typeof bunSqliteOptions.schema>;
369
367
  declare module "alepha" {
@@ -400,7 +398,7 @@ declare module "alepha" {
400
398
  declare module "alepha" {
401
399
  interface Env extends Partial<Static<typeof envSchema>> {}
402
400
  }
403
- declare const envSchema: alepha317.TObject<{
401
+ declare const envSchema: alepha624.TObject<{
404
402
  /**
405
403
  * Main configuration for database connection.
406
404
  * Accept a string in the format of a Postgres connection URL.
@@ -408,21 +406,21 @@ declare const envSchema: alepha317.TObject<{
408
406
  * or
409
407
  * Example: postgres://user:password@localhost:5432/database?sslmode=require
410
408
  */
411
- DATABASE_URL: alepha317.TOptional<alepha317.TString>;
409
+ DATABASE_URL: alepha624.TOptional<alepha624.TString>;
412
410
  /**
413
411
  * In addition to the DATABASE_URL, you can specify the postgres schema name.
414
412
  *
415
413
  * It will monkey patch drizzle tables.
416
414
  */
417
- POSTGRES_SCHEMA: alepha317.TOptional<alepha317.TString>;
415
+ POSTGRES_SCHEMA: alepha624.TOptional<alepha624.TString>;
418
416
  }>;
419
417
  //#endregion
420
418
  //#region ../../src/orm/providers/drivers/NodeSqliteProvider.d.ts
421
419
  /**
422
420
  * Configuration options for the Node.js SQLite database provider.
423
421
  */
424
- declare const nodeSqliteOptions: alepha317.Atom<alepha317.TObject<{
425
- path: alepha317.TOptional<alepha317.TString>;
422
+ declare const nodeSqliteOptions: alepha624.Atom<alepha624.TObject<{
423
+ path: alepha624.TOptional<alepha624.TString>;
426
424
  }>, "alepha.postgres.node-sqlite.options">;
427
425
  type NodeSqliteProviderOptions = Static<typeof nodeSqliteOptions.schema>;
428
426
  declare module "alepha" {
@@ -627,46 +625,46 @@ declare class ConfigPrimitive<T extends TObject> extends Primitive<ConfigPrimiti
627
625
  creatorId?: string | undefined;
628
626
  creatorName?: string | undefined;
629
627
  previousContent?: typebox0.StaticRecord<[], "Decode", {}, {
630
- id: PgAttr<PgAttr<alepha317.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
631
- createdAt: PgAttr<PgAttr<alepha317.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
632
- updatedAt: PgAttr<PgAttr<alepha317.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
633
- name: alepha317.TString;
634
- content: alepha317.TRecord<string, alepha317.TAny>;
635
- schemaHash: alepha317.TString;
636
- status: PgAttr<alepha317.TUnsafe<"expired" | "current" | "next" | "future">, typeof PG_DEFAULT>;
637
- activationDate: alepha317.TString;
638
- expiredAt: alepha317.TOptional<alepha317.TString>;
639
- version: alepha317.TInteger;
640
- changeDescription: alepha317.TOptional<alepha317.TString>;
641
- tags: alepha317.TOptional<alepha317.TArray<alepha317.TString>>;
642
- creatorId: alepha317.TOptional<alepha317.TString>;
643
- creatorName: alepha317.TOptional<alepha317.TString>;
644
- previousContent: alepha317.TOptional<alepha317.TRecord<string, alepha317.TAny>>;
645
- migrationLog: alepha317.TOptional<alepha317.TString>;
646
- }, string, alepha317.TAny> | undefined;
628
+ id: PgAttr<PgAttr<alepha624.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
629
+ createdAt: PgAttr<PgAttr<alepha624.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
630
+ updatedAt: PgAttr<PgAttr<alepha624.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
631
+ name: alepha624.TString;
632
+ content: alepha624.TRecord<string, alepha624.TAny>;
633
+ schemaHash: alepha624.TString;
634
+ status: PgAttr<alepha624.TUnsafe<"expired" | "current" | "next" | "future">, typeof PG_DEFAULT>;
635
+ activationDate: alepha624.TString;
636
+ expiredAt: alepha624.TOptional<alepha624.TString>;
637
+ version: alepha624.TInteger;
638
+ changeDescription: alepha624.TOptional<alepha624.TString>;
639
+ tags: alepha624.TOptional<alepha624.TArray<alepha624.TString>>;
640
+ creatorId: alepha624.TOptional<alepha624.TString>;
641
+ creatorName: alepha624.TOptional<alepha624.TString>;
642
+ previousContent: alepha624.TOptional<alepha624.TRecord<string, alepha624.TAny>>;
643
+ migrationLog: alepha624.TOptional<alepha624.TString>;
644
+ }, string, alepha624.TAny> | undefined;
647
645
  migrationLog?: string | undefined;
648
646
  id: string;
649
647
  createdAt: string;
650
648
  updatedAt: string;
651
649
  name: string;
652
650
  content: typebox0.StaticRecord<[], "Decode", {}, {
653
- id: PgAttr<PgAttr<alepha317.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
654
- createdAt: PgAttr<PgAttr<alepha317.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
655
- updatedAt: PgAttr<PgAttr<alepha317.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
656
- name: alepha317.TString;
657
- content: alepha317.TRecord<string, alepha317.TAny>;
658
- schemaHash: alepha317.TString;
659
- status: PgAttr<alepha317.TUnsafe<"expired" | "current" | "next" | "future">, typeof PG_DEFAULT>;
660
- activationDate: alepha317.TString;
661
- expiredAt: alepha317.TOptional<alepha317.TString>;
662
- version: alepha317.TInteger;
663
- changeDescription: alepha317.TOptional<alepha317.TString>;
664
- tags: alepha317.TOptional<alepha317.TArray<alepha317.TString>>;
665
- creatorId: alepha317.TOptional<alepha317.TString>;
666
- creatorName: alepha317.TOptional<alepha317.TString>;
667
- previousContent: alepha317.TOptional<alepha317.TRecord<string, alepha317.TAny>>;
668
- migrationLog: alepha317.TOptional<alepha317.TString>;
669
- }, string, alepha317.TAny>;
651
+ id: PgAttr<PgAttr<alepha624.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
652
+ createdAt: PgAttr<PgAttr<alepha624.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
653
+ updatedAt: PgAttr<PgAttr<alepha624.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
654
+ name: alepha624.TString;
655
+ content: alepha624.TRecord<string, alepha624.TAny>;
656
+ schemaHash: alepha624.TString;
657
+ status: PgAttr<alepha624.TUnsafe<"expired" | "current" | "next" | "future">, typeof PG_DEFAULT>;
658
+ activationDate: alepha624.TString;
659
+ expiredAt: alepha624.TOptional<alepha624.TString>;
660
+ version: alepha624.TInteger;
661
+ changeDescription: alepha624.TOptional<alepha624.TString>;
662
+ tags: alepha624.TOptional<alepha624.TArray<alepha624.TString>>;
663
+ creatorId: alepha624.TOptional<alepha624.TString>;
664
+ creatorName: alepha624.TOptional<alepha624.TString>;
665
+ previousContent: alepha624.TOptional<alepha624.TRecord<string, alepha624.TAny>>;
666
+ migrationLog: alepha624.TOptional<alepha624.TString>;
667
+ }, string, alepha624.TAny>;
670
668
  schemaHash: string;
671
669
  status: "expired" | "current" | "next" | "future";
672
670
  activationDate: string;
@@ -679,7 +677,7 @@ declare class ConfigPrimitive<T extends TObject> extends Primitive<ConfigPrimiti
679
677
  /**
680
678
  * Hook to load initial value from database on start.
681
679
  */
682
- protected readonly onStart: alepha317.HookPrimitive<"start">;
680
+ protected readonly onStart: alepha624.HookPrimitive<"start">;
683
681
  /**
684
682
  * Called after primitive creation to initialize.
685
683
  */
@@ -742,22 +740,22 @@ declare class ConfigStore {
742
740
  protected readonly log: alepha_logger0.Logger;
743
741
  protected readonly dateTimeProvider: DateTimeProvider;
744
742
  protected readonly repo: alepha_orm14.Repository<TObject<{
745
- id: alepha_orm14.PgAttr<alepha_orm14.PgAttr<alepha317.TString, typeof alepha_orm14.PG_PRIMARY_KEY>, typeof alepha_orm14.PG_DEFAULT>;
746
- createdAt: alepha_orm14.PgAttr<alepha_orm14.PgAttr<alepha317.TString, typeof alepha_orm14.PG_CREATED_AT>, typeof alepha_orm14.PG_DEFAULT>;
747
- updatedAt: alepha_orm14.PgAttr<alepha_orm14.PgAttr<alepha317.TString, typeof alepha_orm14.PG_UPDATED_AT>, typeof alepha_orm14.PG_DEFAULT>;
748
- name: alepha317.TString;
749
- content: alepha317.TRecord<string, alepha317.TAny>;
750
- schemaHash: alepha317.TString;
751
- status: alepha_orm14.PgAttr<alepha317.TUnsafe<"expired" | "current" | "next" | "future">, typeof alepha_orm14.PG_DEFAULT>;
752
- activationDate: alepha317.TString;
753
- expiredAt: alepha317.TOptional<alepha317.TString>;
754
- version: alepha317.TInteger;
755
- changeDescription: alepha317.TOptional<alepha317.TString>;
756
- tags: alepha317.TOptional<alepha317.TArray<alepha317.TString>>;
757
- creatorId: alepha317.TOptional<alepha317.TString>;
758
- creatorName: alepha317.TOptional<alepha317.TString>;
759
- previousContent: alepha317.TOptional<alepha317.TRecord<string, alepha317.TAny>>;
760
- migrationLog: alepha317.TOptional<alepha317.TString>;
743
+ id: alepha_orm14.PgAttr<alepha_orm14.PgAttr<alepha624.TString, typeof alepha_orm14.PG_PRIMARY_KEY>, typeof alepha_orm14.PG_DEFAULT>;
744
+ createdAt: alepha_orm14.PgAttr<alepha_orm14.PgAttr<alepha624.TString, typeof alepha_orm14.PG_CREATED_AT>, typeof alepha_orm14.PG_DEFAULT>;
745
+ updatedAt: alepha_orm14.PgAttr<alepha_orm14.PgAttr<alepha624.TString, typeof alepha_orm14.PG_UPDATED_AT>, typeof alepha_orm14.PG_DEFAULT>;
746
+ name: alepha624.TString;
747
+ content: alepha624.TRecord<string, alepha624.TAny>;
748
+ schemaHash: alepha624.TString;
749
+ status: alepha_orm14.PgAttr<alepha624.TUnsafe<"expired" | "current" | "next" | "future">, typeof alepha_orm14.PG_DEFAULT>;
750
+ activationDate: alepha624.TString;
751
+ expiredAt: alepha624.TOptional<alepha624.TString>;
752
+ version: alepha624.TInteger;
753
+ changeDescription: alepha624.TOptional<alepha624.TString>;
754
+ tags: alepha624.TOptional<alepha624.TArray<alepha624.TString>>;
755
+ creatorId: alepha624.TOptional<alepha624.TString>;
756
+ creatorName: alepha624.TOptional<alepha624.TString>;
757
+ previousContent: alepha624.TOptional<alepha624.TRecord<string, alepha624.TAny>>;
758
+ migrationLog: alepha624.TOptional<alepha624.TString>;
761
759
  }>>;
762
760
  /** Unique identifier for this instance (to avoid self-updates) */
763
761
  protected readonly instanceId: `${string}-${string}-${string}-${string}-${string}`;
@@ -766,11 +764,11 @@ declare class ConfigStore {
766
764
  /** Topic for cross-instance synchronization */
767
765
  readonly syncTopic: alepha_topic0.TopicPrimitive<{
768
766
  payload: TObject<{
769
- name: alepha317.TString;
770
- version: alepha317.TInteger;
771
- content: alepha317.TRecord<string, alepha317.TAny>;
772
- status: alepha317.TUnsafe<"expired" | "current" | "next" | "future">;
773
- instanceId: alepha317.TString;
767
+ name: alepha624.TString;
768
+ version: alepha624.TInteger;
769
+ content: alepha624.TRecord<string, alepha624.TAny>;
770
+ status: alepha624.TUnsafe<"expired" | "current" | "next" | "future">;
771
+ instanceId: alepha624.TString;
774
772
  }>;
775
773
  }>;
776
774
  /**
@@ -874,7 +872,7 @@ interface ConfigTreeNode {
874
872
  children: ConfigTreeNode[];
875
873
  }
876
874
  //#endregion
877
- //#region ../../src/api/parameters/controllers/ConfigController.d.ts
875
+ //#region ../../src/api/parameters/controllers/AdminConfigController.d.ts
878
876
  /**
879
877
  * REST API controller for versioned configuration management.
880
878
  *
@@ -886,48 +884,55 @@ interface ConfigTreeNode {
886
884
  * - Rolling back to previous versions
887
885
  * - Activating scheduled versions immediately
888
886
  */
889
- declare class ConfigController {
887
+ declare class AdminConfigController {
888
+ protected readonly url = "/configs";
889
+ protected readonly group = "admin:configs";
890
890
  protected readonly store: ConfigStore;
891
891
  /**
892
892
  * Get tree structure of all configuration names.
893
893
  * Useful for admin UI navigation.
894
894
  */
895
895
  getConfigTree: alepha_server0.ActionPrimitiveFn<{
896
- response: alepha317.TArray<any>;
896
+ response: alepha624.TArray<alepha624.TObject<{
897
+ name: alepha624.TString;
898
+ path: alepha624.TString;
899
+ isLeaf: alepha624.TBoolean;
900
+ children: alepha624.TArray<alepha624.TAny>;
901
+ }>>;
897
902
  }>;
898
903
  /**
899
904
  * List all unique configuration names.
900
905
  */
901
906
  listConfigNames: alepha_server0.ActionPrimitiveFn<{
902
- response: alepha317.TObject<{
903
- names: alepha317.TArray<alepha317.TString>;
907
+ response: alepha624.TObject<{
908
+ names: alepha624.TArray<alepha624.TString>;
904
909
  }>;
905
910
  }>;
906
911
  /**
907
912
  * Get configurations by status.
908
913
  */
909
914
  getByStatus: alepha_server0.ActionPrimitiveFn<{
910
- params: alepha317.TObject<{
911
- status: alepha317.TUnsafe<"expired" | "current" | "next" | "future">;
915
+ params: alepha624.TObject<{
916
+ status: alepha624.TUnsafe<"expired" | "current" | "next" | "future">;
912
917
  }>;
913
- response: alepha317.TObject<{
914
- configs: alepha317.TArray<alepha317.TObject<{
915
- id: alepha317.TString;
916
- createdAt: alepha317.TString;
917
- updatedAt: alepha317.TString;
918
- name: alepha317.TString;
919
- content: alepha317.TRecord<string, alepha317.TAny>;
920
- schemaHash: alepha317.TString;
921
- status: alepha317.TUnsafe<"expired" | "current" | "next" | "future">;
922
- activationDate: alepha317.TString;
923
- expiredAt: alepha317.TOptional<alepha317.TString>;
924
- version: alepha317.TInteger;
925
- changeDescription: alepha317.TOptional<alepha317.TString>;
926
- tags: alepha317.TOptional<alepha317.TArray<alepha317.TString>>;
927
- creatorId: alepha317.TOptional<alepha317.TString>;
928
- creatorName: alepha317.TOptional<alepha317.TString>;
929
- previousContent: alepha317.TOptional<alepha317.TRecord<string, alepha317.TAny>>;
930
- migrationLog: alepha317.TOptional<alepha317.TString>;
918
+ response: alepha624.TObject<{
919
+ configs: alepha624.TArray<alepha624.TObject<{
920
+ id: alepha624.TString;
921
+ createdAt: alepha624.TString;
922
+ updatedAt: alepha624.TString;
923
+ name: alepha624.TString;
924
+ content: alepha624.TRecord<string, alepha624.TAny>;
925
+ schemaHash: alepha624.TString;
926
+ status: alepha624.TUnsafe<"expired" | "current" | "next" | "future">;
927
+ activationDate: alepha624.TString;
928
+ expiredAt: alepha624.TOptional<alepha624.TString>;
929
+ version: alepha624.TInteger;
930
+ changeDescription: alepha624.TOptional<alepha624.TString>;
931
+ tags: alepha624.TOptional<alepha624.TArray<alepha624.TString>>;
932
+ creatorId: alepha624.TOptional<alepha624.TString>;
933
+ creatorName: alepha624.TOptional<alepha624.TString>;
934
+ previousContent: alepha624.TOptional<alepha624.TRecord<string, alepha624.TAny>>;
935
+ migrationLog: alepha624.TOptional<alepha624.TString>;
931
936
  }>>;
932
937
  }>;
933
938
  }>;
@@ -935,27 +940,27 @@ declare class ConfigController {
935
940
  * Get version history for a specific configuration.
936
941
  */
937
942
  getHistory: alepha_server0.ActionPrimitiveFn<{
938
- params: alepha317.TObject<{
939
- name: alepha317.TString;
943
+ params: alepha624.TObject<{
944
+ name: alepha624.TString;
940
945
  }>;
941
- response: alepha317.TObject<{
942
- versions: alepha317.TArray<alepha317.TObject<{
943
- id: alepha317.TString;
944
- createdAt: alepha317.TString;
945
- updatedAt: alepha317.TString;
946
- name: alepha317.TString;
947
- content: alepha317.TRecord<string, alepha317.TAny>;
948
- schemaHash: alepha317.TString;
949
- status: alepha317.TUnsafe<"expired" | "current" | "next" | "future">;
950
- activationDate: alepha317.TString;
951
- expiredAt: alepha317.TOptional<alepha317.TString>;
952
- version: alepha317.TInteger;
953
- changeDescription: alepha317.TOptional<alepha317.TString>;
954
- tags: alepha317.TOptional<alepha317.TArray<alepha317.TString>>;
955
- creatorId: alepha317.TOptional<alepha317.TString>;
956
- creatorName: alepha317.TOptional<alepha317.TString>;
957
- previousContent: alepha317.TOptional<alepha317.TRecord<string, alepha317.TAny>>;
958
- migrationLog: alepha317.TOptional<alepha317.TString>;
946
+ response: alepha624.TObject<{
947
+ versions: alepha624.TArray<alepha624.TObject<{
948
+ id: alepha624.TString;
949
+ createdAt: alepha624.TString;
950
+ updatedAt: alepha624.TString;
951
+ name: alepha624.TString;
952
+ content: alepha624.TRecord<string, alepha624.TAny>;
953
+ schemaHash: alepha624.TString;
954
+ status: alepha624.TUnsafe<"expired" | "current" | "next" | "future">;
955
+ activationDate: alepha624.TString;
956
+ expiredAt: alepha624.TOptional<alepha624.TString>;
957
+ version: alepha624.TInteger;
958
+ changeDescription: alepha624.TOptional<alepha624.TString>;
959
+ tags: alepha624.TOptional<alepha624.TArray<alepha624.TString>>;
960
+ creatorId: alepha624.TOptional<alepha624.TString>;
961
+ creatorName: alepha624.TOptional<alepha624.TString>;
962
+ previousContent: alepha624.TOptional<alepha624.TRecord<string, alepha624.TAny>>;
963
+ migrationLog: alepha624.TOptional<alepha624.TString>;
959
964
  }>>;
960
965
  }>;
961
966
  }>;
@@ -965,77 +970,77 @@ declare class ConfigController {
965
970
  * even if no versions exist in the database yet.
966
971
  */
967
972
  getCurrent: alepha_server0.ActionPrimitiveFn<{
968
- params: alepha317.TObject<{
969
- name: alepha317.TString;
973
+ params: alepha624.TObject<{
974
+ name: alepha624.TString;
970
975
  }>;
971
- response: alepha317.TObject<{
972
- current: alepha317.TOptional<alepha317.TObject<{
973
- id: alepha317.TString;
974
- createdAt: alepha317.TString;
975
- updatedAt: alepha317.TString;
976
- name: alepha317.TString;
977
- content: alepha317.TRecord<string, alepha317.TAny>;
978
- schemaHash: alepha317.TString;
979
- status: alepha317.TUnsafe<"expired" | "current" | "next" | "future">;
980
- activationDate: alepha317.TString;
981
- expiredAt: alepha317.TOptional<alepha317.TString>;
982
- version: alepha317.TInteger;
983
- changeDescription: alepha317.TOptional<alepha317.TString>;
984
- tags: alepha317.TOptional<alepha317.TArray<alepha317.TString>>;
985
- creatorId: alepha317.TOptional<alepha317.TString>;
986
- creatorName: alepha317.TOptional<alepha317.TString>;
987
- previousContent: alepha317.TOptional<alepha317.TRecord<string, alepha317.TAny>>;
988
- migrationLog: alepha317.TOptional<alepha317.TString>;
976
+ response: alepha624.TObject<{
977
+ current: alepha624.TOptional<alepha624.TObject<{
978
+ id: alepha624.TString;
979
+ createdAt: alepha624.TString;
980
+ updatedAt: alepha624.TString;
981
+ name: alepha624.TString;
982
+ content: alepha624.TRecord<string, alepha624.TAny>;
983
+ schemaHash: alepha624.TString;
984
+ status: alepha624.TUnsafe<"expired" | "current" | "next" | "future">;
985
+ activationDate: alepha624.TString;
986
+ expiredAt: alepha624.TOptional<alepha624.TString>;
987
+ version: alepha624.TInteger;
988
+ changeDescription: alepha624.TOptional<alepha624.TString>;
989
+ tags: alepha624.TOptional<alepha624.TArray<alepha624.TString>>;
990
+ creatorId: alepha624.TOptional<alepha624.TString>;
991
+ creatorName: alepha624.TOptional<alepha624.TString>;
992
+ previousContent: alepha624.TOptional<alepha624.TRecord<string, alepha624.TAny>>;
993
+ migrationLog: alepha624.TOptional<alepha624.TString>;
989
994
  }>>;
990
- next: alepha317.TOptional<alepha317.TObject<{
991
- id: alepha317.TString;
992
- createdAt: alepha317.TString;
993
- updatedAt: alepha317.TString;
994
- name: alepha317.TString;
995
- content: alepha317.TRecord<string, alepha317.TAny>;
996
- schemaHash: alepha317.TString;
997
- status: alepha317.TUnsafe<"expired" | "current" | "next" | "future">;
998
- activationDate: alepha317.TString;
999
- expiredAt: alepha317.TOptional<alepha317.TString>;
1000
- version: alepha317.TInteger;
1001
- changeDescription: alepha317.TOptional<alepha317.TString>;
1002
- tags: alepha317.TOptional<alepha317.TArray<alepha317.TString>>;
1003
- creatorId: alepha317.TOptional<alepha317.TString>;
1004
- creatorName: alepha317.TOptional<alepha317.TString>;
1005
- previousContent: alepha317.TOptional<alepha317.TRecord<string, alepha317.TAny>>;
1006
- migrationLog: alepha317.TOptional<alepha317.TString>;
995
+ next: alepha624.TOptional<alepha624.TObject<{
996
+ id: alepha624.TString;
997
+ createdAt: alepha624.TString;
998
+ updatedAt: alepha624.TString;
999
+ name: alepha624.TString;
1000
+ content: alepha624.TRecord<string, alepha624.TAny>;
1001
+ schemaHash: alepha624.TString;
1002
+ status: alepha624.TUnsafe<"expired" | "current" | "next" | "future">;
1003
+ activationDate: alepha624.TString;
1004
+ expiredAt: alepha624.TOptional<alepha624.TString>;
1005
+ version: alepha624.TInteger;
1006
+ changeDescription: alepha624.TOptional<alepha624.TString>;
1007
+ tags: alepha624.TOptional<alepha624.TArray<alepha624.TString>>;
1008
+ creatorId: alepha624.TOptional<alepha624.TString>;
1009
+ creatorName: alepha624.TOptional<alepha624.TString>;
1010
+ previousContent: alepha624.TOptional<alepha624.TRecord<string, alepha624.TAny>>;
1011
+ migrationLog: alepha624.TOptional<alepha624.TString>;
1007
1012
  }>>;
1008
- defaultValue: alepha317.TOptional<alepha317.TRecord<string, alepha317.TAny>>;
1009
- currentValue: alepha317.TOptional<alepha317.TRecord<string, alepha317.TAny>>;
1010
- schema: alepha317.TOptional<alepha317.TRecord<string, alepha317.TAny>>;
1013
+ defaultValue: alepha624.TOptional<alepha624.TRecord<string, alepha624.TAny>>;
1014
+ currentValue: alepha624.TOptional<alepha624.TRecord<string, alepha624.TAny>>;
1015
+ schema: alepha624.TOptional<alepha624.TRecord<string, alepha624.TAny>>;
1011
1016
  }>;
1012
1017
  }>;
1013
1018
  /**
1014
1019
  * Get a specific version of a configuration.
1015
1020
  */
1016
1021
  getVersion: alepha_server0.ActionPrimitiveFn<{
1017
- params: alepha317.TObject<{
1018
- name: alepha317.TString;
1019
- version: alepha317.TInteger;
1022
+ params: alepha624.TObject<{
1023
+ name: alepha624.TString;
1024
+ version: alepha624.TInteger;
1020
1025
  }>;
1021
- response: alepha317.TObject<{
1022
- config: alepha317.TOptional<alepha317.TObject<{
1023
- id: alepha317.TString;
1024
- createdAt: alepha317.TString;
1025
- updatedAt: alepha317.TString;
1026
- name: alepha317.TString;
1027
- content: alepha317.TRecord<string, alepha317.TAny>;
1028
- schemaHash: alepha317.TString;
1029
- status: alepha317.TUnsafe<"expired" | "current" | "next" | "future">;
1030
- activationDate: alepha317.TString;
1031
- expiredAt: alepha317.TOptional<alepha317.TString>;
1032
- version: alepha317.TInteger;
1033
- changeDescription: alepha317.TOptional<alepha317.TString>;
1034
- tags: alepha317.TOptional<alepha317.TArray<alepha317.TString>>;
1035
- creatorId: alepha317.TOptional<alepha317.TString>;
1036
- creatorName: alepha317.TOptional<alepha317.TString>;
1037
- previousContent: alepha317.TOptional<alepha317.TRecord<string, alepha317.TAny>>;
1038
- migrationLog: alepha317.TOptional<alepha317.TString>;
1026
+ response: alepha624.TObject<{
1027
+ config: alepha624.TOptional<alepha624.TObject<{
1028
+ id: alepha624.TString;
1029
+ createdAt: alepha624.TString;
1030
+ updatedAt: alepha624.TString;
1031
+ name: alepha624.TString;
1032
+ content: alepha624.TRecord<string, alepha624.TAny>;
1033
+ schemaHash: alepha624.TString;
1034
+ status: alepha624.TUnsafe<"expired" | "current" | "next" | "future">;
1035
+ activationDate: alepha624.TString;
1036
+ expiredAt: alepha624.TOptional<alepha624.TString>;
1037
+ version: alepha624.TInteger;
1038
+ changeDescription: alepha624.TOptional<alepha624.TString>;
1039
+ tags: alepha624.TOptional<alepha624.TArray<alepha624.TString>>;
1040
+ creatorId: alepha624.TOptional<alepha624.TString>;
1041
+ creatorName: alepha624.TOptional<alepha624.TString>;
1042
+ previousContent: alepha624.TOptional<alepha624.TRecord<string, alepha624.TAny>>;
1043
+ migrationLog: alepha624.TOptional<alepha624.TString>;
1039
1044
  }>>;
1040
1045
  }>;
1041
1046
  }>;
@@ -1043,98 +1048,98 @@ declare class ConfigController {
1043
1048
  * Create a new configuration version.
1044
1049
  */
1045
1050
  createVersion: alepha_server0.ActionPrimitiveFn<{
1046
- params: alepha317.TObject<{
1047
- name: alepha317.TString;
1051
+ params: alepha624.TObject<{
1052
+ name: alepha624.TString;
1048
1053
  }>;
1049
- body: alepha317.TObject<{
1050
- content: alepha317.TRecord<string, alepha317.TAny>;
1051
- schemaHash: alepha317.TString;
1052
- activationDate: alepha317.TOptional<alepha317.TString>;
1053
- changeDescription: alepha317.TOptional<alepha317.TString>;
1054
- tags: alepha317.TOptional<alepha317.TArray<alepha317.TString>>;
1055
- creatorId: alepha317.TOptional<alepha317.TString>;
1056
- creatorName: alepha317.TOptional<alepha317.TString>;
1054
+ body: alepha624.TObject<{
1055
+ content: alepha624.TRecord<string, alepha624.TAny>;
1056
+ schemaHash: alepha624.TString;
1057
+ activationDate: alepha624.TOptional<alepha624.TString>;
1058
+ changeDescription: alepha624.TOptional<alepha624.TString>;
1059
+ tags: alepha624.TOptional<alepha624.TArray<alepha624.TString>>;
1060
+ creatorId: alepha624.TOptional<alepha624.TString>;
1061
+ creatorName: alepha624.TOptional<alepha624.TString>;
1057
1062
  }>;
1058
- response: alepha317.TObject<{
1059
- id: alepha317.TString;
1060
- createdAt: alepha317.TString;
1061
- updatedAt: alepha317.TString;
1062
- name: alepha317.TString;
1063
- content: alepha317.TRecord<string, alepha317.TAny>;
1064
- schemaHash: alepha317.TString;
1065
- status: alepha317.TUnsafe<"expired" | "current" | "next" | "future">;
1066
- activationDate: alepha317.TString;
1067
- expiredAt: alepha317.TOptional<alepha317.TString>;
1068
- version: alepha317.TInteger;
1069
- changeDescription: alepha317.TOptional<alepha317.TString>;
1070
- tags: alepha317.TOptional<alepha317.TArray<alepha317.TString>>;
1071
- creatorId: alepha317.TOptional<alepha317.TString>;
1072
- creatorName: alepha317.TOptional<alepha317.TString>;
1073
- previousContent: alepha317.TOptional<alepha317.TRecord<string, alepha317.TAny>>;
1074
- migrationLog: alepha317.TOptional<alepha317.TString>;
1063
+ response: alepha624.TObject<{
1064
+ id: alepha624.TString;
1065
+ createdAt: alepha624.TString;
1066
+ updatedAt: alepha624.TString;
1067
+ name: alepha624.TString;
1068
+ content: alepha624.TRecord<string, alepha624.TAny>;
1069
+ schemaHash: alepha624.TString;
1070
+ status: alepha624.TUnsafe<"expired" | "current" | "next" | "future">;
1071
+ activationDate: alepha624.TString;
1072
+ expiredAt: alepha624.TOptional<alepha624.TString>;
1073
+ version: alepha624.TInteger;
1074
+ changeDescription: alepha624.TOptional<alepha624.TString>;
1075
+ tags: alepha624.TOptional<alepha624.TArray<alepha624.TString>>;
1076
+ creatorId: alepha624.TOptional<alepha624.TString>;
1077
+ creatorName: alepha624.TOptional<alepha624.TString>;
1078
+ previousContent: alepha624.TOptional<alepha624.TRecord<string, alepha624.TAny>>;
1079
+ migrationLog: alepha624.TOptional<alepha624.TString>;
1075
1080
  }>;
1076
1081
  }>;
1077
1082
  /**
1078
1083
  * Rollback to a previous version.
1079
1084
  */
1080
1085
  rollback: alepha_server0.ActionPrimitiveFn<{
1081
- params: alepha317.TObject<{
1082
- name: alepha317.TString;
1086
+ params: alepha624.TObject<{
1087
+ name: alepha624.TString;
1083
1088
  }>;
1084
- body: alepha317.TObject<{
1085
- targetVersion: alepha317.TInteger;
1086
- changeDescription: alepha317.TOptional<alepha317.TString>;
1087
- creatorId: alepha317.TOptional<alepha317.TString>;
1088
- creatorName: alepha317.TOptional<alepha317.TString>;
1089
+ body: alepha624.TObject<{
1090
+ targetVersion: alepha624.TInteger;
1091
+ changeDescription: alepha624.TOptional<alepha624.TString>;
1092
+ creatorId: alepha624.TOptional<alepha624.TString>;
1093
+ creatorName: alepha624.TOptional<alepha624.TString>;
1089
1094
  }>;
1090
- response: alepha317.TObject<{
1091
- id: alepha317.TString;
1092
- createdAt: alepha317.TString;
1093
- updatedAt: alepha317.TString;
1094
- name: alepha317.TString;
1095
- content: alepha317.TRecord<string, alepha317.TAny>;
1096
- schemaHash: alepha317.TString;
1097
- status: alepha317.TUnsafe<"expired" | "current" | "next" | "future">;
1098
- activationDate: alepha317.TString;
1099
- expiredAt: alepha317.TOptional<alepha317.TString>;
1100
- version: alepha317.TInteger;
1101
- changeDescription: alepha317.TOptional<alepha317.TString>;
1102
- tags: alepha317.TOptional<alepha317.TArray<alepha317.TString>>;
1103
- creatorId: alepha317.TOptional<alepha317.TString>;
1104
- creatorName: alepha317.TOptional<alepha317.TString>;
1105
- previousContent: alepha317.TOptional<alepha317.TRecord<string, alepha317.TAny>>;
1106
- migrationLog: alepha317.TOptional<alepha317.TString>;
1095
+ response: alepha624.TObject<{
1096
+ id: alepha624.TString;
1097
+ createdAt: alepha624.TString;
1098
+ updatedAt: alepha624.TString;
1099
+ name: alepha624.TString;
1100
+ content: alepha624.TRecord<string, alepha624.TAny>;
1101
+ schemaHash: alepha624.TString;
1102
+ status: alepha624.TUnsafe<"expired" | "current" | "next" | "future">;
1103
+ activationDate: alepha624.TString;
1104
+ expiredAt: alepha624.TOptional<alepha624.TString>;
1105
+ version: alepha624.TInteger;
1106
+ changeDescription: alepha624.TOptional<alepha624.TString>;
1107
+ tags: alepha624.TOptional<alepha624.TArray<alepha624.TString>>;
1108
+ creatorId: alepha624.TOptional<alepha624.TString>;
1109
+ creatorName: alepha624.TOptional<alepha624.TString>;
1110
+ previousContent: alepha624.TOptional<alepha624.TRecord<string, alepha624.TAny>>;
1111
+ migrationLog: alepha624.TOptional<alepha624.TString>;
1107
1112
  }>;
1108
1113
  }>;
1109
1114
  /**
1110
1115
  * Activate a scheduled version immediately.
1111
1116
  */
1112
1117
  activateNow: alepha_server0.ActionPrimitiveFn<{
1113
- params: alepha317.TObject<{
1114
- name: alepha317.TString;
1118
+ params: alepha624.TObject<{
1119
+ name: alepha624.TString;
1115
1120
  }>;
1116
- body: alepha317.TObject<{
1117
- version: alepha317.TInteger;
1118
- creatorId: alepha317.TOptional<alepha317.TString>;
1119
- creatorName: alepha317.TOptional<alepha317.TString>;
1121
+ body: alepha624.TObject<{
1122
+ version: alepha624.TInteger;
1123
+ creatorId: alepha624.TOptional<alepha624.TString>;
1124
+ creatorName: alepha624.TOptional<alepha624.TString>;
1120
1125
  }>;
1121
- response: alepha317.TObject<{
1122
- id: alepha317.TString;
1123
- createdAt: alepha317.TString;
1124
- updatedAt: alepha317.TString;
1125
- name: alepha317.TString;
1126
- content: alepha317.TRecord<string, alepha317.TAny>;
1127
- schemaHash: alepha317.TString;
1128
- status: alepha317.TUnsafe<"expired" | "current" | "next" | "future">;
1129
- activationDate: alepha317.TString;
1130
- expiredAt: alepha317.TOptional<alepha317.TString>;
1131
- version: alepha317.TInteger;
1132
- changeDescription: alepha317.TOptional<alepha317.TString>;
1133
- tags: alepha317.TOptional<alepha317.TArray<alepha317.TString>>;
1134
- creatorId: alepha317.TOptional<alepha317.TString>;
1135
- creatorName: alepha317.TOptional<alepha317.TString>;
1136
- previousContent: alepha317.TOptional<alepha317.TRecord<string, alepha317.TAny>>;
1137
- migrationLog: alepha317.TOptional<alepha317.TString>;
1126
+ response: alepha624.TObject<{
1127
+ id: alepha624.TString;
1128
+ createdAt: alepha624.TString;
1129
+ updatedAt: alepha624.TString;
1130
+ name: alepha624.TString;
1131
+ content: alepha624.TRecord<string, alepha624.TAny>;
1132
+ schemaHash: alepha624.TString;
1133
+ status: alepha624.TUnsafe<"expired" | "current" | "next" | "future">;
1134
+ activationDate: alepha624.TString;
1135
+ expiredAt: alepha624.TOptional<alepha624.TString>;
1136
+ version: alepha624.TInteger;
1137
+ changeDescription: alepha624.TOptional<alepha624.TString>;
1138
+ tags: alepha624.TOptional<alepha624.TArray<alepha624.TString>>;
1139
+ creatorId: alepha624.TOptional<alepha624.TString>;
1140
+ creatorName: alepha624.TOptional<alepha624.TString>;
1141
+ previousContent: alepha624.TOptional<alepha624.TRecord<string, alepha624.TAny>>;
1142
+ migrationLog: alepha624.TOptional<alepha624.TString>;
1138
1143
  }>;
1139
1144
  }>;
1140
1145
  /**
@@ -1142,8 +1147,8 @@ declare class ConfigController {
1142
1147
  * Normally called by a scheduler, but exposed for manual triggering.
1143
1148
  */
1144
1149
  checkScheduled: alepha_server0.ActionPrimitiveFn<{
1145
- response: alepha317.TObject<{
1146
- message: alepha317.TString;
1150
+ response: alepha624.TObject<{
1151
+ message: alepha624.TString;
1147
1152
  }>;
1148
1153
  }>;
1149
1154
  }
@@ -1202,7 +1207,7 @@ declare class ConfigActivationScheduler {
1202
1207
  *
1203
1208
  * @module alepha.api.parameters
1204
1209
  */
1205
- declare const AlephaApiParameters: alepha317.Service<alepha317.Module>;
1210
+ declare const AlephaApiParameters: alepha624.Service<alepha624.Module>;
1206
1211
  //#endregion
1207
- export { $config, AlephaApiParameters, ConfigActivationScheduler, ConfigController, ConfigPrimitive, ConfigPrimitiveOptions, ConfigStore, ConfigSyncPayload, ConfigTreeNode, Parameter, ParameterInsert, ParameterStatus, SaveConfigOptions, SetConfigOptions, parameters };
1212
+ export { $config, AdminConfigController, AlephaApiParameters, ConfigActivationScheduler, ConfigPrimitive, ConfigPrimitiveOptions, ConfigStore, ConfigSyncPayload, ConfigTreeNode, Parameter, ParameterInsert, type ParameterStatus, SaveConfigOptions, SetConfigOptions, parameters };
1208
1213
  //# sourceMappingURL=index.d.ts.map