@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
|
@@ -32,109 +32,137 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
32
32
|
}>, z.ZodObject<{
|
|
33
33
|
type: z.ZodLiteral<"crud">;
|
|
34
34
|
modelRef: z.ZodEffects<z.ZodString, string, string>;
|
|
35
|
+
nameFieldRef: z.ZodEffects<z.ZodString, string, string>;
|
|
35
36
|
disableCreate: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, boolean | undefined>;
|
|
36
37
|
table: z.ZodObject<{
|
|
37
|
-
columns: z.ZodArray<z.ZodObject<{
|
|
38
|
+
columns: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
39
|
+
id: z.ZodDefault<z.ZodString>;
|
|
40
|
+
type: z.ZodString;
|
|
38
41
|
label: z.ZodString;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}, {
|
|
59
|
-
type: "foreign";
|
|
60
|
-
localRelationRef: string;
|
|
61
|
-
labelExpression: string;
|
|
62
|
-
valueExpression: string;
|
|
63
|
-
}>]>;
|
|
64
|
-
}, "strip", z.ZodTypeAny, {
|
|
65
|
-
label: string;
|
|
66
|
-
display: {
|
|
67
|
-
type: "foreign";
|
|
68
|
-
localRelationRef: string;
|
|
69
|
-
labelExpression: string;
|
|
70
|
-
valueExpression: string;
|
|
71
|
-
} | {
|
|
72
|
-
type: "text";
|
|
73
|
-
modelFieldRef: string;
|
|
74
|
-
};
|
|
75
|
-
}, {
|
|
42
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
43
|
+
id: z.ZodDefault<z.ZodString>;
|
|
44
|
+
type: z.ZodString;
|
|
45
|
+
label: z.ZodString;
|
|
46
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
47
|
+
id: z.ZodDefault<z.ZodString>;
|
|
48
|
+
type: z.ZodString;
|
|
49
|
+
label: z.ZodString;
|
|
50
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
51
|
+
id: z.ZodDefault<z.ZodString>;
|
|
52
|
+
type: z.ZodString;
|
|
53
|
+
label: z.ZodString;
|
|
54
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
55
|
+
id: z.ZodDefault<z.ZodString>;
|
|
56
|
+
type: z.ZodString;
|
|
57
|
+
label: z.ZodString;
|
|
58
|
+
}, z.ZodTypeAny, "passthrough">>, {
|
|
59
|
+
type: string;
|
|
60
|
+
id: string;
|
|
76
61
|
label: string;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}
|
|
62
|
+
}, z.objectInputType<{
|
|
63
|
+
id: z.ZodDefault<z.ZodString>;
|
|
64
|
+
type: z.ZodString;
|
|
65
|
+
label: z.ZodString;
|
|
66
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
67
|
+
actions: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
68
|
+
id: z.ZodDefault<z.ZodString>;
|
|
69
|
+
type: z.ZodString;
|
|
70
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
71
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
72
|
+
id: z.ZodDefault<z.ZodString>;
|
|
73
|
+
type: z.ZodString;
|
|
74
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
75
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
76
|
+
id: z.ZodDefault<z.ZodString>;
|
|
77
|
+
type: z.ZodString;
|
|
78
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
79
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
80
|
+
id: z.ZodDefault<z.ZodString>;
|
|
81
|
+
type: z.ZodString;
|
|
82
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
83
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
84
|
+
id: z.ZodDefault<z.ZodString>;
|
|
85
|
+
type: z.ZodString;
|
|
86
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
87
|
+
}, z.ZodTypeAny, "passthrough">>, {
|
|
88
|
+
type: string;
|
|
89
|
+
id: string;
|
|
90
|
+
position: "inline" | "dropdown";
|
|
91
|
+
}, z.objectInputType<{
|
|
92
|
+
id: z.ZodDefault<z.ZodString>;
|
|
93
|
+
type: z.ZodString;
|
|
94
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
95
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>, {
|
|
96
|
+
type: string;
|
|
97
|
+
id: string;
|
|
98
|
+
position: "inline" | "dropdown";
|
|
99
|
+
}[] | undefined, z.objectInputType<{
|
|
100
|
+
id: z.ZodDefault<z.ZodString>;
|
|
101
|
+
type: z.ZodString;
|
|
102
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
103
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined>;
|
|
87
104
|
}, "strip", z.ZodTypeAny, {
|
|
88
105
|
columns: {
|
|
106
|
+
type: string;
|
|
107
|
+
id: string;
|
|
89
108
|
label: string;
|
|
90
|
-
display: {
|
|
91
|
-
type: "foreign";
|
|
92
|
-
localRelationRef: string;
|
|
93
|
-
labelExpression: string;
|
|
94
|
-
valueExpression: string;
|
|
95
|
-
} | {
|
|
96
|
-
type: "text";
|
|
97
|
-
modelFieldRef: string;
|
|
98
|
-
};
|
|
99
109
|
}[];
|
|
110
|
+
actions?: {
|
|
111
|
+
type: string;
|
|
112
|
+
id: string;
|
|
113
|
+
position: "inline" | "dropdown";
|
|
114
|
+
}[] | undefined;
|
|
100
115
|
}, {
|
|
101
|
-
columns: {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
};
|
|
112
|
-
}[];
|
|
116
|
+
columns: z.objectInputType<{
|
|
117
|
+
id: z.ZodDefault<z.ZodString>;
|
|
118
|
+
type: z.ZodString;
|
|
119
|
+
label: z.ZodString;
|
|
120
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
121
|
+
actions?: z.objectInputType<{
|
|
122
|
+
id: z.ZodDefault<z.ZodString>;
|
|
123
|
+
type: z.ZodString;
|
|
124
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
125
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
113
126
|
}>;
|
|
114
127
|
form: z.ZodObject<{
|
|
115
|
-
fields: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
128
|
+
fields: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
129
|
+
id: z.ZodDefault<z.ZodString>;
|
|
116
130
|
type: z.ZodString;
|
|
117
131
|
label: z.ZodString;
|
|
118
132
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
133
|
+
id: z.ZodDefault<z.ZodString>;
|
|
119
134
|
type: z.ZodString;
|
|
120
135
|
label: z.ZodString;
|
|
121
136
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
137
|
+
id: z.ZodDefault<z.ZodString>;
|
|
138
|
+
type: z.ZodString;
|
|
139
|
+
label: z.ZodString;
|
|
140
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
141
|
+
id: z.ZodDefault<z.ZodString>;
|
|
142
|
+
type: z.ZodString;
|
|
143
|
+
label: z.ZodString;
|
|
144
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
145
|
+
id: z.ZodDefault<z.ZodString>;
|
|
122
146
|
type: z.ZodString;
|
|
123
147
|
label: z.ZodString;
|
|
124
148
|
}, z.ZodTypeAny, "passthrough">>, {
|
|
125
149
|
type: string;
|
|
150
|
+
id: string;
|
|
126
151
|
label: string;
|
|
127
152
|
}, z.objectInputType<{
|
|
153
|
+
id: z.ZodDefault<z.ZodString>;
|
|
128
154
|
type: z.ZodString;
|
|
129
155
|
label: z.ZodString;
|
|
130
156
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
131
157
|
}, "strip", z.ZodTypeAny, {
|
|
132
158
|
fields: {
|
|
133
159
|
type: string;
|
|
160
|
+
id: string;
|
|
134
161
|
label: string;
|
|
135
162
|
}[];
|
|
136
163
|
}, {
|
|
137
164
|
fields: z.objectInputType<{
|
|
165
|
+
id: z.ZodDefault<z.ZodString>;
|
|
138
166
|
type: z.ZodString;
|
|
139
167
|
label: z.ZodString;
|
|
140
168
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -146,29 +174,44 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
146
174
|
includeIdField: z.ZodOptional<z.ZodBoolean>;
|
|
147
175
|
type: z.ZodLiteral<"object">;
|
|
148
176
|
form: z.ZodObject<{
|
|
149
|
-
fields: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
177
|
+
fields: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
178
|
+
id: z.ZodDefault<z.ZodString>;
|
|
150
179
|
type: z.ZodString;
|
|
151
180
|
label: z.ZodString;
|
|
152
181
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
182
|
+
id: z.ZodDefault<z.ZodString>;
|
|
183
|
+
type: z.ZodString;
|
|
184
|
+
label: z.ZodString;
|
|
185
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
186
|
+
id: z.ZodDefault<z.ZodString>;
|
|
187
|
+
type: z.ZodString;
|
|
188
|
+
label: z.ZodString;
|
|
189
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
190
|
+
id: z.ZodDefault<z.ZodString>;
|
|
153
191
|
type: z.ZodString;
|
|
154
192
|
label: z.ZodString;
|
|
155
193
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
194
|
+
id: z.ZodDefault<z.ZodString>;
|
|
156
195
|
type: z.ZodString;
|
|
157
196
|
label: z.ZodString;
|
|
158
197
|
}, z.ZodTypeAny, "passthrough">>, {
|
|
159
198
|
type: string;
|
|
199
|
+
id: string;
|
|
160
200
|
label: string;
|
|
161
201
|
}, z.objectInputType<{
|
|
202
|
+
id: z.ZodDefault<z.ZodString>;
|
|
162
203
|
type: z.ZodString;
|
|
163
204
|
label: z.ZodString;
|
|
164
205
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
165
206
|
}, "strip", z.ZodTypeAny, {
|
|
166
207
|
fields: {
|
|
167
208
|
type: string;
|
|
209
|
+
id: string;
|
|
168
210
|
label: string;
|
|
169
211
|
}[];
|
|
170
212
|
}, {
|
|
171
213
|
fields: z.objectInputType<{
|
|
214
|
+
id: z.ZodDefault<z.ZodString>;
|
|
172
215
|
type: z.ZodString;
|
|
173
216
|
label: z.ZodString;
|
|
174
217
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -181,6 +224,7 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
181
224
|
form: {
|
|
182
225
|
fields: {
|
|
183
226
|
type: string;
|
|
227
|
+
id: string;
|
|
184
228
|
label: string;
|
|
185
229
|
}[];
|
|
186
230
|
};
|
|
@@ -192,6 +236,7 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
192
236
|
modelRef: string;
|
|
193
237
|
form: {
|
|
194
238
|
fields: z.objectInputType<{
|
|
239
|
+
id: z.ZodDefault<z.ZodString>;
|
|
195
240
|
type: z.ZodString;
|
|
196
241
|
label: z.ZodString;
|
|
197
242
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -204,107 +249,87 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
204
249
|
includeIdField: z.ZodOptional<z.ZodBoolean>;
|
|
205
250
|
type: z.ZodLiteral<"list">;
|
|
206
251
|
table: z.ZodObject<{
|
|
207
|
-
columns: z.ZodArray<z.ZodObject<{
|
|
252
|
+
columns: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
253
|
+
id: z.ZodDefault<z.ZodString>;
|
|
254
|
+
type: z.ZodString;
|
|
208
255
|
label: z.ZodString;
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
}, {
|
|
229
|
-
type: "foreign";
|
|
230
|
-
localRelationRef: string;
|
|
231
|
-
labelExpression: string;
|
|
232
|
-
valueExpression: string;
|
|
233
|
-
}>]>;
|
|
234
|
-
}, "strip", z.ZodTypeAny, {
|
|
235
|
-
label: string;
|
|
236
|
-
display: {
|
|
237
|
-
type: "foreign";
|
|
238
|
-
localRelationRef: string;
|
|
239
|
-
labelExpression: string;
|
|
240
|
-
valueExpression: string;
|
|
241
|
-
} | {
|
|
242
|
-
type: "text";
|
|
243
|
-
modelFieldRef: string;
|
|
244
|
-
};
|
|
245
|
-
}, {
|
|
256
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
257
|
+
id: z.ZodDefault<z.ZodString>;
|
|
258
|
+
type: z.ZodString;
|
|
259
|
+
label: z.ZodString;
|
|
260
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
261
|
+
id: z.ZodDefault<z.ZodString>;
|
|
262
|
+
type: z.ZodString;
|
|
263
|
+
label: z.ZodString;
|
|
264
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
265
|
+
id: z.ZodDefault<z.ZodString>;
|
|
266
|
+
type: z.ZodString;
|
|
267
|
+
label: z.ZodString;
|
|
268
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
269
|
+
id: z.ZodDefault<z.ZodString>;
|
|
270
|
+
type: z.ZodString;
|
|
271
|
+
label: z.ZodString;
|
|
272
|
+
}, z.ZodTypeAny, "passthrough">>, {
|
|
273
|
+
type: string;
|
|
274
|
+
id: string;
|
|
246
275
|
label: string;
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
} | {
|
|
253
|
-
type: "text";
|
|
254
|
-
modelFieldRef: string;
|
|
255
|
-
};
|
|
256
|
-
}>, "many">;
|
|
276
|
+
}, z.objectInputType<{
|
|
277
|
+
id: z.ZodDefault<z.ZodString>;
|
|
278
|
+
type: z.ZodString;
|
|
279
|
+
label: z.ZodString;
|
|
280
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
257
281
|
}, "strip", z.ZodTypeAny, {
|
|
258
282
|
columns: {
|
|
283
|
+
type: string;
|
|
284
|
+
id: string;
|
|
259
285
|
label: string;
|
|
260
|
-
display: {
|
|
261
|
-
type: "foreign";
|
|
262
|
-
localRelationRef: string;
|
|
263
|
-
labelExpression: string;
|
|
264
|
-
valueExpression: string;
|
|
265
|
-
} | {
|
|
266
|
-
type: "text";
|
|
267
|
-
modelFieldRef: string;
|
|
268
|
-
};
|
|
269
286
|
}[];
|
|
270
287
|
}, {
|
|
271
|
-
columns: {
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
labelExpression: string;
|
|
277
|
-
valueExpression: string;
|
|
278
|
-
} | {
|
|
279
|
-
type: "text";
|
|
280
|
-
modelFieldRef: string;
|
|
281
|
-
};
|
|
282
|
-
}[];
|
|
288
|
+
columns: z.objectInputType<{
|
|
289
|
+
id: z.ZodDefault<z.ZodString>;
|
|
290
|
+
type: z.ZodString;
|
|
291
|
+
label: z.ZodString;
|
|
292
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
283
293
|
}>;
|
|
284
294
|
form: z.ZodObject<{
|
|
285
|
-
fields: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
295
|
+
fields: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
296
|
+
id: z.ZodDefault<z.ZodString>;
|
|
286
297
|
type: z.ZodString;
|
|
287
298
|
label: z.ZodString;
|
|
288
299
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
300
|
+
id: z.ZodDefault<z.ZodString>;
|
|
289
301
|
type: z.ZodString;
|
|
290
302
|
label: z.ZodString;
|
|
291
303
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
304
|
+
id: z.ZodDefault<z.ZodString>;
|
|
305
|
+
type: z.ZodString;
|
|
306
|
+
label: z.ZodString;
|
|
307
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
308
|
+
id: z.ZodDefault<z.ZodString>;
|
|
309
|
+
type: z.ZodString;
|
|
310
|
+
label: z.ZodString;
|
|
311
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
312
|
+
id: z.ZodDefault<z.ZodString>;
|
|
292
313
|
type: z.ZodString;
|
|
293
314
|
label: z.ZodString;
|
|
294
315
|
}, z.ZodTypeAny, "passthrough">>, {
|
|
295
316
|
type: string;
|
|
317
|
+
id: string;
|
|
296
318
|
label: string;
|
|
297
319
|
}, z.objectInputType<{
|
|
320
|
+
id: z.ZodDefault<z.ZodString>;
|
|
298
321
|
type: z.ZodString;
|
|
299
322
|
label: z.ZodString;
|
|
300
323
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
301
324
|
}, "strip", z.ZodTypeAny, {
|
|
302
325
|
fields: {
|
|
303
326
|
type: string;
|
|
327
|
+
id: string;
|
|
304
328
|
label: string;
|
|
305
329
|
}[];
|
|
306
330
|
}, {
|
|
307
331
|
fields: z.objectInputType<{
|
|
332
|
+
id: z.ZodDefault<z.ZodString>;
|
|
308
333
|
type: z.ZodString;
|
|
309
334
|
label: z.ZodString;
|
|
310
335
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -317,21 +342,15 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
317
342
|
form: {
|
|
318
343
|
fields: {
|
|
319
344
|
type: string;
|
|
345
|
+
id: string;
|
|
320
346
|
label: string;
|
|
321
347
|
}[];
|
|
322
348
|
};
|
|
323
349
|
table: {
|
|
324
350
|
columns: {
|
|
351
|
+
type: string;
|
|
352
|
+
id: string;
|
|
325
353
|
label: string;
|
|
326
|
-
display: {
|
|
327
|
-
type: "foreign";
|
|
328
|
-
localRelationRef: string;
|
|
329
|
-
labelExpression: string;
|
|
330
|
-
valueExpression: string;
|
|
331
|
-
} | {
|
|
332
|
-
type: "text";
|
|
333
|
-
modelFieldRef: string;
|
|
334
|
-
};
|
|
335
354
|
}[];
|
|
336
355
|
};
|
|
337
356
|
includeIdField?: boolean | undefined;
|
|
@@ -342,23 +361,17 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
342
361
|
modelRef: string;
|
|
343
362
|
form: {
|
|
344
363
|
fields: z.objectInputType<{
|
|
364
|
+
id: z.ZodDefault<z.ZodString>;
|
|
345
365
|
type: z.ZodString;
|
|
346
366
|
label: z.ZodString;
|
|
347
367
|
}, z.ZodTypeAny, "passthrough">[];
|
|
348
368
|
};
|
|
349
369
|
table: {
|
|
350
|
-
columns: {
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
labelExpression: string;
|
|
356
|
-
valueExpression: string;
|
|
357
|
-
} | {
|
|
358
|
-
type: "text";
|
|
359
|
-
modelFieldRef: string;
|
|
360
|
-
};
|
|
361
|
-
}[];
|
|
370
|
+
columns: z.objectInputType<{
|
|
371
|
+
id: z.ZodDefault<z.ZodString>;
|
|
372
|
+
type: z.ZodString;
|
|
373
|
+
label: z.ZodString;
|
|
374
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
362
375
|
};
|
|
363
376
|
includeIdField?: boolean | undefined;
|
|
364
377
|
}>]>, {
|
|
@@ -369,6 +382,7 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
369
382
|
form: {
|
|
370
383
|
fields: {
|
|
371
384
|
type: string;
|
|
385
|
+
id: string;
|
|
372
386
|
label: string;
|
|
373
387
|
}[];
|
|
374
388
|
};
|
|
@@ -381,21 +395,15 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
381
395
|
form: {
|
|
382
396
|
fields: {
|
|
383
397
|
type: string;
|
|
398
|
+
id: string;
|
|
384
399
|
label: string;
|
|
385
400
|
}[];
|
|
386
401
|
};
|
|
387
402
|
table: {
|
|
388
403
|
columns: {
|
|
404
|
+
type: string;
|
|
405
|
+
id: string;
|
|
389
406
|
label: string;
|
|
390
|
-
display: {
|
|
391
|
-
type: "foreign";
|
|
392
|
-
localRelationRef: string;
|
|
393
|
-
labelExpression: string;
|
|
394
|
-
valueExpression: string;
|
|
395
|
-
} | {
|
|
396
|
-
type: "text";
|
|
397
|
-
modelFieldRef: string;
|
|
398
|
-
};
|
|
399
407
|
}[];
|
|
400
408
|
};
|
|
401
409
|
includeIdField?: boolean | undefined;
|
|
@@ -406,6 +414,7 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
406
414
|
modelRef: string;
|
|
407
415
|
form: {
|
|
408
416
|
fields: z.objectInputType<{
|
|
417
|
+
id: z.ZodDefault<z.ZodString>;
|
|
409
418
|
type: z.ZodString;
|
|
410
419
|
label: z.ZodString;
|
|
411
420
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -418,23 +427,17 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
418
427
|
modelRef: string;
|
|
419
428
|
form: {
|
|
420
429
|
fields: z.objectInputType<{
|
|
430
|
+
id: z.ZodDefault<z.ZodString>;
|
|
421
431
|
type: z.ZodString;
|
|
422
432
|
label: z.ZodString;
|
|
423
433
|
}, z.ZodTypeAny, "passthrough">[];
|
|
424
434
|
};
|
|
425
435
|
table: {
|
|
426
|
-
columns: {
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
labelExpression: string;
|
|
432
|
-
valueExpression: string;
|
|
433
|
-
} | {
|
|
434
|
-
type: "text";
|
|
435
|
-
modelFieldRef: string;
|
|
436
|
-
};
|
|
437
|
-
}[];
|
|
436
|
+
columns: z.objectInputType<{
|
|
437
|
+
id: z.ZodDefault<z.ZodString>;
|
|
438
|
+
type: z.ZodString;
|
|
439
|
+
label: z.ZodString;
|
|
440
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
438
441
|
};
|
|
439
442
|
includeIdField?: boolean | undefined;
|
|
440
443
|
}>, "many">>;
|
|
@@ -444,23 +447,23 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
444
447
|
form: {
|
|
445
448
|
fields: {
|
|
446
449
|
type: string;
|
|
450
|
+
id: string;
|
|
447
451
|
label: string;
|
|
448
452
|
}[];
|
|
449
453
|
};
|
|
450
454
|
table: {
|
|
451
455
|
columns: {
|
|
456
|
+
type: string;
|
|
457
|
+
id: string;
|
|
452
458
|
label: string;
|
|
453
|
-
display: {
|
|
454
|
-
type: "foreign";
|
|
455
|
-
localRelationRef: string;
|
|
456
|
-
labelExpression: string;
|
|
457
|
-
valueExpression: string;
|
|
458
|
-
} | {
|
|
459
|
-
type: "text";
|
|
460
|
-
modelFieldRef: string;
|
|
461
|
-
};
|
|
462
459
|
}[];
|
|
460
|
+
actions?: {
|
|
461
|
+
type: string;
|
|
462
|
+
id: string;
|
|
463
|
+
position: "inline" | "dropdown";
|
|
464
|
+
}[] | undefined;
|
|
463
465
|
};
|
|
466
|
+
nameFieldRef: string;
|
|
464
467
|
disableCreate?: boolean | undefined;
|
|
465
468
|
embeddedForms?: ({
|
|
466
469
|
type: "object";
|
|
@@ -470,6 +473,7 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
470
473
|
form: {
|
|
471
474
|
fields: {
|
|
472
475
|
type: string;
|
|
476
|
+
id: string;
|
|
473
477
|
label: string;
|
|
474
478
|
}[];
|
|
475
479
|
};
|
|
@@ -482,21 +486,15 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
482
486
|
form: {
|
|
483
487
|
fields: {
|
|
484
488
|
type: string;
|
|
489
|
+
id: string;
|
|
485
490
|
label: string;
|
|
486
491
|
}[];
|
|
487
492
|
};
|
|
488
493
|
table: {
|
|
489
494
|
columns: {
|
|
495
|
+
type: string;
|
|
496
|
+
id: string;
|
|
490
497
|
label: string;
|
|
491
|
-
display: {
|
|
492
|
-
type: "foreign";
|
|
493
|
-
localRelationRef: string;
|
|
494
|
-
labelExpression: string;
|
|
495
|
-
valueExpression: string;
|
|
496
|
-
} | {
|
|
497
|
-
type: "text";
|
|
498
|
-
modelFieldRef: string;
|
|
499
|
-
};
|
|
500
498
|
}[];
|
|
501
499
|
};
|
|
502
500
|
includeIdField?: boolean | undefined;
|
|
@@ -506,24 +504,24 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
506
504
|
modelRef: string;
|
|
507
505
|
form: {
|
|
508
506
|
fields: z.objectInputType<{
|
|
507
|
+
id: z.ZodDefault<z.ZodString>;
|
|
509
508
|
type: z.ZodString;
|
|
510
509
|
label: z.ZodString;
|
|
511
510
|
}, z.ZodTypeAny, "passthrough">[];
|
|
512
511
|
};
|
|
513
512
|
table: {
|
|
514
|
-
columns: {
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
};
|
|
525
|
-
}[];
|
|
513
|
+
columns: z.objectInputType<{
|
|
514
|
+
id: z.ZodDefault<z.ZodString>;
|
|
515
|
+
type: z.ZodString;
|
|
516
|
+
label: z.ZodString;
|
|
517
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
518
|
+
actions?: z.objectInputType<{
|
|
519
|
+
id: z.ZodDefault<z.ZodString>;
|
|
520
|
+
type: z.ZodString;
|
|
521
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
522
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
526
523
|
};
|
|
524
|
+
nameFieldRef: string;
|
|
527
525
|
disableCreate?: boolean | undefined;
|
|
528
526
|
embeddedForms?: ({
|
|
529
527
|
type: "object";
|
|
@@ -532,6 +530,7 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
532
530
|
modelRef: string;
|
|
533
531
|
form: {
|
|
534
532
|
fields: z.objectInputType<{
|
|
533
|
+
id: z.ZodDefault<z.ZodString>;
|
|
535
534
|
type: z.ZodString;
|
|
536
535
|
label: z.ZodString;
|
|
537
536
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -544,23 +543,17 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
544
543
|
modelRef: string;
|
|
545
544
|
form: {
|
|
546
545
|
fields: z.objectInputType<{
|
|
546
|
+
id: z.ZodDefault<z.ZodString>;
|
|
547
547
|
type: z.ZodString;
|
|
548
548
|
label: z.ZodString;
|
|
549
549
|
}, z.ZodTypeAny, "passthrough">[];
|
|
550
550
|
};
|
|
551
551
|
table: {
|
|
552
|
-
columns: {
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
labelExpression: string;
|
|
558
|
-
valueExpression: string;
|
|
559
|
-
} | {
|
|
560
|
-
type: "text";
|
|
561
|
-
modelFieldRef: string;
|
|
562
|
-
};
|
|
563
|
-
}[];
|
|
552
|
+
columns: z.objectInputType<{
|
|
553
|
+
id: z.ZodDefault<z.ZodString>;
|
|
554
|
+
type: z.ZodString;
|
|
555
|
+
label: z.ZodString;
|
|
556
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
564
557
|
};
|
|
565
558
|
includeIdField?: boolean | undefined;
|
|
566
559
|
})[] | undefined;
|
|
@@ -576,23 +569,23 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
576
569
|
form: {
|
|
577
570
|
fields: {
|
|
578
571
|
type: string;
|
|
572
|
+
id: string;
|
|
579
573
|
label: string;
|
|
580
574
|
}[];
|
|
581
575
|
};
|
|
582
576
|
table: {
|
|
583
577
|
columns: {
|
|
578
|
+
type: string;
|
|
579
|
+
id: string;
|
|
584
580
|
label: string;
|
|
585
|
-
display: {
|
|
586
|
-
type: "foreign";
|
|
587
|
-
localRelationRef: string;
|
|
588
|
-
labelExpression: string;
|
|
589
|
-
valueExpression: string;
|
|
590
|
-
} | {
|
|
591
|
-
type: "text";
|
|
592
|
-
modelFieldRef: string;
|
|
593
|
-
};
|
|
594
581
|
}[];
|
|
582
|
+
actions?: {
|
|
583
|
+
type: string;
|
|
584
|
+
id: string;
|
|
585
|
+
position: "inline" | "dropdown";
|
|
586
|
+
}[] | undefined;
|
|
595
587
|
};
|
|
588
|
+
nameFieldRef: string;
|
|
596
589
|
disableCreate?: boolean | undefined;
|
|
597
590
|
embeddedForms?: ({
|
|
598
591
|
type: "object";
|
|
@@ -602,6 +595,7 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
602
595
|
form: {
|
|
603
596
|
fields: {
|
|
604
597
|
type: string;
|
|
598
|
+
id: string;
|
|
605
599
|
label: string;
|
|
606
600
|
}[];
|
|
607
601
|
};
|
|
@@ -614,21 +608,15 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
614
608
|
form: {
|
|
615
609
|
fields: {
|
|
616
610
|
type: string;
|
|
611
|
+
id: string;
|
|
617
612
|
label: string;
|
|
618
613
|
}[];
|
|
619
614
|
};
|
|
620
615
|
table: {
|
|
621
616
|
columns: {
|
|
617
|
+
type: string;
|
|
618
|
+
id: string;
|
|
622
619
|
label: string;
|
|
623
|
-
display: {
|
|
624
|
-
type: "foreign";
|
|
625
|
-
localRelationRef: string;
|
|
626
|
-
labelExpression: string;
|
|
627
|
-
valueExpression: string;
|
|
628
|
-
} | {
|
|
629
|
-
type: "text";
|
|
630
|
-
modelFieldRef: string;
|
|
631
|
-
};
|
|
632
620
|
}[];
|
|
633
621
|
};
|
|
634
622
|
includeIdField?: boolean | undefined;
|
|
@@ -644,24 +632,24 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
644
632
|
modelRef: string;
|
|
645
633
|
form: {
|
|
646
634
|
fields: z.objectInputType<{
|
|
635
|
+
id: z.ZodDefault<z.ZodString>;
|
|
647
636
|
type: z.ZodString;
|
|
648
637
|
label: z.ZodString;
|
|
649
638
|
}, z.ZodTypeAny, "passthrough">[];
|
|
650
639
|
};
|
|
651
640
|
table: {
|
|
652
|
-
columns: {
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
};
|
|
663
|
-
}[];
|
|
641
|
+
columns: z.objectInputType<{
|
|
642
|
+
id: z.ZodDefault<z.ZodString>;
|
|
643
|
+
type: z.ZodString;
|
|
644
|
+
label: z.ZodString;
|
|
645
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
646
|
+
actions?: z.objectInputType<{
|
|
647
|
+
id: z.ZodDefault<z.ZodString>;
|
|
648
|
+
type: z.ZodString;
|
|
649
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
650
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
664
651
|
};
|
|
652
|
+
nameFieldRef: string;
|
|
665
653
|
disableCreate?: boolean | undefined;
|
|
666
654
|
embeddedForms?: ({
|
|
667
655
|
type: "object";
|
|
@@ -670,6 +658,7 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
670
658
|
modelRef: string;
|
|
671
659
|
form: {
|
|
672
660
|
fields: z.objectInputType<{
|
|
661
|
+
id: z.ZodDefault<z.ZodString>;
|
|
673
662
|
type: z.ZodString;
|
|
674
663
|
label: z.ZodString;
|
|
675
664
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -682,23 +671,17 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
682
671
|
modelRef: string;
|
|
683
672
|
form: {
|
|
684
673
|
fields: z.objectInputType<{
|
|
674
|
+
id: z.ZodDefault<z.ZodString>;
|
|
685
675
|
type: z.ZodString;
|
|
686
676
|
label: z.ZodString;
|
|
687
677
|
}, z.ZodTypeAny, "passthrough">[];
|
|
688
678
|
};
|
|
689
679
|
table: {
|
|
690
|
-
columns: {
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
labelExpression: string;
|
|
696
|
-
valueExpression: string;
|
|
697
|
-
} | {
|
|
698
|
-
type: "text";
|
|
699
|
-
modelFieldRef: string;
|
|
700
|
-
};
|
|
701
|
-
}[];
|
|
680
|
+
columns: z.objectInputType<{
|
|
681
|
+
id: z.ZodDefault<z.ZodString>;
|
|
682
|
+
type: z.ZodString;
|
|
683
|
+
label: z.ZodString;
|
|
684
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
702
685
|
};
|
|
703
686
|
includeIdField?: boolean | undefined;
|
|
704
687
|
})[] | undefined;
|
|
@@ -714,23 +697,23 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
714
697
|
form: {
|
|
715
698
|
fields: {
|
|
716
699
|
type: string;
|
|
700
|
+
id: string;
|
|
717
701
|
label: string;
|
|
718
702
|
}[];
|
|
719
703
|
};
|
|
720
704
|
table: {
|
|
721
705
|
columns: {
|
|
706
|
+
type: string;
|
|
707
|
+
id: string;
|
|
722
708
|
label: string;
|
|
723
|
-
display: {
|
|
724
|
-
type: "foreign";
|
|
725
|
-
localRelationRef: string;
|
|
726
|
-
labelExpression: string;
|
|
727
|
-
valueExpression: string;
|
|
728
|
-
} | {
|
|
729
|
-
type: "text";
|
|
730
|
-
modelFieldRef: string;
|
|
731
|
-
};
|
|
732
709
|
}[];
|
|
710
|
+
actions?: {
|
|
711
|
+
type: string;
|
|
712
|
+
id: string;
|
|
713
|
+
position: "inline" | "dropdown";
|
|
714
|
+
}[] | undefined;
|
|
733
715
|
};
|
|
716
|
+
nameFieldRef: string;
|
|
734
717
|
disableCreate?: boolean | undefined;
|
|
735
718
|
embeddedForms?: ({
|
|
736
719
|
type: "object";
|
|
@@ -740,6 +723,7 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
740
723
|
form: {
|
|
741
724
|
fields: {
|
|
742
725
|
type: string;
|
|
726
|
+
id: string;
|
|
743
727
|
label: string;
|
|
744
728
|
}[];
|
|
745
729
|
};
|
|
@@ -752,21 +736,15 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
752
736
|
form: {
|
|
753
737
|
fields: {
|
|
754
738
|
type: string;
|
|
739
|
+
id: string;
|
|
755
740
|
label: string;
|
|
756
741
|
}[];
|
|
757
742
|
};
|
|
758
743
|
table: {
|
|
759
744
|
columns: {
|
|
745
|
+
type: string;
|
|
746
|
+
id: string;
|
|
760
747
|
label: string;
|
|
761
|
-
display: {
|
|
762
|
-
type: "foreign";
|
|
763
|
-
localRelationRef: string;
|
|
764
|
-
labelExpression: string;
|
|
765
|
-
valueExpression: string;
|
|
766
|
-
} | {
|
|
767
|
-
type: "text";
|
|
768
|
-
modelFieldRef: string;
|
|
769
|
-
};
|
|
770
748
|
}[];
|
|
771
749
|
};
|
|
772
750
|
includeIdField?: boolean | undefined;
|
|
@@ -782,24 +760,24 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
782
760
|
modelRef: string;
|
|
783
761
|
form: {
|
|
784
762
|
fields: z.objectInputType<{
|
|
763
|
+
id: z.ZodDefault<z.ZodString>;
|
|
785
764
|
type: z.ZodString;
|
|
786
765
|
label: z.ZodString;
|
|
787
766
|
}, z.ZodTypeAny, "passthrough">[];
|
|
788
767
|
};
|
|
789
768
|
table: {
|
|
790
|
-
columns: {
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
};
|
|
801
|
-
}[];
|
|
769
|
+
columns: z.objectInputType<{
|
|
770
|
+
id: z.ZodDefault<z.ZodString>;
|
|
771
|
+
type: z.ZodString;
|
|
772
|
+
label: z.ZodString;
|
|
773
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
774
|
+
actions?: z.objectInputType<{
|
|
775
|
+
id: z.ZodDefault<z.ZodString>;
|
|
776
|
+
type: z.ZodString;
|
|
777
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
778
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
802
779
|
};
|
|
780
|
+
nameFieldRef: string;
|
|
803
781
|
disableCreate?: boolean | undefined;
|
|
804
782
|
embeddedForms?: ({
|
|
805
783
|
type: "object";
|
|
@@ -808,6 +786,7 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
808
786
|
modelRef: string;
|
|
809
787
|
form: {
|
|
810
788
|
fields: z.objectInputType<{
|
|
789
|
+
id: z.ZodDefault<z.ZodString>;
|
|
811
790
|
type: z.ZodString;
|
|
812
791
|
label: z.ZodString;
|
|
813
792
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -820,23 +799,17 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
820
799
|
modelRef: string;
|
|
821
800
|
form: {
|
|
822
801
|
fields: z.objectInputType<{
|
|
802
|
+
id: z.ZodDefault<z.ZodString>;
|
|
823
803
|
type: z.ZodString;
|
|
824
804
|
label: z.ZodString;
|
|
825
805
|
}, z.ZodTypeAny, "passthrough">[];
|
|
826
806
|
};
|
|
827
807
|
table: {
|
|
828
|
-
columns: {
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
labelExpression: string;
|
|
834
|
-
valueExpression: string;
|
|
835
|
-
} | {
|
|
836
|
-
type: "text";
|
|
837
|
-
modelFieldRef: string;
|
|
838
|
-
};
|
|
839
|
-
}[];
|
|
808
|
+
columns: z.objectInputType<{
|
|
809
|
+
id: z.ZodDefault<z.ZodString>;
|
|
810
|
+
type: z.ZodString;
|
|
811
|
+
label: z.ZodString;
|
|
812
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
840
813
|
};
|
|
841
814
|
includeIdField?: boolean | undefined;
|
|
842
815
|
})[] | undefined;
|
|
@@ -852,23 +825,23 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
852
825
|
form: {
|
|
853
826
|
fields: {
|
|
854
827
|
type: string;
|
|
828
|
+
id: string;
|
|
855
829
|
label: string;
|
|
856
830
|
}[];
|
|
857
831
|
};
|
|
858
832
|
table: {
|
|
859
833
|
columns: {
|
|
834
|
+
type: string;
|
|
835
|
+
id: string;
|
|
860
836
|
label: string;
|
|
861
|
-
display: {
|
|
862
|
-
type: "foreign";
|
|
863
|
-
localRelationRef: string;
|
|
864
|
-
labelExpression: string;
|
|
865
|
-
valueExpression: string;
|
|
866
|
-
} | {
|
|
867
|
-
type: "text";
|
|
868
|
-
modelFieldRef: string;
|
|
869
|
-
};
|
|
870
837
|
}[];
|
|
838
|
+
actions?: {
|
|
839
|
+
type: string;
|
|
840
|
+
id: string;
|
|
841
|
+
position: "inline" | "dropdown";
|
|
842
|
+
}[] | undefined;
|
|
871
843
|
};
|
|
844
|
+
nameFieldRef: string;
|
|
872
845
|
disableCreate?: boolean | undefined;
|
|
873
846
|
embeddedForms?: ({
|
|
874
847
|
type: "object";
|
|
@@ -878,6 +851,7 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
878
851
|
form: {
|
|
879
852
|
fields: {
|
|
880
853
|
type: string;
|
|
854
|
+
id: string;
|
|
881
855
|
label: string;
|
|
882
856
|
}[];
|
|
883
857
|
};
|
|
@@ -890,21 +864,15 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
890
864
|
form: {
|
|
891
865
|
fields: {
|
|
892
866
|
type: string;
|
|
867
|
+
id: string;
|
|
893
868
|
label: string;
|
|
894
869
|
}[];
|
|
895
870
|
};
|
|
896
871
|
table: {
|
|
897
872
|
columns: {
|
|
873
|
+
type: string;
|
|
874
|
+
id: string;
|
|
898
875
|
label: string;
|
|
899
|
-
display: {
|
|
900
|
-
type: "foreign";
|
|
901
|
-
localRelationRef: string;
|
|
902
|
-
labelExpression: string;
|
|
903
|
-
valueExpression: string;
|
|
904
|
-
} | {
|
|
905
|
-
type: "text";
|
|
906
|
-
modelFieldRef: string;
|
|
907
|
-
};
|
|
908
876
|
}[];
|
|
909
877
|
};
|
|
910
878
|
includeIdField?: boolean | undefined;
|
|
@@ -920,24 +888,24 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
920
888
|
modelRef: string;
|
|
921
889
|
form: {
|
|
922
890
|
fields: z.objectInputType<{
|
|
891
|
+
id: z.ZodDefault<z.ZodString>;
|
|
923
892
|
type: z.ZodString;
|
|
924
893
|
label: z.ZodString;
|
|
925
894
|
}, z.ZodTypeAny, "passthrough">[];
|
|
926
895
|
};
|
|
927
896
|
table: {
|
|
928
|
-
columns: {
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
};
|
|
939
|
-
}[];
|
|
897
|
+
columns: z.objectInputType<{
|
|
898
|
+
id: z.ZodDefault<z.ZodString>;
|
|
899
|
+
type: z.ZodString;
|
|
900
|
+
label: z.ZodString;
|
|
901
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
902
|
+
actions?: z.objectInputType<{
|
|
903
|
+
id: z.ZodDefault<z.ZodString>;
|
|
904
|
+
type: z.ZodString;
|
|
905
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
906
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
940
907
|
};
|
|
908
|
+
nameFieldRef: string;
|
|
941
909
|
disableCreate?: boolean | undefined;
|
|
942
910
|
embeddedForms?: ({
|
|
943
911
|
type: "object";
|
|
@@ -946,6 +914,7 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
946
914
|
modelRef: string;
|
|
947
915
|
form: {
|
|
948
916
|
fields: z.objectInputType<{
|
|
917
|
+
id: z.ZodDefault<z.ZodString>;
|
|
949
918
|
type: z.ZodString;
|
|
950
919
|
label: z.ZodString;
|
|
951
920
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -958,23 +927,17 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
958
927
|
modelRef: string;
|
|
959
928
|
form: {
|
|
960
929
|
fields: z.objectInputType<{
|
|
930
|
+
id: z.ZodDefault<z.ZodString>;
|
|
961
931
|
type: z.ZodString;
|
|
962
932
|
label: z.ZodString;
|
|
963
933
|
}, z.ZodTypeAny, "passthrough">[];
|
|
964
934
|
};
|
|
965
935
|
table: {
|
|
966
|
-
columns: {
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
labelExpression: string;
|
|
972
|
-
valueExpression: string;
|
|
973
|
-
} | {
|
|
974
|
-
type: "text";
|
|
975
|
-
modelFieldRef: string;
|
|
976
|
-
};
|
|
977
|
-
}[];
|
|
936
|
+
columns: z.objectInputType<{
|
|
937
|
+
id: z.ZodDefault<z.ZodString>;
|
|
938
|
+
type: z.ZodString;
|
|
939
|
+
label: z.ZodString;
|
|
940
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
978
941
|
};
|
|
979
942
|
includeIdField?: boolean | undefined;
|
|
980
943
|
})[] | undefined;
|
|
@@ -995,23 +958,23 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
995
958
|
form: {
|
|
996
959
|
fields: {
|
|
997
960
|
type: string;
|
|
961
|
+
id: string;
|
|
998
962
|
label: string;
|
|
999
963
|
}[];
|
|
1000
964
|
};
|
|
1001
965
|
table: {
|
|
1002
966
|
columns: {
|
|
967
|
+
type: string;
|
|
968
|
+
id: string;
|
|
1003
969
|
label: string;
|
|
1004
|
-
display: {
|
|
1005
|
-
type: "foreign";
|
|
1006
|
-
localRelationRef: string;
|
|
1007
|
-
labelExpression: string;
|
|
1008
|
-
valueExpression: string;
|
|
1009
|
-
} | {
|
|
1010
|
-
type: "text";
|
|
1011
|
-
modelFieldRef: string;
|
|
1012
|
-
};
|
|
1013
970
|
}[];
|
|
971
|
+
actions?: {
|
|
972
|
+
type: string;
|
|
973
|
+
id: string;
|
|
974
|
+
position: "inline" | "dropdown";
|
|
975
|
+
}[] | undefined;
|
|
1014
976
|
};
|
|
977
|
+
nameFieldRef: string;
|
|
1015
978
|
disableCreate?: boolean | undefined;
|
|
1016
979
|
embeddedForms?: ({
|
|
1017
980
|
type: "object";
|
|
@@ -1021,6 +984,7 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
1021
984
|
form: {
|
|
1022
985
|
fields: {
|
|
1023
986
|
type: string;
|
|
987
|
+
id: string;
|
|
1024
988
|
label: string;
|
|
1025
989
|
}[];
|
|
1026
990
|
};
|
|
@@ -1033,21 +997,15 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
1033
997
|
form: {
|
|
1034
998
|
fields: {
|
|
1035
999
|
type: string;
|
|
1000
|
+
id: string;
|
|
1036
1001
|
label: string;
|
|
1037
1002
|
}[];
|
|
1038
1003
|
};
|
|
1039
1004
|
table: {
|
|
1040
1005
|
columns: {
|
|
1006
|
+
type: string;
|
|
1007
|
+
id: string;
|
|
1041
1008
|
label: string;
|
|
1042
|
-
display: {
|
|
1043
|
-
type: "foreign";
|
|
1044
|
-
localRelationRef: string;
|
|
1045
|
-
labelExpression: string;
|
|
1046
|
-
valueExpression: string;
|
|
1047
|
-
} | {
|
|
1048
|
-
type: "text";
|
|
1049
|
-
modelFieldRef: string;
|
|
1050
|
-
};
|
|
1051
1009
|
}[];
|
|
1052
1010
|
};
|
|
1053
1011
|
includeIdField?: boolean | undefined;
|
|
@@ -1068,24 +1026,24 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
1068
1026
|
modelRef: string;
|
|
1069
1027
|
form: {
|
|
1070
1028
|
fields: z.objectInputType<{
|
|
1029
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1071
1030
|
type: z.ZodString;
|
|
1072
1031
|
label: z.ZodString;
|
|
1073
1032
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1074
1033
|
};
|
|
1075
1034
|
table: {
|
|
1076
|
-
columns: {
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
};
|
|
1087
|
-
}[];
|
|
1035
|
+
columns: z.objectInputType<{
|
|
1036
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1037
|
+
type: z.ZodString;
|
|
1038
|
+
label: z.ZodString;
|
|
1039
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1040
|
+
actions?: z.objectInputType<{
|
|
1041
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1042
|
+
type: z.ZodString;
|
|
1043
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
1044
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1088
1045
|
};
|
|
1046
|
+
nameFieldRef: string;
|
|
1089
1047
|
disableCreate?: boolean | undefined;
|
|
1090
1048
|
embeddedForms?: ({
|
|
1091
1049
|
type: "object";
|
|
@@ -1094,6 +1052,7 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
1094
1052
|
modelRef: string;
|
|
1095
1053
|
form: {
|
|
1096
1054
|
fields: z.objectInputType<{
|
|
1055
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1097
1056
|
type: z.ZodString;
|
|
1098
1057
|
label: z.ZodString;
|
|
1099
1058
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -1106,23 +1065,17 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
1106
1065
|
modelRef: string;
|
|
1107
1066
|
form: {
|
|
1108
1067
|
fields: z.objectInputType<{
|
|
1068
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1109
1069
|
type: z.ZodString;
|
|
1110
1070
|
label: z.ZodString;
|
|
1111
1071
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1112
1072
|
};
|
|
1113
1073
|
table: {
|
|
1114
|
-
columns: {
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
labelExpression: string;
|
|
1120
|
-
valueExpression: string;
|
|
1121
|
-
} | {
|
|
1122
|
-
type: "text";
|
|
1123
|
-
modelFieldRef: string;
|
|
1124
|
-
};
|
|
1125
|
-
}[];
|
|
1074
|
+
columns: z.objectInputType<{
|
|
1075
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1076
|
+
type: z.ZodString;
|
|
1077
|
+
label: z.ZodString;
|
|
1078
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1126
1079
|
};
|
|
1127
1080
|
includeIdField?: boolean | undefined;
|
|
1128
1081
|
})[] | undefined;
|
|
@@ -1143,23 +1096,23 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
1143
1096
|
form: {
|
|
1144
1097
|
fields: {
|
|
1145
1098
|
type: string;
|
|
1099
|
+
id: string;
|
|
1146
1100
|
label: string;
|
|
1147
1101
|
}[];
|
|
1148
1102
|
};
|
|
1149
1103
|
table: {
|
|
1150
1104
|
columns: {
|
|
1105
|
+
type: string;
|
|
1106
|
+
id: string;
|
|
1151
1107
|
label: string;
|
|
1152
|
-
display: {
|
|
1153
|
-
type: "foreign";
|
|
1154
|
-
localRelationRef: string;
|
|
1155
|
-
labelExpression: string;
|
|
1156
|
-
valueExpression: string;
|
|
1157
|
-
} | {
|
|
1158
|
-
type: "text";
|
|
1159
|
-
modelFieldRef: string;
|
|
1160
|
-
};
|
|
1161
1108
|
}[];
|
|
1109
|
+
actions?: {
|
|
1110
|
+
type: string;
|
|
1111
|
+
id: string;
|
|
1112
|
+
position: "inline" | "dropdown";
|
|
1113
|
+
}[] | undefined;
|
|
1162
1114
|
};
|
|
1115
|
+
nameFieldRef: string;
|
|
1163
1116
|
disableCreate?: boolean | undefined;
|
|
1164
1117
|
embeddedForms?: ({
|
|
1165
1118
|
type: "object";
|
|
@@ -1169,6 +1122,7 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
1169
1122
|
form: {
|
|
1170
1123
|
fields: {
|
|
1171
1124
|
type: string;
|
|
1125
|
+
id: string;
|
|
1172
1126
|
label: string;
|
|
1173
1127
|
}[];
|
|
1174
1128
|
};
|
|
@@ -1181,21 +1135,15 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
1181
1135
|
form: {
|
|
1182
1136
|
fields: {
|
|
1183
1137
|
type: string;
|
|
1138
|
+
id: string;
|
|
1184
1139
|
label: string;
|
|
1185
1140
|
}[];
|
|
1186
1141
|
};
|
|
1187
1142
|
table: {
|
|
1188
1143
|
columns: {
|
|
1144
|
+
type: string;
|
|
1145
|
+
id: string;
|
|
1189
1146
|
label: string;
|
|
1190
|
-
display: {
|
|
1191
|
-
type: "foreign";
|
|
1192
|
-
localRelationRef: string;
|
|
1193
|
-
labelExpression: string;
|
|
1194
|
-
valueExpression: string;
|
|
1195
|
-
} | {
|
|
1196
|
-
type: "text";
|
|
1197
|
-
modelFieldRef: string;
|
|
1198
|
-
};
|
|
1199
1147
|
}[];
|
|
1200
1148
|
};
|
|
1201
1149
|
includeIdField?: boolean | undefined;
|
|
@@ -1216,24 +1164,24 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
1216
1164
|
modelRef: string;
|
|
1217
1165
|
form: {
|
|
1218
1166
|
fields: z.objectInputType<{
|
|
1167
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1219
1168
|
type: z.ZodString;
|
|
1220
1169
|
label: z.ZodString;
|
|
1221
1170
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1222
1171
|
};
|
|
1223
1172
|
table: {
|
|
1224
|
-
columns: {
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
};
|
|
1235
|
-
}[];
|
|
1173
|
+
columns: z.objectInputType<{
|
|
1174
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1175
|
+
type: z.ZodString;
|
|
1176
|
+
label: z.ZodString;
|
|
1177
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1178
|
+
actions?: z.objectInputType<{
|
|
1179
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1180
|
+
type: z.ZodString;
|
|
1181
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
1182
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1236
1183
|
};
|
|
1184
|
+
nameFieldRef: string;
|
|
1237
1185
|
disableCreate?: boolean | undefined;
|
|
1238
1186
|
embeddedForms?: ({
|
|
1239
1187
|
type: "object";
|
|
@@ -1242,6 +1190,7 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
1242
1190
|
modelRef: string;
|
|
1243
1191
|
form: {
|
|
1244
1192
|
fields: z.objectInputType<{
|
|
1193
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1245
1194
|
type: z.ZodString;
|
|
1246
1195
|
label: z.ZodString;
|
|
1247
1196
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -1254,23 +1203,17 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
1254
1203
|
modelRef: string;
|
|
1255
1204
|
form: {
|
|
1256
1205
|
fields: z.objectInputType<{
|
|
1206
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1257
1207
|
type: z.ZodString;
|
|
1258
1208
|
label: z.ZodString;
|
|
1259
1209
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1260
1210
|
};
|
|
1261
1211
|
table: {
|
|
1262
|
-
columns: {
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
labelExpression: string;
|
|
1268
|
-
valueExpression: string;
|
|
1269
|
-
} | {
|
|
1270
|
-
type: "text";
|
|
1271
|
-
modelFieldRef: string;
|
|
1272
|
-
};
|
|
1273
|
-
}[];
|
|
1212
|
+
columns: z.objectInputType<{
|
|
1213
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1214
|
+
type: z.ZodString;
|
|
1215
|
+
label: z.ZodString;
|
|
1216
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1274
1217
|
};
|
|
1275
1218
|
includeIdField?: boolean | undefined;
|
|
1276
1219
|
})[] | undefined;
|
|
@@ -1305,23 +1248,23 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
1305
1248
|
form: {
|
|
1306
1249
|
fields: {
|
|
1307
1250
|
type: string;
|
|
1251
|
+
id: string;
|
|
1308
1252
|
label: string;
|
|
1309
1253
|
}[];
|
|
1310
1254
|
};
|
|
1311
1255
|
table: {
|
|
1312
1256
|
columns: {
|
|
1257
|
+
type: string;
|
|
1258
|
+
id: string;
|
|
1313
1259
|
label: string;
|
|
1314
|
-
display: {
|
|
1315
|
-
type: "foreign";
|
|
1316
|
-
localRelationRef: string;
|
|
1317
|
-
labelExpression: string;
|
|
1318
|
-
valueExpression: string;
|
|
1319
|
-
} | {
|
|
1320
|
-
type: "text";
|
|
1321
|
-
modelFieldRef: string;
|
|
1322
|
-
};
|
|
1323
1260
|
}[];
|
|
1261
|
+
actions?: {
|
|
1262
|
+
type: string;
|
|
1263
|
+
id: string;
|
|
1264
|
+
position: "inline" | "dropdown";
|
|
1265
|
+
}[] | undefined;
|
|
1324
1266
|
};
|
|
1267
|
+
nameFieldRef: string;
|
|
1325
1268
|
disableCreate?: boolean | undefined;
|
|
1326
1269
|
embeddedForms?: ({
|
|
1327
1270
|
type: "object";
|
|
@@ -1331,6 +1274,7 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
1331
1274
|
form: {
|
|
1332
1275
|
fields: {
|
|
1333
1276
|
type: string;
|
|
1277
|
+
id: string;
|
|
1334
1278
|
label: string;
|
|
1335
1279
|
}[];
|
|
1336
1280
|
};
|
|
@@ -1343,21 +1287,15 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
1343
1287
|
form: {
|
|
1344
1288
|
fields: {
|
|
1345
1289
|
type: string;
|
|
1290
|
+
id: string;
|
|
1346
1291
|
label: string;
|
|
1347
1292
|
}[];
|
|
1348
1293
|
};
|
|
1349
1294
|
table: {
|
|
1350
1295
|
columns: {
|
|
1296
|
+
type: string;
|
|
1297
|
+
id: string;
|
|
1351
1298
|
label: string;
|
|
1352
|
-
display: {
|
|
1353
|
-
type: "foreign";
|
|
1354
|
-
localRelationRef: string;
|
|
1355
|
-
labelExpression: string;
|
|
1356
|
-
valueExpression: string;
|
|
1357
|
-
} | {
|
|
1358
|
-
type: "text";
|
|
1359
|
-
modelFieldRef: string;
|
|
1360
|
-
};
|
|
1361
1299
|
}[];
|
|
1362
1300
|
};
|
|
1363
1301
|
includeIdField?: boolean | undefined;
|
|
@@ -1389,24 +1327,24 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
1389
1327
|
modelRef: string;
|
|
1390
1328
|
form: {
|
|
1391
1329
|
fields: z.objectInputType<{
|
|
1330
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1392
1331
|
type: z.ZodString;
|
|
1393
1332
|
label: z.ZodString;
|
|
1394
1333
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1395
1334
|
};
|
|
1396
1335
|
table: {
|
|
1397
|
-
columns: {
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
};
|
|
1408
|
-
}[];
|
|
1336
|
+
columns: z.objectInputType<{
|
|
1337
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1338
|
+
type: z.ZodString;
|
|
1339
|
+
label: z.ZodString;
|
|
1340
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1341
|
+
actions?: z.objectInputType<{
|
|
1342
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1343
|
+
type: z.ZodString;
|
|
1344
|
+
position: z.ZodDefault<z.ZodEnum<["inline", "dropdown"]>>;
|
|
1345
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1409
1346
|
};
|
|
1347
|
+
nameFieldRef: string;
|
|
1410
1348
|
disableCreate?: boolean | undefined;
|
|
1411
1349
|
embeddedForms?: ({
|
|
1412
1350
|
type: "object";
|
|
@@ -1415,6 +1353,7 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
1415
1353
|
modelRef: string;
|
|
1416
1354
|
form: {
|
|
1417
1355
|
fields: z.objectInputType<{
|
|
1356
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1418
1357
|
type: z.ZodString;
|
|
1419
1358
|
label: z.ZodString;
|
|
1420
1359
|
}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -1427,23 +1366,17 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
1427
1366
|
modelRef: string;
|
|
1428
1367
|
form: {
|
|
1429
1368
|
fields: z.objectInputType<{
|
|
1369
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1430
1370
|
type: z.ZodString;
|
|
1431
1371
|
label: z.ZodString;
|
|
1432
1372
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1433
1373
|
};
|
|
1434
1374
|
table: {
|
|
1435
|
-
columns: {
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
labelExpression: string;
|
|
1441
|
-
valueExpression: string;
|
|
1442
|
-
} | {
|
|
1443
|
-
type: "text";
|
|
1444
|
-
modelFieldRef: string;
|
|
1445
|
-
};
|
|
1446
|
-
}[];
|
|
1375
|
+
columns: z.objectInputType<{
|
|
1376
|
+
id: z.ZodDefault<z.ZodString>;
|
|
1377
|
+
type: z.ZodString;
|
|
1378
|
+
label: z.ZodString;
|
|
1379
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
1447
1380
|
};
|
|
1448
1381
|
includeIdField?: boolean | undefined;
|
|
1449
1382
|
})[] | undefined;
|
|
@@ -1477,23 +1410,23 @@ export declare const webAppEntryType: import("../types.js").AppEntryType<{
|
|
|
1477
1410
|
form: {
|
|
1478
1411
|
fields: {
|
|
1479
1412
|
type: string;
|
|
1413
|
+
id: string;
|
|
1480
1414
|
label: string;
|
|
1481
1415
|
}[];
|
|
1482
1416
|
};
|
|
1483
1417
|
table: {
|
|
1484
1418
|
columns: {
|
|
1419
|
+
type: string;
|
|
1420
|
+
id: string;
|
|
1485
1421
|
label: string;
|
|
1486
|
-
display: {
|
|
1487
|
-
type: "foreign";
|
|
1488
|
-
localRelationRef: string;
|
|
1489
|
-
labelExpression: string;
|
|
1490
|
-
valueExpression: string;
|
|
1491
|
-
} | {
|
|
1492
|
-
type: "text";
|
|
1493
|
-
modelFieldRef: string;
|
|
1494
|
-
};
|
|
1495
1422
|
}[];
|
|
1423
|
+
actions?: {
|
|
1424
|
+
type: string;
|
|
1425
|
+
id: string;
|
|
1426
|
+
position: "inline" | "dropdown";
|
|
1427
|
+
}[] | undefined;
|
|
1496
1428
|
};
|
|
1429
|
+
nameFieldRef: string;
|
|
1497
1430
|
disableCreate?: boolean | undefined;
|
|
1498
1431
|
embeddedForms?: ({
|
|
1499
1432
|
type: "object";
|
|
@@ -1503,6 +1436,7 @@ export declare const webAppEntryType: import("../types.js").AppEntryType<{
|
|
|
1503
1436
|
form: {
|
|
1504
1437
|
fields: {
|
|
1505
1438
|
type: string;
|
|
1439
|
+
id: string;
|
|
1506
1440
|
label: string;
|
|
1507
1441
|
}[];
|
|
1508
1442
|
};
|
|
@@ -1515,21 +1449,15 @@ export declare const webAppEntryType: import("../types.js").AppEntryType<{
|
|
|
1515
1449
|
form: {
|
|
1516
1450
|
fields: {
|
|
1517
1451
|
type: string;
|
|
1452
|
+
id: string;
|
|
1518
1453
|
label: string;
|
|
1519
1454
|
}[];
|
|
1520
1455
|
};
|
|
1521
1456
|
table: {
|
|
1522
1457
|
columns: {
|
|
1458
|
+
type: string;
|
|
1459
|
+
id: string;
|
|
1523
1460
|
label: string;
|
|
1524
|
-
display: {
|
|
1525
|
-
type: "foreign";
|
|
1526
|
-
localRelationRef: string;
|
|
1527
|
-
labelExpression: string;
|
|
1528
|
-
valueExpression: string;
|
|
1529
|
-
} | {
|
|
1530
|
-
type: "text";
|
|
1531
|
-
modelFieldRef: string;
|
|
1532
|
-
};
|
|
1533
1461
|
}[];
|
|
1534
1462
|
};
|
|
1535
1463
|
includeIdField?: boolean | undefined;
|