Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.12 KB

File metadata and controls

26 lines (18 loc) · 1.12 KB

objectstack-i18n — Schema References

Auto-generated by packages/spec/scripts/build-skill-references.ts. Do not edit — re-run pnpm --filter @objectstack/spec run gen:skill-refs to update.

Schemas live in the published @objectstack/spec package. Read them directly from node_modules — there is no local copy in the skill bundle.

Core schemas

  • node_modules/@objectstack/spec/src/system/translation.zod.ts — Field Translation Schema
  • node_modules/@objectstack/spec/src/ui/i18n.zod.ts — I18n Object Schema

Transitive dependencies

  • node_modules/@objectstack/spec/src/shared/lazy-schema.ts — Wrap a Zod schema constructor so its body is only evaluated on first use.

How to read these

  1. The schemas are runtime Zod definitions. Use Read on the absolute path under node_modules/@objectstack/spec/src/ to inspect field shapes, .describe() text, enums, and refinements.
  2. TypeScript types: import type { … } from '@objectstack/spec' (or the matching subpath export).
  3. Runtime values: import { … } from '@objectstack/spec' — the package re-exports every schema and helper.