@baseplate-dev/project-builder-lib 0.3.1 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/compiler/admin-crud-action-spec.d.ts +26 -0
- package/dist/compiler/admin-crud-action-spec.d.ts.map +1 -0
- package/dist/compiler/admin-crud-action-spec.js +29 -0
- package/dist/compiler/admin-crud-action-spec.js.map +1 -0
- package/dist/compiler/admin-crud-column-compiler-spec.d.ts +28 -0
- package/dist/compiler/admin-crud-column-compiler-spec.d.ts.map +1 -0
- package/dist/compiler/admin-crud-column-compiler-spec.js +35 -0
- package/dist/compiler/admin-crud-column-compiler-spec.js.map +1 -0
- package/dist/compiler/admin-crud-input-spec.d.ts +2 -2
- package/dist/compiler/admin-crud-input-spec.d.ts.map +1 -1
- package/dist/compiler/admin-crud-input-spec.js.map +1 -1
- package/dist/compiler/index.d.ts +2 -0
- package/dist/compiler/index.d.ts.map +1 -1
- package/dist/compiler/index.js +2 -0
- package/dist/compiler/index.js.map +1 -1
- package/dist/migrations/index.d.ts.map +1 -1
- package/dist/migrations/index.js +4 -0
- package/dist/migrations/index.js.map +1 -1
- package/dist/migrations/migration-018-crud-name-field-ref.d.ts +69 -0
- package/dist/migrations/migration-018-crud-name-field-ref.d.ts.map +1 -0
- package/dist/migrations/migration-018-crud-name-field-ref.js +49 -0
- package/dist/migrations/migration-018-crud-name-field-ref.js.map +1 -0
- package/dist/migrations/migration-019-column-type-based.d.ts +90 -0
- package/dist/migrations/migration-019-column-type-based.d.ts.map +1 -0
- package/dist/migrations/migration-019-column-type-based.js +79 -0
- package/dist/migrations/migration-019-column-type-based.js.map +1 -0
- package/dist/parser/parser.d.ts.map +1 -1
- package/dist/parser/parser.js +8 -2
- package/dist/parser/parser.js.map +1 -1
- package/dist/plugins/spec/auth-config-spec.d.ts +2 -0
- package/dist/plugins/spec/auth-config-spec.d.ts.map +1 -1
- package/dist/plugins/spec/auth-config-spec.js.map +1 -1
- package/dist/references/definition-ref-builder.d.ts.map +1 -1
- package/dist/references/definition-ref-builder.js +5 -1
- package/dist/references/definition-ref-builder.js.map +1 -1
- package/dist/schema/apps/web/admin/admin.d.ts +660 -744
- package/dist/schema/apps/web/admin/admin.d.ts.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-actions/admin-action-spec.d.ts +17 -0
- package/dist/schema/apps/web/admin/sections/crud-actions/admin-action-spec.d.ts.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-actions/admin-action-spec.js +30 -0
- package/dist/schema/apps/web/admin/sections/crud-actions/admin-action-spec.js.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-actions/admin-crud-action.d.ts +33 -0
- package/dist/schema/apps/web/admin/sections/crud-actions/admin-crud-action.d.ts.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-actions/admin-crud-action.js +24 -0
- package/dist/schema/apps/web/admin/sections/crud-actions/admin-crud-action.js.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-actions/built-in-actions.d.ts +37 -0
- package/dist/schema/apps/web/admin/sections/crud-actions/built-in-actions.d.ts.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-actions/built-in-actions.js +22 -0
- package/dist/schema/apps/web/admin/sections/crud-actions/built-in-actions.js.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-actions/index.d.ts +5 -0
- package/dist/schema/apps/web/admin/sections/crud-actions/index.d.ts.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-actions/index.js +5 -0
- package/dist/schema/apps/web/admin/sections/crud-actions/index.js.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-actions/types.d.ts +24 -0
- package/dist/schema/apps/web/admin/sections/crud-actions/types.d.ts.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-actions/types.js +18 -0
- package/dist/schema/apps/web/admin/sections/crud-actions/types.js.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-columns/admin-column-spec.d.ts +17 -0
- package/dist/schema/apps/web/admin/sections/crud-columns/admin-column-spec.d.ts.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-columns/admin-column-spec.js +30 -0
- package/dist/schema/apps/web/admin/sections/crud-columns/admin-column-spec.js.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-columns/admin-crud-column.d.ts +33 -0
- package/dist/schema/apps/web/admin/sections/crud-columns/admin-crud-column.d.ts.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-columns/admin-crud-column.js +24 -0
- package/dist/schema/apps/web/admin/sections/crud-columns/admin-crud-column.js.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-columns/built-in-columns.d.ts +51 -0
- package/dist/schema/apps/web/admin/sections/crud-columns/built-in-columns.d.ts.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-columns/built-in-columns.js +37 -0
- package/dist/schema/apps/web/admin/sections/crud-columns/built-in-columns.js.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-columns/index.d.ts +5 -0
- package/dist/schema/apps/web/admin/sections/crud-columns/index.d.ts.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-columns/index.js +5 -0
- package/dist/schema/apps/web/admin/sections/crud-columns/index.js.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-columns/types.d.ts +24 -0
- package/dist/schema/apps/web/admin/sections/crud-columns/types.d.ts.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-columns/types.js +18 -0
- package/dist/schema/apps/web/admin/sections/crud-columns/types.js.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-form/admin-crud-input.d.ts +14 -1
- package/dist/schema/apps/web/admin/sections/crud-form/admin-crud-input.d.ts.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-form/admin-crud-input.js +10 -2
- package/dist/schema/apps/web/admin/sections/crud-form/admin-crud-input.js.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-form/built-in-input.d.ts +70 -22
- package/dist/schema/apps/web/admin/sections/crud-form/built-in-input.d.ts.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-form/built-in-input.js +7 -7
- package/dist/schema/apps/web/admin/sections/crud-form/built-in-input.js.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-form/types.d.ts +5 -0
- package/dist/schema/apps/web/admin/sections/crud-form/types.d.ts.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-form/types.js +7 -0
- package/dist/schema/apps/web/admin/sections/crud-form/types.js.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud.d.ts +418 -580
- package/dist/schema/apps/web/admin/sections/crud.d.ts.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud.js +17 -34
- package/dist/schema/apps/web/admin/sections/crud.js.map +1 -1
- package/dist/schema/apps/web/admin/sections/index.d.ts +2 -0
- package/dist/schema/apps/web/admin/sections/index.d.ts.map +1 -1
- package/dist/schema/apps/web/admin/sections/index.js +2 -0
- package/dist/schema/apps/web/admin/sections/index.js.map +1 -1
- package/dist/schema/apps/web/admin/sections/types.d.ts +1 -0
- package/dist/schema/apps/web/admin/sections/types.d.ts.map +1 -1
- package/dist/schema/apps/web/admin/sections/types.js +3 -0
- package/dist/schema/apps/web/admin/sections/types.js.map +1 -1
- package/dist/schema/apps/web/web-app.d.ts +423 -495
- package/dist/schema/apps/web/web-app.d.ts.map +1 -1
- package/dist/schema/creator/extend-parser-context-with-defaults.d.ts +1 -1
- package/dist/schema/creator/extend-parser-context-with-defaults.d.ts.map +1 -1
- package/dist/schema/creator/extend-parser-context-with-defaults.js +9 -2
- package/dist/schema/creator/extend-parser-context-with-defaults.js.map +1 -1
- package/dist/schema/models/index.d.ts +128 -4
- package/dist/schema/models/index.d.ts.map +1 -1
- package/dist/schema/models/index.js +1 -1
- package/dist/schema/models/index.js.map +1 -1
- package/dist/schema/project-definition.d.ts +981 -1083
- package/dist/schema/project-definition.d.ts.map +1 -1
- package/dist/web/specs/admin-crud-action-web-spec.d.ts +32 -0
- package/dist/web/specs/admin-crud-action-web-spec.d.ts.map +1 -0
- package/dist/web/specs/admin-crud-action-web-spec.js +35 -0
- package/dist/web/specs/admin-crud-action-web-spec.js.map +1 -0
- package/dist/web/specs/admin-crud-column-web-spec.d.ts +33 -0
- package/dist/web/specs/admin-crud-column-web-spec.d.ts.map +1 -0
- package/dist/web/specs/admin-crud-column-web-spec.js +35 -0
- package/dist/web/specs/admin-crud-column-web-spec.js.map +1 -0
- package/dist/web/specs/admin-crud-input-web-spec.d.ts +4 -4
- package/dist/web/specs/admin-crud-input-web-spec.d.ts.map +1 -1
- package/dist/web/specs/admin-crud-input-web-spec.js.map +1 -1
- package/dist/web/specs/index.d.ts +2 -0
- package/dist/web/specs/index.d.ts.map +1 -1
- package/dist/web/specs/index.js +2 -0
- package/dist/web/specs/index.js.map +1 -1
- package/package.json +5 -5
|
@@ -21,109 +21,137 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
21
21
|
}>, z.ZodObject<{
|
|
22
22
|
type: z.ZodLiteral<"crud">;
|
|
23
23
|
modelRef: z.ZodEffects<z.ZodString, string, string>;
|
|
24
|
+
nameFieldRef: z.ZodEffects<z.ZodString, string, string>;
|
|
24
25
|
disableCreate: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, boolean | undefined>;
|
|
25
26
|
table: z.ZodObject<{
|
|
26
|
-
columns: z.ZodArray<z.ZodObject<{
|
|
27
|
+
columns: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
28
|
+
id: z.ZodDefault<z.ZodString>;
|
|
29
|
+
type: z.ZodString;
|
|
27
30
|
label: z.ZodString;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}, {
|
|
48
|
-
type: "foreign";
|
|
49
|
-
localRelationRef: string;
|
|
50
|
-
labelExpression: string;
|
|
51
|
-
valueExpression: string;
|
|
52
|
-
}>]>;
|
|
53
|
-
}, "strip", z.ZodTypeAny, {
|
|
54
|
-
label: string;
|
|
55
|
-
display: {
|
|
56
|
-
type: "foreign";
|
|
57
|
-
localRelationRef: string;
|
|
58
|
-
labelExpression: string;
|
|
59
|
-
valueExpression: string;
|
|
60
|
-
} | {
|
|
61
|
-
type: "text";
|
|
62
|
-
modelFieldRef: string;
|
|
63
|
-
};
|
|
64
|
-
}, {
|
|
31
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
32
|
+
id: z.ZodDefault<z.ZodString>;
|
|
33
|
+
type: z.ZodString;
|
|
34
|
+
label: z.ZodString;
|
|
35
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
36
|
+
id: z.ZodDefault<z.ZodString>;
|
|
37
|
+
type: z.ZodString;
|
|
38
|
+
label: z.ZodString;
|
|
39
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
40
|
+
id: z.ZodDefault<z.ZodString>;
|
|
41
|
+
type: z.ZodString;
|
|
42
|
+
label: z.ZodString;
|
|
43
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
44
|
+
id: z.ZodDefault<z.ZodString>;
|
|
45
|
+
type: z.ZodString;
|
|
46
|
+
label: z.ZodString;
|
|
47
|
+
}, z.ZodTypeAny, "passthrough">>, {
|
|
48
|
+
type: string;
|
|
49
|
+
id: string;
|
|
65
50
|
label: string;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
}
|
|
51
|
+
}, z.objectInputType<{
|
|
52
|
+
id: z.ZodDefault<z.ZodString>;
|
|
53
|
+
type: z.ZodString;
|
|
54
|
+
label: z.ZodString;
|
|
55
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
56
|
+
actions: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
57
|
+
id: z.ZodDefault<z.ZodString>;
|
|
58
|
+
type: z.ZodString;
|
|
59
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
60
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
61
|
+
id: z.ZodDefault<z.ZodString>;
|
|
62
|
+
type: z.ZodString;
|
|
63
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
64
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
65
|
+
id: z.ZodDefault<z.ZodString>;
|
|
66
|
+
type: z.ZodString;
|
|
67
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
68
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
69
|
+
id: z.ZodDefault<z.ZodString>;
|
|
70
|
+
type: z.ZodString;
|
|
71
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
72
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
73
|
+
id: z.ZodDefault<z.ZodString>;
|
|
74
|
+
type: z.ZodString;
|
|
75
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
76
|
+
}, z.ZodTypeAny, "passthrough">>, {
|
|
77
|
+
type: string;
|
|
78
|
+
id: string;
|
|
79
|
+
position: "inline" | "dropdown";
|
|
80
|
+
}, z.objectInputType<{
|
|
81
|
+
id: z.ZodDefault<z.ZodString>;
|
|
82
|
+
type: z.ZodString;
|
|
83
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
84
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>, {
|
|
85
|
+
type: string;
|
|
86
|
+
id: string;
|
|
87
|
+
position: "inline" | "dropdown";
|
|
88
|
+
}[] | undefined, z.objectInputType<{
|
|
89
|
+
id: z.ZodDefault<z.ZodString>;
|
|
90
|
+
type: z.ZodString;
|
|
91
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
92
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined>;
|
|
76
93
|
}, "strip", z.ZodTypeAny, {
|
|
77
94
|
columns: {
|
|
95
|
+
type: string;
|
|
96
|
+
id: string;
|
|
78
97
|
label: string;
|
|
79
|
-
display: {
|
|
80
|
-
type: "foreign";
|
|
81
|
-
localRelationRef: string;
|
|
82
|
-
labelExpression: string;
|
|
83
|
-
valueExpression: string;
|
|
84
|
-
} | {
|
|
85
|
-
type: "text";
|
|
86
|
-
modelFieldRef: string;
|
|
87
|
-
};
|
|
88
98
|
}[];
|
|
99
|
+
actions?: {
|
|
100
|
+
type: string;
|
|
101
|
+
id: string;
|
|
102
|
+
position: "inline" | "dropdown";
|
|
103
|
+
}[] | undefined;
|
|
89
104
|
}, {
|
|
90
|
-
columns: {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
};
|
|
101
|
-
}[];
|
|
105
|
+
columns: z.objectInputType<{
|
|
106
|
+
id: z.ZodDefault<z.ZodString>;
|
|
107
|
+
type: z.ZodString;
|
|
108
|
+
label: z.ZodString;
|
|
109
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
110
|
+
actions?: z.objectInputType<{
|
|
111
|
+
id: z.ZodDefault<z.ZodString>;
|
|
112
|
+
type: z.ZodString;
|
|
113
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
114
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
102
115
|
}>;
|
|
103
116
|
form: z.ZodObject<{
|
|
104
|
-
fields: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
117
|
+
fields: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
118
|
+
id: z.ZodDefault<z.ZodString>;
|
|
105
119
|
type: z.ZodString;
|
|
106
120
|
label: z.ZodString;
|
|
107
121
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
122
|
+
id: z.ZodDefault<z.ZodString>;
|
|
123
|
+
type: z.ZodString;
|
|
124
|
+
label: z.ZodString;
|
|
125
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
126
|
+
id: z.ZodDefault<z.ZodString>;
|
|
127
|
+
type: z.ZodString;
|
|
128
|
+
label: z.ZodString;
|
|
129
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
130
|
+
id: z.ZodDefault<z.ZodString>;
|
|
108
131
|
type: z.ZodString;
|
|
109
132
|
label: z.ZodString;
|
|
110
133
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
134
|
+
id: z.ZodDefault<z.ZodString>;
|
|
111
135
|
type: z.ZodString;
|
|
112
136
|
label: z.ZodString;
|
|
113
137
|
}, z.ZodTypeAny, "passthrough">>, {
|
|
114
138
|
type: string;
|
|
139
|
+
id: string;
|
|
115
140
|
label: string;
|
|
116
141
|
}, z.objectInputType<{
|
|
142
|
+
id: z.ZodDefault<z.ZodString>;
|
|
117
143
|
type: z.ZodString;
|
|
118
144
|
label: z.ZodString;
|
|
119
145
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
120
146
|
}, "strip", z.ZodTypeAny, {
|
|
121
147
|
fields: {
|
|
122
148
|
type: string;
|
|
149
|
+
id: string;
|
|
123
150
|
label: string;
|
|
124
151
|
}[];
|
|
125
152
|
}, {
|
|
126
153
|
fields: z.objectInputType<{
|
|
154
|
+
id: z.ZodDefault<z.ZodString>;
|
|
127
155
|
type: z.ZodString;
|
|
128
156
|
label: z.ZodString;
|
|
129
157
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -135,29 +163,44 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
135
163
|
includeIdField: z.ZodOptional<z.ZodBoolean>;
|
|
136
164
|
type: z.ZodLiteral<"object">;
|
|
137
165
|
form: z.ZodObject<{
|
|
138
|
-
fields: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
166
|
+
fields: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
167
|
+
id: z.ZodDefault<z.ZodString>;
|
|
139
168
|
type: z.ZodString;
|
|
140
169
|
label: z.ZodString;
|
|
141
170
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
171
|
+
id: z.ZodDefault<z.ZodString>;
|
|
172
|
+
type: z.ZodString;
|
|
173
|
+
label: z.ZodString;
|
|
174
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
175
|
+
id: z.ZodDefault<z.ZodString>;
|
|
176
|
+
type: z.ZodString;
|
|
177
|
+
label: z.ZodString;
|
|
178
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
179
|
+
id: z.ZodDefault<z.ZodString>;
|
|
142
180
|
type: z.ZodString;
|
|
143
181
|
label: z.ZodString;
|
|
144
182
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
183
|
+
id: z.ZodDefault<z.ZodString>;
|
|
145
184
|
type: z.ZodString;
|
|
146
185
|
label: z.ZodString;
|
|
147
186
|
}, z.ZodTypeAny, "passthrough">>, {
|
|
148
187
|
type: string;
|
|
188
|
+
id: string;
|
|
149
189
|
label: string;
|
|
150
190
|
}, z.objectInputType<{
|
|
191
|
+
id: z.ZodDefault<z.ZodString>;
|
|
151
192
|
type: z.ZodString;
|
|
152
193
|
label: z.ZodString;
|
|
153
194
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
154
195
|
}, "strip", z.ZodTypeAny, {
|
|
155
196
|
fields: {
|
|
156
197
|
type: string;
|
|
198
|
+
id: string;
|
|
157
199
|
label: string;
|
|
158
200
|
}[];
|
|
159
201
|
}, {
|
|
160
202
|
fields: z.objectInputType<{
|
|
203
|
+
id: z.ZodDefault<z.ZodString>;
|
|
161
204
|
type: z.ZodString;
|
|
162
205
|
label: z.ZodString;
|
|
163
206
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -170,6 +213,7 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
170
213
|
form: {
|
|
171
214
|
fields: {
|
|
172
215
|
type: string;
|
|
216
|
+
id: string;
|
|
173
217
|
label: string;
|
|
174
218
|
}[];
|
|
175
219
|
};
|
|
@@ -181,6 +225,7 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
181
225
|
modelRef: string;
|
|
182
226
|
form: {
|
|
183
227
|
fields: z.objectInputType<{
|
|
228
|
+
id: z.ZodDefault<z.ZodString>;
|
|
184
229
|
type: z.ZodString;
|
|
185
230
|
label: z.ZodString;
|
|
186
231
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -193,107 +238,87 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
193
238
|
includeIdField: z.ZodOptional<z.ZodBoolean>;
|
|
194
239
|
type: z.ZodLiteral<"list">;
|
|
195
240
|
table: z.ZodObject<{
|
|
196
|
-
columns: z.ZodArray<z.ZodObject<{
|
|
241
|
+
columns: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
242
|
+
id: z.ZodDefault<z.ZodString>;
|
|
243
|
+
type: z.ZodString;
|
|
197
244
|
label: z.ZodString;
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
}, {
|
|
218
|
-
type: "foreign";
|
|
219
|
-
localRelationRef: string;
|
|
220
|
-
labelExpression: string;
|
|
221
|
-
valueExpression: string;
|
|
222
|
-
}>]>;
|
|
223
|
-
}, "strip", z.ZodTypeAny, {
|
|
224
|
-
label: string;
|
|
225
|
-
display: {
|
|
226
|
-
type: "foreign";
|
|
227
|
-
localRelationRef: string;
|
|
228
|
-
labelExpression: string;
|
|
229
|
-
valueExpression: string;
|
|
230
|
-
} | {
|
|
231
|
-
type: "text";
|
|
232
|
-
modelFieldRef: string;
|
|
233
|
-
};
|
|
234
|
-
}, {
|
|
245
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
246
|
+
id: z.ZodDefault<z.ZodString>;
|
|
247
|
+
type: z.ZodString;
|
|
248
|
+
label: z.ZodString;
|
|
249
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
250
|
+
id: z.ZodDefault<z.ZodString>;
|
|
251
|
+
type: z.ZodString;
|
|
252
|
+
label: z.ZodString;
|
|
253
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
254
|
+
id: z.ZodDefault<z.ZodString>;
|
|
255
|
+
type: z.ZodString;
|
|
256
|
+
label: z.ZodString;
|
|
257
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
258
|
+
id: z.ZodDefault<z.ZodString>;
|
|
259
|
+
type: z.ZodString;
|
|
260
|
+
label: z.ZodString;
|
|
261
|
+
}, z.ZodTypeAny, "passthrough">>, {
|
|
262
|
+
type: string;
|
|
263
|
+
id: string;
|
|
235
264
|
label: string;
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
} | {
|
|
242
|
-
type: "text";
|
|
243
|
-
modelFieldRef: string;
|
|
244
|
-
};
|
|
245
|
-
}>, "many">;
|
|
265
|
+
}, z.objectInputType<{
|
|
266
|
+
id: z.ZodDefault<z.ZodString>;
|
|
267
|
+
type: z.ZodString;
|
|
268
|
+
label: z.ZodString;
|
|
269
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
246
270
|
}, "strip", z.ZodTypeAny, {
|
|
247
271
|
columns: {
|
|
272
|
+
type: string;
|
|
273
|
+
id: string;
|
|
248
274
|
label: string;
|
|
249
|
-
display: {
|
|
250
|
-
type: "foreign";
|
|
251
|
-
localRelationRef: string;
|
|
252
|
-
labelExpression: string;
|
|
253
|
-
valueExpression: string;
|
|
254
|
-
} | {
|
|
255
|
-
type: "text";
|
|
256
|
-
modelFieldRef: string;
|
|
257
|
-
};
|
|
258
275
|
}[];
|
|
259
276
|
}, {
|
|
260
|
-
columns: {
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
labelExpression: string;
|
|
266
|
-
valueExpression: string;
|
|
267
|
-
} | {
|
|
268
|
-
type: "text";
|
|
269
|
-
modelFieldRef: string;
|
|
270
|
-
};
|
|
271
|
-
}[];
|
|
277
|
+
columns: z.objectInputType<{
|
|
278
|
+
id: z.ZodDefault<z.ZodString>;
|
|
279
|
+
type: z.ZodString;
|
|
280
|
+
label: z.ZodString;
|
|
281
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
272
282
|
}>;
|
|
273
283
|
form: z.ZodObject<{
|
|
274
|
-
fields: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
284
|
+
fields: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
285
|
+
id: z.ZodDefault<z.ZodString>;
|
|
275
286
|
type: z.ZodString;
|
|
276
287
|
label: z.ZodString;
|
|
277
288
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
289
|
+
id: z.ZodDefault<z.ZodString>;
|
|
290
|
+
type: z.ZodString;
|
|
291
|
+
label: z.ZodString;
|
|
292
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
293
|
+
id: z.ZodDefault<z.ZodString>;
|
|
294
|
+
type: z.ZodString;
|
|
295
|
+
label: z.ZodString;
|
|
296
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
297
|
+
id: z.ZodDefault<z.ZodString>;
|
|
278
298
|
type: z.ZodString;
|
|
279
299
|
label: z.ZodString;
|
|
280
300
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
301
|
+
id: z.ZodDefault<z.ZodString>;
|
|
281
302
|
type: z.ZodString;
|
|
282
303
|
label: z.ZodString;
|
|
283
304
|
}, z.ZodTypeAny, "passthrough">>, {
|
|
284
305
|
type: string;
|
|
306
|
+
id: string;
|
|
285
307
|
label: string;
|
|
286
308
|
}, z.objectInputType<{
|
|
309
|
+
id: z.ZodDefault<z.ZodString>;
|
|
287
310
|
type: z.ZodString;
|
|
288
311
|
label: z.ZodString;
|
|
289
312
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
290
313
|
}, "strip", z.ZodTypeAny, {
|
|
291
314
|
fields: {
|
|
292
315
|
type: string;
|
|
316
|
+
id: string;
|
|
293
317
|
label: string;
|
|
294
318
|
}[];
|
|
295
319
|
}, {
|
|
296
320
|
fields: z.objectInputType<{
|
|
321
|
+
id: z.ZodDefault<z.ZodString>;
|
|
297
322
|
type: z.ZodString;
|
|
298
323
|
label: z.ZodString;
|
|
299
324
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -306,21 +331,15 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
306
331
|
form: {
|
|
307
332
|
fields: {
|
|
308
333
|
type: string;
|
|
334
|
+
id: string;
|
|
309
335
|
label: string;
|
|
310
336
|
}[];
|
|
311
337
|
};
|
|
312
338
|
table: {
|
|
313
339
|
columns: {
|
|
340
|
+
type: string;
|
|
341
|
+
id: string;
|
|
314
342
|
label: string;
|
|
315
|
-
display: {
|
|
316
|
-
type: "foreign";
|
|
317
|
-
localRelationRef: string;
|
|
318
|
-
labelExpression: string;
|
|
319
|
-
valueExpression: string;
|
|
320
|
-
} | {
|
|
321
|
-
type: "text";
|
|
322
|
-
modelFieldRef: string;
|
|
323
|
-
};
|
|
324
343
|
}[];
|
|
325
344
|
};
|
|
326
345
|
includeIdField?: boolean | undefined;
|
|
@@ -331,23 +350,17 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
331
350
|
modelRef: string;
|
|
332
351
|
form: {
|
|
333
352
|
fields: z.objectInputType<{
|
|
353
|
+
id: z.ZodDefault<z.ZodString>;
|
|
334
354
|
type: z.ZodString;
|
|
335
355
|
label: z.ZodString;
|
|
336
356
|
}, z.ZodTypeAny, "passthrough">[];
|
|
337
357
|
};
|
|
338
358
|
table: {
|
|
339
|
-
columns: {
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
labelExpression: string;
|
|
345
|
-
valueExpression: string;
|
|
346
|
-
} | {
|
|
347
|
-
type: "text";
|
|
348
|
-
modelFieldRef: string;
|
|
349
|
-
};
|
|
350
|
-
}[];
|
|
359
|
+
columns: z.objectInputType<{
|
|
360
|
+
id: z.ZodDefault<z.ZodString>;
|
|
361
|
+
type: z.ZodString;
|
|
362
|
+
label: z.ZodString;
|
|
363
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
351
364
|
};
|
|
352
365
|
includeIdField?: boolean | undefined;
|
|
353
366
|
}>]>, {
|
|
@@ -358,6 +371,7 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
358
371
|
form: {
|
|
359
372
|
fields: {
|
|
360
373
|
type: string;
|
|
374
|
+
id: string;
|
|
361
375
|
label: string;
|
|
362
376
|
}[];
|
|
363
377
|
};
|
|
@@ -370,21 +384,15 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
370
384
|
form: {
|
|
371
385
|
fields: {
|
|
372
386
|
type: string;
|
|
387
|
+
id: string;
|
|
373
388
|
label: string;
|
|
374
389
|
}[];
|
|
375
390
|
};
|
|
376
391
|
table: {
|
|
377
392
|
columns: {
|
|
393
|
+
type: string;
|
|
394
|
+
id: string;
|
|
378
395
|
label: string;
|
|
379
|
-
display: {
|
|
380
|
-
type: "foreign";
|
|
381
|
-
localRelationRef: string;
|
|
382
|
-
labelExpression: string;
|
|
383
|
-
valueExpression: string;
|
|
384
|
-
} | {
|
|
385
|
-
type: "text";
|
|
386
|
-
modelFieldRef: string;
|
|
387
|
-
};
|
|
388
396
|
}[];
|
|
389
397
|
};
|
|
390
398
|
includeIdField?: boolean | undefined;
|
|
@@ -395,6 +403,7 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
395
403
|
modelRef: string;
|
|
396
404
|
form: {
|
|
397
405
|
fields: z.objectInputType<{
|
|
406
|
+
id: z.ZodDefault<z.ZodString>;
|
|
398
407
|
type: z.ZodString;
|
|
399
408
|
label: z.ZodString;
|
|
400
409
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -407,23 +416,17 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
407
416
|
modelRef: string;
|
|
408
417
|
form: {
|
|
409
418
|
fields: z.objectInputType<{
|
|
419
|
+
id: z.ZodDefault<z.ZodString>;
|
|
410
420
|
type: z.ZodString;
|
|
411
421
|
label: z.ZodString;
|
|
412
422
|
}, z.ZodTypeAny, "passthrough">[];
|
|
413
423
|
};
|
|
414
424
|
table: {
|
|
415
|
-
columns: {
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
labelExpression: string;
|
|
421
|
-
valueExpression: string;
|
|
422
|
-
} | {
|
|
423
|
-
type: "text";
|
|
424
|
-
modelFieldRef: string;
|
|
425
|
-
};
|
|
426
|
-
}[];
|
|
425
|
+
columns: z.objectInputType<{
|
|
426
|
+
id: z.ZodDefault<z.ZodString>;
|
|
427
|
+
type: z.ZodString;
|
|
428
|
+
label: z.ZodString;
|
|
429
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
427
430
|
};
|
|
428
431
|
includeIdField?: boolean | undefined;
|
|
429
432
|
}>, "many">>;
|
|
@@ -433,23 +436,23 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
433
436
|
form: {
|
|
434
437
|
fields: {
|
|
435
438
|
type: string;
|
|
439
|
+
id: string;
|
|
436
440
|
label: string;
|
|
437
441
|
}[];
|
|
438
442
|
};
|
|
439
443
|
table: {
|
|
440
444
|
columns: {
|
|
445
|
+
type: string;
|
|
446
|
+
id: string;
|
|
441
447
|
label: string;
|
|
442
|
-
display: {
|
|
443
|
-
type: "foreign";
|
|
444
|
-
localRelationRef: string;
|
|
445
|
-
labelExpression: string;
|
|
446
|
-
valueExpression: string;
|
|
447
|
-
} | {
|
|
448
|
-
type: "text";
|
|
449
|
-
modelFieldRef: string;
|
|
450
|
-
};
|
|
451
448
|
}[];
|
|
449
|
+
actions?: {
|
|
450
|
+
type: string;
|
|
451
|
+
id: string;
|
|
452
|
+
position: "inline" | "dropdown";
|
|
453
|
+
}[] | undefined;
|
|
452
454
|
};
|
|
455
|
+
nameFieldRef: string;
|
|
453
456
|
disableCreate?: boolean | undefined;
|
|
454
457
|
embeddedForms?: ({
|
|
455
458
|
type: "object";
|
|
@@ -459,6 +462,7 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
459
462
|
form: {
|
|
460
463
|
fields: {
|
|
461
464
|
type: string;
|
|
465
|
+
id: string;
|
|
462
466
|
label: string;
|
|
463
467
|
}[];
|
|
464
468
|
};
|
|
@@ -471,21 +475,15 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
471
475
|
form: {
|
|
472
476
|
fields: {
|
|
473
477
|
type: string;
|
|
478
|
+
id: string;
|
|
474
479
|
label: string;
|
|
475
480
|
}[];
|
|
476
481
|
};
|
|
477
482
|
table: {
|
|
478
483
|
columns: {
|
|
484
|
+
type: string;
|
|
485
|
+
id: string;
|
|
479
486
|
label: string;
|
|
480
|
-
display: {
|
|
481
|
-
type: "foreign";
|
|
482
|
-
localRelationRef: string;
|
|
483
|
-
labelExpression: string;
|
|
484
|
-
valueExpression: string;
|
|
485
|
-
} | {
|
|
486
|
-
type: "text";
|
|
487
|
-
modelFieldRef: string;
|
|
488
|
-
};
|
|
489
487
|
}[];
|
|
490
488
|
};
|
|
491
489
|
includeIdField?: boolean | undefined;
|
|
@@ -495,24 +493,24 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
495
493
|
modelRef: string;
|
|
496
494
|
form: {
|
|
497
495
|
fields: z.objectInputType<{
|
|
496
|
+
id: z.ZodDefault<z.ZodString>;
|
|
498
497
|
type: z.ZodString;
|
|
499
498
|
label: z.ZodString;
|
|
500
499
|
}, z.ZodTypeAny, "passthrough">[];
|
|
501
500
|
};
|
|
502
501
|
table: {
|
|
503
|
-
columns: {
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
};
|
|
514
|
-
}[];
|
|
502
|
+
columns: z.objectInputType<{
|
|
503
|
+
id: z.ZodDefault<z.ZodString>;
|
|
504
|
+
type: z.ZodString;
|
|
505
|
+
label: z.ZodString;
|
|
506
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
507
|
+
actions?: z.objectInputType<{
|
|
508
|
+
id: z.ZodDefault<z.ZodString>;
|
|
509
|
+
type: z.ZodString;
|
|
510
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
511
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
515
512
|
};
|
|
513
|
+
nameFieldRef: string;
|
|
516
514
|
disableCreate?: boolean | undefined;
|
|
517
515
|
embeddedForms?: ({
|
|
518
516
|
type: "object";
|
|
@@ -521,6 +519,7 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
521
519
|
modelRef: string;
|
|
522
520
|
form: {
|
|
523
521
|
fields: z.objectInputType<{
|
|
522
|
+
id: z.ZodDefault<z.ZodString>;
|
|
524
523
|
type: z.ZodString;
|
|
525
524
|
label: z.ZodString;
|
|
526
525
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -533,23 +532,17 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
533
532
|
modelRef: string;
|
|
534
533
|
form: {
|
|
535
534
|
fields: z.objectInputType<{
|
|
535
|
+
id: z.ZodDefault<z.ZodString>;
|
|
536
536
|
type: z.ZodString;
|
|
537
537
|
label: z.ZodString;
|
|
538
538
|
}, z.ZodTypeAny, "passthrough">[];
|
|
539
539
|
};
|
|
540
540
|
table: {
|
|
541
|
-
columns: {
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
labelExpression: string;
|
|
547
|
-
valueExpression: string;
|
|
548
|
-
} | {
|
|
549
|
-
type: "text";
|
|
550
|
-
modelFieldRef: string;
|
|
551
|
-
};
|
|
552
|
-
}[];
|
|
541
|
+
columns: z.objectInputType<{
|
|
542
|
+
id: z.ZodDefault<z.ZodString>;
|
|
543
|
+
type: z.ZodString;
|
|
544
|
+
label: z.ZodString;
|
|
545
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
553
546
|
};
|
|
554
547
|
includeIdField?: boolean | undefined;
|
|
555
548
|
})[] | undefined;
|
|
@@ -565,23 +558,23 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
565
558
|
form: {
|
|
566
559
|
fields: {
|
|
567
560
|
type: string;
|
|
561
|
+
id: string;
|
|
568
562
|
label: string;
|
|
569
563
|
}[];
|
|
570
564
|
};
|
|
571
565
|
table: {
|
|
572
566
|
columns: {
|
|
567
|
+
type: string;
|
|
568
|
+
id: string;
|
|
573
569
|
label: string;
|
|
574
|
-
display: {
|
|
575
|
-
type: "foreign";
|
|
576
|
-
localRelationRef: string;
|
|
577
|
-
labelExpression: string;
|
|
578
|
-
valueExpression: string;
|
|
579
|
-
} | {
|
|
580
|
-
type: "text";
|
|
581
|
-
modelFieldRef: string;
|
|
582
|
-
};
|
|
583
570
|
}[];
|
|
571
|
+
actions?: {
|
|
572
|
+
type: string;
|
|
573
|
+
id: string;
|
|
574
|
+
position: "inline" | "dropdown";
|
|
575
|
+
}[] | undefined;
|
|
584
576
|
};
|
|
577
|
+
nameFieldRef: string;
|
|
585
578
|
disableCreate?: boolean | undefined;
|
|
586
579
|
embeddedForms?: ({
|
|
587
580
|
type: "object";
|
|
@@ -591,6 +584,7 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
591
584
|
form: {
|
|
592
585
|
fields: {
|
|
593
586
|
type: string;
|
|
587
|
+
id: string;
|
|
594
588
|
label: string;
|
|
595
589
|
}[];
|
|
596
590
|
};
|
|
@@ -603,21 +597,15 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
603
597
|
form: {
|
|
604
598
|
fields: {
|
|
605
599
|
type: string;
|
|
600
|
+
id: string;
|
|
606
601
|
label: string;
|
|
607
602
|
}[];
|
|
608
603
|
};
|
|
609
604
|
table: {
|
|
610
605
|
columns: {
|
|
606
|
+
type: string;
|
|
607
|
+
id: string;
|
|
611
608
|
label: string;
|
|
612
|
-
display: {
|
|
613
|
-
type: "foreign";
|
|
614
|
-
localRelationRef: string;
|
|
615
|
-
labelExpression: string;
|
|
616
|
-
valueExpression: string;
|
|
617
|
-
} | {
|
|
618
|
-
type: "text";
|
|
619
|
-
modelFieldRef: string;
|
|
620
|
-
};
|
|
621
609
|
}[];
|
|
622
610
|
};
|
|
623
611
|
includeIdField?: boolean | undefined;
|
|
@@ -633,24 +621,24 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
633
621
|
modelRef: string;
|
|
634
622
|
form: {
|
|
635
623
|
fields: z.objectInputType<{
|
|
624
|
+
id: z.ZodDefault<z.ZodString>;
|
|
636
625
|
type: z.ZodString;
|
|
637
626
|
label: z.ZodString;
|
|
638
627
|
}, z.ZodTypeAny, "passthrough">[];
|
|
639
628
|
};
|
|
640
629
|
table: {
|
|
641
|
-
columns: {
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
};
|
|
652
|
-
}[];
|
|
630
|
+
columns: z.objectInputType<{
|
|
631
|
+
id: z.ZodDefault<z.ZodString>;
|
|
632
|
+
type: z.ZodString;
|
|
633
|
+
label: z.ZodString;
|
|
634
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
635
|
+
actions?: z.objectInputType<{
|
|
636
|
+
id: z.ZodDefault<z.ZodString>;
|
|
637
|
+
type: z.ZodString;
|
|
638
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
639
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
653
640
|
};
|
|
641
|
+
nameFieldRef: string;
|
|
654
642
|
disableCreate?: boolean | undefined;
|
|
655
643
|
embeddedForms?: ({
|
|
656
644
|
type: "object";
|
|
@@ -659,6 +647,7 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
659
647
|
modelRef: string;
|
|
660
648
|
form: {
|
|
661
649
|
fields: z.objectInputType<{
|
|
650
|
+
id: z.ZodDefault<z.ZodString>;
|
|
662
651
|
type: z.ZodString;
|
|
663
652
|
label: z.ZodString;
|
|
664
653
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -671,23 +660,17 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
671
660
|
modelRef: string;
|
|
672
661
|
form: {
|
|
673
662
|
fields: z.objectInputType<{
|
|
663
|
+
id: z.ZodDefault<z.ZodString>;
|
|
674
664
|
type: z.ZodString;
|
|
675
665
|
label: z.ZodString;
|
|
676
666
|
}, z.ZodTypeAny, "passthrough">[];
|
|
677
667
|
};
|
|
678
668
|
table: {
|
|
679
|
-
columns: {
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
labelExpression: string;
|
|
685
|
-
valueExpression: string;
|
|
686
|
-
} | {
|
|
687
|
-
type: "text";
|
|
688
|
-
modelFieldRef: string;
|
|
689
|
-
};
|
|
690
|
-
}[];
|
|
669
|
+
columns: z.objectInputType<{
|
|
670
|
+
id: z.ZodDefault<z.ZodString>;
|
|
671
|
+
type: z.ZodString;
|
|
672
|
+
label: z.ZodString;
|
|
673
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
691
674
|
};
|
|
692
675
|
includeIdField?: boolean | undefined;
|
|
693
676
|
})[] | undefined;
|
|
@@ -703,23 +686,23 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
703
686
|
form: {
|
|
704
687
|
fields: {
|
|
705
688
|
type: string;
|
|
689
|
+
id: string;
|
|
706
690
|
label: string;
|
|
707
691
|
}[];
|
|
708
692
|
};
|
|
709
693
|
table: {
|
|
710
694
|
columns: {
|
|
695
|
+
type: string;
|
|
696
|
+
id: string;
|
|
711
697
|
label: string;
|
|
712
|
-
display: {
|
|
713
|
-
type: "foreign";
|
|
714
|
-
localRelationRef: string;
|
|
715
|
-
labelExpression: string;
|
|
716
|
-
valueExpression: string;
|
|
717
|
-
} | {
|
|
718
|
-
type: "text";
|
|
719
|
-
modelFieldRef: string;
|
|
720
|
-
};
|
|
721
698
|
}[];
|
|
699
|
+
actions?: {
|
|
700
|
+
type: string;
|
|
701
|
+
id: string;
|
|
702
|
+
position: "inline" | "dropdown";
|
|
703
|
+
}[] | undefined;
|
|
722
704
|
};
|
|
705
|
+
nameFieldRef: string;
|
|
723
706
|
disableCreate?: boolean | undefined;
|
|
724
707
|
embeddedForms?: ({
|
|
725
708
|
type: "object";
|
|
@@ -729,6 +712,7 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
729
712
|
form: {
|
|
730
713
|
fields: {
|
|
731
714
|
type: string;
|
|
715
|
+
id: string;
|
|
732
716
|
label: string;
|
|
733
717
|
}[];
|
|
734
718
|
};
|
|
@@ -741,21 +725,15 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
741
725
|
form: {
|
|
742
726
|
fields: {
|
|
743
727
|
type: string;
|
|
728
|
+
id: string;
|
|
744
729
|
label: string;
|
|
745
730
|
}[];
|
|
746
731
|
};
|
|
747
732
|
table: {
|
|
748
733
|
columns: {
|
|
734
|
+
type: string;
|
|
735
|
+
id: string;
|
|
749
736
|
label: string;
|
|
750
|
-
display: {
|
|
751
|
-
type: "foreign";
|
|
752
|
-
localRelationRef: string;
|
|
753
|
-
labelExpression: string;
|
|
754
|
-
valueExpression: string;
|
|
755
|
-
} | {
|
|
756
|
-
type: "text";
|
|
757
|
-
modelFieldRef: string;
|
|
758
|
-
};
|
|
759
737
|
}[];
|
|
760
738
|
};
|
|
761
739
|
includeIdField?: boolean | undefined;
|
|
@@ -771,24 +749,24 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
771
749
|
modelRef: string;
|
|
772
750
|
form: {
|
|
773
751
|
fields: z.objectInputType<{
|
|
752
|
+
id: z.ZodDefault<z.ZodString>;
|
|
774
753
|
type: z.ZodString;
|
|
775
754
|
label: z.ZodString;
|
|
776
755
|
}, z.ZodTypeAny, "passthrough">[];
|
|
777
756
|
};
|
|
778
757
|
table: {
|
|
779
|
-
columns: {
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
};
|
|
790
|
-
}[];
|
|
758
|
+
columns: z.objectInputType<{
|
|
759
|
+
id: z.ZodDefault<z.ZodString>;
|
|
760
|
+
type: z.ZodString;
|
|
761
|
+
label: z.ZodString;
|
|
762
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
763
|
+
actions?: z.objectInputType<{
|
|
764
|
+
id: z.ZodDefault<z.ZodString>;
|
|
765
|
+
type: z.ZodString;
|
|
766
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
767
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
791
768
|
};
|
|
769
|
+
nameFieldRef: string;
|
|
792
770
|
disableCreate?: boolean | undefined;
|
|
793
771
|
embeddedForms?: ({
|
|
794
772
|
type: "object";
|
|
@@ -797,6 +775,7 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
797
775
|
modelRef: string;
|
|
798
776
|
form: {
|
|
799
777
|
fields: z.objectInputType<{
|
|
778
|
+
id: z.ZodDefault<z.ZodString>;
|
|
800
779
|
type: z.ZodString;
|
|
801
780
|
label: z.ZodString;
|
|
802
781
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -809,23 +788,17 @@ export declare const createWebAdminSectionSchema: (context: import("#src/schema/
|
|
|
809
788
|
modelRef: string;
|
|
810
789
|
form: {
|
|
811
790
|
fields: z.objectInputType<{
|
|
791
|
+
id: z.ZodDefault<z.ZodString>;
|
|
812
792
|
type: z.ZodString;
|
|
813
793
|
label: z.ZodString;
|
|
814
794
|
}, z.ZodTypeAny, "passthrough">[];
|
|
815
795
|
};
|
|
816
796
|
table: {
|
|
817
|
-
columns: {
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
labelExpression: string;
|
|
823
|
-
valueExpression: string;
|
|
824
|
-
} | {
|
|
825
|
-
type: "text";
|
|
826
|
-
modelFieldRef: string;
|
|
827
|
-
};
|
|
828
|
-
}[];
|
|
797
|
+
columns: z.objectInputType<{
|
|
798
|
+
id: z.ZodDefault<z.ZodString>;
|
|
799
|
+
type: z.ZodString;
|
|
800
|
+
label: z.ZodString;
|
|
801
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
829
802
|
};
|
|
830
803
|
includeIdField?: boolean | undefined;
|
|
831
804
|
})[] | undefined;
|
|
@@ -857,109 +830,137 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
857
830
|
}>, z.ZodObject<{
|
|
858
831
|
type: z.ZodLiteral<"crud">;
|
|
859
832
|
modelRef: z.ZodEffects<z.ZodString, string, string>;
|
|
833
|
+
nameFieldRef: z.ZodEffects<z.ZodString, string, string>;
|
|
860
834
|
disableCreate: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, boolean | undefined>;
|
|
861
835
|
table: z.ZodObject<{
|
|
862
|
-
columns: z.ZodArray<z.ZodObject<{
|
|
836
|
+
columns: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
837
|
+
id: z.ZodDefault<z.ZodString>;
|
|
838
|
+
type: z.ZodString;
|
|
863
839
|
label: z.ZodString;
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
}, {
|
|
884
|
-
type: "foreign";
|
|
885
|
-
localRelationRef: string;
|
|
886
|
-
labelExpression: string;
|
|
887
|
-
valueExpression: string;
|
|
888
|
-
}>]>;
|
|
889
|
-
}, "strip", z.ZodTypeAny, {
|
|
890
|
-
label: string;
|
|
891
|
-
display: {
|
|
892
|
-
type: "foreign";
|
|
893
|
-
localRelationRef: string;
|
|
894
|
-
labelExpression: string;
|
|
895
|
-
valueExpression: string;
|
|
896
|
-
} | {
|
|
897
|
-
type: "text";
|
|
898
|
-
modelFieldRef: string;
|
|
899
|
-
};
|
|
900
|
-
}, {
|
|
840
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
841
|
+
id: z.ZodDefault<z.ZodString>;
|
|
842
|
+
type: z.ZodString;
|
|
843
|
+
label: z.ZodString;
|
|
844
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
845
|
+
id: z.ZodDefault<z.ZodString>;
|
|
846
|
+
type: z.ZodString;
|
|
847
|
+
label: z.ZodString;
|
|
848
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
849
|
+
id: z.ZodDefault<z.ZodString>;
|
|
850
|
+
type: z.ZodString;
|
|
851
|
+
label: z.ZodString;
|
|
852
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
853
|
+
id: z.ZodDefault<z.ZodString>;
|
|
854
|
+
type: z.ZodString;
|
|
855
|
+
label: z.ZodString;
|
|
856
|
+
}, z.ZodTypeAny, "passthrough">>, {
|
|
857
|
+
type: string;
|
|
858
|
+
id: string;
|
|
901
859
|
label: string;
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
}
|
|
860
|
+
}, z.objectInputType<{
|
|
861
|
+
id: z.ZodDefault<z.ZodString>;
|
|
862
|
+
type: z.ZodString;
|
|
863
|
+
label: z.ZodString;
|
|
864
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
865
|
+
actions: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
866
|
+
id: z.ZodDefault<z.ZodString>;
|
|
867
|
+
type: z.ZodString;
|
|
868
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
869
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
870
|
+
id: z.ZodDefault<z.ZodString>;
|
|
871
|
+
type: z.ZodString;
|
|
872
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
873
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
874
|
+
id: z.ZodDefault<z.ZodString>;
|
|
875
|
+
type: z.ZodString;
|
|
876
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
877
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
878
|
+
id: z.ZodDefault<z.ZodString>;
|
|
879
|
+
type: z.ZodString;
|
|
880
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
881
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
882
|
+
id: z.ZodDefault<z.ZodString>;
|
|
883
|
+
type: z.ZodString;
|
|
884
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
885
|
+
}, z.ZodTypeAny, "passthrough">>, {
|
|
886
|
+
type: string;
|
|
887
|
+
id: string;
|
|
888
|
+
position: "inline" | "dropdown";
|
|
889
|
+
}, z.objectInputType<{
|
|
890
|
+
id: z.ZodDefault<z.ZodString>;
|
|
891
|
+
type: z.ZodString;
|
|
892
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
893
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>, {
|
|
894
|
+
type: string;
|
|
895
|
+
id: string;
|
|
896
|
+
position: "inline" | "dropdown";
|
|
897
|
+
}[] | undefined, z.objectInputType<{
|
|
898
|
+
id: z.ZodDefault<z.ZodString>;
|
|
899
|
+
type: z.ZodString;
|
|
900
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
901
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined>;
|
|
912
902
|
}, "strip", z.ZodTypeAny, {
|
|
913
903
|
columns: {
|
|
904
|
+
type: string;
|
|
905
|
+
id: string;
|
|
914
906
|
label: string;
|
|
915
|
-
display: {
|
|
916
|
-
type: "foreign";
|
|
917
|
-
localRelationRef: string;
|
|
918
|
-
labelExpression: string;
|
|
919
|
-
valueExpression: string;
|
|
920
|
-
} | {
|
|
921
|
-
type: "text";
|
|
922
|
-
modelFieldRef: string;
|
|
923
|
-
};
|
|
924
907
|
}[];
|
|
908
|
+
actions?: {
|
|
909
|
+
type: string;
|
|
910
|
+
id: string;
|
|
911
|
+
position: "inline" | "dropdown";
|
|
912
|
+
}[] | undefined;
|
|
925
913
|
}, {
|
|
926
|
-
columns: {
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
};
|
|
937
|
-
}[];
|
|
914
|
+
columns: z.objectInputType<{
|
|
915
|
+
id: z.ZodDefault<z.ZodString>;
|
|
916
|
+
type: z.ZodString;
|
|
917
|
+
label: z.ZodString;
|
|
918
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
919
|
+
actions?: z.objectInputType<{
|
|
920
|
+
id: z.ZodDefault<z.ZodString>;
|
|
921
|
+
type: z.ZodString;
|
|
922
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
923
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
938
924
|
}>;
|
|
939
925
|
form: z.ZodObject<{
|
|
940
|
-
fields: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
926
|
+
fields: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
927
|
+
id: z.ZodDefault<z.ZodString>;
|
|
941
928
|
type: z.ZodString;
|
|
942
929
|
label: z.ZodString;
|
|
943
930
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
931
|
+
id: z.ZodDefault<z.ZodString>;
|
|
944
932
|
type: z.ZodString;
|
|
945
933
|
label: z.ZodString;
|
|
946
934
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
935
|
+
id: z.ZodDefault<z.ZodString>;
|
|
936
|
+
type: z.ZodString;
|
|
937
|
+
label: z.ZodString;
|
|
938
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
939
|
+
id: z.ZodDefault<z.ZodString>;
|
|
940
|
+
type: z.ZodString;
|
|
941
|
+
label: z.ZodString;
|
|
942
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
943
|
+
id: z.ZodDefault<z.ZodString>;
|
|
947
944
|
type: z.ZodString;
|
|
948
945
|
label: z.ZodString;
|
|
949
946
|
}, z.ZodTypeAny, "passthrough">>, {
|
|
950
947
|
type: string;
|
|
948
|
+
id: string;
|
|
951
949
|
label: string;
|
|
952
950
|
}, z.objectInputType<{
|
|
951
|
+
id: z.ZodDefault<z.ZodString>;
|
|
953
952
|
type: z.ZodString;
|
|
954
953
|
label: z.ZodString;
|
|
955
954
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
956
955
|
}, "strip", z.ZodTypeAny, {
|
|
957
956
|
fields: {
|
|
958
957
|
type: string;
|
|
958
|
+
id: string;
|
|
959
959
|
label: string;
|
|
960
960
|
}[];
|
|
961
961
|
}, {
|
|
962
962
|
fields: z.objectInputType<{
|
|
963
|
+
id: z.ZodDefault<z.ZodString>;
|
|
963
964
|
type: z.ZodString;
|
|
964
965
|
label: z.ZodString;
|
|
965
966
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -971,29 +972,44 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
971
972
|
includeIdField: z.ZodOptional<z.ZodBoolean>;
|
|
972
973
|
type: z.ZodLiteral<"object">;
|
|
973
974
|
form: z.ZodObject<{
|
|
974
|
-
fields: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
975
|
+
fields: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
976
|
+
id: z.ZodDefault<z.ZodString>;
|
|
975
977
|
type: z.ZodString;
|
|
976
978
|
label: z.ZodString;
|
|
977
979
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
980
|
+
id: z.ZodDefault<z.ZodString>;
|
|
978
981
|
type: z.ZodString;
|
|
979
982
|
label: z.ZodString;
|
|
980
983
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
984
|
+
id: z.ZodDefault<z.ZodString>;
|
|
985
|
+
type: z.ZodString;
|
|
986
|
+
label: z.ZodString;
|
|
987
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
988
|
+
id: z.ZodDefault<z.ZodString>;
|
|
989
|
+
type: z.ZodString;
|
|
990
|
+
label: z.ZodString;
|
|
991
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
992
|
+
id: z.ZodDefault<z.ZodString>;
|
|
981
993
|
type: z.ZodString;
|
|
982
994
|
label: z.ZodString;
|
|
983
995
|
}, z.ZodTypeAny, "passthrough">>, {
|
|
984
996
|
type: string;
|
|
997
|
+
id: string;
|
|
985
998
|
label: string;
|
|
986
999
|
}, z.objectInputType<{
|
|
1000
|
+
id: z.ZodDefault<z.ZodString>;
|
|
987
1001
|
type: z.ZodString;
|
|
988
1002
|
label: z.ZodString;
|
|
989
1003
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
990
1004
|
}, "strip", z.ZodTypeAny, {
|
|
991
1005
|
fields: {
|
|
992
1006
|
type: string;
|
|
1007
|
+
id: string;
|
|
993
1008
|
label: string;
|
|
994
1009
|
}[];
|
|
995
1010
|
}, {
|
|
996
1011
|
fields: z.objectInputType<{
|
|
1012
|
+
id: z.ZodDefault<z.ZodString>;
|
|
997
1013
|
type: z.ZodString;
|
|
998
1014
|
label: z.ZodString;
|
|
999
1015
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -1006,6 +1022,7 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1006
1022
|
form: {
|
|
1007
1023
|
fields: {
|
|
1008
1024
|
type: string;
|
|
1025
|
+
id: string;
|
|
1009
1026
|
label: string;
|
|
1010
1027
|
}[];
|
|
1011
1028
|
};
|
|
@@ -1017,6 +1034,7 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1017
1034
|
modelRef: string;
|
|
1018
1035
|
form: {
|
|
1019
1036
|
fields: z.objectInputType<{
|
|
1037
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1020
1038
|
type: z.ZodString;
|
|
1021
1039
|
label: z.ZodString;
|
|
1022
1040
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -1029,107 +1047,87 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1029
1047
|
includeIdField: z.ZodOptional<z.ZodBoolean>;
|
|
1030
1048
|
type: z.ZodLiteral<"list">;
|
|
1031
1049
|
table: z.ZodObject<{
|
|
1032
|
-
columns: z.ZodArray<z.ZodObject<{
|
|
1050
|
+
columns: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1051
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1052
|
+
type: z.ZodString;
|
|
1033
1053
|
label: z.ZodString;
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
}, {
|
|
1054
|
-
type: "foreign";
|
|
1055
|
-
localRelationRef: string;
|
|
1056
|
-
labelExpression: string;
|
|
1057
|
-
valueExpression: string;
|
|
1058
|
-
}>]>;
|
|
1059
|
-
}, "strip", z.ZodTypeAny, {
|
|
1060
|
-
label: string;
|
|
1061
|
-
display: {
|
|
1062
|
-
type: "foreign";
|
|
1063
|
-
localRelationRef: string;
|
|
1064
|
-
labelExpression: string;
|
|
1065
|
-
valueExpression: string;
|
|
1066
|
-
} | {
|
|
1067
|
-
type: "text";
|
|
1068
|
-
modelFieldRef: string;
|
|
1069
|
-
};
|
|
1070
|
-
}, {
|
|
1054
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1055
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1056
|
+
type: z.ZodString;
|
|
1057
|
+
label: z.ZodString;
|
|
1058
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1059
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1060
|
+
type: z.ZodString;
|
|
1061
|
+
label: z.ZodString;
|
|
1062
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
1063
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1064
|
+
type: z.ZodString;
|
|
1065
|
+
label: z.ZodString;
|
|
1066
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1067
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1068
|
+
type: z.ZodString;
|
|
1069
|
+
label: z.ZodString;
|
|
1070
|
+
}, z.ZodTypeAny, "passthrough">>, {
|
|
1071
|
+
type: string;
|
|
1072
|
+
id: string;
|
|
1071
1073
|
label: string;
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
} | {
|
|
1078
|
-
type: "text";
|
|
1079
|
-
modelFieldRef: string;
|
|
1080
|
-
};
|
|
1081
|
-
}>, "many">;
|
|
1074
|
+
}, z.objectInputType<{
|
|
1075
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1076
|
+
type: z.ZodString;
|
|
1077
|
+
label: z.ZodString;
|
|
1078
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
1082
1079
|
}, "strip", z.ZodTypeAny, {
|
|
1083
1080
|
columns: {
|
|
1081
|
+
type: string;
|
|
1082
|
+
id: string;
|
|
1084
1083
|
label: string;
|
|
1085
|
-
display: {
|
|
1086
|
-
type: "foreign";
|
|
1087
|
-
localRelationRef: string;
|
|
1088
|
-
labelExpression: string;
|
|
1089
|
-
valueExpression: string;
|
|
1090
|
-
} | {
|
|
1091
|
-
type: "text";
|
|
1092
|
-
modelFieldRef: string;
|
|
1093
|
-
};
|
|
1094
1084
|
}[];
|
|
1095
1085
|
}, {
|
|
1096
|
-
columns: {
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
labelExpression: string;
|
|
1102
|
-
valueExpression: string;
|
|
1103
|
-
} | {
|
|
1104
|
-
type: "text";
|
|
1105
|
-
modelFieldRef: string;
|
|
1106
|
-
};
|
|
1107
|
-
}[];
|
|
1086
|
+
columns: z.objectInputType<{
|
|
1087
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1088
|
+
type: z.ZodString;
|
|
1089
|
+
label: z.ZodString;
|
|
1090
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1108
1091
|
}>;
|
|
1109
1092
|
form: z.ZodObject<{
|
|
1110
|
-
fields: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1093
|
+
fields: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1094
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1111
1095
|
type: z.ZodString;
|
|
1112
1096
|
label: z.ZodString;
|
|
1113
1097
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1098
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1099
|
+
type: z.ZodString;
|
|
1100
|
+
label: z.ZodString;
|
|
1101
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1102
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1103
|
+
type: z.ZodString;
|
|
1104
|
+
label: z.ZodString;
|
|
1105
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
1106
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1114
1107
|
type: z.ZodString;
|
|
1115
1108
|
label: z.ZodString;
|
|
1116
1109
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1110
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1117
1111
|
type: z.ZodString;
|
|
1118
1112
|
label: z.ZodString;
|
|
1119
1113
|
}, z.ZodTypeAny, "passthrough">>, {
|
|
1120
1114
|
type: string;
|
|
1115
|
+
id: string;
|
|
1121
1116
|
label: string;
|
|
1122
1117
|
}, z.objectInputType<{
|
|
1118
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1123
1119
|
type: z.ZodString;
|
|
1124
1120
|
label: z.ZodString;
|
|
1125
1121
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
1126
1122
|
}, "strip", z.ZodTypeAny, {
|
|
1127
1123
|
fields: {
|
|
1128
1124
|
type: string;
|
|
1125
|
+
id: string;
|
|
1129
1126
|
label: string;
|
|
1130
1127
|
}[];
|
|
1131
1128
|
}, {
|
|
1132
1129
|
fields: z.objectInputType<{
|
|
1130
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1133
1131
|
type: z.ZodString;
|
|
1134
1132
|
label: z.ZodString;
|
|
1135
1133
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -1142,21 +1140,15 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1142
1140
|
form: {
|
|
1143
1141
|
fields: {
|
|
1144
1142
|
type: string;
|
|
1143
|
+
id: string;
|
|
1145
1144
|
label: string;
|
|
1146
1145
|
}[];
|
|
1147
1146
|
};
|
|
1148
1147
|
table: {
|
|
1149
1148
|
columns: {
|
|
1149
|
+
type: string;
|
|
1150
|
+
id: string;
|
|
1150
1151
|
label: string;
|
|
1151
|
-
display: {
|
|
1152
|
-
type: "foreign";
|
|
1153
|
-
localRelationRef: string;
|
|
1154
|
-
labelExpression: string;
|
|
1155
|
-
valueExpression: string;
|
|
1156
|
-
} | {
|
|
1157
|
-
type: "text";
|
|
1158
|
-
modelFieldRef: string;
|
|
1159
|
-
};
|
|
1160
1152
|
}[];
|
|
1161
1153
|
};
|
|
1162
1154
|
includeIdField?: boolean | undefined;
|
|
@@ -1167,23 +1159,17 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1167
1159
|
modelRef: string;
|
|
1168
1160
|
form: {
|
|
1169
1161
|
fields: z.objectInputType<{
|
|
1162
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1170
1163
|
type: z.ZodString;
|
|
1171
1164
|
label: z.ZodString;
|
|
1172
1165
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1173
1166
|
};
|
|
1174
1167
|
table: {
|
|
1175
|
-
columns: {
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
labelExpression: string;
|
|
1181
|
-
valueExpression: string;
|
|
1182
|
-
} | {
|
|
1183
|
-
type: "text";
|
|
1184
|
-
modelFieldRef: string;
|
|
1185
|
-
};
|
|
1186
|
-
}[];
|
|
1168
|
+
columns: z.objectInputType<{
|
|
1169
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1170
|
+
type: z.ZodString;
|
|
1171
|
+
label: z.ZodString;
|
|
1172
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1187
1173
|
};
|
|
1188
1174
|
includeIdField?: boolean | undefined;
|
|
1189
1175
|
}>]>, {
|
|
@@ -1194,6 +1180,7 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1194
1180
|
form: {
|
|
1195
1181
|
fields: {
|
|
1196
1182
|
type: string;
|
|
1183
|
+
id: string;
|
|
1197
1184
|
label: string;
|
|
1198
1185
|
}[];
|
|
1199
1186
|
};
|
|
@@ -1206,21 +1193,15 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1206
1193
|
form: {
|
|
1207
1194
|
fields: {
|
|
1208
1195
|
type: string;
|
|
1196
|
+
id: string;
|
|
1209
1197
|
label: string;
|
|
1210
1198
|
}[];
|
|
1211
1199
|
};
|
|
1212
1200
|
table: {
|
|
1213
1201
|
columns: {
|
|
1202
|
+
type: string;
|
|
1203
|
+
id: string;
|
|
1214
1204
|
label: string;
|
|
1215
|
-
display: {
|
|
1216
|
-
type: "foreign";
|
|
1217
|
-
localRelationRef: string;
|
|
1218
|
-
labelExpression: string;
|
|
1219
|
-
valueExpression: string;
|
|
1220
|
-
} | {
|
|
1221
|
-
type: "text";
|
|
1222
|
-
modelFieldRef: string;
|
|
1223
|
-
};
|
|
1224
1205
|
}[];
|
|
1225
1206
|
};
|
|
1226
1207
|
includeIdField?: boolean | undefined;
|
|
@@ -1231,6 +1212,7 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1231
1212
|
modelRef: string;
|
|
1232
1213
|
form: {
|
|
1233
1214
|
fields: z.objectInputType<{
|
|
1215
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1234
1216
|
type: z.ZodString;
|
|
1235
1217
|
label: z.ZodString;
|
|
1236
1218
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -1243,23 +1225,17 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1243
1225
|
modelRef: string;
|
|
1244
1226
|
form: {
|
|
1245
1227
|
fields: z.objectInputType<{
|
|
1228
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1246
1229
|
type: z.ZodString;
|
|
1247
1230
|
label: z.ZodString;
|
|
1248
1231
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1249
1232
|
};
|
|
1250
1233
|
table: {
|
|
1251
|
-
columns: {
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
labelExpression: string;
|
|
1257
|
-
valueExpression: string;
|
|
1258
|
-
} | {
|
|
1259
|
-
type: "text";
|
|
1260
|
-
modelFieldRef: string;
|
|
1261
|
-
};
|
|
1262
|
-
}[];
|
|
1234
|
+
columns: z.objectInputType<{
|
|
1235
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1236
|
+
type: z.ZodString;
|
|
1237
|
+
label: z.ZodString;
|
|
1238
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1263
1239
|
};
|
|
1264
1240
|
includeIdField?: boolean | undefined;
|
|
1265
1241
|
}>, "many">>;
|
|
@@ -1269,23 +1245,23 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1269
1245
|
form: {
|
|
1270
1246
|
fields: {
|
|
1271
1247
|
type: string;
|
|
1248
|
+
id: string;
|
|
1272
1249
|
label: string;
|
|
1273
1250
|
}[];
|
|
1274
1251
|
};
|
|
1275
1252
|
table: {
|
|
1276
1253
|
columns: {
|
|
1254
|
+
type: string;
|
|
1255
|
+
id: string;
|
|
1277
1256
|
label: string;
|
|
1278
|
-
display: {
|
|
1279
|
-
type: "foreign";
|
|
1280
|
-
localRelationRef: string;
|
|
1281
|
-
labelExpression: string;
|
|
1282
|
-
valueExpression: string;
|
|
1283
|
-
} | {
|
|
1284
|
-
type: "text";
|
|
1285
|
-
modelFieldRef: string;
|
|
1286
|
-
};
|
|
1287
1257
|
}[];
|
|
1258
|
+
actions?: {
|
|
1259
|
+
type: string;
|
|
1260
|
+
id: string;
|
|
1261
|
+
position: "inline" | "dropdown";
|
|
1262
|
+
}[] | undefined;
|
|
1288
1263
|
};
|
|
1264
|
+
nameFieldRef: string;
|
|
1289
1265
|
disableCreate?: boolean | undefined;
|
|
1290
1266
|
embeddedForms?: ({
|
|
1291
1267
|
type: "object";
|
|
@@ -1295,6 +1271,7 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1295
1271
|
form: {
|
|
1296
1272
|
fields: {
|
|
1297
1273
|
type: string;
|
|
1274
|
+
id: string;
|
|
1298
1275
|
label: string;
|
|
1299
1276
|
}[];
|
|
1300
1277
|
};
|
|
@@ -1307,21 +1284,15 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1307
1284
|
form: {
|
|
1308
1285
|
fields: {
|
|
1309
1286
|
type: string;
|
|
1287
|
+
id: string;
|
|
1310
1288
|
label: string;
|
|
1311
1289
|
}[];
|
|
1312
1290
|
};
|
|
1313
1291
|
table: {
|
|
1314
1292
|
columns: {
|
|
1293
|
+
type: string;
|
|
1294
|
+
id: string;
|
|
1315
1295
|
label: string;
|
|
1316
|
-
display: {
|
|
1317
|
-
type: "foreign";
|
|
1318
|
-
localRelationRef: string;
|
|
1319
|
-
labelExpression: string;
|
|
1320
|
-
valueExpression: string;
|
|
1321
|
-
} | {
|
|
1322
|
-
type: "text";
|
|
1323
|
-
modelFieldRef: string;
|
|
1324
|
-
};
|
|
1325
1296
|
}[];
|
|
1326
1297
|
};
|
|
1327
1298
|
includeIdField?: boolean | undefined;
|
|
@@ -1331,24 +1302,24 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1331
1302
|
modelRef: string;
|
|
1332
1303
|
form: {
|
|
1333
1304
|
fields: z.objectInputType<{
|
|
1305
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1334
1306
|
type: z.ZodString;
|
|
1335
1307
|
label: z.ZodString;
|
|
1336
1308
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1337
1309
|
};
|
|
1338
1310
|
table: {
|
|
1339
|
-
columns: {
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
};
|
|
1350
|
-
}[];
|
|
1311
|
+
columns: z.objectInputType<{
|
|
1312
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1313
|
+
type: z.ZodString;
|
|
1314
|
+
label: z.ZodString;
|
|
1315
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1316
|
+
actions?: z.objectInputType<{
|
|
1317
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1318
|
+
type: z.ZodString;
|
|
1319
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
1320
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1351
1321
|
};
|
|
1322
|
+
nameFieldRef: string;
|
|
1352
1323
|
disableCreate?: boolean | undefined;
|
|
1353
1324
|
embeddedForms?: ({
|
|
1354
1325
|
type: "object";
|
|
@@ -1357,6 +1328,7 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1357
1328
|
modelRef: string;
|
|
1358
1329
|
form: {
|
|
1359
1330
|
fields: z.objectInputType<{
|
|
1331
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1360
1332
|
type: z.ZodString;
|
|
1361
1333
|
label: z.ZodString;
|
|
1362
1334
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -1369,23 +1341,17 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1369
1341
|
modelRef: string;
|
|
1370
1342
|
form: {
|
|
1371
1343
|
fields: z.objectInputType<{
|
|
1344
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1372
1345
|
type: z.ZodString;
|
|
1373
1346
|
label: z.ZodString;
|
|
1374
1347
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1375
1348
|
};
|
|
1376
1349
|
table: {
|
|
1377
|
-
columns: {
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
labelExpression: string;
|
|
1383
|
-
valueExpression: string;
|
|
1384
|
-
} | {
|
|
1385
|
-
type: "text";
|
|
1386
|
-
modelFieldRef: string;
|
|
1387
|
-
};
|
|
1388
|
-
}[];
|
|
1350
|
+
columns: z.objectInputType<{
|
|
1351
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1352
|
+
type: z.ZodString;
|
|
1353
|
+
label: z.ZodString;
|
|
1354
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1389
1355
|
};
|
|
1390
1356
|
includeIdField?: boolean | undefined;
|
|
1391
1357
|
})[] | undefined;
|
|
@@ -1401,23 +1367,23 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1401
1367
|
form: {
|
|
1402
1368
|
fields: {
|
|
1403
1369
|
type: string;
|
|
1370
|
+
id: string;
|
|
1404
1371
|
label: string;
|
|
1405
1372
|
}[];
|
|
1406
1373
|
};
|
|
1407
1374
|
table: {
|
|
1408
1375
|
columns: {
|
|
1376
|
+
type: string;
|
|
1377
|
+
id: string;
|
|
1409
1378
|
label: string;
|
|
1410
|
-
display: {
|
|
1411
|
-
type: "foreign";
|
|
1412
|
-
localRelationRef: string;
|
|
1413
|
-
labelExpression: string;
|
|
1414
|
-
valueExpression: string;
|
|
1415
|
-
} | {
|
|
1416
|
-
type: "text";
|
|
1417
|
-
modelFieldRef: string;
|
|
1418
|
-
};
|
|
1419
1379
|
}[];
|
|
1380
|
+
actions?: {
|
|
1381
|
+
type: string;
|
|
1382
|
+
id: string;
|
|
1383
|
+
position: "inline" | "dropdown";
|
|
1384
|
+
}[] | undefined;
|
|
1420
1385
|
};
|
|
1386
|
+
nameFieldRef: string;
|
|
1421
1387
|
disableCreate?: boolean | undefined;
|
|
1422
1388
|
embeddedForms?: ({
|
|
1423
1389
|
type: "object";
|
|
@@ -1427,6 +1393,7 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1427
1393
|
form: {
|
|
1428
1394
|
fields: {
|
|
1429
1395
|
type: string;
|
|
1396
|
+
id: string;
|
|
1430
1397
|
label: string;
|
|
1431
1398
|
}[];
|
|
1432
1399
|
};
|
|
@@ -1439,21 +1406,15 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1439
1406
|
form: {
|
|
1440
1407
|
fields: {
|
|
1441
1408
|
type: string;
|
|
1409
|
+
id: string;
|
|
1442
1410
|
label: string;
|
|
1443
1411
|
}[];
|
|
1444
1412
|
};
|
|
1445
1413
|
table: {
|
|
1446
1414
|
columns: {
|
|
1415
|
+
type: string;
|
|
1416
|
+
id: string;
|
|
1447
1417
|
label: string;
|
|
1448
|
-
display: {
|
|
1449
|
-
type: "foreign";
|
|
1450
|
-
localRelationRef: string;
|
|
1451
|
-
labelExpression: string;
|
|
1452
|
-
valueExpression: string;
|
|
1453
|
-
} | {
|
|
1454
|
-
type: "text";
|
|
1455
|
-
modelFieldRef: string;
|
|
1456
|
-
};
|
|
1457
1418
|
}[];
|
|
1458
1419
|
};
|
|
1459
1420
|
includeIdField?: boolean | undefined;
|
|
@@ -1469,24 +1430,24 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1469
1430
|
modelRef: string;
|
|
1470
1431
|
form: {
|
|
1471
1432
|
fields: z.objectInputType<{
|
|
1433
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1472
1434
|
type: z.ZodString;
|
|
1473
1435
|
label: z.ZodString;
|
|
1474
1436
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1475
1437
|
};
|
|
1476
1438
|
table: {
|
|
1477
|
-
columns: {
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
};
|
|
1488
|
-
}[];
|
|
1439
|
+
columns: z.objectInputType<{
|
|
1440
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1441
|
+
type: z.ZodString;
|
|
1442
|
+
label: z.ZodString;
|
|
1443
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1444
|
+
actions?: z.objectInputType<{
|
|
1445
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1446
|
+
type: z.ZodString;
|
|
1447
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
1448
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1489
1449
|
};
|
|
1450
|
+
nameFieldRef: string;
|
|
1490
1451
|
disableCreate?: boolean | undefined;
|
|
1491
1452
|
embeddedForms?: ({
|
|
1492
1453
|
type: "object";
|
|
@@ -1495,6 +1456,7 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1495
1456
|
modelRef: string;
|
|
1496
1457
|
form: {
|
|
1497
1458
|
fields: z.objectInputType<{
|
|
1459
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1498
1460
|
type: z.ZodString;
|
|
1499
1461
|
label: z.ZodString;
|
|
1500
1462
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -1507,23 +1469,17 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1507
1469
|
modelRef: string;
|
|
1508
1470
|
form: {
|
|
1509
1471
|
fields: z.objectInputType<{
|
|
1472
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1510
1473
|
type: z.ZodString;
|
|
1511
1474
|
label: z.ZodString;
|
|
1512
1475
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1513
1476
|
};
|
|
1514
1477
|
table: {
|
|
1515
|
-
columns: {
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
labelExpression: string;
|
|
1521
|
-
valueExpression: string;
|
|
1522
|
-
} | {
|
|
1523
|
-
type: "text";
|
|
1524
|
-
modelFieldRef: string;
|
|
1525
|
-
};
|
|
1526
|
-
}[];
|
|
1478
|
+
columns: z.objectInputType<{
|
|
1479
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1480
|
+
type: z.ZodString;
|
|
1481
|
+
label: z.ZodString;
|
|
1482
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1527
1483
|
};
|
|
1528
1484
|
includeIdField?: boolean | undefined;
|
|
1529
1485
|
})[] | undefined;
|
|
@@ -1539,23 +1495,23 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1539
1495
|
form: {
|
|
1540
1496
|
fields: {
|
|
1541
1497
|
type: string;
|
|
1498
|
+
id: string;
|
|
1542
1499
|
label: string;
|
|
1543
1500
|
}[];
|
|
1544
1501
|
};
|
|
1545
1502
|
table: {
|
|
1546
1503
|
columns: {
|
|
1504
|
+
type: string;
|
|
1505
|
+
id: string;
|
|
1547
1506
|
label: string;
|
|
1548
|
-
display: {
|
|
1549
|
-
type: "foreign";
|
|
1550
|
-
localRelationRef: string;
|
|
1551
|
-
labelExpression: string;
|
|
1552
|
-
valueExpression: string;
|
|
1553
|
-
} | {
|
|
1554
|
-
type: "text";
|
|
1555
|
-
modelFieldRef: string;
|
|
1556
|
-
};
|
|
1557
1507
|
}[];
|
|
1508
|
+
actions?: {
|
|
1509
|
+
type: string;
|
|
1510
|
+
id: string;
|
|
1511
|
+
position: "inline" | "dropdown";
|
|
1512
|
+
}[] | undefined;
|
|
1558
1513
|
};
|
|
1514
|
+
nameFieldRef: string;
|
|
1559
1515
|
disableCreate?: boolean | undefined;
|
|
1560
1516
|
embeddedForms?: ({
|
|
1561
1517
|
type: "object";
|
|
@@ -1565,6 +1521,7 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1565
1521
|
form: {
|
|
1566
1522
|
fields: {
|
|
1567
1523
|
type: string;
|
|
1524
|
+
id: string;
|
|
1568
1525
|
label: string;
|
|
1569
1526
|
}[];
|
|
1570
1527
|
};
|
|
@@ -1577,21 +1534,15 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1577
1534
|
form: {
|
|
1578
1535
|
fields: {
|
|
1579
1536
|
type: string;
|
|
1537
|
+
id: string;
|
|
1580
1538
|
label: string;
|
|
1581
1539
|
}[];
|
|
1582
1540
|
};
|
|
1583
1541
|
table: {
|
|
1584
1542
|
columns: {
|
|
1543
|
+
type: string;
|
|
1544
|
+
id: string;
|
|
1585
1545
|
label: string;
|
|
1586
|
-
display: {
|
|
1587
|
-
type: "foreign";
|
|
1588
|
-
localRelationRef: string;
|
|
1589
|
-
labelExpression: string;
|
|
1590
|
-
valueExpression: string;
|
|
1591
|
-
} | {
|
|
1592
|
-
type: "text";
|
|
1593
|
-
modelFieldRef: string;
|
|
1594
|
-
};
|
|
1595
1546
|
}[];
|
|
1596
1547
|
};
|
|
1597
1548
|
includeIdField?: boolean | undefined;
|
|
@@ -1607,24 +1558,24 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1607
1558
|
modelRef: string;
|
|
1608
1559
|
form: {
|
|
1609
1560
|
fields: z.objectInputType<{
|
|
1561
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1610
1562
|
type: z.ZodString;
|
|
1611
1563
|
label: z.ZodString;
|
|
1612
1564
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1613
1565
|
};
|
|
1614
1566
|
table: {
|
|
1615
|
-
columns: {
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
};
|
|
1626
|
-
}[];
|
|
1567
|
+
columns: z.objectInputType<{
|
|
1568
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1569
|
+
type: z.ZodString;
|
|
1570
|
+
label: z.ZodString;
|
|
1571
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1572
|
+
actions?: z.objectInputType<{
|
|
1573
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1574
|
+
type: z.ZodString;
|
|
1575
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
1576
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1627
1577
|
};
|
|
1578
|
+
nameFieldRef: string;
|
|
1628
1579
|
disableCreate?: boolean | undefined;
|
|
1629
1580
|
embeddedForms?: ({
|
|
1630
1581
|
type: "object";
|
|
@@ -1633,6 +1584,7 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1633
1584
|
modelRef: string;
|
|
1634
1585
|
form: {
|
|
1635
1586
|
fields: z.objectInputType<{
|
|
1587
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1636
1588
|
type: z.ZodString;
|
|
1637
1589
|
label: z.ZodString;
|
|
1638
1590
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -1645,23 +1597,17 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1645
1597
|
modelRef: string;
|
|
1646
1598
|
form: {
|
|
1647
1599
|
fields: z.objectInputType<{
|
|
1600
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1648
1601
|
type: z.ZodString;
|
|
1649
1602
|
label: z.ZodString;
|
|
1650
1603
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1651
1604
|
};
|
|
1652
1605
|
table: {
|
|
1653
|
-
columns: {
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
labelExpression: string;
|
|
1659
|
-
valueExpression: string;
|
|
1660
|
-
} | {
|
|
1661
|
-
type: "text";
|
|
1662
|
-
modelFieldRef: string;
|
|
1663
|
-
};
|
|
1664
|
-
}[];
|
|
1606
|
+
columns: z.objectInputType<{
|
|
1607
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1608
|
+
type: z.ZodString;
|
|
1609
|
+
label: z.ZodString;
|
|
1610
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1665
1611
|
};
|
|
1666
1612
|
includeIdField?: boolean | undefined;
|
|
1667
1613
|
})[] | undefined;
|
|
@@ -1677,23 +1623,23 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1677
1623
|
form: {
|
|
1678
1624
|
fields: {
|
|
1679
1625
|
type: string;
|
|
1626
|
+
id: string;
|
|
1680
1627
|
label: string;
|
|
1681
1628
|
}[];
|
|
1682
1629
|
};
|
|
1683
1630
|
table: {
|
|
1684
1631
|
columns: {
|
|
1632
|
+
type: string;
|
|
1633
|
+
id: string;
|
|
1685
1634
|
label: string;
|
|
1686
|
-
display: {
|
|
1687
|
-
type: "foreign";
|
|
1688
|
-
localRelationRef: string;
|
|
1689
|
-
labelExpression: string;
|
|
1690
|
-
valueExpression: string;
|
|
1691
|
-
} | {
|
|
1692
|
-
type: "text";
|
|
1693
|
-
modelFieldRef: string;
|
|
1694
|
-
};
|
|
1695
1635
|
}[];
|
|
1636
|
+
actions?: {
|
|
1637
|
+
type: string;
|
|
1638
|
+
id: string;
|
|
1639
|
+
position: "inline" | "dropdown";
|
|
1640
|
+
}[] | undefined;
|
|
1696
1641
|
};
|
|
1642
|
+
nameFieldRef: string;
|
|
1697
1643
|
disableCreate?: boolean | undefined;
|
|
1698
1644
|
embeddedForms?: ({
|
|
1699
1645
|
type: "object";
|
|
@@ -1703,6 +1649,7 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1703
1649
|
form: {
|
|
1704
1650
|
fields: {
|
|
1705
1651
|
type: string;
|
|
1652
|
+
id: string;
|
|
1706
1653
|
label: string;
|
|
1707
1654
|
}[];
|
|
1708
1655
|
};
|
|
@@ -1715,21 +1662,15 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1715
1662
|
form: {
|
|
1716
1663
|
fields: {
|
|
1717
1664
|
type: string;
|
|
1665
|
+
id: string;
|
|
1718
1666
|
label: string;
|
|
1719
1667
|
}[];
|
|
1720
1668
|
};
|
|
1721
1669
|
table: {
|
|
1722
1670
|
columns: {
|
|
1671
|
+
type: string;
|
|
1672
|
+
id: string;
|
|
1723
1673
|
label: string;
|
|
1724
|
-
display: {
|
|
1725
|
-
type: "foreign";
|
|
1726
|
-
localRelationRef: string;
|
|
1727
|
-
labelExpression: string;
|
|
1728
|
-
valueExpression: string;
|
|
1729
|
-
} | {
|
|
1730
|
-
type: "text";
|
|
1731
|
-
modelFieldRef: string;
|
|
1732
|
-
};
|
|
1733
1674
|
}[];
|
|
1734
1675
|
};
|
|
1735
1676
|
includeIdField?: boolean | undefined;
|
|
@@ -1745,24 +1686,24 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1745
1686
|
modelRef: string;
|
|
1746
1687
|
form: {
|
|
1747
1688
|
fields: z.objectInputType<{
|
|
1689
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1748
1690
|
type: z.ZodString;
|
|
1749
1691
|
label: z.ZodString;
|
|
1750
1692
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1751
1693
|
};
|
|
1752
1694
|
table: {
|
|
1753
|
-
columns: {
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
};
|
|
1764
|
-
}[];
|
|
1695
|
+
columns: z.objectInputType<{
|
|
1696
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1697
|
+
type: z.ZodString;
|
|
1698
|
+
label: z.ZodString;
|
|
1699
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1700
|
+
actions?: z.objectInputType<{
|
|
1701
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1702
|
+
type: z.ZodString;
|
|
1703
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
1704
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1765
1705
|
};
|
|
1706
|
+
nameFieldRef: string;
|
|
1766
1707
|
disableCreate?: boolean | undefined;
|
|
1767
1708
|
embeddedForms?: ({
|
|
1768
1709
|
type: "object";
|
|
@@ -1771,6 +1712,7 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1771
1712
|
modelRef: string;
|
|
1772
1713
|
form: {
|
|
1773
1714
|
fields: z.objectInputType<{
|
|
1715
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1774
1716
|
type: z.ZodString;
|
|
1775
1717
|
label: z.ZodString;
|
|
1776
1718
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -1783,23 +1725,17 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1783
1725
|
modelRef: string;
|
|
1784
1726
|
form: {
|
|
1785
1727
|
fields: z.objectInputType<{
|
|
1728
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1786
1729
|
type: z.ZodString;
|
|
1787
1730
|
label: z.ZodString;
|
|
1788
1731
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1789
1732
|
};
|
|
1790
1733
|
table: {
|
|
1791
|
-
columns: {
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
labelExpression: string;
|
|
1797
|
-
valueExpression: string;
|
|
1798
|
-
} | {
|
|
1799
|
-
type: "text";
|
|
1800
|
-
modelFieldRef: string;
|
|
1801
|
-
};
|
|
1802
|
-
}[];
|
|
1734
|
+
columns: z.objectInputType<{
|
|
1735
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1736
|
+
type: z.ZodString;
|
|
1737
|
+
label: z.ZodString;
|
|
1738
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1803
1739
|
};
|
|
1804
1740
|
includeIdField?: boolean | undefined;
|
|
1805
1741
|
})[] | undefined;
|
|
@@ -1820,23 +1756,23 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1820
1756
|
form: {
|
|
1821
1757
|
fields: {
|
|
1822
1758
|
type: string;
|
|
1759
|
+
id: string;
|
|
1823
1760
|
label: string;
|
|
1824
1761
|
}[];
|
|
1825
1762
|
};
|
|
1826
1763
|
table: {
|
|
1827
1764
|
columns: {
|
|
1765
|
+
type: string;
|
|
1766
|
+
id: string;
|
|
1828
1767
|
label: string;
|
|
1829
|
-
display: {
|
|
1830
|
-
type: "foreign";
|
|
1831
|
-
localRelationRef: string;
|
|
1832
|
-
labelExpression: string;
|
|
1833
|
-
valueExpression: string;
|
|
1834
|
-
} | {
|
|
1835
|
-
type: "text";
|
|
1836
|
-
modelFieldRef: string;
|
|
1837
|
-
};
|
|
1838
1768
|
}[];
|
|
1769
|
+
actions?: {
|
|
1770
|
+
type: string;
|
|
1771
|
+
id: string;
|
|
1772
|
+
position: "inline" | "dropdown";
|
|
1773
|
+
}[] | undefined;
|
|
1839
1774
|
};
|
|
1775
|
+
nameFieldRef: string;
|
|
1840
1776
|
disableCreate?: boolean | undefined;
|
|
1841
1777
|
embeddedForms?: ({
|
|
1842
1778
|
type: "object";
|
|
@@ -1846,6 +1782,7 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1846
1782
|
form: {
|
|
1847
1783
|
fields: {
|
|
1848
1784
|
type: string;
|
|
1785
|
+
id: string;
|
|
1849
1786
|
label: string;
|
|
1850
1787
|
}[];
|
|
1851
1788
|
};
|
|
@@ -1858,21 +1795,15 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1858
1795
|
form: {
|
|
1859
1796
|
fields: {
|
|
1860
1797
|
type: string;
|
|
1798
|
+
id: string;
|
|
1861
1799
|
label: string;
|
|
1862
1800
|
}[];
|
|
1863
1801
|
};
|
|
1864
1802
|
table: {
|
|
1865
1803
|
columns: {
|
|
1804
|
+
type: string;
|
|
1805
|
+
id: string;
|
|
1866
1806
|
label: string;
|
|
1867
|
-
display: {
|
|
1868
|
-
type: "foreign";
|
|
1869
|
-
localRelationRef: string;
|
|
1870
|
-
labelExpression: string;
|
|
1871
|
-
valueExpression: string;
|
|
1872
|
-
} | {
|
|
1873
|
-
type: "text";
|
|
1874
|
-
modelFieldRef: string;
|
|
1875
|
-
};
|
|
1876
1807
|
}[];
|
|
1877
1808
|
};
|
|
1878
1809
|
includeIdField?: boolean | undefined;
|
|
@@ -1893,24 +1824,24 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1893
1824
|
modelRef: string;
|
|
1894
1825
|
form: {
|
|
1895
1826
|
fields: z.objectInputType<{
|
|
1827
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1896
1828
|
type: z.ZodString;
|
|
1897
1829
|
label: z.ZodString;
|
|
1898
1830
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1899
1831
|
};
|
|
1900
1832
|
table: {
|
|
1901
|
-
columns: {
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
};
|
|
1912
|
-
}[];
|
|
1833
|
+
columns: z.objectInputType<{
|
|
1834
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1835
|
+
type: z.ZodString;
|
|
1836
|
+
label: z.ZodString;
|
|
1837
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1838
|
+
actions?: z.objectInputType<{
|
|
1839
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1840
|
+
type: z.ZodString;
|
|
1841
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
1842
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1913
1843
|
};
|
|
1844
|
+
nameFieldRef: string;
|
|
1914
1845
|
disableCreate?: boolean | undefined;
|
|
1915
1846
|
embeddedForms?: ({
|
|
1916
1847
|
type: "object";
|
|
@@ -1919,6 +1850,7 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1919
1850
|
modelRef: string;
|
|
1920
1851
|
form: {
|
|
1921
1852
|
fields: z.objectInputType<{
|
|
1853
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1922
1854
|
type: z.ZodString;
|
|
1923
1855
|
label: z.ZodString;
|
|
1924
1856
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -1931,23 +1863,17 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1931
1863
|
modelRef: string;
|
|
1932
1864
|
form: {
|
|
1933
1865
|
fields: z.objectInputType<{
|
|
1866
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1934
1867
|
type: z.ZodString;
|
|
1935
1868
|
label: z.ZodString;
|
|
1936
1869
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1937
1870
|
};
|
|
1938
1871
|
table: {
|
|
1939
|
-
columns: {
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
labelExpression: string;
|
|
1945
|
-
valueExpression: string;
|
|
1946
|
-
} | {
|
|
1947
|
-
type: "text";
|
|
1948
|
-
modelFieldRef: string;
|
|
1949
|
-
};
|
|
1950
|
-
}[];
|
|
1872
|
+
columns: z.objectInputType<{
|
|
1873
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1874
|
+
type: z.ZodString;
|
|
1875
|
+
label: z.ZodString;
|
|
1876
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1951
1877
|
};
|
|
1952
1878
|
includeIdField?: boolean | undefined;
|
|
1953
1879
|
})[] | undefined;
|
|
@@ -1968,23 +1894,23 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1968
1894
|
form: {
|
|
1969
1895
|
fields: {
|
|
1970
1896
|
type: string;
|
|
1897
|
+
id: string;
|
|
1971
1898
|
label: string;
|
|
1972
1899
|
}[];
|
|
1973
1900
|
};
|
|
1974
1901
|
table: {
|
|
1975
1902
|
columns: {
|
|
1903
|
+
type: string;
|
|
1904
|
+
id: string;
|
|
1976
1905
|
label: string;
|
|
1977
|
-
display: {
|
|
1978
|
-
type: "foreign";
|
|
1979
|
-
localRelationRef: string;
|
|
1980
|
-
labelExpression: string;
|
|
1981
|
-
valueExpression: string;
|
|
1982
|
-
} | {
|
|
1983
|
-
type: "text";
|
|
1984
|
-
modelFieldRef: string;
|
|
1985
|
-
};
|
|
1986
1906
|
}[];
|
|
1907
|
+
actions?: {
|
|
1908
|
+
type: string;
|
|
1909
|
+
id: string;
|
|
1910
|
+
position: "inline" | "dropdown";
|
|
1911
|
+
}[] | undefined;
|
|
1987
1912
|
};
|
|
1913
|
+
nameFieldRef: string;
|
|
1988
1914
|
disableCreate?: boolean | undefined;
|
|
1989
1915
|
embeddedForms?: ({
|
|
1990
1916
|
type: "object";
|
|
@@ -1994,6 +1920,7 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
1994
1920
|
form: {
|
|
1995
1921
|
fields: {
|
|
1996
1922
|
type: string;
|
|
1923
|
+
id: string;
|
|
1997
1924
|
label: string;
|
|
1998
1925
|
}[];
|
|
1999
1926
|
};
|
|
@@ -2006,21 +1933,15 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
2006
1933
|
form: {
|
|
2007
1934
|
fields: {
|
|
2008
1935
|
type: string;
|
|
1936
|
+
id: string;
|
|
2009
1937
|
label: string;
|
|
2010
1938
|
}[];
|
|
2011
1939
|
};
|
|
2012
1940
|
table: {
|
|
2013
1941
|
columns: {
|
|
1942
|
+
type: string;
|
|
1943
|
+
id: string;
|
|
2014
1944
|
label: string;
|
|
2015
|
-
display: {
|
|
2016
|
-
type: "foreign";
|
|
2017
|
-
localRelationRef: string;
|
|
2018
|
-
labelExpression: string;
|
|
2019
|
-
valueExpression: string;
|
|
2020
|
-
} | {
|
|
2021
|
-
type: "text";
|
|
2022
|
-
modelFieldRef: string;
|
|
2023
|
-
};
|
|
2024
1945
|
}[];
|
|
2025
1946
|
};
|
|
2026
1947
|
includeIdField?: boolean | undefined;
|
|
@@ -2041,24 +1962,24 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
2041
1962
|
modelRef: string;
|
|
2042
1963
|
form: {
|
|
2043
1964
|
fields: z.objectInputType<{
|
|
1965
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2044
1966
|
type: z.ZodString;
|
|
2045
1967
|
label: z.ZodString;
|
|
2046
1968
|
}, z.ZodTypeAny, "passthrough">[];
|
|
2047
1969
|
};
|
|
2048
1970
|
table: {
|
|
2049
|
-
columns: {
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
};
|
|
2060
|
-
}[];
|
|
1971
|
+
columns: z.objectInputType<{
|
|
1972
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1973
|
+
type: z.ZodString;
|
|
1974
|
+
label: z.ZodString;
|
|
1975
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1976
|
+
actions?: z.objectInputType<{
|
|
1977
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1978
|
+
type: z.ZodString;
|
|
1979
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
1980
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
2061
1981
|
};
|
|
1982
|
+
nameFieldRef: string;
|
|
2062
1983
|
disableCreate?: boolean | undefined;
|
|
2063
1984
|
embeddedForms?: ({
|
|
2064
1985
|
type: "object";
|
|
@@ -2067,6 +1988,7 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
2067
1988
|
modelRef: string;
|
|
2068
1989
|
form: {
|
|
2069
1990
|
fields: z.objectInputType<{
|
|
1991
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2070
1992
|
type: z.ZodString;
|
|
2071
1993
|
label: z.ZodString;
|
|
2072
1994
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -2079,23 +2001,17 @@ export declare const createAdminAppSchema: (context: import("#src/schema/index.j
|
|
|
2079
2001
|
modelRef: string;
|
|
2080
2002
|
form: {
|
|
2081
2003
|
fields: z.objectInputType<{
|
|
2004
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2082
2005
|
type: z.ZodString;
|
|
2083
2006
|
label: z.ZodString;
|
|
2084
2007
|
}, z.ZodTypeAny, "passthrough">[];
|
|
2085
2008
|
};
|
|
2086
2009
|
table: {
|
|
2087
|
-
columns: {
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
labelExpression: string;
|
|
2093
|
-
valueExpression: string;
|
|
2094
|
-
} | {
|
|
2095
|
-
type: "text";
|
|
2096
|
-
modelFieldRef: string;
|
|
2097
|
-
};
|
|
2098
|
-
}[];
|
|
2010
|
+
columns: z.objectInputType<{
|
|
2011
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2012
|
+
type: z.ZodString;
|
|
2013
|
+
label: z.ZodString;
|
|
2014
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
2099
2015
|
};
|
|
2100
2016
|
includeIdField?: boolean | undefined;
|
|
2101
2017
|
})[] | undefined;
|