alepha 0.20.6 → 0.20.7

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 (243) hide show
  1. package/AGENTS.md +0 -1
  2. package/CLAUDE.md +0 -1
  3. package/assets/agents-template.md +0 -1
  4. package/dist/api/audits/index.browser.js +1 -0
  5. package/dist/api/audits/index.browser.js.map +1 -1
  6. package/dist/api/audits/index.d.ts +370 -355
  7. package/dist/api/audits/index.d.ts.map +1 -1
  8. package/dist/api/audits/index.js +1 -0
  9. package/dist/api/audits/index.js.map +1 -1
  10. package/dist/api/files/index.browser.js +1 -0
  11. package/dist/api/files/index.browser.js.map +1 -1
  12. package/dist/api/files/index.d.ts +179 -170
  13. package/dist/api/files/index.d.ts.map +1 -1
  14. package/dist/api/files/index.js +1 -0
  15. package/dist/api/files/index.js.map +1 -1
  16. package/dist/api/jobs/index.browser.js +7 -0
  17. package/dist/api/jobs/index.browser.js.map +1 -1
  18. package/dist/api/jobs/index.d.ts +271 -262
  19. package/dist/api/jobs/index.d.ts.map +1 -1
  20. package/dist/api/jobs/index.js +21 -3
  21. package/dist/api/jobs/index.js.map +1 -1
  22. package/dist/api/keys/index.d.ts +198 -192
  23. package/dist/api/keys/index.d.ts.map +1 -1
  24. package/dist/api/keys/index.js +1 -0
  25. package/dist/api/keys/index.js.map +1 -1
  26. package/dist/api/notifications/index.d.ts +246 -245
  27. package/dist/api/notifications/index.d.ts.map +1 -1
  28. package/dist/api/organizations/index.d.ts +100 -97
  29. package/dist/api/organizations/index.d.ts.map +1 -1
  30. package/dist/api/parameters/index.d.ts +323 -320
  31. package/dist/api/parameters/index.d.ts.map +1 -1
  32. package/dist/api/payments/index.d.ts +431 -376
  33. package/dist/api/payments/index.d.ts.map +1 -1
  34. package/dist/api/payments/index.js +202 -87
  35. package/dist/api/payments/index.js.map +1 -1
  36. package/dist/api/subscriptions/index.d.ts +1695 -0
  37. package/dist/api/subscriptions/index.d.ts.map +1 -0
  38. package/dist/api/subscriptions/index.js +1919 -0
  39. package/dist/api/subscriptions/index.js.map +1 -0
  40. package/dist/api/users/index.d.ts +863 -847
  41. package/dist/api/users/index.d.ts.map +1 -1
  42. package/dist/api/verifications/index.d.ts +126 -125
  43. package/dist/api/verifications/index.d.ts.map +1 -1
  44. package/dist/bucket/index.d.ts +3 -2
  45. package/dist/bucket/index.d.ts.map +1 -1
  46. package/dist/cache/core/index.d.ts +114 -4
  47. package/dist/cache/core/index.d.ts.map +1 -1
  48. package/dist/cache/core/index.js +181 -15
  49. package/dist/cache/core/index.js.map +1 -1
  50. package/dist/cache/core/index.workerd.js +181 -15
  51. package/dist/cache/core/index.workerd.js.map +1 -1
  52. package/dist/cache/database/index.d.ts +20 -19
  53. package/dist/cache/database/index.d.ts.map +1 -1
  54. package/dist/cache/redis/index.d.ts +3 -2
  55. package/dist/cache/redis/index.d.ts.map +1 -1
  56. package/dist/cli/core/index.d.ts +113 -129
  57. package/dist/cli/core/index.d.ts.map +1 -1
  58. package/dist/cli/core/index.js +75 -7
  59. package/dist/cli/core/index.js.map +1 -1
  60. package/dist/cli/devtools/index.d.ts +3 -2
  61. package/dist/cli/devtools/index.d.ts.map +1 -1
  62. package/dist/cli/platform/index.d.ts +346 -290
  63. package/dist/cli/platform/index.d.ts.map +1 -1
  64. package/dist/cli/platform/index.js +105 -6
  65. package/dist/cli/platform/index.js.map +1 -1
  66. package/dist/cli/vendor/index.d.ts +12 -11
  67. package/dist/cli/vendor/index.d.ts.map +1 -1
  68. package/dist/command/index.d.ts +5 -4
  69. package/dist/command/index.d.ts.map +1 -1
  70. package/dist/core/index.browser.js +1 -1
  71. package/dist/core/index.browser.js.map +1 -1
  72. package/dist/core/index.d.ts +119 -118
  73. package/dist/core/index.d.ts.map +1 -1
  74. package/dist/core/index.js +1 -1
  75. package/dist/core/index.js.map +1 -1
  76. package/dist/core/index.native.js +1 -1
  77. package/dist/core/index.native.js.map +1 -1
  78. package/dist/core/index.workerd.js +1 -1
  79. package/dist/core/index.workerd.js.map +1 -1
  80. package/dist/crypto/index.d.ts +3 -2
  81. package/dist/crypto/index.d.ts.map +1 -1
  82. package/dist/email/core/index.d.ts +3 -2
  83. package/dist/email/core/index.d.ts.map +1 -1
  84. package/dist/email/smtp/index.d.ts +7 -6
  85. package/dist/email/smtp/index.d.ts.map +1 -1
  86. package/dist/lock/core/index.d.ts +5 -4
  87. package/dist/lock/core/index.d.ts.map +1 -1
  88. package/dist/logger/index.d.ts +10 -9
  89. package/dist/logger/index.d.ts.map +1 -1
  90. package/dist/mcp/index.d.ts +9 -8
  91. package/dist/mcp/index.d.ts.map +1 -1
  92. package/dist/mcp/index.js +1 -1
  93. package/dist/mcp/index.js.map +1 -1
  94. package/dist/orm/core/index.browser.js +9 -3
  95. package/dist/orm/core/index.browser.js.map +1 -1
  96. package/dist/orm/core/index.bun.js +31 -10
  97. package/dist/orm/core/index.bun.js.map +1 -1
  98. package/dist/orm/core/index.d.ts +33 -14
  99. package/dist/orm/core/index.d.ts.map +1 -1
  100. package/dist/orm/core/index.js +31 -10
  101. package/dist/orm/core/index.js.map +1 -1
  102. package/dist/orm/postgres/index.d.ts +6 -5
  103. package/dist/orm/postgres/index.d.ts.map +1 -1
  104. package/dist/queue/core/index.d.ts +5 -4
  105. package/dist/queue/core/index.d.ts.map +1 -1
  106. package/dist/queue/redis/index.d.ts +3 -2
  107. package/dist/queue/redis/index.d.ts.map +1 -1
  108. package/dist/react/form/index.d.ts +5 -0
  109. package/dist/react/form/index.d.ts.map +1 -1
  110. package/dist/react/form/index.js +6 -4
  111. package/dist/react/form/index.js.map +1 -1
  112. package/dist/react/i18n/index.d.ts +2 -1
  113. package/dist/react/i18n/index.d.ts.map +1 -1
  114. package/dist/react/router/index.d.ts +206 -205
  115. package/dist/react/router/index.d.ts.map +1 -1
  116. package/dist/react/ui/index.d.ts +11 -11
  117. package/dist/react/ui/index.d.ts.map +1 -1
  118. package/dist/scheduler/index.d.ts +3 -2
  119. package/dist/scheduler/index.d.ts.map +1 -1
  120. package/dist/security/index.browser.js +29 -1
  121. package/dist/security/index.browser.js.map +1 -1
  122. package/dist/security/index.d.ts +82 -35
  123. package/dist/security/index.d.ts.map +1 -1
  124. package/dist/security/index.js +56 -3
  125. package/dist/security/index.js.map +1 -1
  126. package/dist/server/auth/index.d.ts +163 -158
  127. package/dist/server/auth/index.d.ts.map +1 -1
  128. package/dist/server/auth/index.js +16 -4
  129. package/dist/server/auth/index.js.map +1 -1
  130. package/dist/server/core/index.d.ts +35 -34
  131. package/dist/server/core/index.d.ts.map +1 -1
  132. package/dist/server/cors/index.d.ts +7 -6
  133. package/dist/server/cors/index.d.ts.map +1 -1
  134. package/dist/server/health/index.d.ts +16 -15
  135. package/dist/server/health/index.d.ts.map +1 -1
  136. package/dist/server/links/index.d.ts +51 -50
  137. package/dist/server/links/index.d.ts.map +1 -1
  138. package/dist/server/rate-limit/index.d.ts +6 -5
  139. package/dist/server/rate-limit/index.d.ts.map +1 -1
  140. package/dist/server/swagger/index.d.ts +2 -1
  141. package/dist/server/swagger/index.d.ts.map +1 -1
  142. package/dist/topic/redis/index.d.ts +3 -2
  143. package/dist/topic/redis/index.d.ts.map +1 -1
  144. package/package.json +16 -32
  145. package/src/api/audits/entities/audits.ts +1 -0
  146. package/src/api/files/entities/files.ts +1 -0
  147. package/src/api/jobs/__tests__/$job.spec.ts +92 -40
  148. package/src/api/jobs/entities/jobExecutionEntity.ts +1 -0
  149. package/src/api/jobs/providers/JobProvider.ts +20 -5
  150. package/src/api/jobs/schemas/jobConfigAtom.ts +5 -0
  151. package/src/api/keys/entities/apiKeyEntity.ts +1 -0
  152. package/src/api/payments/controllers/MockCheckoutController.ts +146 -0
  153. package/src/api/payments/index.ts +3 -0
  154. package/src/api/payments/providers/MemoryPaymentProvider.ts +9 -4
  155. package/src/api/payments/providers/PaymentProvider.ts +25 -9
  156. package/src/api/payments/services/PaymentService.ts +3 -0
  157. package/src/api/subscriptions/__tests__/BillingService.spec.ts +218 -0
  158. package/src/api/subscriptions/__tests__/SubscriptionService.spec.ts +278 -0
  159. package/src/api/subscriptions/controllers/AdminSubscriptionController.ts +212 -0
  160. package/src/api/subscriptions/controllers/SubscriptionController.ts +189 -0
  161. package/src/api/subscriptions/entities/subscriptionEvents.ts +54 -0
  162. package/src/api/subscriptions/entities/subscriptions.ts +68 -0
  163. package/src/api/subscriptions/index.ts +133 -0
  164. package/src/api/subscriptions/jobs/SubscriptionJobs.ts +382 -0
  165. package/src/api/subscriptions/middleware/$requireLimit.ts +50 -0
  166. package/src/api/subscriptions/middleware/$requirePlan.ts +49 -0
  167. package/src/api/subscriptions/notifications/SubscriptionNotifications.ts +110 -0
  168. package/src/api/subscriptions/schemas/cancelSubscriptionSchema.ts +8 -0
  169. package/src/api/subscriptions/schemas/changePlanSchema.ts +9 -0
  170. package/src/api/subscriptions/schemas/createSubscriptionSchema.ts +11 -0
  171. package/src/api/subscriptions/schemas/entitlementsSchema.ts +21 -0
  172. package/src/api/subscriptions/schemas/mrrSchema.ts +13 -0
  173. package/src/api/subscriptions/schemas/planDefinitionSchema.ts +71 -0
  174. package/src/api/subscriptions/schemas/planResourceSchema.ts +25 -0
  175. package/src/api/subscriptions/schemas/subscriptionEventResourceSchema.ts +8 -0
  176. package/src/api/subscriptions/schemas/subscriptionQuerySchema.ts +19 -0
  177. package/src/api/subscriptions/schemas/subscriptionResourceSchema.ts +6 -0
  178. package/src/api/subscriptions/schemas/subscriptionSettingsSchema.ts +32 -0
  179. package/src/api/subscriptions/schemas/subscriptionStatsSchema.ts +23 -0
  180. package/src/api/subscriptions/services/BillingService.ts +437 -0
  181. package/src/api/subscriptions/services/SubscriptionConfig.ts +56 -0
  182. package/src/api/subscriptions/services/SubscriptionService.ts +867 -0
  183. package/src/api/subscriptions/services/UsageService.ts +118 -0
  184. package/src/cache/core/__tests__/$cache.memory.spec.ts +450 -0
  185. package/src/cache/core/__tests__/$cache.swr.spec.ts +394 -0
  186. package/src/cache/core/index.ts +16 -0
  187. package/src/cache/core/primitives/$cache.ts +347 -21
  188. package/src/cli/core/tasks/BuildCloudflareTask.ts +16 -0
  189. package/src/cli/core/templates/agentMd.ts +39 -4
  190. package/src/cli/core/templates/biomeJson.ts +25 -1
  191. package/src/cli/core/templates/saasAdminLayoutTsx.ts +2 -2
  192. package/src/cli/platform/__tests__/CloudflareAdapter.spec.ts +117 -0
  193. package/src/cli/platform/adapters/CloudflareAdapter.ts +104 -7
  194. package/src/cli/platform/atoms/platformOptions.ts +13 -0
  195. package/src/cli/platform/schemas/platform.ts +1 -0
  196. package/src/cli/platform/services/CloudflareApi.ts +61 -0
  197. package/src/cli/platform/services/PlatformOrchestrator.ts +9 -4
  198. package/src/core/__tests__/$module.spec.ts +2 -2
  199. package/src/core/primitives/$module.ts +4 -4
  200. package/src/mcp/providers/McpServerProvider.ts +1 -1
  201. package/src/orm/core/providers/DatabaseTypeProvider.ts +9 -3
  202. package/src/orm/core/providers/drivers/DatabaseProvider.ts +1 -1
  203. package/src/orm/core/schemas/insertSchema.ts +10 -2
  204. package/src/orm/core/services/Repository.ts +27 -7
  205. package/src/react/form/hooks/useFormState.ts +8 -1
  206. package/src/react/form/index.ts +10 -1
  207. package/src/react/form/services/FormModel.ts +9 -3
  208. package/src/security/atoms/currentTenantAtom.ts +34 -0
  209. package/src/security/index.browser.ts +1 -0
  210. package/src/security/index.ts +12 -1
  211. package/src/security/primitives/$issuer.ts +17 -1
  212. package/src/security/providers/SecurityProvider.ts +37 -0
  213. package/src/server/auth/__tests__/validateRedirectUri.spec.ts +78 -0
  214. package/src/server/auth/providers/ServerAuthProvider.ts +21 -5
  215. package/tsconfig.base.json +2 -1
  216. package/dist/react/websocket/index.d.ts +0 -117
  217. package/dist/react/websocket/index.d.ts.map +0 -1
  218. package/dist/react/websocket/index.js +0 -108
  219. package/dist/react/websocket/index.js.map +0 -1
  220. package/dist/websocket/index.browser.js +0 -848
  221. package/dist/websocket/index.browser.js.map +0 -1
  222. package/dist/websocket/index.d.ts +0 -876
  223. package/dist/websocket/index.d.ts.map +0 -1
  224. package/dist/websocket/index.js +0 -1185
  225. package/dist/websocket/index.js.map +0 -1
  226. package/src/react/websocket/hooks/useRoom.tsx +0 -251
  227. package/src/react/websocket/index.ts +0 -7
  228. package/src/websocket/__tests__/$channel.spec.ts +0 -30
  229. package/src/websocket/__tests__/$websocket-new.spec.ts +0 -195
  230. package/src/websocket/__tests__/RoomManager.spec.ts +0 -146
  231. package/src/websocket/__tests__/websocket-integration.spec.ts +0 -951
  232. package/src/websocket/errors/WebSocketError.ts +0 -34
  233. package/src/websocket/index.browser.ts +0 -25
  234. package/src/websocket/index.shared.ts +0 -8
  235. package/src/websocket/index.ts +0 -85
  236. package/src/websocket/interfaces/WebSocketInterfaces.ts +0 -252
  237. package/src/websocket/primitives/$channel.ts +0 -131
  238. package/src/websocket/primitives/$websocket.ts +0 -107
  239. package/src/websocket/providers/NodeWebSocketServerProvider.ts +0 -617
  240. package/src/websocket/providers/WebSocketServerProvider.ts +0 -56
  241. package/src/websocket/services/RoomManager.ts +0 -160
  242. package/src/websocket/services/WebSocketClient.ts +0 -642
  243. package/src/websocket/services/WebSocketTopicService.ts +0 -108
