Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 2.37 KB

File metadata and controls

39 lines (31 loc) · 2.37 KB

objectstack-automation — Schema References

Auto-generated — do not edit. Maintainers regenerate this in the framework repo with pnpm --filter @objectstack/spec run gen:skill-refs (not runnable in an installed app).

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/automation/approval.zod.ts — Approval Step Approver Type
  • node_modules/@objectstack/spec/src/automation/execution.zod.ts — Automation Execution Protocol
  • node_modules/@objectstack/spec/src/automation/flow.zod.ts — Flow Node Types — built-in seed set (ADR-0018).
  • node_modules/@objectstack/spec/src/automation/node-executor.zod.ts — Node Executor Plugin Protocol — Wait Node Pause/Resume
  • node_modules/@objectstack/spec/src/automation/state-machine.zod.ts — XState-inspired State Machine Protocol
  • node_modules/@objectstack/spec/src/automation/time-relative-trigger.zod.ts — Time-Relative Trigger Protocol
  • node_modules/@objectstack/spec/src/automation/trigger-registry.zod.ts — Trigger Registry Protocol
  • node_modules/@objectstack/spec/src/automation/webhook.zod.ts — Webhook Trigger Event
  • node_modules/@objectstack/spec/src/data/validation.zod.ts — ObjectStack Validation Protocol

Transitive dependencies

  • node_modules/@objectstack/spec/src/kernel/metadata-protection.zod.ts — Metadata Protection Model — Phase 1 (ADR-0010)
  • node_modules/@objectstack/spec/src/shared/expression.zod.ts — Expression Protocol
  • node_modules/@objectstack/spec/src/shared/identifiers.zod.ts — System Identifier Schema
  • node_modules/@objectstack/spec/src/shared/protection.zod.ts — Package-level metadata protection (ADR-0010 §3.7 — Phase 4.3)

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 the matching subpath shown in the schema's directory ('@objectstack/spec/data', '@objectstack/spec/ai', …). The root barrel re-exports the common factories, but not every symbol — when in doubt, use the subpath.