ObjectStackObjectStack

Dev Login schema — System Protocol reference

Dev Login schemas of the ObjectStack System Protocol: DevLogin — each property with its type, default and a TypeScript example.

Source: packages/spec/src/system/dev-login.zod.ts

TypeScript Usage

import { DevLoginSchema } from '@objectstack/spec/system';
import type { DevLogin } from '@objectstack/spec/system';

// Validate data
const result = DevLoginSchema.parse(data);

DevLogin

Properties

PropertyTypeRequiredDescription
emailstring✅Email of an account this application seeds — printed by the development boot banner
passwordstringoptionalDevelopment-fixture password printed beside the address; omit when the account signs in another way
labelstringoptionalThe audience this account belongs to (e.g. Hiring admin) — printed before the address

On this page