@@ -8,6 +8,7 @@ import { DateTimeProvider } from "alepha/datetime";
8
8
  import { LockProvider } from "alepha/lock";
9
9
  import * as _$alepha_logger0 from "alepha/logger";
10
10
  import * as _$alepha_topic0 from "alepha/topic";
11
+ import * as _$typebox from "typebox";
11
12
  import { BuildExtraConfigColumns, SQL } from "drizzle-orm";
12
13
  import { PgColumnBuilderBase, PgSequenceOptions, PgTableExtraConfigValue, UpdateDeleteAction } from "drizzle-orm/pg-core";
13
14
  //#region ../../src/orm/core/schemas/insertSchema.d.ts
@@ -24,6 +25,8 @@ type TObjectInsert<T extends TObject> = TObject<{ [K in keyof T["properties"] as
24
25
  [PG_GENERATED]: any;
25
26
  } ? never : K]: T["properties"][K] extends {
26
27
  [PG_DEFAULT]: any;
28
+ } | {
29
+ [PG_ORGANIZATION]: any;
27
30
  } | {
28
31
  "~optional": true;
29
32
  } ? TOptional<T["properties"][K]> : T["properties"][K] }>;
@@ -299,8 +302,8 @@ type PgAttr<T extends TSchema, TAttr extends PgSymbolKeys> = T & { [K in TAttr]:
299
302
  * - `d1://BINDING_NAME` — Cloudflare D1
300
303
  * - `hyperdrive://BINDING_NAME` — Cloudflare Hyperdrive
301
304
  */
302
- declare const databaseEnvSchema: _$alepha.TObject<{
303
- DATABASE_URL: _$alepha.TOptional<_$alepha.TString>;
305
+ declare const databaseEnvSchema: _$typebox.TObject<{
306
+ DATABASE_URL: _$typebox.TOptional<_$typebox.TString>;
304
307
  /**
305
308
  * Enable or disable push-based schema synchronization (drizzle-kit push).
306
309
  *
@@ -308,7 +311,7 @@ declare const databaseEnvSchema: _$alepha.TObject<{
308
311
  * Set to `false` in development to skip automatic schema sync
309
312
  * (e.g. when managing migrations manually).
310
313
  */
311
- DATABASE_SYNC: _$alepha.TOptional<_$alepha.TBoolean>;
314
+ DATABASE_SYNC: _$typebox.TOptional<_$typebox.TBoolean>;
312
315
  }>;
313
316
  declare module "alepha" {
314
317
  interface Env extends Partial<Static<typeof databaseEnvSchema>> {}
@@ -324,58 +327,58 @@ declare module "alepha" {
324
327
  * - Activation scheduling
325
328
  * - Audit trail (creator info)
326
329
  */
327
- declare const parameters: _$alepha_orm0.EntityPrimitive<_$alepha.TObject<{
328
- id: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$alepha.TString, typeof _$alepha_orm0.PG_PRIMARY_KEY>, typeof _$alepha_orm0.PG_DEFAULT>;
329
- createdAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$alepha.TString, typeof _$alepha_orm0.PG_CREATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
330
- updatedAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$alepha.TString, typeof _$alepha_orm0.PG_UPDATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
330
+ declare const parameters: _$alepha_orm0.EntityPrimitive<_$typebox.TObject<{
331
+ id: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TString, typeof _$alepha_orm0.PG_PRIMARY_KEY>, typeof _$alepha_orm0.PG_DEFAULT>;
332
+ createdAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TString, typeof _$alepha_orm0.PG_CREATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
333
+ updatedAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TString, typeof _$alepha_orm0.PG_UPDATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
331
334
  /**
332
335
  * Configuration name using dot notation for tree hierarchy.
333
336
  * Examples: "app.features", "app.pricing.tiers", "system.limits"
334
337
  */
335
- name: _$alepha.TString;
338
+ name: _$typebox.TString;
336
339
  /**
337
340
  * The configuration content as JSON.
338
341
  */
339
- content: _$alepha.TRecord<string, _$alepha.TAny>;
342
+ content: _$typebox.TRecord<string, _$typebox.TAny>;
340
343
  /**
341
344
  * Schema version hash for detecting schema changes.
342
345
  * Used for auto-migration when schema evolves.
343
346
  */
344
- schemaHash: _$alepha.TString;
347
+ schemaHash: _$typebox.TString;
345
348
  /**
346
349
  * When this version should become active.
347
350
  * Default is immediate (now).
348
351
  */
349
- activationDate: _$alepha.TString;
352
+ activationDate: _$typebox.TString;
350
353
  /**
351
354
  * Version number for this configuration.
352
355
  * Auto-incremented per config name.
353
356
  */
354
- version: _$alepha.TInteger;
357
+ version: _$typebox.TInteger;
355
358
  /**
356
359
  * Optional description of changes in this version.
357
360
  */
358
- changeDescription: _$alepha.TOptional<_$alepha.TString>;
361
+ changeDescription: _$typebox.TOptional<_$typebox.TString>;
359
362
  /**
360
363
  * Optional tags for filtering/categorization.
361
364
  */
362
- tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
365
+ tags: _$typebox.TOptional<_$typebox.TArray<_$typebox.TString>>;
363
366
  /**
364
367
  * Creator user ID (if available).
365
368
  */
366
- creatorId: _$alepha.TOptional<_$alepha.TString>;
369
+ creatorId: _$typebox.TOptional<_$typebox.TString>;
367
370
  /**
368
371
  * Creator display name for audit trail.
369
372
  */
370
- creatorName: _$alepha.TOptional<_$alepha.TString>;
373
+ creatorName: _$typebox.TOptional<_$typebox.TString>;
371
374
  /**
372
375
  * Previous content before this change (for rollback reference).
373
376
  */
374
- previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
377
+ previousContent: _$typebox.TOptional<_$typebox.TRecord<string, _$typebox.TAny>>;
375
378
  /**
376
379
  * Migration log if schema changed.
377
380
  */
378
- migrationLog: _$alepha.TOptional<_$alepha.TString>;
381
+ migrationLog: _$typebox.TOptional<_$typebox.TString>;
379
382
  }>>;
380
383
  type Parameter = Static<typeof parameters.schema>;
381
384
  //#endregion
@@ -500,10 +503,10 @@ declare class ParameterPrimitive<T extends TObject> extends Primitive<ParameterP
500
503
  creatorName?: string | undefined;
501
504
  previousContent?: Record<string, any> | undefined;
502
505
  migrationLog?: string | undefined;
503
- name: string;
504
506
  id: string;
505
507
  createdAt: string;
506
508
  updatedAt: string;
509
+ name: string;
507
510
  content: Record<string, any>;
508
511
  schemaHash: string;
509
512
  activationDate: string;
@@ -519,10 +522,10 @@ declare class ParameterPrimitive<T extends TObject> extends Primitive<ParameterP
519
522
  creatorName?: string | undefined;
520
523
  previousContent?: Record<string, any> | undefined;
521
524
  migrationLog?: string | undefined;
522
- name: string;
523
525
  id: string;
524
526
  createdAt: string;
525
527
  updatedAt: string;
528
+ name: string;
526
529
  content: Record<string, any>;
527
530
  schemaHash: string;
528
531
  activationDate: string;
@@ -569,18 +572,18 @@ interface SetParameterOptions {
569
572
  /**
570
573
  * Parameter status enum schema.
571
574
  */
572
- declare const parameterStatusSchema: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
575
+ declare const parameterStatusSchema: _$typebox.TUnsafe<"expired" | "current" | "next" | "future">;
573
576
  type ParameterStatus = Static<typeof parameterStatusSchema>;
574
577
  //#endregion
575
578
  //#region ../../src/api/parameters/schemas/parameterTreeNodeSchema.d.ts
576
579
  /**
577
580
  * Tree node schema for parameter tree navigation.
578
581
  */
579
- declare const parameterTreeNodeSchema: _$alepha.TObject<{
580
- name: _$alepha.TString;
581
- path: _$alepha.TString;
582
- isLeaf: _$alepha.TBoolean;
583
- children: _$alepha.TArray<_$alepha.TAny>;
582
+ declare const parameterTreeNodeSchema: _$typebox.TObject<{
583
+ name: _$typebox.TString;
584
+ path: _$typebox.TString;
585
+ isLeaf: _$typebox.TBoolean;
586
+ children: _$typebox.TArray<_$typebox.TAny>;
584
587
  }>;
585
588
  type ParameterTreeNode = Static<typeof parameterTreeNodeSchema>;
586
589
  //#endregion
@@ -617,20 +620,20 @@ declare class ParameterProvider {
617
620
  protected readonly lockProvider: LockProvider;
618
621
  protected readonly schemaValidator: SchemaValidator;
619
622
  protected readonly repo: _$alepha_orm0.Repository<TObject<{
620
- id: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$alepha.TString, typeof _$alepha_orm0.PG_PRIMARY_KEY>, typeof _$alepha_orm0.PG_DEFAULT>;
621
- createdAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$alepha.TString, typeof _$alepha_orm0.PG_CREATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
622
- updatedAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$alepha.TString, typeof _$alepha_orm0.PG_UPDATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
623
- name: _$alepha.TString;
624
- content: _$alepha.TRecord<string, _$alepha.TAny>;
625
- schemaHash: _$alepha.TString;
626
- activationDate: _$alepha.TString;
627
- version: _$alepha.TInteger;
628
- changeDescription: _$alepha.TOptional<_$alepha.TString>;
629
- tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
630
- creatorId: _$alepha.TOptional<_$alepha.TString>;
631
- creatorName: _$alepha.TOptional<_$alepha.TString>;
632
- previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
633
- migrationLog: _$alepha.TOptional<_$alepha.TString>;
623
+ id: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TString, typeof _$alepha_orm0.PG_PRIMARY_KEY>, typeof _$alepha_orm0.PG_DEFAULT>;
624
+ createdAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TString, typeof _$alepha_orm0.PG_CREATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
625
+ updatedAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$typebox.TString, typeof _$alepha_orm0.PG_UPDATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
626
+ name: _$typebox.TString;
627
+ content: _$typebox.TRecord<string, _$typebox.TAny>;
628
+ schemaHash: _$typebox.TString;
629
+ activationDate: _$typebox.TString;
630
+ version: _$typebox.TInteger;
631
+ changeDescription: _$typebox.TOptional<_$typebox.TString>;
632
+ tags: _$typebox.TOptional<_$typebox.TArray<_$typebox.TString>>;
633
+ creatorId: _$typebox.TOptional<_$typebox.TString>;
634
+ creatorName: _$typebox.TOptional<_$typebox.TString>;
635
+ previousContent: _$typebox.TOptional<_$typebox.TRecord<string, _$typebox.TAny>>;
636
+ migrationLog: _$typebox.TOptional<_$typebox.TString>;
634
637
  }>>;
635
638
  /**
636
639
  * Unique identifier for this instance (to avoid self-updates).
@@ -687,8 +690,8 @@ declare class ParameterProvider {
687
690
  */
688
691
  readonly syncTopic: _$alepha_topic0.TopicPrimitive<{
689
692
  payload: TObject<{
690
- name: _$alepha.TString;
691
- instanceId: _$alepha.TString;
693
+ name: _$typebox.TString;
694
+ instanceId: _$typebox.TString;
692
695
  }>;
693
696
  }>;
694
697
  /**
@@ -898,19 +901,19 @@ declare class AdminParameterController {
898
901
  * Useful for admin UI navigation.
899
902
  */
900
903
  getParameterTree: _$alepha_server0.ActionPrimitiveFn<{
901
- response: _$alepha.TArray<_$alepha.TObject<{
902
- name: _$alepha.TString;
903
- path: _$alepha.TString;
904
- isLeaf: _$alepha.TBoolean;
905
- children: _$alepha.TArray<_$alepha.TAny>;
904
+ response: _$typebox.TArray<_$typebox.TObject<{
905
+ name: _$typebox.TString;
906
+ path: _$typebox.TString;
907
+ isLeaf: _$typebox.TBoolean;
908
+ children: _$typebox.TArray<_$typebox.TAny>;
906
909
  }>>;
907
910
  }>;
908
911
  /**
909
912
  * List all unique parameter names.
910
913
  */
911
914
  listParameterNames: _$alepha_server0.ActionPrimitiveFn<{
912
- response: _$alepha.TObject<{
913
- names: _$alepha.TArray<_$alepha.TString>;
915
+ response: _$typebox.TObject<{
916
+ names: _$typebox.TArray<_$typebox.TString>;
914
917
  }>;
915
918
  }>;
916
919
  /**
@@ -918,30 +921,30 @@ declare class AdminParameterController {
918
921
  * Returns all versions with calculated status.
919
922
  */
920
923
  getHistory: _$alepha_server0.ActionPrimitiveFn<{
921
- params: _$alepha.TObject<{
922
- name: _$alepha.TString;
924
+ params: _$typebox.TObject<{
925
+ name: _$typebox.TString;
923
926
  }>;
924
- query: _$alepha.TObject<{
925
- limit: _$alepha.TOptional<_$alepha.TInteger>;
926
- offset: _$alepha.TOptional<_$alepha.TInteger>;
927
+ query: _$typebox.TObject<{
928
+ limit: _$typebox.TOptional<_$typebox.TInteger>;
929
+ offset: _$typebox.TOptional<_$typebox.TInteger>;
927
930
  }>;
928
- response: _$alepha.TObject<{
929
- versions: _$alepha.TArray<_$alepha.TObject<{
930
- id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
931
- createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
932
- updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
933
- name: _$alepha.TString;
934
- content: _$alepha.TRecord<string, _$alepha.TAny>;
935
- schemaHash: _$alepha.TString;
936
- activationDate: _$alepha.TString;
937
- version: _$alepha.TInteger;
938
- changeDescription: _$alepha.TOptional<_$alepha.TString>;
939
- tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
940
- creatorId: _$alepha.TOptional<_$alepha.TString>;
941
- creatorName: _$alepha.TOptional<_$alepha.TString>;
942
- previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
943
- migrationLog: _$alepha.TOptional<_$alepha.TString>;
944
- status: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
931
+ response: _$typebox.TObject<{
932
+ versions: _$typebox.TArray<_$typebox.TObject<{
933
+ id: PgAttr<PgAttr<_$typebox.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
934
+ createdAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
935
+ updatedAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
936
+ name: _$typebox.TString;
937
+ content: _$typebox.TRecord<string, _$typebox.TAny>;
938
+ schemaHash: _$typebox.TString;
939
+ activationDate: _$typebox.TString;
940
+ version: _$typebox.TInteger;
941
+ changeDescription: _$typebox.TOptional<_$typebox.TString>;
942
+ tags: _$typebox.TOptional<_$typebox.TArray<_$typebox.TString>>;
943
+ creatorId: _$typebox.TOptional<_$typebox.TString>;
944
+ creatorName: _$typebox.TOptional<_$typebox.TString>;
945
+ previousContent: _$typebox.TOptional<_$typebox.TRecord<string, _$typebox.TAny>>;
946
+ migrationLog: _$typebox.TOptional<_$typebox.TString>;
947
+ status: _$typebox.TUnsafe<"expired" | "current" | "next" | "future">;
945
948
  }>>;
946
949
  }>;
947
950
  }>;
@@ -951,74 +954,74 @@ declare class AdminParameterController {
951
954
  * even if no versions exist in the database yet.
952
955
  */
953
956
  getCurrent: _$alepha_server0.ActionPrimitiveFn<{
954
- params: _$alepha.TObject<{
955
- name: _$alepha.TString;
957
+ params: _$typebox.TObject<{
958
+ name: _$typebox.TString;
956
959
  }>;
957
- response: _$alepha.TObject<{
958
- current: _$alepha.TOptional<_$alepha.TObject<{
959
- id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
960
- createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
961
- updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
962
- name: _$alepha.TString;
963
- content: _$alepha.TRecord<string, _$alepha.TAny>;
964
- schemaHash: _$alepha.TString;
965
- activationDate: _$alepha.TString;
966
- version: _$alepha.TInteger;
967
- changeDescription: _$alepha.TOptional<_$alepha.TString>;
968
- tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
969
- creatorId: _$alepha.TOptional<_$alepha.TString>;
970
- creatorName: _$alepha.TOptional<_$alepha.TString>;
971
- previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
972
- migrationLog: _$alepha.TOptional<_$alepha.TString>;
973
- status: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
960
+ response: _$typebox.TObject<{
961
+ current: _$typebox.TOptional<_$typebox.TObject<{
962
+ id: PgAttr<PgAttr<_$typebox.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
963
+ createdAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
964
+ updatedAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
965
+ name: _$typebox.TString;
966
+ content: _$typebox.TRecord<string, _$typebox.TAny>;
967
+ schemaHash: _$typebox.TString;
968
+ activationDate: _$typebox.TString;
969
+ version: _$typebox.TInteger;
970
+ changeDescription: _$typebox.TOptional<_$typebox.TString>;
971
+ tags: _$typebox.TOptional<_$typebox.TArray<_$typebox.TString>>;
972
+ creatorId: _$typebox.TOptional<_$typebox.TString>;
973
+ creatorName: _$typebox.TOptional<_$typebox.TString>;
974
+ previousContent: _$typebox.TOptional<_$typebox.TRecord<string, _$typebox.TAny>>;
975
+ migrationLog: _$typebox.TOptional<_$typebox.TString>;
976
+ status: _$typebox.TUnsafe<"expired" | "current" | "next" | "future">;
974
977
  }>>;
975
- next: _$alepha.TOptional<_$alepha.TObject<{
976
- id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
977
- createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
978
- updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
979
- name: _$alepha.TString;
980
- content: _$alepha.TRecord<string, _$alepha.TAny>;
981
- schemaHash: _$alepha.TString;
982
- activationDate: _$alepha.TString;
983
- version: _$alepha.TInteger;
984
- changeDescription: _$alepha.TOptional<_$alepha.TString>;
985
- tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
986
- creatorId: _$alepha.TOptional<_$alepha.TString>;
987
- creatorName: _$alepha.TOptional<_$alepha.TString>;
988
- previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
989
- migrationLog: _$alepha.TOptional<_$alepha.TString>;
990
- status: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
978
+ next: _$typebox.TOptional<_$typebox.TObject<{
979
+ id: PgAttr<PgAttr<_$typebox.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
980
+ createdAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
981
+ updatedAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
982
+ name: _$typebox.TString;
983
+ content: _$typebox.TRecord<string, _$typebox.TAny>;
984
+ schemaHash: _$typebox.TString;
985
+ activationDate: _$typebox.TString;
986
+ version: _$typebox.TInteger;
987
+ changeDescription: _$typebox.TOptional<_$typebox.TString>;
988
+ tags: _$typebox.TOptional<_$typebox.TArray<_$typebox.TString>>;
989
+ creatorId: _$typebox.TOptional<_$typebox.TString>;
990
+ creatorName: _$typebox.TOptional<_$typebox.TString>;
991
+ previousContent: _$typebox.TOptional<_$typebox.TRecord<string, _$typebox.TAny>>;
992
+ migrationLog: _$typebox.TOptional<_$typebox.TString>;
993
+ status: _$typebox.TUnsafe<"expired" | "current" | "next" | "future">;
991
994
  }>>;
992
- defaultValue: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
993
- currentValue: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
994
- schema: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
995
+ defaultValue: _$typebox.TOptional<_$typebox.TRecord<string, _$typebox.TAny>>;
996
+ currentValue: _$typebox.TOptional<_$typebox.TRecord<string, _$typebox.TAny>>;
997
+ schema: _$typebox.TOptional<_$typebox.TRecord<string, _$typebox.TAny>>;
995
998
  }>;
996
999
  }>;
997
1000
  /**
998
1001
  * Get a specific version of a parameter.
999
1002
  */
1000
1003
  getVersion: _$alepha_server0.ActionPrimitiveFn<{
1001
- params: _$alepha.TObject<{
1002
- name: _$alepha.TString;
1003
- version: _$alepha.TInteger;
1004
+ params: _$typebox.TObject<{
1005
+ name: _$typebox.TString;
1006
+ version: _$typebox.TInteger;
1004
1007
  }>;
1005
- response: _$alepha.TObject<{
1006
- parameter: _$alepha.TOptional<_$alepha.TObject<{
1007
- id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1008
- createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1009
- updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1010
- name: _$alepha.TString;
1011
- content: _$alepha.TRecord<string, _$alepha.TAny>;
1012
- schemaHash: _$alepha.TString;
1013
- activationDate: _$alepha.TString;
1014
- version: _$alepha.TInteger;
1015
- changeDescription: _$alepha.TOptional<_$alepha.TString>;
1016
- tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
1017
- creatorId: _$alepha.TOptional<_$alepha.TString>;
1018
- creatorName: _$alepha.TOptional<_$alepha.TString>;
1019
- previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
1020
- migrationLog: _$alepha.TOptional<_$alepha.TString>;
1021
- status: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
1008
+ response: _$typebox.TObject<{
1009
+ parameter: _$typebox.TOptional<_$typebox.TObject<{
1010
+ id: PgAttr<PgAttr<_$typebox.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1011
+ createdAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1012
+ updatedAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1013
+ name: _$typebox.TString;
1014
+ content: _$typebox.TRecord<string, _$typebox.TAny>;
1015
+ schemaHash: _$typebox.TString;
1016
+ activationDate: _$typebox.TString;
1017
+ version: _$typebox.TInteger;
1018
+ changeDescription: _$typebox.TOptional<_$typebox.TString>;
1019
+ tags: _$typebox.TOptional<_$typebox.TArray<_$typebox.TString>>;
1020
+ creatorId: _$typebox.TOptional<_$typebox.TString>;
1021
+ creatorName: _$typebox.TOptional<_$typebox.TString>;
1022
+ previousContent: _$typebox.TOptional<_$typebox.TRecord<string, _$typebox.TAny>>;
1023
+ migrationLog: _$typebox.TOptional<_$typebox.TString>;
1024
+ status: _$typebox.TUnsafe<"expired" | "current" | "next" | "future">;
1022
1025
  }>>;
1023
1026
  }>;
1024
1027
  }>;
@@ -1026,65 +1029,65 @@ declare class AdminParameterController {
1026
1029
  * Create a new parameter version.
1027
1030
  */
1028
1031
  createVersion: _$alepha_server0.ActionPrimitiveFn<{
1029
- params: _$alepha.TObject<{
1030
- name: _$alepha.TString;
1032
+ params: _$typebox.TObject<{
1033
+ name: _$typebox.TString;
1031
1034
  }>;
1032
- body: _$alepha.TObject<{
1033
- content: _$alepha.TRecord<string, _$alepha.TAny>;
1034
- schemaHash: _$alepha.TString;
1035
- changeDescription: _$alepha.TOptional<_$alepha.TString>;
1036
- tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
1037
- creatorId: _$alepha.TOptional<_$alepha.TString>;
1038
- creatorName: _$alepha.TOptional<_$alepha.TString>;
1039
- activationDate: _$alepha.TOptional<_$alepha.TString>;
1035
+ body: _$typebox.TObject<{
1036
+ content: _$typebox.TRecord<string, _$typebox.TAny>;
1037
+ schemaHash: _$typebox.TString;
1038
+ changeDescription: _$typebox.TOptional<_$typebox.TString>;
1039
+ tags: _$typebox.TOptional<_$typebox.TArray<_$typebox.TString>>;
1040
+ creatorId: _$typebox.TOptional<_$typebox.TString>;
1041
+ creatorName: _$typebox.TOptional<_$typebox.TString>;
1042
+ activationDate: _$typebox.TOptional<_$typebox.TString>;
1040
1043
  }>;
1041
- response: _$alepha.TObject<{
1042
- id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1043
- createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1044
- updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1045
- name: _$alepha.TString;
1046
- content: _$alepha.TRecord<string, _$alepha.TAny>;
1047
- schemaHash: _$alepha.TString;
1048
- activationDate: _$alepha.TString;
1049
- version: _$alepha.TInteger;
1050
- changeDescription: _$alepha.TOptional<_$alepha.TString>;
1051
- tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
1052
- creatorId: _$alepha.TOptional<_$alepha.TString>;
1053
- creatorName: _$alepha.TOptional<_$alepha.TString>;
1054
- previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
1055
- migrationLog: _$alepha.TOptional<_$alepha.TString>;
1056
- status: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
1044
+ response: _$typebox.TObject<{
1045
+ id: PgAttr<PgAttr<_$typebox.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1046
+ createdAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1047
+ updatedAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1048
+ name: _$typebox.TString;
1049
+ content: _$typebox.TRecord<string, _$typebox.TAny>;
1050
+ schemaHash: _$typebox.TString;
1051
+ activationDate: _$typebox.TString;
1052
+ version: _$typebox.TInteger;
1053
+ changeDescription: _$typebox.TOptional<_$typebox.TString>;
1054
+ tags: _$typebox.TOptional<_$typebox.TArray<_$typebox.TString>>;
1055
+ creatorId: _$typebox.TOptional<_$typebox.TString>;
1056
+ creatorName: _$typebox.TOptional<_$typebox.TString>;
1057
+ previousContent: _$typebox.TOptional<_$typebox.TRecord<string, _$typebox.TAny>>;
1058
+ migrationLog: _$typebox.TOptional<_$typebox.TString>;
1059
+ status: _$typebox.TUnsafe<"expired" | "current" | "next" | "future">;
1057
1060
  }>;
1058
1061
  }>;
1059
1062
  /**
1060
1063
  * Rollback to a previous version.
1061
1064
  */
1062
1065
  rollback: _$alepha_server0.ActionPrimitiveFn<{
1063
- params: _$alepha.TObject<{
1064
- name: _$alepha.TString;
1066
+ params: _$typebox.TObject<{
1067
+ name: _$typebox.TString;
1065
1068
  }>;
1066
- body: _$alepha.TObject<{
1067
- changeDescription: _$alepha.TOptional<_$alepha.TString>;
1068
- creatorId: _$alepha.TOptional<_$alepha.TString>;
1069
- creatorName: _$alepha.TOptional<_$alepha.TString>;
1070
- targetVersion: _$alepha.TInteger;
1069
+ body: _$typebox.TObject<{
1070
+ changeDescription: _$typebox.TOptional<_$typebox.TString>;
1071
+ creatorId: _$typebox.TOptional<_$typebox.TString>;
1072
+ creatorName: _$typebox.TOptional<_$typebox.TString>;
1073
+ targetVersion: _$typebox.TInteger;
1071
1074
  }>;
1072
- response: _$alepha.TObject<{
1073
- id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1074
- createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1075
- updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1076
- name: _$alepha.TString;
1077
- content: _$alepha.TRecord<string, _$alepha.TAny>;
1078
- schemaHash: _$alepha.TString;
1079
- activationDate: _$alepha.TString;
1080
- version: _$alepha.TInteger;
1081
- changeDescription: _$alepha.TOptional<_$alepha.TString>;
1082
- tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
1083
- creatorId: _$alepha.TOptional<_$alepha.TString>;
1084
- creatorName: _$alepha.TOptional<_$alepha.TString>;
1085
- previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
1086
- migrationLog: _$alepha.TOptional<_$alepha.TString>;
1087
- status: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
1075
+ response: _$typebox.TObject<{
1076
+ id: PgAttr<PgAttr<_$typebox.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1077
+ createdAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1078
+ updatedAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1079
+ name: _$typebox.TString;
1080
+ content: _$typebox.TRecord<string, _$typebox.TAny>;
1081
+ schemaHash: _$typebox.TString;
1082
+ activationDate: _$typebox.TString;
1083
+ version: _$typebox.TInteger;
1084
+ changeDescription: _$typebox.TOptional<_$typebox.TString>;
1085
+ tags: _$typebox.TOptional<_$typebox.TArray<_$typebox.TString>>;
1086
+ creatorId: _$typebox.TOptional<_$typebox.TString>;
1087
+ creatorName: _$typebox.TOptional<_$typebox.TString>;
1088
+ previousContent: _$typebox.TOptional<_$typebox.TRecord<string, _$typebox.TAny>>;
1089
+ migrationLog: _$typebox.TOptional<_$typebox.TString>;
1090
+ status: _$typebox.TUnsafe<"expired" | "current" | "next" | "future">;
1088
1091
  }>;
1089
1092
  }>;
1090
1093
  /**
@@ -1092,54 +1095,54 @@ declare class AdminParameterController {
1092
1095
  * Creates a new version with the same content but immediate activation.
1093
1096
  */
1094
1097
  activateNow: _$alepha_server0.ActionPrimitiveFn<{
1095
- params: _$alepha.TObject<{
1096
- name: _$alepha.TString;
1098
+ params: _$typebox.TObject<{
1099
+ name: _$typebox.TString;
1097
1100
  }>;
1098
- body: _$alepha.TObject<{
1099
- version: _$alepha.TInteger;
1100
- creatorId: _$alepha.TOptional<_$alepha.TString>;
1101
- creatorName: _$alepha.TOptional<_$alepha.TString>;
1101
+ body: _$typebox.TObject<{
1102
+ version: _$typebox.TInteger;
1103
+ creatorId: _$typebox.TOptional<_$typebox.TString>;
1104
+ creatorName: _$typebox.TOptional<_$typebox.TString>;
1102
1105
  }>;
1103
- response: _$alepha.TObject<{
1104
- id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1105
- createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1106
- updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1107
- name: _$alepha.TString;
1108
- content: _$alepha.TRecord<string, _$alepha.TAny>;
1109
- schemaHash: _$alepha.TString;
1110
- activationDate: _$alepha.TString;
1111
- version: _$alepha.TInteger;
1112
- changeDescription: _$alepha.TOptional<_$alepha.TString>;
1113
- tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
1114
- creatorId: _$alepha.TOptional<_$alepha.TString>;
1115
- creatorName: _$alepha.TOptional<_$alepha.TString>;
1116
- previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
1117
- migrationLog: _$alepha.TOptional<_$alepha.TString>;
1118
- status: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
1106
+ response: _$typebox.TObject<{
1107
+ id: PgAttr<PgAttr<_$typebox.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1108
+ createdAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1109
+ updatedAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1110
+ name: _$typebox.TString;
1111
+ content: _$typebox.TRecord<string, _$typebox.TAny>;
1112
+ schemaHash: _$typebox.TString;
1113
+ activationDate: _$typebox.TString;
1114
+ version: _$typebox.TInteger;
1115
+ changeDescription: _$typebox.TOptional<_$typebox.TString>;
1116
+ tags: _$typebox.TOptional<_$typebox.TArray<_$typebox.TString>>;
1117
+ creatorId: _$typebox.TOptional<_$typebox.TString>;
1118
+ creatorName: _$typebox.TOptional<_$typebox.TString>;
1119
+ previousContent: _$typebox.TOptional<_$typebox.TRecord<string, _$typebox.TAny>>;
1120
+ migrationLog: _$typebox.TOptional<_$typebox.TString>;
1121
+ status: _$typebox.TUnsafe<"expired" | "current" | "next" | "future">;
1119
1122
  }>;
1120
1123
  }>;
1121
1124
  /**
1122
1125
  * Delete all versions of a parameter.
1123
1126
  */
1124
1127
  deleteParameter: _$alepha_server0.ActionPrimitiveFn<{
1125
- params: _$alepha.TObject<{
1126
- name: _$alepha.TString;
1128
+ params: _$typebox.TObject<{
1129
+ name: _$typebox.TString;
1127
1130
  }>;
1128
- response: _$alepha.TObject<{
1129
- ok: _$alepha.TBoolean;
1130
- id: _$alepha.TOptional<_$alepha.TUnion<[_$alepha.TString, _$alepha.TInteger]>>;
1131
- count: _$alepha.TOptional<_$alepha.TNumber>;
1131
+ response: _$typebox.TObject<{
1132
+ ok: _$typebox.TBoolean;
1133
+ id: _$typebox.TOptional<_$typebox.TUnion<[_$typebox.TString, _$typebox.TInteger]>>;
1134
+ count: _$typebox.TOptional<_$typebox.TNumber>;
1132
1135
  }>;
1133
1136
  }>;
1134
1137
  /**
1135
1138
  * Delete many parameters (all versions of each) in one request.
1136
1139
  */
1137
1140
  deleteParameters: _$alepha_server0.ActionPrimitiveFn<{
1138
- body: _$alepha.TObject<{
1139
- names: _$alepha.TArray<_$alepha.TString>;
1141
+ body: _$typebox.TObject<{
1142
+ names: _$typebox.TArray<_$typebox.TString>;
1140
1143
  }>;
1141
- response: _$alepha.TObject<{
1142
- deleted: _$alepha.TArray<_$alepha.TString>;
1144
+ response: _$typebox.TObject<{
1145
+ deleted: _$typebox.TArray<_$typebox.TString>;
1143
1146
  }>;
1144
1147
  }>;
1145
1148
  }
@@ -1149,10 +1152,10 @@ declare class AdminParameterController {
1149
1152
  * Activate parameter body schema.
1150
1153
  * Uses t.pick for version and creator fields.
1151
1154
  */
1152
- declare const activateParameterBodySchema: _$alepha.TObject<{
1153
- version: _$alepha.TInteger;
1154
- creatorId: _$alepha.TOptional<_$alepha.TString>;
1155
- creatorName: _$alepha.TOptional<_$alepha.TString>;
1155
+ declare const activateParameterBodySchema: _$typebox.TObject<{
1156
+ version: _$typebox.TInteger;
1157
+ creatorId: _$typebox.TOptional<_$typebox.TString>;
1158
+ creatorName: _$typebox.TOptional<_$typebox.TString>;
1156
1159
  }>;
1157
1160
  type ActivateParameterBody = Static<typeof activateParameterBodySchema>;
1158
1161
  //#endregion
@@ -1161,14 +1164,14 @@ type ActivateParameterBody = Static<typeof activateParameterBodySchema>;
1161
1164
  * Create parameter version body schema.
1162
1165
  * Uses t.pick to derive from entity, with required fields made non-optional.
1163
1166
  */
1164
- declare const createParameterVersionBodySchema: _$alepha.TObject<{
1165
- content: _$alepha.TRecord<string, _$alepha.TAny>;
1166
- schemaHash: _$alepha.TString;
1167
- changeDescription: _$alepha.TOptional<_$alepha.TString>;
1168
- tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
1169
- creatorId: _$alepha.TOptional<_$alepha.TString>;
1170
- creatorName: _$alepha.TOptional<_$alepha.TString>;
1171
- activationDate: _$alepha.TOptional<_$alepha.TString>;
1167
+ declare const createParameterVersionBodySchema: _$typebox.TObject<{
1168
+ content: _$typebox.TRecord<string, _$typebox.TAny>;
1169
+ schemaHash: _$typebox.TString;
1170
+ changeDescription: _$typebox.TOptional<_$typebox.TString>;
1171
+ tags: _$typebox.TOptional<_$typebox.TArray<_$typebox.TString>>;
1172
+ creatorId: _$typebox.TOptional<_$typebox.TString>;
1173
+ creatorName: _$typebox.TOptional<_$typebox.TString>;
1174
+ activationDate: _$typebox.TOptional<_$typebox.TString>;
1172
1175
  }>;
1173
1176
  type CreateParameterVersionBody = Static<typeof createParameterVersionBodySchema>;
1174
1177
  //#endregion
@@ -1177,44 +1180,44 @@ type CreateParameterVersionBody = Static<typeof createParameterVersionBodySchema
1177
1180
  * Current parameter response schema.
1178
1181
  * Includes current version, next scheduled version, and defaults.
1179
1182
  */
1180
- declare const parameterCurrentResponseSchema: _$alepha.TObject<{
1181
- current: _$alepha.TOptional<_$alepha.TObject<{
1182
- id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1183
- createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1184
- updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1185
- name: _$alepha.TString;
1186
- content: _$alepha.TRecord<string, _$alepha.TAny>;
1187
- schemaHash: _$alepha.TString;
1188
- activationDate: _$alepha.TString;
1189
- version: _$alepha.TInteger;
1190
- changeDescription: _$alepha.TOptional<_$alepha.TString>;
1191
- tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
1192
- creatorId: _$alepha.TOptional<_$alepha.TString>;
1193
- creatorName: _$alepha.TOptional<_$alepha.TString>;
1194
- previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
1195
- migrationLog: _$alepha.TOptional<_$alepha.TString>;
1196
- status: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
1183
+ declare const parameterCurrentResponseSchema: _$typebox.TObject<{
1184
+ current: _$typebox.TOptional<_$typebox.TObject<{
1185
+ id: PgAttr<PgAttr<_$typebox.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1186
+ createdAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1187
+ updatedAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1188
+ name: _$typebox.TString;
1189
+ content: _$typebox.TRecord<string, _$typebox.TAny>;
1190
+ schemaHash: _$typebox.TString;
1191
+ activationDate: _$typebox.TString;
1192
+ version: _$typebox.TInteger;
1193
+ changeDescription: _$typebox.TOptional<_$typebox.TString>;
1194
+ tags: _$typebox.TOptional<_$typebox.TArray<_$typebox.TString>>;
1195
+ creatorId: _$typebox.TOptional<_$typebox.TString>;
1196
+ creatorName: _$typebox.TOptional<_$typebox.TString>;
1197
+ previousContent: _$typebox.TOptional<_$typebox.TRecord<string, _$typebox.TAny>>;
1198
+ migrationLog: _$typebox.TOptional<_$typebox.TString>;
1199
+ status: _$typebox.TUnsafe<"expired" | "current" | "next" | "future">;
1197
1200
  }>>;
1198
- next: _$alepha.TOptional<_$alepha.TObject<{
1199
- id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1200
- createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1201
- updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1202
- name: _$alepha.TString;
1203
- content: _$alepha.TRecord<string, _$alepha.TAny>;
1204
- schemaHash: _$alepha.TString;
1205
- activationDate: _$alepha.TString;
1206
- version: _$alepha.TInteger;
1207
- changeDescription: _$alepha.TOptional<_$alepha.TString>;
1208
- tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
1209
- creatorId: _$alepha.TOptional<_$alepha.TString>;
1210
- creatorName: _$alepha.TOptional<_$alepha.TString>;
1211
- previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
1212
- migrationLog: _$alepha.TOptional<_$alepha.TString>;
1213
- status: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
1201
+ next: _$typebox.TOptional<_$typebox.TObject<{
1202
+ id: PgAttr<PgAttr<_$typebox.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1203
+ createdAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1204
+ updatedAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1205
+ name: _$typebox.TString;
1206
+ content: _$typebox.TRecord<string, _$typebox.TAny>;
1207
+ schemaHash: _$typebox.TString;
1208
+ activationDate: _$typebox.TString;
1209
+ version: _$typebox.TInteger;
1210
+ changeDescription: _$typebox.TOptional<_$typebox.TString>;
1211
+ tags: _$typebox.TOptional<_$typebox.TArray<_$typebox.TString>>;
1212
+ creatorId: _$typebox.TOptional<_$typebox.TString>;
1213
+ creatorName: _$typebox.TOptional<_$typebox.TString>;
1214
+ previousContent: _$typebox.TOptional<_$typebox.TRecord<string, _$typebox.TAny>>;
1215
+ migrationLog: _$typebox.TOptional<_$typebox.TString>;
1216
+ status: _$typebox.TUnsafe<"expired" | "current" | "next" | "future">;
1214
1217
  }>>;
1215
- defaultValue: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
1216
- currentValue: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
1217
- schema: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
1218
+ defaultValue: _$typebox.TOptional<_$typebox.TRecord<string, _$typebox.TAny>>;
1219
+ currentValue: _$typebox.TOptional<_$typebox.TRecord<string, _$typebox.TAny>>;
1220
+ schema: _$typebox.TOptional<_$typebox.TRecord<string, _$typebox.TAny>>;
1218
1221
  }>;
1219
1222
  type ParameterCurrentResponse = Static<typeof parameterCurrentResponseSchema>;
1220
1223
  //#endregion
@@ -1222,23 +1225,23 @@ type ParameterCurrentResponse = Static<typeof parameterCurrentResponseSchema>;
1222
1225
  /**
1223
1226
  * Parameter history response schema.
1224
1227
  */
1225
- declare const parameterHistoryResponseSchema: _$alepha.TObject<{
1226
- versions: _$alepha.TArray<_$alepha.TObject<{
1227
- id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1228
- createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1229
- updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1230
- name: _$alepha.TString;
1231
- content: _$alepha.TRecord<string, _$alepha.TAny>;
1232
- schemaHash: _$alepha.TString;
1233
- activationDate: _$alepha.TString;
1234
- version: _$alepha.TInteger;
1235
- changeDescription: _$alepha.TOptional<_$alepha.TString>;
1236
- tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
1237
- creatorId: _$alepha.TOptional<_$alepha.TString>;
1238
- creatorName: _$alepha.TOptional<_$alepha.TString>;
1239
- previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
1240
- migrationLog: _$alepha.TOptional<_$alepha.TString>;
1241
- status: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
1228
+ declare const parameterHistoryResponseSchema: _$typebox.TObject<{
1229
+ versions: _$typebox.TArray<_$typebox.TObject<{
1230
+ id: PgAttr<PgAttr<_$typebox.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1231
+ createdAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1232
+ updatedAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1233
+ name: _$typebox.TString;
1234
+ content: _$typebox.TRecord<string, _$typebox.TAny>;
1235
+ schemaHash: _$typebox.TString;
1236
+ activationDate: _$typebox.TString;
1237
+ version: _$typebox.TInteger;
1238
+ changeDescription: _$typebox.TOptional<_$typebox.TString>;
1239
+ tags: _$typebox.TOptional<_$typebox.TArray<_$typebox.TString>>;
1240
+ creatorId: _$typebox.TOptional<_$typebox.TString>;
1241
+ creatorName: _$typebox.TOptional<_$typebox.TString>;
1242
+ previousContent: _$typebox.TOptional<_$typebox.TRecord<string, _$typebox.TAny>>;
1243
+ migrationLog: _$typebox.TOptional<_$typebox.TString>;
1244
+ status: _$typebox.TUnsafe<"expired" | "current" | "next" | "future">;
1242
1245
  }>>;
1243
1246
  }>;
1244
1247
  type ParameterHistoryResponse = Static<typeof parameterHistoryResponseSchema>;
@@ -1248,16 +1251,16 @@ type ParameterHistoryResponse = Static<typeof parameterHistoryResponseSchema>;
1248
1251
  * Parameter name param schema.
1249
1252
  * Uses t.pick from entity for consistency.
1250
1253
  */
1251
- declare const parameterNameParamSchema: _$alepha.TObject<{
1252
- name: _$alepha.TString;
1254
+ declare const parameterNameParamSchema: _$typebox.TObject<{
1255
+ name: _$typebox.TString;
1253
1256
  }>;
1254
1257
  //#endregion
1255
1258
  //#region ../../src/api/parameters/schemas/parameterNamesResponseSchema.d.ts
1256
1259
  /**
1257
1260
  * Parameter names list response schema.
1258
1261
  */
1259
- declare const parameterNamesResponseSchema: _$alepha.TObject<{
1260
- names: _$alepha.TArray<_$alepha.TString>;
1262
+ declare const parameterNamesResponseSchema: _$typebox.TObject<{
1263
+ names: _$typebox.TArray<_$typebox.TString>;
1261
1264
  }>;
1262
1265
  type ParameterNamesResponse = Static<typeof parameterNamesResponseSchema>;
1263
1266
  //#endregion
@@ -1267,22 +1270,22 @@ type ParameterNamesResponse = Static<typeof parameterNamesResponseSchema>;
1267
1270
  * Extends the entity schema with a calculated status field.
1268
1271
  * Status is derived from activationDate at query time, not stored.
1269
1272
  */
1270
- declare const parameterResponseSchema: _$alepha.TObject<{
1271
- id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1272
- createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1273
- updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1274
- name: _$alepha.TString;
1275
- content: _$alepha.TRecord<string, _$alepha.TAny>;
1276
- schemaHash: _$alepha.TString;
1277
- activationDate: _$alepha.TString;
1278
- version: _$alepha.TInteger;
1279
- changeDescription: _$alepha.TOptional<_$alepha.TString>;
1280
- tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
1281
- creatorId: _$alepha.TOptional<_$alepha.TString>;
1282
- creatorName: _$alepha.TOptional<_$alepha.TString>;
1283
- previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
1284
- migrationLog: _$alepha.TOptional<_$alepha.TString>;
1285
- status: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
1273
+ declare const parameterResponseSchema: _$typebox.TObject<{
1274
+ id: PgAttr<PgAttr<_$typebox.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1275
+ createdAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1276
+ updatedAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1277
+ name: _$typebox.TString;
1278
+ content: _$typebox.TRecord<string, _$typebox.TAny>;
1279
+ schemaHash: _$typebox.TString;
1280
+ activationDate: _$typebox.TString;
1281
+ version: _$typebox.TInteger;
1282
+ changeDescription: _$typebox.TOptional<_$typebox.TString>;
1283
+ tags: _$typebox.TOptional<_$typebox.TArray<_$typebox.TString>>;
1284
+ creatorId: _$typebox.TOptional<_$typebox.TString>;
1285
+ creatorName: _$typebox.TOptional<_$typebox.TString>;
1286
+ previousContent: _$typebox.TOptional<_$typebox.TRecord<string, _$typebox.TAny>>;
1287
+ migrationLog: _$typebox.TOptional<_$typebox.TString>;
1288
+ status: _$typebox.TUnsafe<"expired" | "current" | "next" | "future">;
1286
1289
  }>;
1287
1290
  type ParameterResponse = Static<typeof parameterResponseSchema>;
1288
1291
  //#endregion
@@ -1291,32 +1294,32 @@ type ParameterResponse = Static<typeof parameterResponseSchema>;
1291
1294
  * Parameter name and version param schema.
1292
1295
  * Uses t.pick from entity for consistency.
1293
1296
  */
1294
- declare const parameterVersionParamSchema: _$alepha.TObject<{
1295
- name: _$alepha.TString;
1296
- version: _$alepha.TInteger;
1297
+ declare const parameterVersionParamSchema: _$typebox.TObject<{
1298
+ name: _$typebox.TString;
1299
+ version: _$typebox.TInteger;
1297
1300
  }>;
1298
1301
  //#endregion
1299
1302
  //#region ../../src/api/parameters/schemas/parameterVersionResponseSchema.d.ts
1300
1303
  /**
1301
1304
  * Parameter version response schema.
1302
1305
  */
1303
- declare const parameterVersionResponseSchema: _$alepha.TObject<{
1304
- parameter: _$alepha.TOptional<_$alepha.TObject<{
1305
- id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1306
- createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1307
- updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1308
- name: _$alepha.TString;
1309
- content: _$alepha.TRecord<string, _$alepha.TAny>;
1310
- schemaHash: _$alepha.TString;
1311
- activationDate: _$alepha.TString;
1312
- version: _$alepha.TInteger;
1313
- changeDescription: _$alepha.TOptional<_$alepha.TString>;
1314
- tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
1315
- creatorId: _$alepha.TOptional<_$alepha.TString>;
1316
- creatorName: _$alepha.TOptional<_$alepha.TString>;
1317
- previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
1318
- migrationLog: _$alepha.TOptional<_$alepha.TString>;
1319
- status: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
1306
+ declare const parameterVersionResponseSchema: _$typebox.TObject<{
1307
+ parameter: _$typebox.TOptional<_$typebox.TObject<{
1308
+ id: PgAttr<PgAttr<_$typebox.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
1309
+ createdAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
1310
+ updatedAt: PgAttr<PgAttr<_$typebox.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
1311
+ name: _$typebox.TString;
1312
+ content: _$typebox.TRecord<string, _$typebox.TAny>;
1313
+ schemaHash: _$typebox.TString;
1314
+ activationDate: _$typebox.TString;
1315
+ version: _$typebox.TInteger;
1316
+ changeDescription: _$typebox.TOptional<_$typebox.TString>;
1317
+ tags: _$typebox.TOptional<_$typebox.TArray<_$typebox.TString>>;
1318
+ creatorId: _$typebox.TOptional<_$typebox.TString>;
1319
+ creatorName: _$typebox.TOptional<_$typebox.TString>;
1320
+ previousContent: _$typebox.TOptional<_$typebox.TRecord<string, _$typebox.TAny>>;
1321
+ migrationLog: _$typebox.TOptional<_$typebox.TString>;
1322
+ status: _$typebox.TUnsafe<"expired" | "current" | "next" | "future">;
1320
1323
  }>>;
1321
1324
  }>;
1322
1325
  type ParameterVersionResponse = Static<typeof parameterVersionResponseSchema>;
@@ -1326,11 +1329,11 @@ type ParameterVersionResponse = Static<typeof parameterVersionResponseSchema>;
1326
1329
  * Rollback parameter body schema.
1327
1330
  * Uses t.pick for creator fields, adds targetVersion.
1328
1331
  */
1329
- declare const rollbackParameterBodySchema: _$alepha.TObject<{
1330
- changeDescription: _$alepha.TOptional<_$alepha.TString>;
1331
- creatorId: _$alepha.TOptional<_$alepha.TString>;
1332
- creatorName: _$alepha.TOptional<_$alepha.TString>;
1333
- targetVersion: _$alepha.TInteger;
1332
+ declare const rollbackParameterBodySchema: _$typebox.TObject<{
1333
+ changeDescription: _$typebox.TOptional<_$typebox.TString>;
1334
+ creatorId: _$typebox.TOptional<_$typebox.TString>;
1335
+ creatorName: _$typebox.TOptional<_$typebox.TString>;
1336
+ targetVersion: _$typebox.TInteger;
1334
1337
  }>;
1335
1338
  type RollbackParameterBody = Static<typeof rollbackParameterBodySchema>;
1336
1339
  //#endregion