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
Refactor and expand Zod schemas for data and UI models
Enhanced and reorganized field, object, action, dashboard, and view schemas for greater flexibility and clarity. Added new system translation schema for i18n support. Improved type safety, expanded configuration options (e.g., for Kanban, Calendar, Gantt views), and standardized naming conventions. Updated exports to include new translation schema.
referenceFilters: z.array(z.string()).optional().describe('Filters applied to lookup dialogs (e.g. "active = true")'),
71
+
writeRequiresMasterRead: z.boolean().optional().describe('If true, user needs read access to master record to edit this field'),
72
+
deleteBehavior: z.enum(['set_null','cascade','restrict']).optional().default('set_null').describe('What happens if referenced record is deleted'),
69
73
70
-
/** Target object name for lookup/master_detail types */
71
-
reference: z.string().optional().describe('Target object name for lookup/master_detail types'),
74
+
/** Calculation */
75
+
expression: z.string().optional().describe('Formula expression'),// Changed from formula to expression to match common usage, but keeping one consistent is key. Let's use expression as generic.
76
+
formula: z.string().optional().describe('Deprecated: Use expression'),// Backwards compat or just keep.
0 commit comments