alepha 0.15.3 → 0.15.5
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/README.md +26 -11
- package/dist/api/audits/index.d.ts +335 -335
- package/dist/api/audits/index.d.ts.map +1 -1
- package/dist/api/audits/index.js +11 -3
- package/dist/api/audits/index.js.map +1 -1
- package/dist/api/files/index.d.ts +3 -3
- package/dist/api/files/index.js +4 -3
- package/dist/api/files/index.js.map +1 -1
- package/dist/api/jobs/index.d.ts +198 -155
- package/dist/api/jobs/index.d.ts.map +1 -1
- package/dist/api/jobs/index.js +103 -5
- package/dist/api/jobs/index.js.map +1 -1
- package/dist/api/keys/index.d.ts +198 -198
- package/dist/api/keys/index.d.ts.map +1 -1
- package/dist/api/keys/index.js +3 -3
- package/dist/api/keys/index.js.map +1 -1
- package/dist/api/notifications/index.browser.js +1 -0
- package/dist/api/notifications/index.browser.js.map +1 -1
- package/dist/api/notifications/index.d.ts +3 -3
- package/dist/api/notifications/index.js +4 -3
- package/dist/api/notifications/index.js.map +1 -1
- package/dist/api/parameters/index.d.ts +263 -263
- package/dist/api/parameters/index.d.ts.map +1 -1
- package/dist/api/parameters/index.js +41 -30
- package/dist/api/parameters/index.js.map +1 -1
- package/dist/api/users/index.d.ts +383 -77
- package/dist/api/users/index.d.ts.map +1 -1
- package/dist/api/users/index.js +284 -72
- package/dist/api/users/index.js.map +1 -1
- package/dist/api/verifications/index.d.ts +131 -131
- package/dist/api/verifications/index.d.ts.map +1 -1
- package/dist/api/verifications/index.js +3 -3
- package/dist/api/verifications/index.js.map +1 -1
- package/dist/batch/index.d.ts +3 -3
- package/dist/batch/index.js +3 -3
- package/dist/batch/index.js.map +1 -1
- package/dist/bucket/index.d.ts +3 -3
- package/dist/bucket/index.js +6 -6
- package/dist/bucket/index.js.map +1 -1
- package/dist/cache/core/index.d.ts +3 -3
- package/dist/cache/core/index.js +3 -3
- package/dist/cache/core/index.js.map +1 -1
- package/dist/cli/index.d.ts +5612 -20
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +122 -91
- package/dist/cli/index.js.map +1 -1
- package/dist/command/index.d.ts +11 -4
- package/dist/command/index.d.ts.map +1 -1
- package/dist/command/index.js +8 -6
- package/dist/command/index.js.map +1 -1
- package/dist/core/index.browser.js.map +1 -1
- package/dist/core/index.d.ts +4 -8
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +3 -3
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.native.js.map +1 -1
- package/dist/datetime/index.d.ts +3 -3
- package/dist/datetime/index.js +3 -3
- package/dist/datetime/index.js.map +1 -1
- package/dist/email/index.d.ts +16 -16
- package/dist/email/index.d.ts.map +1 -1
- package/dist/email/index.js +10562 -10
- package/dist/email/index.js.map +1 -1
- package/dist/fake/index.d.ts +3 -3
- package/dist/fake/index.js +3 -3
- package/dist/fake/index.js.map +1 -1
- package/dist/lock/core/index.d.ts +9 -4
- package/dist/lock/core/index.d.ts.map +1 -1
- package/dist/lock/core/index.js +12 -4
- package/dist/lock/core/index.js.map +1 -1
- package/dist/logger/index.d.ts +3 -3
- package/dist/logger/index.js +6 -3
- package/dist/logger/index.js.map +1 -1
- package/dist/mcp/index.d.ts +3 -3
- package/dist/mcp/index.js +3 -3
- package/dist/mcp/index.js.map +1 -1
- package/dist/orm/index.d.ts +12 -12
- package/dist/orm/index.js +4 -4
- package/dist/orm/index.js.map +1 -1
- package/dist/queue/core/index.d.ts +3 -3
- package/dist/queue/core/index.js +3 -3
- package/dist/queue/core/index.js.map +1 -1
- package/dist/react/auth/index.browser.js +2 -1
- package/dist/react/auth/index.browser.js.map +1 -1
- package/dist/react/auth/index.d.ts +3 -3
- package/dist/react/auth/index.js +5 -4
- package/dist/react/auth/index.js.map +1 -1
- package/dist/react/core/index.d.ts +6 -6
- package/dist/react/core/index.js +3 -3
- package/dist/react/core/index.js.map +1 -1
- package/dist/react/form/index.d.ts +3 -3
- package/dist/react/form/index.js +3 -3
- package/dist/react/form/index.js.map +1 -1
- package/dist/react/head/index.d.ts +3 -3
- package/dist/react/head/index.js +3 -3
- package/dist/react/head/index.js.map +1 -1
- package/dist/react/i18n/index.d.ts +3 -3
- package/dist/react/i18n/index.js +3 -3
- package/dist/react/i18n/index.js.map +1 -1
- package/dist/react/intro/index.css +337 -0
- package/dist/react/intro/index.css.map +1 -0
- package/dist/react/intro/index.d.ts +10 -0
- package/dist/react/intro/index.d.ts.map +1 -0
- package/dist/react/intro/index.js +222 -0
- package/dist/react/intro/index.js.map +1 -0
- package/dist/react/router/index.browser.js +2 -2
- package/dist/react/router/index.browser.js.map +1 -1
- package/dist/react/router/index.d.ts +11 -1
- package/dist/react/router/index.d.ts.map +1 -1
- package/dist/react/router/index.js +21 -11
- package/dist/react/router/index.js.map +1 -1
- package/dist/redis/index.d.ts +22 -22
- package/dist/redis/index.js +3 -3
- package/dist/redis/index.js.map +1 -1
- package/dist/retry/index.d.ts +3 -3
- package/dist/retry/index.js +3 -3
- package/dist/retry/index.js.map +1 -1
- package/dist/scheduler/index.d.ts +16 -4
- package/dist/scheduler/index.d.ts.map +1 -1
- package/dist/scheduler/index.js +45 -7
- package/dist/scheduler/index.js.map +1 -1
- package/dist/security/index.d.ts +3 -3
- package/dist/security/index.js +5 -5
- package/dist/security/index.js.map +1 -1
- package/dist/server/auth/index.d.ts +3 -3
- package/dist/server/auth/index.js +3 -3
- package/dist/server/auth/index.js.map +1 -1
- package/dist/server/cache/index.d.ts +3 -3
- package/dist/server/cache/index.js +3 -3
- package/dist/server/cache/index.js.map +1 -1
- package/dist/server/compress/index.d.ts +3 -3
- package/dist/server/compress/index.d.ts.map +1 -1
- package/dist/server/compress/index.js +4 -3
- package/dist/server/compress/index.js.map +1 -1
- package/dist/server/cookies/index.d.ts +3 -3
- package/dist/server/cookies/index.js +3 -3
- package/dist/server/cookies/index.js.map +1 -1
- package/dist/server/core/index.d.ts +14 -25
- package/dist/server/core/index.d.ts.map +1 -1
- package/dist/server/core/index.js +13 -29
- package/dist/server/core/index.js.map +1 -1
- package/dist/server/cors/index.d.ts +3 -3
- package/dist/server/cors/index.js +3 -3
- package/dist/server/cors/index.js.map +1 -1
- package/dist/server/health/index.d.ts +20 -20
- package/dist/server/health/index.js +3 -3
- package/dist/server/health/index.js.map +1 -1
- package/dist/server/helmet/index.d.ts +3 -3
- package/dist/server/helmet/index.js +3 -3
- package/dist/server/helmet/index.js.map +1 -1
- package/dist/server/links/index.d.ts +42 -42
- 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 +3 -3
- package/dist/server/metrics/index.js +3 -3
- package/dist/server/metrics/index.js.map +1 -1
- package/dist/server/multipart/index.d.ts +3 -3
- package/dist/server/multipart/index.js +3 -3
- package/dist/server/multipart/index.js.map +1 -1
- package/dist/server/proxy/index.d.ts +3 -3
- package/dist/server/proxy/index.js +3 -3
- package/dist/server/proxy/index.js.map +1 -1
- package/dist/server/rate-limit/index.d.ts +3 -3
- package/dist/server/rate-limit/index.js +3 -3
- package/dist/server/rate-limit/index.js.map +1 -1
- package/dist/server/static/index.d.ts +3 -3
- package/dist/server/static/index.js +6 -6
- package/dist/server/static/index.js.map +1 -1
- package/dist/server/swagger/index.d.ts +3 -3
- package/dist/server/swagger/index.js +6 -6
- package/dist/server/swagger/index.js.map +1 -1
- package/dist/sms/index.d.ts +3 -3
- package/dist/sms/index.js +6 -6
- package/dist/sms/index.js.map +1 -1
- package/dist/system/index.d.ts +3 -3
- package/dist/system/index.js +3 -3
- package/dist/system/index.js.map +1 -1
- package/dist/thread/index.d.ts +3 -3
- package/dist/thread/index.js +3 -3
- package/dist/thread/index.js.map +1 -1
- package/dist/topic/core/index.d.ts +3 -3
- package/dist/topic/core/index.js +3 -3
- package/dist/topic/core/index.js.map +1 -1
- package/dist/vite/index.d.ts +6286 -4
- package/dist/vite/index.d.ts.map +1 -1
- package/dist/vite/index.js +28 -2
- package/dist/vite/index.js.map +1 -1
- package/dist/websocket/index.d.ts +37 -37
- package/dist/websocket/index.d.ts.map +1 -1
- package/dist/websocket/index.js +3 -3
- package/dist/websocket/index.js.map +1 -1
- package/package.json +12 -4
- package/src/api/audits/controllers/AdminAuditController.ts +8 -0
- package/src/api/audits/index.ts +3 -3
- package/src/api/files/controllers/AdminFileStatsController.ts +1 -0
- package/src/api/files/index.ts +3 -3
- package/src/api/jobs/controllers/AdminJobController.ts +18 -2
- package/src/api/jobs/index.ts +4 -3
- package/src/api/jobs/services/JobAudits.spec.ts +89 -0
- package/src/api/jobs/services/JobAudits.ts +101 -0
- package/src/api/keys/index.ts +3 -3
- package/src/api/notifications/controllers/AdminNotificationController.ts +1 -0
- package/src/api/notifications/index.ts +3 -3
- package/src/api/parameters/controllers/AdminConfigController.ts +10 -0
- package/src/api/parameters/index.ts +5 -3
- package/src/api/users/__tests__/ApiKeys-integration.spec.ts +1 -1
- package/src/api/users/__tests__/ApiKeys.spec.ts +1 -1
- package/src/api/users/__tests__/EmailVerification.spec.ts +16 -1
- package/src/api/users/__tests__/PasswordReset.spec.ts +11 -0
- package/src/api/users/atoms/realmAuthSettingsAtom.ts +10 -0
- package/src/api/users/controllers/AdminIdentityController.ts +3 -0
- package/src/api/users/controllers/AdminSessionController.ts +3 -0
- package/src/api/users/controllers/AdminUserController.ts +5 -0
- package/src/api/users/index.ts +8 -9
- package/src/api/users/primitives/$realm.ts +117 -19
- package/src/api/users/providers/RealmProvider.ts +15 -7
- package/src/api/users/services/CredentialService.spec.ts +11 -0
- package/src/api/users/services/CredentialService.ts +47 -24
- package/src/api/users/services/IdentityService.ts +12 -4
- package/src/api/users/services/RegistrationService.spec.ts +11 -0
- package/src/api/users/services/RegistrationService.ts +33 -12
- package/src/api/users/services/SessionService.ts +83 -12
- package/src/api/users/services/UserAudits.ts +47 -0
- package/src/api/users/services/UserFiles.ts +19 -0
- package/src/api/users/services/UserJobs.spec.ts +107 -0
- package/src/api/users/services/UserJobs.ts +62 -0
- package/src/api/users/services/UserParameters.ts +23 -0
- package/src/api/users/services/UserService.ts +34 -17
- package/src/api/verifications/index.ts +3 -3
- package/src/batch/index.ts +3 -3
- package/src/bucket/index.ts +3 -3
- package/src/cache/core/index.ts +3 -3
- package/src/cli/commands/build.ts +1 -0
- package/src/cli/commands/db.ts +9 -0
- package/src/cli/commands/init.spec.ts +2 -17
- package/src/cli/commands/init.ts +37 -1
- package/src/cli/providers/ViteDevServerProvider.ts +36 -2
- package/src/cli/services/AlephaCliUtils.ts +17 -0
- package/src/cli/services/PackageManagerUtils.ts +15 -1
- package/src/cli/services/ProjectScaffolder.ts +8 -13
- package/src/cli/templates/agentMd.ts +2 -25
- package/src/cli/templates/apiAppSecurityTs.ts +37 -2
- package/src/cli/templates/mainCss.ts +2 -32
- package/src/cli/templates/webAppRouterTs.ts +5 -5
- package/src/cli/templates/webHomeComponentTsx.ts +10 -0
- package/src/command/helpers/Runner.ts +14 -1
- package/src/command/index.ts +3 -3
- package/src/core/helpers/primitive.ts +0 -5
- package/src/core/index.ts +3 -3
- package/src/datetime/index.ts +3 -3
- package/src/email/index.ts +3 -3
- package/src/email/index.workerd.ts +36 -0
- package/src/email/providers/LocalEmailProvider.ts +2 -2
- package/src/email/providers/WorkermailerEmailProvider.ts +221 -0
- package/src/fake/index.ts +3 -3
- package/src/lock/core/index.ts +3 -3
- package/src/lock/core/primitives/$lock.ts +13 -1
- package/src/logger/index.ts +3 -3
- package/src/logger/providers/PrettyFormatterProvider.ts +7 -0
- package/src/mcp/index.ts +3 -3
- package/src/orm/index.ts +3 -3
- package/src/orm/providers/drivers/NodeSqliteProvider.ts +1 -1
- package/src/queue/core/index.ts +3 -3
- package/src/react/auth/index.ts +3 -3
- package/src/react/auth/services/ReactAuth.ts +3 -1
- package/src/react/core/index.ts +3 -3
- package/src/react/form/index.ts +3 -3
- package/src/react/head/index.ts +3 -3
- package/src/react/i18n/index.ts +3 -3
- package/src/react/intro/components/GettingStarted.css +334 -0
- package/src/react/intro/components/GettingStarted.tsx +276 -0
- package/src/react/intro/index.ts +1 -0
- package/src/react/router/atoms/ssrManifestAtom.ts +7 -0
- package/src/react/router/index.browser.ts +2 -0
- package/src/react/router/index.ts +2 -0
- package/src/react/router/providers/ReactServerProvider.ts +14 -4
- package/src/react/router/providers/SSRManifestProvider.ts +7 -0
- package/src/redis/index.ts +3 -3
- package/src/retry/index.ts +3 -3
- package/src/router/index.ts +3 -3
- package/src/scheduler/index.ts +3 -3
- package/src/scheduler/index.workerd.ts +43 -0
- package/src/scheduler/providers/CronProvider.ts +53 -6
- package/src/scheduler/providers/WorkerdCronProvider.ts +102 -0
- package/src/security/index.ts +3 -3
- package/src/security/providers/JwtProvider.ts +2 -2
- package/src/server/auth/index.ts +3 -3
- package/src/server/cache/index.ts +3 -3
- package/src/server/compress/index.ts +3 -3
- package/src/server/compress/providers/ServerCompressProvider.ts +6 -0
- package/src/server/cookies/index.ts +3 -3
- package/src/server/core/index.ts +3 -3
- package/src/server/core/primitives/$action.spec.ts +3 -2
- package/src/server/core/primitives/$action.ts +6 -2
- package/src/server/core/providers/NodeHttpServerProvider.ts +2 -15
- package/src/server/core/providers/ServerProvider.ts +4 -2
- package/src/server/core/providers/ServerRouterProvider.ts +5 -27
- package/src/server/cors/index.ts +3 -3
- package/src/server/health/index.ts +3 -3
- package/src/server/helmet/index.ts +3 -3
- package/src/server/links/index.ts +3 -3
- package/src/server/links/providers/ServerLinksProvider.spec.ts +332 -0
- package/src/server/links/providers/ServerLinksProvider.ts +1 -1
- package/src/server/metrics/index.ts +3 -3
- package/src/server/multipart/index.ts +3 -3
- package/src/server/proxy/index.ts +3 -3
- package/src/server/rate-limit/index.ts +3 -3
- package/src/server/static/index.ts +3 -3
- package/src/server/swagger/index.ts +3 -3
- package/src/sms/index.ts +3 -3
- package/src/system/index.ts +3 -3
- package/src/thread/index.ts +3 -3
- package/src/topic/core/index.ts +3 -3
- package/src/vite/tasks/generateCloudflare.ts +38 -2
- package/src/websocket/index.ts +3 -3
- package/src/cli/templates/webHelloComponentTsx.ts +0 -30
- /package/src/api/users/{notifications → services}/UserNotifications.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as alepha631 from "alepha";
|
|
2
2
|
import { KIND, Primitive, Static, TNull, TObject, TOptional, TSchema, TUnion } from "alepha";
|
|
3
3
|
import * as alepha_server0 from "alepha/server";
|
|
4
4
|
import { DateTimeProvider } from "alepha/datetime";
|
|
@@ -18,7 +18,7 @@ import { UserAccount } from "alepha/security";
|
|
|
18
18
|
/**
|
|
19
19
|
* Parameter status enum schema.
|
|
20
20
|
*/
|
|
21
|
-
declare const parameterStatusSchema:
|
|
21
|
+
declare const parameterStatusSchema: alepha631.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
22
22
|
type ParameterStatus = Static<typeof parameterStatusSchema>;
|
|
23
23
|
//#endregion
|
|
24
24
|
//#region ../../src/api/parameters/entities/parameters.d.ts
|
|
@@ -31,67 +31,67 @@ type ParameterStatus = Static<typeof parameterStatusSchema>;
|
|
|
31
31
|
* - Activation scheduling
|
|
32
32
|
* - Audit trail (creator info)
|
|
33
33
|
*/
|
|
34
|
-
declare const parameters: alepha_orm14.EntityPrimitive<
|
|
35
|
-
id: alepha_orm14.PgAttr<alepha_orm14.PgAttr<
|
|
36
|
-
createdAt: alepha_orm14.PgAttr<alepha_orm14.PgAttr<
|
|
37
|
-
updatedAt: alepha_orm14.PgAttr<alepha_orm14.PgAttr<
|
|
34
|
+
declare const parameters: alepha_orm14.EntityPrimitive<alepha631.TObject<{
|
|
35
|
+
id: alepha_orm14.PgAttr<alepha_orm14.PgAttr<alepha631.TString, typeof alepha_orm14.PG_PRIMARY_KEY>, typeof alepha_orm14.PG_DEFAULT>;
|
|
36
|
+
createdAt: alepha_orm14.PgAttr<alepha_orm14.PgAttr<alepha631.TString, typeof alepha_orm14.PG_CREATED_AT>, typeof alepha_orm14.PG_DEFAULT>;
|
|
37
|
+
updatedAt: alepha_orm14.PgAttr<alepha_orm14.PgAttr<alepha631.TString, typeof alepha_orm14.PG_UPDATED_AT>, typeof alepha_orm14.PG_DEFAULT>;
|
|
38
38
|
/**
|
|
39
39
|
* Configuration name using dot notation for tree hierarchy.
|
|
40
40
|
* Examples: "app.features", "app.pricing.tiers", "system.limits"
|
|
41
41
|
*/
|
|
42
|
-
name:
|
|
42
|
+
name: alepha631.TString;
|
|
43
43
|
/**
|
|
44
44
|
* The configuration content as JSON.
|
|
45
45
|
*/
|
|
46
|
-
content:
|
|
46
|
+
content: alepha631.TRecord<string, alepha631.TAny>;
|
|
47
47
|
/**
|
|
48
48
|
* Schema version hash for detecting schema changes.
|
|
49
49
|
* Used for auto-migration when schema evolves.
|
|
50
50
|
*/
|
|
51
|
-
schemaHash:
|
|
51
|
+
schemaHash: alepha631.TString;
|
|
52
52
|
/**
|
|
53
53
|
* Current status of this parameter version.
|
|
54
54
|
*/
|
|
55
|
-
status: alepha_orm14.PgAttr<
|
|
55
|
+
status: alepha_orm14.PgAttr<alepha631.TUnsafe<"expired" | "current" | "next" | "future">, typeof alepha_orm14.PG_DEFAULT>;
|
|
56
56
|
/**
|
|
57
57
|
* When this version should become active.
|
|
58
58
|
* Default is immediate (now).
|
|
59
59
|
*/
|
|
60
|
-
activationDate:
|
|
60
|
+
activationDate: alepha631.TString;
|
|
61
61
|
/**
|
|
62
62
|
* When this version was deactivated (became expired).
|
|
63
63
|
* Null if still active or scheduled.
|
|
64
64
|
*/
|
|
65
|
-
expiredAt:
|
|
65
|
+
expiredAt: alepha631.TOptional<alepha631.TString>;
|
|
66
66
|
/**
|
|
67
67
|
* Version number for this configuration.
|
|
68
68
|
* Auto-incremented per config name.
|
|
69
69
|
*/
|
|
70
|
-
version:
|
|
70
|
+
version: alepha631.TInteger;
|
|
71
71
|
/**
|
|
72
72
|
* Optional description of changes in this version.
|
|
73
73
|
*/
|
|
74
|
-
changeDescription:
|
|
74
|
+
changeDescription: alepha631.TOptional<alepha631.TString>;
|
|
75
75
|
/**
|
|
76
76
|
* Optional tags for filtering/categorization.
|
|
77
77
|
*/
|
|
78
|
-
tags:
|
|
78
|
+
tags: alepha631.TOptional<alepha631.TArray<alepha631.TString>>;
|
|
79
79
|
/**
|
|
80
80
|
* Creator user ID (if available).
|
|
81
81
|
*/
|
|
82
|
-
creatorId:
|
|
82
|
+
creatorId: alepha631.TOptional<alepha631.TString>;
|
|
83
83
|
/**
|
|
84
84
|
* Creator display name for audit trail.
|
|
85
85
|
*/
|
|
86
|
-
creatorName:
|
|
86
|
+
creatorName: alepha631.TOptional<alepha631.TString>;
|
|
87
87
|
/**
|
|
88
88
|
* Previous content before this change (for rollback reference).
|
|
89
89
|
*/
|
|
90
|
-
previousContent:
|
|
90
|
+
previousContent: alepha631.TOptional<alepha631.TRecord<string, alepha631.TAny>>;
|
|
91
91
|
/**
|
|
92
92
|
* Migration log if schema changed.
|
|
93
93
|
*/
|
|
94
|
-
migrationLog:
|
|
94
|
+
migrationLog: alepha631.TOptional<alepha631.TString>;
|
|
95
95
|
}>>;
|
|
96
96
|
type Parameter = Static<typeof parameters.schema>;
|
|
97
97
|
type ParameterInsert = Omit<Parameter, "id" | "createdAt" | "updatedAt">;
|
|
@@ -442,46 +442,46 @@ declare class ConfigPrimitive<T extends TObject> extends Primitive<ConfigPrimiti
|
|
|
442
442
|
creatorId?: string | undefined;
|
|
443
443
|
creatorName?: string | undefined;
|
|
444
444
|
previousContent?: typebox0.StaticRecord<[], "Decode", {}, {
|
|
445
|
-
id: PgAttr<PgAttr<
|
|
446
|
-
createdAt: PgAttr<PgAttr<
|
|
447
|
-
updatedAt: PgAttr<PgAttr<
|
|
448
|
-
name:
|
|
449
|
-
content:
|
|
450
|
-
schemaHash:
|
|
451
|
-
status: PgAttr<
|
|
452
|
-
activationDate:
|
|
453
|
-
expiredAt:
|
|
454
|
-
version:
|
|
455
|
-
changeDescription:
|
|
456
|
-
tags:
|
|
457
|
-
creatorId:
|
|
458
|
-
creatorName:
|
|
459
|
-
previousContent:
|
|
460
|
-
migrationLog:
|
|
461
|
-
}, string,
|
|
445
|
+
id: PgAttr<PgAttr<alepha631.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
446
|
+
createdAt: PgAttr<PgAttr<alepha631.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
447
|
+
updatedAt: PgAttr<PgAttr<alepha631.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
448
|
+
name: alepha631.TString;
|
|
449
|
+
content: alepha631.TRecord<string, alepha631.TAny>;
|
|
450
|
+
schemaHash: alepha631.TString;
|
|
451
|
+
status: PgAttr<alepha631.TUnsafe<"expired" | "current" | "next" | "future">, typeof PG_DEFAULT>;
|
|
452
|
+
activationDate: alepha631.TString;
|
|
453
|
+
expiredAt: alepha631.TOptional<alepha631.TString>;
|
|
454
|
+
version: alepha631.TInteger;
|
|
455
|
+
changeDescription: alepha631.TOptional<alepha631.TString>;
|
|
456
|
+
tags: alepha631.TOptional<alepha631.TArray<alepha631.TString>>;
|
|
457
|
+
creatorId: alepha631.TOptional<alepha631.TString>;
|
|
458
|
+
creatorName: alepha631.TOptional<alepha631.TString>;
|
|
459
|
+
previousContent: alepha631.TOptional<alepha631.TRecord<string, alepha631.TAny>>;
|
|
460
|
+
migrationLog: alepha631.TOptional<alepha631.TString>;
|
|
461
|
+
}, string, alepha631.TAny> | undefined;
|
|
462
462
|
migrationLog?: string | undefined;
|
|
463
463
|
id: string;
|
|
464
464
|
createdAt: string;
|
|
465
465
|
updatedAt: string;
|
|
466
466
|
name: string;
|
|
467
467
|
content: typebox0.StaticRecord<[], "Decode", {}, {
|
|
468
|
-
id: PgAttr<PgAttr<
|
|
469
|
-
createdAt: PgAttr<PgAttr<
|
|
470
|
-
updatedAt: PgAttr<PgAttr<
|
|
471
|
-
name:
|
|
472
|
-
content:
|
|
473
|
-
schemaHash:
|
|
474
|
-
status: PgAttr<
|
|
475
|
-
activationDate:
|
|
476
|
-
expiredAt:
|
|
477
|
-
version:
|
|
478
|
-
changeDescription:
|
|
479
|
-
tags:
|
|
480
|
-
creatorId:
|
|
481
|
-
creatorName:
|
|
482
|
-
previousContent:
|
|
483
|
-
migrationLog:
|
|
484
|
-
}, string,
|
|
468
|
+
id: PgAttr<PgAttr<alepha631.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
469
|
+
createdAt: PgAttr<PgAttr<alepha631.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
470
|
+
updatedAt: PgAttr<PgAttr<alepha631.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
471
|
+
name: alepha631.TString;
|
|
472
|
+
content: alepha631.TRecord<string, alepha631.TAny>;
|
|
473
|
+
schemaHash: alepha631.TString;
|
|
474
|
+
status: PgAttr<alepha631.TUnsafe<"expired" | "current" | "next" | "future">, typeof PG_DEFAULT>;
|
|
475
|
+
activationDate: alepha631.TString;
|
|
476
|
+
expiredAt: alepha631.TOptional<alepha631.TString>;
|
|
477
|
+
version: alepha631.TInteger;
|
|
478
|
+
changeDescription: alepha631.TOptional<alepha631.TString>;
|
|
479
|
+
tags: alepha631.TOptional<alepha631.TArray<alepha631.TString>>;
|
|
480
|
+
creatorId: alepha631.TOptional<alepha631.TString>;
|
|
481
|
+
creatorName: alepha631.TOptional<alepha631.TString>;
|
|
482
|
+
previousContent: alepha631.TOptional<alepha631.TRecord<string, alepha631.TAny>>;
|
|
483
|
+
migrationLog: alepha631.TOptional<alepha631.TString>;
|
|
484
|
+
}, string, alepha631.TAny>;
|
|
485
485
|
schemaHash: string;
|
|
486
486
|
status: "expired" | "current" | "next" | "future";
|
|
487
487
|
activationDate: string;
|
|
@@ -494,7 +494,7 @@ declare class ConfigPrimitive<T extends TObject> extends Primitive<ConfigPrimiti
|
|
|
494
494
|
/**
|
|
495
495
|
* Hook to load initial value from database on start.
|
|
496
496
|
*/
|
|
497
|
-
protected readonly onStart:
|
|
497
|
+
protected readonly onStart: alepha631.HookPrimitive<"start">;
|
|
498
498
|
/**
|
|
499
499
|
* Called after primitive creation to initialize.
|
|
500
500
|
*/
|
|
@@ -557,22 +557,22 @@ declare class ConfigStore {
|
|
|
557
557
|
protected readonly log: alepha_logger0.Logger;
|
|
558
558
|
protected readonly dateTimeProvider: DateTimeProvider;
|
|
559
559
|
protected readonly repo: alepha_orm14.Repository<TObject<{
|
|
560
|
-
id: alepha_orm14.PgAttr<alepha_orm14.PgAttr<
|
|
561
|
-
createdAt: alepha_orm14.PgAttr<alepha_orm14.PgAttr<
|
|
562
|
-
updatedAt: alepha_orm14.PgAttr<alepha_orm14.PgAttr<
|
|
563
|
-
name:
|
|
564
|
-
content:
|
|
565
|
-
schemaHash:
|
|
566
|
-
status: alepha_orm14.PgAttr<
|
|
567
|
-
activationDate:
|
|
568
|
-
expiredAt:
|
|
569
|
-
version:
|
|
570
|
-
changeDescription:
|
|
571
|
-
tags:
|
|
572
|
-
creatorId:
|
|
573
|
-
creatorName:
|
|
574
|
-
previousContent:
|
|
575
|
-
migrationLog:
|
|
560
|
+
id: alepha_orm14.PgAttr<alepha_orm14.PgAttr<alepha631.TString, typeof alepha_orm14.PG_PRIMARY_KEY>, typeof alepha_orm14.PG_DEFAULT>;
|
|
561
|
+
createdAt: alepha_orm14.PgAttr<alepha_orm14.PgAttr<alepha631.TString, typeof alepha_orm14.PG_CREATED_AT>, typeof alepha_orm14.PG_DEFAULT>;
|
|
562
|
+
updatedAt: alepha_orm14.PgAttr<alepha_orm14.PgAttr<alepha631.TString, typeof alepha_orm14.PG_UPDATED_AT>, typeof alepha_orm14.PG_DEFAULT>;
|
|
563
|
+
name: alepha631.TString;
|
|
564
|
+
content: alepha631.TRecord<string, alepha631.TAny>;
|
|
565
|
+
schemaHash: alepha631.TString;
|
|
566
|
+
status: alepha_orm14.PgAttr<alepha631.TUnsafe<"expired" | "current" | "next" | "future">, typeof alepha_orm14.PG_DEFAULT>;
|
|
567
|
+
activationDate: alepha631.TString;
|
|
568
|
+
expiredAt: alepha631.TOptional<alepha631.TString>;
|
|
569
|
+
version: alepha631.TInteger;
|
|
570
|
+
changeDescription: alepha631.TOptional<alepha631.TString>;
|
|
571
|
+
tags: alepha631.TOptional<alepha631.TArray<alepha631.TString>>;
|
|
572
|
+
creatorId: alepha631.TOptional<alepha631.TString>;
|
|
573
|
+
creatorName: alepha631.TOptional<alepha631.TString>;
|
|
574
|
+
previousContent: alepha631.TOptional<alepha631.TRecord<string, alepha631.TAny>>;
|
|
575
|
+
migrationLog: alepha631.TOptional<alepha631.TString>;
|
|
576
576
|
}>>;
|
|
577
577
|
/**
|
|
578
578
|
* Unique identifier for this instance (to avoid self-updates).
|
|
@@ -587,11 +587,11 @@ declare class ConfigStore {
|
|
|
587
587
|
*/
|
|
588
588
|
readonly syncTopic: alepha_topic0.TopicPrimitive<{
|
|
589
589
|
payload: TObject<{
|
|
590
|
-
name:
|
|
591
|
-
version:
|
|
592
|
-
content:
|
|
593
|
-
status:
|
|
594
|
-
instanceId:
|
|
590
|
+
name: alepha631.TString;
|
|
591
|
+
version: alepha631.TInteger;
|
|
592
|
+
content: alepha631.TRecord<string, alepha631.TAny>;
|
|
593
|
+
status: alepha631.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
594
|
+
instanceId: alepha631.TString;
|
|
595
595
|
}>;
|
|
596
596
|
}>;
|
|
597
597
|
/**
|
|
@@ -716,46 +716,46 @@ declare class AdminConfigController {
|
|
|
716
716
|
* Useful for admin UI navigation.
|
|
717
717
|
*/
|
|
718
718
|
getConfigTree: alepha_server0.ActionPrimitiveFn<{
|
|
719
|
-
response:
|
|
720
|
-
name:
|
|
721
|
-
path:
|
|
722
|
-
isLeaf:
|
|
723
|
-
children:
|
|
719
|
+
response: alepha631.TArray<alepha631.TObject<{
|
|
720
|
+
name: alepha631.TString;
|
|
721
|
+
path: alepha631.TString;
|
|
722
|
+
isLeaf: alepha631.TBoolean;
|
|
723
|
+
children: alepha631.TArray<alepha631.TAny>;
|
|
724
724
|
}>>;
|
|
725
725
|
}>;
|
|
726
726
|
/**
|
|
727
727
|
* List all unique configuration names.
|
|
728
728
|
*/
|
|
729
729
|
listConfigNames: alepha_server0.ActionPrimitiveFn<{
|
|
730
|
-
response:
|
|
731
|
-
names:
|
|
730
|
+
response: alepha631.TObject<{
|
|
731
|
+
names: alepha631.TArray<alepha631.TString>;
|
|
732
732
|
}>;
|
|
733
733
|
}>;
|
|
734
734
|
/**
|
|
735
735
|
* Get configurations by status.
|
|
736
736
|
*/
|
|
737
737
|
getByStatus: alepha_server0.ActionPrimitiveFn<{
|
|
738
|
-
params:
|
|
739
|
-
status:
|
|
738
|
+
params: alepha631.TObject<{
|
|
739
|
+
status: alepha631.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
740
740
|
}>;
|
|
741
|
-
response:
|
|
742
|
-
configs:
|
|
743
|
-
id:
|
|
744
|
-
createdAt:
|
|
745
|
-
updatedAt:
|
|
746
|
-
name:
|
|
747
|
-
content:
|
|
748
|
-
schemaHash:
|
|
749
|
-
status:
|
|
750
|
-
activationDate:
|
|
751
|
-
expiredAt:
|
|
752
|
-
version:
|
|
753
|
-
changeDescription:
|
|
754
|
-
tags:
|
|
755
|
-
creatorId:
|
|
756
|
-
creatorName:
|
|
757
|
-
previousContent:
|
|
758
|
-
migrationLog:
|
|
741
|
+
response: alepha631.TObject<{
|
|
742
|
+
configs: alepha631.TArray<alepha631.TObject<{
|
|
743
|
+
id: alepha631.TString;
|
|
744
|
+
createdAt: alepha631.TString;
|
|
745
|
+
updatedAt: alepha631.TString;
|
|
746
|
+
name: alepha631.TString;
|
|
747
|
+
content: alepha631.TRecord<string, alepha631.TAny>;
|
|
748
|
+
schemaHash: alepha631.TString;
|
|
749
|
+
status: alepha631.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
750
|
+
activationDate: alepha631.TString;
|
|
751
|
+
expiredAt: alepha631.TOptional<alepha631.TString>;
|
|
752
|
+
version: alepha631.TInteger;
|
|
753
|
+
changeDescription: alepha631.TOptional<alepha631.TString>;
|
|
754
|
+
tags: alepha631.TOptional<alepha631.TArray<alepha631.TString>>;
|
|
755
|
+
creatorId: alepha631.TOptional<alepha631.TString>;
|
|
756
|
+
creatorName: alepha631.TOptional<alepha631.TString>;
|
|
757
|
+
previousContent: alepha631.TOptional<alepha631.TRecord<string, alepha631.TAny>>;
|
|
758
|
+
migrationLog: alepha631.TOptional<alepha631.TString>;
|
|
759
759
|
}>>;
|
|
760
760
|
}>;
|
|
761
761
|
}>;
|
|
@@ -763,27 +763,27 @@ declare class AdminConfigController {
|
|
|
763
763
|
* Get version history for a specific configuration.
|
|
764
764
|
*/
|
|
765
765
|
getHistory: alepha_server0.ActionPrimitiveFn<{
|
|
766
|
-
params:
|
|
767
|
-
name:
|
|
766
|
+
params: alepha631.TObject<{
|
|
767
|
+
name: alepha631.TString;
|
|
768
768
|
}>;
|
|
769
|
-
response:
|
|
770
|
-
versions:
|
|
771
|
-
id:
|
|
772
|
-
createdAt:
|
|
773
|
-
updatedAt:
|
|
774
|
-
name:
|
|
775
|
-
content:
|
|
776
|
-
schemaHash:
|
|
777
|
-
status:
|
|
778
|
-
activationDate:
|
|
779
|
-
expiredAt:
|
|
780
|
-
version:
|
|
781
|
-
changeDescription:
|
|
782
|
-
tags:
|
|
783
|
-
creatorId:
|
|
784
|
-
creatorName:
|
|
785
|
-
previousContent:
|
|
786
|
-
migrationLog:
|
|
769
|
+
response: alepha631.TObject<{
|
|
770
|
+
versions: alepha631.TArray<alepha631.TObject<{
|
|
771
|
+
id: alepha631.TString;
|
|
772
|
+
createdAt: alepha631.TString;
|
|
773
|
+
updatedAt: alepha631.TString;
|
|
774
|
+
name: alepha631.TString;
|
|
775
|
+
content: alepha631.TRecord<string, alepha631.TAny>;
|
|
776
|
+
schemaHash: alepha631.TString;
|
|
777
|
+
status: alepha631.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
778
|
+
activationDate: alepha631.TString;
|
|
779
|
+
expiredAt: alepha631.TOptional<alepha631.TString>;
|
|
780
|
+
version: alepha631.TInteger;
|
|
781
|
+
changeDescription: alepha631.TOptional<alepha631.TString>;
|
|
782
|
+
tags: alepha631.TOptional<alepha631.TArray<alepha631.TString>>;
|
|
783
|
+
creatorId: alepha631.TOptional<alepha631.TString>;
|
|
784
|
+
creatorName: alepha631.TOptional<alepha631.TString>;
|
|
785
|
+
previousContent: alepha631.TOptional<alepha631.TRecord<string, alepha631.TAny>>;
|
|
786
|
+
migrationLog: alepha631.TOptional<alepha631.TString>;
|
|
787
787
|
}>>;
|
|
788
788
|
}>;
|
|
789
789
|
}>;
|
|
@@ -793,77 +793,77 @@ declare class AdminConfigController {
|
|
|
793
793
|
* even if no versions exist in the database yet.
|
|
794
794
|
*/
|
|
795
795
|
getCurrent: alepha_server0.ActionPrimitiveFn<{
|
|
796
|
-
params:
|
|
797
|
-
name:
|
|
796
|
+
params: alepha631.TObject<{
|
|
797
|
+
name: alepha631.TString;
|
|
798
798
|
}>;
|
|
799
|
-
response:
|
|
800
|
-
current:
|
|
801
|
-
id:
|
|
802
|
-
createdAt:
|
|
803
|
-
updatedAt:
|
|
804
|
-
name:
|
|
805
|
-
content:
|
|
806
|
-
schemaHash:
|
|
807
|
-
status:
|
|
808
|
-
activationDate:
|
|
809
|
-
expiredAt:
|
|
810
|
-
version:
|
|
811
|
-
changeDescription:
|
|
812
|
-
tags:
|
|
813
|
-
creatorId:
|
|
814
|
-
creatorName:
|
|
815
|
-
previousContent:
|
|
816
|
-
migrationLog:
|
|
799
|
+
response: alepha631.TObject<{
|
|
800
|
+
current: alepha631.TOptional<alepha631.TObject<{
|
|
801
|
+
id: alepha631.TString;
|
|
802
|
+
createdAt: alepha631.TString;
|
|
803
|
+
updatedAt: alepha631.TString;
|
|
804
|
+
name: alepha631.TString;
|
|
805
|
+
content: alepha631.TRecord<string, alepha631.TAny>;
|
|
806
|
+
schemaHash: alepha631.TString;
|
|
807
|
+
status: alepha631.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
808
|
+
activationDate: alepha631.TString;
|
|
809
|
+
expiredAt: alepha631.TOptional<alepha631.TString>;
|
|
810
|
+
version: alepha631.TInteger;
|
|
811
|
+
changeDescription: alepha631.TOptional<alepha631.TString>;
|
|
812
|
+
tags: alepha631.TOptional<alepha631.TArray<alepha631.TString>>;
|
|
813
|
+
creatorId: alepha631.TOptional<alepha631.TString>;
|
|
814
|
+
creatorName: alepha631.TOptional<alepha631.TString>;
|
|
815
|
+
previousContent: alepha631.TOptional<alepha631.TRecord<string, alepha631.TAny>>;
|
|
816
|
+
migrationLog: alepha631.TOptional<alepha631.TString>;
|
|
817
817
|
}>>;
|
|
818
|
-
next:
|
|
819
|
-
id:
|
|
820
|
-
createdAt:
|
|
821
|
-
updatedAt:
|
|
822
|
-
name:
|
|
823
|
-
content:
|
|
824
|
-
schemaHash:
|
|
825
|
-
status:
|
|
826
|
-
activationDate:
|
|
827
|
-
expiredAt:
|
|
828
|
-
version:
|
|
829
|
-
changeDescription:
|
|
830
|
-
tags:
|
|
831
|
-
creatorId:
|
|
832
|
-
creatorName:
|
|
833
|
-
previousContent:
|
|
834
|
-
migrationLog:
|
|
818
|
+
next: alepha631.TOptional<alepha631.TObject<{
|
|
819
|
+
id: alepha631.TString;
|
|
820
|
+
createdAt: alepha631.TString;
|
|
821
|
+
updatedAt: alepha631.TString;
|
|
822
|
+
name: alepha631.TString;
|
|
823
|
+
content: alepha631.TRecord<string, alepha631.TAny>;
|
|
824
|
+
schemaHash: alepha631.TString;
|
|
825
|
+
status: alepha631.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
826
|
+
activationDate: alepha631.TString;
|
|
827
|
+
expiredAt: alepha631.TOptional<alepha631.TString>;
|
|
828
|
+
version: alepha631.TInteger;
|
|
829
|
+
changeDescription: alepha631.TOptional<alepha631.TString>;
|
|
830
|
+
tags: alepha631.TOptional<alepha631.TArray<alepha631.TString>>;
|
|
831
|
+
creatorId: alepha631.TOptional<alepha631.TString>;
|
|
832
|
+
creatorName: alepha631.TOptional<alepha631.TString>;
|
|
833
|
+
previousContent: alepha631.TOptional<alepha631.TRecord<string, alepha631.TAny>>;
|
|
834
|
+
migrationLog: alepha631.TOptional<alepha631.TString>;
|
|
835
835
|
}>>;
|
|
836
|
-
defaultValue:
|
|
837
|
-
currentValue:
|
|
838
|
-
schema:
|
|
836
|
+
defaultValue: alepha631.TOptional<alepha631.TRecord<string, alepha631.TAny>>;
|
|
837
|
+
currentValue: alepha631.TOptional<alepha631.TRecord<string, alepha631.TAny>>;
|
|
838
|
+
schema: alepha631.TOptional<alepha631.TRecord<string, alepha631.TAny>>;
|
|
839
839
|
}>;
|
|
840
840
|
}>;
|
|
841
841
|
/**
|
|
842
842
|
* Get a specific version of a configuration.
|
|
843
843
|
*/
|
|
844
844
|
getVersion: alepha_server0.ActionPrimitiveFn<{
|
|
845
|
-
params:
|
|
846
|
-
name:
|
|
847
|
-
version:
|
|
845
|
+
params: alepha631.TObject<{
|
|
846
|
+
name: alepha631.TString;
|
|
847
|
+
version: alepha631.TInteger;
|
|
848
848
|
}>;
|
|
849
|
-
response:
|
|
850
|
-
config:
|
|
851
|
-
id:
|
|
852
|
-
createdAt:
|
|
853
|
-
updatedAt:
|
|
854
|
-
name:
|
|
855
|
-
content:
|
|
856
|
-
schemaHash:
|
|
857
|
-
status:
|
|
858
|
-
activationDate:
|
|
859
|
-
expiredAt:
|
|
860
|
-
version:
|
|
861
|
-
changeDescription:
|
|
862
|
-
tags:
|
|
863
|
-
creatorId:
|
|
864
|
-
creatorName:
|
|
865
|
-
previousContent:
|
|
866
|
-
migrationLog:
|
|
849
|
+
response: alepha631.TObject<{
|
|
850
|
+
config: alepha631.TOptional<alepha631.TObject<{
|
|
851
|
+
id: alepha631.TString;
|
|
852
|
+
createdAt: alepha631.TString;
|
|
853
|
+
updatedAt: alepha631.TString;
|
|
854
|
+
name: alepha631.TString;
|
|
855
|
+
content: alepha631.TRecord<string, alepha631.TAny>;
|
|
856
|
+
schemaHash: alepha631.TString;
|
|
857
|
+
status: alepha631.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
858
|
+
activationDate: alepha631.TString;
|
|
859
|
+
expiredAt: alepha631.TOptional<alepha631.TString>;
|
|
860
|
+
version: alepha631.TInteger;
|
|
861
|
+
changeDescription: alepha631.TOptional<alepha631.TString>;
|
|
862
|
+
tags: alepha631.TOptional<alepha631.TArray<alepha631.TString>>;
|
|
863
|
+
creatorId: alepha631.TOptional<alepha631.TString>;
|
|
864
|
+
creatorName: alepha631.TOptional<alepha631.TString>;
|
|
865
|
+
previousContent: alepha631.TOptional<alepha631.TRecord<string, alepha631.TAny>>;
|
|
866
|
+
migrationLog: alepha631.TOptional<alepha631.TString>;
|
|
867
867
|
}>>;
|
|
868
868
|
}>;
|
|
869
869
|
}>;
|
|
@@ -871,98 +871,98 @@ declare class AdminConfigController {
|
|
|
871
871
|
* Create a new configuration version.
|
|
872
872
|
*/
|
|
873
873
|
createVersion: alepha_server0.ActionPrimitiveFn<{
|
|
874
|
-
params:
|
|
875
|
-
name:
|
|
874
|
+
params: alepha631.TObject<{
|
|
875
|
+
name: alepha631.TString;
|
|
876
876
|
}>;
|
|
877
|
-
body:
|
|
878
|
-
content:
|
|
879
|
-
schemaHash:
|
|
880
|
-
activationDate:
|
|
881
|
-
changeDescription:
|
|
882
|
-
tags:
|
|
883
|
-
creatorId:
|
|
884
|
-
creatorName:
|
|
877
|
+
body: alepha631.TObject<{
|
|
878
|
+
content: alepha631.TRecord<string, alepha631.TAny>;
|
|
879
|
+
schemaHash: alepha631.TString;
|
|
880
|
+
activationDate: alepha631.TOptional<alepha631.TString>;
|
|
881
|
+
changeDescription: alepha631.TOptional<alepha631.TString>;
|
|
882
|
+
tags: alepha631.TOptional<alepha631.TArray<alepha631.TString>>;
|
|
883
|
+
creatorId: alepha631.TOptional<alepha631.TString>;
|
|
884
|
+
creatorName: alepha631.TOptional<alepha631.TString>;
|
|
885
885
|
}>;
|
|
886
|
-
response:
|
|
887
|
-
id:
|
|
888
|
-
createdAt:
|
|
889
|
-
updatedAt:
|
|
890
|
-
name:
|
|
891
|
-
content:
|
|
892
|
-
schemaHash:
|
|
893
|
-
status:
|
|
894
|
-
activationDate:
|
|
895
|
-
expiredAt:
|
|
896
|
-
version:
|
|
897
|
-
changeDescription:
|
|
898
|
-
tags:
|
|
899
|
-
creatorId:
|
|
900
|
-
creatorName:
|
|
901
|
-
previousContent:
|
|
902
|
-
migrationLog:
|
|
886
|
+
response: alepha631.TObject<{
|
|
887
|
+
id: alepha631.TString;
|
|
888
|
+
createdAt: alepha631.TString;
|
|
889
|
+
updatedAt: alepha631.TString;
|
|
890
|
+
name: alepha631.TString;
|
|
891
|
+
content: alepha631.TRecord<string, alepha631.TAny>;
|
|
892
|
+
schemaHash: alepha631.TString;
|
|
893
|
+
status: alepha631.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
894
|
+
activationDate: alepha631.TString;
|
|
895
|
+
expiredAt: alepha631.TOptional<alepha631.TString>;
|
|
896
|
+
version: alepha631.TInteger;
|
|
897
|
+
changeDescription: alepha631.TOptional<alepha631.TString>;
|
|
898
|
+
tags: alepha631.TOptional<alepha631.TArray<alepha631.TString>>;
|
|
899
|
+
creatorId: alepha631.TOptional<alepha631.TString>;
|
|
900
|
+
creatorName: alepha631.TOptional<alepha631.TString>;
|
|
901
|
+
previousContent: alepha631.TOptional<alepha631.TRecord<string, alepha631.TAny>>;
|
|
902
|
+
migrationLog: alepha631.TOptional<alepha631.TString>;
|
|
903
903
|
}>;
|
|
904
904
|
}>;
|
|
905
905
|
/**
|
|
906
906
|
* Rollback to a previous version.
|
|
907
907
|
*/
|
|
908
908
|
rollback: alepha_server0.ActionPrimitiveFn<{
|
|
909
|
-
params:
|
|
910
|
-
name:
|
|
909
|
+
params: alepha631.TObject<{
|
|
910
|
+
name: alepha631.TString;
|
|
911
911
|
}>;
|
|
912
|
-
body:
|
|
913
|
-
targetVersion:
|
|
914
|
-
changeDescription:
|
|
915
|
-
creatorId:
|
|
916
|
-
creatorName:
|
|
912
|
+
body: alepha631.TObject<{
|
|
913
|
+
targetVersion: alepha631.TInteger;
|
|
914
|
+
changeDescription: alepha631.TOptional<alepha631.TString>;
|
|
915
|
+
creatorId: alepha631.TOptional<alepha631.TString>;
|
|
916
|
+
creatorName: alepha631.TOptional<alepha631.TString>;
|
|
917
917
|
}>;
|
|
918
|
-
response:
|
|
919
|
-
id:
|
|
920
|
-
createdAt:
|
|
921
|
-
updatedAt:
|
|
922
|
-
name:
|
|
923
|
-
content:
|
|
924
|
-
schemaHash:
|
|
925
|
-
status:
|
|
926
|
-
activationDate:
|
|
927
|
-
expiredAt:
|
|
928
|
-
version:
|
|
929
|
-
changeDescription:
|
|
930
|
-
tags:
|
|
931
|
-
creatorId:
|
|
932
|
-
creatorName:
|
|
933
|
-
previousContent:
|
|
934
|
-
migrationLog:
|
|
918
|
+
response: alepha631.TObject<{
|
|
919
|
+
id: alepha631.TString;
|
|
920
|
+
createdAt: alepha631.TString;
|
|
921
|
+
updatedAt: alepha631.TString;
|
|
922
|
+
name: alepha631.TString;
|
|
923
|
+
content: alepha631.TRecord<string, alepha631.TAny>;
|
|
924
|
+
schemaHash: alepha631.TString;
|
|
925
|
+
status: alepha631.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
926
|
+
activationDate: alepha631.TString;
|
|
927
|
+
expiredAt: alepha631.TOptional<alepha631.TString>;
|
|
928
|
+
version: alepha631.TInteger;
|
|
929
|
+
changeDescription: alepha631.TOptional<alepha631.TString>;
|
|
930
|
+
tags: alepha631.TOptional<alepha631.TArray<alepha631.TString>>;
|
|
931
|
+
creatorId: alepha631.TOptional<alepha631.TString>;
|
|
932
|
+
creatorName: alepha631.TOptional<alepha631.TString>;
|
|
933
|
+
previousContent: alepha631.TOptional<alepha631.TRecord<string, alepha631.TAny>>;
|
|
934
|
+
migrationLog: alepha631.TOptional<alepha631.TString>;
|
|
935
935
|
}>;
|
|
936
936
|
}>;
|
|
937
937
|
/**
|
|
938
938
|
* Activate a scheduled version immediately.
|
|
939
939
|
*/
|
|
940
940
|
activateNow: alepha_server0.ActionPrimitiveFn<{
|
|
941
|
-
params:
|
|
942
|
-
name:
|
|
941
|
+
params: alepha631.TObject<{
|
|
942
|
+
name: alepha631.TString;
|
|
943
943
|
}>;
|
|
944
|
-
body:
|
|
945
|
-
version:
|
|
946
|
-
creatorId:
|
|
947
|
-
creatorName:
|
|
944
|
+
body: alepha631.TObject<{
|
|
945
|
+
version: alepha631.TInteger;
|
|
946
|
+
creatorId: alepha631.TOptional<alepha631.TString>;
|
|
947
|
+
creatorName: alepha631.TOptional<alepha631.TString>;
|
|
948
948
|
}>;
|
|
949
|
-
response:
|
|
950
|
-
id:
|
|
951
|
-
createdAt:
|
|
952
|
-
updatedAt:
|
|
953
|
-
name:
|
|
954
|
-
content:
|
|
955
|
-
schemaHash:
|
|
956
|
-
status:
|
|
957
|
-
activationDate:
|
|
958
|
-
expiredAt:
|
|
959
|
-
version:
|
|
960
|
-
changeDescription:
|
|
961
|
-
tags:
|
|
962
|
-
creatorId:
|
|
963
|
-
creatorName:
|
|
964
|
-
previousContent:
|
|
965
|
-
migrationLog:
|
|
949
|
+
response: alepha631.TObject<{
|
|
950
|
+
id: alepha631.TString;
|
|
951
|
+
createdAt: alepha631.TString;
|
|
952
|
+
updatedAt: alepha631.TString;
|
|
953
|
+
name: alepha631.TString;
|
|
954
|
+
content: alepha631.TRecord<string, alepha631.TAny>;
|
|
955
|
+
schemaHash: alepha631.TString;
|
|
956
|
+
status: alepha631.TUnsafe<"expired" | "current" | "next" | "future">;
|
|
957
|
+
activationDate: alepha631.TString;
|
|
958
|
+
expiredAt: alepha631.TOptional<alepha631.TString>;
|
|
959
|
+
version: alepha631.TInteger;
|
|
960
|
+
changeDescription: alepha631.TOptional<alepha631.TString>;
|
|
961
|
+
tags: alepha631.TOptional<alepha631.TArray<alepha631.TString>>;
|
|
962
|
+
creatorId: alepha631.TOptional<alepha631.TString>;
|
|
963
|
+
creatorName: alepha631.TOptional<alepha631.TString>;
|
|
964
|
+
previousContent: alepha631.TOptional<alepha631.TRecord<string, alepha631.TAny>>;
|
|
965
|
+
migrationLog: alepha631.TOptional<alepha631.TString>;
|
|
966
966
|
}>;
|
|
967
967
|
}>;
|
|
968
968
|
/**
|
|
@@ -970,8 +970,8 @@ declare class AdminConfigController {
|
|
|
970
970
|
* Normally called by a scheduler, but exposed for manual triggering.
|
|
971
971
|
*/
|
|
972
972
|
checkScheduled: alepha_server0.ActionPrimitiveFn<{
|
|
973
|
-
response:
|
|
974
|
-
message:
|
|
973
|
+
response: alepha631.TObject<{
|
|
974
|
+
message: alepha631.TString;
|
|
975
975
|
}>;
|
|
976
976
|
}>;
|
|
977
977
|
}
|
|
@@ -995,9 +995,9 @@ declare class ConfigActivationScheduler {
|
|
|
995
995
|
//#endregion
|
|
996
996
|
//#region ../../src/api/parameters/index.d.ts
|
|
997
997
|
/**
|
|
998
|
-
* |
|
|
999
|
-
*
|
|
1000
|
-
* |
|
|
998
|
+
* | Stability | Since | Runtime |
|
|
999
|
+
* |-----------|-------|---------|
|
|
1000
|
+
* | 3 - stable | 0.9.0 | node, bun, workerd|
|
|
1001
1001
|
*
|
|
1002
1002
|
* Application configuration management.
|
|
1003
1003
|
*
|
|
@@ -1009,7 +1009,7 @@ declare class ConfigActivationScheduler {
|
|
|
1009
1009
|
*
|
|
1010
1010
|
* @module alepha.api.parameters
|
|
1011
1011
|
*/
|
|
1012
|
-
declare const AlephaApiParameters:
|
|
1012
|
+
declare const AlephaApiParameters: alepha631.Service<alepha631.Module>;
|
|
1013
1013
|
//#endregion
|
|
1014
1014
|
export { $config, AdminConfigController, AlephaApiParameters, ConfigActivationScheduler, ConfigPrimitive, ConfigPrimitiveOptions, ConfigStore, ConfigSyncPayload, ConfigTreeNode, Parameter, ParameterInsert, type ParameterStatus, SaveConfigOptions, SetConfigOptions, parameters };
|
|
1015
1015
|
//# sourceMappingURL=index.d.ts.map
|