Skip to content

Commit d59ff29

Browse files
committed
chore(spec): move DevLoginSchema to system/dev-login.zod.ts and regenerate artifacts (#17556)
Claude-Session: https://claude.ai/code/session_01JbZnqu8bt6YqfJsr9vaFb3 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 61d1119 commit d59ff29

18 files changed

Lines changed: 380 additions & 288 deletions

File tree

‎content/docs/references/index.mdx‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Protocol Reference
3-
description: Every schema published by @objectstack/spec — 1530 schemas across 14 protocol modules
3+
description: Every schema published by @objectstack/spec — 1531 schemas across 14 protocol modules
44
---
55

66
{/* ⚠️ AUTO-GENERATED — DO NOT EDIT. Run build-docs.ts to regenerate. Hand-written docs live in the module folders under content/docs/. */}
@@ -31,9 +31,9 @@ counts are sums of the rows they head. Regenerate with
3131
| [Security Protocol](/docs/references/security) | 5 | 30 | Permission sets, row-level security, sharing rules, tenancy posture. |
3232
| [Shared Protocol](/docs/references/shared) | 10 | 31 | Primitives used across every protocol — identifiers, HTTP, expressions, error maps, enums. |
3333
| [Studio Protocol](/docs/references/studio) | 3 | 35 | Studio designer metadata — the authoring surfaces for the protocols above. |
34-
| [System Protocol](/docs/references/system) | 33 | 272 | The runtime environment — logging, jobs, cache, metrics, notifications, i18n and compliance. |
34+
| [System Protocol](/docs/references/system) | 34 | 273 | The runtime environment — logging, jobs, cache, metrics, notifications, i18n and compliance. |
3535
| [UI Protocol](/docs/references/ui) | 16 | 156 | Apps, pages, views, dashboards, reports, actions and themes — the ObjectUI layer. |
36-
| **Total** | **194** | **1530** | 14 protocol modules |
36+
| **Total** | **195** | **1531** | 14 protocol modules |
3737

3838
---
3939

@@ -316,7 +316,7 @@ Studio designer metadata — the authoring surfaces for the protocols above.
316316

317317
## System Protocol
318318

319-
**Source:** `packages/spec/src/system/` · **Import:** `@objectstack/spec/system` · **33 pages, 272 schemas**
319+
**Source:** `packages/spec/src/system/` · **Import:** `@objectstack/spec/system` · **34 pages, 273 schemas**
320320

321321
The runtime environment — logging, jobs, cache, metrics, notifications, i18n and compliance.
322322

@@ -329,6 +329,7 @@ The runtime environment — logging, jobs, cache, metrics, notifications, i18n a
329329
| [`collaboration.zod.ts`](/docs/references/system/collaboration) | `AwarenessEvent`, `AwarenessSession`, `AwarenessUpdate`, `AwarenessUserState`, `CRDTMergeResult`, `CRDTState`, `CRDTType`, `CollaborationMode`, `CollaborationSession`, `CollaborationSessionConfig`, `CollaborativeCursor`, `CounterOperation`, `CursorColorPreset`, `CursorSelection`, `CursorStyle`, `CursorUpdate`, `GCounter`, `LWWRegister`, `ORSet`, `ORSetElement`, `OTComponent`, `OTOperation`, `OTOperationType`, `OTTransformResult`, `PNCounter`, `TextCRDTOperation`, `TextCRDTState`, `UserActivityStatus`, `VectorClock` |
330330
| [`core-services.zod.ts`](/docs/references/system/core-services) | `CoreServiceName`, `KernelServiceMap`, `KernelServiceStatus`, `ServiceConfig`, `ServiceCriticality` |
331331
| [`deploy-bundle.zod.ts`](/docs/references/system/deploy-bundle) | `DeployBundle`, `DeployDiff`, `DeployManifest`, `DeployStatusEnum`, `DeployValidationIssue`, `DeployValidationResult`, `MigrationPlan`, `MigrationStatement`, `SchemaChange` |
332+
| [`dev-login.zod.ts`](/docs/references/system/dev-login) | `DevLogin` |
332333
| [`disaster-recovery.zod.ts`](/docs/references/system/disaster-recovery) | `BackupConfig`, `BackupRetention`, `BackupStrategy`, `DisasterRecoveryPlan`, `FailoverConfig`, `FailoverMode`, `RPO`, `RTO` |
333334
| [`doc.zod.ts`](/docs/references/system/doc) | `Doc` |
334335
| [`email-config.zod.ts`](/docs/references/system/email-config) | `EmailAddressConfig`, `EmailProvider`, `EmailServiceConfig` |
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
title: Dev Login
3+
description: Dev Login protocol schemas
4+
---
5+
6+
{/* ⚠️ AUTO-GENERATED — DO NOT EDIT. Run build-docs.ts to regenerate. Hand-written docs live in the module folders under content/docs/. */}
7+
8+
<Callout type="info">
9+
**Source:** `packages/spec/src/system/dev-login.zod.ts`
10+
</Callout>
11+
12+
## TypeScript Usage
13+
14+
```typescript
15+
import { DevLoginSchema } from '@objectstack/spec/system';
16+
import type { DevLogin } from '@objectstack/spec/system';
17+
18+
// Validate data
19+
const result = DevLoginSchema.parse(data);
20+
```
21+
22+
---
23+
24+
## DevLogin
25+
26+
### Properties
27+
28+
| Property | Type | Required | Description |
29+
| :--- | :--- | :--- | :--- |
30+
| **email** | `string` | ✅ | Email of an account this application seeds — printed by the development boot banner |
31+
| **password** | `string` | optional | Development-fixture password printed beside the address; omit when the account signs in another way |
32+
| **label** | `string` | optional | The audience this account belongs to (e.g. `Hiring admin`) — printed before the address |
33+
34+
35+
---
36+

‎content/docs/references/system/index.mdx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ This section contains all protocol schemas for the system layer of ObjectStack.
1515
<Card href="/docs/references/system/collaboration" title="Collaboration" description="Source: packages/spec/src/system/collaboration.zod.ts" />
1616
<Card href="/docs/references/system/core-services" title="Core Services" description="Source: packages/spec/src/system/core-services.zod.ts" />
1717
<Card href="/docs/references/system/deploy-bundle" title="Deploy Bundle" description="Source: packages/spec/src/system/deploy-bundle.zod.ts" />
18+
<Card href="/docs/references/system/dev-login" title="Dev Login" description="Source: packages/spec/src/system/dev-login.zod.ts" />
1819
<Card href="/docs/references/system/disaster-recovery" title="Disaster Recovery" description="Source: packages/spec/src/system/disaster-recovery.zod.ts" />
1920
<Card href="/docs/references/system/doc" title="Doc" description="Source: packages/spec/src/system/doc.zod.ts" />
2021
<Card href="/docs/references/system/email-config" title="Email Config" description="Source: packages/spec/src/system/email-config.zod.ts" />

‎content/docs/references/system/meta.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"collaboration",
4040
"doc",
4141
"---More---",
42+
"dev-login",
4243
"stack-server"
4344
]
4445
}

