File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ export const PermissionSetSchema = z.object({
6565 fields : z . record ( FieldPermissionSchema ) . optional ( ) . describe ( 'Field level security' ) ,
6666
6767 /** System permissions (e.g., "manage_users") */
68- system_permissions : z . array ( z . string ( ) ) . optional ( ) . describe ( 'System level capabilities' ) ,
68+ systemPermissions : z . array ( z . string ( ) ) . optional ( ) . describe ( 'System level capabilities' ) ,
6969} ) ;
7070
7171export type PermissionSet = z . infer < typeof PermissionSetSchema > ;
Original file line number Diff line number Diff line change @@ -52,10 +52,10 @@ export const WorkflowRuleSchema = z.object({
5252 name : z . string ( ) . regex ( / ^ [ a - z _ ] [ a - z 0 - 9 _ ] * $ / ) . describe ( 'Unique workflow name' ) ,
5353
5454 /** Target Object */
55- object_name : z . string ( ) . describe ( 'Target Object' ) ,
55+ objectName : z . string ( ) . describe ( 'Target Object' ) ,
5656
5757 /** When to evaluate the rule */
58- trigger_type : WorkflowTriggerType . describe ( 'When to evaluate' ) ,
58+ triggerType : WorkflowTriggerType . describe ( 'When to evaluate' ) ,
5959
6060 /**
6161 * Condition to start the workflow.
Original file line number Diff line number Diff line change @@ -85,8 +85,8 @@ export const FormViewSchema = z.object({
8585export const ViewSchema = z . object ( {
8686 list : ListViewSchema . optional ( ) , // Default list view
8787 form : FormViewSchema . optional ( ) , // Default form view
88- list_views : z . record ( ListViewSchema ) . optional ( ) . describe ( 'Additional named list views' ) ,
89- form_views : z . record ( FormViewSchema ) . optional ( ) . describe ( 'Additional named form views' ) ,
88+ listViews : z . record ( ListViewSchema ) . optional ( ) . describe ( 'Additional named list views' ) ,
89+ formViews : z . record ( FormViewSchema ) . optional ( ) . describe ( 'Additional named form views' ) ,
9090} ) ;
9191
9292export type View = z . infer < typeof ViewSchema > ;
You can’t perform that action at this time.
0 commit comments