You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Array or Map?**`defineStack()` accepts both formats for all named metadata collections (`objects`, `apps`, `flows`, etc.). Map keys are injected as the `name` field — pick whichever style you prefer.
69
+
</Callout>
45
70
46
71
From this single definition, ObjectStack automatically:
-**Zod schemas** are part of the public API surface. Adding optional properties is a MINOR change; removing or renaming properties is a MAJOR change.
29
29
-**TypeScript types** inferred from Zod (`z.infer<typeof Schema>`) follow the same guarantees as their source schemas.
30
30
-**Helper functions** (e.g., `defineStack`, `defineStudioPlugin`) maintain their call signatures within a MAJOR version.
31
+
-**Input formats** — `defineStack()` accepts both array and map (Record) format for all named metadata collections. Both formats are guaranteed stable within a MAJOR version.
31
32
-**Enum values** are append-only within a MAJOR version. Existing values are never removed or renamed in MINOR/PATCH releases.
32
33
-**Default values** in schemas are not changed in MINOR/PATCH releases unless fixing a documented bug.
0 commit comments