‎docs/audits/2026-07-unknown-key-strictness-ledger.counts.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,4 +264,4 @@ directory rather than per file.
264264
| `marketplace/` | 29 |
265265
| `qa/` | 6 |
266266
| `shared/` | 20 |
267-
| `system/` | 350 |
267+
| `system/` | 351 |

‎packages/spec/api-surface-declarations/data.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6468,11 +6468,11 @@ declare const FeedItemType: z.ZodEnum<{
64686468
email: "email";
64696469
system: "system";
64706470
sharing: "sharing";
6471+
note: "note";
64716472
task: "task";
64726473
approval: "approval";
64736474
event: "event";
64746475
comment: "comment";
6475-
note: "note";
64766476
field_change: "field_change";
64776477
call: "call";
64786478
record_create: "record_create";

‎packages/spec/api-surface-declarations/root.txt‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,9 +396,11 @@ declare const COMPOSE_KEY_DISPOSITIONS: Readonly<{
396396
readonly requires: "concat";
397397
readonly tiers: "concat";
398398
readonly devPlugins: "concat";
399+
readonly devLogins: "concat";
399400
readonly api: "single";
400401
readonly server: "single";
401402
readonly runtimeModule: "single";
403+
readonly devHint: "single";
402404
readonly onEnable: "single";
403405
readonly i18n: "single";
404406
}>;
@@ -22786,6 +22788,12 @@ declare const ObjectStackDefinitionSchema: z.ZodObject<{
2278622788
main: z.ZodOptional<z.ZodString>;
2278722789
integrity: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2278822790
}, z.core.$strict>, z.ZodString]>>>;
22791+
devHint: z.ZodOptional<z.ZodString>;
22792+
devLogins: z.ZodOptional<z.ZodArray<z.ZodObject<{
22793+
email: z.ZodString;
22794+
password: z.ZodOptional<z.ZodString>;
22795+
label: z.ZodOptional<z.ZodString>;
22796+
}, z.core.$strict>>>;
2278922797
runtimeModule: z.ZodOptional<z.ZodString>;
2279022798
manifest: z.ZodOptional<z.ZodObject<{
2279122799
id: z.ZodString;
@@ -44633,6 +44641,12 @@ declare const ObjectStackSchema: z.ZodObject<{
4463344641
main: z.ZodOptional<z.ZodString>;
4463444642
integrity: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4463544643
}, z.core.$strict>, z.ZodString]>>>;
44644+
devHint: z.ZodOptional<z.ZodString>;
44645+
devLogins: z.ZodOptional<z.ZodArray<z.ZodObject<{
44646+
email: z.ZodString;
44647+
password: z.ZodOptional<z.ZodString>;
44648+
label: z.ZodOptional<z.ZodString>;
44649+
}, z.core.$strict>>>;
4463644650
runtimeModule: z.ZodOptional<z.ZodString>;
4463744651
manifest: z.ZodOptional<z.ZodObject<{
4463844652
id: z.ZodString;

‎packages/spec/api-surface-declarations/system.txt‎

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
# excluded: documentation drift is `check:docs`'s axis, not this one.
1313
#
1414
# entry: ./system
15-
# exported names: 805
16-
# declarations: 844
15+
# exported names: 808
16+
# declarations: 847
1717
#
1818
# GENERATED — ⛔ never hand-edited. Regenerate after a real build:
1919
# pnpm --filter @objectstack/spec build && pnpm --filter @objectstack/spec gen:api-surface-declarations
@@ -32579,6 +32579,19 @@ declare const DeployValidationResultSchema: z.ZodObject<{
3257932579
warningCount: z.ZodDefault<z.ZodNumber>;
3258032580
}, z.core.$strip>;
3258132581

32582+
// ── DevLogin (type) ──
32583+
type DevLogin = z.input<typeof DevLoginSchema>;
32584+
32585+
// ── DevLoginParsed (type) ──
32586+
type DevLoginParsed = z.infer<typeof DevLoginSchema>;
32587+
32588+
// ── DevLoginSchema (const) ──
32589+
declare const DevLoginSchema: z.ZodObject<{
32590+
email: z.ZodString;
32591+
password: z.ZodOptional<z.ZodString>;
32592+
label: z.ZodOptional<z.ZodString>;
32593+
}, z.core.$strict>;
32594+
3258232595
// ── DisasterRecoveryPlan (type) ──
3258332596
type DisasterRecoveryPlan = z.input<typeof DisasterRecoveryPlanSchema>;
3258432597

@@ -54799,6 +54812,12 @@ declare const EnvironmentArtifactSchema: z.ZodObject<{
5479954812
main: z.ZodOptional<z.ZodString>;
5480054813
integrity: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5480154814
}, z.core.$strict>, z.ZodString]>>>;
54815+
devHint: z.ZodOptional<z.ZodString>;
54816+
devLogins: z.ZodOptional<z.ZodArray<z.ZodObject<{
54817+
email: z.ZodString;
54818+
password: z.ZodOptional<z.ZodString>;
54819+
label: z.ZodOptional<z.ZodString>;
54820+
}, z.core.$strict>>>;
5480254821
runtimeModule: z.ZodOptional<z.ZodString>;
5480354822
manifest: z.ZodOptional<z.ZodObject<{
5480454823
id: z.ZodString;

0 commit comments

Comments
 (0)