alepha 0.19.0 → 0.19.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +6 -9
- package/dist/api/audits/index.d.ts +378 -346
- package/dist/api/audits/index.d.ts.map +1 -1
- package/dist/api/files/index.d.ts +216 -184
- package/dist/api/files/index.d.ts.map +1 -1
- package/dist/api/files/index.js +5 -1
- package/dist/api/files/index.js.map +1 -1
- package/dist/api/jobs/index.d.ts +528 -496
- package/dist/api/jobs/index.d.ts.map +1 -1
- package/dist/api/jobs/index.js +3 -3
- package/dist/api/jobs/index.js.map +1 -1
- package/dist/api/keys/index.d.ts +202 -202
- package/dist/api/keys/index.d.ts.map +1 -1
- package/dist/api/notifications/index.d.ts +152 -152
- package/dist/api/notifications/index.d.ts.map +1 -1
- package/dist/api/organizations/index.browser.js +48 -0
- package/dist/api/organizations/index.browser.js.map +1 -0
- package/dist/api/organizations/index.d.ts +516 -0
- package/dist/api/organizations/index.d.ts.map +1 -0
- package/dist/api/organizations/index.js +202 -0
- package/dist/api/organizations/index.js.map +1 -0
- package/dist/api/parameters/index.d.ts +391 -358
- package/dist/api/parameters/index.d.ts.map +1 -1
- package/dist/api/parameters/index.js +5 -1
- package/dist/api/parameters/index.js.map +1 -1
- package/dist/api/users/index.browser.js +7 -5
- package/dist/api/users/index.browser.js.map +1 -1
- package/dist/api/users/index.d.ts +989 -931
- package/dist/api/users/index.d.ts.map +1 -1
- package/dist/api/users/index.js +292 -146
- package/dist/api/users/index.js.map +1 -1
- package/dist/api/verifications/index.d.ts +132 -132
- package/dist/api/verifications/index.d.ts.map +1 -1
- package/dist/api/verifications/index.js +2 -2
- package/dist/api/verifications/index.js.map +1 -1
- package/dist/batch/index.d.ts +6 -6
- package/dist/batch/index.d.ts.map +1 -1
- package/dist/billing/index.d.ts +1048 -0
- package/dist/billing/index.d.ts.map +1 -0
- package/dist/billing/index.js +713 -0
- package/dist/billing/index.js.map +1 -0
- package/dist/bin/index.js +0 -2
- package/dist/bin/index.js.map +1 -1
- package/dist/bucket/index.d.ts +10 -10
- package/dist/bucket/index.d.ts.map +1 -1
- package/dist/bucket/index.js +2 -2
- package/dist/bucket/index.js.map +1 -1
- package/dist/cache/core/index.d.ts +9 -9
- package/dist/cache/core/index.d.ts.map +1 -1
- package/dist/cache/core/index.js +2 -2
- package/dist/cache/core/index.js.map +1 -1
- package/dist/cache/core/index.workerd.js +2 -2
- package/dist/cache/core/index.workerd.js.map +1 -1
- package/dist/cache/redis/index.d.ts +6 -6
- package/dist/cache/redis/index.d.ts.map +1 -1
- package/dist/cache/redis/index.js +2 -2
- package/dist/cache/redis/index.js.map +1 -1
- package/dist/cli/config/index.d.ts +12 -2
- package/dist/cli/config/index.d.ts.map +1 -1
- package/dist/cli/config/index.js +4 -0
- package/dist/cli/config/index.js.map +1 -1
- package/dist/cli/core/index.d.ts +183 -139
- package/dist/cli/core/index.d.ts.map +1 -1
- package/dist/cli/core/index.js +283 -86
- package/dist/cli/core/index.js.map +1 -1
- package/dist/cli/devtools/index.d.ts +45 -0
- package/dist/cli/devtools/index.d.ts.map +1 -0
- package/dist/cli/devtools/index.js +170 -0
- package/dist/cli/devtools/index.js.map +1 -0
- package/dist/cli/platform/index.d.ts +383 -492
- package/dist/cli/platform/index.d.ts.map +1 -1
- package/dist/cli/platform/index.js +42 -511
- package/dist/cli/platform/index.js.map +1 -1
- package/dist/cli/vendor/index.d.ts +196 -0
- package/dist/cli/vendor/index.d.ts.map +1 -0
- package/dist/cli/vendor/index.js +384 -0
- package/dist/cli/vendor/index.js.map +1 -0
- package/dist/command/index.d.ts +18 -18
- package/dist/command/index.d.ts.map +1 -1
- package/dist/command/index.js +2 -2
- package/dist/command/index.js.map +1 -1
- package/dist/core/index.browser.js +4 -4
- package/dist/core/index.browser.js.map +1 -1
- package/dist/core/index.d.ts +10 -10
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +4 -4
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.native.js +4 -4
- package/dist/core/index.native.js.map +1 -1
- package/dist/core/index.workerd.js +4 -4
- package/dist/core/index.workerd.js.map +1 -1
- package/dist/crypto/index.d.ts +7 -7
- package/dist/crypto/index.d.ts.map +1 -1
- package/dist/datetime/index.d.ts +4 -4
- package/dist/datetime/index.d.ts.map +1 -1
- package/dist/email/brevo/index.d.ts +4 -4
- package/dist/email/brevo/index.d.ts.map +1 -1
- package/dist/email/core/index.d.ts +15 -11
- package/dist/email/core/index.d.ts.map +1 -1
- package/dist/email/core/index.js +12 -35
- package/dist/email/core/index.js.map +1 -1
- package/dist/email/smtp/index.d.ts +12 -12
- package/dist/email/smtp/index.d.ts.map +1 -1
- package/dist/email/smtp/index.js +7 -4
- package/dist/email/smtp/index.js.map +1 -1
- package/dist/fake/index.d.ts +4 -8
- package/dist/fake/index.d.ts.map +1 -1
- package/dist/fake/index.js +55 -889
- package/dist/fake/index.js.map +1 -1
- package/dist/lock/core/index.d.ts +13 -13
- package/dist/lock/core/index.d.ts.map +1 -1
- package/dist/lock/core/index.js +2 -2
- package/dist/lock/core/index.js.map +1 -1
- package/dist/lock/redis/index.d.ts +4 -4
- package/dist/lock/redis/index.d.ts.map +1 -1
- package/dist/logger/index.d.ts +16 -15
- package/dist/logger/index.d.ts.map +1 -1
- package/dist/logger/index.js +5 -2
- package/dist/logger/index.js.map +1 -1
- package/dist/mcp/index.d.ts +11 -11
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js +2 -2
- package/dist/mcp/index.js.map +1 -1
- package/dist/orm/core/index.browser.js +11 -1
- package/dist/orm/core/index.browser.js.map +1 -1
- package/dist/orm/core/index.bun.js +53 -16
- package/dist/orm/core/index.bun.js.map +1 -1
- package/dist/orm/core/index.d.ts +95 -51
- package/dist/orm/core/index.d.ts.map +1 -1
- package/dist/orm/core/index.js +55 -14
- package/dist/orm/core/index.js.map +1 -1
- package/dist/orm/postgres/index.bun.js +17 -11
- package/dist/orm/postgres/index.bun.js.map +1 -1
- package/dist/orm/postgres/index.d.ts +21 -15
- package/dist/orm/postgres/index.d.ts.map +1 -1
- package/dist/orm/postgres/index.js +19 -13
- package/dist/orm/postgres/index.js.map +1 -1
- package/dist/queue/core/index.d.ts +14 -14
- package/dist/queue/core/index.d.ts.map +1 -1
- package/dist/queue/core/index.js +2 -2
- package/dist/queue/core/index.js.map +1 -1
- package/dist/queue/core/index.workerd.js +2 -2
- package/dist/queue/core/index.workerd.js.map +1 -1
- package/dist/queue/redis/index.d.ts +4 -4
- package/dist/queue/redis/index.d.ts.map +1 -1
- package/dist/queue/redis/index.js +2 -2
- package/dist/queue/redis/index.js.map +1 -1
- package/dist/react/auth/index.d.ts +9 -9
- package/dist/react/auth/index.d.ts.map +1 -1
- package/dist/react/core/index.d.ts +6 -6
- package/dist/react/core/index.d.ts.map +1 -1
- package/dist/react/core/index.js +5 -4
- package/dist/react/core/index.js.map +1 -1
- package/dist/react/form/index.d.ts +4 -4
- package/dist/react/form/index.d.ts.map +1 -1
- package/dist/react/head/index.d.ts +4 -4
- package/dist/react/head/index.d.ts.map +1 -1
- package/dist/react/i18n/index.d.ts +9 -9
- package/dist/react/i18n/index.d.ts.map +1 -1
- package/dist/react/intro/index.d.ts +2 -2
- package/dist/react/intro/index.d.ts.map +1 -1
- package/dist/react/intro/index.js +3 -4
- package/dist/react/intro/index.js.map +1 -1
- package/dist/react/router/index.browser.js +4 -5
- package/dist/react/router/index.browser.js.map +1 -1
- package/dist/react/router/index.d.ts +215 -215
- package/dist/react/router/index.d.ts.map +1 -1
- package/dist/react/router/index.js +6 -7
- package/dist/react/router/index.js.map +1 -1
- package/dist/react/testing/index.d.ts +2 -2
- package/dist/react/testing/index.d.ts.map +1 -1
- package/dist/react/testing/index.js +2 -4
- package/dist/react/testing/index.js.map +1 -1
- package/dist/redis/index.d.ts +19 -19
- package/dist/redis/index.d.ts.map +1 -1
- package/dist/retry/index.d.ts +4 -4
- package/dist/retry/index.d.ts.map +1 -1
- package/dist/scheduler/index.d.ts +13 -13
- package/dist/scheduler/index.d.ts.map +1 -1
- package/dist/scheduler/index.js +2 -2
- package/dist/scheduler/index.js.map +1 -1
- package/dist/scheduler/index.workerd.js +2 -2
- package/dist/scheduler/index.workerd.js.map +1 -1
- package/dist/security/index.browser.js +1 -1
- package/dist/security/index.browser.js.map +1 -1
- package/dist/security/index.d.ts +47 -47
- package/dist/security/index.d.ts.map +1 -1
- package/dist/security/index.js +9 -12
- package/dist/security/index.js.map +1 -1
- package/dist/server/auth/index.d.ts +170 -169
- package/dist/server/auth/index.d.ts.map +1 -1
- package/dist/server/auth/index.js +16 -2
- package/dist/server/auth/index.js.map +1 -1
- package/dist/server/cookies/index.d.ts +7 -7
- package/dist/server/cookies/index.d.ts.map +1 -1
- package/dist/server/core/index.d.ts +76 -76
- package/dist/server/core/index.d.ts.map +1 -1
- package/dist/server/core/index.js +23 -17
- package/dist/server/core/index.js.map +1 -1
- package/dist/server/cors/index.d.ts +13 -13
- package/dist/server/cors/index.d.ts.map +1 -1
- package/dist/server/cors/index.js +2 -2
- package/dist/server/cors/index.js.map +1 -1
- package/dist/server/etag/index.d.ts +9 -9
- package/dist/server/etag/index.d.ts.map +1 -1
- package/dist/server/health/index.d.ts +20 -20
- package/dist/server/health/index.d.ts.map +1 -1
- package/dist/server/links/index.browser.js +2 -2
- package/dist/server/links/index.browser.js.map +1 -1
- package/dist/server/links/index.d.ts +66 -66
- package/dist/server/links/index.d.ts.map +1 -1
- package/dist/server/links/index.js +4 -4
- package/dist/server/links/index.js.map +1 -1
- package/dist/server/metrics/index.d.ts +7 -7
- package/dist/server/metrics/index.d.ts.map +1 -1
- package/dist/server/proxy/index.d.ts +5 -5
- package/dist/server/proxy/index.d.ts.map +1 -1
- package/dist/server/rate-limit/index.d.ts +12 -12
- package/dist/server/rate-limit/index.d.ts.map +1 -1
- package/dist/server/rate-limit/index.js +2 -2
- package/dist/server/rate-limit/index.js.map +1 -1
- package/dist/server/static/index.d.ts +5 -5
- package/dist/server/static/index.d.ts.map +1 -1
- package/dist/server/swagger/index.d.ts +7 -7
- package/dist/server/swagger/index.d.ts.map +1 -1
- package/dist/server/swagger/index.js +2 -2
- package/dist/server/swagger/index.js.map +1 -1
- package/dist/sms/index.d.ts +11 -7
- package/dist/sms/index.d.ts.map +1 -1
- package/dist/sms/index.js +9 -15
- package/dist/sms/index.js.map +1 -1
- package/dist/system/index.d.ts +4 -4
- package/dist/system/index.d.ts.map +1 -1
- package/dist/topic/core/index.d.ts +6 -6
- package/dist/topic/core/index.d.ts.map +1 -1
- package/dist/topic/redis/index.d.ts +7 -7
- package/dist/topic/redis/index.d.ts.map +1 -1
- package/dist/topic/redis/index.js +2 -2
- package/dist/topic/redis/index.js.map +1 -1
- package/dist/websocket/index.d.ts +36 -36
- package/dist/websocket/index.d.ts.map +1 -1
- package/dist/websocket/index.js +2 -2
- package/dist/websocket/index.js.map +1 -1
- package/package.json +37 -32
- package/src/api/files/{controllers → __tests__}/FileController.spec.ts +189 -143
- package/src/api/files/{services → __tests__}/FileService.spec.ts +50 -30
- package/src/api/files/controllers/FileController.ts +6 -0
- package/src/api/jobs/{services → __tests__}/JobService.spec.ts +1 -1
- package/src/api/jobs/providers/JobProvider.ts +3 -3
- package/src/api/keys/{services → __tests__}/ApiKeyService.spec.ts +1 -1
- package/src/api/organizations/__tests__/OrganizationService.spec.ts +193 -0
- package/src/api/organizations/controllers/AdminOrganizationController.ts +103 -0
- package/src/api/organizations/entities/organizations.ts +20 -0
- package/src/api/organizations/index.browser.ts +10 -0
- package/src/api/organizations/index.ts +31 -0
- package/src/api/organizations/schemas/createOrganizationSchema.ts +10 -0
- package/src/api/organizations/schemas/organizationQuerySchema.ts +10 -0
- package/src/api/organizations/schemas/organizationResourceSchema.ts +6 -0
- package/src/api/organizations/schemas/updateOrganizationSchema.ts +7 -0
- package/src/api/organizations/services/OrganizationService.ts +75 -0
- package/src/api/parameters/services/ParameterProvider.ts +6 -1
- package/src/api/users/__tests__/$realm.spec.ts +191 -0
- package/src/api/users/__tests__/RealmProvider.spec.ts +53 -0
- package/src/api/users/__tests__/SessionService.spec.ts +778 -0
- package/src/api/users/{jobs → __tests__}/UserJobs.spec.ts +1 -1
- package/src/api/users/atoms/realmAuthSettingsAtom.ts +24 -0
- package/src/api/users/controllers/RealmController.ts +5 -11
- package/src/api/users/entities/users.ts +9 -3
- package/src/api/users/index.ts +23 -3
- package/src/api/users/primitives/$realm.ts +23 -11
- package/src/api/users/providers/RealmProvider.ts +23 -3
- package/src/api/users/services/RegistrationService.ts +3 -2
- package/src/api/users/services/SessionService.ts +249 -8
- package/src/api/users/services/UserService.ts +1 -1
- package/src/api/verifications/{jobs → __tests__}/VerificationJobs.spec.ts +4 -2
- package/src/api/verifications/parameters/VerificationParameters.ts +2 -2
- package/src/billing/__tests__/BillingService.spec.ts +136 -0
- package/src/billing/__tests__/PaymentMethodService.spec.ts +78 -0
- package/src/billing/controllers/AdminBillingController.ts +149 -0
- package/src/billing/controllers/BillingController.ts +108 -0
- package/src/billing/entities/paymentIntents.ts +34 -0
- package/src/billing/entities/paymentMethods.ts +24 -0
- package/src/billing/entities/refunds.ts +22 -0
- package/src/billing/errors/BillingError.ts +5 -0
- package/src/billing/index.ts +76 -0
- package/src/billing/providers/BillingProvider.ts +79 -0
- package/src/billing/providers/MemoryBillingProvider.ts +139 -0
- package/src/billing/schemas/intentSchemas.ts +60 -0
- package/src/billing/schemas/paymentMethodSchemas.ts +13 -0
- package/src/billing/schemas/refundSchemas.ts +6 -0
- package/src/billing/services/BillingService.ts +325 -0
- package/src/billing/services/PaymentMethodService.ts +82 -0
- package/src/bin/index.ts +0 -2
- package/src/bucket/providers/LocalFileStorageProvider.ts +2 -2
- package/src/cache/core/{primitives → __tests__}/$cache.middleware.spec.ts +1 -1
- package/src/cache/core/{providers → __tests__}/MemoryCacheProvider.spec.ts +1 -1
- package/src/cache/core/primitives/$cache.ts +2 -2
- package/src/cache/redis/providers/RedisCacheProvider.ts +2 -2
- package/src/cli/config/defineConfig.ts +20 -0
- package/src/cli/core/{services → __tests__}/ProjectScaffolder.spec.ts +1 -1
- package/src/cli/core/{commands/gen → __tests__}/changelog.spec.ts +1 -1
- package/src/cli/core/{commands → __tests__}/init.spec.ts +4 -12
- package/src/cli/core/assets.ts +0 -1
- package/src/cli/core/atoms/devOptions.ts +0 -5
- package/src/cli/core/commands/build.ts +2 -2
- package/src/cli/core/commands/dev.ts +165 -30
- package/src/cli/core/commands/gen/changelog.ts +2 -2
- package/src/cli/core/commands/init.ts +2 -7
- package/src/cli/core/commands/verify.ts +0 -1
- package/src/cli/core/providers/AppEntryProvider.ts +2 -2
- package/src/cli/core/providers/ViteDevServerProvider.ts +53 -46
- package/src/cli/core/services/PackageManagerUtils.ts +8 -3
- package/src/cli/core/services/ProjectScaffolder.ts +20 -20
- package/src/cli/core/tasks/BuildClientTask.ts +8 -0
- package/src/cli/core/tasks/BuildServerTask.ts +17 -4
- package/src/cli/core/templates/alephaConfigTs.ts +0 -6
- package/src/cli/core/templates/webAdminDashboardTsx.ts +17 -0
- package/src/cli/core/templates/webAppRouterTs.ts +85 -2
- package/src/cli/devtools/atoms/devtoolsOptions.ts +26 -0
- package/src/cli/devtools/index.ts +194 -0
- package/src/cli/platform/{adapters → __tests__}/CloudflareAdapter.spec.ts +2 -2
- package/src/cli/platform/{providers → __tests__}/GitHubSecretStore.spec.ts +1 -1
- package/src/cli/platform/{services → __tests__}/NamingService.spec.ts +1 -1
- package/src/cli/platform/{providers → __tests__}/PlatformCacheProvider.spec.ts +1 -1
- package/src/cli/platform/{services → __tests__}/PlatformInspector.spec.ts +1 -1
- package/src/cli/platform/{services → __tests__}/PlatformOrchestrator.spec.ts +3 -3
- package/src/cli/platform/{services → __tests__}/SecretFilterService.spec.ts +1 -1
- package/src/cli/platform/{commands → __tests__}/SecretsCommand.spec.ts +1 -1
- package/src/cli/platform/{adapters → __tests__}/VercelAdapter.spec.ts +2 -2
- package/src/cli/platform/atoms/platformOptions.ts +2 -10
- package/src/cli/platform/commands/SecretsCommand.ts +2 -2
- package/src/cli/platform/commands/platform.ts +2 -11
- package/src/cli/platform/index.ts +34 -11
- package/src/cli/platform/services/PlatformInspector.ts +2 -2
- package/src/cli/platform/services/PlatformOrchestrator.ts +0 -9
- package/src/cli/vendor/__tests__/VendorService.spec.ts +407 -0
- package/src/cli/vendor/atoms/vendorOptions.ts +41 -0
- package/src/cli/vendor/commands/VendorCommand.ts +204 -0
- package/src/cli/vendor/index.ts +43 -0
- package/src/cli/vendor/services/VendorService.ts +338 -0
- package/src/command/{providers → __tests__}/CliProvider.spec.ts +1 -1
- package/src/command/{helpers → __tests__}/EnvUtils.spec.ts +1 -1
- package/src/command/providers/CliProvider.ts +2 -2
- package/src/core/{primitives → __tests__}/$atom.spec.ts +2 -2
- package/src/core/{primitives → __tests__}/$memoize.spec.ts +1 -1
- package/src/core/{primitives → __tests__}/$mode.spec.ts +1 -1
- package/src/core/{primitives → __tests__}/$pipeline.spec.ts +1 -1
- package/src/core/{primitives → __tests__}/$scope.spec.ts +2 -2
- package/src/core/{providers → __tests__}/KeylessJsonSchemaCodec.spec.ts +1 -1
- package/src/core/{providers → __tests__}/SchemaValidator.spec.ts +1 -1
- package/src/core/{helpers → __tests__}/jsonSchemaToTypeBox.spec.ts +1 -1
- package/src/core/index.shared.ts +1 -1
- package/src/core/primitives/{$use.ts → $state.ts} +4 -4
- package/src/crypto/{providers → __tests__}/BrowserCryptoProvider.browser.spec.ts +1 -1
- package/src/crypto/{providers → __tests__}/CryptoProvider.spec.ts +1 -1
- package/src/datetime/{primitives → __tests__}/$debounce.spec.ts +1 -1
- package/src/datetime/{primitives → __tests__}/$throttle.spec.ts +1 -1
- package/src/datetime/{primitives → __tests__}/$timeout.spec.ts +1 -1
- package/src/email/brevo/{providers → __tests__}/BrevoEmailProvider.spec.ts +1 -1
- package/src/email/core/{providers → __tests__}/LocalEmailProvider.spec.ts +39 -150
- package/src/email/core/providers/LocalEmailProvider.ts +13 -51
- package/src/email/smtp/providers/NodemailerEmailProvider.ts +2 -2
- package/src/lock/core/{primitives → __tests__}/$lock.middleware.spec.ts +1 -1
- package/src/lock/core/primitives/$lock.ts +2 -2
- package/src/logger/index.ts +10 -4
- package/src/mcp/transports/SseMcpTransport.ts +2 -2
- package/src/orm/__tests__/ModelBuilder-tests.ts +53 -0
- package/src/orm/__tests__/ModelBuilder.spec.ts +80 -0
- package/src/orm/__tests__/organization-tests.ts +200 -0
- package/src/orm/__tests__/organization.spec.ts +103 -0
- package/src/orm/core/{providers/drivers → __tests__}/BunSqliteProvider.bun.spec.ts +5 -2
- package/src/orm/core/constants/PG_SYMBOLS.ts +2 -0
- package/src/orm/core/index.shared.ts +1 -0
- package/src/orm/core/primitives/$entity.ts +31 -0
- package/src/orm/core/providers/DatabaseTypeProvider.ts +11 -0
- package/src/orm/core/providers/DrizzleKitProvider.ts +1 -1
- package/src/orm/core/providers/drivers/BunSqliteProvider.ts +2 -2
- package/src/orm/core/providers/drivers/NodeSqliteProvider.ts +3 -3
- package/src/orm/core/services/ModelBuilder.ts +11 -0
- package/src/orm/core/services/QueryManager.ts +16 -2
- package/src/orm/core/services/Repository.ts +70 -10
- package/src/orm/postgres/{providers → __tests__}/BunPostgresProvider.bun.spec.ts +1 -1
- package/src/orm/postgres/services/PostgresModelBuilder.ts +9 -1
- package/src/queue/core/providers/WorkerProvider.ts +2 -2
- package/src/queue/redis/providers/RedisQueueProvider.ts +2 -2
- package/src/react/core/{hooks → __tests__}/useAction.browser.spec.tsx +1 -1
- package/src/react/core/hooks/useAction.ts +7 -6
- package/src/react/head/{providers → __tests__}/BrowserHeadProvider.browser.spec.ts +1 -1
- package/src/react/head/{helpers → __tests__}/SeoExpander.spec.ts +1 -1
- package/src/react/i18n/{providers → __tests__}/I18nProvider.spec.ts +1 -1
- package/src/react/i18n/{hooks → __tests__}/useI18n.browser.spec.tsx +1 -1
- package/src/react/intro/components/GettingStartedDevtoolsSlide.tsx +3 -6
- package/src/react/router/{providers → __tests__}/ReactBrowserProvider.browser.spec.ts +1 -1
- package/src/react/router/providers/ReactBrowserProvider.ts +2 -2
- package/src/react/router/providers/ReactPageProvider.ts +2 -2
- package/src/react/router/providers/ReactServerProvider.ts +3 -3
- package/src/redis/{providers → __tests__}/BunRedisProvider.bun.spec.ts +4 -4
- package/src/retry/{primitives → __tests__}/$retry.middleware.spec.ts +1 -1
- package/src/router/{TemplatedPathParser.spec.ts → __tests__/TemplatedPathParser.spec.ts} +1 -1
- package/src/scheduler/primitives/$scheduler.ts +2 -2
- package/src/security/{primitives → __tests__}/$secure-browser.spec.ts +1 -1
- package/src/security/{primitives → __tests__}/$secure.spec.ts +1 -1
- package/src/security/primitives/$issuer.ts +1 -1
- package/src/security/providers/JwtProvider.ts +6 -10
- package/src/security/providers/SecurityProvider.ts +6 -11
- package/src/security/schemas/userAccountInfoSchema.ts +3 -3
- package/src/server/auth/providers/ServerAuthProvider.ts +24 -2
- package/src/server/cookies/{services → __tests__}/CookieParser.spec.ts +1 -1
- package/src/server/core/{primitives → __tests__}/$circuit.spec.ts +1 -1
- package/src/server/core/{providers → __tests__}/NodeHttpServerProvider.spec.ts +1 -1
- package/src/server/core/{providers → __tests__}/ServerBodyParserProvider.spec.ts +31 -1
- package/src/server/core/{providers → __tests__}/ServerCompressProvider.spec.ts +1 -1
- package/src/server/core/{providers → __tests__}/ServerHelmetProvider.spec.ts +4 -1
- package/src/server/core/{providers → __tests__}/ServerMultipartProvider.spec.ts +1 -1
- package/src/server/core/{services → __tests__}/ServerRequestParser.spec.ts +1 -1
- package/src/server/core/primitives/$action.ts +2 -2
- package/src/server/core/primitives/$sse.ts +2 -2
- package/src/server/core/providers/ServerBodyParserProvider.ts +21 -12
- package/src/server/core/providers/ServerCompressProvider.ts +2 -2
- package/src/server/core/providers/ServerHelmetProvider.ts +2 -2
- package/src/server/core/providers/ServerMultipartProvider.ts +2 -2
- package/src/server/core/providers/ServerRouterProvider.ts +1 -5
- package/src/server/cors/{primitives → __tests__}/$cors.spec.ts +1 -1
- package/src/server/cors/providers/ServerCorsProvider.ts +2 -2
- package/src/server/links/{services → __tests__}/BatchCollector.spec.ts +1 -1
- package/src/server/links/providers/LinkProvider.ts +2 -2
- package/src/server/links/providers/RemotePrimitiveProvider.ts +2 -2
- package/src/server/links/providers/ServerLinksProvider.ts +2 -2
- package/src/server/rate-limit/{primitives → __tests__}/$rateLimit.spec.ts +1 -1
- package/src/server/rate-limit/providers/ServerRateLimitProvider.ts +2 -2
- package/src/server/swagger/providers/ServerSwaggerProvider.ts +2 -2
- package/src/sms/{providers → __tests__}/LocalSmsProvider.spec.ts +35 -29
- package/src/sms/providers/LocalSmsProvider.ts +13 -24
- package/src/system/{providers → __tests__}/MemoryFileSystemProvider.spec.ts +1 -1
- package/src/system/{providers → __tests__}/MemoryShellProvider.spec.ts +1 -1
- package/src/topic/redis/providers/RedisTopicProvider.ts +2 -2
- package/src/websocket/{services → __tests__}/RoomManager.spec.ts +1 -1
- package/src/websocket/providers/NodeWebSocketServerProvider.ts +2 -2
- package/tsconfig.base.json +1 -0
- package/assets/devtools-ui/200.html +0 -10
- package/assets/devtools-ui/200.html.br +0 -0
- package/assets/devtools-ui/404.html +0 -10
- package/assets/devtools-ui/404.html.br +0 -0
- package/assets/devtools-ui/CNAME +0 -1
- package/assets/devtools-ui/asset.CHpVij2M.css +0 -1
- package/assets/devtools-ui/asset.CHpVij2M.css.br +0 -0
- package/assets/devtools-ui/asset.DJ-i0UDz.css +0 -1
- package/assets/devtools-ui/asset.DJ-i0UDz.css.br +0 -0
- package/assets/devtools-ui/chunk.1jwpJORo.js +0 -1
- package/assets/devtools-ui/chunk.1jwpJORo.js.br +0 -0
- package/assets/devtools-ui/chunk.B0r2wfUL.js +0 -1
- package/assets/devtools-ui/chunk.B0r2wfUL.js.br +0 -0
- package/assets/devtools-ui/chunk.BScN4dVR.js +0 -84
- package/assets/devtools-ui/chunk.BScN4dVR.js.br +0 -0
- package/assets/devtools-ui/chunk.BispuoY4.js +0 -1
- package/assets/devtools-ui/chunk.BispuoY4.js.br +0 -0
- package/assets/devtools-ui/chunk.BtrPUUd7.js +0 -2
- package/assets/devtools-ui/chunk.BtrPUUd7.js.br +0 -0
- package/assets/devtools-ui/chunk.C-KMHgqf.js +0 -1
- package/assets/devtools-ui/chunk.C-KMHgqf.js.br +0 -0
- package/assets/devtools-ui/chunk.C2zQ3CF6.js +0 -7
- package/assets/devtools-ui/chunk.C2zQ3CF6.js.br +0 -0
- package/assets/devtools-ui/chunk.C619McpO.js +0 -1
- package/assets/devtools-ui/chunk.C619McpO.js.br +0 -0
- package/assets/devtools-ui/chunk.C9OsYsVl.js +0 -1
- package/assets/devtools-ui/chunk.C9OsYsVl.js.br +0 -3
- package/assets/devtools-ui/chunk.CAC_-151.js +0 -1
- package/assets/devtools-ui/chunk.CAC_-151.js.br +0 -0
- package/assets/devtools-ui/chunk.CCmesWfx.js +0 -1
- package/assets/devtools-ui/chunk.CCmesWfx.js.br +0 -0
- package/assets/devtools-ui/chunk.CFQDmrcV.js +0 -1
- package/assets/devtools-ui/chunk.CFQDmrcV.js.br +0 -0
- package/assets/devtools-ui/chunk.CgM71Zau.js +0 -1
- package/assets/devtools-ui/chunk.CgM71Zau.js.br +0 -0
- package/assets/devtools-ui/chunk.CmHq336a.js +0 -1
- package/assets/devtools-ui/chunk.CmHq336a.js.br +0 -0
- package/assets/devtools-ui/chunk.CthNMCar.js +0 -1
- package/assets/devtools-ui/chunk.CthNMCar.js.br +0 -0
- package/assets/devtools-ui/chunk.D2brVJP1.js +0 -1
- package/assets/devtools-ui/chunk.D2brVJP1.js.br +0 -0
- package/assets/devtools-ui/chunk.DgBKGkiw.js +0 -1
- package/assets/devtools-ui/chunk.DgBKGkiw.js.br +0 -0
- package/assets/devtools-ui/chunk.NNHHCQsa.js +0 -1
- package/assets/devtools-ui/chunk.NNHHCQsa.js.br +0 -0
- package/assets/devtools-ui/chunk._CDKKWMo.js +0 -1
- package/assets/devtools-ui/chunk._CDKKWMo.js.br +0 -0
- package/assets/devtools-ui/entry.B_nOjAod.js +0 -2
- package/assets/devtools-ui/entry.B_nOjAod.js.br +0 -0
- package/assets/devtools-ui/index.html +0 -10
- package/assets/devtools-ui/index.html.br +0 -0
- package/dist/devtools/index.browser.js +0 -224
- package/dist/devtools/index.browser.js.map +0 -1
- package/dist/devtools/index.d.ts +0 -499
- package/dist/devtools/index.d.ts.map +0 -1
- package/dist/devtools/index.js +0 -782
- package/dist/devtools/index.js.map +0 -1
- package/dist/mqtt/index.d.ts +0 -164
- package/dist/mqtt/index.d.ts.map +0 -1
- package/dist/mqtt/index.js +0 -214
- package/dist/mqtt/index.js.map +0 -1
- package/dist/topic/mqtt/index.d.ts +0 -87
- package/dist/topic/mqtt/index.d.ts.map +0 -1
- package/dist/topic/mqtt/index.js +0 -88
- package/dist/topic/mqtt/index.js.map +0 -1
- package/src/api/users/parameters/UserParameters.ts +0 -23
- package/src/api/users/services/SessionService.spec.ts +0 -303
- package/src/cli/platform/adapters/DockerAdapter.spec.ts +0 -378
- package/src/cli/platform/adapters/DockerAdapter.ts +0 -417
- package/src/cli/platform/services/DockerComposeGenerator.spec.ts +0 -490
- package/src/cli/platform/services/DockerComposeGenerator.ts +0 -353
- package/src/cli/platform/services/DockerSshService.spec.ts +0 -47
- package/src/cli/platform/services/DockerSshService.ts +0 -61
- package/src/devtools/__tests__/DevCollectorProvider.spec.ts +0 -7
- package/src/devtools/assets.ts +0 -6
- package/src/devtools/entities/logs.ts +0 -21
- package/src/devtools/index.browser.ts +0 -11
- package/src/devtools/index.shared.ts +0 -15
- package/src/devtools/index.ts +0 -39
- package/src/devtools/providers/DevToolsMetadataProvider.ts +0 -459
- package/src/devtools/providers/DevToolsProvider.ts +0 -280
- package/src/devtools/schemas/DevActionMetadata.ts +0 -30
- package/src/devtools/schemas/DevAtomMetadata.ts +0 -26
- package/src/devtools/schemas/DevBucketMetadata.ts +0 -11
- package/src/devtools/schemas/DevCacheMetadata.ts +0 -10
- package/src/devtools/schemas/DevEntityMetadata.ts +0 -60
- package/src/devtools/schemas/DevEnvMetadata.ts +0 -22
- package/src/devtools/schemas/DevMetadata.ts +0 -47
- package/src/devtools/schemas/DevModuleMetadata.ts +0 -8
- package/src/devtools/schemas/DevPageMetadata.ts +0 -24
- package/src/devtools/schemas/DevProviderMetadata.ts +0 -10
- package/src/devtools/schemas/DevQueueMetadata.ts +0 -10
- package/src/devtools/schemas/DevRealmMetadata.ts +0 -19
- package/src/devtools/schemas/DevRouteMetadata.ts +0 -8
- package/src/devtools/schemas/DevSchedulerMetadata.ts +0 -11
- package/src/devtools/schemas/DevTopicMetadata.ts +0 -11
- package/src/mqtt/index.ts +0 -32
- package/src/mqtt/providers/MqttClientProvider.ts +0 -63
- package/src/mqtt/providers/MqttJsClientProvider.spec.ts +0 -165
- package/src/mqtt/providers/MqttJsClientProvider.ts +0 -309
- package/src/topic/mqtt/index.ts +0 -30
- package/src/topic/mqtt/providers/MqttTopicProvider.spec.ts +0 -160
- package/src/topic/mqtt/providers/MqttTopicProvider.ts +0 -146
- /package/src/api/audits/{primitives → __tests__}/$audit.spec.ts +0 -0
- /package/src/api/audits/{services → __tests__}/AuditService.spec.ts +0 -0
- /package/src/api/files/{controllers → __tests__}/AdminFileStatsController.spec.ts +0 -0
- /package/src/api/files/{jobs → __tests__}/FileJobs.spec.ts +0 -0
- /package/src/api/jobs/{primitives → __tests__}/$job-middleware.spec.ts +0 -0
- /package/src/api/parameters/{primitives → __tests__}/$parameter.spec.ts +0 -0
- /package/src/api/users/{controllers → __tests__}/AdminIdentityController.spec.ts +0 -0
- /package/src/api/users/{controllers → __tests__}/AdminSessionController.spec.ts +0 -0
- /package/src/api/users/{controllers → __tests__}/AdminUserController.spec.ts +0 -0
- /package/src/api/users/{services → __tests__}/CredentialService.spec.ts +0 -0
- /package/src/api/users/{services → __tests__}/RegistrationService.spec.ts +0 -0
- /package/src/batch/{primitives → __tests__}/$batch.spec.ts +0 -0
- /package/src/batch/{providers → __tests__}/BatchProvider.spec.ts +0 -0
- /package/src/bucket/{primitives → __tests__}/$bucket.spec.ts +0 -0
- /package/src/bucket/{providers → __tests__}/FileStorageProvider.spec.ts +0 -0
- /package/src/bucket/{providers → __tests__}/LocalFileStorageProvider.spec.ts +0 -0
- /package/src/bucket/{providers → __tests__}/MemoryFileStorageProvider.spec.ts +0 -0
- /package/src/cache/core/{primitives → __tests__}/$cache.spec.ts +0 -0
- /package/src/cache/redis/{providers → __tests__}/RedisCacheProvider.spec.ts +0 -0
- /package/src/command/{primitives → __tests__}/$command.spec.ts +0 -0
- /package/src/command/{helpers → __tests__}/Asker.spec.ts +0 -0
- /package/src/command/{helpers → __tests__}/Runner.spec.ts +0 -0
- /package/src/core/{primitives → __tests__}/$context.spec.ts +0 -0
- /package/src/core/{primitives → __tests__}/$env.spec.ts +0 -0
- /package/src/core/{primitives → __tests__}/$hook.spec.ts +0 -0
- /package/src/core/{primitives → __tests__}/$inject.spec.ts +0 -0
- /package/src/core/{primitives → __tests__}/$module.spec.ts +0 -0
- /package/src/core/{providers → __tests__}/CodecManager.spec.ts +0 -0
- /package/src/core/{providers → __tests__}/EventManager.spec.ts +0 -0
- /package/src/core/{providers → __tests__}/StateManager.spec.ts +0 -0
- /package/src/core/{providers → __tests__}/TypeProvider.spec.ts +0 -0
- /package/src/datetime/{primitives → __tests__}/$interval.spec.ts +0 -0
- /package/src/datetime/{providers → __tests__}/DateTimeProvider.spec.ts +0 -0
- /package/src/email/core/{primitives → __tests__}/$email.spec.ts +0 -0
- /package/src/fake/{providers → __tests__}/FakeProvider.spec.ts +0 -0
- /package/src/lock/core/{providers → __tests__}/MemoryLockProvider.spec.ts +0 -0
- /package/src/lock/redis/{providers → __tests__}/RedisLockProvider.spec.ts +0 -0
- /package/src/logger/{primitives → __tests__}/$logger.spec.ts +0 -0
- /package/src/logger/{services → __tests__}/Logger.spec.ts +0 -0
- /package/src/mcp/{primitives → __tests__}/$prompt.spec.ts +0 -0
- /package/src/mcp/{primitives → __tests__}/$resource.spec.ts +0 -0
- /package/src/mcp/{primitives → __tests__}/$tool.spec.ts +0 -0
- /package/src/mcp/{providers → __tests__}/McpServerProvider.spec.ts +0 -0
- /package/src/mcp/{helpers → __tests__}/jsonrpc.spec.ts +0 -0
- /package/src/orm/core/{helpers → __tests__}/parseQueryString.spec.ts +0 -0
- /package/src/queue/core/{primitives → __tests__}/$consumer.spec.ts +0 -0
- /package/src/queue/core/{providers → __tests__}/MemoryQueueProvider.spec.ts +0 -0
- /package/src/queue/core/{providers → __tests__}/WorkerProvider.spec.ts +0 -0
- /package/src/queue/redis/{providers → __tests__}/RedisQueueProvider.spec.ts +0 -0
- /package/src/react/form/{hooks → __tests__}/useForm.browser.spec.tsx +0 -0
- /package/src/react/head/{hooks → __tests__}/useHead.spec.tsx +0 -0
- /package/src/react/i18n/{components → __tests__}/Localize.spec.tsx +0 -0
- /package/src/react/router/{primitives → __tests__}/$page.browser.spec.tsx +0 -0
- /package/src/react/router/{primitives → __tests__}/$page.middleware.spec.tsx +0 -0
- /package/src/react/router/{primitives → __tests__}/$page.spec.tsx +0 -0
- /package/src/react/router/{providers → __tests__}/ReactPreloadProvider.spec.ts +0 -0
- /package/src/react/router/{providers → __tests__}/ReactServerProvider.spec.tsx +0 -0
- /package/src/react/router/{providers → __tests__}/ReactServerTemplateProvider.spec.ts +0 -0
- /package/src/retry/{primitives → __tests__}/$retry.spec.ts +0 -0
- /package/src/retry/{providers → __tests__}/RetryProvider.spec.ts +0 -0
- /package/src/router/{providers → __tests__}/RouterProvider.spec.ts +0 -0
- /package/src/security/{primitives → __tests__}/$issuer.spec.ts +0 -0
- /package/src/security/{primitives → __tests__}/$permission.spec.ts +0 -0
- /package/src/security/{primitives → __tests__}/$role.spec.ts +0 -0
- /package/src/security/{primitives → __tests__}/$serviceAccount.spec.ts +0 -0
- /package/src/security/{providers → __tests__}/SecurityProvider.spec.ts +0 -0
- /package/src/server/cookies/{providers → __tests__}/ServerCookiesProvider.spec.ts +0 -0
- /package/src/server/core/{primitives → __tests__}/$action.spec.ts +0 -0
- /package/src/server/core/{primitives → __tests__}/$middleware.spec.ts +0 -0
- /package/src/server/core/{primitives → __tests__}/$route.spec.ts +0 -0
- /package/src/server/core/{primitives → __tests__}/$sse.spec.ts +0 -0
- /package/src/server/core/{providers → __tests__}/BunHttpServerProvider.bun.spec.ts +0 -0
- /package/src/server/core/{services → __tests__}/HttpClient.spec.ts +0 -0
- /package/src/server/core/{providers → __tests__}/ServerLoggerProvider.spec.ts +0 -0
- /package/src/server/core/{services → __tests__}/UserAgentParser.spec.ts +0 -0
- /package/src/server/cors/{providers → __tests__}/ServerCorsProvider.spec.ts +0 -0
- /package/src/server/etag/{providers → __tests__}/ServerEtagProvider.spec.ts +0 -0
- /package/src/server/health/{providers → __tests__}/ServerHealthProvider.spec.ts +0 -0
- /package/src/server/links/{primitives → __tests__}/$remote.spec.ts +0 -0
- /package/src/server/links/{services → __tests__}/BatchEndpoint.spec.ts +0 -0
- /package/src/server/links/{providers → __tests__}/LinkProvider.spec.ts +0 -0
- /package/src/server/links/{providers → __tests__}/ServerLinksProvider.spec.ts +0 -0
- /package/src/server/metrics/{providers → __tests__}/ServerMetricsProvider.spec.ts +0 -0
- /package/src/server/proxy/{primitives → __tests__}/$proxy.spec.ts +0 -0
- /package/src/server/rate-limit/{providers → __tests__}/ServerRateLimitProvider.spec.ts +0 -0
- /package/src/server/static/{primitives → __tests__}/$serve.spec.ts +0 -0
- /package/src/server/swagger/{primitives → __tests__}/$swagger.spec.ts +0 -0
- /package/src/sms/{primitives → __tests__}/$sms.spec.ts +0 -0
- /package/src/sms/{providers → __tests__}/MemorySmsProvider.spec.ts +0 -0
- /package/src/system/{services → __tests__}/FileDetector.spec.ts +0 -0
- /package/src/system/{providers → __tests__}/NodeFileSystemProvider.spec.ts +0 -0
- /package/src/topic/core/{primitives → __tests__}/$subscriber.spec.ts +0 -0
- /package/src/topic/core/{providers → __tests__}/MemoryTopicProvider.spec.ts +0 -0
- /package/src/topic/redis/{providers → __tests__}/RedisTopicProvider.spec.ts +0 -0
- /package/src/websocket/{primitives → __tests__}/$channel.spec.ts +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as alepha from "alepha";
|
|
1
|
+
import * as _$alepha from "alepha";
|
|
2
2
|
import { Alepha, AlephaError, KIND, Primitive, Static, TNull, TObject, TOptional, TSchema, TUnion } from "alepha";
|
|
3
3
|
import { UserAccount } from "alepha/security";
|
|
4
|
-
import * as alepha_server0 from "alepha/server";
|
|
5
|
-
import * as alepha_orm0 from "alepha/orm";
|
|
4
|
+
import * as _$alepha_server0 from "alepha/server";
|
|
5
|
+
import * as _$alepha_orm0 from "alepha/orm";
|
|
6
6
|
import { CryptoProvider } from "alepha/crypto";
|
|
7
7
|
import { DateTimeProvider } from "alepha/datetime";
|
|
8
8
|
import { LockProvider } from "alepha/lock";
|
|
9
|
-
import * as alepha_logger0 from "alepha/logger";
|
|
10
|
-
import * as alepha_topic0 from "alepha/topic";
|
|
9
|
+
import * as _$alepha_logger0 from "alepha/logger";
|
|
10
|
+
import * as _$alepha_topic0 from "alepha/topic";
|
|
11
11
|
import { BuildExtraConfigColumns, SQL } from "drizzle-orm";
|
|
12
12
|
import { PgColumnBuilderBase, PgSequenceOptions, PgTableExtraConfigValue, UpdateDeleteAction } from "drizzle-orm/pg-core";
|
|
13
|
-
import * as typebox from "typebox";
|
|
13
|
+
import * as _$typebox from "typebox";
|
|
14
14
|
//#region ../../src/orm/core/schemas/insertSchema.d.ts
|
|
15
15
|
/**
|
|
16
16
|
* Transforms a TObject schema for insert operations.
|
|
@@ -91,6 +91,36 @@ interface EntityPrimitiveOptions<T extends TObject, Keys = keyof Static<T>> {
|
|
|
91
91
|
* Partial index condition. Only rows matching this SQL expression are indexed.
|
|
92
92
|
*/
|
|
93
93
|
where?: SQL;
|
|
94
|
+
} | {
|
|
95
|
+
/**
|
|
96
|
+
* SQL expressions for expression-based indexes.
|
|
97
|
+
*
|
|
98
|
+
* Can include column references and SQL functions like `LOWER()`, `UPPER()`, etc.
|
|
99
|
+
* Columns and expressions can be mixed together.
|
|
100
|
+
*
|
|
101
|
+
* @example
|
|
102
|
+
* ```ts
|
|
103
|
+
* // Case-insensitive unique username per realm
|
|
104
|
+
* indexes: [{
|
|
105
|
+
* expressions: (self) => [self.realm, sql`LOWER(${self.username})`],
|
|
106
|
+
* unique: true,
|
|
107
|
+
* name: "users_realm_username_lower_idx",
|
|
108
|
+
* }]
|
|
109
|
+
* ```
|
|
110
|
+
*/
|
|
111
|
+
expressions: (self: Record<Keys & string, any>) => (SQL | any)[];
|
|
112
|
+
/**
|
|
113
|
+
* Whether this should be a unique index (enforces uniqueness constraint).
|
|
114
|
+
*/
|
|
115
|
+
unique?: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* Custom name for the index. If not provided, generates name automatically.
|
|
118
|
+
*/
|
|
119
|
+
name: string;
|
|
120
|
+
/**
|
|
121
|
+
* Partial index condition. Only rows matching this SQL expression are indexed.
|
|
122
|
+
*/
|
|
123
|
+
where?: SQL;
|
|
94
124
|
})[];
|
|
95
125
|
/**
|
|
96
126
|
* Foreign key constraints to maintain referential integrity.
|
|
@@ -195,6 +225,7 @@ declare const PG_IDENTITY: unique symbol;
|
|
|
195
225
|
declare const PG_ENUM: unique symbol;
|
|
196
226
|
declare const PG_REF: unique symbol;
|
|
197
227
|
declare const PG_GENERATED: unique symbol;
|
|
228
|
+
declare const PG_ORGANIZATION: unique symbol;
|
|
198
229
|
/**
|
|
199
230
|
* @deprecated Use `PG_IDENTITY` instead.
|
|
200
231
|
*/
|
|
@@ -210,6 +241,7 @@ type PgSymbols = {
|
|
|
210
241
|
[PG_REF]: PgRefOptions;
|
|
211
242
|
[PG_ENUM]: PgEnumOptions;
|
|
212
243
|
[PG_GENERATED]: PgGeneratedOptions;
|
|
244
|
+
[PG_ORGANIZATION]: {};
|
|
213
245
|
/**
|
|
214
246
|
* @deprecated Use `PG_IDENTITY` instead.
|
|
215
247
|
*/
|
|
@@ -268,8 +300,8 @@ type PgAttr<T extends TSchema, TAttr extends PgSymbolKeys> = T & { [K in TAttr]:
|
|
|
268
300
|
* - `d1://BINDING_NAME` — Cloudflare D1
|
|
269
301
|
* - `hyperdrive://BINDING_NAME` — Cloudflare Hyperdrive
|
|
270
302
|
*/
|
|
271
|
-
declare const databaseEnvSchema: alepha.TObject<{
|
|
272
|
-
DATABASE_URL: alepha.TOptional<alepha.TString>;
|
|
303
|
+
declare const databaseEnvSchema: _$alepha.TObject<{
|
|
304
|
+
DATABASE_URL: _$alepha.TOptional<_$alepha.TString>;
|
|
273
305
|
/**
|
|
274
306
|
* Enable or disable push-based schema synchronization (drizzle-kit push).
|
|
275
307
|
*
|
|
@@ -277,7 +309,7 @@ declare const databaseEnvSchema: alepha.TObject<{
|
|
|
277
309
|
* Set to `false` in development to skip automatic schema sync
|
|
278
310
|
* (e.g. when managing migrations manually).
|
|
279
311
|
*/
|
|
280
|
-
DATABASE_SYNC: alepha.TOptional<alepha.TBoolean>;
|
|
312
|
+
DATABASE_SYNC: _$alepha.TOptional<_$alepha.TBoolean>;
|
|
281
313
|
}>;
|
|
282
314
|
declare module "alepha" {
|
|
283
315
|
interface Env extends Partial<Static<typeof databaseEnvSchema>> {}
|
|
@@ -293,58 +325,58 @@ declare module "alepha" {
|
|
|
293
325
|
* - Activation scheduling
|
|
294
326
|
* - Audit trail (creator info)
|
|
295
327
|
*/
|
|
296
|
-
declare const parameters: alepha_orm0.EntityPrimitive<alepha.TObject<{
|
|
297
|
-
id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
|
|
298
|
-
createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
|
|
299
|
-
updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
|
|
328
|
+
declare const parameters: _$alepha_orm0.EntityPrimitive<_$alepha.TObject<{
|
|
329
|
+
id: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$alepha.TString, typeof _$alepha_orm0.PG_PRIMARY_KEY>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
330
|
+
createdAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$alepha.TString, typeof _$alepha_orm0.PG_CREATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
331
|
+
updatedAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$alepha.TString, typeof _$alepha_orm0.PG_UPDATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
300
332
|
/**
|
|
301
333
|
* Configuration name using dot notation for tree hierarchy.
|
|
302
334
|
* Examples: "app.features", "app.pricing.tiers", "system.limits"
|
|
303
335
|
*/
|
|
304
|
-
name: alepha.TString;
|
|
336
|
+
name: _$alepha.TString;
|
|
305
337
|
/**
|
|
306
338
|
* The configuration content as JSON.
|
|
307
339
|
*/
|
|
308
|
-
content: alepha.TRecord<string, alepha.TAny>;
|
|
340
|
+
content: _$alepha.TRecord<string, _$alepha.TAny>;
|
|
309
341
|
/**
|
|
310
342
|
* Schema version hash for detecting schema changes.
|
|
311
343
|
* Used for auto-migration when schema evolves.
|
|
312
344
|
*/
|
|
313
|
-
schemaHash: alepha.TString;
|
|
345
|
+
schemaHash: _$alepha.TString;
|
|
314
346
|
/**
|
|
315
347
|
* When this version should become active.
|
|
316
348
|
* Default is immediate (now).
|
|
317
349
|
*/
|
|
318
|
-
activationDate: alepha.TString;
|
|
350
|
+
activationDate: _$alepha.TString;
|
|
319
351
|
/**
|
|
320
352
|
* Version number for this configuration.
|
|
321
353
|
* Auto-incremented per config name.
|
|
322
354
|
*/
|
|
323
|
-
version: alepha.TInteger;
|
|
355
|
+
version: _$alepha.TInteger;
|
|
324
356
|
/**
|
|
325
357
|
* Optional description of changes in this version.
|
|
326
358
|
*/
|
|
327
|
-
changeDescription: alepha.TOptional<alepha.TString>;
|
|
359
|
+
changeDescription: _$alepha.TOptional<_$alepha.TString>;
|
|
328
360
|
/**
|
|
329
361
|
* Optional tags for filtering/categorization.
|
|
330
362
|
*/
|
|
331
|
-
tags: alepha.TOptional<alepha.TArray<alepha.TString>>;
|
|
363
|
+
tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
|
|
332
364
|
/**
|
|
333
365
|
* Creator user ID (if available).
|
|
334
366
|
*/
|
|
335
|
-
creatorId: alepha.TOptional<alepha.TString>;
|
|
367
|
+
creatorId: _$alepha.TOptional<_$alepha.TString>;
|
|
336
368
|
/**
|
|
337
369
|
* Creator display name for audit trail.
|
|
338
370
|
*/
|
|
339
|
-
creatorName: alepha.TOptional<alepha.TString>;
|
|
371
|
+
creatorName: _$alepha.TOptional<_$alepha.TString>;
|
|
340
372
|
/**
|
|
341
373
|
* Previous content before this change (for rollback reference).
|
|
342
374
|
*/
|
|
343
|
-
previousContent: alepha.TOptional<alepha.TRecord<string, alepha.TAny>>;
|
|
375
|
+
previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
|
|
344
376
|
/**
|
|
345
377
|
* Migration log if schema changed.
|
|
346
378
|
*/
|
|
347
|
-
migrationLog: alepha.TOptional<alepha.TString>;
|
|
379
|
+
migrationLog: _$alepha.TOptional<_$alepha.TString>;
|
|
348
380
|
}>>;
|
|
349
381
|
type Parameter = Static<typeof parameters.schema>;
|
|
350
382
|
//#endregion
|
|
@@ -464,43 +496,43 @@ declare class ParameterPrimitive<T extends TObject> extends Primitive<ParameterP
|
|
|
464
496
|
tags?: string[] | undefined;
|
|
465
497
|
creatorId?: string | undefined;
|
|
466
498
|
creatorName?: string | undefined;
|
|
467
|
-
previousContent?: typebox.StaticRecord<[], "Decode", {}, {
|
|
468
|
-
id: PgAttr<PgAttr<alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
469
|
-
createdAt: PgAttr<PgAttr<alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
470
|
-
updatedAt: PgAttr<PgAttr<alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
471
|
-
name: alepha.TString;
|
|
472
|
-
content: alepha.TRecord<string, alepha.TAny>;
|
|
473
|
-
schemaHash: alepha.TString;
|
|
474
|
-
activationDate: alepha.TString;
|
|
475
|
-
version: alepha.TInteger;
|
|
476
|
-
changeDescription: alepha.TOptional<alepha.TString>;
|
|
477
|
-
tags: alepha.TOptional<alepha.TArray<alepha.TString>>;
|
|
478
|
-
creatorId: alepha.TOptional<alepha.TString>;
|
|
479
|
-
creatorName: alepha.TOptional<alepha.TString>;
|
|
480
|
-
previousContent: alepha.TOptional<alepha.TRecord<string, alepha.TAny>>;
|
|
481
|
-
migrationLog: alepha.TOptional<alepha.TString>;
|
|
482
|
-
}, string, alepha.TAny> | undefined;
|
|
499
|
+
previousContent?: _$typebox.StaticRecord<[], "Decode", {}, {
|
|
500
|
+
id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
501
|
+
createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
502
|
+
updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
503
|
+
name: _$alepha.TString;
|
|
504
|
+
content: _$alepha.TRecord<string, _$alepha.TAny>;
|
|
505
|
+
schemaHash: _$alepha.TString;
|
|
506
|
+
activationDate: _$alepha.TString;
|
|
507
|
+
version: _$alepha.TInteger;
|
|
508
|
+
changeDescription: _$alepha.TOptional<_$alepha.TString>;
|
|
509
|
+
tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
|
|
510
|
+
creatorId: _$alepha.TOptional<_$alepha.TString>;
|
|
511
|
+
creatorName: _$alepha.TOptional<_$alepha.TString>;
|
|
512
|
+
previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
|
|
513
|
+
migrationLog: _$alepha.TOptional<_$alepha.TString>;
|
|
514
|
+
}, string, _$alepha.TAny> | undefined;
|
|
483
515
|
migrationLog?: string | undefined;
|
|
484
|
-
name: string;
|
|
485
516
|
id: string;
|
|
486
517
|
createdAt: string;
|
|
487
518
|
updatedAt: string;
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
519
|
+
name: string;
|
|
520
|
+
content: _$typebox.StaticRecord<[], "Decode", {}, {
|
|
521
|
+
id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
522
|
+
createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
523
|
+
updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
524
|
+
name: _$alepha.TString;
|
|
525
|
+
content: _$alepha.TRecord<string, _$alepha.TAny>;
|
|
526
|
+
schemaHash: _$alepha.TString;
|
|
527
|
+
activationDate: _$alepha.TString;
|
|
528
|
+
version: _$alepha.TInteger;
|
|
529
|
+
changeDescription: _$alepha.TOptional<_$alepha.TString>;
|
|
530
|
+
tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
|
|
531
|
+
creatorId: _$alepha.TOptional<_$alepha.TString>;
|
|
532
|
+
creatorName: _$alepha.TOptional<_$alepha.TString>;
|
|
533
|
+
previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
|
|
534
|
+
migrationLog: _$alepha.TOptional<_$alepha.TString>;
|
|
535
|
+
}, string, _$alepha.TAny>;
|
|
504
536
|
schemaHash: string;
|
|
505
537
|
activationDate: string;
|
|
506
538
|
version: number;
|
|
@@ -542,18 +574,18 @@ interface SetParameterOptions {
|
|
|
542
574
|
/**
|
|
543
575
|
* Parameter status enum schema.
|
|
544
576
|
*/
|
|
545
|
-
declare const parameterStatusSchema: alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
577
|
+
declare const parameterStatusSchema: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
546
578
|
type ParameterStatus = Static<typeof parameterStatusSchema>;
|
|
547
579
|
//#endregion
|
|
548
580
|
//#region ../../src/api/parameters/schemas/parameterTreeNodeSchema.d.ts
|
|
549
581
|
/**
|
|
550
582
|
* Tree node schema for parameter tree navigation.
|
|
551
583
|
*/
|
|
552
|
-
declare const parameterTreeNodeSchema: alepha.TObject<{
|
|
553
|
-
name: alepha.TString;
|
|
554
|
-
path: alepha.TString;
|
|
555
|
-
isLeaf: alepha.TBoolean;
|
|
556
|
-
children: alepha.TArray<alepha.TAny>;
|
|
584
|
+
declare const parameterTreeNodeSchema: _$alepha.TObject<{
|
|
585
|
+
name: _$alepha.TString;
|
|
586
|
+
path: _$alepha.TString;
|
|
587
|
+
isLeaf: _$alepha.TBoolean;
|
|
588
|
+
children: _$alepha.TArray<_$alepha.TAny>;
|
|
557
589
|
}>;
|
|
558
590
|
type ParameterTreeNode = Static<typeof parameterTreeNodeSchema>;
|
|
559
591
|
//#endregion
|
|
@@ -583,31 +615,32 @@ type ParameterWithStatus = Parameter & {
|
|
|
583
615
|
* - Manages per-parameter caching, loading, and subscriber notification
|
|
584
616
|
*/
|
|
585
617
|
declare class ParameterProvider {
|
|
586
|
-
protected readonly log: alepha_logger0.Logger;
|
|
618
|
+
protected readonly log: _$alepha_logger0.Logger;
|
|
587
619
|
protected readonly alepha: Alepha;
|
|
588
620
|
protected readonly dateTimeProvider: DateTimeProvider;
|
|
589
621
|
protected readonly crypto: CryptoProvider;
|
|
590
622
|
protected readonly lockProvider: LockProvider;
|
|
591
|
-
protected readonly repo: alepha_orm0.Repository<TObject<{
|
|
592
|
-
id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
|
|
593
|
-
createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
|
|
594
|
-
updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
|
|
595
|
-
name: alepha.TString;
|
|
596
|
-
content: alepha.TRecord<string, alepha.TAny>;
|
|
597
|
-
schemaHash: alepha.TString;
|
|
598
|
-
activationDate: alepha.TString;
|
|
599
|
-
version: alepha.TInteger;
|
|
600
|
-
changeDescription: alepha.TOptional<alepha.TString>;
|
|
601
|
-
tags: alepha.TOptional<alepha.TArray<alepha.TString>>;
|
|
602
|
-
creatorId: alepha.TOptional<alepha.TString>;
|
|
603
|
-
creatorName: alepha.TOptional<alepha.TString>;
|
|
604
|
-
previousContent: alepha.TOptional<alepha.TRecord<string, alepha.TAny>>;
|
|
605
|
-
migrationLog: alepha.TOptional<alepha.TString>;
|
|
623
|
+
protected readonly repo: _$alepha_orm0.Repository<TObject<{
|
|
624
|
+
id: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$alepha.TString, typeof _$alepha_orm0.PG_PRIMARY_KEY>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
625
|
+
createdAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$alepha.TString, typeof _$alepha_orm0.PG_CREATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
626
|
+
updatedAt: _$alepha_orm0.PgAttr<_$alepha_orm0.PgAttr<_$alepha.TString, typeof _$alepha_orm0.PG_UPDATED_AT>, typeof _$alepha_orm0.PG_DEFAULT>;
|
|
627
|
+
name: _$alepha.TString;
|
|
628
|
+
content: _$alepha.TRecord<string, _$alepha.TAny>;
|
|
629
|
+
schemaHash: _$alepha.TString;
|
|
630
|
+
activationDate: _$alepha.TString;
|
|
631
|
+
version: _$alepha.TInteger;
|
|
632
|
+
changeDescription: _$alepha.TOptional<_$alepha.TString>;
|
|
633
|
+
tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
|
|
634
|
+
creatorId: _$alepha.TOptional<_$alepha.TString>;
|
|
635
|
+
creatorName: _$alepha.TOptional<_$alepha.TString>;
|
|
636
|
+
previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
|
|
637
|
+
migrationLog: _$alepha.TOptional<_$alepha.TString>;
|
|
606
638
|
}>>;
|
|
607
639
|
/**
|
|
608
640
|
* Unique identifier for this instance (to avoid self-updates).
|
|
609
641
|
*/
|
|
610
|
-
protected
|
|
642
|
+
protected get instanceId(): string;
|
|
643
|
+
protected _instanceId: string | undefined;
|
|
611
644
|
/**
|
|
612
645
|
* In-memory cache of registered parameter primitives.
|
|
613
646
|
*/
|
|
@@ -646,15 +679,15 @@ declare class ParameterProvider {
|
|
|
646
679
|
/**
|
|
647
680
|
* Pre-load all registered parameters on ready (non-serverless only).
|
|
648
681
|
*/
|
|
649
|
-
protected readonly onReady: alepha.HookPrimitive<"ready">;
|
|
682
|
+
protected readonly onReady: _$alepha.HookPrimitive<"ready">;
|
|
650
683
|
/**
|
|
651
684
|
* Topic for cross-instance change notification.
|
|
652
685
|
* Payload is minimal — receivers call load() to fetch fresh data.
|
|
653
686
|
*/
|
|
654
|
-
readonly syncTopic: alepha_topic0.TopicPrimitive<{
|
|
687
|
+
readonly syncTopic: _$alepha_topic0.TopicPrimitive<{
|
|
655
688
|
payload: TObject<{
|
|
656
|
-
name: alepha.TString;
|
|
657
|
-
instanceId: alepha.TString;
|
|
689
|
+
name: _$alepha.TString;
|
|
690
|
+
instanceId: _$alepha.TString;
|
|
658
691
|
}>;
|
|
659
692
|
}>;
|
|
660
693
|
/**
|
|
@@ -846,47 +879,47 @@ declare class AdminParameterController {
|
|
|
846
879
|
* Get tree structure of all parameter names.
|
|
847
880
|
* Useful for admin UI navigation.
|
|
848
881
|
*/
|
|
849
|
-
getParameterTree: alepha_server0.ActionPrimitiveFn<{
|
|
850
|
-
response: alepha.TArray<alepha.TObject<{
|
|
851
|
-
name: alepha.TString;
|
|
852
|
-
path: alepha.TString;
|
|
853
|
-
isLeaf: alepha.TBoolean;
|
|
854
|
-
children: alepha.TArray<alepha.TAny>;
|
|
882
|
+
getParameterTree: _$alepha_server0.ActionPrimitiveFn<{
|
|
883
|
+
response: _$alepha.TArray<_$alepha.TObject<{
|
|
884
|
+
name: _$alepha.TString;
|
|
885
|
+
path: _$alepha.TString;
|
|
886
|
+
isLeaf: _$alepha.TBoolean;
|
|
887
|
+
children: _$alepha.TArray<_$alepha.TAny>;
|
|
855
888
|
}>>;
|
|
856
889
|
}>;
|
|
857
890
|
/**
|
|
858
891
|
* List all unique parameter names.
|
|
859
892
|
*/
|
|
860
|
-
listParameterNames: alepha_server0.ActionPrimitiveFn<{
|
|
861
|
-
response: alepha.TObject<{
|
|
862
|
-
names: alepha.TArray<alepha.TString>;
|
|
893
|
+
listParameterNames: _$alepha_server0.ActionPrimitiveFn<{
|
|
894
|
+
response: _$alepha.TObject<{
|
|
895
|
+
names: _$alepha.TArray<_$alepha.TString>;
|
|
863
896
|
}>;
|
|
864
897
|
}>;
|
|
865
898
|
/**
|
|
866
899
|
* Get version history for a specific parameter.
|
|
867
900
|
* Returns all versions with calculated status.
|
|
868
901
|
*/
|
|
869
|
-
getHistory: alepha_server0.ActionPrimitiveFn<{
|
|
870
|
-
params: alepha.TObject<{
|
|
871
|
-
name: alepha.TString;
|
|
902
|
+
getHistory: _$alepha_server0.ActionPrimitiveFn<{
|
|
903
|
+
params: _$alepha.TObject<{
|
|
904
|
+
name: _$alepha.TString;
|
|
872
905
|
}>;
|
|
873
|
-
response: alepha.TObject<{
|
|
874
|
-
versions: alepha.TArray<alepha.TObject<{
|
|
875
|
-
id: PgAttr<PgAttr<alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
876
|
-
createdAt: PgAttr<PgAttr<alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
877
|
-
updatedAt: PgAttr<PgAttr<alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
878
|
-
name: alepha.TString;
|
|
879
|
-
content: alepha.TRecord<string, alepha.TAny>;
|
|
880
|
-
schemaHash: alepha.TString;
|
|
881
|
-
activationDate: alepha.TString;
|
|
882
|
-
version: alepha.TInteger;
|
|
883
|
-
changeDescription: alepha.TOptional<alepha.TString>;
|
|
884
|
-
tags: alepha.TOptional<alepha.TArray<alepha.TString>>;
|
|
885
|
-
creatorId: alepha.TOptional<alepha.TString>;
|
|
886
|
-
creatorName: alepha.TOptional<alepha.TString>;
|
|
887
|
-
previousContent: alepha.TOptional<alepha.TRecord<string, alepha.TAny>>;
|
|
888
|
-
migrationLog: alepha.TOptional<alepha.TString>;
|
|
889
|
-
status: alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
906
|
+
response: _$alepha.TObject<{
|
|
907
|
+
versions: _$alepha.TArray<_$alepha.TObject<{
|
|
908
|
+
id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
909
|
+
createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
910
|
+
updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
911
|
+
name: _$alepha.TString;
|
|
912
|
+
content: _$alepha.TRecord<string, _$alepha.TAny>;
|
|
913
|
+
schemaHash: _$alepha.TString;
|
|
914
|
+
activationDate: _$alepha.TString;
|
|
915
|
+
version: _$alepha.TInteger;
|
|
916
|
+
changeDescription: _$alepha.TOptional<_$alepha.TString>;
|
|
917
|
+
tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
|
|
918
|
+
creatorId: _$alepha.TOptional<_$alepha.TString>;
|
|
919
|
+
creatorName: _$alepha.TOptional<_$alepha.TString>;
|
|
920
|
+
previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
|
|
921
|
+
migrationLog: _$alepha.TOptional<_$alepha.TString>;
|
|
922
|
+
status: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
890
923
|
}>>;
|
|
891
924
|
}>;
|
|
892
925
|
}>;
|
|
@@ -895,172 +928,172 @@ declare class AdminParameterController {
|
|
|
895
928
|
* Includes defaultValue and currentValue from the registered primitive
|
|
896
929
|
* even if no versions exist in the database yet.
|
|
897
930
|
*/
|
|
898
|
-
getCurrent: alepha_server0.ActionPrimitiveFn<{
|
|
899
|
-
params: alepha.TObject<{
|
|
900
|
-
name: alepha.TString;
|
|
931
|
+
getCurrent: _$alepha_server0.ActionPrimitiveFn<{
|
|
932
|
+
params: _$alepha.TObject<{
|
|
933
|
+
name: _$alepha.TString;
|
|
901
934
|
}>;
|
|
902
|
-
response: alepha.TObject<{
|
|
903
|
-
current: alepha.TOptional<alepha.TObject<{
|
|
904
|
-
id: PgAttr<PgAttr<alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
905
|
-
createdAt: PgAttr<PgAttr<alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
906
|
-
updatedAt: PgAttr<PgAttr<alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
907
|
-
name: alepha.TString;
|
|
908
|
-
content: alepha.TRecord<string, alepha.TAny>;
|
|
909
|
-
schemaHash: alepha.TString;
|
|
910
|
-
activationDate: alepha.TString;
|
|
911
|
-
version: alepha.TInteger;
|
|
912
|
-
changeDescription: alepha.TOptional<alepha.TString>;
|
|
913
|
-
tags: alepha.TOptional<alepha.TArray<alepha.TString>>;
|
|
914
|
-
creatorId: alepha.TOptional<alepha.TString>;
|
|
915
|
-
creatorName: alepha.TOptional<alepha.TString>;
|
|
916
|
-
previousContent: alepha.TOptional<alepha.TRecord<string, alepha.TAny>>;
|
|
917
|
-
migrationLog: alepha.TOptional<alepha.TString>;
|
|
918
|
-
status: alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
935
|
+
response: _$alepha.TObject<{
|
|
936
|
+
current: _$alepha.TOptional<_$alepha.TObject<{
|
|
937
|
+
id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
938
|
+
createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
939
|
+
updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
940
|
+
name: _$alepha.TString;
|
|
941
|
+
content: _$alepha.TRecord<string, _$alepha.TAny>;
|
|
942
|
+
schemaHash: _$alepha.TString;
|
|
943
|
+
activationDate: _$alepha.TString;
|
|
944
|
+
version: _$alepha.TInteger;
|
|
945
|
+
changeDescription: _$alepha.TOptional<_$alepha.TString>;
|
|
946
|
+
tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
|
|
947
|
+
creatorId: _$alepha.TOptional<_$alepha.TString>;
|
|
948
|
+
creatorName: _$alepha.TOptional<_$alepha.TString>;
|
|
949
|
+
previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
|
|
950
|
+
migrationLog: _$alepha.TOptional<_$alepha.TString>;
|
|
951
|
+
status: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
919
952
|
}>>;
|
|
920
|
-
next: alepha.TOptional<alepha.TObject<{
|
|
921
|
-
id: PgAttr<PgAttr<alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
922
|
-
createdAt: PgAttr<PgAttr<alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
923
|
-
updatedAt: PgAttr<PgAttr<alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
924
|
-
name: alepha.TString;
|
|
925
|
-
content: alepha.TRecord<string, alepha.TAny>;
|
|
926
|
-
schemaHash: alepha.TString;
|
|
927
|
-
activationDate: alepha.TString;
|
|
928
|
-
version: alepha.TInteger;
|
|
929
|
-
changeDescription: alepha.TOptional<alepha.TString>;
|
|
930
|
-
tags: alepha.TOptional<alepha.TArray<alepha.TString>>;
|
|
931
|
-
creatorId: alepha.TOptional<alepha.TString>;
|
|
932
|
-
creatorName: alepha.TOptional<alepha.TString>;
|
|
933
|
-
previousContent: alepha.TOptional<alepha.TRecord<string, alepha.TAny>>;
|
|
934
|
-
migrationLog: alepha.TOptional<alepha.TString>;
|
|
935
|
-
status: alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
953
|
+
next: _$alepha.TOptional<_$alepha.TObject<{
|
|
954
|
+
id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
955
|
+
createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
956
|
+
updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
957
|
+
name: _$alepha.TString;
|
|
958
|
+
content: _$alepha.TRecord<string, _$alepha.TAny>;
|
|
959
|
+
schemaHash: _$alepha.TString;
|
|
960
|
+
activationDate: _$alepha.TString;
|
|
961
|
+
version: _$alepha.TInteger;
|
|
962
|
+
changeDescription: _$alepha.TOptional<_$alepha.TString>;
|
|
963
|
+
tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
|
|
964
|
+
creatorId: _$alepha.TOptional<_$alepha.TString>;
|
|
965
|
+
creatorName: _$alepha.TOptional<_$alepha.TString>;
|
|
966
|
+
previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
|
|
967
|
+
migrationLog: _$alepha.TOptional<_$alepha.TString>;
|
|
968
|
+
status: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
936
969
|
}>>;
|
|
937
|
-
defaultValue: alepha.TOptional<alepha.TRecord<string, alepha.TAny>>;
|
|
938
|
-
currentValue: alepha.TOptional<alepha.TRecord<string, alepha.TAny>>;
|
|
939
|
-
schema: alepha.TOptional<alepha.TRecord<string, alepha.TAny>>;
|
|
970
|
+
defaultValue: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
|
|
971
|
+
currentValue: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
|
|
972
|
+
schema: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
|
|
940
973
|
}>;
|
|
941
974
|
}>;
|
|
942
975
|
/**
|
|
943
976
|
* Get a specific version of a parameter.
|
|
944
977
|
*/
|
|
945
|
-
getVersion: alepha_server0.ActionPrimitiveFn<{
|
|
946
|
-
params: alepha.TObject<{
|
|
947
|
-
name: alepha.TString;
|
|
948
|
-
version: alepha.TInteger;
|
|
978
|
+
getVersion: _$alepha_server0.ActionPrimitiveFn<{
|
|
979
|
+
params: _$alepha.TObject<{
|
|
980
|
+
name: _$alepha.TString;
|
|
981
|
+
version: _$alepha.TInteger;
|
|
949
982
|
}>;
|
|
950
|
-
response: alepha.TObject<{
|
|
951
|
-
parameter: alepha.TOptional<alepha.TObject<{
|
|
952
|
-
id: PgAttr<PgAttr<alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
953
|
-
createdAt: PgAttr<PgAttr<alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
954
|
-
updatedAt: PgAttr<PgAttr<alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
955
|
-
name: alepha.TString;
|
|
956
|
-
content: alepha.TRecord<string, alepha.TAny>;
|
|
957
|
-
schemaHash: alepha.TString;
|
|
958
|
-
activationDate: alepha.TString;
|
|
959
|
-
version: alepha.TInteger;
|
|
960
|
-
changeDescription: alepha.TOptional<alepha.TString>;
|
|
961
|
-
tags: alepha.TOptional<alepha.TArray<alepha.TString>>;
|
|
962
|
-
creatorId: alepha.TOptional<alepha.TString>;
|
|
963
|
-
creatorName: alepha.TOptional<alepha.TString>;
|
|
964
|
-
previousContent: alepha.TOptional<alepha.TRecord<string, alepha.TAny>>;
|
|
965
|
-
migrationLog: alepha.TOptional<alepha.TString>;
|
|
966
|
-
status: alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
983
|
+
response: _$alepha.TObject<{
|
|
984
|
+
parameter: _$alepha.TOptional<_$alepha.TObject<{
|
|
985
|
+
id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
986
|
+
createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
987
|
+
updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
988
|
+
name: _$alepha.TString;
|
|
989
|
+
content: _$alepha.TRecord<string, _$alepha.TAny>;
|
|
990
|
+
schemaHash: _$alepha.TString;
|
|
991
|
+
activationDate: _$alepha.TString;
|
|
992
|
+
version: _$alepha.TInteger;
|
|
993
|
+
changeDescription: _$alepha.TOptional<_$alepha.TString>;
|
|
994
|
+
tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
|
|
995
|
+
creatorId: _$alepha.TOptional<_$alepha.TString>;
|
|
996
|
+
creatorName: _$alepha.TOptional<_$alepha.TString>;
|
|
997
|
+
previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
|
|
998
|
+
migrationLog: _$alepha.TOptional<_$alepha.TString>;
|
|
999
|
+
status: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
967
1000
|
}>>;
|
|
968
1001
|
}>;
|
|
969
1002
|
}>;
|
|
970
1003
|
/**
|
|
971
1004
|
* Create a new parameter version.
|
|
972
1005
|
*/
|
|
973
|
-
createVersion: alepha_server0.ActionPrimitiveFn<{
|
|
974
|
-
params: alepha.TObject<{
|
|
975
|
-
name: alepha.TString;
|
|
1006
|
+
createVersion: _$alepha_server0.ActionPrimitiveFn<{
|
|
1007
|
+
params: _$alepha.TObject<{
|
|
1008
|
+
name: _$alepha.TString;
|
|
976
1009
|
}>;
|
|
977
|
-
body: alepha.TObject<{
|
|
978
|
-
content: alepha.TRecord<string, alepha.TAny>;
|
|
979
|
-
schemaHash: alepha.TString;
|
|
980
|
-
changeDescription: alepha.TOptional<alepha.TString>;
|
|
981
|
-
tags: alepha.TOptional<alepha.TArray<alepha.TString>>;
|
|
982
|
-
creatorId: alepha.TOptional<alepha.TString>;
|
|
983
|
-
creatorName: alepha.TOptional<alepha.TString>;
|
|
984
|
-
activationDate: alepha.TOptional<alepha.TString>;
|
|
1010
|
+
body: _$alepha.TObject<{
|
|
1011
|
+
content: _$alepha.TRecord<string, _$alepha.TAny>;
|
|
1012
|
+
schemaHash: _$alepha.TString;
|
|
1013
|
+
changeDescription: _$alepha.TOptional<_$alepha.TString>;
|
|
1014
|
+
tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
|
|
1015
|
+
creatorId: _$alepha.TOptional<_$alepha.TString>;
|
|
1016
|
+
creatorName: _$alepha.TOptional<_$alepha.TString>;
|
|
1017
|
+
activationDate: _$alepha.TOptional<_$alepha.TString>;
|
|
985
1018
|
}>;
|
|
986
|
-
response: alepha.TObject<{
|
|
987
|
-
id: PgAttr<PgAttr<alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
988
|
-
createdAt: PgAttr<PgAttr<alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
989
|
-
updatedAt: PgAttr<PgAttr<alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
990
|
-
name: alepha.TString;
|
|
991
|
-
content: alepha.TRecord<string, alepha.TAny>;
|
|
992
|
-
schemaHash: alepha.TString;
|
|
993
|
-
activationDate: alepha.TString;
|
|
994
|
-
version: alepha.TInteger;
|
|
995
|
-
changeDescription: alepha.TOptional<alepha.TString>;
|
|
996
|
-
tags: alepha.TOptional<alepha.TArray<alepha.TString>>;
|
|
997
|
-
creatorId: alepha.TOptional<alepha.TString>;
|
|
998
|
-
creatorName: alepha.TOptional<alepha.TString>;
|
|
999
|
-
previousContent: alepha.TOptional<alepha.TRecord<string, alepha.TAny>>;
|
|
1000
|
-
migrationLog: alepha.TOptional<alepha.TString>;
|
|
1001
|
-
status: alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
1019
|
+
response: _$alepha.TObject<{
|
|
1020
|
+
id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
1021
|
+
createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
1022
|
+
updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
1023
|
+
name: _$alepha.TString;
|
|
1024
|
+
content: _$alepha.TRecord<string, _$alepha.TAny>;
|
|
1025
|
+
schemaHash: _$alepha.TString;
|
|
1026
|
+
activationDate: _$alepha.TString;
|
|
1027
|
+
version: _$alepha.TInteger;
|
|
1028
|
+
changeDescription: _$alepha.TOptional<_$alepha.TString>;
|
|
1029
|
+
tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
|
|
1030
|
+
creatorId: _$alepha.TOptional<_$alepha.TString>;
|
|
1031
|
+
creatorName: _$alepha.TOptional<_$alepha.TString>;
|
|
1032
|
+
previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
|
|
1033
|
+
migrationLog: _$alepha.TOptional<_$alepha.TString>;
|
|
1034
|
+
status: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
1002
1035
|
}>;
|
|
1003
1036
|
}>;
|
|
1004
1037
|
/**
|
|
1005
1038
|
* Rollback to a previous version.
|
|
1006
1039
|
*/
|
|
1007
|
-
rollback: alepha_server0.ActionPrimitiveFn<{
|
|
1008
|
-
params: alepha.TObject<{
|
|
1009
|
-
name: alepha.TString;
|
|
1040
|
+
rollback: _$alepha_server0.ActionPrimitiveFn<{
|
|
1041
|
+
params: _$alepha.TObject<{
|
|
1042
|
+
name: _$alepha.TString;
|
|
1010
1043
|
}>;
|
|
1011
|
-
body: alepha.TObject<{
|
|
1012
|
-
changeDescription: alepha.TOptional<alepha.TString>;
|
|
1013
|
-
creatorId: alepha.TOptional<alepha.TString>;
|
|
1014
|
-
creatorName: alepha.TOptional<alepha.TString>;
|
|
1015
|
-
targetVersion: alepha.TInteger;
|
|
1044
|
+
body: _$alepha.TObject<{
|
|
1045
|
+
changeDescription: _$alepha.TOptional<_$alepha.TString>;
|
|
1046
|
+
creatorId: _$alepha.TOptional<_$alepha.TString>;
|
|
1047
|
+
creatorName: _$alepha.TOptional<_$alepha.TString>;
|
|
1048
|
+
targetVersion: _$alepha.TInteger;
|
|
1016
1049
|
}>;
|
|
1017
|
-
response: alepha.TObject<{
|
|
1018
|
-
id: PgAttr<PgAttr<alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
1019
|
-
createdAt: PgAttr<PgAttr<alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
1020
|
-
updatedAt: PgAttr<PgAttr<alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
1021
|
-
name: alepha.TString;
|
|
1022
|
-
content: alepha.TRecord<string, alepha.TAny>;
|
|
1023
|
-
schemaHash: alepha.TString;
|
|
1024
|
-
activationDate: alepha.TString;
|
|
1025
|
-
version: alepha.TInteger;
|
|
1026
|
-
changeDescription: alepha.TOptional<alepha.TString>;
|
|
1027
|
-
tags: alepha.TOptional<alepha.TArray<alepha.TString>>;
|
|
1028
|
-
creatorId: alepha.TOptional<alepha.TString>;
|
|
1029
|
-
creatorName: alepha.TOptional<alepha.TString>;
|
|
1030
|
-
previousContent: alepha.TOptional<alepha.TRecord<string, alepha.TAny>>;
|
|
1031
|
-
migrationLog: alepha.TOptional<alepha.TString>;
|
|
1032
|
-
status: alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
1050
|
+
response: _$alepha.TObject<{
|
|
1051
|
+
id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
1052
|
+
createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
1053
|
+
updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
1054
|
+
name: _$alepha.TString;
|
|
1055
|
+
content: _$alepha.TRecord<string, _$alepha.TAny>;
|
|
1056
|
+
schemaHash: _$alepha.TString;
|
|
1057
|
+
activationDate: _$alepha.TString;
|
|
1058
|
+
version: _$alepha.TInteger;
|
|
1059
|
+
changeDescription: _$alepha.TOptional<_$alepha.TString>;
|
|
1060
|
+
tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
|
|
1061
|
+
creatorId: _$alepha.TOptional<_$alepha.TString>;
|
|
1062
|
+
creatorName: _$alepha.TOptional<_$alepha.TString>;
|
|
1063
|
+
previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
|
|
1064
|
+
migrationLog: _$alepha.TOptional<_$alepha.TString>;
|
|
1065
|
+
status: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
1033
1066
|
}>;
|
|
1034
1067
|
}>;
|
|
1035
1068
|
/**
|
|
1036
1069
|
* Activate a scheduled version immediately.
|
|
1037
1070
|
* Creates a new version with the same content but immediate activation.
|
|
1038
1071
|
*/
|
|
1039
|
-
activateNow: alepha_server0.ActionPrimitiveFn<{
|
|
1040
|
-
params: alepha.TObject<{
|
|
1041
|
-
name: alepha.TString;
|
|
1072
|
+
activateNow: _$alepha_server0.ActionPrimitiveFn<{
|
|
1073
|
+
params: _$alepha.TObject<{
|
|
1074
|
+
name: _$alepha.TString;
|
|
1042
1075
|
}>;
|
|
1043
|
-
body: alepha.TObject<{
|
|
1044
|
-
version: alepha.TInteger;
|
|
1045
|
-
creatorId: alepha.TOptional<alepha.TString>;
|
|
1046
|
-
creatorName: alepha.TOptional<alepha.TString>;
|
|
1076
|
+
body: _$alepha.TObject<{
|
|
1077
|
+
version: _$alepha.TInteger;
|
|
1078
|
+
creatorId: _$alepha.TOptional<_$alepha.TString>;
|
|
1079
|
+
creatorName: _$alepha.TOptional<_$alepha.TString>;
|
|
1047
1080
|
}>;
|
|
1048
|
-
response: alepha.TObject<{
|
|
1049
|
-
id: PgAttr<PgAttr<alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
1050
|
-
createdAt: PgAttr<PgAttr<alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
1051
|
-
updatedAt: PgAttr<PgAttr<alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
1052
|
-
name: alepha.TString;
|
|
1053
|
-
content: alepha.TRecord<string, alepha.TAny>;
|
|
1054
|
-
schemaHash: alepha.TString;
|
|
1055
|
-
activationDate: alepha.TString;
|
|
1056
|
-
version: alepha.TInteger;
|
|
1057
|
-
changeDescription: alepha.TOptional<alepha.TString>;
|
|
1058
|
-
tags: alepha.TOptional<alepha.TArray<alepha.TString>>;
|
|
1059
|
-
creatorId: alepha.TOptional<alepha.TString>;
|
|
1060
|
-
creatorName: alepha.TOptional<alepha.TString>;
|
|
1061
|
-
previousContent: alepha.TOptional<alepha.TRecord<string, alepha.TAny>>;
|
|
1062
|
-
migrationLog: alepha.TOptional<alepha.TString>;
|
|
1063
|
-
status: alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
1081
|
+
response: _$alepha.TObject<{
|
|
1082
|
+
id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
1083
|
+
createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
1084
|
+
updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
1085
|
+
name: _$alepha.TString;
|
|
1086
|
+
content: _$alepha.TRecord<string, _$alepha.TAny>;
|
|
1087
|
+
schemaHash: _$alepha.TString;
|
|
1088
|
+
activationDate: _$alepha.TString;
|
|
1089
|
+
version: _$alepha.TInteger;
|
|
1090
|
+
changeDescription: _$alepha.TOptional<_$alepha.TString>;
|
|
1091
|
+
tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
|
|
1092
|
+
creatorId: _$alepha.TOptional<_$alepha.TString>;
|
|
1093
|
+
creatorName: _$alepha.TOptional<_$alepha.TString>;
|
|
1094
|
+
previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
|
|
1095
|
+
migrationLog: _$alepha.TOptional<_$alepha.TString>;
|
|
1096
|
+
status: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
1064
1097
|
}>;
|
|
1065
1098
|
}>;
|
|
1066
1099
|
}
|
|
@@ -1070,10 +1103,10 @@ declare class AdminParameterController {
|
|
|
1070
1103
|
* Activate parameter body schema.
|
|
1071
1104
|
* Uses t.pick for version and creator fields.
|
|
1072
1105
|
*/
|
|
1073
|
-
declare const activateParameterBodySchema: alepha.TObject<{
|
|
1074
|
-
version: alepha.TInteger;
|
|
1075
|
-
creatorId: alepha.TOptional<alepha.TString>;
|
|
1076
|
-
creatorName: alepha.TOptional<alepha.TString>;
|
|
1106
|
+
declare const activateParameterBodySchema: _$alepha.TObject<{
|
|
1107
|
+
version: _$alepha.TInteger;
|
|
1108
|
+
creatorId: _$alepha.TOptional<_$alepha.TString>;
|
|
1109
|
+
creatorName: _$alepha.TOptional<_$alepha.TString>;
|
|
1077
1110
|
}>;
|
|
1078
1111
|
type ActivateParameterBody = Static<typeof activateParameterBodySchema>;
|
|
1079
1112
|
//#endregion
|
|
@@ -1082,14 +1115,14 @@ type ActivateParameterBody = Static<typeof activateParameterBodySchema>;
|
|
|
1082
1115
|
* Create parameter version body schema.
|
|
1083
1116
|
* Uses t.pick to derive from entity, with required fields made non-optional.
|
|
1084
1117
|
*/
|
|
1085
|
-
declare const createParameterVersionBodySchema: alepha.TObject<{
|
|
1086
|
-
content: alepha.TRecord<string, alepha.TAny>;
|
|
1087
|
-
schemaHash: alepha.TString;
|
|
1088
|
-
changeDescription: alepha.TOptional<alepha.TString>;
|
|
1089
|
-
tags: alepha.TOptional<alepha.TArray<alepha.TString>>;
|
|
1090
|
-
creatorId: alepha.TOptional<alepha.TString>;
|
|
1091
|
-
creatorName: alepha.TOptional<alepha.TString>;
|
|
1092
|
-
activationDate: alepha.TOptional<alepha.TString>;
|
|
1118
|
+
declare const createParameterVersionBodySchema: _$alepha.TObject<{
|
|
1119
|
+
content: _$alepha.TRecord<string, _$alepha.TAny>;
|
|
1120
|
+
schemaHash: _$alepha.TString;
|
|
1121
|
+
changeDescription: _$alepha.TOptional<_$alepha.TString>;
|
|
1122
|
+
tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
|
|
1123
|
+
creatorId: _$alepha.TOptional<_$alepha.TString>;
|
|
1124
|
+
creatorName: _$alepha.TOptional<_$alepha.TString>;
|
|
1125
|
+
activationDate: _$alepha.TOptional<_$alepha.TString>;
|
|
1093
1126
|
}>;
|
|
1094
1127
|
type CreateParameterVersionBody = Static<typeof createParameterVersionBodySchema>;
|
|
1095
1128
|
//#endregion
|
|
@@ -1098,44 +1131,44 @@ type CreateParameterVersionBody = Static<typeof createParameterVersionBodySchema
|
|
|
1098
1131
|
* Current parameter response schema.
|
|
1099
1132
|
* Includes current version, next scheduled version, and defaults.
|
|
1100
1133
|
*/
|
|
1101
|
-
declare const parameterCurrentResponseSchema: alepha.TObject<{
|
|
1102
|
-
current: alepha.TOptional<alepha.TObject<{
|
|
1103
|
-
id: PgAttr<PgAttr<alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
1104
|
-
createdAt: PgAttr<PgAttr<alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
1105
|
-
updatedAt: PgAttr<PgAttr<alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
1106
|
-
name: alepha.TString;
|
|
1107
|
-
content: alepha.TRecord<string, alepha.TAny>;
|
|
1108
|
-
schemaHash: alepha.TString;
|
|
1109
|
-
activationDate: alepha.TString;
|
|
1110
|
-
version: alepha.TInteger;
|
|
1111
|
-
changeDescription: alepha.TOptional<alepha.TString>;
|
|
1112
|
-
tags: alepha.TOptional<alepha.TArray<alepha.TString>>;
|
|
1113
|
-
creatorId: alepha.TOptional<alepha.TString>;
|
|
1114
|
-
creatorName: alepha.TOptional<alepha.TString>;
|
|
1115
|
-
previousContent: alepha.TOptional<alepha.TRecord<string, alepha.TAny>>;
|
|
1116
|
-
migrationLog: alepha.TOptional<alepha.TString>;
|
|
1117
|
-
status: alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
1134
|
+
declare const parameterCurrentResponseSchema: _$alepha.TObject<{
|
|
1135
|
+
current: _$alepha.TOptional<_$alepha.TObject<{
|
|
1136
|
+
id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
1137
|
+
createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
1138
|
+
updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
1139
|
+
name: _$alepha.TString;
|
|
1140
|
+
content: _$alepha.TRecord<string, _$alepha.TAny>;
|
|
1141
|
+
schemaHash: _$alepha.TString;
|
|
1142
|
+
activationDate: _$alepha.TString;
|
|
1143
|
+
version: _$alepha.TInteger;
|
|
1144
|
+
changeDescription: _$alepha.TOptional<_$alepha.TString>;
|
|
1145
|
+
tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
|
|
1146
|
+
creatorId: _$alepha.TOptional<_$alepha.TString>;
|
|
1147
|
+
creatorName: _$alepha.TOptional<_$alepha.TString>;
|
|
1148
|
+
previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
|
|
1149
|
+
migrationLog: _$alepha.TOptional<_$alepha.TString>;
|
|
1150
|
+
status: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
1118
1151
|
}>>;
|
|
1119
|
-
next: alepha.TOptional<alepha.TObject<{
|
|
1120
|
-
id: PgAttr<PgAttr<alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
1121
|
-
createdAt: PgAttr<PgAttr<alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
1122
|
-
updatedAt: PgAttr<PgAttr<alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
1123
|
-
name: alepha.TString;
|
|
1124
|
-
content: alepha.TRecord<string, alepha.TAny>;
|
|
1125
|
-
schemaHash: alepha.TString;
|
|
1126
|
-
activationDate: alepha.TString;
|
|
1127
|
-
version: alepha.TInteger;
|
|
1128
|
-
changeDescription: alepha.TOptional<alepha.TString>;
|
|
1129
|
-
tags: alepha.TOptional<alepha.TArray<alepha.TString>>;
|
|
1130
|
-
creatorId: alepha.TOptional<alepha.TString>;
|
|
1131
|
-
creatorName: alepha.TOptional<alepha.TString>;
|
|
1132
|
-
previousContent: alepha.TOptional<alepha.TRecord<string, alepha.TAny>>;
|
|
1133
|
-
migrationLog: alepha.TOptional<alepha.TString>;
|
|
1134
|
-
status: alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
1152
|
+
next: _$alepha.TOptional<_$alepha.TObject<{
|
|
1153
|
+
id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
1154
|
+
createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
1155
|
+
updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
1156
|
+
name: _$alepha.TString;
|
|
1157
|
+
content: _$alepha.TRecord<string, _$alepha.TAny>;
|
|
1158
|
+
schemaHash: _$alepha.TString;
|
|
1159
|
+
activationDate: _$alepha.TString;
|
|
1160
|
+
version: _$alepha.TInteger;
|
|
1161
|
+
changeDescription: _$alepha.TOptional<_$alepha.TString>;
|
|
1162
|
+
tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
|
|
1163
|
+
creatorId: _$alepha.TOptional<_$alepha.TString>;
|
|
1164
|
+
creatorName: _$alepha.TOptional<_$alepha.TString>;
|
|
1165
|
+
previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
|
|
1166
|
+
migrationLog: _$alepha.TOptional<_$alepha.TString>;
|
|
1167
|
+
status: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
1135
1168
|
}>>;
|
|
1136
|
-
defaultValue: alepha.TOptional<alepha.TRecord<string, alepha.TAny>>;
|
|
1137
|
-
currentValue: alepha.TOptional<alepha.TRecord<string, alepha.TAny>>;
|
|
1138
|
-
schema: alepha.TOptional<alepha.TRecord<string, alepha.TAny>>;
|
|
1169
|
+
defaultValue: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
|
|
1170
|
+
currentValue: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
|
|
1171
|
+
schema: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
|
|
1139
1172
|
}>;
|
|
1140
1173
|
type ParameterCurrentResponse = Static<typeof parameterCurrentResponseSchema>;
|
|
1141
1174
|
//#endregion
|
|
@@ -1143,23 +1176,23 @@ type ParameterCurrentResponse = Static<typeof parameterCurrentResponseSchema>;
|
|
|
1143
1176
|
/**
|
|
1144
1177
|
* Parameter history response schema.
|
|
1145
1178
|
*/
|
|
1146
|
-
declare const parameterHistoryResponseSchema: alepha.TObject<{
|
|
1147
|
-
versions: alepha.TArray<alepha.TObject<{
|
|
1148
|
-
id: PgAttr<PgAttr<alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
1149
|
-
createdAt: PgAttr<PgAttr<alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
1150
|
-
updatedAt: PgAttr<PgAttr<alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
1151
|
-
name: alepha.TString;
|
|
1152
|
-
content: alepha.TRecord<string, alepha.TAny>;
|
|
1153
|
-
schemaHash: alepha.TString;
|
|
1154
|
-
activationDate: alepha.TString;
|
|
1155
|
-
version: alepha.TInteger;
|
|
1156
|
-
changeDescription: alepha.TOptional<alepha.TString>;
|
|
1157
|
-
tags: alepha.TOptional<alepha.TArray<alepha.TString>>;
|
|
1158
|
-
creatorId: alepha.TOptional<alepha.TString>;
|
|
1159
|
-
creatorName: alepha.TOptional<alepha.TString>;
|
|
1160
|
-
previousContent: alepha.TOptional<alepha.TRecord<string, alepha.TAny>>;
|
|
1161
|
-
migrationLog: alepha.TOptional<alepha.TString>;
|
|
1162
|
-
status: alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
1179
|
+
declare const parameterHistoryResponseSchema: _$alepha.TObject<{
|
|
1180
|
+
versions: _$alepha.TArray<_$alepha.TObject<{
|
|
1181
|
+
id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
1182
|
+
createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
1183
|
+
updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
1184
|
+
name: _$alepha.TString;
|
|
1185
|
+
content: _$alepha.TRecord<string, _$alepha.TAny>;
|
|
1186
|
+
schemaHash: _$alepha.TString;
|
|
1187
|
+
activationDate: _$alepha.TString;
|
|
1188
|
+
version: _$alepha.TInteger;
|
|
1189
|
+
changeDescription: _$alepha.TOptional<_$alepha.TString>;
|
|
1190
|
+
tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
|
|
1191
|
+
creatorId: _$alepha.TOptional<_$alepha.TString>;
|
|
1192
|
+
creatorName: _$alepha.TOptional<_$alepha.TString>;
|
|
1193
|
+
previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
|
|
1194
|
+
migrationLog: _$alepha.TOptional<_$alepha.TString>;
|
|
1195
|
+
status: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
1163
1196
|
}>>;
|
|
1164
1197
|
}>;
|
|
1165
1198
|
type ParameterHistoryResponse = Static<typeof parameterHistoryResponseSchema>;
|
|
@@ -1169,16 +1202,16 @@ type ParameterHistoryResponse = Static<typeof parameterHistoryResponseSchema>;
|
|
|
1169
1202
|
* Parameter name param schema.
|
|
1170
1203
|
* Uses t.pick from entity for consistency.
|
|
1171
1204
|
*/
|
|
1172
|
-
declare const parameterNameParamSchema: alepha.TObject<{
|
|
1173
|
-
name: alepha.TString;
|
|
1205
|
+
declare const parameterNameParamSchema: _$alepha.TObject<{
|
|
1206
|
+
name: _$alepha.TString;
|
|
1174
1207
|
}>;
|
|
1175
1208
|
//#endregion
|
|
1176
1209
|
//#region ../../src/api/parameters/schemas/parameterNamesResponseSchema.d.ts
|
|
1177
1210
|
/**
|
|
1178
1211
|
* Parameter names list response schema.
|
|
1179
1212
|
*/
|
|
1180
|
-
declare const parameterNamesResponseSchema: alepha.TObject<{
|
|
1181
|
-
names: alepha.TArray<alepha.TString>;
|
|
1213
|
+
declare const parameterNamesResponseSchema: _$alepha.TObject<{
|
|
1214
|
+
names: _$alepha.TArray<_$alepha.TString>;
|
|
1182
1215
|
}>;
|
|
1183
1216
|
type ParameterNamesResponse = Static<typeof parameterNamesResponseSchema>;
|
|
1184
1217
|
//#endregion
|
|
@@ -1188,22 +1221,22 @@ type ParameterNamesResponse = Static<typeof parameterNamesResponseSchema>;
|
|
|
1188
1221
|
* Extends the entity schema with a calculated status field.
|
|
1189
1222
|
* Status is derived from activationDate at query time, not stored.
|
|
1190
1223
|
*/
|
|
1191
|
-
declare const parameterResponseSchema: alepha.TObject<{
|
|
1192
|
-
id: PgAttr<PgAttr<alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
1193
|
-
createdAt: PgAttr<PgAttr<alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
1194
|
-
updatedAt: PgAttr<PgAttr<alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
1195
|
-
name: alepha.TString;
|
|
1196
|
-
content: alepha.TRecord<string, alepha.TAny>;
|
|
1197
|
-
schemaHash: alepha.TString;
|
|
1198
|
-
activationDate: alepha.TString;
|
|
1199
|
-
version: alepha.TInteger;
|
|
1200
|
-
changeDescription: alepha.TOptional<alepha.TString>;
|
|
1201
|
-
tags: alepha.TOptional<alepha.TArray<alepha.TString>>;
|
|
1202
|
-
creatorId: alepha.TOptional<alepha.TString>;
|
|
1203
|
-
creatorName: alepha.TOptional<alepha.TString>;
|
|
1204
|
-
previousContent: alepha.TOptional<alepha.TRecord<string, alepha.TAny>>;
|
|
1205
|
-
migrationLog: alepha.TOptional<alepha.TString>;
|
|
1206
|
-
status: alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
1224
|
+
declare const parameterResponseSchema: _$alepha.TObject<{
|
|
1225
|
+
id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
1226
|
+
createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
1227
|
+
updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
1228
|
+
name: _$alepha.TString;
|
|
1229
|
+
content: _$alepha.TRecord<string, _$alepha.TAny>;
|
|
1230
|
+
schemaHash: _$alepha.TString;
|
|
1231
|
+
activationDate: _$alepha.TString;
|
|
1232
|
+
version: _$alepha.TInteger;
|
|
1233
|
+
changeDescription: _$alepha.TOptional<_$alepha.TString>;
|
|
1234
|
+
tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
|
|
1235
|
+
creatorId: _$alepha.TOptional<_$alepha.TString>;
|
|
1236
|
+
creatorName: _$alepha.TOptional<_$alepha.TString>;
|
|
1237
|
+
previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
|
|
1238
|
+
migrationLog: _$alepha.TOptional<_$alepha.TString>;
|
|
1239
|
+
status: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
1207
1240
|
}>;
|
|
1208
1241
|
type ParameterResponse = Static<typeof parameterResponseSchema>;
|
|
1209
1242
|
//#endregion
|
|
@@ -1212,32 +1245,32 @@ type ParameterResponse = Static<typeof parameterResponseSchema>;
|
|
|
1212
1245
|
* Parameter name and version param schema.
|
|
1213
1246
|
* Uses t.pick from entity for consistency.
|
|
1214
1247
|
*/
|
|
1215
|
-
declare const parameterVersionParamSchema: alepha.TObject<{
|
|
1216
|
-
name: alepha.TString;
|
|
1217
|
-
version: alepha.TInteger;
|
|
1248
|
+
declare const parameterVersionParamSchema: _$alepha.TObject<{
|
|
1249
|
+
name: _$alepha.TString;
|
|
1250
|
+
version: _$alepha.TInteger;
|
|
1218
1251
|
}>;
|
|
1219
1252
|
//#endregion
|
|
1220
1253
|
//#region ../../src/api/parameters/schemas/parameterVersionResponseSchema.d.ts
|
|
1221
1254
|
/**
|
|
1222
1255
|
* Parameter version response schema.
|
|
1223
1256
|
*/
|
|
1224
|
-
declare const parameterVersionResponseSchema: alepha.TObject<{
|
|
1225
|
-
parameter: alepha.TOptional<alepha.TObject<{
|
|
1226
|
-
id: PgAttr<PgAttr<alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
1227
|
-
createdAt: PgAttr<PgAttr<alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
1228
|
-
updatedAt: PgAttr<PgAttr<alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
1229
|
-
name: alepha.TString;
|
|
1230
|
-
content: alepha.TRecord<string, alepha.TAny>;
|
|
1231
|
-
schemaHash: alepha.TString;
|
|
1232
|
-
activationDate: alepha.TString;
|
|
1233
|
-
version: alepha.TInteger;
|
|
1234
|
-
changeDescription: alepha.TOptional<alepha.TString>;
|
|
1235
|
-
tags: alepha.TOptional<alepha.TArray<alepha.TString>>;
|
|
1236
|
-
creatorId: alepha.TOptional<alepha.TString>;
|
|
1237
|
-
creatorName: alepha.TOptional<alepha.TString>;
|
|
1238
|
-
previousContent: alepha.TOptional<alepha.TRecord<string, alepha.TAny>>;
|
|
1239
|
-
migrationLog: alepha.TOptional<alepha.TString>;
|
|
1240
|
-
status: alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
1257
|
+
declare const parameterVersionResponseSchema: _$alepha.TObject<{
|
|
1258
|
+
parameter: _$alepha.TOptional<_$alepha.TObject<{
|
|
1259
|
+
id: PgAttr<PgAttr<_$alepha.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
1260
|
+
createdAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
1261
|
+
updatedAt: PgAttr<PgAttr<_$alepha.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
1262
|
+
name: _$alepha.TString;
|
|
1263
|
+
content: _$alepha.TRecord<string, _$alepha.TAny>;
|
|
1264
|
+
schemaHash: _$alepha.TString;
|
|
1265
|
+
activationDate: _$alepha.TString;
|
|
1266
|
+
version: _$alepha.TInteger;
|
|
1267
|
+
changeDescription: _$alepha.TOptional<_$alepha.TString>;
|
|
1268
|
+
tags: _$alepha.TOptional<_$alepha.TArray<_$alepha.TString>>;
|
|
1269
|
+
creatorId: _$alepha.TOptional<_$alepha.TString>;
|
|
1270
|
+
creatorName: _$alepha.TOptional<_$alepha.TString>;
|
|
1271
|
+
previousContent: _$alepha.TOptional<_$alepha.TRecord<string, _$alepha.TAny>>;
|
|
1272
|
+
migrationLog: _$alepha.TOptional<_$alepha.TString>;
|
|
1273
|
+
status: _$alepha.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
1241
1274
|
}>>;
|
|
1242
1275
|
}>;
|
|
1243
1276
|
type ParameterVersionResponse = Static<typeof parameterVersionResponseSchema>;
|
|
@@ -1247,11 +1280,11 @@ type ParameterVersionResponse = Static<typeof parameterVersionResponseSchema>;
|
|
|
1247
1280
|
* Rollback parameter body schema.
|
|
1248
1281
|
* Uses t.pick for creator fields, adds targetVersion.
|
|
1249
1282
|
*/
|
|
1250
|
-
declare const rollbackParameterBodySchema: alepha.TObject<{
|
|
1251
|
-
changeDescription: alepha.TOptional<alepha.TString>;
|
|
1252
|
-
creatorId: alepha.TOptional<alepha.TString>;
|
|
1253
|
-
creatorName: alepha.TOptional<alepha.TString>;
|
|
1254
|
-
targetVersion: alepha.TInteger;
|
|
1283
|
+
declare const rollbackParameterBodySchema: _$alepha.TObject<{
|
|
1284
|
+
changeDescription: _$alepha.TOptional<_$alepha.TString>;
|
|
1285
|
+
creatorId: _$alepha.TOptional<_$alepha.TString>;
|
|
1286
|
+
creatorName: _$alepha.TOptional<_$alepha.TString>;
|
|
1287
|
+
targetVersion: _$alepha.TInteger;
|
|
1255
1288
|
}>;
|
|
1256
1289
|
type RollbackParameterBody = Static<typeof rollbackParameterBodySchema>;
|
|
1257
1290
|
//#endregion
|
|
@@ -1268,7 +1301,7 @@ type RollbackParameterBody = Static<typeof rollbackParameterBodySchema>;
|
|
|
1268
1301
|
*
|
|
1269
1302
|
* @module alepha.api.parameters
|
|
1270
1303
|
*/
|
|
1271
|
-
declare const AlephaApiParameters: alepha.Service<alepha.Module>;
|
|
1304
|
+
declare const AlephaApiParameters: _$alepha.Service<_$alepha.Module>;
|
|
1272
1305
|
//#endregion
|
|
1273
1306
|
export { $parameter, ActivateParameterBody, AdminParameterController, AlephaApiParameters, CreateParameterVersionBody, Parameter, ParameterChangePayload, ParameterCurrentResponse, ParameterHistoryResponse, ParameterNamesResponse, ParameterPrimitive, ParameterPrimitiveOptions, ParameterProvider, ParameterResponse, ParameterStatus, ParameterTreeNode, ParameterVersionResponse, ParameterWithStatus, RollbackParameterBody, SaveParameterOptions, SetParameterOptions, activateParameterBodySchema, createParameterVersionBodySchema, parameterCurrentResponseSchema, parameterHistoryResponseSchema, parameterNameParamSchema, parameterNamesResponseSchema, parameterResponseSchema, parameterStatusSchema, parameterTreeNodeSchema, parameterVersionParamSchema, parameterVersionResponseSchema, parameters, rollbackParameterBodySchema };
|
|
1274
1307
|
//# sourceMappingURL=index.d.ts.map
|