@baseplate-dev/project-builder-lib 0.3.0 → 0.3.2
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
|
@@ -65,109 +65,137 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
65
65
|
}>, z.ZodObject<{
|
|
66
66
|
type: z.ZodLiteral<"crud">;
|
|
67
67
|
modelRef: z.ZodEffects<z.ZodString, string, string>;
|
|
68
|
+
nameFieldRef: z.ZodEffects<z.ZodString, string, string>;
|
|
68
69
|
disableCreate: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, boolean | undefined>;
|
|
69
70
|
table: z.ZodObject<{
|
|
70
|
-
columns: z.ZodArray<z.ZodObject<{
|
|
71
|
+
columns: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
72
|
+
id: z.ZodDefault<z.ZodString>;
|
|
73
|
+
type: z.ZodString;
|
|
71
74
|
label: z.ZodString;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}, {
|
|
92
|
-
type: "foreign";
|
|
93
|
-
localRelationRef: string;
|
|
94
|
-
labelExpression: string;
|
|
95
|
-
valueExpression: string;
|
|
96
|
-
}>]>;
|
|
97
|
-
}, "strip", z.ZodTypeAny, {
|
|
98
|
-
label: string;
|
|
99
|
-
display: {
|
|
100
|
-
type: "foreign";
|
|
101
|
-
localRelationRef: string;
|
|
102
|
-
labelExpression: string;
|
|
103
|
-
valueExpression: string;
|
|
104
|
-
} | {
|
|
105
|
-
type: "text";
|
|
106
|
-
modelFieldRef: string;
|
|
107
|
-
};
|
|
108
|
-
}, {
|
|
75
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
76
|
+
id: z.ZodDefault<z.ZodString>;
|
|
77
|
+
type: z.ZodString;
|
|
78
|
+
label: z.ZodString;
|
|
79
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
80
|
+
id: z.ZodDefault<z.ZodString>;
|
|
81
|
+
type: z.ZodString;
|
|
82
|
+
label: z.ZodString;
|
|
83
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
84
|
+
id: z.ZodDefault<z.ZodString>;
|
|
85
|
+
type: z.ZodString;
|
|
86
|
+
label: z.ZodString;
|
|
87
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
88
|
+
id: z.ZodDefault<z.ZodString>;
|
|
89
|
+
type: z.ZodString;
|
|
90
|
+
label: z.ZodString;
|
|
91
|
+
}, z.ZodTypeAny, "passthrough">>, {
|
|
92
|
+
type: string;
|
|
93
|
+
id: string;
|
|
109
94
|
label: string;
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}
|
|
95
|
+
}, z.objectInputType<{
|
|
96
|
+
id: z.ZodDefault<z.ZodString>;
|
|
97
|
+
type: z.ZodString;
|
|
98
|
+
label: z.ZodString;
|
|
99
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
100
|
+
actions: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
101
|
+
id: z.ZodDefault<z.ZodString>;
|
|
102
|
+
type: z.ZodString;
|
|
103
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
104
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
105
|
+
id: z.ZodDefault<z.ZodString>;
|
|
106
|
+
type: z.ZodString;
|
|
107
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
108
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
109
|
+
id: z.ZodDefault<z.ZodString>;
|
|
110
|
+
type: z.ZodString;
|
|
111
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
112
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
113
|
+
id: z.ZodDefault<z.ZodString>;
|
|
114
|
+
type: z.ZodString;
|
|
115
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
116
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
117
|
+
id: z.ZodDefault<z.ZodString>;
|
|
118
|
+
type: z.ZodString;
|
|
119
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
120
|
+
}, z.ZodTypeAny, "passthrough">>, {
|
|
121
|
+
type: string;
|
|
122
|
+
id: string;
|
|
123
|
+
position: "inline" | "dropdown";
|
|
124
|
+
}, z.objectInputType<{
|
|
125
|
+
id: z.ZodDefault<z.ZodString>;
|
|
126
|
+
type: z.ZodString;
|
|
127
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
128
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>, {
|
|
129
|
+
type: string;
|
|
130
|
+
id: string;
|
|
131
|
+
position: "inline" | "dropdown";
|
|
132
|
+
}[] | undefined, z.objectInputType<{
|
|
133
|
+
id: z.ZodDefault<z.ZodString>;
|
|
134
|
+
type: z.ZodString;
|
|
135
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
136
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined>;
|
|
120
137
|
}, "strip", z.ZodTypeAny, {
|
|
121
138
|
columns: {
|
|
139
|
+
type: string;
|
|
140
|
+
id: string;
|
|
122
141
|
label: string;
|
|
123
|
-
display: {
|
|
124
|
-
type: "foreign";
|
|
125
|
-
localRelationRef: string;
|
|
126
|
-
labelExpression: string;
|
|
127
|
-
valueExpression: string;
|
|
128
|
-
} | {
|
|
129
|
-
type: "text";
|
|
130
|
-
modelFieldRef: string;
|
|
131
|
-
};
|
|
132
142
|
}[];
|
|
143
|
+
actions?: {
|
|
144
|
+
type: string;
|
|
145
|
+
id: string;
|
|
146
|
+
position: "inline" | "dropdown";
|
|
147
|
+
}[] | undefined;
|
|
133
148
|
}, {
|
|
134
|
-
columns: {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
};
|
|
145
|
-
}[];
|
|
149
|
+
columns: z.objectInputType<{
|
|
150
|
+
id: z.ZodDefault<z.ZodString>;
|
|
151
|
+
type: z.ZodString;
|
|
152
|
+
label: z.ZodString;
|
|
153
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
154
|
+
actions?: z.objectInputType<{
|
|
155
|
+
id: z.ZodDefault<z.ZodString>;
|
|
156
|
+
type: z.ZodString;
|
|
157
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
158
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
146
159
|
}>;
|
|
147
160
|
form: z.ZodObject<{
|
|
148
|
-
fields: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
161
|
+
fields: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
162
|
+
id: z.ZodDefault<z.ZodString>;
|
|
149
163
|
type: z.ZodString;
|
|
150
164
|
label: z.ZodString;
|
|
151
165
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
166
|
+
id: z.ZodDefault<z.ZodString>;
|
|
167
|
+
type: z.ZodString;
|
|
168
|
+
label: z.ZodString;
|
|
169
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
170
|
+
id: z.ZodDefault<z.ZodString>;
|
|
171
|
+
type: z.ZodString;
|
|
172
|
+
label: z.ZodString;
|
|
173
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
174
|
+
id: z.ZodDefault<z.ZodString>;
|
|
152
175
|
type: z.ZodString;
|
|
153
176
|
label: z.ZodString;
|
|
154
177
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
178
|
+
id: z.ZodDefault<z.ZodString>;
|
|
155
179
|
type: z.ZodString;
|
|
156
180
|
label: z.ZodString;
|
|
157
181
|
}, z.ZodTypeAny, "passthrough">>, {
|
|
158
182
|
type: string;
|
|
183
|
+
id: string;
|
|
159
184
|
label: string;
|
|
160
185
|
}, z.objectInputType<{
|
|
186
|
+
id: z.ZodDefault<z.ZodString>;
|
|
161
187
|
type: z.ZodString;
|
|
162
188
|
label: z.ZodString;
|
|
163
189
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
164
190
|
}, "strip", z.ZodTypeAny, {
|
|
165
191
|
fields: {
|
|
166
192
|
type: string;
|
|
193
|
+
id: string;
|
|
167
194
|
label: string;
|
|
168
195
|
}[];
|
|
169
196
|
}, {
|
|
170
197
|
fields: z.objectInputType<{
|
|
198
|
+
id: z.ZodDefault<z.ZodString>;
|
|
171
199
|
type: z.ZodString;
|
|
172
200
|
label: z.ZodString;
|
|
173
201
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -179,29 +207,44 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
179
207
|
includeIdField: z.ZodOptional<z.ZodBoolean>;
|
|
180
208
|
type: z.ZodLiteral<"object">;
|
|
181
209
|
form: z.ZodObject<{
|
|
182
|
-
fields: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
210
|
+
fields: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
211
|
+
id: z.ZodDefault<z.ZodString>;
|
|
183
212
|
type: z.ZodString;
|
|
184
213
|
label: z.ZodString;
|
|
185
214
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
215
|
+
id: z.ZodDefault<z.ZodString>;
|
|
216
|
+
type: z.ZodString;
|
|
217
|
+
label: z.ZodString;
|
|
218
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
219
|
+
id: z.ZodDefault<z.ZodString>;
|
|
220
|
+
type: z.ZodString;
|
|
221
|
+
label: z.ZodString;
|
|
222
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
223
|
+
id: z.ZodDefault<z.ZodString>;
|
|
186
224
|
type: z.ZodString;
|
|
187
225
|
label: z.ZodString;
|
|
188
226
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
227
|
+
id: z.ZodDefault<z.ZodString>;
|
|
189
228
|
type: z.ZodString;
|
|
190
229
|
label: z.ZodString;
|
|
191
230
|
}, z.ZodTypeAny, "passthrough">>, {
|
|
192
231
|
type: string;
|
|
232
|
+
id: string;
|
|
193
233
|
label: string;
|
|
194
234
|
}, z.objectInputType<{
|
|
235
|
+
id: z.ZodDefault<z.ZodString>;
|
|
195
236
|
type: z.ZodString;
|
|
196
237
|
label: z.ZodString;
|
|
197
238
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
198
239
|
}, "strip", z.ZodTypeAny, {
|
|
199
240
|
fields: {
|
|
200
241
|
type: string;
|
|
242
|
+
id: string;
|
|
201
243
|
label: string;
|
|
202
244
|
}[];
|
|
203
245
|
}, {
|
|
204
246
|
fields: z.objectInputType<{
|
|
247
|
+
id: z.ZodDefault<z.ZodString>;
|
|
205
248
|
type: z.ZodString;
|
|
206
249
|
label: z.ZodString;
|
|
207
250
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -214,6 +257,7 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
214
257
|
form: {
|
|
215
258
|
fields: {
|
|
216
259
|
type: string;
|
|
260
|
+
id: string;
|
|
217
261
|
label: string;
|
|
218
262
|
}[];
|
|
219
263
|
};
|
|
@@ -225,6 +269,7 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
225
269
|
modelRef: string;
|
|
226
270
|
form: {
|
|
227
271
|
fields: z.objectInputType<{
|
|
272
|
+
id: z.ZodDefault<z.ZodString>;
|
|
228
273
|
type: z.ZodString;
|
|
229
274
|
label: z.ZodString;
|
|
230
275
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -237,107 +282,87 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
237
282
|
includeIdField: z.ZodOptional<z.ZodBoolean>;
|
|
238
283
|
type: z.ZodLiteral<"list">;
|
|
239
284
|
table: z.ZodObject<{
|
|
240
|
-
columns: z.ZodArray<z.ZodObject<{
|
|
285
|
+
columns: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
286
|
+
id: z.ZodDefault<z.ZodString>;
|
|
287
|
+
type: z.ZodString;
|
|
241
288
|
label: z.ZodString;
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
}, {
|
|
262
|
-
type: "foreign";
|
|
263
|
-
localRelationRef: string;
|
|
264
|
-
labelExpression: string;
|
|
265
|
-
valueExpression: string;
|
|
266
|
-
}>]>;
|
|
267
|
-
}, "strip", z.ZodTypeAny, {
|
|
268
|
-
label: string;
|
|
269
|
-
display: {
|
|
270
|
-
type: "foreign";
|
|
271
|
-
localRelationRef: string;
|
|
272
|
-
labelExpression: string;
|
|
273
|
-
valueExpression: string;
|
|
274
|
-
} | {
|
|
275
|
-
type: "text";
|
|
276
|
-
modelFieldRef: string;
|
|
277
|
-
};
|
|
278
|
-
}, {
|
|
289
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
290
|
+
id: z.ZodDefault<z.ZodString>;
|
|
291
|
+
type: z.ZodString;
|
|
292
|
+
label: z.ZodString;
|
|
293
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
294
|
+
id: z.ZodDefault<z.ZodString>;
|
|
295
|
+
type: z.ZodString;
|
|
296
|
+
label: z.ZodString;
|
|
297
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
298
|
+
id: z.ZodDefault<z.ZodString>;
|
|
299
|
+
type: z.ZodString;
|
|
300
|
+
label: z.ZodString;
|
|
301
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
302
|
+
id: z.ZodDefault<z.ZodString>;
|
|
303
|
+
type: z.ZodString;
|
|
304
|
+
label: z.ZodString;
|
|
305
|
+
}, z.ZodTypeAny, "passthrough">>, {
|
|
306
|
+
type: string;
|
|
307
|
+
id: string;
|
|
279
308
|
label: string;
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
} | {
|
|
286
|
-
type: "text";
|
|
287
|
-
modelFieldRef: string;
|
|
288
|
-
};
|
|
289
|
-
}>, "many">;
|
|
309
|
+
}, z.objectInputType<{
|
|
310
|
+
id: z.ZodDefault<z.ZodString>;
|
|
311
|
+
type: z.ZodString;
|
|
312
|
+
label: z.ZodString;
|
|
313
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
290
314
|
}, "strip", z.ZodTypeAny, {
|
|
291
315
|
columns: {
|
|
316
|
+
type: string;
|
|
317
|
+
id: string;
|
|
292
318
|
label: string;
|
|
293
|
-
display: {
|
|
294
|
-
type: "foreign";
|
|
295
|
-
localRelationRef: string;
|
|
296
|
-
labelExpression: string;
|
|
297
|
-
valueExpression: string;
|
|
298
|
-
} | {
|
|
299
|
-
type: "text";
|
|
300
|
-
modelFieldRef: string;
|
|
301
|
-
};
|
|
302
319
|
}[];
|
|
303
320
|
}, {
|
|
304
|
-
columns: {
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
labelExpression: string;
|
|
310
|
-
valueExpression: string;
|
|
311
|
-
} | {
|
|
312
|
-
type: "text";
|
|
313
|
-
modelFieldRef: string;
|
|
314
|
-
};
|
|
315
|
-
}[];
|
|
321
|
+
columns: z.objectInputType<{
|
|
322
|
+
id: z.ZodDefault<z.ZodString>;
|
|
323
|
+
type: z.ZodString;
|
|
324
|
+
label: z.ZodString;
|
|
325
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
316
326
|
}>;
|
|
317
327
|
form: z.ZodObject<{
|
|
318
|
-
fields: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
328
|
+
fields: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
329
|
+
id: z.ZodDefault<z.ZodString>;
|
|
319
330
|
type: z.ZodString;
|
|
320
331
|
label: z.ZodString;
|
|
321
332
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
333
|
+
id: z.ZodDefault<z.ZodString>;
|
|
334
|
+
type: z.ZodString;
|
|
335
|
+
label: z.ZodString;
|
|
336
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
337
|
+
id: z.ZodDefault<z.ZodString>;
|
|
338
|
+
type: z.ZodString;
|
|
339
|
+
label: z.ZodString;
|
|
340
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
341
|
+
id: z.ZodDefault<z.ZodString>;
|
|
322
342
|
type: z.ZodString;
|
|
323
343
|
label: z.ZodString;
|
|
324
344
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
345
|
+
id: z.ZodDefault<z.ZodString>;
|
|
325
346
|
type: z.ZodString;
|
|
326
347
|
label: z.ZodString;
|
|
327
348
|
}, z.ZodTypeAny, "passthrough">>, {
|
|
328
349
|
type: string;
|
|
350
|
+
id: string;
|
|
329
351
|
label: string;
|
|
330
352
|
}, z.objectInputType<{
|
|
353
|
+
id: z.ZodDefault<z.ZodString>;
|
|
331
354
|
type: z.ZodString;
|
|
332
355
|
label: z.ZodString;
|
|
333
356
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
334
357
|
}, "strip", z.ZodTypeAny, {
|
|
335
358
|
fields: {
|
|
336
359
|
type: string;
|
|
360
|
+
id: string;
|
|
337
361
|
label: string;
|
|
338
362
|
}[];
|
|
339
363
|
}, {
|
|
340
364
|
fields: z.objectInputType<{
|
|
365
|
+
id: z.ZodDefault<z.ZodString>;
|
|
341
366
|
type: z.ZodString;
|
|
342
367
|
label: z.ZodString;
|
|
343
368
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -350,21 +375,15 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
350
375
|
form: {
|
|
351
376
|
fields: {
|
|
352
377
|
type: string;
|
|
378
|
+
id: string;
|
|
353
379
|
label: string;
|
|
354
380
|
}[];
|
|
355
381
|
};
|
|
356
382
|
table: {
|
|
357
383
|
columns: {
|
|
384
|
+
type: string;
|
|
385
|
+
id: string;
|
|
358
386
|
label: string;
|
|
359
|
-
display: {
|
|
360
|
-
type: "foreign";
|
|
361
|
-
localRelationRef: string;
|
|
362
|
-
labelExpression: string;
|
|
363
|
-
valueExpression: string;
|
|
364
|
-
} | {
|
|
365
|
-
type: "text";
|
|
366
|
-
modelFieldRef: string;
|
|
367
|
-
};
|
|
368
387
|
}[];
|
|
369
388
|
};
|
|
370
389
|
includeIdField?: boolean | undefined;
|
|
@@ -375,23 +394,17 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
375
394
|
modelRef: string;
|
|
376
395
|
form: {
|
|
377
396
|
fields: z.objectInputType<{
|
|
397
|
+
id: z.ZodDefault<z.ZodString>;
|
|
378
398
|
type: z.ZodString;
|
|
379
399
|
label: z.ZodString;
|
|
380
400
|
}, z.ZodTypeAny, "passthrough">[];
|
|
381
401
|
};
|
|
382
402
|
table: {
|
|
383
|
-
columns: {
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
labelExpression: string;
|
|
389
|
-
valueExpression: string;
|
|
390
|
-
} | {
|
|
391
|
-
type: "text";
|
|
392
|
-
modelFieldRef: string;
|
|
393
|
-
};
|
|
394
|
-
}[];
|
|
403
|
+
columns: z.objectInputType<{
|
|
404
|
+
id: z.ZodDefault<z.ZodString>;
|
|
405
|
+
type: z.ZodString;
|
|
406
|
+
label: z.ZodString;
|
|
407
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
395
408
|
};
|
|
396
409
|
includeIdField?: boolean | undefined;
|
|
397
410
|
}>]>, {
|
|
@@ -402,6 +415,7 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
402
415
|
form: {
|
|
403
416
|
fields: {
|
|
404
417
|
type: string;
|
|
418
|
+
id: string;
|
|
405
419
|
label: string;
|
|
406
420
|
}[];
|
|
407
421
|
};
|
|
@@ -414,21 +428,15 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
414
428
|
form: {
|
|
415
429
|
fields: {
|
|
416
430
|
type: string;
|
|
431
|
+
id: string;
|
|
417
432
|
label: string;
|
|
418
433
|
}[];
|
|
419
434
|
};
|
|
420
435
|
table: {
|
|
421
436
|
columns: {
|
|
437
|
+
type: string;
|
|
438
|
+
id: string;
|
|
422
439
|
label: string;
|
|
423
|
-
display: {
|
|
424
|
-
type: "foreign";
|
|
425
|
-
localRelationRef: string;
|
|
426
|
-
labelExpression: string;
|
|
427
|
-
valueExpression: string;
|
|
428
|
-
} | {
|
|
429
|
-
type: "text";
|
|
430
|
-
modelFieldRef: string;
|
|
431
|
-
};
|
|
432
440
|
}[];
|
|
433
441
|
};
|
|
434
442
|
includeIdField?: boolean | undefined;
|
|
@@ -439,6 +447,7 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
439
447
|
modelRef: string;
|
|
440
448
|
form: {
|
|
441
449
|
fields: z.objectInputType<{
|
|
450
|
+
id: z.ZodDefault<z.ZodString>;
|
|
442
451
|
type: z.ZodString;
|
|
443
452
|
label: z.ZodString;
|
|
444
453
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -451,23 +460,17 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
451
460
|
modelRef: string;
|
|
452
461
|
form: {
|
|
453
462
|
fields: z.objectInputType<{
|
|
463
|
+
id: z.ZodDefault<z.ZodString>;
|
|
454
464
|
type: z.ZodString;
|
|
455
465
|
label: z.ZodString;
|
|
456
466
|
}, z.ZodTypeAny, "passthrough">[];
|
|
457
467
|
};
|
|
458
468
|
table: {
|
|
459
|
-
columns: {
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
labelExpression: string;
|
|
465
|
-
valueExpression: string;
|
|
466
|
-
} | {
|
|
467
|
-
type: "text";
|
|
468
|
-
modelFieldRef: string;
|
|
469
|
-
};
|
|
470
|
-
}[];
|
|
469
|
+
columns: z.objectInputType<{
|
|
470
|
+
id: z.ZodDefault<z.ZodString>;
|
|
471
|
+
type: z.ZodString;
|
|
472
|
+
label: z.ZodString;
|
|
473
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
471
474
|
};
|
|
472
475
|
includeIdField?: boolean | undefined;
|
|
473
476
|
}>, "many">>;
|
|
@@ -477,23 +480,23 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
477
480
|
form: {
|
|
478
481
|
fields: {
|
|
479
482
|
type: string;
|
|
483
|
+
id: string;
|
|
480
484
|
label: string;
|
|
481
485
|
}[];
|
|
482
486
|
};
|
|
483
487
|
table: {
|
|
484
488
|
columns: {
|
|
489
|
+
type: string;
|
|
490
|
+
id: string;
|
|
485
491
|
label: string;
|
|
486
|
-
display: {
|
|
487
|
-
type: "foreign";
|
|
488
|
-
localRelationRef: string;
|
|
489
|
-
labelExpression: string;
|
|
490
|
-
valueExpression: string;
|
|
491
|
-
} | {
|
|
492
|
-
type: "text";
|
|
493
|
-
modelFieldRef: string;
|
|
494
|
-
};
|
|
495
492
|
}[];
|
|
493
|
+
actions?: {
|
|
494
|
+
type: string;
|
|
495
|
+
id: string;
|
|
496
|
+
position: "inline" | "dropdown";
|
|
497
|
+
}[] | undefined;
|
|
496
498
|
};
|
|
499
|
+
nameFieldRef: string;
|
|
497
500
|
disableCreate?: boolean | undefined;
|
|
498
501
|
embeddedForms?: ({
|
|
499
502
|
type: "object";
|
|
@@ -503,6 +506,7 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
503
506
|
form: {
|
|
504
507
|
fields: {
|
|
505
508
|
type: string;
|
|
509
|
+
id: string;
|
|
506
510
|
label: string;
|
|
507
511
|
}[];
|
|
508
512
|
};
|
|
@@ -515,21 +519,15 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
515
519
|
form: {
|
|
516
520
|
fields: {
|
|
517
521
|
type: string;
|
|
522
|
+
id: string;
|
|
518
523
|
label: string;
|
|
519
524
|
}[];
|
|
520
525
|
};
|
|
521
526
|
table: {
|
|
522
527
|
columns: {
|
|
528
|
+
type: string;
|
|
529
|
+
id: string;
|
|
523
530
|
label: string;
|
|
524
|
-
display: {
|
|
525
|
-
type: "foreign";
|
|
526
|
-
localRelationRef: string;
|
|
527
|
-
labelExpression: string;
|
|
528
|
-
valueExpression: string;
|
|
529
|
-
} | {
|
|
530
|
-
type: "text";
|
|
531
|
-
modelFieldRef: string;
|
|
532
|
-
};
|
|
533
531
|
}[];
|
|
534
532
|
};
|
|
535
533
|
includeIdField?: boolean | undefined;
|
|
@@ -539,24 +537,24 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
539
537
|
modelRef: string;
|
|
540
538
|
form: {
|
|
541
539
|
fields: z.objectInputType<{
|
|
540
|
+
id: z.ZodDefault<z.ZodString>;
|
|
542
541
|
type: z.ZodString;
|
|
543
542
|
label: z.ZodString;
|
|
544
543
|
}, z.ZodTypeAny, "passthrough">[];
|
|
545
544
|
};
|
|
546
545
|
table: {
|
|
547
|
-
columns: {
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
};
|
|
558
|
-
}[];
|
|
546
|
+
columns: z.objectInputType<{
|
|
547
|
+
id: z.ZodDefault<z.ZodString>;
|
|
548
|
+
type: z.ZodString;
|
|
549
|
+
label: z.ZodString;
|
|
550
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
551
|
+
actions?: z.objectInputType<{
|
|
552
|
+
id: z.ZodDefault<z.ZodString>;
|
|
553
|
+
type: z.ZodString;
|
|
554
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
555
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
559
556
|
};
|
|
557
|
+
nameFieldRef: string;
|
|
560
558
|
disableCreate?: boolean | undefined;
|
|
561
559
|
embeddedForms?: ({
|
|
562
560
|
type: "object";
|
|
@@ -565,6 +563,7 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
565
563
|
modelRef: string;
|
|
566
564
|
form: {
|
|
567
565
|
fields: z.objectInputType<{
|
|
566
|
+
id: z.ZodDefault<z.ZodString>;
|
|
568
567
|
type: z.ZodString;
|
|
569
568
|
label: z.ZodString;
|
|
570
569
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -577,23 +576,17 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
577
576
|
modelRef: string;
|
|
578
577
|
form: {
|
|
579
578
|
fields: z.objectInputType<{
|
|
579
|
+
id: z.ZodDefault<z.ZodString>;
|
|
580
580
|
type: z.ZodString;
|
|
581
581
|
label: z.ZodString;
|
|
582
582
|
}, z.ZodTypeAny, "passthrough">[];
|
|
583
583
|
};
|
|
584
584
|
table: {
|
|
585
|
-
columns: {
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
labelExpression: string;
|
|
591
|
-
valueExpression: string;
|
|
592
|
-
} | {
|
|
593
|
-
type: "text";
|
|
594
|
-
modelFieldRef: string;
|
|
595
|
-
};
|
|
596
|
-
}[];
|
|
585
|
+
columns: z.objectInputType<{
|
|
586
|
+
id: z.ZodDefault<z.ZodString>;
|
|
587
|
+
type: z.ZodString;
|
|
588
|
+
label: z.ZodString;
|
|
589
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
597
590
|
};
|
|
598
591
|
includeIdField?: boolean | undefined;
|
|
599
592
|
})[] | undefined;
|
|
@@ -609,23 +602,23 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
609
602
|
form: {
|
|
610
603
|
fields: {
|
|
611
604
|
type: string;
|
|
605
|
+
id: string;
|
|
612
606
|
label: string;
|
|
613
607
|
}[];
|
|
614
608
|
};
|
|
615
609
|
table: {
|
|
616
610
|
columns: {
|
|
611
|
+
type: string;
|
|
612
|
+
id: string;
|
|
617
613
|
label: string;
|
|
618
|
-
display: {
|
|
619
|
-
type: "foreign";
|
|
620
|
-
localRelationRef: string;
|
|
621
|
-
labelExpression: string;
|
|
622
|
-
valueExpression: string;
|
|
623
|
-
} | {
|
|
624
|
-
type: "text";
|
|
625
|
-
modelFieldRef: string;
|
|
626
|
-
};
|
|
627
614
|
}[];
|
|
615
|
+
actions?: {
|
|
616
|
+
type: string;
|
|
617
|
+
id: string;
|
|
618
|
+
position: "inline" | "dropdown";
|
|
619
|
+
}[] | undefined;
|
|
628
620
|
};
|
|
621
|
+
nameFieldRef: string;
|
|
629
622
|
disableCreate?: boolean | undefined;
|
|
630
623
|
embeddedForms?: ({
|
|
631
624
|
type: "object";
|
|
@@ -635,6 +628,7 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
635
628
|
form: {
|
|
636
629
|
fields: {
|
|
637
630
|
type: string;
|
|
631
|
+
id: string;
|
|
638
632
|
label: string;
|
|
639
633
|
}[];
|
|
640
634
|
};
|
|
@@ -647,21 +641,15 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
647
641
|
form: {
|
|
648
642
|
fields: {
|
|
649
643
|
type: string;
|
|
644
|
+
id: string;
|
|
650
645
|
label: string;
|
|
651
646
|
}[];
|
|
652
647
|
};
|
|
653
648
|
table: {
|
|
654
649
|
columns: {
|
|
650
|
+
type: string;
|
|
651
|
+
id: string;
|
|
655
652
|
label: string;
|
|
656
|
-
display: {
|
|
657
|
-
type: "foreign";
|
|
658
|
-
localRelationRef: string;
|
|
659
|
-
labelExpression: string;
|
|
660
|
-
valueExpression: string;
|
|
661
|
-
} | {
|
|
662
|
-
type: "text";
|
|
663
|
-
modelFieldRef: string;
|
|
664
|
-
};
|
|
665
653
|
}[];
|
|
666
654
|
};
|
|
667
655
|
includeIdField?: boolean | undefined;
|
|
@@ -677,24 +665,24 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
677
665
|
modelRef: string;
|
|
678
666
|
form: {
|
|
679
667
|
fields: z.objectInputType<{
|
|
668
|
+
id: z.ZodDefault<z.ZodString>;
|
|
680
669
|
type: z.ZodString;
|
|
681
670
|
label: z.ZodString;
|
|
682
671
|
}, z.ZodTypeAny, "passthrough">[];
|
|
683
672
|
};
|
|
684
673
|
table: {
|
|
685
|
-
columns: {
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
};
|
|
696
|
-
}[];
|
|
674
|
+
columns: z.objectInputType<{
|
|
675
|
+
id: z.ZodDefault<z.ZodString>;
|
|
676
|
+
type: z.ZodString;
|
|
677
|
+
label: z.ZodString;
|
|
678
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
679
|
+
actions?: z.objectInputType<{
|
|
680
|
+
id: z.ZodDefault<z.ZodString>;
|
|
681
|
+
type: z.ZodString;
|
|
682
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
683
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
697
684
|
};
|
|
685
|
+
nameFieldRef: string;
|
|
698
686
|
disableCreate?: boolean | undefined;
|
|
699
687
|
embeddedForms?: ({
|
|
700
688
|
type: "object";
|
|
@@ -703,6 +691,7 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
703
691
|
modelRef: string;
|
|
704
692
|
form: {
|
|
705
693
|
fields: z.objectInputType<{
|
|
694
|
+
id: z.ZodDefault<z.ZodString>;
|
|
706
695
|
type: z.ZodString;
|
|
707
696
|
label: z.ZodString;
|
|
708
697
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -715,23 +704,17 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
715
704
|
modelRef: string;
|
|
716
705
|
form: {
|
|
717
706
|
fields: z.objectInputType<{
|
|
707
|
+
id: z.ZodDefault<z.ZodString>;
|
|
718
708
|
type: z.ZodString;
|
|
719
709
|
label: z.ZodString;
|
|
720
710
|
}, z.ZodTypeAny, "passthrough">[];
|
|
721
711
|
};
|
|
722
712
|
table: {
|
|
723
|
-
columns: {
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
labelExpression: string;
|
|
729
|
-
valueExpression: string;
|
|
730
|
-
} | {
|
|
731
|
-
type: "text";
|
|
732
|
-
modelFieldRef: string;
|
|
733
|
-
};
|
|
734
|
-
}[];
|
|
713
|
+
columns: z.objectInputType<{
|
|
714
|
+
id: z.ZodDefault<z.ZodString>;
|
|
715
|
+
type: z.ZodString;
|
|
716
|
+
label: z.ZodString;
|
|
717
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
735
718
|
};
|
|
736
719
|
includeIdField?: boolean | undefined;
|
|
737
720
|
})[] | undefined;
|
|
@@ -747,23 +730,23 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
747
730
|
form: {
|
|
748
731
|
fields: {
|
|
749
732
|
type: string;
|
|
733
|
+
id: string;
|
|
750
734
|
label: string;
|
|
751
735
|
}[];
|
|
752
736
|
};
|
|
753
737
|
table: {
|
|
754
738
|
columns: {
|
|
739
|
+
type: string;
|
|
740
|
+
id: string;
|
|
755
741
|
label: string;
|
|
756
|
-
display: {
|
|
757
|
-
type: "foreign";
|
|
758
|
-
localRelationRef: string;
|
|
759
|
-
labelExpression: string;
|
|
760
|
-
valueExpression: string;
|
|
761
|
-
} | {
|
|
762
|
-
type: "text";
|
|
763
|
-
modelFieldRef: string;
|
|
764
|
-
};
|
|
765
742
|
}[];
|
|
743
|
+
actions?: {
|
|
744
|
+
type: string;
|
|
745
|
+
id: string;
|
|
746
|
+
position: "inline" | "dropdown";
|
|
747
|
+
}[] | undefined;
|
|
766
748
|
};
|
|
749
|
+
nameFieldRef: string;
|
|
767
750
|
disableCreate?: boolean | undefined;
|
|
768
751
|
embeddedForms?: ({
|
|
769
752
|
type: "object";
|
|
@@ -773,6 +756,7 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
773
756
|
form: {
|
|
774
757
|
fields: {
|
|
775
758
|
type: string;
|
|
759
|
+
id: string;
|
|
776
760
|
label: string;
|
|
777
761
|
}[];
|
|
778
762
|
};
|
|
@@ -785,21 +769,15 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
785
769
|
form: {
|
|
786
770
|
fields: {
|
|
787
771
|
type: string;
|
|
772
|
+
id: string;
|
|
788
773
|
label: string;
|
|
789
774
|
}[];
|
|
790
775
|
};
|
|
791
776
|
table: {
|
|
792
777
|
columns: {
|
|
778
|
+
type: string;
|
|
779
|
+
id: string;
|
|
793
780
|
label: string;
|
|
794
|
-
display: {
|
|
795
|
-
type: "foreign";
|
|
796
|
-
localRelationRef: string;
|
|
797
|
-
labelExpression: string;
|
|
798
|
-
valueExpression: string;
|
|
799
|
-
} | {
|
|
800
|
-
type: "text";
|
|
801
|
-
modelFieldRef: string;
|
|
802
|
-
};
|
|
803
781
|
}[];
|
|
804
782
|
};
|
|
805
783
|
includeIdField?: boolean | undefined;
|
|
@@ -815,24 +793,24 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
815
793
|
modelRef: string;
|
|
816
794
|
form: {
|
|
817
795
|
fields: z.objectInputType<{
|
|
796
|
+
id: z.ZodDefault<z.ZodString>;
|
|
818
797
|
type: z.ZodString;
|
|
819
798
|
label: z.ZodString;
|
|
820
799
|
}, z.ZodTypeAny, "passthrough">[];
|
|
821
800
|
};
|
|
822
801
|
table: {
|
|
823
|
-
columns: {
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
};
|
|
834
|
-
}[];
|
|
802
|
+
columns: z.objectInputType<{
|
|
803
|
+
id: z.ZodDefault<z.ZodString>;
|
|
804
|
+
type: z.ZodString;
|
|
805
|
+
label: z.ZodString;
|
|
806
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
807
|
+
actions?: z.objectInputType<{
|
|
808
|
+
id: z.ZodDefault<z.ZodString>;
|
|
809
|
+
type: z.ZodString;
|
|
810
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
811
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
835
812
|
};
|
|
813
|
+
nameFieldRef: string;
|
|
836
814
|
disableCreate?: boolean | undefined;
|
|
837
815
|
embeddedForms?: ({
|
|
838
816
|
type: "object";
|
|
@@ -841,6 +819,7 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
841
819
|
modelRef: string;
|
|
842
820
|
form: {
|
|
843
821
|
fields: z.objectInputType<{
|
|
822
|
+
id: z.ZodDefault<z.ZodString>;
|
|
844
823
|
type: z.ZodString;
|
|
845
824
|
label: z.ZodString;
|
|
846
825
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -853,23 +832,17 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
853
832
|
modelRef: string;
|
|
854
833
|
form: {
|
|
855
834
|
fields: z.objectInputType<{
|
|
835
|
+
id: z.ZodDefault<z.ZodString>;
|
|
856
836
|
type: z.ZodString;
|
|
857
837
|
label: z.ZodString;
|
|
858
838
|
}, z.ZodTypeAny, "passthrough">[];
|
|
859
839
|
};
|
|
860
840
|
table: {
|
|
861
|
-
columns: {
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
labelExpression: string;
|
|
867
|
-
valueExpression: string;
|
|
868
|
-
} | {
|
|
869
|
-
type: "text";
|
|
870
|
-
modelFieldRef: string;
|
|
871
|
-
};
|
|
872
|
-
}[];
|
|
841
|
+
columns: z.objectInputType<{
|
|
842
|
+
id: z.ZodDefault<z.ZodString>;
|
|
843
|
+
type: z.ZodString;
|
|
844
|
+
label: z.ZodString;
|
|
845
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
873
846
|
};
|
|
874
847
|
includeIdField?: boolean | undefined;
|
|
875
848
|
})[] | undefined;
|
|
@@ -885,23 +858,23 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
885
858
|
form: {
|
|
886
859
|
fields: {
|
|
887
860
|
type: string;
|
|
861
|
+
id: string;
|
|
888
862
|
label: string;
|
|
889
863
|
}[];
|
|
890
864
|
};
|
|
891
865
|
table: {
|
|
892
866
|
columns: {
|
|
867
|
+
type: string;
|
|
868
|
+
id: string;
|
|
893
869
|
label: string;
|
|
894
|
-
display: {
|
|
895
|
-
type: "foreign";
|
|
896
|
-
localRelationRef: string;
|
|
897
|
-
labelExpression: string;
|
|
898
|
-
valueExpression: string;
|
|
899
|
-
} | {
|
|
900
|
-
type: "text";
|
|
901
|
-
modelFieldRef: string;
|
|
902
|
-
};
|
|
903
870
|
}[];
|
|
871
|
+
actions?: {
|
|
872
|
+
type: string;
|
|
873
|
+
id: string;
|
|
874
|
+
position: "inline" | "dropdown";
|
|
875
|
+
}[] | undefined;
|
|
904
876
|
};
|
|
877
|
+
nameFieldRef: string;
|
|
905
878
|
disableCreate?: boolean | undefined;
|
|
906
879
|
embeddedForms?: ({
|
|
907
880
|
type: "object";
|
|
@@ -911,6 +884,7 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
911
884
|
form: {
|
|
912
885
|
fields: {
|
|
913
886
|
type: string;
|
|
887
|
+
id: string;
|
|
914
888
|
label: string;
|
|
915
889
|
}[];
|
|
916
890
|
};
|
|
@@ -923,21 +897,15 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
923
897
|
form: {
|
|
924
898
|
fields: {
|
|
925
899
|
type: string;
|
|
900
|
+
id: string;
|
|
926
901
|
label: string;
|
|
927
902
|
}[];
|
|
928
903
|
};
|
|
929
904
|
table: {
|
|
930
905
|
columns: {
|
|
906
|
+
type: string;
|
|
907
|
+
id: string;
|
|
931
908
|
label: string;
|
|
932
|
-
display: {
|
|
933
|
-
type: "foreign";
|
|
934
|
-
localRelationRef: string;
|
|
935
|
-
labelExpression: string;
|
|
936
|
-
valueExpression: string;
|
|
937
|
-
} | {
|
|
938
|
-
type: "text";
|
|
939
|
-
modelFieldRef: string;
|
|
940
|
-
};
|
|
941
909
|
}[];
|
|
942
910
|
};
|
|
943
911
|
includeIdField?: boolean | undefined;
|
|
@@ -953,24 +921,24 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
953
921
|
modelRef: string;
|
|
954
922
|
form: {
|
|
955
923
|
fields: z.objectInputType<{
|
|
924
|
+
id: z.ZodDefault<z.ZodString>;
|
|
956
925
|
type: z.ZodString;
|
|
957
926
|
label: z.ZodString;
|
|
958
927
|
}, z.ZodTypeAny, "passthrough">[];
|
|
959
928
|
};
|
|
960
929
|
table: {
|
|
961
|
-
columns: {
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
};
|
|
972
|
-
}[];
|
|
930
|
+
columns: z.objectInputType<{
|
|
931
|
+
id: z.ZodDefault<z.ZodString>;
|
|
932
|
+
type: z.ZodString;
|
|
933
|
+
label: z.ZodString;
|
|
934
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
935
|
+
actions?: z.objectInputType<{
|
|
936
|
+
id: z.ZodDefault<z.ZodString>;
|
|
937
|
+
type: z.ZodString;
|
|
938
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
939
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
973
940
|
};
|
|
941
|
+
nameFieldRef: string;
|
|
974
942
|
disableCreate?: boolean | undefined;
|
|
975
943
|
embeddedForms?: ({
|
|
976
944
|
type: "object";
|
|
@@ -979,6 +947,7 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
979
947
|
modelRef: string;
|
|
980
948
|
form: {
|
|
981
949
|
fields: z.objectInputType<{
|
|
950
|
+
id: z.ZodDefault<z.ZodString>;
|
|
982
951
|
type: z.ZodString;
|
|
983
952
|
label: z.ZodString;
|
|
984
953
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -991,23 +960,17 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
991
960
|
modelRef: string;
|
|
992
961
|
form: {
|
|
993
962
|
fields: z.objectInputType<{
|
|
963
|
+
id: z.ZodDefault<z.ZodString>;
|
|
994
964
|
type: z.ZodString;
|
|
995
965
|
label: z.ZodString;
|
|
996
966
|
}, z.ZodTypeAny, "passthrough">[];
|
|
997
967
|
};
|
|
998
968
|
table: {
|
|
999
|
-
columns: {
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
labelExpression: string;
|
|
1005
|
-
valueExpression: string;
|
|
1006
|
-
} | {
|
|
1007
|
-
type: "text";
|
|
1008
|
-
modelFieldRef: string;
|
|
1009
|
-
};
|
|
1010
|
-
}[];
|
|
969
|
+
columns: z.objectInputType<{
|
|
970
|
+
id: z.ZodDefault<z.ZodString>;
|
|
971
|
+
type: z.ZodString;
|
|
972
|
+
label: z.ZodString;
|
|
973
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1011
974
|
};
|
|
1012
975
|
includeIdField?: boolean | undefined;
|
|
1013
976
|
})[] | undefined;
|
|
@@ -1028,23 +991,23 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
1028
991
|
form: {
|
|
1029
992
|
fields: {
|
|
1030
993
|
type: string;
|
|
994
|
+
id: string;
|
|
1031
995
|
label: string;
|
|
1032
996
|
}[];
|
|
1033
997
|
};
|
|
1034
998
|
table: {
|
|
1035
999
|
columns: {
|
|
1000
|
+
type: string;
|
|
1001
|
+
id: string;
|
|
1036
1002
|
label: string;
|
|
1037
|
-
display: {
|
|
1038
|
-
type: "foreign";
|
|
1039
|
-
localRelationRef: string;
|
|
1040
|
-
labelExpression: string;
|
|
1041
|
-
valueExpression: string;
|
|
1042
|
-
} | {
|
|
1043
|
-
type: "text";
|
|
1044
|
-
modelFieldRef: string;
|
|
1045
|
-
};
|
|
1046
1003
|
}[];
|
|
1004
|
+
actions?: {
|
|
1005
|
+
type: string;
|
|
1006
|
+
id: string;
|
|
1007
|
+
position: "inline" | "dropdown";
|
|
1008
|
+
}[] | undefined;
|
|
1047
1009
|
};
|
|
1010
|
+
nameFieldRef: string;
|
|
1048
1011
|
disableCreate?: boolean | undefined;
|
|
1049
1012
|
embeddedForms?: ({
|
|
1050
1013
|
type: "object";
|
|
@@ -1054,6 +1017,7 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
1054
1017
|
form: {
|
|
1055
1018
|
fields: {
|
|
1056
1019
|
type: string;
|
|
1020
|
+
id: string;
|
|
1057
1021
|
label: string;
|
|
1058
1022
|
}[];
|
|
1059
1023
|
};
|
|
@@ -1066,21 +1030,15 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
1066
1030
|
form: {
|
|
1067
1031
|
fields: {
|
|
1068
1032
|
type: string;
|
|
1033
|
+
id: string;
|
|
1069
1034
|
label: string;
|
|
1070
1035
|
}[];
|
|
1071
1036
|
};
|
|
1072
1037
|
table: {
|
|
1073
1038
|
columns: {
|
|
1039
|
+
type: string;
|
|
1040
|
+
id: string;
|
|
1074
1041
|
label: string;
|
|
1075
|
-
display: {
|
|
1076
|
-
type: "foreign";
|
|
1077
|
-
localRelationRef: string;
|
|
1078
|
-
labelExpression: string;
|
|
1079
|
-
valueExpression: string;
|
|
1080
|
-
} | {
|
|
1081
|
-
type: "text";
|
|
1082
|
-
modelFieldRef: string;
|
|
1083
|
-
};
|
|
1084
1042
|
}[];
|
|
1085
1043
|
};
|
|
1086
1044
|
includeIdField?: boolean | undefined;
|
|
@@ -1101,24 +1059,24 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
1101
1059
|
modelRef: string;
|
|
1102
1060
|
form: {
|
|
1103
1061
|
fields: z.objectInputType<{
|
|
1062
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1104
1063
|
type: z.ZodString;
|
|
1105
1064
|
label: z.ZodString;
|
|
1106
1065
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1107
1066
|
};
|
|
1108
1067
|
table: {
|
|
1109
|
-
columns: {
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
};
|
|
1120
|
-
}[];
|
|
1068
|
+
columns: z.objectInputType<{
|
|
1069
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1070
|
+
type: z.ZodString;
|
|
1071
|
+
label: z.ZodString;
|
|
1072
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1073
|
+
actions?: z.objectInputType<{
|
|
1074
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1075
|
+
type: z.ZodString;
|
|
1076
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
1077
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1121
1078
|
};
|
|
1079
|
+
nameFieldRef: string;
|
|
1122
1080
|
disableCreate?: boolean | undefined;
|
|
1123
1081
|
embeddedForms?: ({
|
|
1124
1082
|
type: "object";
|
|
@@ -1127,6 +1085,7 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
1127
1085
|
modelRef: string;
|
|
1128
1086
|
form: {
|
|
1129
1087
|
fields: z.objectInputType<{
|
|
1088
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1130
1089
|
type: z.ZodString;
|
|
1131
1090
|
label: z.ZodString;
|
|
1132
1091
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -1139,23 +1098,17 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
1139
1098
|
modelRef: string;
|
|
1140
1099
|
form: {
|
|
1141
1100
|
fields: z.objectInputType<{
|
|
1101
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1142
1102
|
type: z.ZodString;
|
|
1143
1103
|
label: z.ZodString;
|
|
1144
1104
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1145
1105
|
};
|
|
1146
1106
|
table: {
|
|
1147
|
-
columns: {
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
labelExpression: string;
|
|
1153
|
-
valueExpression: string;
|
|
1154
|
-
} | {
|
|
1155
|
-
type: "text";
|
|
1156
|
-
modelFieldRef: string;
|
|
1157
|
-
};
|
|
1158
|
-
}[];
|
|
1107
|
+
columns: z.objectInputType<{
|
|
1108
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1109
|
+
type: z.ZodString;
|
|
1110
|
+
label: z.ZodString;
|
|
1111
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1159
1112
|
};
|
|
1160
1113
|
includeIdField?: boolean | undefined;
|
|
1161
1114
|
})[] | undefined;
|
|
@@ -1176,23 +1129,23 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
1176
1129
|
form: {
|
|
1177
1130
|
fields: {
|
|
1178
1131
|
type: string;
|
|
1132
|
+
id: string;
|
|
1179
1133
|
label: string;
|
|
1180
1134
|
}[];
|
|
1181
1135
|
};
|
|
1182
1136
|
table: {
|
|
1183
1137
|
columns: {
|
|
1138
|
+
type: string;
|
|
1139
|
+
id: string;
|
|
1184
1140
|
label: string;
|
|
1185
|
-
display: {
|
|
1186
|
-
type: "foreign";
|
|
1187
|
-
localRelationRef: string;
|
|
1188
|
-
labelExpression: string;
|
|
1189
|
-
valueExpression: string;
|
|
1190
|
-
} | {
|
|
1191
|
-
type: "text";
|
|
1192
|
-
modelFieldRef: string;
|
|
1193
|
-
};
|
|
1194
1141
|
}[];
|
|
1142
|
+
actions?: {
|
|
1143
|
+
type: string;
|
|
1144
|
+
id: string;
|
|
1145
|
+
position: "inline" | "dropdown";
|
|
1146
|
+
}[] | undefined;
|
|
1195
1147
|
};
|
|
1148
|
+
nameFieldRef: string;
|
|
1196
1149
|
disableCreate?: boolean | undefined;
|
|
1197
1150
|
embeddedForms?: ({
|
|
1198
1151
|
type: "object";
|
|
@@ -1202,6 +1155,7 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
1202
1155
|
form: {
|
|
1203
1156
|
fields: {
|
|
1204
1157
|
type: string;
|
|
1158
|
+
id: string;
|
|
1205
1159
|
label: string;
|
|
1206
1160
|
}[];
|
|
1207
1161
|
};
|
|
@@ -1214,21 +1168,15 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
1214
1168
|
form: {
|
|
1215
1169
|
fields: {
|
|
1216
1170
|
type: string;
|
|
1171
|
+
id: string;
|
|
1217
1172
|
label: string;
|
|
1218
1173
|
}[];
|
|
1219
1174
|
};
|
|
1220
1175
|
table: {
|
|
1221
1176
|
columns: {
|
|
1177
|
+
type: string;
|
|
1178
|
+
id: string;
|
|
1222
1179
|
label: string;
|
|
1223
|
-
display: {
|
|
1224
|
-
type: "foreign";
|
|
1225
|
-
localRelationRef: string;
|
|
1226
|
-
labelExpression: string;
|
|
1227
|
-
valueExpression: string;
|
|
1228
|
-
} | {
|
|
1229
|
-
type: "text";
|
|
1230
|
-
modelFieldRef: string;
|
|
1231
|
-
};
|
|
1232
1180
|
}[];
|
|
1233
1181
|
};
|
|
1234
1182
|
includeIdField?: boolean | undefined;
|
|
@@ -1249,24 +1197,24 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
1249
1197
|
modelRef: string;
|
|
1250
1198
|
form: {
|
|
1251
1199
|
fields: z.objectInputType<{
|
|
1200
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1252
1201
|
type: z.ZodString;
|
|
1253
1202
|
label: z.ZodString;
|
|
1254
1203
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1255
1204
|
};
|
|
1256
1205
|
table: {
|
|
1257
|
-
columns: {
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
};
|
|
1268
|
-
}[];
|
|
1206
|
+
columns: z.objectInputType<{
|
|
1207
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1208
|
+
type: z.ZodString;
|
|
1209
|
+
label: z.ZodString;
|
|
1210
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1211
|
+
actions?: z.objectInputType<{
|
|
1212
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1213
|
+
type: z.ZodString;
|
|
1214
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
1215
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1269
1216
|
};
|
|
1217
|
+
nameFieldRef: string;
|
|
1270
1218
|
disableCreate?: boolean | undefined;
|
|
1271
1219
|
embeddedForms?: ({
|
|
1272
1220
|
type: "object";
|
|
@@ -1275,6 +1223,7 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
1275
1223
|
modelRef: string;
|
|
1276
1224
|
form: {
|
|
1277
1225
|
fields: z.objectInputType<{
|
|
1226
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1278
1227
|
type: z.ZodString;
|
|
1279
1228
|
label: z.ZodString;
|
|
1280
1229
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -1287,23 +1236,17 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
1287
1236
|
modelRef: string;
|
|
1288
1237
|
form: {
|
|
1289
1238
|
fields: z.objectInputType<{
|
|
1239
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1290
1240
|
type: z.ZodString;
|
|
1291
1241
|
label: z.ZodString;
|
|
1292
1242
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1293
1243
|
};
|
|
1294
1244
|
table: {
|
|
1295
|
-
columns: {
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
labelExpression: string;
|
|
1301
|
-
valueExpression: string;
|
|
1302
|
-
} | {
|
|
1303
|
-
type: "text";
|
|
1304
|
-
modelFieldRef: string;
|
|
1305
|
-
};
|
|
1306
|
-
}[];
|
|
1245
|
+
columns: z.objectInputType<{
|
|
1246
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1247
|
+
type: z.ZodString;
|
|
1248
|
+
label: z.ZodString;
|
|
1249
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1307
1250
|
};
|
|
1308
1251
|
includeIdField?: boolean | undefined;
|
|
1309
1252
|
})[] | undefined;
|
|
@@ -1338,23 +1281,23 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
1338
1281
|
form: {
|
|
1339
1282
|
fields: {
|
|
1340
1283
|
type: string;
|
|
1284
|
+
id: string;
|
|
1341
1285
|
label: string;
|
|
1342
1286
|
}[];
|
|
1343
1287
|
};
|
|
1344
1288
|
table: {
|
|
1345
1289
|
columns: {
|
|
1290
|
+
type: string;
|
|
1291
|
+
id: string;
|
|
1346
1292
|
label: string;
|
|
1347
|
-
display: {
|
|
1348
|
-
type: "foreign";
|
|
1349
|
-
localRelationRef: string;
|
|
1350
|
-
labelExpression: string;
|
|
1351
|
-
valueExpression: string;
|
|
1352
|
-
} | {
|
|
1353
|
-
type: "text";
|
|
1354
|
-
modelFieldRef: string;
|
|
1355
|
-
};
|
|
1356
1293
|
}[];
|
|
1294
|
+
actions?: {
|
|
1295
|
+
type: string;
|
|
1296
|
+
id: string;
|
|
1297
|
+
position: "inline" | "dropdown";
|
|
1298
|
+
}[] | undefined;
|
|
1357
1299
|
};
|
|
1300
|
+
nameFieldRef: string;
|
|
1358
1301
|
disableCreate?: boolean | undefined;
|
|
1359
1302
|
embeddedForms?: ({
|
|
1360
1303
|
type: "object";
|
|
@@ -1364,6 +1307,7 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
1364
1307
|
form: {
|
|
1365
1308
|
fields: {
|
|
1366
1309
|
type: string;
|
|
1310
|
+
id: string;
|
|
1367
1311
|
label: string;
|
|
1368
1312
|
}[];
|
|
1369
1313
|
};
|
|
@@ -1376,21 +1320,15 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
1376
1320
|
form: {
|
|
1377
1321
|
fields: {
|
|
1378
1322
|
type: string;
|
|
1323
|
+
id: string;
|
|
1379
1324
|
label: string;
|
|
1380
1325
|
}[];
|
|
1381
1326
|
};
|
|
1382
1327
|
table: {
|
|
1383
1328
|
columns: {
|
|
1329
|
+
type: string;
|
|
1330
|
+
id: string;
|
|
1384
1331
|
label: string;
|
|
1385
|
-
display: {
|
|
1386
|
-
type: "foreign";
|
|
1387
|
-
localRelationRef: string;
|
|
1388
|
-
labelExpression: string;
|
|
1389
|
-
valueExpression: string;
|
|
1390
|
-
} | {
|
|
1391
|
-
type: "text";
|
|
1392
|
-
modelFieldRef: string;
|
|
1393
|
-
};
|
|
1394
1332
|
}[];
|
|
1395
1333
|
};
|
|
1396
1334
|
includeIdField?: boolean | undefined;
|
|
@@ -1422,24 +1360,24 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
1422
1360
|
modelRef: string;
|
|
1423
1361
|
form: {
|
|
1424
1362
|
fields: z.objectInputType<{
|
|
1363
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1425
1364
|
type: z.ZodString;
|
|
1426
1365
|
label: z.ZodString;
|
|
1427
1366
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1428
1367
|
};
|
|
1429
1368
|
table: {
|
|
1430
|
-
columns: {
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
};
|
|
1441
|
-
}[];
|
|
1369
|
+
columns: z.objectInputType<{
|
|
1370
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1371
|
+
type: z.ZodString;
|
|
1372
|
+
label: z.ZodString;
|
|
1373
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1374
|
+
actions?: z.objectInputType<{
|
|
1375
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1376
|
+
type: z.ZodString;
|
|
1377
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
1378
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1442
1379
|
};
|
|
1380
|
+
nameFieldRef: string;
|
|
1443
1381
|
disableCreate?: boolean | undefined;
|
|
1444
1382
|
embeddedForms?: ({
|
|
1445
1383
|
type: "object";
|
|
@@ -1448,6 +1386,7 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
1448
1386
|
modelRef: string;
|
|
1449
1387
|
form: {
|
|
1450
1388
|
fields: z.objectInputType<{
|
|
1389
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1451
1390
|
type: z.ZodString;
|
|
1452
1391
|
label: z.ZodString;
|
|
1453
1392
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -1460,23 +1399,17 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
1460
1399
|
modelRef: string;
|
|
1461
1400
|
form: {
|
|
1462
1401
|
fields: z.objectInputType<{
|
|
1402
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1463
1403
|
type: z.ZodString;
|
|
1464
1404
|
label: z.ZodString;
|
|
1465
1405
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1466
1406
|
};
|
|
1467
1407
|
table: {
|
|
1468
|
-
columns: {
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
labelExpression: string;
|
|
1474
|
-
valueExpression: string;
|
|
1475
|
-
} | {
|
|
1476
|
-
type: "text";
|
|
1477
|
-
modelFieldRef: string;
|
|
1478
|
-
};
|
|
1479
|
-
}[];
|
|
1408
|
+
columns: z.objectInputType<{
|
|
1409
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1410
|
+
type: z.ZodString;
|
|
1411
|
+
label: z.ZodString;
|
|
1412
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1480
1413
|
};
|
|
1481
1414
|
includeIdField?: boolean | undefined;
|
|
1482
1415
|
})[] | undefined;
|
|
@@ -1519,23 +1452,23 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
1519
1452
|
form: {
|
|
1520
1453
|
fields: {
|
|
1521
1454
|
type: string;
|
|
1455
|
+
id: string;
|
|
1522
1456
|
label: string;
|
|
1523
1457
|
}[];
|
|
1524
1458
|
};
|
|
1525
1459
|
table: {
|
|
1526
1460
|
columns: {
|
|
1461
|
+
type: string;
|
|
1462
|
+
id: string;
|
|
1527
1463
|
label: string;
|
|
1528
|
-
display: {
|
|
1529
|
-
type: "foreign";
|
|
1530
|
-
localRelationRef: string;
|
|
1531
|
-
labelExpression: string;
|
|
1532
|
-
valueExpression: string;
|
|
1533
|
-
} | {
|
|
1534
|
-
type: "text";
|
|
1535
|
-
modelFieldRef: string;
|
|
1536
|
-
};
|
|
1537
1464
|
}[];
|
|
1465
|
+
actions?: {
|
|
1466
|
+
type: string;
|
|
1467
|
+
id: string;
|
|
1468
|
+
position: "inline" | "dropdown";
|
|
1469
|
+
}[] | undefined;
|
|
1538
1470
|
};
|
|
1471
|
+
nameFieldRef: string;
|
|
1539
1472
|
disableCreate?: boolean | undefined;
|
|
1540
1473
|
embeddedForms?: ({
|
|
1541
1474
|
type: "object";
|
|
@@ -1545,6 +1478,7 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
1545
1478
|
form: {
|
|
1546
1479
|
fields: {
|
|
1547
1480
|
type: string;
|
|
1481
|
+
id: string;
|
|
1548
1482
|
label: string;
|
|
1549
1483
|
}[];
|
|
1550
1484
|
};
|
|
@@ -1557,21 +1491,15 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
1557
1491
|
form: {
|
|
1558
1492
|
fields: {
|
|
1559
1493
|
type: string;
|
|
1494
|
+
id: string;
|
|
1560
1495
|
label: string;
|
|
1561
1496
|
}[];
|
|
1562
1497
|
};
|
|
1563
1498
|
table: {
|
|
1564
1499
|
columns: {
|
|
1500
|
+
type: string;
|
|
1501
|
+
id: string;
|
|
1565
1502
|
label: string;
|
|
1566
|
-
display: {
|
|
1567
|
-
type: "foreign";
|
|
1568
|
-
localRelationRef: string;
|
|
1569
|
-
labelExpression: string;
|
|
1570
|
-
valueExpression: string;
|
|
1571
|
-
} | {
|
|
1572
|
-
type: "text";
|
|
1573
|
-
modelFieldRef: string;
|
|
1574
|
-
};
|
|
1575
1503
|
}[];
|
|
1576
1504
|
};
|
|
1577
1505
|
includeIdField?: boolean | undefined;
|
|
@@ -1614,24 +1542,24 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
1614
1542
|
modelRef: string;
|
|
1615
1543
|
form: {
|
|
1616
1544
|
fields: z.objectInputType<{
|
|
1545
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1617
1546
|
type: z.ZodString;
|
|
1618
1547
|
label: z.ZodString;
|
|
1619
1548
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1620
1549
|
};
|
|
1621
1550
|
table: {
|
|
1622
|
-
columns: {
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
};
|
|
1633
|
-
}[];
|
|
1551
|
+
columns: z.objectInputType<{
|
|
1552
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1553
|
+
type: z.ZodString;
|
|
1554
|
+
label: z.ZodString;
|
|
1555
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1556
|
+
actions?: z.objectInputType<{
|
|
1557
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1558
|
+
type: z.ZodString;
|
|
1559
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
1560
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1634
1561
|
};
|
|
1562
|
+
nameFieldRef: string;
|
|
1635
1563
|
disableCreate?: boolean | undefined;
|
|
1636
1564
|
embeddedForms?: ({
|
|
1637
1565
|
type: "object";
|
|
@@ -1640,6 +1568,7 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
1640
1568
|
modelRef: string;
|
|
1641
1569
|
form: {
|
|
1642
1570
|
fields: z.objectInputType<{
|
|
1571
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1643
1572
|
type: z.ZodString;
|
|
1644
1573
|
label: z.ZodString;
|
|
1645
1574
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -1652,23 +1581,17 @@ export declare const createAppSchema: (context: import("./creator/types.js").Def
|
|
|
1652
1581
|
modelRef: string;
|
|
1653
1582
|
form: {
|
|
1654
1583
|
fields: z.objectInputType<{
|
|
1584
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1655
1585
|
type: z.ZodString;
|
|
1656
1586
|
label: z.ZodString;
|
|
1657
1587
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1658
1588
|
};
|
|
1659
1589
|
table: {
|
|
1660
|
-
columns: {
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
labelExpression: string;
|
|
1666
|
-
valueExpression: string;
|
|
1667
|
-
} | {
|
|
1668
|
-
type: "text";
|
|
1669
|
-
modelFieldRef: string;
|
|
1670
|
-
};
|
|
1671
|
-
}[];
|
|
1590
|
+
columns: z.objectInputType<{
|
|
1591
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1592
|
+
type: z.ZodString;
|
|
1593
|
+
label: z.ZodString;
|
|
1594
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1672
1595
|
};
|
|
1673
1596
|
includeIdField?: boolean | undefined;
|
|
1674
1597
|
})[] | undefined;
|
|
@@ -1743,109 +1666,137 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
1743
1666
|
}>, z.ZodObject<{
|
|
1744
1667
|
type: z.ZodLiteral<"crud">;
|
|
1745
1668
|
modelRef: z.ZodEffects<z.ZodString, string, string>;
|
|
1669
|
+
nameFieldRef: z.ZodEffects<z.ZodString, string, string>;
|
|
1746
1670
|
disableCreate: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, boolean | undefined>;
|
|
1747
1671
|
table: z.ZodObject<{
|
|
1748
|
-
columns: z.ZodArray<z.ZodObject<{
|
|
1672
|
+
columns: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1673
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1674
|
+
type: z.ZodString;
|
|
1749
1675
|
label: z.ZodString;
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
}, {
|
|
1770
|
-
type: "foreign";
|
|
1771
|
-
localRelationRef: string;
|
|
1772
|
-
labelExpression: string;
|
|
1773
|
-
valueExpression: string;
|
|
1774
|
-
}>]>;
|
|
1775
|
-
}, "strip", z.ZodTypeAny, {
|
|
1776
|
-
label: string;
|
|
1777
|
-
display: {
|
|
1778
|
-
type: "foreign";
|
|
1779
|
-
localRelationRef: string;
|
|
1780
|
-
labelExpression: string;
|
|
1781
|
-
valueExpression: string;
|
|
1782
|
-
} | {
|
|
1783
|
-
type: "text";
|
|
1784
|
-
modelFieldRef: string;
|
|
1785
|
-
};
|
|
1786
|
-
}, {
|
|
1676
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1677
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1678
|
+
type: z.ZodString;
|
|
1679
|
+
label: z.ZodString;
|
|
1680
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1681
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1682
|
+
type: z.ZodString;
|
|
1683
|
+
label: z.ZodString;
|
|
1684
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
1685
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1686
|
+
type: z.ZodString;
|
|
1687
|
+
label: z.ZodString;
|
|
1688
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1689
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1690
|
+
type: z.ZodString;
|
|
1691
|
+
label: z.ZodString;
|
|
1692
|
+
}, z.ZodTypeAny, "passthrough">>, {
|
|
1693
|
+
type: string;
|
|
1694
|
+
id: string;
|
|
1787
1695
|
label: string;
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
}
|
|
1696
|
+
}, z.objectInputType<{
|
|
1697
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1698
|
+
type: z.ZodString;
|
|
1699
|
+
label: z.ZodString;
|
|
1700
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
1701
|
+
actions: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1702
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1703
|
+
type: z.ZodString;
|
|
1704
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
1705
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1706
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1707
|
+
type: z.ZodString;
|
|
1708
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
1709
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1710
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1711
|
+
type: z.ZodString;
|
|
1712
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
1713
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
1714
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1715
|
+
type: z.ZodString;
|
|
1716
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
1717
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1718
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1719
|
+
type: z.ZodString;
|
|
1720
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
1721
|
+
}, z.ZodTypeAny, "passthrough">>, {
|
|
1722
|
+
type: string;
|
|
1723
|
+
id: string;
|
|
1724
|
+
position: "inline" | "dropdown";
|
|
1725
|
+
}, z.objectInputType<{
|
|
1726
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1727
|
+
type: z.ZodString;
|
|
1728
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
1729
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>, {
|
|
1730
|
+
type: string;
|
|
1731
|
+
id: string;
|
|
1732
|
+
position: "inline" | "dropdown";
|
|
1733
|
+
}[] | undefined, z.objectInputType<{
|
|
1734
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1735
|
+
type: z.ZodString;
|
|
1736
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
1737
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined>;
|
|
1798
1738
|
}, "strip", z.ZodTypeAny, {
|
|
1799
1739
|
columns: {
|
|
1740
|
+
type: string;
|
|
1741
|
+
id: string;
|
|
1800
1742
|
label: string;
|
|
1801
|
-
display: {
|
|
1802
|
-
type: "foreign";
|
|
1803
|
-
localRelationRef: string;
|
|
1804
|
-
labelExpression: string;
|
|
1805
|
-
valueExpression: string;
|
|
1806
|
-
} | {
|
|
1807
|
-
type: "text";
|
|
1808
|
-
modelFieldRef: string;
|
|
1809
|
-
};
|
|
1810
1743
|
}[];
|
|
1744
|
+
actions?: {
|
|
1745
|
+
type: string;
|
|
1746
|
+
id: string;
|
|
1747
|
+
position: "inline" | "dropdown";
|
|
1748
|
+
}[] | undefined;
|
|
1811
1749
|
}, {
|
|
1812
|
-
columns: {
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
};
|
|
1823
|
-
}[];
|
|
1750
|
+
columns: z.objectInputType<{
|
|
1751
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1752
|
+
type: z.ZodString;
|
|
1753
|
+
label: z.ZodString;
|
|
1754
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1755
|
+
actions?: z.objectInputType<{
|
|
1756
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1757
|
+
type: z.ZodString;
|
|
1758
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
1759
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1824
1760
|
}>;
|
|
1825
1761
|
form: z.ZodObject<{
|
|
1826
|
-
fields: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1762
|
+
fields: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1763
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1827
1764
|
type: z.ZodString;
|
|
1828
1765
|
label: z.ZodString;
|
|
1829
1766
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1767
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1768
|
+
type: z.ZodString;
|
|
1769
|
+
label: z.ZodString;
|
|
1770
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1771
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1772
|
+
type: z.ZodString;
|
|
1773
|
+
label: z.ZodString;
|
|
1774
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
1775
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1830
1776
|
type: z.ZodString;
|
|
1831
1777
|
label: z.ZodString;
|
|
1832
1778
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1779
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1833
1780
|
type: z.ZodString;
|
|
1834
1781
|
label: z.ZodString;
|
|
1835
1782
|
}, z.ZodTypeAny, "passthrough">>, {
|
|
1836
1783
|
type: string;
|
|
1784
|
+
id: string;
|
|
1837
1785
|
label: string;
|
|
1838
1786
|
}, z.objectInputType<{
|
|
1787
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1839
1788
|
type: z.ZodString;
|
|
1840
1789
|
label: z.ZodString;
|
|
1841
1790
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
1842
1791
|
}, "strip", z.ZodTypeAny, {
|
|
1843
1792
|
fields: {
|
|
1844
1793
|
type: string;
|
|
1794
|
+
id: string;
|
|
1845
1795
|
label: string;
|
|
1846
1796
|
}[];
|
|
1847
1797
|
}, {
|
|
1848
1798
|
fields: z.objectInputType<{
|
|
1799
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1849
1800
|
type: z.ZodString;
|
|
1850
1801
|
label: z.ZodString;
|
|
1851
1802
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -1857,29 +1808,44 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
1857
1808
|
includeIdField: z.ZodOptional<z.ZodBoolean>;
|
|
1858
1809
|
type: z.ZodLiteral<"object">;
|
|
1859
1810
|
form: z.ZodObject<{
|
|
1860
|
-
fields: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1811
|
+
fields: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1812
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1813
|
+
type: z.ZodString;
|
|
1814
|
+
label: z.ZodString;
|
|
1815
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1816
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1861
1817
|
type: z.ZodString;
|
|
1862
1818
|
label: z.ZodString;
|
|
1863
|
-
},
|
|
1819
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1820
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1821
|
+
type: z.ZodString;
|
|
1822
|
+
label: z.ZodString;
|
|
1823
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
1824
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1864
1825
|
type: z.ZodString;
|
|
1865
1826
|
label: z.ZodString;
|
|
1866
1827
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1828
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1867
1829
|
type: z.ZodString;
|
|
1868
1830
|
label: z.ZodString;
|
|
1869
1831
|
}, z.ZodTypeAny, "passthrough">>, {
|
|
1870
1832
|
type: string;
|
|
1833
|
+
id: string;
|
|
1871
1834
|
label: string;
|
|
1872
1835
|
}, z.objectInputType<{
|
|
1836
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1873
1837
|
type: z.ZodString;
|
|
1874
1838
|
label: z.ZodString;
|
|
1875
1839
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
1876
1840
|
}, "strip", z.ZodTypeAny, {
|
|
1877
1841
|
fields: {
|
|
1878
1842
|
type: string;
|
|
1843
|
+
id: string;
|
|
1879
1844
|
label: string;
|
|
1880
1845
|
}[];
|
|
1881
1846
|
}, {
|
|
1882
1847
|
fields: z.objectInputType<{
|
|
1848
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1883
1849
|
type: z.ZodString;
|
|
1884
1850
|
label: z.ZodString;
|
|
1885
1851
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -1892,6 +1858,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
1892
1858
|
form: {
|
|
1893
1859
|
fields: {
|
|
1894
1860
|
type: string;
|
|
1861
|
+
id: string;
|
|
1895
1862
|
label: string;
|
|
1896
1863
|
}[];
|
|
1897
1864
|
};
|
|
@@ -1903,6 +1870,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
1903
1870
|
modelRef: string;
|
|
1904
1871
|
form: {
|
|
1905
1872
|
fields: z.objectInputType<{
|
|
1873
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1906
1874
|
type: z.ZodString;
|
|
1907
1875
|
label: z.ZodString;
|
|
1908
1876
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -1915,107 +1883,87 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
1915
1883
|
includeIdField: z.ZodOptional<z.ZodBoolean>;
|
|
1916
1884
|
type: z.ZodLiteral<"list">;
|
|
1917
1885
|
table: z.ZodObject<{
|
|
1918
|
-
columns: z.ZodArray<z.ZodObject<{
|
|
1886
|
+
columns: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1887
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1888
|
+
type: z.ZodString;
|
|
1919
1889
|
label: z.ZodString;
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
}, {
|
|
1940
|
-
type: "foreign";
|
|
1941
|
-
localRelationRef: string;
|
|
1942
|
-
labelExpression: string;
|
|
1943
|
-
valueExpression: string;
|
|
1944
|
-
}>]>;
|
|
1945
|
-
}, "strip", z.ZodTypeAny, {
|
|
1946
|
-
label: string;
|
|
1947
|
-
display: {
|
|
1948
|
-
type: "foreign";
|
|
1949
|
-
localRelationRef: string;
|
|
1950
|
-
labelExpression: string;
|
|
1951
|
-
valueExpression: string;
|
|
1952
|
-
} | {
|
|
1953
|
-
type: "text";
|
|
1954
|
-
modelFieldRef: string;
|
|
1955
|
-
};
|
|
1956
|
-
}, {
|
|
1890
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1891
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1892
|
+
type: z.ZodString;
|
|
1893
|
+
label: z.ZodString;
|
|
1894
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1895
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1896
|
+
type: z.ZodString;
|
|
1897
|
+
label: z.ZodString;
|
|
1898
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
1899
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1900
|
+
type: z.ZodString;
|
|
1901
|
+
label: z.ZodString;
|
|
1902
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1903
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1904
|
+
type: z.ZodString;
|
|
1905
|
+
label: z.ZodString;
|
|
1906
|
+
}, z.ZodTypeAny, "passthrough">>, {
|
|
1907
|
+
type: string;
|
|
1908
|
+
id: string;
|
|
1957
1909
|
label: string;
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
} | {
|
|
1964
|
-
type: "text";
|
|
1965
|
-
modelFieldRef: string;
|
|
1966
|
-
};
|
|
1967
|
-
}>, "many">;
|
|
1910
|
+
}, z.objectInputType<{
|
|
1911
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1912
|
+
type: z.ZodString;
|
|
1913
|
+
label: z.ZodString;
|
|
1914
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
1968
1915
|
}, "strip", z.ZodTypeAny, {
|
|
1969
1916
|
columns: {
|
|
1917
|
+
type: string;
|
|
1918
|
+
id: string;
|
|
1970
1919
|
label: string;
|
|
1971
|
-
display: {
|
|
1972
|
-
type: "foreign";
|
|
1973
|
-
localRelationRef: string;
|
|
1974
|
-
labelExpression: string;
|
|
1975
|
-
valueExpression: string;
|
|
1976
|
-
} | {
|
|
1977
|
-
type: "text";
|
|
1978
|
-
modelFieldRef: string;
|
|
1979
|
-
};
|
|
1980
1920
|
}[];
|
|
1981
1921
|
}, {
|
|
1982
|
-
columns: {
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
labelExpression: string;
|
|
1988
|
-
valueExpression: string;
|
|
1989
|
-
} | {
|
|
1990
|
-
type: "text";
|
|
1991
|
-
modelFieldRef: string;
|
|
1992
|
-
};
|
|
1993
|
-
}[];
|
|
1922
|
+
columns: z.objectInputType<{
|
|
1923
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1924
|
+
type: z.ZodString;
|
|
1925
|
+
label: z.ZodString;
|
|
1926
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1994
1927
|
}>;
|
|
1995
1928
|
form: z.ZodObject<{
|
|
1996
|
-
fields: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1929
|
+
fields: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1930
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1997
1931
|
type: z.ZodString;
|
|
1998
1932
|
label: z.ZodString;
|
|
1999
1933
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1934
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1935
|
+
type: z.ZodString;
|
|
1936
|
+
label: z.ZodString;
|
|
1937
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1938
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1939
|
+
type: z.ZodString;
|
|
1940
|
+
label: z.ZodString;
|
|
1941
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
1942
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2000
1943
|
type: z.ZodString;
|
|
2001
1944
|
label: z.ZodString;
|
|
2002
1945
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1946
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2003
1947
|
type: z.ZodString;
|
|
2004
1948
|
label: z.ZodString;
|
|
2005
1949
|
}, z.ZodTypeAny, "passthrough">>, {
|
|
2006
1950
|
type: string;
|
|
1951
|
+
id: string;
|
|
2007
1952
|
label: string;
|
|
2008
1953
|
}, z.objectInputType<{
|
|
1954
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2009
1955
|
type: z.ZodString;
|
|
2010
1956
|
label: z.ZodString;
|
|
2011
1957
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
2012
1958
|
}, "strip", z.ZodTypeAny, {
|
|
2013
1959
|
fields: {
|
|
2014
1960
|
type: string;
|
|
1961
|
+
id: string;
|
|
2015
1962
|
label: string;
|
|
2016
1963
|
}[];
|
|
2017
1964
|
}, {
|
|
2018
1965
|
fields: z.objectInputType<{
|
|
1966
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2019
1967
|
type: z.ZodString;
|
|
2020
1968
|
label: z.ZodString;
|
|
2021
1969
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -2028,21 +1976,15 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2028
1976
|
form: {
|
|
2029
1977
|
fields: {
|
|
2030
1978
|
type: string;
|
|
1979
|
+
id: string;
|
|
2031
1980
|
label: string;
|
|
2032
1981
|
}[];
|
|
2033
1982
|
};
|
|
2034
1983
|
table: {
|
|
2035
1984
|
columns: {
|
|
1985
|
+
type: string;
|
|
1986
|
+
id: string;
|
|
2036
1987
|
label: string;
|
|
2037
|
-
display: {
|
|
2038
|
-
type: "foreign";
|
|
2039
|
-
localRelationRef: string;
|
|
2040
|
-
labelExpression: string;
|
|
2041
|
-
valueExpression: string;
|
|
2042
|
-
} | {
|
|
2043
|
-
type: "text";
|
|
2044
|
-
modelFieldRef: string;
|
|
2045
|
-
};
|
|
2046
1988
|
}[];
|
|
2047
1989
|
};
|
|
2048
1990
|
includeIdField?: boolean | undefined;
|
|
@@ -2053,23 +1995,17 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2053
1995
|
modelRef: string;
|
|
2054
1996
|
form: {
|
|
2055
1997
|
fields: z.objectInputType<{
|
|
1998
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2056
1999
|
type: z.ZodString;
|
|
2057
2000
|
label: z.ZodString;
|
|
2058
2001
|
}, z.ZodTypeAny, "passthrough">[];
|
|
2059
2002
|
};
|
|
2060
2003
|
table: {
|
|
2061
|
-
columns: {
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
labelExpression: string;
|
|
2067
|
-
valueExpression: string;
|
|
2068
|
-
} | {
|
|
2069
|
-
type: "text";
|
|
2070
|
-
modelFieldRef: string;
|
|
2071
|
-
};
|
|
2072
|
-
}[];
|
|
2004
|
+
columns: z.objectInputType<{
|
|
2005
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2006
|
+
type: z.ZodString;
|
|
2007
|
+
label: z.ZodString;
|
|
2008
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
2073
2009
|
};
|
|
2074
2010
|
includeIdField?: boolean | undefined;
|
|
2075
2011
|
}>]>, {
|
|
@@ -2080,6 +2016,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2080
2016
|
form: {
|
|
2081
2017
|
fields: {
|
|
2082
2018
|
type: string;
|
|
2019
|
+
id: string;
|
|
2083
2020
|
label: string;
|
|
2084
2021
|
}[];
|
|
2085
2022
|
};
|
|
@@ -2092,21 +2029,15 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2092
2029
|
form: {
|
|
2093
2030
|
fields: {
|
|
2094
2031
|
type: string;
|
|
2032
|
+
id: string;
|
|
2095
2033
|
label: string;
|
|
2096
2034
|
}[];
|
|
2097
2035
|
};
|
|
2098
2036
|
table: {
|
|
2099
2037
|
columns: {
|
|
2038
|
+
type: string;
|
|
2039
|
+
id: string;
|
|
2100
2040
|
label: string;
|
|
2101
|
-
display: {
|
|
2102
|
-
type: "foreign";
|
|
2103
|
-
localRelationRef: string;
|
|
2104
|
-
labelExpression: string;
|
|
2105
|
-
valueExpression: string;
|
|
2106
|
-
} | {
|
|
2107
|
-
type: "text";
|
|
2108
|
-
modelFieldRef: string;
|
|
2109
|
-
};
|
|
2110
2041
|
}[];
|
|
2111
2042
|
};
|
|
2112
2043
|
includeIdField?: boolean | undefined;
|
|
@@ -2117,6 +2048,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2117
2048
|
modelRef: string;
|
|
2118
2049
|
form: {
|
|
2119
2050
|
fields: z.objectInputType<{
|
|
2051
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2120
2052
|
type: z.ZodString;
|
|
2121
2053
|
label: z.ZodString;
|
|
2122
2054
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -2129,23 +2061,17 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2129
2061
|
modelRef: string;
|
|
2130
2062
|
form: {
|
|
2131
2063
|
fields: z.objectInputType<{
|
|
2064
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2132
2065
|
type: z.ZodString;
|
|
2133
2066
|
label: z.ZodString;
|
|
2134
2067
|
}, z.ZodTypeAny, "passthrough">[];
|
|
2135
2068
|
};
|
|
2136
2069
|
table: {
|
|
2137
|
-
columns: {
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
labelExpression: string;
|
|
2143
|
-
valueExpression: string;
|
|
2144
|
-
} | {
|
|
2145
|
-
type: "text";
|
|
2146
|
-
modelFieldRef: string;
|
|
2147
|
-
};
|
|
2148
|
-
}[];
|
|
2070
|
+
columns: z.objectInputType<{
|
|
2071
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2072
|
+
type: z.ZodString;
|
|
2073
|
+
label: z.ZodString;
|
|
2074
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
2149
2075
|
};
|
|
2150
2076
|
includeIdField?: boolean | undefined;
|
|
2151
2077
|
}>, "many">>;
|
|
@@ -2155,23 +2081,23 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2155
2081
|
form: {
|
|
2156
2082
|
fields: {
|
|
2157
2083
|
type: string;
|
|
2084
|
+
id: string;
|
|
2158
2085
|
label: string;
|
|
2159
2086
|
}[];
|
|
2160
2087
|
};
|
|
2161
2088
|
table: {
|
|
2162
2089
|
columns: {
|
|
2090
|
+
type: string;
|
|
2091
|
+
id: string;
|
|
2163
2092
|
label: string;
|
|
2164
|
-
display: {
|
|
2165
|
-
type: "foreign";
|
|
2166
|
-
localRelationRef: string;
|
|
2167
|
-
labelExpression: string;
|
|
2168
|
-
valueExpression: string;
|
|
2169
|
-
} | {
|
|
2170
|
-
type: "text";
|
|
2171
|
-
modelFieldRef: string;
|
|
2172
|
-
};
|
|
2173
2093
|
}[];
|
|
2094
|
+
actions?: {
|
|
2095
|
+
type: string;
|
|
2096
|
+
id: string;
|
|
2097
|
+
position: "inline" | "dropdown";
|
|
2098
|
+
}[] | undefined;
|
|
2174
2099
|
};
|
|
2100
|
+
nameFieldRef: string;
|
|
2175
2101
|
disableCreate?: boolean | undefined;
|
|
2176
2102
|
embeddedForms?: ({
|
|
2177
2103
|
type: "object";
|
|
@@ -2181,6 +2107,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2181
2107
|
form: {
|
|
2182
2108
|
fields: {
|
|
2183
2109
|
type: string;
|
|
2110
|
+
id: string;
|
|
2184
2111
|
label: string;
|
|
2185
2112
|
}[];
|
|
2186
2113
|
};
|
|
@@ -2193,21 +2120,15 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2193
2120
|
form: {
|
|
2194
2121
|
fields: {
|
|
2195
2122
|
type: string;
|
|
2123
|
+
id: string;
|
|
2196
2124
|
label: string;
|
|
2197
2125
|
}[];
|
|
2198
2126
|
};
|
|
2199
2127
|
table: {
|
|
2200
2128
|
columns: {
|
|
2129
|
+
type: string;
|
|
2130
|
+
id: string;
|
|
2201
2131
|
label: string;
|
|
2202
|
-
display: {
|
|
2203
|
-
type: "foreign";
|
|
2204
|
-
localRelationRef: string;
|
|
2205
|
-
labelExpression: string;
|
|
2206
|
-
valueExpression: string;
|
|
2207
|
-
} | {
|
|
2208
|
-
type: "text";
|
|
2209
|
-
modelFieldRef: string;
|
|
2210
|
-
};
|
|
2211
2132
|
}[];
|
|
2212
2133
|
};
|
|
2213
2134
|
includeIdField?: boolean | undefined;
|
|
@@ -2217,24 +2138,24 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2217
2138
|
modelRef: string;
|
|
2218
2139
|
form: {
|
|
2219
2140
|
fields: z.objectInputType<{
|
|
2141
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2220
2142
|
type: z.ZodString;
|
|
2221
2143
|
label: z.ZodString;
|
|
2222
2144
|
}, z.ZodTypeAny, "passthrough">[];
|
|
2223
2145
|
};
|
|
2224
2146
|
table: {
|
|
2225
|
-
columns: {
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
};
|
|
2236
|
-
}[];
|
|
2147
|
+
columns: z.objectInputType<{
|
|
2148
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2149
|
+
type: z.ZodString;
|
|
2150
|
+
label: z.ZodString;
|
|
2151
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
2152
|
+
actions?: z.objectInputType<{
|
|
2153
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2154
|
+
type: z.ZodString;
|
|
2155
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
2156
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
2237
2157
|
};
|
|
2158
|
+
nameFieldRef: string;
|
|
2238
2159
|
disableCreate?: boolean | undefined;
|
|
2239
2160
|
embeddedForms?: ({
|
|
2240
2161
|
type: "object";
|
|
@@ -2243,6 +2164,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2243
2164
|
modelRef: string;
|
|
2244
2165
|
form: {
|
|
2245
2166
|
fields: z.objectInputType<{
|
|
2167
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2246
2168
|
type: z.ZodString;
|
|
2247
2169
|
label: z.ZodString;
|
|
2248
2170
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -2255,23 +2177,17 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2255
2177
|
modelRef: string;
|
|
2256
2178
|
form: {
|
|
2257
2179
|
fields: z.objectInputType<{
|
|
2180
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2258
2181
|
type: z.ZodString;
|
|
2259
2182
|
label: z.ZodString;
|
|
2260
2183
|
}, z.ZodTypeAny, "passthrough">[];
|
|
2261
2184
|
};
|
|
2262
2185
|
table: {
|
|
2263
|
-
columns: {
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
labelExpression: string;
|
|
2269
|
-
valueExpression: string;
|
|
2270
|
-
} | {
|
|
2271
|
-
type: "text";
|
|
2272
|
-
modelFieldRef: string;
|
|
2273
|
-
};
|
|
2274
|
-
}[];
|
|
2186
|
+
columns: z.objectInputType<{
|
|
2187
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2188
|
+
type: z.ZodString;
|
|
2189
|
+
label: z.ZodString;
|
|
2190
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
2275
2191
|
};
|
|
2276
2192
|
includeIdField?: boolean | undefined;
|
|
2277
2193
|
})[] | undefined;
|
|
@@ -2287,23 +2203,23 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2287
2203
|
form: {
|
|
2288
2204
|
fields: {
|
|
2289
2205
|
type: string;
|
|
2206
|
+
id: string;
|
|
2290
2207
|
label: string;
|
|
2291
2208
|
}[];
|
|
2292
2209
|
};
|
|
2293
2210
|
table: {
|
|
2294
2211
|
columns: {
|
|
2212
|
+
type: string;
|
|
2213
|
+
id: string;
|
|
2295
2214
|
label: string;
|
|
2296
|
-
display: {
|
|
2297
|
-
type: "foreign";
|
|
2298
|
-
localRelationRef: string;
|
|
2299
|
-
labelExpression: string;
|
|
2300
|
-
valueExpression: string;
|
|
2301
|
-
} | {
|
|
2302
|
-
type: "text";
|
|
2303
|
-
modelFieldRef: string;
|
|
2304
|
-
};
|
|
2305
2215
|
}[];
|
|
2216
|
+
actions?: {
|
|
2217
|
+
type: string;
|
|
2218
|
+
id: string;
|
|
2219
|
+
position: "inline" | "dropdown";
|
|
2220
|
+
}[] | undefined;
|
|
2306
2221
|
};
|
|
2222
|
+
nameFieldRef: string;
|
|
2307
2223
|
disableCreate?: boolean | undefined;
|
|
2308
2224
|
embeddedForms?: ({
|
|
2309
2225
|
type: "object";
|
|
@@ -2313,6 +2229,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2313
2229
|
form: {
|
|
2314
2230
|
fields: {
|
|
2315
2231
|
type: string;
|
|
2232
|
+
id: string;
|
|
2316
2233
|
label: string;
|
|
2317
2234
|
}[];
|
|
2318
2235
|
};
|
|
@@ -2325,21 +2242,15 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2325
2242
|
form: {
|
|
2326
2243
|
fields: {
|
|
2327
2244
|
type: string;
|
|
2245
|
+
id: string;
|
|
2328
2246
|
label: string;
|
|
2329
2247
|
}[];
|
|
2330
2248
|
};
|
|
2331
2249
|
table: {
|
|
2332
2250
|
columns: {
|
|
2251
|
+
type: string;
|
|
2252
|
+
id: string;
|
|
2333
2253
|
label: string;
|
|
2334
|
-
display: {
|
|
2335
|
-
type: "foreign";
|
|
2336
|
-
localRelationRef: string;
|
|
2337
|
-
labelExpression: string;
|
|
2338
|
-
valueExpression: string;
|
|
2339
|
-
} | {
|
|
2340
|
-
type: "text";
|
|
2341
|
-
modelFieldRef: string;
|
|
2342
|
-
};
|
|
2343
2254
|
}[];
|
|
2344
2255
|
};
|
|
2345
2256
|
includeIdField?: boolean | undefined;
|
|
@@ -2355,24 +2266,24 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2355
2266
|
modelRef: string;
|
|
2356
2267
|
form: {
|
|
2357
2268
|
fields: z.objectInputType<{
|
|
2269
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2358
2270
|
type: z.ZodString;
|
|
2359
2271
|
label: z.ZodString;
|
|
2360
2272
|
}, z.ZodTypeAny, "passthrough">[];
|
|
2361
2273
|
};
|
|
2362
2274
|
table: {
|
|
2363
|
-
columns: {
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
};
|
|
2374
|
-
}[];
|
|
2275
|
+
columns: z.objectInputType<{
|
|
2276
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2277
|
+
type: z.ZodString;
|
|
2278
|
+
label: z.ZodString;
|
|
2279
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
2280
|
+
actions?: z.objectInputType<{
|
|
2281
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2282
|
+
type: z.ZodString;
|
|
2283
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
2284
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
2375
2285
|
};
|
|
2286
|
+
nameFieldRef: string;
|
|
2376
2287
|
disableCreate?: boolean | undefined;
|
|
2377
2288
|
embeddedForms?: ({
|
|
2378
2289
|
type: "object";
|
|
@@ -2381,6 +2292,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2381
2292
|
modelRef: string;
|
|
2382
2293
|
form: {
|
|
2383
2294
|
fields: z.objectInputType<{
|
|
2295
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2384
2296
|
type: z.ZodString;
|
|
2385
2297
|
label: z.ZodString;
|
|
2386
2298
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -2393,23 +2305,17 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2393
2305
|
modelRef: string;
|
|
2394
2306
|
form: {
|
|
2395
2307
|
fields: z.objectInputType<{
|
|
2308
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2396
2309
|
type: z.ZodString;
|
|
2397
2310
|
label: z.ZodString;
|
|
2398
2311
|
}, z.ZodTypeAny, "passthrough">[];
|
|
2399
2312
|
};
|
|
2400
2313
|
table: {
|
|
2401
|
-
columns: {
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
labelExpression: string;
|
|
2407
|
-
valueExpression: string;
|
|
2408
|
-
} | {
|
|
2409
|
-
type: "text";
|
|
2410
|
-
modelFieldRef: string;
|
|
2411
|
-
};
|
|
2412
|
-
}[];
|
|
2314
|
+
columns: z.objectInputType<{
|
|
2315
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2316
|
+
type: z.ZodString;
|
|
2317
|
+
label: z.ZodString;
|
|
2318
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
2413
2319
|
};
|
|
2414
2320
|
includeIdField?: boolean | undefined;
|
|
2415
2321
|
})[] | undefined;
|
|
@@ -2425,23 +2331,23 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2425
2331
|
form: {
|
|
2426
2332
|
fields: {
|
|
2427
2333
|
type: string;
|
|
2334
|
+
id: string;
|
|
2428
2335
|
label: string;
|
|
2429
2336
|
}[];
|
|
2430
2337
|
};
|
|
2431
2338
|
table: {
|
|
2432
2339
|
columns: {
|
|
2340
|
+
type: string;
|
|
2341
|
+
id: string;
|
|
2433
2342
|
label: string;
|
|
2434
|
-
display: {
|
|
2435
|
-
type: "foreign";
|
|
2436
|
-
localRelationRef: string;
|
|
2437
|
-
labelExpression: string;
|
|
2438
|
-
valueExpression: string;
|
|
2439
|
-
} | {
|
|
2440
|
-
type: "text";
|
|
2441
|
-
modelFieldRef: string;
|
|
2442
|
-
};
|
|
2443
2343
|
}[];
|
|
2344
|
+
actions?: {
|
|
2345
|
+
type: string;
|
|
2346
|
+
id: string;
|
|
2347
|
+
position: "inline" | "dropdown";
|
|
2348
|
+
}[] | undefined;
|
|
2444
2349
|
};
|
|
2350
|
+
nameFieldRef: string;
|
|
2445
2351
|
disableCreate?: boolean | undefined;
|
|
2446
2352
|
embeddedForms?: ({
|
|
2447
2353
|
type: "object";
|
|
@@ -2451,6 +2357,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2451
2357
|
form: {
|
|
2452
2358
|
fields: {
|
|
2453
2359
|
type: string;
|
|
2360
|
+
id: string;
|
|
2454
2361
|
label: string;
|
|
2455
2362
|
}[];
|
|
2456
2363
|
};
|
|
@@ -2463,21 +2370,15 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2463
2370
|
form: {
|
|
2464
2371
|
fields: {
|
|
2465
2372
|
type: string;
|
|
2373
|
+
id: string;
|
|
2466
2374
|
label: string;
|
|
2467
2375
|
}[];
|
|
2468
2376
|
};
|
|
2469
2377
|
table: {
|
|
2470
2378
|
columns: {
|
|
2379
|
+
type: string;
|
|
2380
|
+
id: string;
|
|
2471
2381
|
label: string;
|
|
2472
|
-
display: {
|
|
2473
|
-
type: "foreign";
|
|
2474
|
-
localRelationRef: string;
|
|
2475
|
-
labelExpression: string;
|
|
2476
|
-
valueExpression: string;
|
|
2477
|
-
} | {
|
|
2478
|
-
type: "text";
|
|
2479
|
-
modelFieldRef: string;
|
|
2480
|
-
};
|
|
2481
2382
|
}[];
|
|
2482
2383
|
};
|
|
2483
2384
|
includeIdField?: boolean | undefined;
|
|
@@ -2493,24 +2394,24 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2493
2394
|
modelRef: string;
|
|
2494
2395
|
form: {
|
|
2495
2396
|
fields: z.objectInputType<{
|
|
2397
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2496
2398
|
type: z.ZodString;
|
|
2497
2399
|
label: z.ZodString;
|
|
2498
2400
|
}, z.ZodTypeAny, "passthrough">[];
|
|
2499
2401
|
};
|
|
2500
2402
|
table: {
|
|
2501
|
-
columns: {
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
};
|
|
2512
|
-
}[];
|
|
2403
|
+
columns: z.objectInputType<{
|
|
2404
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2405
|
+
type: z.ZodString;
|
|
2406
|
+
label: z.ZodString;
|
|
2407
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
2408
|
+
actions?: z.objectInputType<{
|
|
2409
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2410
|
+
type: z.ZodString;
|
|
2411
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
2412
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
2513
2413
|
};
|
|
2414
|
+
nameFieldRef: string;
|
|
2514
2415
|
disableCreate?: boolean | undefined;
|
|
2515
2416
|
embeddedForms?: ({
|
|
2516
2417
|
type: "object";
|
|
@@ -2519,6 +2420,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2519
2420
|
modelRef: string;
|
|
2520
2421
|
form: {
|
|
2521
2422
|
fields: z.objectInputType<{
|
|
2423
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2522
2424
|
type: z.ZodString;
|
|
2523
2425
|
label: z.ZodString;
|
|
2524
2426
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -2531,23 +2433,17 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2531
2433
|
modelRef: string;
|
|
2532
2434
|
form: {
|
|
2533
2435
|
fields: z.objectInputType<{
|
|
2436
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2534
2437
|
type: z.ZodString;
|
|
2535
2438
|
label: z.ZodString;
|
|
2536
2439
|
}, z.ZodTypeAny, "passthrough">[];
|
|
2537
2440
|
};
|
|
2538
2441
|
table: {
|
|
2539
|
-
columns: {
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
labelExpression: string;
|
|
2545
|
-
valueExpression: string;
|
|
2546
|
-
} | {
|
|
2547
|
-
type: "text";
|
|
2548
|
-
modelFieldRef: string;
|
|
2549
|
-
};
|
|
2550
|
-
}[];
|
|
2442
|
+
columns: z.objectInputType<{
|
|
2443
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2444
|
+
type: z.ZodString;
|
|
2445
|
+
label: z.ZodString;
|
|
2446
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
2551
2447
|
};
|
|
2552
2448
|
includeIdField?: boolean | undefined;
|
|
2553
2449
|
})[] | undefined;
|
|
@@ -2563,23 +2459,23 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2563
2459
|
form: {
|
|
2564
2460
|
fields: {
|
|
2565
2461
|
type: string;
|
|
2462
|
+
id: string;
|
|
2566
2463
|
label: string;
|
|
2567
2464
|
}[];
|
|
2568
2465
|
};
|
|
2569
2466
|
table: {
|
|
2570
2467
|
columns: {
|
|
2468
|
+
type: string;
|
|
2469
|
+
id: string;
|
|
2571
2470
|
label: string;
|
|
2572
|
-
display: {
|
|
2573
|
-
type: "foreign";
|
|
2574
|
-
localRelationRef: string;
|
|
2575
|
-
labelExpression: string;
|
|
2576
|
-
valueExpression: string;
|
|
2577
|
-
} | {
|
|
2578
|
-
type: "text";
|
|
2579
|
-
modelFieldRef: string;
|
|
2580
|
-
};
|
|
2581
2471
|
}[];
|
|
2472
|
+
actions?: {
|
|
2473
|
+
type: string;
|
|
2474
|
+
id: string;
|
|
2475
|
+
position: "inline" | "dropdown";
|
|
2476
|
+
}[] | undefined;
|
|
2582
2477
|
};
|
|
2478
|
+
nameFieldRef: string;
|
|
2583
2479
|
disableCreate?: boolean | undefined;
|
|
2584
2480
|
embeddedForms?: ({
|
|
2585
2481
|
type: "object";
|
|
@@ -2589,6 +2485,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2589
2485
|
form: {
|
|
2590
2486
|
fields: {
|
|
2591
2487
|
type: string;
|
|
2488
|
+
id: string;
|
|
2592
2489
|
label: string;
|
|
2593
2490
|
}[];
|
|
2594
2491
|
};
|
|
@@ -2601,21 +2498,15 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2601
2498
|
form: {
|
|
2602
2499
|
fields: {
|
|
2603
2500
|
type: string;
|
|
2501
|
+
id: string;
|
|
2604
2502
|
label: string;
|
|
2605
2503
|
}[];
|
|
2606
2504
|
};
|
|
2607
2505
|
table: {
|
|
2608
2506
|
columns: {
|
|
2507
|
+
type: string;
|
|
2508
|
+
id: string;
|
|
2609
2509
|
label: string;
|
|
2610
|
-
display: {
|
|
2611
|
-
type: "foreign";
|
|
2612
|
-
localRelationRef: string;
|
|
2613
|
-
labelExpression: string;
|
|
2614
|
-
valueExpression: string;
|
|
2615
|
-
} | {
|
|
2616
|
-
type: "text";
|
|
2617
|
-
modelFieldRef: string;
|
|
2618
|
-
};
|
|
2619
2510
|
}[];
|
|
2620
2511
|
};
|
|
2621
2512
|
includeIdField?: boolean | undefined;
|
|
@@ -2631,24 +2522,24 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2631
2522
|
modelRef: string;
|
|
2632
2523
|
form: {
|
|
2633
2524
|
fields: z.objectInputType<{
|
|
2525
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2634
2526
|
type: z.ZodString;
|
|
2635
2527
|
label: z.ZodString;
|
|
2636
2528
|
}, z.ZodTypeAny, "passthrough">[];
|
|
2637
2529
|
};
|
|
2638
2530
|
table: {
|
|
2639
|
-
columns: {
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
};
|
|
2650
|
-
}[];
|
|
2531
|
+
columns: z.objectInputType<{
|
|
2532
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2533
|
+
type: z.ZodString;
|
|
2534
|
+
label: z.ZodString;
|
|
2535
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
2536
|
+
actions?: z.objectInputType<{
|
|
2537
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2538
|
+
type: z.ZodString;
|
|
2539
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
2540
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
2651
2541
|
};
|
|
2542
|
+
nameFieldRef: string;
|
|
2652
2543
|
disableCreate?: boolean | undefined;
|
|
2653
2544
|
embeddedForms?: ({
|
|
2654
2545
|
type: "object";
|
|
@@ -2657,6 +2548,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2657
2548
|
modelRef: string;
|
|
2658
2549
|
form: {
|
|
2659
2550
|
fields: z.objectInputType<{
|
|
2551
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2660
2552
|
type: z.ZodString;
|
|
2661
2553
|
label: z.ZodString;
|
|
2662
2554
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -2669,23 +2561,17 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2669
2561
|
modelRef: string;
|
|
2670
2562
|
form: {
|
|
2671
2563
|
fields: z.objectInputType<{
|
|
2564
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2672
2565
|
type: z.ZodString;
|
|
2673
2566
|
label: z.ZodString;
|
|
2674
2567
|
}, z.ZodTypeAny, "passthrough">[];
|
|
2675
2568
|
};
|
|
2676
2569
|
table: {
|
|
2677
|
-
columns: {
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
labelExpression: string;
|
|
2683
|
-
valueExpression: string;
|
|
2684
|
-
} | {
|
|
2685
|
-
type: "text";
|
|
2686
|
-
modelFieldRef: string;
|
|
2687
|
-
};
|
|
2688
|
-
}[];
|
|
2570
|
+
columns: z.objectInputType<{
|
|
2571
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2572
|
+
type: z.ZodString;
|
|
2573
|
+
label: z.ZodString;
|
|
2574
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
2689
2575
|
};
|
|
2690
2576
|
includeIdField?: boolean | undefined;
|
|
2691
2577
|
})[] | undefined;
|
|
@@ -2706,23 +2592,23 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2706
2592
|
form: {
|
|
2707
2593
|
fields: {
|
|
2708
2594
|
type: string;
|
|
2595
|
+
id: string;
|
|
2709
2596
|
label: string;
|
|
2710
2597
|
}[];
|
|
2711
2598
|
};
|
|
2712
2599
|
table: {
|
|
2713
2600
|
columns: {
|
|
2601
|
+
type: string;
|
|
2602
|
+
id: string;
|
|
2714
2603
|
label: string;
|
|
2715
|
-
display: {
|
|
2716
|
-
type: "foreign";
|
|
2717
|
-
localRelationRef: string;
|
|
2718
|
-
labelExpression: string;
|
|
2719
|
-
valueExpression: string;
|
|
2720
|
-
} | {
|
|
2721
|
-
type: "text";
|
|
2722
|
-
modelFieldRef: string;
|
|
2723
|
-
};
|
|
2724
2604
|
}[];
|
|
2605
|
+
actions?: {
|
|
2606
|
+
type: string;
|
|
2607
|
+
id: string;
|
|
2608
|
+
position: "inline" | "dropdown";
|
|
2609
|
+
}[] | undefined;
|
|
2725
2610
|
};
|
|
2611
|
+
nameFieldRef: string;
|
|
2726
2612
|
disableCreate?: boolean | undefined;
|
|
2727
2613
|
embeddedForms?: ({
|
|
2728
2614
|
type: "object";
|
|
@@ -2732,6 +2618,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2732
2618
|
form: {
|
|
2733
2619
|
fields: {
|
|
2734
2620
|
type: string;
|
|
2621
|
+
id: string;
|
|
2735
2622
|
label: string;
|
|
2736
2623
|
}[];
|
|
2737
2624
|
};
|
|
@@ -2744,21 +2631,15 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2744
2631
|
form: {
|
|
2745
2632
|
fields: {
|
|
2746
2633
|
type: string;
|
|
2634
|
+
id: string;
|
|
2747
2635
|
label: string;
|
|
2748
2636
|
}[];
|
|
2749
2637
|
};
|
|
2750
2638
|
table: {
|
|
2751
2639
|
columns: {
|
|
2640
|
+
type: string;
|
|
2641
|
+
id: string;
|
|
2752
2642
|
label: string;
|
|
2753
|
-
display: {
|
|
2754
|
-
type: "foreign";
|
|
2755
|
-
localRelationRef: string;
|
|
2756
|
-
labelExpression: string;
|
|
2757
|
-
valueExpression: string;
|
|
2758
|
-
} | {
|
|
2759
|
-
type: "text";
|
|
2760
|
-
modelFieldRef: string;
|
|
2761
|
-
};
|
|
2762
2643
|
}[];
|
|
2763
2644
|
};
|
|
2764
2645
|
includeIdField?: boolean | undefined;
|
|
@@ -2779,24 +2660,24 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2779
2660
|
modelRef: string;
|
|
2780
2661
|
form: {
|
|
2781
2662
|
fields: z.objectInputType<{
|
|
2663
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2782
2664
|
type: z.ZodString;
|
|
2783
2665
|
label: z.ZodString;
|
|
2784
2666
|
}, z.ZodTypeAny, "passthrough">[];
|
|
2785
2667
|
};
|
|
2786
2668
|
table: {
|
|
2787
|
-
columns: {
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
};
|
|
2798
|
-
}[];
|
|
2669
|
+
columns: z.objectInputType<{
|
|
2670
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2671
|
+
type: z.ZodString;
|
|
2672
|
+
label: z.ZodString;
|
|
2673
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
2674
|
+
actions?: z.objectInputType<{
|
|
2675
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2676
|
+
type: z.ZodString;
|
|
2677
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
2678
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
2799
2679
|
};
|
|
2680
|
+
nameFieldRef: string;
|
|
2800
2681
|
disableCreate?: boolean | undefined;
|
|
2801
2682
|
embeddedForms?: ({
|
|
2802
2683
|
type: "object";
|
|
@@ -2805,6 +2686,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2805
2686
|
modelRef: string;
|
|
2806
2687
|
form: {
|
|
2807
2688
|
fields: z.objectInputType<{
|
|
2689
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2808
2690
|
type: z.ZodString;
|
|
2809
2691
|
label: z.ZodString;
|
|
2810
2692
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -2817,23 +2699,17 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2817
2699
|
modelRef: string;
|
|
2818
2700
|
form: {
|
|
2819
2701
|
fields: z.objectInputType<{
|
|
2702
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2820
2703
|
type: z.ZodString;
|
|
2821
2704
|
label: z.ZodString;
|
|
2822
2705
|
}, z.ZodTypeAny, "passthrough">[];
|
|
2823
2706
|
};
|
|
2824
2707
|
table: {
|
|
2825
|
-
columns: {
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
labelExpression: string;
|
|
2831
|
-
valueExpression: string;
|
|
2832
|
-
} | {
|
|
2833
|
-
type: "text";
|
|
2834
|
-
modelFieldRef: string;
|
|
2835
|
-
};
|
|
2836
|
-
}[];
|
|
2708
|
+
columns: z.objectInputType<{
|
|
2709
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2710
|
+
type: z.ZodString;
|
|
2711
|
+
label: z.ZodString;
|
|
2712
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
2837
2713
|
};
|
|
2838
2714
|
includeIdField?: boolean | undefined;
|
|
2839
2715
|
})[] | undefined;
|
|
@@ -2854,23 +2730,23 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2854
2730
|
form: {
|
|
2855
2731
|
fields: {
|
|
2856
2732
|
type: string;
|
|
2733
|
+
id: string;
|
|
2857
2734
|
label: string;
|
|
2858
2735
|
}[];
|
|
2859
2736
|
};
|
|
2860
2737
|
table: {
|
|
2861
2738
|
columns: {
|
|
2739
|
+
type: string;
|
|
2740
|
+
id: string;
|
|
2862
2741
|
label: string;
|
|
2863
|
-
display: {
|
|
2864
|
-
type: "foreign";
|
|
2865
|
-
localRelationRef: string;
|
|
2866
|
-
labelExpression: string;
|
|
2867
|
-
valueExpression: string;
|
|
2868
|
-
} | {
|
|
2869
|
-
type: "text";
|
|
2870
|
-
modelFieldRef: string;
|
|
2871
|
-
};
|
|
2872
2742
|
}[];
|
|
2743
|
+
actions?: {
|
|
2744
|
+
type: string;
|
|
2745
|
+
id: string;
|
|
2746
|
+
position: "inline" | "dropdown";
|
|
2747
|
+
}[] | undefined;
|
|
2873
2748
|
};
|
|
2749
|
+
nameFieldRef: string;
|
|
2874
2750
|
disableCreate?: boolean | undefined;
|
|
2875
2751
|
embeddedForms?: ({
|
|
2876
2752
|
type: "object";
|
|
@@ -2880,6 +2756,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2880
2756
|
form: {
|
|
2881
2757
|
fields: {
|
|
2882
2758
|
type: string;
|
|
2759
|
+
id: string;
|
|
2883
2760
|
label: string;
|
|
2884
2761
|
}[];
|
|
2885
2762
|
};
|
|
@@ -2892,21 +2769,15 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2892
2769
|
form: {
|
|
2893
2770
|
fields: {
|
|
2894
2771
|
type: string;
|
|
2772
|
+
id: string;
|
|
2895
2773
|
label: string;
|
|
2896
2774
|
}[];
|
|
2897
2775
|
};
|
|
2898
2776
|
table: {
|
|
2899
2777
|
columns: {
|
|
2778
|
+
type: string;
|
|
2779
|
+
id: string;
|
|
2900
2780
|
label: string;
|
|
2901
|
-
display: {
|
|
2902
|
-
type: "foreign";
|
|
2903
|
-
localRelationRef: string;
|
|
2904
|
-
labelExpression: string;
|
|
2905
|
-
valueExpression: string;
|
|
2906
|
-
} | {
|
|
2907
|
-
type: "text";
|
|
2908
|
-
modelFieldRef: string;
|
|
2909
|
-
};
|
|
2910
2781
|
}[];
|
|
2911
2782
|
};
|
|
2912
2783
|
includeIdField?: boolean | undefined;
|
|
@@ -2927,24 +2798,24 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2927
2798
|
modelRef: string;
|
|
2928
2799
|
form: {
|
|
2929
2800
|
fields: z.objectInputType<{
|
|
2801
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2930
2802
|
type: z.ZodString;
|
|
2931
2803
|
label: z.ZodString;
|
|
2932
2804
|
}, z.ZodTypeAny, "passthrough">[];
|
|
2933
2805
|
};
|
|
2934
2806
|
table: {
|
|
2935
|
-
columns: {
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
};
|
|
2946
|
-
}[];
|
|
2807
|
+
columns: z.objectInputType<{
|
|
2808
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2809
|
+
type: z.ZodString;
|
|
2810
|
+
label: z.ZodString;
|
|
2811
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
2812
|
+
actions?: z.objectInputType<{
|
|
2813
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2814
|
+
type: z.ZodString;
|
|
2815
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
2816
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
2947
2817
|
};
|
|
2818
|
+
nameFieldRef: string;
|
|
2948
2819
|
disableCreate?: boolean | undefined;
|
|
2949
2820
|
embeddedForms?: ({
|
|
2950
2821
|
type: "object";
|
|
@@ -2953,6 +2824,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2953
2824
|
modelRef: string;
|
|
2954
2825
|
form: {
|
|
2955
2826
|
fields: z.objectInputType<{
|
|
2827
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2956
2828
|
type: z.ZodString;
|
|
2957
2829
|
label: z.ZodString;
|
|
2958
2830
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -2965,23 +2837,17 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
2965
2837
|
modelRef: string;
|
|
2966
2838
|
form: {
|
|
2967
2839
|
fields: z.objectInputType<{
|
|
2840
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2968
2841
|
type: z.ZodString;
|
|
2969
2842
|
label: z.ZodString;
|
|
2970
2843
|
}, z.ZodTypeAny, "passthrough">[];
|
|
2971
2844
|
};
|
|
2972
2845
|
table: {
|
|
2973
|
-
columns: {
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
labelExpression: string;
|
|
2979
|
-
valueExpression: string;
|
|
2980
|
-
} | {
|
|
2981
|
-
type: "text";
|
|
2982
|
-
modelFieldRef: string;
|
|
2983
|
-
};
|
|
2984
|
-
}[];
|
|
2846
|
+
columns: z.objectInputType<{
|
|
2847
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2848
|
+
type: z.ZodString;
|
|
2849
|
+
label: z.ZodString;
|
|
2850
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
2985
2851
|
};
|
|
2986
2852
|
includeIdField?: boolean | undefined;
|
|
2987
2853
|
})[] | undefined;
|
|
@@ -3016,23 +2882,23 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
3016
2882
|
form: {
|
|
3017
2883
|
fields: {
|
|
3018
2884
|
type: string;
|
|
2885
|
+
id: string;
|
|
3019
2886
|
label: string;
|
|
3020
2887
|
}[];
|
|
3021
2888
|
};
|
|
3022
2889
|
table: {
|
|
3023
2890
|
columns: {
|
|
2891
|
+
type: string;
|
|
2892
|
+
id: string;
|
|
3024
2893
|
label: string;
|
|
3025
|
-
display: {
|
|
3026
|
-
type: "foreign";
|
|
3027
|
-
localRelationRef: string;
|
|
3028
|
-
labelExpression: string;
|
|
3029
|
-
valueExpression: string;
|
|
3030
|
-
} | {
|
|
3031
|
-
type: "text";
|
|
3032
|
-
modelFieldRef: string;
|
|
3033
|
-
};
|
|
3034
2894
|
}[];
|
|
2895
|
+
actions?: {
|
|
2896
|
+
type: string;
|
|
2897
|
+
id: string;
|
|
2898
|
+
position: "inline" | "dropdown";
|
|
2899
|
+
}[] | undefined;
|
|
3035
2900
|
};
|
|
2901
|
+
nameFieldRef: string;
|
|
3036
2902
|
disableCreate?: boolean | undefined;
|
|
3037
2903
|
embeddedForms?: ({
|
|
3038
2904
|
type: "object";
|
|
@@ -3042,6 +2908,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
3042
2908
|
form: {
|
|
3043
2909
|
fields: {
|
|
3044
2910
|
type: string;
|
|
2911
|
+
id: string;
|
|
3045
2912
|
label: string;
|
|
3046
2913
|
}[];
|
|
3047
2914
|
};
|
|
@@ -3054,21 +2921,15 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
3054
2921
|
form: {
|
|
3055
2922
|
fields: {
|
|
3056
2923
|
type: string;
|
|
2924
|
+
id: string;
|
|
3057
2925
|
label: string;
|
|
3058
2926
|
}[];
|
|
3059
2927
|
};
|
|
3060
2928
|
table: {
|
|
3061
2929
|
columns: {
|
|
2930
|
+
type: string;
|
|
2931
|
+
id: string;
|
|
3062
2932
|
label: string;
|
|
3063
|
-
display: {
|
|
3064
|
-
type: "foreign";
|
|
3065
|
-
localRelationRef: string;
|
|
3066
|
-
labelExpression: string;
|
|
3067
|
-
valueExpression: string;
|
|
3068
|
-
} | {
|
|
3069
|
-
type: "text";
|
|
3070
|
-
modelFieldRef: string;
|
|
3071
|
-
};
|
|
3072
2933
|
}[];
|
|
3073
2934
|
};
|
|
3074
2935
|
includeIdField?: boolean | undefined;
|
|
@@ -3100,24 +2961,24 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
3100
2961
|
modelRef: string;
|
|
3101
2962
|
form: {
|
|
3102
2963
|
fields: z.objectInputType<{
|
|
2964
|
+
id: z.ZodDefault<z.ZodString>;
|
|
3103
2965
|
type: z.ZodString;
|
|
3104
2966
|
label: z.ZodString;
|
|
3105
2967
|
}, z.ZodTypeAny, "passthrough">[];
|
|
3106
2968
|
};
|
|
3107
2969
|
table: {
|
|
3108
|
-
columns: {
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
};
|
|
3119
|
-
}[];
|
|
2970
|
+
columns: z.objectInputType<{
|
|
2971
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2972
|
+
type: z.ZodString;
|
|
2973
|
+
label: z.ZodString;
|
|
2974
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
2975
|
+
actions?: z.objectInputType<{
|
|
2976
|
+
id: z.ZodDefault<z.ZodString>;
|
|
2977
|
+
type: z.ZodString;
|
|
2978
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
2979
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
3120
2980
|
};
|
|
2981
|
+
nameFieldRef: string;
|
|
3121
2982
|
disableCreate?: boolean | undefined;
|
|
3122
2983
|
embeddedForms?: ({
|
|
3123
2984
|
type: "object";
|
|
@@ -3126,6 +2987,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
3126
2987
|
modelRef: string;
|
|
3127
2988
|
form: {
|
|
3128
2989
|
fields: z.objectInputType<{
|
|
2990
|
+
id: z.ZodDefault<z.ZodString>;
|
|
3129
2991
|
type: z.ZodString;
|
|
3130
2992
|
label: z.ZodString;
|
|
3131
2993
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -3138,23 +3000,17 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
3138
3000
|
modelRef: string;
|
|
3139
3001
|
form: {
|
|
3140
3002
|
fields: z.objectInputType<{
|
|
3003
|
+
id: z.ZodDefault<z.ZodString>;
|
|
3141
3004
|
type: z.ZodString;
|
|
3142
3005
|
label: z.ZodString;
|
|
3143
3006
|
}, z.ZodTypeAny, "passthrough">[];
|
|
3144
3007
|
};
|
|
3145
3008
|
table: {
|
|
3146
|
-
columns: {
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
labelExpression: string;
|
|
3152
|
-
valueExpression: string;
|
|
3153
|
-
} | {
|
|
3154
|
-
type: "text";
|
|
3155
|
-
modelFieldRef: string;
|
|
3156
|
-
};
|
|
3157
|
-
}[];
|
|
3009
|
+
columns: z.objectInputType<{
|
|
3010
|
+
id: z.ZodDefault<z.ZodString>;
|
|
3011
|
+
type: z.ZodString;
|
|
3012
|
+
label: z.ZodString;
|
|
3013
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
3158
3014
|
};
|
|
3159
3015
|
includeIdField?: boolean | undefined;
|
|
3160
3016
|
})[] | undefined;
|
|
@@ -3197,23 +3053,23 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
3197
3053
|
form: {
|
|
3198
3054
|
fields: {
|
|
3199
3055
|
type: string;
|
|
3056
|
+
id: string;
|
|
3200
3057
|
label: string;
|
|
3201
3058
|
}[];
|
|
3202
3059
|
};
|
|
3203
3060
|
table: {
|
|
3204
3061
|
columns: {
|
|
3062
|
+
type: string;
|
|
3063
|
+
id: string;
|
|
3205
3064
|
label: string;
|
|
3206
|
-
display: {
|
|
3207
|
-
type: "foreign";
|
|
3208
|
-
localRelationRef: string;
|
|
3209
|
-
labelExpression: string;
|
|
3210
|
-
valueExpression: string;
|
|
3211
|
-
} | {
|
|
3212
|
-
type: "text";
|
|
3213
|
-
modelFieldRef: string;
|
|
3214
|
-
};
|
|
3215
3065
|
}[];
|
|
3066
|
+
actions?: {
|
|
3067
|
+
type: string;
|
|
3068
|
+
id: string;
|
|
3069
|
+
position: "inline" | "dropdown";
|
|
3070
|
+
}[] | undefined;
|
|
3216
3071
|
};
|
|
3072
|
+
nameFieldRef: string;
|
|
3217
3073
|
disableCreate?: boolean | undefined;
|
|
3218
3074
|
embeddedForms?: ({
|
|
3219
3075
|
type: "object";
|
|
@@ -3223,6 +3079,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
3223
3079
|
form: {
|
|
3224
3080
|
fields: {
|
|
3225
3081
|
type: string;
|
|
3082
|
+
id: string;
|
|
3226
3083
|
label: string;
|
|
3227
3084
|
}[];
|
|
3228
3085
|
};
|
|
@@ -3235,21 +3092,15 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
3235
3092
|
form: {
|
|
3236
3093
|
fields: {
|
|
3237
3094
|
type: string;
|
|
3095
|
+
id: string;
|
|
3238
3096
|
label: string;
|
|
3239
3097
|
}[];
|
|
3240
3098
|
};
|
|
3241
3099
|
table: {
|
|
3242
3100
|
columns: {
|
|
3101
|
+
type: string;
|
|
3102
|
+
id: string;
|
|
3243
3103
|
label: string;
|
|
3244
|
-
display: {
|
|
3245
|
-
type: "foreign";
|
|
3246
|
-
localRelationRef: string;
|
|
3247
|
-
labelExpression: string;
|
|
3248
|
-
valueExpression: string;
|
|
3249
|
-
} | {
|
|
3250
|
-
type: "text";
|
|
3251
|
-
modelFieldRef: string;
|
|
3252
|
-
};
|
|
3253
3104
|
}[];
|
|
3254
3105
|
};
|
|
3255
3106
|
includeIdField?: boolean | undefined;
|
|
@@ -3292,24 +3143,24 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
3292
3143
|
modelRef: string;
|
|
3293
3144
|
form: {
|
|
3294
3145
|
fields: z.objectInputType<{
|
|
3146
|
+
id: z.ZodDefault<z.ZodString>;
|
|
3295
3147
|
type: z.ZodString;
|
|
3296
3148
|
label: z.ZodString;
|
|
3297
3149
|
}, z.ZodTypeAny, "passthrough">[];
|
|
3298
3150
|
};
|
|
3299
3151
|
table: {
|
|
3300
|
-
columns: {
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
};
|
|
3311
|
-
}[];
|
|
3152
|
+
columns: z.objectInputType<{
|
|
3153
|
+
id: z.ZodDefault<z.ZodString>;
|
|
3154
|
+
type: z.ZodString;
|
|
3155
|
+
label: z.ZodString;
|
|
3156
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
3157
|
+
actions?: z.objectInputType<{
|
|
3158
|
+
id: z.ZodDefault<z.ZodString>;
|
|
3159
|
+
type: z.ZodString;
|
|
3160
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
3161
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
3312
3162
|
};
|
|
3163
|
+
nameFieldRef: string;
|
|
3313
3164
|
disableCreate?: boolean | undefined;
|
|
3314
3165
|
embeddedForms?: ({
|
|
3315
3166
|
type: "object";
|
|
@@ -3318,6 +3169,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
3318
3169
|
modelRef: string;
|
|
3319
3170
|
form: {
|
|
3320
3171
|
fields: z.objectInputType<{
|
|
3172
|
+
id: z.ZodDefault<z.ZodString>;
|
|
3321
3173
|
type: z.ZodString;
|
|
3322
3174
|
label: z.ZodString;
|
|
3323
3175
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -3330,23 +3182,17 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
3330
3182
|
modelRef: string;
|
|
3331
3183
|
form: {
|
|
3332
3184
|
fields: z.objectInputType<{
|
|
3185
|
+
id: z.ZodDefault<z.ZodString>;
|
|
3333
3186
|
type: z.ZodString;
|
|
3334
3187
|
label: z.ZodString;
|
|
3335
3188
|
}, z.ZodTypeAny, "passthrough">[];
|
|
3336
3189
|
};
|
|
3337
3190
|
table: {
|
|
3338
|
-
columns: {
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
labelExpression: string;
|
|
3344
|
-
valueExpression: string;
|
|
3345
|
-
} | {
|
|
3346
|
-
type: "text";
|
|
3347
|
-
modelFieldRef: string;
|
|
3348
|
-
};
|
|
3349
|
-
}[];
|
|
3191
|
+
columns: z.objectInputType<{
|
|
3192
|
+
id: z.ZodDefault<z.ZodString>;
|
|
3193
|
+
type: z.ZodString;
|
|
3194
|
+
label: z.ZodString;
|
|
3195
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
3350
3196
|
};
|
|
3351
3197
|
includeIdField?: boolean | undefined;
|
|
3352
3198
|
})[] | undefined;
|
|
@@ -3795,7 +3641,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
3795
3641
|
readonly type: z.ZodString;
|
|
3796
3642
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
3797
3643
|
}>>;
|
|
3798
|
-
graphql: z.ZodOptional<z.ZodObject<{
|
|
3644
|
+
graphql: z.ZodEffects<z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3799
3645
|
objectType: z.ZodEffects<z.ZodOptional<z.ZodObject<{
|
|
3800
3646
|
enabled: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, boolean | undefined>;
|
|
3801
3647
|
fields: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>, string[] | undefined, string[] | undefined>;
|
|
@@ -4056,7 +3902,69 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
4056
3902
|
roles?: string[] | undefined;
|
|
4057
3903
|
} | undefined;
|
|
4058
3904
|
} | undefined;
|
|
4059
|
-
}
|
|
3905
|
+
}>>>, {
|
|
3906
|
+
objectType?: {
|
|
3907
|
+
enabled?: boolean | undefined;
|
|
3908
|
+
fields?: string[] | undefined;
|
|
3909
|
+
localRelations?: string[] | undefined;
|
|
3910
|
+
foreignRelations?: string[] | undefined;
|
|
3911
|
+
} | undefined;
|
|
3912
|
+
queries?: {
|
|
3913
|
+
get?: {
|
|
3914
|
+
enabled?: boolean | undefined;
|
|
3915
|
+
roles?: string[] | undefined;
|
|
3916
|
+
} | undefined;
|
|
3917
|
+
list?: {
|
|
3918
|
+
enabled?: boolean | undefined;
|
|
3919
|
+
roles?: string[] | undefined;
|
|
3920
|
+
} | undefined;
|
|
3921
|
+
} | undefined;
|
|
3922
|
+
mutations?: {
|
|
3923
|
+
delete?: {
|
|
3924
|
+
enabled?: boolean | undefined;
|
|
3925
|
+
roles?: string[] | undefined;
|
|
3926
|
+
} | undefined;
|
|
3927
|
+
create?: {
|
|
3928
|
+
enabled?: boolean | undefined;
|
|
3929
|
+
roles?: string[] | undefined;
|
|
3930
|
+
} | undefined;
|
|
3931
|
+
update?: {
|
|
3932
|
+
enabled?: boolean | undefined;
|
|
3933
|
+
roles?: string[] | undefined;
|
|
3934
|
+
} | undefined;
|
|
3935
|
+
} | undefined;
|
|
3936
|
+
} | undefined, {
|
|
3937
|
+
objectType?: {
|
|
3938
|
+
enabled?: boolean | undefined;
|
|
3939
|
+
fields?: string[] | undefined;
|
|
3940
|
+
localRelations?: string[] | undefined;
|
|
3941
|
+
foreignRelations?: string[] | undefined;
|
|
3942
|
+
} | undefined;
|
|
3943
|
+
queries?: {
|
|
3944
|
+
get?: {
|
|
3945
|
+
enabled?: boolean | undefined;
|
|
3946
|
+
roles?: string[] | undefined;
|
|
3947
|
+
} | undefined;
|
|
3948
|
+
list?: {
|
|
3949
|
+
enabled?: boolean | undefined;
|
|
3950
|
+
roles?: string[] | undefined;
|
|
3951
|
+
} | undefined;
|
|
3952
|
+
} | undefined;
|
|
3953
|
+
mutations?: {
|
|
3954
|
+
delete?: {
|
|
3955
|
+
enabled?: boolean | undefined;
|
|
3956
|
+
roles?: string[] | undefined;
|
|
3957
|
+
} | undefined;
|
|
3958
|
+
create?: {
|
|
3959
|
+
enabled?: boolean | undefined;
|
|
3960
|
+
roles?: string[] | undefined;
|
|
3961
|
+
} | undefined;
|
|
3962
|
+
update?: {
|
|
3963
|
+
enabled?: boolean | undefined;
|
|
3964
|
+
roles?: string[] | undefined;
|
|
3965
|
+
} | undefined;
|
|
3966
|
+
} | undefined;
|
|
3967
|
+
} | undefined>;
|
|
4060
3968
|
}, "strip", z.ZodTypeAny, {
|
|
4061
3969
|
name: string;
|
|
4062
3970
|
id: string;
|
|
@@ -4772,23 +4680,23 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
4772
4680
|
form: {
|
|
4773
4681
|
fields: {
|
|
4774
4682
|
type: string;
|
|
4683
|
+
id: string;
|
|
4775
4684
|
label: string;
|
|
4776
4685
|
}[];
|
|
4777
4686
|
};
|
|
4778
4687
|
table: {
|
|
4779
4688
|
columns: {
|
|
4689
|
+
type: string;
|
|
4690
|
+
id: string;
|
|
4780
4691
|
label: string;
|
|
4781
|
-
display: {
|
|
4782
|
-
type: "foreign";
|
|
4783
|
-
localRelationRef: string;
|
|
4784
|
-
labelExpression: string;
|
|
4785
|
-
valueExpression: string;
|
|
4786
|
-
} | {
|
|
4787
|
-
type: "text";
|
|
4788
|
-
modelFieldRef: string;
|
|
4789
|
-
};
|
|
4790
4692
|
}[];
|
|
4693
|
+
actions?: {
|
|
4694
|
+
type: string;
|
|
4695
|
+
id: string;
|
|
4696
|
+
position: "inline" | "dropdown";
|
|
4697
|
+
}[] | undefined;
|
|
4791
4698
|
};
|
|
4699
|
+
nameFieldRef: string;
|
|
4792
4700
|
disableCreate?: boolean | undefined;
|
|
4793
4701
|
embeddedForms?: ({
|
|
4794
4702
|
type: "object";
|
|
@@ -4798,6 +4706,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
4798
4706
|
form: {
|
|
4799
4707
|
fields: {
|
|
4800
4708
|
type: string;
|
|
4709
|
+
id: string;
|
|
4801
4710
|
label: string;
|
|
4802
4711
|
}[];
|
|
4803
4712
|
};
|
|
@@ -4810,21 +4719,15 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
4810
4719
|
form: {
|
|
4811
4720
|
fields: {
|
|
4812
4721
|
type: string;
|
|
4722
|
+
id: string;
|
|
4813
4723
|
label: string;
|
|
4814
4724
|
}[];
|
|
4815
4725
|
};
|
|
4816
4726
|
table: {
|
|
4817
4727
|
columns: {
|
|
4728
|
+
type: string;
|
|
4729
|
+
id: string;
|
|
4818
4730
|
label: string;
|
|
4819
|
-
display: {
|
|
4820
|
-
type: "foreign";
|
|
4821
|
-
localRelationRef: string;
|
|
4822
|
-
labelExpression: string;
|
|
4823
|
-
valueExpression: string;
|
|
4824
|
-
} | {
|
|
4825
|
-
type: "text";
|
|
4826
|
-
modelFieldRef: string;
|
|
4827
|
-
};
|
|
4828
4731
|
}[];
|
|
4829
4732
|
};
|
|
4830
4733
|
includeIdField?: boolean | undefined;
|
|
@@ -5056,24 +4959,24 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
5056
4959
|
modelRef: string;
|
|
5057
4960
|
form: {
|
|
5058
4961
|
fields: z.objectInputType<{
|
|
4962
|
+
id: z.ZodDefault<z.ZodString>;
|
|
5059
4963
|
type: z.ZodString;
|
|
5060
4964
|
label: z.ZodString;
|
|
5061
4965
|
}, z.ZodTypeAny, "passthrough">[];
|
|
5062
4966
|
};
|
|
5063
4967
|
table: {
|
|
5064
|
-
columns: {
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
};
|
|
5075
|
-
}[];
|
|
4968
|
+
columns: z.objectInputType<{
|
|
4969
|
+
id: z.ZodDefault<z.ZodString>;
|
|
4970
|
+
type: z.ZodString;
|
|
4971
|
+
label: z.ZodString;
|
|
4972
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
4973
|
+
actions?: z.objectInputType<{
|
|
4974
|
+
id: z.ZodDefault<z.ZodString>;
|
|
4975
|
+
type: z.ZodString;
|
|
4976
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
4977
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
5076
4978
|
};
|
|
4979
|
+
nameFieldRef: string;
|
|
5077
4980
|
disableCreate?: boolean | undefined;
|
|
5078
4981
|
embeddedForms?: ({
|
|
5079
4982
|
type: "object";
|
|
@@ -5082,6 +4985,7 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
5082
4985
|
modelRef: string;
|
|
5083
4986
|
form: {
|
|
5084
4987
|
fields: z.objectInputType<{
|
|
4988
|
+
id: z.ZodDefault<z.ZodString>;
|
|
5085
4989
|
type: z.ZodString;
|
|
5086
4990
|
label: z.ZodString;
|
|
5087
4991
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -5094,23 +4998,17 @@ export declare const createProjectDefinitionSchema: (context: import("./creator/
|
|
|
5094
4998
|
modelRef: string;
|
|
5095
4999
|
form: {
|
|
5096
5000
|
fields: z.objectInputType<{
|
|
5001
|
+
id: z.ZodDefault<z.ZodString>;
|
|
5097
5002
|
type: z.ZodString;
|
|
5098
5003
|
label: z.ZodString;
|
|
5099
5004
|
}, z.ZodTypeAny, "passthrough">[];
|
|
5100
5005
|
};
|
|
5101
5006
|
table: {
|
|
5102
|
-
columns: {
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
labelExpression: string;
|
|
5108
|
-
valueExpression: string;
|
|
5109
|
-
} | {
|
|
5110
|
-
type: "text";
|
|
5111
|
-
modelFieldRef: string;
|
|
5112
|
-
};
|
|
5113
|
-
}[];
|
|
5007
|
+
columns: z.objectInputType<{
|
|
5008
|
+
id: z.ZodDefault<z.ZodString>;
|
|
5009
|
+
type: z.ZodString;
|
|
5010
|
+
label: z.ZodString;
|
|
5011
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
5114
5012
|
};
|
|
5115
5013
|
includeIdField?: boolean | undefined;
|
|
5116
5014
|
})[] | undefined;
|