@adminiumjs/meta 0.2.2-rc.0 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ids.d.ts +6 -0
- package/dist/ids.d.ts.map +1 -1
- package/dist/ids.js +14 -0
- package/dist/ids.js.map +1 -1
- package/dist/migrations/0014_public_surface.d.ts +40 -0
- package/dist/migrations/0014_public_surface.d.ts.map +1 -0
- package/dist/migrations/0014_public_surface.js +186 -0
- package/dist/migrations/0014_public_surface.js.map +1 -0
- package/dist/migrations/0015_connection_tenant_config.d.ts +42 -0
- package/dist/migrations/0015_connection_tenant_config.d.ts.map +1 -0
- package/dist/migrations/0015_connection_tenant_config.js +53 -0
- package/dist/migrations/0015_connection_tenant_config.js.map +1 -0
- package/dist/migrations/0016_audit_entity.d.ts +33 -0
- package/dist/migrations/0016_audit_entity.d.ts.map +1 -0
- package/dist/migrations/0016_audit_entity.js +137 -0
- package/dist/migrations/0016_audit_entity.js.map +1 -0
- package/dist/migrations/0017_surface_binding.d.ts +23 -0
- package/dist/migrations/0017_surface_binding.d.ts.map +1 -0
- package/dist/migrations/0017_surface_binding.js +37 -0
- package/dist/migrations/0017_surface_binding.js.map +1 -0
- package/dist/migrations/0018_connection_timezone_source.d.ts +44 -0
- package/dist/migrations/0018_connection_timezone_source.d.ts.map +1 -0
- package/dist/migrations/0018_connection_timezone_source.js +51 -0
- package/dist/migrations/0018_connection_timezone_source.js.map +1 -0
- package/dist/migrations/0019_connection_disabled.d.ts +38 -0
- package/dist/migrations/0019_connection_disabled.d.ts.map +1 -0
- package/dist/migrations/0019_connection_disabled.js +43 -0
- package/dist/migrations/0019_connection_disabled.js.map +1 -0
- package/dist/migrations/0020_manifests_add_on.d.ts +71 -0
- package/dist/migrations/0020_manifests_add_on.d.ts.map +1 -0
- package/dist/migrations/0020_manifests_add_on.js +111 -0
- package/dist/migrations/0020_manifests_add_on.js.map +1 -0
- package/dist/migrations/0021_add_on_credentials.d.ts +50 -0
- package/dist/migrations/0021_add_on_credentials.d.ts.map +1 -0
- package/dist/migrations/0021_add_on_credentials.js +80 -0
- package/dist/migrations/0021_add_on_credentials.js.map +1 -0
- package/dist/migrations/0022_studio_namespace.d.ts +44 -0
- package/dist/migrations/0022_studio_namespace.d.ts.map +1 -0
- package/dist/migrations/0022_studio_namespace.js +113 -0
- package/dist/migrations/0022_studio_namespace.js.map +1 -0
- package/dist/migrations/index.d.ts.map +1 -1
- package/dist/migrations/index.js +18 -0
- package/dist/migrations/index.js.map +1 -1
- package/dist/relocate.d.ts +1 -1
- package/dist/relocate.js +1 -1
- package/dist/repos/audit.d.ts.map +1 -1
- package/dist/repos/audit.js +8 -2
- package/dist/repos/audit.js.map +1 -1
- package/dist/repos/connections.d.ts +62 -0
- package/dist/repos/connections.d.ts.map +1 -1
- package/dist/repos/connections.js +104 -0
- package/dist/repos/connections.js.map +1 -1
- package/dist/repos/index.d.ts +2 -0
- package/dist/repos/index.d.ts.map +1 -1
- package/dist/repos/index.js +2 -0
- package/dist/repos/index.js.map +1 -1
- package/dist/repos/manifests.d.ts +139 -0
- package/dist/repos/manifests.d.ts.map +1 -0
- package/dist/repos/manifests.js +279 -0
- package/dist/repos/manifests.js.map +1 -0
- package/dist/repos/pages.d.ts +7 -0
- package/dist/repos/pages.d.ts.map +1 -1
- package/dist/repos/pages.js +39 -8
- package/dist/repos/pages.js.map +1 -1
- package/dist/repos/public-api.d.ts +140 -0
- package/dist/repos/public-api.d.ts.map +1 -0
- package/dist/repos/public-api.js +299 -0
- package/dist/repos/public-api.js.map +1 -0
- package/dist/schema/json-payloads.d.ts +27 -2
- package/dist/schema/json-payloads.d.ts.map +1 -1
- package/dist/schema/json-payloads.js +41 -2
- package/dist/schema/json-payloads.js.map +1 -1
- package/dist/schema/settings-registry.d.ts +65 -0
- package/dist/schema/settings-registry.d.ts.map +1 -1
- package/dist/schema/settings-registry.js +183 -0
- package/dist/schema/settings-registry.js.map +1 -1
- package/dist/schema/tables.d.ts +177 -1
- package/dist/schema/tables.d.ts.map +1 -1
- package/dist/schema/tables.js +6 -0
- package/dist/schema/tables.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json-payloads.js","sourceRoot":"","sources":["../../src/schema/json-payloads.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC;;;;;;;;GAQG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,+EAA+E;AAE/E,0EAA0E;AAC1E,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,mDAAmD;IACnD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,6CAA6C;IAC7C,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC;IACrC,4CAA4C;IAC5C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAGH,kFAAkF;AAClF,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAU,CAAC;AACzG,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;AAGnD,8EAA8E;AAC9E,MAAM,CAAC,MAAM,YAAY,GAAG,sCAAsC,CAAC;AAEnE;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;AAG1E,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,OA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,iGAAiG;AAEjG,6FAA6F;AAC7F,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;AAE5E,uFAAuF;AACvF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;AAEvD,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IACnC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;CAC5B,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,4BAA4B,CAAC,CAAC;AAEhG,6EAA6E;AAC7E,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC;KAC/B,MAAM,CAAC;IACN,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC;KACD,KAAK,EAAE,CAAC"}
|
|
@@ -31,6 +31,16 @@ export interface SettingDef<T = unknown> {
|
|
|
31
31
|
portable?: boolean;
|
|
32
32
|
description: string;
|
|
33
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* An app-instance slug: the URL segment naming ONE tenant of a hosted app.
|
|
36
|
+
*
|
|
37
|
+
* Lowercase kebab, because it is typed into a URL bar and read back off one.
|
|
38
|
+
* `staff` and `customer` are refused by name — the slug sits in the same
|
|
39
|
+
* position as the SIDE, and a slug called `staff` would make
|
|
40
|
+
* `/apps/clients/staff/` mean two things at once. Refusing them here is the
|
|
41
|
+
* whole reason that ambiguity cannot occur rather than merely being unlikely.
|
|
42
|
+
*/
|
|
43
|
+
export declare const surfaceInstanceSlug: z.ZodString;
|
|
34
44
|
/**
|
|
35
45
|
* One row of the desktop capability grant table (11-electron.md §12).
|
|
36
46
|
*
|
|
@@ -88,8 +98,60 @@ export declare const SETTINGS_REGISTRY: {
|
|
|
88
98
|
readonly 'branding.showVersion': SettingDef<boolean>;
|
|
89
99
|
readonly 'branding.faviconFileId': SettingDef<string | null>;
|
|
90
100
|
readonly 'auth.sessionTtlHours': SettingDef<number>;
|
|
101
|
+
/**
|
|
102
|
+
* ADVISORY, NOT A PERIMETER — the name overpromises, so read this before
|
|
103
|
+
* relying on it. Exactly two things in the product read this flag:
|
|
104
|
+
*
|
|
105
|
+
* 1. `apps/server/src/routes/auth/handlers.ts` — `needsTwoFactorSetup` puts
|
|
106
|
+
* `twoFactorSetupRequired` on the login reply and on `GET /auth/session`
|
|
107
|
+
* when the account has no TOTP. That is a SIGNAL for the client to route
|
|
108
|
+
* into the enroll flow, deliberately not a denial: `/auth/2fa/enroll` and
|
|
109
|
+
* `/auth/2fa/activate` are themselves `requireAuth`, so refusing the
|
|
110
|
+
* session would leave the user no door to enroll through.
|
|
111
|
+
* 2. Same file, `disable2faHandler` — `POST /auth/2fa/disable` throws
|
|
112
|
+
* ForbiddenError while the flag is on, so an account that IS enrolled
|
|
113
|
+
* cannot opt back out.
|
|
114
|
+
*
|
|
115
|
+
* NOTHING ELSE READS IT. In as many words: no server-side preHandler blocks
|
|
116
|
+
* an un-enrolled principal. A caller that simply ignores the signal — any
|
|
117
|
+
* API client that is not our dashboard — holds a full session and can call
|
|
118
|
+
* every route without ever enrolling. API-key principals are outside the
|
|
119
|
+
* question structurally: `apps/server/src/plugins/auth.ts` resolves an
|
|
120
|
+
* `Authorization: Bearer adm_…` key and returns before a session exists, so
|
|
121
|
+
* no session-conditioned gate could reach them even if one were added. What
|
|
122
|
+
* this flag hardens is enrollment (you cannot leave once in), not access.
|
|
123
|
+
*
|
|
124
|
+
* Marked `P`, so a config bundle carries it: `adminium import-zip` replays
|
|
125
|
+
* settings through `settingsRepo.set` (see the import service under
|
|
126
|
+
* `apps/server/src/export/`), which can land `true` on an instance where
|
|
127
|
+
* nobody has TOTP enrolled. Survivable precisely BECAUSE it is not a
|
|
128
|
+
* perimeter — everyone can still log in — so the recovery is to turn it off
|
|
129
|
+
* at Settings → Security (`PUT /settings/security`, needs `settings.manage`).
|
|
130
|
+
* If no admin UI is reachable, the floor is SQL; there is no
|
|
131
|
+
* `adminium settings` subcommand to do it with:
|
|
132
|
+
*
|
|
133
|
+
* DELETE FROM adminium_settings WHERE key = 'auth.require2fa';
|
|
134
|
+
*
|
|
135
|
+
* Deleting the row suffices — `packages/meta/src/repos/settings.ts` `get()`
|
|
136
|
+
* returns the registry default when no row exists, and that default is
|
|
137
|
+
* `false`.
|
|
138
|
+
*/
|
|
91
139
|
readonly 'auth.require2fa': SettingDef<boolean>;
|
|
92
140
|
readonly 'auth.allowSignup': SettingDef<boolean>;
|
|
141
|
+
readonly 'publicApi.enabled': SettingDef<boolean>;
|
|
142
|
+
readonly 'surfaces.apps': SettingDef<Record<string, {
|
|
143
|
+
staff?: "internal" | "external" | undefined;
|
|
144
|
+
connectionId?: string | undefined;
|
|
145
|
+
instances?: {
|
|
146
|
+
slug: string;
|
|
147
|
+
connectionId: string;
|
|
148
|
+
}[] | undefined;
|
|
149
|
+
}>>;
|
|
150
|
+
readonly 'surfaces.domains': SettingDef<Record<string, {
|
|
151
|
+
appKey: string;
|
|
152
|
+
side: "staff" | "customer";
|
|
153
|
+
instance?: string | undefined;
|
|
154
|
+
}>>;
|
|
93
155
|
readonly 'auth.passwordMinLength': SettingDef<number>;
|
|
94
156
|
readonly 'email.smtp': SettingDef<{
|
|
95
157
|
host: string;
|
|
@@ -114,6 +176,7 @@ export declare const SETTINGS_REGISTRY: {
|
|
|
114
176
|
readonly 'retention.auditArchive': SettingDef<boolean>;
|
|
115
177
|
readonly 'telemetry.enabled': SettingDef<boolean>;
|
|
116
178
|
readonly 'updates.checkEnabled': SettingDef<boolean>;
|
|
179
|
+
readonly 'addOns.catalogEnabled': SettingDef<boolean>;
|
|
117
180
|
/**
|
|
118
181
|
* The desktop shell's §5 "Skip login on this computer" answer, mirrored out of
|
|
119
182
|
* `<userData>/config.json` (11-electron.md §2.3 `singleUser`) at every boot by
|
|
@@ -184,6 +247,8 @@ export declare const SETTINGS_REGISTRY: {
|
|
|
184
247
|
* admin can be created and nobody can log in. The instance is scrap.
|
|
185
248
|
*/
|
|
186
249
|
readonly 'system.superAdminCreatedAt': SettingDef<number | null>;
|
|
250
|
+
readonly 'system.sourceConnectionId': SettingDef<string | null>;
|
|
251
|
+
readonly 'system.sourceSeededAt': SettingDef<number | null>;
|
|
187
252
|
/**
|
|
188
253
|
* The bundle FORMAT version of this store. Not portable: the target records
|
|
189
254
|
* its own, and the version a bundle was written at already travels in the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-registry.d.ts","sourceRoot":"","sources":["../../src/schema/settings-registry.ts"],"names":[],"mappings":"AACA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,MAAM,WAAW,UAAU,CAAC,CAAC,GAAG,OAAO;IACrC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IACrB,OAAO,EAAE,CAAC,CAAC;IACX,yFAAyF;IACzF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;;;;;;;;;;;;;;OAiBG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACrB;
|
|
1
|
+
{"version":3,"file":"settings-registry.d.ts","sourceRoot":"","sources":["../../src/schema/settings-registry.ts"],"names":[],"mappings":"AACA;;;;;GAKG;AAEH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AAU,GAAG,MAAM,gBAAgB,CAAC;AAChD,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,UAAU,IAAI,gBAAgB,CAAC,CAAC,CAAC,SAAS,UAAU,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;AAE7G,eAAO,MAAM,YAAY,EAAqC,UAAU,EAAE,CAAC;AAE3E,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,IAAI,UAAU,CAE3D;AAED,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,UAAU,GAAG,OAAO,CAE3D;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,UAAU,GAAG,OAAO,CAE7D"}
|
|
@@ -18,6 +18,23 @@ function def(schema, dflt, description, opts = {}) {
|
|
|
18
18
|
}
|
|
19
19
|
/** Shorthand for the common case: operator-authored config that a bundle carries. */
|
|
20
20
|
const P = { portable: true };
|
|
21
|
+
/**
|
|
22
|
+
* An app-instance slug: the URL segment naming ONE tenant of a hosted app.
|
|
23
|
+
*
|
|
24
|
+
* Lowercase kebab, because it is typed into a URL bar and read back off one.
|
|
25
|
+
* `staff` and `customer` are refused by name — the slug sits in the same
|
|
26
|
+
* position as the SIDE, and a slug called `staff` would make
|
|
27
|
+
* `/apps/clients/staff/` mean two things at once. Refusing them here is the
|
|
28
|
+
* whole reason that ambiguity cannot occur rather than merely being unlikely.
|
|
29
|
+
*/
|
|
30
|
+
export const surfaceInstanceSlug = z
|
|
31
|
+
.string()
|
|
32
|
+
.min(1)
|
|
33
|
+
.max(32)
|
|
34
|
+
.regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/, 'must be lowercase letters, digits and single hyphens')
|
|
35
|
+
.refine((v) => v !== 'staff' && v !== 'customer', {
|
|
36
|
+
message: '`staff` and `customer` are reserved — they name a side, not an instance',
|
|
37
|
+
});
|
|
21
38
|
const smtpSchema = z
|
|
22
39
|
.object({
|
|
23
40
|
host: z.string(),
|
|
@@ -82,8 +99,134 @@ export const SETTINGS_REGISTRY = {
|
|
|
82
99
|
'branding.showVersion': def(z.boolean(), true, 'Show the app version in the sidebar', P),
|
|
83
100
|
'branding.faviconFileId': def(z.string().nullable(), null, 'Favicon file id', P),
|
|
84
101
|
'auth.sessionTtlHours': def(z.number().int().min(1).max(8760), 720, 'Session lifetime in hours', P),
|
|
102
|
+
/**
|
|
103
|
+
* ADVISORY, NOT A PERIMETER — the name overpromises, so read this before
|
|
104
|
+
* relying on it. Exactly two things in the product read this flag:
|
|
105
|
+
*
|
|
106
|
+
* 1. `apps/server/src/routes/auth/handlers.ts` — `needsTwoFactorSetup` puts
|
|
107
|
+
* `twoFactorSetupRequired` on the login reply and on `GET /auth/session`
|
|
108
|
+
* when the account has no TOTP. That is a SIGNAL for the client to route
|
|
109
|
+
* into the enroll flow, deliberately not a denial: `/auth/2fa/enroll` and
|
|
110
|
+
* `/auth/2fa/activate` are themselves `requireAuth`, so refusing the
|
|
111
|
+
* session would leave the user no door to enroll through.
|
|
112
|
+
* 2. Same file, `disable2faHandler` — `POST /auth/2fa/disable` throws
|
|
113
|
+
* ForbiddenError while the flag is on, so an account that IS enrolled
|
|
114
|
+
* cannot opt back out.
|
|
115
|
+
*
|
|
116
|
+
* NOTHING ELSE READS IT. In as many words: no server-side preHandler blocks
|
|
117
|
+
* an un-enrolled principal. A caller that simply ignores the signal — any
|
|
118
|
+
* API client that is not our dashboard — holds a full session and can call
|
|
119
|
+
* every route without ever enrolling. API-key principals are outside the
|
|
120
|
+
* question structurally: `apps/server/src/plugins/auth.ts` resolves an
|
|
121
|
+
* `Authorization: Bearer adm_…` key and returns before a session exists, so
|
|
122
|
+
* no session-conditioned gate could reach them even if one were added. What
|
|
123
|
+
* this flag hardens is enrollment (you cannot leave once in), not access.
|
|
124
|
+
*
|
|
125
|
+
* Marked `P`, so a config bundle carries it: `adminium import-zip` replays
|
|
126
|
+
* settings through `settingsRepo.set` (see the import service under
|
|
127
|
+
* `apps/server/src/export/`), which can land `true` on an instance where
|
|
128
|
+
* nobody has TOTP enrolled. Survivable precisely BECAUSE it is not a
|
|
129
|
+
* perimeter — everyone can still log in — so the recovery is to turn it off
|
|
130
|
+
* at Settings → Security (`PUT /settings/security`, needs `settings.manage`).
|
|
131
|
+
* If no admin UI is reachable, the floor is SQL; there is no
|
|
132
|
+
* `adminium settings` subcommand to do it with:
|
|
133
|
+
*
|
|
134
|
+
* DELETE FROM adminium_settings WHERE key = 'auth.require2fa';
|
|
135
|
+
*
|
|
136
|
+
* Deleting the row suffices — `packages/meta/src/repos/settings.ts` `get()`
|
|
137
|
+
* returns the registry default when no row exists, and that default is
|
|
138
|
+
* `false`.
|
|
139
|
+
*/
|
|
85
140
|
'auth.require2fa': def(z.boolean(), false, 'Require TOTP for all users', P),
|
|
86
141
|
'auth.allowSignup': def(z.boolean(), false, 'Allow self-signup (default invite-only)', P),
|
|
142
|
+
/*
|
|
143
|
+
* The public API's runtime off switch (28-public-surface.md §3.5 level 2).
|
|
144
|
+
*
|
|
145
|
+
* DEFAULT FALSE, and deliberately NOT `portable`. It is an instance-level
|
|
146
|
+
* decision about whether this database is reachable from the internet, and
|
|
147
|
+
* carrying it in a config bundle would turn "I replayed my setup on a new
|
|
148
|
+
* box" into "I published a database I had not scoped yet". That is the same
|
|
149
|
+
* class of mistake as `system.superAdminCreatedAt` travelling in a bundle,
|
|
150
|
+
* which is the incident this file's `portable` comment was written for.
|
|
151
|
+
*
|
|
152
|
+
* Level 1 (`ADMINIUM_PUBLIC_API_ORIGINS`) still gates registration, so this
|
|
153
|
+
* key does nothing on an instance that never opted in — two independent
|
|
154
|
+
* switches, both of which must be on.
|
|
155
|
+
*/
|
|
156
|
+
'publicApi.enabled': def(z.boolean(), false, 'Serve the scoped public API at /api/v1/public'),
|
|
157
|
+
/*
|
|
158
|
+
* WHERE a hosted app's surfaces appear (29-app-surfaces.md D9).
|
|
159
|
+
*
|
|
160
|
+
* `surfaces.apps` — per app key, whether the STAFF surface is blended into
|
|
161
|
+
* this dashboard (`internal`, the default whenever a staff surface exists) or
|
|
162
|
+
* left as its own thing (`external`). Hosted is the normal case (28 D25) and
|
|
163
|
+
* "we do not need another surface" is the point of the whole wave, so
|
|
164
|
+
* external is the OPT-OUT, not the default.
|
|
165
|
+
*
|
|
166
|
+
* `connectionId` on the same record is WHICH DATABASE that staff surface
|
|
167
|
+
* reads. A customer surface already answers this: its publishable key names a
|
|
168
|
+
* scope and a scope names a connection, `NOT NULL` since wave 0014. The staff
|
|
169
|
+
* side has no key by design — it reads through the operator's session — and
|
|
170
|
+
* the key was also the thing carrying that identity, so nothing replaced it.
|
|
171
|
+
* The app was left to infer its database from "the only one serving", which
|
|
172
|
+
* is a guess that holds until an instance has two connections and then fails
|
|
173
|
+
* as a schema mismatch against somebody else's tables.
|
|
174
|
+
*
|
|
175
|
+
* Optional, and absent keeps the old inference: a single-connection instance
|
|
176
|
+
* — nearly all of them — needs no answer here, and demanding one would make
|
|
177
|
+
* every existing surface stop booting on upgrade.
|
|
178
|
+
*
|
|
179
|
+
* `instances` serves the SAME app over MORE THAN ONE database — the shape the
|
|
180
|
+
* dashboard's own generated pages have always had, where every page carries a
|
|
181
|
+
* `connectionId` and two connections simply produce two sets. Each entry adds
|
|
182
|
+
* a mount at `/apps/<appKey>/<slug>/<side>/` reading its own connection; the
|
|
183
|
+
* unslugged `/apps/<appKey>/<side>/` stays exactly where it is, reading
|
|
184
|
+
* `connectionId` above, so no existing URL moves.
|
|
185
|
+
*
|
|
186
|
+
* THE SLUG GOES BEFORE THE SIDE, and that is not cosmetic. After it —
|
|
187
|
+
* `/apps/clients/staff/<slug>` — the segment collides with the app's own
|
|
188
|
+
* routes, and `/apps/clients/staff/invoices` becomes a question with two
|
|
189
|
+
* answers. Before it, the only values in that position are `staff`, `customer`
|
|
190
|
+
* and slugs, so refusing those two names as slugs makes the ambiguity
|
|
191
|
+
* impossible rather than merely unlikely.
|
|
192
|
+
*
|
|
193
|
+
* `surfaces.domains` — `host → {appKey, side}`. A request whose `Host`
|
|
194
|
+
* matches serves that surface at `/` instead of the dashboard.
|
|
195
|
+
*
|
|
196
|
+
* NEITHER IS PORTABLE, and a domain map is the clearest case in this file.
|
|
197
|
+
* It names one instance's DNS. Carrying it in a config bundle would point a
|
|
198
|
+
* fresh install at a domain it does not own and take the dashboard away from
|
|
199
|
+
* whoever restored the bundle — the `system.superAdminCreatedAt` lesson in
|
|
200
|
+
* this file's own header, with a worse blast radius.
|
|
201
|
+
*
|
|
202
|
+
* Both are read on a HOT path (Host routing runs per request), so both go
|
|
203
|
+
* through the same short-TTL cache as `publicApi.enabled` rather than a
|
|
204
|
+
* meta-store SELECT per request.
|
|
205
|
+
*/
|
|
206
|
+
'surfaces.apps': def(z.record(z.string(), z.object({
|
|
207
|
+
staff: z.enum(['internal', 'external']).optional(),
|
|
208
|
+
connectionId: z.string().min(1).optional(),
|
|
209
|
+
instances: z
|
|
210
|
+
.array(z.object({
|
|
211
|
+
slug: surfaceInstanceSlug,
|
|
212
|
+
connectionId: z.string().min(1),
|
|
213
|
+
}))
|
|
214
|
+
.max(32)
|
|
215
|
+
.refine((list) => new Set(list.map((i) => i.slug)).size === list.length, { message: 'instance slugs must be unique within an app' })
|
|
216
|
+
.optional(),
|
|
217
|
+
})), {}, 'Per-app surface placement, connection binding and extra instances (29 D9)'),
|
|
218
|
+
'surfaces.domains': def(z.record(z.string(), z.object({
|
|
219
|
+
appKey: z.string().min(1),
|
|
220
|
+
side: z.enum(['staff', 'customer']),
|
|
221
|
+
/*
|
|
222
|
+
* Which INSTANCE this host serves (29 D9). Absent is the app's own
|
|
223
|
+
* mount, which is what every existing mapping means and keeps meaning.
|
|
224
|
+
* A host is the only signal a mapped domain has — the app cannot read
|
|
225
|
+
* the mapping — so the server has to answer with it rather than expect
|
|
226
|
+
* the bundle to work it out.
|
|
227
|
+
*/
|
|
228
|
+
instance: surfaceInstanceSlug.optional(),
|
|
229
|
+
})), {}, 'Host → app surface mapping; the operator points DNS and their proxy at this instance'),
|
|
87
230
|
'auth.passwordMinLength': def(z.number().int().min(8).max(128), 10, 'Minimum password length', P),
|
|
88
231
|
'email.smtp': def(smtpSchema, null, 'SMTP transport; email features degrade gracefully when unset', { secret: true, portable: true }),
|
|
89
232
|
'llm.provider': def(llmProviderSchema, null, 'LLM provider (06-llm-assist.md §3.1)', P),
|
|
@@ -105,6 +248,14 @@ export const SETTINGS_REGISTRY = {
|
|
|
105
248
|
// the vendor, so a self-hosted instance opts into it explicitly rather than
|
|
106
249
|
// inheriting consent from the telemetry answer (M10-T04).
|
|
107
250
|
'updates.checkEnabled': def(z.boolean(), false, 'Check for new releases (opt-in outbound call)', P),
|
|
251
|
+
// The add-on catalog's browse-online switch (32-add-on-distribution.md D8,
|
|
252
|
+
// O1). OFF by default, and for the same reason `updates.checkEnabled` is: an
|
|
253
|
+
// online browse discloses this deployment's IP, the time, and the exact
|
|
254
|
+
// `package@version` it pulls to a third-party registry. The bundled set
|
|
255
|
+
// (D3) makes the Add-ons page useful with the switch off, so default-off
|
|
256
|
+
// costs a fresh install nothing. `ADMINIUM_NETWORK_FEATURES=off` and the
|
|
257
|
+
// desktop's air-gap mode both override it downward; nothing overrides it up.
|
|
258
|
+
'addOns.catalogEnabled': def(z.boolean(), false, 'Browse the online add-on catalog (opt-in outbound call)', P),
|
|
108
259
|
// ── NOT portable ──────────────────────────────────────────────────────────
|
|
109
260
|
// Everything below identifies THIS instance, records that something already
|
|
110
261
|
// happened to it, or answers a question about the MACHINE it runs on. A
|
|
@@ -178,6 +329,38 @@ export const SETTINGS_REGISTRY = {
|
|
|
178
329
|
* admin can be created and nobody can log in. The instance is scrap.
|
|
179
330
|
*/
|
|
180
331
|
'system.superAdminCreatedAt': def(z.number().nullable(), null, 'First-super-admin bootstrap claim (epoch ms)'),
|
|
332
|
+
/*
|
|
333
|
+
* The first-boot source-connection seed (28-public-surface.md 28-T31), in two
|
|
334
|
+
* keys because the seed has two distinct facts to remember and collapsing
|
|
335
|
+
* them into one produces a dead end.
|
|
336
|
+
*
|
|
337
|
+
* `system.sourceConnectionId` — WHICH row the seed made. Written on the first
|
|
338
|
+
* attempt whether it worked or not, so a retry updates that row instead of
|
|
339
|
+
* inserting a second one every time the container restarts.
|
|
340
|
+
*
|
|
341
|
+
* `system.sourceSeededAt` — that a HEALTHY seed happened. Written only after
|
|
342
|
+
* the DSN probes OK, and it is the once-only gate: set, the seed never runs
|
|
343
|
+
* again, so a connection the operator later deletes STAYS deleted rather than
|
|
344
|
+
* reappearing on the next `docker compose up`.
|
|
345
|
+
*
|
|
346
|
+
* Why not one key. A single claim written on failure too would strand the
|
|
347
|
+
* common mistake — a typo in `ADMINIUM_SOURCE_URL`. `PATCH /connections/:id`
|
|
348
|
+
* takes `name` and `settings` and NOT a DSN (routes/connections/schema.ts),
|
|
349
|
+
* so a stored bad DSN cannot be corrected anywhere in the product; the
|
|
350
|
+
* operator's fix is to correct compose, which the seed must therefore still
|
|
351
|
+
* be listening for. Split, the retry path is "no healthy seed yet" and the
|
|
352
|
+
* once-only path is "there was one" — neither borrows the other's meaning.
|
|
353
|
+
*
|
|
354
|
+
* Neither is portable (the default). Both mean "something already happened
|
|
355
|
+
* here", which is the exact bar the `portable` comment above sets, and
|
|
356
|
+
* `system.superAdminCreatedAt` is the incident it was written for: a bundle
|
|
357
|
+
* carrying `sourceConnectionId` would name a connection row that does not
|
|
358
|
+
* exist in the target, and one carrying `sourceSeededAt` would suppress the
|
|
359
|
+
* new instance's own seed — booting it to an empty dashboard with no
|
|
360
|
+
* indication why.
|
|
361
|
+
*/
|
|
362
|
+
'system.sourceConnectionId': def(z.string().nullable(), null, 'Connection id the first-boot source seed created (28-T31)'),
|
|
363
|
+
'system.sourceSeededAt': def(z.number().nullable(), null, 'First-boot source-connection seed claim, healthy probes only (epoch ms)'),
|
|
181
364
|
/**
|
|
182
365
|
* The bundle FORMAT version of this store. Not portable: the target records
|
|
183
366
|
* its own, and the version a bundle was written at already travels in the
|
|
@@ -1 +1 @@
|
|
|
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AK,IAAI,CAAC;AAChD,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,oBAAoB,CAAC,GAAe;IAClD,OAAO,iBAAiB,CAAC,GAAG,CAAC,CAAC,QAAQ,KAAK,IAAI,CAAC;AAClD,CAAC"}
|
package/dist/schema/tables.d.ts
CHANGED
|
@@ -182,6 +182,32 @@ export interface AdminiumConnectionsTable {
|
|
|
182
182
|
lastError: string | null;
|
|
183
183
|
/** Adapter remediation hint for {@link lastError} (05 §3) — never a secret. */
|
|
184
184
|
lastErrorHint: string | null;
|
|
185
|
+
/**
|
|
186
|
+
* The BUSINESS's IANA zone (28-T34, D20) — never the READER's. A
|
|
187
|
+
* `timestamptz` rendered through the reader's zone puts a 15:00 booking at
|
|
188
|
+
* 16:00 with no error anywhere, so a browser zone is never written here.
|
|
189
|
+
*
|
|
190
|
+
* `null` means "not configured". New rows rarely carry it: `create` seeds the
|
|
191
|
+
* server's own zone so a hosted surface has something to render (0018), and
|
|
192
|
+
* {@link timezoneSource} is what separates that seed from a real decision.
|
|
193
|
+
*/
|
|
194
|
+
timezone: string | null;
|
|
195
|
+
/**
|
|
196
|
+
* Who chose {@link timezone}: `'operator'`, `'host'` (seeded from the server's
|
|
197
|
+
* zone), or `null` for unknown — every row predating wave 0018 — which must
|
|
198
|
+
* render as no claim rather than as a guess (see the migration).
|
|
199
|
+
*/
|
|
200
|
+
timezoneSource: string | null;
|
|
201
|
+
/** ISO-4217. Null when this business's data carries no money. */
|
|
202
|
+
currency: string | null;
|
|
203
|
+
/**
|
|
204
|
+
* When an operator PAUSED this source (wave 0019); null while it is serving.
|
|
205
|
+
*
|
|
206
|
+
* Deliberately not a {@link status} value: status is a probe's reading and is
|
|
207
|
+
* overwritten by the next test, whereas a pause is an intent that has to
|
|
208
|
+
* survive one — see the migration.
|
|
209
|
+
*/
|
|
210
|
+
disabledAt: Ts | null;
|
|
185
211
|
createdBy: Id | null;
|
|
186
212
|
createdAt: Ts;
|
|
187
213
|
updatedAt: Ts;
|
|
@@ -302,6 +328,14 @@ export interface AdminiumAuditLogTable {
|
|
|
302
328
|
connectionId: string | null;
|
|
303
329
|
/** RecordRef. */
|
|
304
330
|
entity: JsonColumn | null;
|
|
331
|
+
/**
|
|
332
|
+
* Denormalized from `entity` at write time (30-record-pages.md WS-A) so the
|
|
333
|
+
* per-record activity feed is an indexed lookup, not a JSON scan: the ref's
|
|
334
|
+
* qualified table and its canonical record-id string (`pkLabel` form), both
|
|
335
|
+
* clamped by `auditEntityKeyPart`. Null when the entry has no record entity.
|
|
336
|
+
*/
|
|
337
|
+
entityTable: string | null;
|
|
338
|
+
entityId: string | null;
|
|
305
339
|
/** { before, after }; capped at 16 KB serialized. */
|
|
306
340
|
changes: JsonColumn | null;
|
|
307
341
|
ip: string | null;
|
|
@@ -560,20 +594,156 @@ export interface AdminiumManifestsTable {
|
|
|
560
594
|
/** marketplace | file */
|
|
561
595
|
source: string;
|
|
562
596
|
manifest: JsonColumn;
|
|
597
|
+
/**
|
|
598
|
+
* 17 defers licences BY NAME, so nothing reads or writes this. Shipped in
|
|
599
|
+
* 0006 and left in place by 0020 rather than dropped: it is empty, and
|
|
600
|
+
* dropping a column is the one thing a migration cannot take back.
|
|
601
|
+
*/
|
|
563
602
|
licenseKeyEncrypted: string | null;
|
|
564
603
|
connectionId: Id | null;
|
|
565
604
|
/** installed | disabled | error */
|
|
566
605
|
status: string;
|
|
606
|
+
/** app | add-on (`@adminium/manifest` MANIFEST_KINDS). Added by 0020. */
|
|
607
|
+
kind: string;
|
|
567
608
|
installedBy: Id | null;
|
|
568
609
|
installedAt: Ts;
|
|
569
610
|
updatedAt: Ts;
|
|
570
611
|
}
|
|
612
|
+
/**
|
|
613
|
+
* Which host apps an installed add-on is attached to, and whether it is on for
|
|
614
|
+
* each (26 §4 as amended, O3 resolved to a join table — see `0020`'s header).
|
|
615
|
+
*
|
|
616
|
+
* `attached_to` holds the HOST's `manifest_key` by value rather than by FK: a
|
|
617
|
+
* generated app is not necessarily a row in `adminium_manifests` (only an
|
|
618
|
+
* INSTALLED micro-SaaS is), so an FK here would refuse the ordinary case.
|
|
619
|
+
*/
|
|
620
|
+
export interface AdminiumManifestAttachmentsTable {
|
|
621
|
+
id: Id;
|
|
622
|
+
manifestId: Id;
|
|
623
|
+
/** The host app's `manifest_key` (24 §5.7). */
|
|
624
|
+
attachedTo: string;
|
|
625
|
+
/** NULL = enabled on this host; epoch ms when it was switched off. */
|
|
626
|
+
disabledAt: Ts | null;
|
|
627
|
+
createdAt: Ts;
|
|
628
|
+
}
|
|
629
|
+
/**
|
|
630
|
+
* The secret a connected add-on was given — one row per connected add-on, never
|
|
631
|
+
* per attachment (26 D2/D5; see `0021`'s header).
|
|
632
|
+
*
|
|
633
|
+
* `payload` is AES-256-GCM ciphertext over the whole envelope; `expiresAt` and
|
|
634
|
+
* `scopes` sit outside it because deciding whether to refresh must not require
|
|
635
|
+
* decrypting a token. Deleted on disconnect, which keeps every table the add-on
|
|
636
|
+
* brought (24 D16).
|
|
637
|
+
*/
|
|
638
|
+
export interface AdminiumAddOnCredentialsTable {
|
|
639
|
+
id: Id;
|
|
640
|
+
manifestId: Id;
|
|
641
|
+
/** api-key | oauth2 */
|
|
642
|
+
kind: string;
|
|
643
|
+
/** AES-256-GCM ciphertext. Never logged, never served to a browser. */
|
|
644
|
+
payload: string;
|
|
645
|
+
expiresAt: Ts | null;
|
|
646
|
+
scopes: JsonColumn | null;
|
|
647
|
+
createdAt: Ts;
|
|
648
|
+
updatedAt: Ts;
|
|
649
|
+
}
|
|
571
650
|
/** §3.33 drives the sidebar "what's new" badge. PK user_id. */
|
|
572
651
|
export interface AdminiumChangelogSeenTable {
|
|
573
652
|
userId: Id;
|
|
574
653
|
version: string;
|
|
575
654
|
seenAt: Ts;
|
|
576
655
|
}
|
|
656
|
+
/**
|
|
657
|
+
* 28-public-surface.md §3.2 — the scope document.
|
|
658
|
+
*
|
|
659
|
+
* One row per (connection, side) the operator publishes. `document` holds the
|
|
660
|
+
* resources, their logical refs, the `expose` allow-list and the mandatory
|
|
661
|
+
* predicate; it is re-validated by `compileScope` on every read from disk and
|
|
662
|
+
* never trusted.
|
|
663
|
+
*/
|
|
664
|
+
export interface AdminiumPublicScopesTable {
|
|
665
|
+
id: Id;
|
|
666
|
+
connectionId: Id;
|
|
667
|
+
/** `staff` | `customer` — the `frontends[]` side this scope serves (§4). */
|
|
668
|
+
side: string;
|
|
669
|
+
name: string;
|
|
670
|
+
/**
|
|
671
|
+
* IANA zone. A COLUMN rather than a `document` field because the serializer
|
|
672
|
+
* needs it without parsing the whole document first (28 D20).
|
|
673
|
+
*/
|
|
674
|
+
timezone: string;
|
|
675
|
+
document: string;
|
|
676
|
+
/** Manifest key this was seeded from, or null when authored in Studio (O2). */
|
|
677
|
+
proposedFromManifest: string | null;
|
|
678
|
+
createdBy: Id | null;
|
|
679
|
+
createdAt: Ts;
|
|
680
|
+
updatedAt: Ts;
|
|
681
|
+
}
|
|
682
|
+
/**
|
|
683
|
+
* 28-public-surface.md §3.3 — the publishable key.
|
|
684
|
+
*
|
|
685
|
+
* Separate from `adminium_api_keys` on two load-bearing properties: the secret
|
|
686
|
+
* is re-readable (it lives in a public bundle and must survive a rebuild), and
|
|
687
|
+
* a token from this table is never an `RbacPrincipal` (28 D3), which is what
|
|
688
|
+
* makes it inert on every other route by construction.
|
|
689
|
+
*/
|
|
690
|
+
export interface AdminiumPublicKeysTable {
|
|
691
|
+
id: Id;
|
|
692
|
+
name: string;
|
|
693
|
+
/** Display fragment, e.g. `adm_pub_4f2a91cd`. */
|
|
694
|
+
prefix: string;
|
|
695
|
+
tokenHash: string;
|
|
696
|
+
/** AES-GCM envelope — the re-readable copy. Never leaves the server as-is. */
|
|
697
|
+
tokenEncrypted: string;
|
|
698
|
+
scopeId: Id;
|
|
699
|
+
side: string;
|
|
700
|
+
/**
|
|
701
|
+
* Manifest key of the hosted app surface this key is bound to, or null for a
|
|
702
|
+
* key that serves no hosted surface (standalone builds, integrations). Read
|
|
703
|
+
* by the `surface-config.json` route (29-app-surfaces.md D10) to pick the
|
|
704
|
+
* newest live customer key for an app; never a principal, like the key itself.
|
|
705
|
+
*/
|
|
706
|
+
appKey: string | null;
|
|
707
|
+
/** JSON string array narrowing `ADMINIUM_PUBLIC_API_ORIGINS`; `[]` = no narrowing. */
|
|
708
|
+
origins: string;
|
|
709
|
+
expiresAt: Ts | null;
|
|
710
|
+
revokedAt: Ts | null;
|
|
711
|
+
lastUsedAt: Ts | null;
|
|
712
|
+
createdBy: Id | null;
|
|
713
|
+
createdAt: Ts;
|
|
714
|
+
updatedAt: Ts;
|
|
715
|
+
}
|
|
716
|
+
/**
|
|
717
|
+
* 28-public-surface.md §3.4 — the end-customer session.
|
|
718
|
+
*
|
|
719
|
+
* There is deliberately no `userId`: an end customer is not an
|
|
720
|
+
* `adminium_users` row, and this table is the whole of what a claimed customer
|
|
721
|
+
* is. `grants` is stored RESOLVED so editing a scope cannot retroactively widen
|
|
722
|
+
* a session already in someone's browser.
|
|
723
|
+
*/
|
|
724
|
+
export interface AdminiumPublicSessionsTable {
|
|
725
|
+
id: Id;
|
|
726
|
+
keyId: Id;
|
|
727
|
+
tokenHash: string;
|
|
728
|
+
grants: string;
|
|
729
|
+
expiresAt: Ts;
|
|
730
|
+
createdAt: Ts;
|
|
731
|
+
lastSeenAt: Ts | null;
|
|
732
|
+
}
|
|
733
|
+
/** 28-public-surface.md §3.4 — one-time challenge for the `email-code` tier. */
|
|
734
|
+
export interface AdminiumPublicChallengesTable {
|
|
735
|
+
id: Id;
|
|
736
|
+
keyId: Id;
|
|
737
|
+
ref: string;
|
|
738
|
+
/** Hashed, not stored plain — a challenge table is otherwise a customer address list. */
|
|
739
|
+
destinationHash: string;
|
|
740
|
+
codeHash: string;
|
|
741
|
+
/** On the row, not in the in-process limiter, so the bound survives a restart. */
|
|
742
|
+
attempts: number;
|
|
743
|
+
consumedAt: Ts | null;
|
|
744
|
+
expiresAt: Ts;
|
|
745
|
+
createdAt: Ts;
|
|
746
|
+
}
|
|
577
747
|
/** The full meta-store database — every adminium_* table (BRIEF §6). */
|
|
578
748
|
export interface MetaDB {
|
|
579
749
|
adminium_migrations: AdminiumMigrationsTable;
|
|
@@ -607,10 +777,16 @@ export interface MetaDB {
|
|
|
607
777
|
adminium_webhook_deliveries: AdminiumWebhookDeliveriesTable;
|
|
608
778
|
adminium_feature_flags: AdminiumFeatureFlagsTable;
|
|
609
779
|
adminium_manifests: AdminiumManifestsTable;
|
|
780
|
+
adminium_manifest_attachments: AdminiumManifestAttachmentsTable;
|
|
781
|
+
adminium_add_on_credentials: AdminiumAddOnCredentialsTable;
|
|
610
782
|
adminium_changelog_seen: AdminiumChangelogSeenTable;
|
|
611
783
|
adminium_locales: AdminiumLocalesTable;
|
|
612
784
|
adminium_translations: AdminiumTranslationsTable;
|
|
785
|
+
adminium_public_scopes: AdminiumPublicScopesTable;
|
|
786
|
+
adminium_public_keys: AdminiumPublicKeysTable;
|
|
787
|
+
adminium_public_sessions: AdminiumPublicSessionsTable;
|
|
788
|
+
adminium_public_challenges: AdminiumPublicChallengesTable;
|
|
613
789
|
}
|
|
614
790
|
/** Every physical table name, in dependency-safe creation order. */
|
|
615
|
-
export declare const META_TABLE_NAMES: readonly ["adminium_migrations", "adminium_users", "adminium_user_prefs", "adminium_sessions", "adminium_password_resets", "adminium_settings", "adminium_roles", "adminium_role_permissions", "adminium_user_roles", "adminium_api_keys", "adminium_files", "adminium_connections", "adminium_schema_snapshots", "adminium_schema_overrides", "adminium_pages", "adminium_views", "adminium_jobs", "adminium_audit_log", "adminium_notifications", "adminium_notification_prefs", "adminium_llm_runs", "adminium_automations", "adminium_automation_runs", "adminium_scheduled_reports", "adminium_exports", "adminium_imports", "adminium_email_templates", "adminium_webhooks", "adminium_webhook_deliveries", "adminium_feature_flags", "adminium_manifests", "adminium_changelog_seen", "adminium_locales", "adminium_translations"];
|
|
791
|
+
export declare const META_TABLE_NAMES: readonly ["adminium_migrations", "adminium_users", "adminium_user_prefs", "adminium_sessions", "adminium_password_resets", "adminium_settings", "adminium_roles", "adminium_role_permissions", "adminium_user_roles", "adminium_api_keys", "adminium_files", "adminium_connections", "adminium_schema_snapshots", "adminium_schema_overrides", "adminium_pages", "adminium_views", "adminium_jobs", "adminium_audit_log", "adminium_notifications", "adminium_notification_prefs", "adminium_llm_runs", "adminium_automations", "adminium_automation_runs", "adminium_scheduled_reports", "adminium_exports", "adminium_imports", "adminium_email_templates", "adminium_webhooks", "adminium_webhook_deliveries", "adminium_feature_flags", "adminium_manifests", "adminium_manifest_attachments", "adminium_add_on_credentials", "adminium_changelog_seen", "adminium_locales", "adminium_translations", "adminium_public_scopes", "adminium_public_keys", "adminium_public_sessions", "adminium_public_challenges"];
|
|
616
792
|
//# sourceMappingURL=tables.d.ts.map
|