@baseplate-dev/project-builder-lib 0.4.0 → 0.4.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/definition/model/model-field-utils.d.ts.map +1 -1
- package/dist/definition/model/model-field-utils.js +3 -7
- package/dist/definition/model/model-field-utils.js.map +1 -1
- package/dist/definition/plugins/plugin-utils.d.ts +3 -2
- package/dist/definition/plugins/plugin-utils.d.ts.map +1 -1
- package/dist/definition/plugins/plugin-utils.js +15 -6
- package/dist/definition/plugins/plugin-utils.js.map +1 -1
- package/dist/definition/project-definition-container.test-utils.d.ts.map +1 -1
- package/dist/definition/project-definition-container.test-utils.js +2 -2
- package/dist/definition/project-definition-container.test-utils.js.map +1 -1
- package/dist/migrations/index.d.ts.map +1 -1
- package/dist/migrations/index.js +2 -0
- package/dist/migrations/index.js.map +1 -1
- package/dist/migrations/migration-021-migrate-bullmq-to-plugin.d.ts +42 -0
- package/dist/migrations/migration-021-migrate-bullmq-to-plugin.d.ts.map +1 -0
- package/dist/migrations/migration-021-migrate-bullmq-to-plugin.js +76 -0
- package/dist/migrations/migration-021-migrate-bullmq-to-plugin.js.map +1 -0
- package/dist/parser/parser.d.ts.map +1 -1
- package/dist/parser/parser.js +1 -0
- package/dist/parser/parser.js.map +1 -1
- package/dist/plugins/metadata/types.d.ts +7 -126
- package/dist/plugins/metadata/types.d.ts.map +1 -1
- package/dist/plugins/plugins.test-utils.d.ts +0 -8
- package/dist/plugins/plugins.test-utils.d.ts.map +1 -1
- package/dist/plugins/plugins.test-utils.js +0 -19
- package/dist/plugins/plugins.test-utils.js.map +1 -1
- package/dist/references/collect-refs.d.ts +20 -0
- package/dist/references/collect-refs.d.ts.map +1 -0
- package/dist/references/collect-refs.js +67 -0
- package/dist/references/collect-refs.js.map +1 -0
- package/dist/references/definition-ref-builder.d.ts +24 -154
- package/dist/references/definition-ref-builder.d.ts.map +1 -1
- package/dist/references/definition-ref-builder.js +0 -207
- package/dist/references/definition-ref-builder.js.map +1 -1
- package/dist/references/deserialize-schema.d.ts +2 -2
- package/dist/references/deserialize-schema.d.ts.map +1 -1
- package/dist/references/deserialize-schema.js +3 -0
- package/dist/references/deserialize-schema.js.map +1 -1
- package/dist/references/extend-parser-context-with-refs.d.ts +12 -7
- package/dist/references/extend-parser-context-with-refs.d.ts.map +1 -1
- package/dist/references/extend-parser-context-with-refs.js +111 -58
- package/dist/references/extend-parser-context-with-refs.js.map +1 -1
- package/dist/references/extract-definition-refs.d.ts +20 -13
- package/dist/references/extract-definition-refs.d.ts.map +1 -1
- package/dist/references/extract-definition-refs.js +50 -58
- package/dist/references/extract-definition-refs.js.map +1 -1
- package/dist/references/fix-ref-deletions.js.map +1 -1
- package/dist/references/index.d.ts +1 -0
- package/dist/references/index.d.ts.map +1 -1
- package/dist/references/index.js +1 -0
- package/dist/references/index.js.map +1 -1
- package/dist/references/markers.d.ts +28 -14
- package/dist/references/markers.d.ts.map +1 -1
- package/dist/references/markers.js.map +1 -1
- package/dist/references/parse-schema-with-references.d.ts.map +1 -1
- package/dist/references/parse-schema-with-references.js +0 -2
- package/dist/references/parse-schema-with-references.js.map +1 -1
- package/dist/references/ref-context-slot.d.ts +84 -0
- package/dist/references/ref-context-slot.d.ts.map +1 -0
- package/dist/references/ref-context-slot.js +38 -0
- package/dist/references/ref-context-slot.js.map +1 -0
- package/dist/references/resolve-slots.d.ts +38 -0
- package/dist/references/resolve-slots.d.ts.map +1 -0
- package/dist/references/resolve-slots.js +86 -0
- package/dist/references/resolve-slots.js.map +1 -0
- package/dist/references/resolve-zod-ref-payload-names.d.ts +2 -2
- package/dist/references/resolve-zod-ref-payload-names.d.ts.map +1 -1
- package/dist/references/resolve-zod-ref-payload-names.js +18 -7
- package/dist/references/resolve-zod-ref-payload-names.js.map +1 -1
- package/dist/references/serialize-schema.d.ts +1 -1
- package/dist/references/serialize-schema.d.ts.map +1 -1
- package/dist/references/serialize-schema.js +3 -1
- package/dist/references/serialize-schema.js.map +1 -1
- package/dist/references/types.d.ts +5 -6
- package/dist/references/types.d.ts.map +1 -1
- package/dist/schema/apps/backend/index.d.ts +4 -22
- package/dist/schema/apps/backend/index.d.ts.map +1 -1
- package/dist/schema/apps/backend/index.js +3 -4
- package/dist/schema/apps/backend/index.js.map +1 -1
- package/dist/schema/apps/base.d.ts +4 -12
- package/dist/schema/apps/base.d.ts.map +1 -1
- package/dist/schema/apps/web/admin/admin.d.ts +270 -1699
- package/dist/schema/apps/web/admin/admin.d.ts.map +1 -1
- package/dist/schema/apps/web/admin/admin.js +9 -10
- package/dist/schema/apps/web/admin/admin.js.map +1 -1
- package/dist/schema/apps/web/admin/sections/base.d.ts +2 -14
- package/dist/schema/apps/web/admin/sections/base.d.ts.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-actions/admin-action-spec.d.ts +2 -2
- package/dist/schema/apps/web/admin/sections/crud-actions/admin-action-spec.d.ts.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-actions/admin-action-spec.js.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-actions/admin-crud-action.d.ts +13 -24
- package/dist/schema/apps/web/admin/sections/crud-actions/admin-crud-action.d.ts.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-actions/admin-crud-action.js +10 -19
- package/dist/schema/apps/web/admin/sections/crud-actions/admin-crud-action.js.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-actions/built-in-actions.d.ts +10 -22
- package/dist/schema/apps/web/admin/sections/crud-actions/built-in-actions.d.ts.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-actions/types.d.ts +8 -12
- package/dist/schema/apps/web/admin/sections/crud-actions/types.d.ts.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-actions/types.js +1 -1
- package/dist/schema/apps/web/admin/sections/crud-actions/types.js.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-columns/admin-column-spec.d.ts +2 -3
- package/dist/schema/apps/web/admin/sections/crud-columns/admin-column-spec.d.ts.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-columns/admin-column-spec.js.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-columns/admin-crud-column.d.ts +11 -23
- package/dist/schema/apps/web/admin/sections/crud-columns/admin-crud-column.d.ts.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-columns/admin-crud-column.js +12 -20
- package/dist/schema/apps/web/admin/sections/crud-columns/admin-crud-column.js.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-columns/built-in-columns.d.ts +8 -30
- package/dist/schema/apps/web/admin/sections/crud-columns/built-in-columns.d.ts.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-columns/built-in-columns.js +6 -6
- package/dist/schema/apps/web/admin/sections/crud-columns/built-in-columns.js.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-columns/types.d.ts +15 -12
- package/dist/schema/apps/web/admin/sections/crud-columns/types.d.ts.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-columns/types.js +1 -1
- package/dist/schema/apps/web/admin/sections/crud-columns/types.js.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-form/admin-crud-input.d.ts +12 -23
- 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 +13 -20
- 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/admin-input-spec.d.ts +2 -3
- package/dist/schema/apps/web/admin/sections/crud-form/admin-input-spec.d.ts.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-form/admin-input-spec.js.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud-form/built-in-input.d.ts +40 -123
- 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 +15 -14
- 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 +17 -12
- 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 +1 -1
- package/dist/schema/apps/web/admin/sections/crud-form/types.js.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud.d.ts +202 -930
- package/dist/schema/apps/web/admin/sections/crud.d.ts.map +1 -1
- package/dist/schema/apps/web/admin/sections/crud.js +32 -26
- package/dist/schema/apps/web/admin/sections/crud.js.map +1 -1
- package/dist/schema/apps/web/web-app.d.ts +196 -1257
- package/dist/schema/apps/web/web-app.d.ts.map +1 -1
- package/dist/schema/apps/web/web-app.js +4 -4
- package/dist/schema/apps/web/web-app.js.map +1 -1
- package/dist/schema/creator/extend-parser-context-with-defaults.d.ts +2 -2
- package/dist/schema/creator/extend-parser-context-with-defaults.d.ts.map +1 -1
- package/dist/schema/creator/extend-parser-context-with-defaults.js +8 -15
- package/dist/schema/creator/extend-parser-context-with-defaults.js.map +1 -1
- package/dist/schema/creator/infer-types.d.ts +21 -4
- package/dist/schema/creator/infer-types.d.ts.map +1 -1
- package/dist/schema/creator/schema-creator.d.ts +46 -2
- package/dist/schema/creator/schema-creator.d.ts.map +1 -1
- package/dist/schema/creator/schema-creator.js +53 -0
- package/dist/schema/creator/schema-creator.js.map +1 -1
- package/dist/schema/creator/types.d.ts +11 -6
- package/dist/schema/creator/types.d.ts.map +1 -1
- package/dist/schema/features/feature.d.ts +14 -22
- package/dist/schema/features/feature.d.ts.map +1 -1
- package/dist/schema/models/enums.d.ts +34 -84
- package/dist/schema/models/enums.d.ts.map +1 -1
- package/dist/schema/models/enums.js +8 -8
- package/dist/schema/models/enums.js.map +1 -1
- package/dist/schema/models/graphql.d.ts +16 -163
- package/dist/schema/models/graphql.d.ts.map +1 -1
- package/dist/schema/models/graphql.js +8 -6
- package/dist/schema/models/graphql.js.map +1 -1
- package/dist/schema/models/index.d.ts +293 -1827
- package/dist/schema/models/index.d.ts.map +1 -1
- package/dist/schema/models/index.js +53 -54
- package/dist/schema/models/index.js.map +1 -1
- package/dist/schema/models/transformers/built-in-transformers.d.ts +20 -58
- package/dist/schema/models/transformers/built-in-transformers.d.ts.map +1 -1
- package/dist/schema/models/transformers/built-in-transformers.js +8 -9
- package/dist/schema/models/transformers/built-in-transformers.js.map +1 -1
- package/dist/schema/models/transformers/model-transformer-spec.d.ts +3 -4
- package/dist/schema/models/transformers/model-transformer-spec.d.ts.map +1 -1
- package/dist/schema/models/transformers/model-transformer-spec.js +3 -4
- package/dist/schema/models/transformers/model-transformer-spec.js.map +1 -1
- package/dist/schema/models/transformers/transformers.d.ts +7 -16
- package/dist/schema/models/transformers/transformers.d.ts.map +1 -1
- package/dist/schema/models/transformers/transformers.js +8 -13
- package/dist/schema/models/transformers/transformers.js.map +1 -1
- package/dist/schema/models/transformers/types.d.ts +14 -10
- package/dist/schema/models/transformers/types.d.ts.map +1 -1
- package/dist/schema/models/transformers/types.js +1 -1
- package/dist/schema/models/transformers/types.js.map +1 -1
- package/dist/schema/plugins/definition.d.ts +67 -95
- package/dist/schema/plugins/definition.d.ts.map +1 -1
- package/dist/schema/plugins/definition.js +8 -11
- package/dist/schema/plugins/definition.js.map +1 -1
- package/dist/schema/project-definition.d.ts +869 -4669
- package/dist/schema/project-definition.d.ts.map +1 -1
- package/dist/schema/project-definition.js +7 -9
- package/dist/schema/project-definition.js.map +1 -1
- package/dist/schema/settings/general.d.ts +3 -33
- package/dist/schema/settings/general.d.ts.map +1 -1
- package/dist/schema/settings/infrastructure.d.ts +2 -24
- package/dist/schema/settings/infrastructure.d.ts.map +1 -1
- package/dist/schema/settings/monorepo.d.ts +1 -15
- package/dist/schema/settings/monorepo.d.ts.map +1 -1
- package/dist/schema/settings/settings.d.ts +105 -242
- package/dist/schema/settings/settings.d.ts.map +1 -1
- package/dist/schema/settings/template-extractor.d.ts +1 -36
- package/dist/schema/settings/template-extractor.d.ts.map +1 -1
- package/dist/schema/settings/theme.d.ts +175 -259
- package/dist/schema/settings/theme.d.ts.map +1 -1
- package/dist/schema/settings/theme.js +1 -1
- package/dist/schema/settings/theme.js.map +1 -1
- package/dist/tools/model-merger/model-merger.d.ts +28 -28
- package/dist/tools/model-merger/model-merger.d.ts.map +1 -1
- package/dist/tools/model-merger/model-merger.js +5 -2
- package/dist/tools/model-merger/model-merger.js.map +1 -1
- package/dist/utils/theme.d.ts.map +1 -1
- package/dist/utils/theme.js +3 -4
- package/dist/utils/theme.js.map +1 -1
- package/dist/web/hooks/use-definition-schema.d.ts +9 -2
- package/dist/web/hooks/use-definition-schema.d.ts.map +1 -1
- package/dist/web/hooks/use-definition-schema.js +7 -1
- package/dist/web/hooks/use-definition-schema.js.map +1 -1
- package/package.json +7 -7
- package/dist/index.js.map +0 -1
|
@@ -1,1148 +1,81 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import type { def } from '#src/schema/creator/index.js';
|
|
3
|
-
export declare const createWebAppSchema:
|
|
3
|
+
export declare const createWebAppSchema: import("#src/schema/creator/index.js").DefinitionSchemaCreatorWithSlots<z.ZodObject<{
|
|
4
4
|
type: z.ZodLiteral<"web">;
|
|
5
|
-
includeAuth: z.
|
|
5
|
+
includeAuth: z.ZodOptional<z.ZodType<boolean | undefined, boolean | undefined, z.core.$ZodTypeInternals<boolean | undefined, boolean | undefined>>>;
|
|
6
6
|
title: z.ZodDefault<z.ZodString>;
|
|
7
7
|
description: z.ZodDefault<z.ZodString>;
|
|
8
|
-
includeUploadComponents: z.
|
|
9
|
-
enableSubscriptions: z.
|
|
10
|
-
adminApp: z.
|
|
11
|
-
enabled: z.ZodBoolean;
|
|
12
|
-
pathPrefix: z.ZodDefault<z.ZodString>;
|
|
13
|
-
allowedRoles: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>, string[] | undefined, string[] | undefined>;
|
|
14
|
-
sections: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodIntersection<z.ZodObject<{
|
|
15
|
-
id: z.ZodDefault<z.ZodString>;
|
|
16
|
-
name: z.ZodString;
|
|
17
|
-
featureRef: z.ZodEffects<z.ZodString, string, string>;
|
|
18
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
19
|
-
type: z.ZodString;
|
|
20
|
-
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
type: string;
|
|
22
|
-
name: string;
|
|
23
|
-
id: string;
|
|
24
|
-
featureRef: string;
|
|
25
|
-
icon?: string | undefined;
|
|
26
|
-
}, {
|
|
27
|
-
type: string;
|
|
28
|
-
name: string;
|
|
29
|
-
featureRef: string;
|
|
30
|
-
icon?: string | undefined;
|
|
31
|
-
id?: string | undefined;
|
|
32
|
-
}>, z.ZodObject<{
|
|
33
|
-
type: z.ZodLiteral<"crud">;
|
|
34
|
-
modelRef: z.ZodEffects<z.ZodString, string, string>;
|
|
35
|
-
nameFieldRef: z.ZodEffects<z.ZodString, string, string>;
|
|
36
|
-
disableCreate: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, boolean | undefined>;
|
|
37
|
-
table: z.ZodObject<{
|
|
38
|
-
columns: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
39
|
-
id: z.ZodDefault<z.ZodString>;
|
|
40
|
-
type: z.ZodString;
|
|
41
|
-
label: z.ZodString;
|
|
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;
|
|
61
|
-
label: string;
|
|
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>;
|
|
104
|
-
}, "strip", z.ZodTypeAny, {
|
|
105
|
-
columns: {
|
|
106
|
-
type: string;
|
|
107
|
-
id: string;
|
|
108
|
-
label: string;
|
|
109
|
-
}[];
|
|
110
|
-
actions?: {
|
|
111
|
-
type: string;
|
|
112
|
-
id: string;
|
|
113
|
-
position: "inline" | "dropdown";
|
|
114
|
-
}[] | undefined;
|
|
115
|
-
}, {
|
|
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;
|
|
126
|
-
}>;
|
|
127
|
-
form: z.ZodObject<{
|
|
128
|
-
fields: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
129
|
-
id: z.ZodDefault<z.ZodString>;
|
|
130
|
-
type: z.ZodString;
|
|
131
|
-
label: z.ZodString;
|
|
132
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
133
|
-
id: z.ZodDefault<z.ZodString>;
|
|
134
|
-
type: z.ZodString;
|
|
135
|
-
label: z.ZodString;
|
|
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>;
|
|
146
|
-
type: z.ZodString;
|
|
147
|
-
label: z.ZodString;
|
|
148
|
-
}, z.ZodTypeAny, "passthrough">>, {
|
|
149
|
-
type: string;
|
|
150
|
-
id: string;
|
|
151
|
-
label: string;
|
|
152
|
-
}, z.objectInputType<{
|
|
153
|
-
id: z.ZodDefault<z.ZodString>;
|
|
154
|
-
type: z.ZodString;
|
|
155
|
-
label: z.ZodString;
|
|
156
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
157
|
-
}, "strip", z.ZodTypeAny, {
|
|
158
|
-
fields: {
|
|
159
|
-
type: string;
|
|
160
|
-
id: string;
|
|
161
|
-
label: string;
|
|
162
|
-
}[];
|
|
163
|
-
}, {
|
|
164
|
-
fields: z.objectInputType<{
|
|
165
|
-
id: z.ZodDefault<z.ZodString>;
|
|
166
|
-
type: z.ZodString;
|
|
167
|
-
label: z.ZodString;
|
|
168
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
169
|
-
}>;
|
|
170
|
-
embeddedForms: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
171
|
-
id: z.ZodString;
|
|
172
|
-
name: z.ZodString;
|
|
173
|
-
modelRef: z.ZodEffects<z.ZodString, string, string>;
|
|
174
|
-
includeIdField: z.ZodOptional<z.ZodBoolean>;
|
|
175
|
-
type: z.ZodLiteral<"object">;
|
|
176
|
-
form: z.ZodObject<{
|
|
177
|
-
fields: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
178
|
-
id: z.ZodDefault<z.ZodString>;
|
|
179
|
-
type: z.ZodString;
|
|
180
|
-
label: z.ZodString;
|
|
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>;
|
|
191
|
-
type: z.ZodString;
|
|
192
|
-
label: z.ZodString;
|
|
193
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
194
|
-
id: z.ZodDefault<z.ZodString>;
|
|
195
|
-
type: z.ZodString;
|
|
196
|
-
label: z.ZodString;
|
|
197
|
-
}, z.ZodTypeAny, "passthrough">>, {
|
|
198
|
-
type: string;
|
|
199
|
-
id: string;
|
|
200
|
-
label: string;
|
|
201
|
-
}, z.objectInputType<{
|
|
202
|
-
id: z.ZodDefault<z.ZodString>;
|
|
203
|
-
type: z.ZodString;
|
|
204
|
-
label: z.ZodString;
|
|
205
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
206
|
-
}, "strip", z.ZodTypeAny, {
|
|
207
|
-
fields: {
|
|
208
|
-
type: string;
|
|
209
|
-
id: string;
|
|
210
|
-
label: string;
|
|
211
|
-
}[];
|
|
212
|
-
}, {
|
|
213
|
-
fields: z.objectInputType<{
|
|
214
|
-
id: z.ZodDefault<z.ZodString>;
|
|
215
|
-
type: z.ZodString;
|
|
216
|
-
label: z.ZodString;
|
|
217
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
218
|
-
}>;
|
|
219
|
-
}, "strip", z.ZodTypeAny, {
|
|
220
|
-
type: "object";
|
|
221
|
-
name: string;
|
|
222
|
-
id: string;
|
|
223
|
-
modelRef: string;
|
|
224
|
-
form: {
|
|
225
|
-
fields: {
|
|
226
|
-
type: string;
|
|
227
|
-
id: string;
|
|
228
|
-
label: string;
|
|
229
|
-
}[];
|
|
230
|
-
};
|
|
231
|
-
includeIdField?: boolean | undefined;
|
|
232
|
-
}, {
|
|
233
|
-
type: "object";
|
|
234
|
-
name: string;
|
|
235
|
-
id: string;
|
|
236
|
-
modelRef: string;
|
|
237
|
-
form: {
|
|
238
|
-
fields: z.objectInputType<{
|
|
239
|
-
id: z.ZodDefault<z.ZodString>;
|
|
240
|
-
type: z.ZodString;
|
|
241
|
-
label: z.ZodString;
|
|
242
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
243
|
-
};
|
|
244
|
-
includeIdField?: boolean | undefined;
|
|
245
|
-
}>, z.ZodObject<{
|
|
246
|
-
id: z.ZodString;
|
|
247
|
-
name: z.ZodString;
|
|
248
|
-
modelRef: z.ZodEffects<z.ZodString, string, string>;
|
|
249
|
-
includeIdField: z.ZodOptional<z.ZodBoolean>;
|
|
250
|
-
type: z.ZodLiteral<"list">;
|
|
251
|
-
table: z.ZodObject<{
|
|
252
|
-
columns: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
253
|
-
id: z.ZodDefault<z.ZodString>;
|
|
254
|
-
type: z.ZodString;
|
|
255
|
-
label: z.ZodString;
|
|
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;
|
|
275
|
-
label: string;
|
|
276
|
-
}, z.objectInputType<{
|
|
277
|
-
id: z.ZodDefault<z.ZodString>;
|
|
278
|
-
type: z.ZodString;
|
|
279
|
-
label: z.ZodString;
|
|
280
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
281
|
-
}, "strip", z.ZodTypeAny, {
|
|
282
|
-
columns: {
|
|
283
|
-
type: string;
|
|
284
|
-
id: string;
|
|
285
|
-
label: string;
|
|
286
|
-
}[];
|
|
287
|
-
}, {
|
|
288
|
-
columns: z.objectInputType<{
|
|
289
|
-
id: z.ZodDefault<z.ZodString>;
|
|
290
|
-
type: z.ZodString;
|
|
291
|
-
label: z.ZodString;
|
|
292
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
293
|
-
}>;
|
|
294
|
-
form: z.ZodObject<{
|
|
295
|
-
fields: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
296
|
-
id: z.ZodDefault<z.ZodString>;
|
|
297
|
-
type: z.ZodString;
|
|
298
|
-
label: z.ZodString;
|
|
299
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
300
|
-
id: z.ZodDefault<z.ZodString>;
|
|
301
|
-
type: z.ZodString;
|
|
302
|
-
label: z.ZodString;
|
|
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>;
|
|
313
|
-
type: z.ZodString;
|
|
314
|
-
label: z.ZodString;
|
|
315
|
-
}, z.ZodTypeAny, "passthrough">>, {
|
|
316
|
-
type: string;
|
|
317
|
-
id: string;
|
|
318
|
-
label: string;
|
|
319
|
-
}, z.objectInputType<{
|
|
320
|
-
id: z.ZodDefault<z.ZodString>;
|
|
321
|
-
type: z.ZodString;
|
|
322
|
-
label: z.ZodString;
|
|
323
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
324
|
-
}, "strip", z.ZodTypeAny, {
|
|
325
|
-
fields: {
|
|
326
|
-
type: string;
|
|
327
|
-
id: string;
|
|
328
|
-
label: string;
|
|
329
|
-
}[];
|
|
330
|
-
}, {
|
|
331
|
-
fields: z.objectInputType<{
|
|
332
|
-
id: z.ZodDefault<z.ZodString>;
|
|
333
|
-
type: z.ZodString;
|
|
334
|
-
label: z.ZodString;
|
|
335
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
336
|
-
}>;
|
|
337
|
-
}, "strip", z.ZodTypeAny, {
|
|
338
|
-
type: "list";
|
|
339
|
-
name: string;
|
|
340
|
-
id: string;
|
|
341
|
-
modelRef: string;
|
|
342
|
-
form: {
|
|
343
|
-
fields: {
|
|
344
|
-
type: string;
|
|
345
|
-
id: string;
|
|
346
|
-
label: string;
|
|
347
|
-
}[];
|
|
348
|
-
};
|
|
349
|
-
table: {
|
|
350
|
-
columns: {
|
|
351
|
-
type: string;
|
|
352
|
-
id: string;
|
|
353
|
-
label: string;
|
|
354
|
-
}[];
|
|
355
|
-
};
|
|
356
|
-
includeIdField?: boolean | undefined;
|
|
357
|
-
}, {
|
|
358
|
-
type: "list";
|
|
359
|
-
name: string;
|
|
360
|
-
id: string;
|
|
361
|
-
modelRef: string;
|
|
362
|
-
form: {
|
|
363
|
-
fields: z.objectInputType<{
|
|
364
|
-
id: z.ZodDefault<z.ZodString>;
|
|
365
|
-
type: z.ZodString;
|
|
366
|
-
label: z.ZodString;
|
|
367
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
368
|
-
};
|
|
369
|
-
table: {
|
|
370
|
-
columns: z.objectInputType<{
|
|
371
|
-
id: z.ZodDefault<z.ZodString>;
|
|
372
|
-
type: z.ZodString;
|
|
373
|
-
label: z.ZodString;
|
|
374
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
375
|
-
};
|
|
376
|
-
includeIdField?: boolean | undefined;
|
|
377
|
-
}>]>, {
|
|
378
|
-
type: "object";
|
|
379
|
-
name: string;
|
|
380
|
-
id: string;
|
|
381
|
-
modelRef: string;
|
|
382
|
-
form: {
|
|
383
|
-
fields: {
|
|
384
|
-
type: string;
|
|
385
|
-
id: string;
|
|
386
|
-
label: string;
|
|
387
|
-
}[];
|
|
388
|
-
};
|
|
389
|
-
includeIdField?: boolean | undefined;
|
|
390
|
-
} | {
|
|
391
|
-
type: "list";
|
|
392
|
-
name: string;
|
|
393
|
-
id: string;
|
|
394
|
-
modelRef: string;
|
|
395
|
-
form: {
|
|
396
|
-
fields: {
|
|
397
|
-
type: string;
|
|
398
|
-
id: string;
|
|
399
|
-
label: string;
|
|
400
|
-
}[];
|
|
401
|
-
};
|
|
402
|
-
table: {
|
|
403
|
-
columns: {
|
|
404
|
-
type: string;
|
|
405
|
-
id: string;
|
|
406
|
-
label: string;
|
|
407
|
-
}[];
|
|
408
|
-
};
|
|
409
|
-
includeIdField?: boolean | undefined;
|
|
410
|
-
}, {
|
|
411
|
-
type: "object";
|
|
412
|
-
name: string;
|
|
413
|
-
id: string;
|
|
414
|
-
modelRef: string;
|
|
415
|
-
form: {
|
|
416
|
-
fields: z.objectInputType<{
|
|
417
|
-
id: z.ZodDefault<z.ZodString>;
|
|
418
|
-
type: z.ZodString;
|
|
419
|
-
label: z.ZodString;
|
|
420
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
421
|
-
};
|
|
422
|
-
includeIdField?: boolean | undefined;
|
|
423
|
-
} | {
|
|
424
|
-
type: "list";
|
|
425
|
-
name: string;
|
|
426
|
-
id: string;
|
|
427
|
-
modelRef: string;
|
|
428
|
-
form: {
|
|
429
|
-
fields: z.objectInputType<{
|
|
430
|
-
id: z.ZodDefault<z.ZodString>;
|
|
431
|
-
type: z.ZodString;
|
|
432
|
-
label: z.ZodString;
|
|
433
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
434
|
-
};
|
|
435
|
-
table: {
|
|
436
|
-
columns: z.objectInputType<{
|
|
437
|
-
id: z.ZodDefault<z.ZodString>;
|
|
438
|
-
type: z.ZodString;
|
|
439
|
-
label: z.ZodString;
|
|
440
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
441
|
-
};
|
|
442
|
-
includeIdField?: boolean | undefined;
|
|
443
|
-
}>, "many">>;
|
|
444
|
-
}, "strip", z.ZodTypeAny, {
|
|
445
|
-
type: "crud";
|
|
446
|
-
modelRef: string;
|
|
447
|
-
form: {
|
|
448
|
-
fields: {
|
|
449
|
-
type: string;
|
|
450
|
-
id: string;
|
|
451
|
-
label: string;
|
|
452
|
-
}[];
|
|
453
|
-
};
|
|
454
|
-
table: {
|
|
455
|
-
columns: {
|
|
456
|
-
type: string;
|
|
457
|
-
id: string;
|
|
458
|
-
label: string;
|
|
459
|
-
}[];
|
|
460
|
-
actions?: {
|
|
461
|
-
type: string;
|
|
462
|
-
id: string;
|
|
463
|
-
position: "inline" | "dropdown";
|
|
464
|
-
}[] | undefined;
|
|
465
|
-
};
|
|
466
|
-
nameFieldRef: string;
|
|
467
|
-
disableCreate?: boolean | undefined;
|
|
468
|
-
embeddedForms?: ({
|
|
469
|
-
type: "object";
|
|
470
|
-
name: string;
|
|
471
|
-
id: string;
|
|
472
|
-
modelRef: string;
|
|
473
|
-
form: {
|
|
474
|
-
fields: {
|
|
475
|
-
type: string;
|
|
476
|
-
id: string;
|
|
477
|
-
label: string;
|
|
478
|
-
}[];
|
|
479
|
-
};
|
|
480
|
-
includeIdField?: boolean | undefined;
|
|
481
|
-
} | {
|
|
482
|
-
type: "list";
|
|
483
|
-
name: string;
|
|
484
|
-
id: string;
|
|
485
|
-
modelRef: string;
|
|
486
|
-
form: {
|
|
487
|
-
fields: {
|
|
488
|
-
type: string;
|
|
489
|
-
id: string;
|
|
490
|
-
label: string;
|
|
491
|
-
}[];
|
|
492
|
-
};
|
|
493
|
-
table: {
|
|
494
|
-
columns: {
|
|
495
|
-
type: string;
|
|
496
|
-
id: string;
|
|
497
|
-
label: string;
|
|
498
|
-
}[];
|
|
499
|
-
};
|
|
500
|
-
includeIdField?: boolean | undefined;
|
|
501
|
-
})[] | undefined;
|
|
502
|
-
}, {
|
|
503
|
-
type: "crud";
|
|
504
|
-
modelRef: string;
|
|
505
|
-
form: {
|
|
506
|
-
fields: z.objectInputType<{
|
|
507
|
-
id: z.ZodDefault<z.ZodString>;
|
|
508
|
-
type: z.ZodString;
|
|
509
|
-
label: z.ZodString;
|
|
510
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
511
|
-
};
|
|
512
|
-
table: {
|
|
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;
|
|
523
|
-
};
|
|
524
|
-
nameFieldRef: string;
|
|
525
|
-
disableCreate?: boolean | undefined;
|
|
526
|
-
embeddedForms?: ({
|
|
527
|
-
type: "object";
|
|
528
|
-
name: string;
|
|
529
|
-
id: string;
|
|
530
|
-
modelRef: string;
|
|
531
|
-
form: {
|
|
532
|
-
fields: z.objectInputType<{
|
|
533
|
-
id: z.ZodDefault<z.ZodString>;
|
|
534
|
-
type: z.ZodString;
|
|
535
|
-
label: z.ZodString;
|
|
536
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
537
|
-
};
|
|
538
|
-
includeIdField?: boolean | undefined;
|
|
539
|
-
} | {
|
|
540
|
-
type: "list";
|
|
541
|
-
name: string;
|
|
542
|
-
id: string;
|
|
543
|
-
modelRef: string;
|
|
544
|
-
form: {
|
|
545
|
-
fields: z.objectInputType<{
|
|
546
|
-
id: z.ZodDefault<z.ZodString>;
|
|
547
|
-
type: z.ZodString;
|
|
548
|
-
label: z.ZodString;
|
|
549
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
550
|
-
};
|
|
551
|
-
table: {
|
|
552
|
-
columns: z.objectInputType<{
|
|
553
|
-
id: z.ZodDefault<z.ZodString>;
|
|
554
|
-
type: z.ZodString;
|
|
555
|
-
label: z.ZodString;
|
|
556
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
557
|
-
};
|
|
558
|
-
includeIdField?: boolean | undefined;
|
|
559
|
-
})[] | undefined;
|
|
560
|
-
}>>, {
|
|
561
|
-
type: string;
|
|
562
|
-
name: string;
|
|
563
|
-
id: string;
|
|
564
|
-
featureRef: string;
|
|
565
|
-
icon?: string | undefined;
|
|
566
|
-
} & {
|
|
567
|
-
type: "crud";
|
|
568
|
-
modelRef: string;
|
|
569
|
-
form: {
|
|
570
|
-
fields: {
|
|
571
|
-
type: string;
|
|
572
|
-
id: string;
|
|
573
|
-
label: string;
|
|
574
|
-
}[];
|
|
575
|
-
};
|
|
576
|
-
table: {
|
|
577
|
-
columns: {
|
|
578
|
-
type: string;
|
|
579
|
-
id: string;
|
|
580
|
-
label: string;
|
|
581
|
-
}[];
|
|
582
|
-
actions?: {
|
|
583
|
-
type: string;
|
|
584
|
-
id: string;
|
|
585
|
-
position: "inline" | "dropdown";
|
|
586
|
-
}[] | undefined;
|
|
587
|
-
};
|
|
588
|
-
nameFieldRef: string;
|
|
589
|
-
disableCreate?: boolean | undefined;
|
|
590
|
-
embeddedForms?: ({
|
|
591
|
-
type: "object";
|
|
592
|
-
name: string;
|
|
593
|
-
id: string;
|
|
594
|
-
modelRef: string;
|
|
595
|
-
form: {
|
|
596
|
-
fields: {
|
|
597
|
-
type: string;
|
|
598
|
-
id: string;
|
|
599
|
-
label: string;
|
|
600
|
-
}[];
|
|
601
|
-
};
|
|
602
|
-
includeIdField?: boolean | undefined;
|
|
603
|
-
} | {
|
|
604
|
-
type: "list";
|
|
605
|
-
name: string;
|
|
606
|
-
id: string;
|
|
607
|
-
modelRef: string;
|
|
608
|
-
form: {
|
|
609
|
-
fields: {
|
|
610
|
-
type: string;
|
|
611
|
-
id: string;
|
|
612
|
-
label: string;
|
|
613
|
-
}[];
|
|
614
|
-
};
|
|
615
|
-
table: {
|
|
616
|
-
columns: {
|
|
617
|
-
type: string;
|
|
618
|
-
id: string;
|
|
619
|
-
label: string;
|
|
620
|
-
}[];
|
|
621
|
-
};
|
|
622
|
-
includeIdField?: boolean | undefined;
|
|
623
|
-
})[] | undefined;
|
|
624
|
-
}, {
|
|
625
|
-
type: string;
|
|
626
|
-
name: string;
|
|
627
|
-
featureRef: string;
|
|
628
|
-
icon?: string | undefined;
|
|
629
|
-
id?: string | undefined;
|
|
630
|
-
} & {
|
|
631
|
-
type: "crud";
|
|
632
|
-
modelRef: string;
|
|
633
|
-
form: {
|
|
634
|
-
fields: z.objectInputType<{
|
|
635
|
-
id: z.ZodDefault<z.ZodString>;
|
|
636
|
-
type: z.ZodString;
|
|
637
|
-
label: z.ZodString;
|
|
638
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
639
|
-
};
|
|
640
|
-
table: {
|
|
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;
|
|
651
|
-
};
|
|
652
|
-
nameFieldRef: string;
|
|
653
|
-
disableCreate?: boolean | undefined;
|
|
654
|
-
embeddedForms?: ({
|
|
655
|
-
type: "object";
|
|
656
|
-
name: string;
|
|
657
|
-
id: string;
|
|
658
|
-
modelRef: string;
|
|
659
|
-
form: {
|
|
660
|
-
fields: z.objectInputType<{
|
|
661
|
-
id: z.ZodDefault<z.ZodString>;
|
|
662
|
-
type: z.ZodString;
|
|
663
|
-
label: z.ZodString;
|
|
664
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
665
|
-
};
|
|
666
|
-
includeIdField?: boolean | undefined;
|
|
667
|
-
} | {
|
|
668
|
-
type: "list";
|
|
669
|
-
name: string;
|
|
670
|
-
id: string;
|
|
671
|
-
modelRef: string;
|
|
672
|
-
form: {
|
|
673
|
-
fields: z.objectInputType<{
|
|
674
|
-
id: z.ZodDefault<z.ZodString>;
|
|
675
|
-
type: z.ZodString;
|
|
676
|
-
label: z.ZodString;
|
|
677
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
678
|
-
};
|
|
679
|
-
table: {
|
|
680
|
-
columns: z.objectInputType<{
|
|
681
|
-
id: z.ZodDefault<z.ZodString>;
|
|
682
|
-
type: z.ZodString;
|
|
683
|
-
label: z.ZodString;
|
|
684
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
685
|
-
};
|
|
686
|
-
includeIdField?: boolean | undefined;
|
|
687
|
-
})[] | undefined;
|
|
688
|
-
}>, {
|
|
689
|
-
type: string;
|
|
690
|
-
name: string;
|
|
691
|
-
id: string;
|
|
692
|
-
featureRef: string;
|
|
693
|
-
icon?: string | undefined;
|
|
694
|
-
} & {
|
|
695
|
-
type: "crud";
|
|
696
|
-
modelRef: string;
|
|
697
|
-
form: {
|
|
698
|
-
fields: {
|
|
699
|
-
type: string;
|
|
700
|
-
id: string;
|
|
701
|
-
label: string;
|
|
702
|
-
}[];
|
|
703
|
-
};
|
|
704
|
-
table: {
|
|
705
|
-
columns: {
|
|
706
|
-
type: string;
|
|
707
|
-
id: string;
|
|
708
|
-
label: string;
|
|
709
|
-
}[];
|
|
710
|
-
actions?: {
|
|
711
|
-
type: string;
|
|
712
|
-
id: string;
|
|
713
|
-
position: "inline" | "dropdown";
|
|
714
|
-
}[] | undefined;
|
|
715
|
-
};
|
|
716
|
-
nameFieldRef: string;
|
|
717
|
-
disableCreate?: boolean | undefined;
|
|
718
|
-
embeddedForms?: ({
|
|
719
|
-
type: "object";
|
|
720
|
-
name: string;
|
|
721
|
-
id: string;
|
|
722
|
-
modelRef: string;
|
|
723
|
-
form: {
|
|
724
|
-
fields: {
|
|
725
|
-
type: string;
|
|
726
|
-
id: string;
|
|
727
|
-
label: string;
|
|
728
|
-
}[];
|
|
729
|
-
};
|
|
730
|
-
includeIdField?: boolean | undefined;
|
|
731
|
-
} | {
|
|
732
|
-
type: "list";
|
|
733
|
-
name: string;
|
|
734
|
-
id: string;
|
|
735
|
-
modelRef: string;
|
|
736
|
-
form: {
|
|
737
|
-
fields: {
|
|
738
|
-
type: string;
|
|
739
|
-
id: string;
|
|
740
|
-
label: string;
|
|
741
|
-
}[];
|
|
742
|
-
};
|
|
743
|
-
table: {
|
|
744
|
-
columns: {
|
|
745
|
-
type: string;
|
|
746
|
-
id: string;
|
|
747
|
-
label: string;
|
|
748
|
-
}[];
|
|
749
|
-
};
|
|
750
|
-
includeIdField?: boolean | undefined;
|
|
751
|
-
})[] | undefined;
|
|
752
|
-
}, {
|
|
753
|
-
type: string;
|
|
754
|
-
name: string;
|
|
755
|
-
featureRef: string;
|
|
756
|
-
icon?: string | undefined;
|
|
757
|
-
id?: string | undefined;
|
|
758
|
-
} & {
|
|
759
|
-
type: "crud";
|
|
760
|
-
modelRef: string;
|
|
761
|
-
form: {
|
|
762
|
-
fields: z.objectInputType<{
|
|
763
|
-
id: z.ZodDefault<z.ZodString>;
|
|
764
|
-
type: z.ZodString;
|
|
765
|
-
label: z.ZodString;
|
|
766
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
767
|
-
};
|
|
768
|
-
table: {
|
|
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;
|
|
779
|
-
};
|
|
780
|
-
nameFieldRef: string;
|
|
781
|
-
disableCreate?: boolean | undefined;
|
|
782
|
-
embeddedForms?: ({
|
|
783
|
-
type: "object";
|
|
784
|
-
name: string;
|
|
785
|
-
id: string;
|
|
786
|
-
modelRef: string;
|
|
787
|
-
form: {
|
|
788
|
-
fields: z.objectInputType<{
|
|
789
|
-
id: z.ZodDefault<z.ZodString>;
|
|
790
|
-
type: z.ZodString;
|
|
791
|
-
label: z.ZodString;
|
|
792
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
793
|
-
};
|
|
794
|
-
includeIdField?: boolean | undefined;
|
|
795
|
-
} | {
|
|
796
|
-
type: "list";
|
|
797
|
-
name: string;
|
|
798
|
-
id: string;
|
|
799
|
-
modelRef: string;
|
|
800
|
-
form: {
|
|
801
|
-
fields: z.objectInputType<{
|
|
802
|
-
id: z.ZodDefault<z.ZodString>;
|
|
803
|
-
type: z.ZodString;
|
|
804
|
-
label: z.ZodString;
|
|
805
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
806
|
-
};
|
|
807
|
-
table: {
|
|
808
|
-
columns: z.objectInputType<{
|
|
809
|
-
id: z.ZodDefault<z.ZodString>;
|
|
810
|
-
type: z.ZodString;
|
|
811
|
-
label: z.ZodString;
|
|
812
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
813
|
-
};
|
|
814
|
-
includeIdField?: boolean | undefined;
|
|
815
|
-
})[] | undefined;
|
|
816
|
-
}>, "many">>, ({
|
|
817
|
-
type: string;
|
|
818
|
-
name: string;
|
|
819
|
-
id: string;
|
|
820
|
-
featureRef: string;
|
|
821
|
-
icon?: string | undefined;
|
|
822
|
-
} & {
|
|
823
|
-
type: "crud";
|
|
824
|
-
modelRef: string;
|
|
825
|
-
form: {
|
|
826
|
-
fields: {
|
|
827
|
-
type: string;
|
|
828
|
-
id: string;
|
|
829
|
-
label: string;
|
|
830
|
-
}[];
|
|
831
|
-
};
|
|
832
|
-
table: {
|
|
833
|
-
columns: {
|
|
834
|
-
type: string;
|
|
835
|
-
id: string;
|
|
836
|
-
label: string;
|
|
837
|
-
}[];
|
|
838
|
-
actions?: {
|
|
839
|
-
type: string;
|
|
840
|
-
id: string;
|
|
841
|
-
position: "inline" | "dropdown";
|
|
842
|
-
}[] | undefined;
|
|
843
|
-
};
|
|
844
|
-
nameFieldRef: string;
|
|
845
|
-
disableCreate?: boolean | undefined;
|
|
846
|
-
embeddedForms?: ({
|
|
847
|
-
type: "object";
|
|
848
|
-
name: string;
|
|
849
|
-
id: string;
|
|
850
|
-
modelRef: string;
|
|
851
|
-
form: {
|
|
852
|
-
fields: {
|
|
853
|
-
type: string;
|
|
854
|
-
id: string;
|
|
855
|
-
label: string;
|
|
856
|
-
}[];
|
|
857
|
-
};
|
|
858
|
-
includeIdField?: boolean | undefined;
|
|
859
|
-
} | {
|
|
860
|
-
type: "list";
|
|
861
|
-
name: string;
|
|
862
|
-
id: string;
|
|
863
|
-
modelRef: string;
|
|
864
|
-
form: {
|
|
865
|
-
fields: {
|
|
866
|
-
type: string;
|
|
867
|
-
id: string;
|
|
868
|
-
label: string;
|
|
869
|
-
}[];
|
|
870
|
-
};
|
|
871
|
-
table: {
|
|
872
|
-
columns: {
|
|
873
|
-
type: string;
|
|
874
|
-
id: string;
|
|
875
|
-
label: string;
|
|
876
|
-
}[];
|
|
877
|
-
};
|
|
878
|
-
includeIdField?: boolean | undefined;
|
|
879
|
-
})[] | undefined;
|
|
880
|
-
})[] | undefined, ({
|
|
881
|
-
type: string;
|
|
882
|
-
name: string;
|
|
883
|
-
featureRef: string;
|
|
884
|
-
icon?: string | undefined;
|
|
885
|
-
id?: string | undefined;
|
|
886
|
-
} & {
|
|
887
|
-
type: "crud";
|
|
888
|
-
modelRef: string;
|
|
889
|
-
form: {
|
|
890
|
-
fields: z.objectInputType<{
|
|
891
|
-
id: z.ZodDefault<z.ZodString>;
|
|
892
|
-
type: z.ZodString;
|
|
893
|
-
label: z.ZodString;
|
|
894
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
895
|
-
};
|
|
896
|
-
table: {
|
|
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;
|
|
907
|
-
};
|
|
908
|
-
nameFieldRef: string;
|
|
909
|
-
disableCreate?: boolean | undefined;
|
|
910
|
-
embeddedForms?: ({
|
|
911
|
-
type: "object";
|
|
912
|
-
name: string;
|
|
913
|
-
id: string;
|
|
914
|
-
modelRef: string;
|
|
915
|
-
form: {
|
|
916
|
-
fields: z.objectInputType<{
|
|
917
|
-
id: z.ZodDefault<z.ZodString>;
|
|
918
|
-
type: z.ZodString;
|
|
919
|
-
label: z.ZodString;
|
|
920
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
921
|
-
};
|
|
922
|
-
includeIdField?: boolean | undefined;
|
|
923
|
-
} | {
|
|
924
|
-
type: "list";
|
|
925
|
-
name: string;
|
|
926
|
-
id: string;
|
|
927
|
-
modelRef: string;
|
|
928
|
-
form: {
|
|
929
|
-
fields: z.objectInputType<{
|
|
930
|
-
id: z.ZodDefault<z.ZodString>;
|
|
931
|
-
type: z.ZodString;
|
|
932
|
-
label: z.ZodString;
|
|
933
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
934
|
-
};
|
|
935
|
-
table: {
|
|
936
|
-
columns: z.objectInputType<{
|
|
937
|
-
id: z.ZodDefault<z.ZodString>;
|
|
938
|
-
type: z.ZodString;
|
|
939
|
-
label: z.ZodString;
|
|
940
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
941
|
-
};
|
|
942
|
-
includeIdField?: boolean | undefined;
|
|
943
|
-
})[] | undefined;
|
|
944
|
-
})[] | undefined>;
|
|
945
|
-
}, "strip", z.ZodTypeAny, {
|
|
946
|
-
enabled: boolean;
|
|
947
|
-
pathPrefix: string;
|
|
948
|
-
allowedRoles?: string[] | undefined;
|
|
949
|
-
sections?: ({
|
|
950
|
-
type: string;
|
|
951
|
-
name: string;
|
|
952
|
-
id: string;
|
|
953
|
-
featureRef: string;
|
|
954
|
-
icon?: string | undefined;
|
|
955
|
-
} & {
|
|
956
|
-
type: "crud";
|
|
957
|
-
modelRef: string;
|
|
958
|
-
form: {
|
|
959
|
-
fields: {
|
|
960
|
-
type: string;
|
|
961
|
-
id: string;
|
|
962
|
-
label: string;
|
|
963
|
-
}[];
|
|
964
|
-
};
|
|
965
|
-
table: {
|
|
966
|
-
columns: {
|
|
967
|
-
type: string;
|
|
968
|
-
id: string;
|
|
969
|
-
label: string;
|
|
970
|
-
}[];
|
|
971
|
-
actions?: {
|
|
972
|
-
type: string;
|
|
973
|
-
id: string;
|
|
974
|
-
position: "inline" | "dropdown";
|
|
975
|
-
}[] | undefined;
|
|
976
|
-
};
|
|
977
|
-
nameFieldRef: string;
|
|
978
|
-
disableCreate?: boolean | undefined;
|
|
979
|
-
embeddedForms?: ({
|
|
980
|
-
type: "object";
|
|
981
|
-
name: string;
|
|
982
|
-
id: string;
|
|
983
|
-
modelRef: string;
|
|
984
|
-
form: {
|
|
985
|
-
fields: {
|
|
986
|
-
type: string;
|
|
987
|
-
id: string;
|
|
988
|
-
label: string;
|
|
989
|
-
}[];
|
|
990
|
-
};
|
|
991
|
-
includeIdField?: boolean | undefined;
|
|
992
|
-
} | {
|
|
993
|
-
type: "list";
|
|
994
|
-
name: string;
|
|
995
|
-
id: string;
|
|
996
|
-
modelRef: string;
|
|
997
|
-
form: {
|
|
998
|
-
fields: {
|
|
999
|
-
type: string;
|
|
1000
|
-
id: string;
|
|
1001
|
-
label: string;
|
|
1002
|
-
}[];
|
|
1003
|
-
};
|
|
1004
|
-
table: {
|
|
1005
|
-
columns: {
|
|
1006
|
-
type: string;
|
|
1007
|
-
id: string;
|
|
1008
|
-
label: string;
|
|
1009
|
-
}[];
|
|
1010
|
-
};
|
|
1011
|
-
includeIdField?: boolean | undefined;
|
|
1012
|
-
})[] | undefined;
|
|
1013
|
-
})[] | undefined;
|
|
1014
|
-
}, {
|
|
1015
|
-
enabled: boolean;
|
|
1016
|
-
pathPrefix?: string | undefined;
|
|
1017
|
-
allowedRoles?: string[] | undefined;
|
|
1018
|
-
sections?: ({
|
|
1019
|
-
type: string;
|
|
1020
|
-
name: string;
|
|
1021
|
-
featureRef: string;
|
|
1022
|
-
icon?: string | undefined;
|
|
1023
|
-
id?: string | undefined;
|
|
1024
|
-
} & {
|
|
1025
|
-
type: "crud";
|
|
1026
|
-
modelRef: string;
|
|
1027
|
-
form: {
|
|
1028
|
-
fields: z.objectInputType<{
|
|
1029
|
-
id: z.ZodDefault<z.ZodString>;
|
|
1030
|
-
type: z.ZodString;
|
|
1031
|
-
label: z.ZodString;
|
|
1032
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
1033
|
-
};
|
|
1034
|
-
table: {
|
|
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;
|
|
1045
|
-
};
|
|
1046
|
-
nameFieldRef: string;
|
|
1047
|
-
disableCreate?: boolean | undefined;
|
|
1048
|
-
embeddedForms?: ({
|
|
1049
|
-
type: "object";
|
|
1050
|
-
name: string;
|
|
1051
|
-
id: string;
|
|
1052
|
-
modelRef: string;
|
|
1053
|
-
form: {
|
|
1054
|
-
fields: z.objectInputType<{
|
|
1055
|
-
id: z.ZodDefault<z.ZodString>;
|
|
1056
|
-
type: z.ZodString;
|
|
1057
|
-
label: z.ZodString;
|
|
1058
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
1059
|
-
};
|
|
1060
|
-
includeIdField?: boolean | undefined;
|
|
1061
|
-
} | {
|
|
1062
|
-
type: "list";
|
|
1063
|
-
name: string;
|
|
1064
|
-
id: string;
|
|
1065
|
-
modelRef: string;
|
|
1066
|
-
form: {
|
|
1067
|
-
fields: z.objectInputType<{
|
|
1068
|
-
id: z.ZodDefault<z.ZodString>;
|
|
1069
|
-
type: z.ZodString;
|
|
1070
|
-
label: z.ZodString;
|
|
1071
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
1072
|
-
};
|
|
1073
|
-
table: {
|
|
1074
|
-
columns: z.objectInputType<{
|
|
1075
|
-
id: z.ZodDefault<z.ZodString>;
|
|
1076
|
-
type: z.ZodString;
|
|
1077
|
-
label: z.ZodString;
|
|
1078
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
1079
|
-
};
|
|
1080
|
-
includeIdField?: boolean | undefined;
|
|
1081
|
-
})[] | undefined;
|
|
1082
|
-
})[] | undefined;
|
|
1083
|
-
}>>, {
|
|
8
|
+
includeUploadComponents: z.ZodOptional<z.ZodType<boolean | undefined, boolean | undefined, z.core.$ZodTypeInternals<boolean | undefined, boolean | undefined>>>;
|
|
9
|
+
enableSubscriptions: z.ZodOptional<z.ZodType<boolean | undefined, boolean | undefined, z.core.$ZodTypeInternals<boolean | undefined, boolean | undefined>>>;
|
|
10
|
+
adminApp: z.ZodOptional<z.ZodType<{
|
|
1084
11
|
enabled: boolean;
|
|
1085
12
|
pathPrefix: string;
|
|
1086
13
|
allowedRoles?: string[] | undefined;
|
|
1087
14
|
sections?: ({
|
|
1088
|
-
type: string;
|
|
1089
|
-
name: string;
|
|
1090
15
|
id: string;
|
|
16
|
+
name: string;
|
|
1091
17
|
featureRef: string;
|
|
18
|
+
type: string;
|
|
1092
19
|
icon?: string | undefined;
|
|
1093
20
|
} & {
|
|
1094
21
|
type: "crud";
|
|
1095
22
|
modelRef: string;
|
|
1096
|
-
|
|
1097
|
-
fields: {
|
|
1098
|
-
type: string;
|
|
1099
|
-
id: string;
|
|
1100
|
-
label: string;
|
|
1101
|
-
}[];
|
|
1102
|
-
};
|
|
23
|
+
nameFieldRef: string;
|
|
1103
24
|
table: {
|
|
1104
25
|
columns: {
|
|
1105
|
-
|
|
26
|
+
[x: string]: unknown;
|
|
1106
27
|
id: string;
|
|
28
|
+
type: string;
|
|
1107
29
|
label: string;
|
|
1108
30
|
}[];
|
|
1109
31
|
actions?: {
|
|
1110
|
-
|
|
32
|
+
[x: string]: unknown;
|
|
1111
33
|
id: string;
|
|
34
|
+
type: string;
|
|
1112
35
|
position: "inline" | "dropdown";
|
|
1113
36
|
}[] | undefined;
|
|
1114
37
|
};
|
|
1115
|
-
|
|
38
|
+
form: {
|
|
39
|
+
fields: {
|
|
40
|
+
[x: string]: unknown;
|
|
41
|
+
id: string;
|
|
42
|
+
type: string;
|
|
43
|
+
label: string;
|
|
44
|
+
}[];
|
|
45
|
+
};
|
|
1116
46
|
disableCreate?: boolean | undefined;
|
|
1117
47
|
embeddedForms?: ({
|
|
1118
|
-
type: "object";
|
|
1119
|
-
name: string;
|
|
1120
48
|
id: string;
|
|
49
|
+
name: string;
|
|
1121
50
|
modelRef: string;
|
|
51
|
+
type: "object";
|
|
1122
52
|
form: {
|
|
1123
53
|
fields: {
|
|
1124
|
-
|
|
54
|
+
[x: string]: unknown;
|
|
1125
55
|
id: string;
|
|
56
|
+
type: string;
|
|
1126
57
|
label: string;
|
|
1127
58
|
}[];
|
|
1128
59
|
};
|
|
1129
60
|
includeIdField?: boolean | undefined;
|
|
1130
61
|
} | {
|
|
1131
|
-
type: "list";
|
|
1132
|
-
name: string;
|
|
1133
62
|
id: string;
|
|
63
|
+
name: string;
|
|
1134
64
|
modelRef: string;
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
65
|
+
type: "list";
|
|
66
|
+
table: {
|
|
67
|
+
columns: {
|
|
68
|
+
[x: string]: unknown;
|
|
1138
69
|
id: string;
|
|
70
|
+
type: string;
|
|
1139
71
|
label: string;
|
|
1140
72
|
}[];
|
|
1141
73
|
};
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
74
|
+
form: {
|
|
75
|
+
fields: {
|
|
76
|
+
[x: string]: unknown;
|
|
1145
77
|
id: string;
|
|
78
|
+
type: string;
|
|
1146
79
|
label: string;
|
|
1147
80
|
}[];
|
|
1148
81
|
};
|
|
@@ -1154,305 +87,311 @@ export declare const createWebAppSchema: (context: import("#src/schema/creator/i
|
|
|
1154
87
|
pathPrefix?: string | undefined;
|
|
1155
88
|
allowedRoles?: string[] | undefined;
|
|
1156
89
|
sections?: ({
|
|
1157
|
-
type: string;
|
|
1158
90
|
name: string;
|
|
1159
91
|
featureRef: string;
|
|
1160
|
-
|
|
92
|
+
type: string;
|
|
1161
93
|
id?: string | undefined;
|
|
94
|
+
icon?: string | undefined;
|
|
1162
95
|
} & {
|
|
1163
96
|
type: "crud";
|
|
1164
97
|
modelRef: string;
|
|
1165
|
-
|
|
1166
|
-
fields: z.objectInputType<{
|
|
1167
|
-
id: z.ZodDefault<z.ZodString>;
|
|
1168
|
-
type: z.ZodString;
|
|
1169
|
-
label: z.ZodString;
|
|
1170
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
1171
|
-
};
|
|
98
|
+
nameFieldRef: string;
|
|
1172
99
|
table: {
|
|
1173
|
-
columns:
|
|
1174
|
-
|
|
1175
|
-
type:
|
|
1176
|
-
label:
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
100
|
+
columns: {
|
|
101
|
+
[x: string]: unknown;
|
|
102
|
+
type: string;
|
|
103
|
+
label: string;
|
|
104
|
+
id?: string | undefined;
|
|
105
|
+
}[];
|
|
106
|
+
actions?: {
|
|
107
|
+
[x: string]: unknown;
|
|
108
|
+
type: string;
|
|
109
|
+
id?: string | undefined;
|
|
110
|
+
position?: "inline" | "dropdown" | undefined;
|
|
111
|
+
}[] | undefined;
|
|
112
|
+
};
|
|
113
|
+
form: {
|
|
114
|
+
fields: {
|
|
115
|
+
[x: string]: unknown;
|
|
116
|
+
type: string;
|
|
117
|
+
label: string;
|
|
118
|
+
id?: string | undefined;
|
|
119
|
+
}[];
|
|
1183
120
|
};
|
|
1184
|
-
nameFieldRef: string;
|
|
1185
121
|
disableCreate?: boolean | undefined;
|
|
1186
122
|
embeddedForms?: ({
|
|
1187
|
-
type: "object";
|
|
1188
|
-
name: string;
|
|
1189
123
|
id: string;
|
|
124
|
+
name: string;
|
|
1190
125
|
modelRef: string;
|
|
126
|
+
type: "object";
|
|
1191
127
|
form: {
|
|
1192
|
-
fields:
|
|
1193
|
-
|
|
1194
|
-
type:
|
|
1195
|
-
label:
|
|
1196
|
-
|
|
128
|
+
fields: {
|
|
129
|
+
[x: string]: unknown;
|
|
130
|
+
type: string;
|
|
131
|
+
label: string;
|
|
132
|
+
id?: string | undefined;
|
|
133
|
+
}[];
|
|
1197
134
|
};
|
|
1198
135
|
includeIdField?: boolean | undefined;
|
|
1199
136
|
} | {
|
|
1200
|
-
type: "list";
|
|
1201
|
-
name: string;
|
|
1202
137
|
id: string;
|
|
138
|
+
name: string;
|
|
1203
139
|
modelRef: string;
|
|
1204
|
-
|
|
1205
|
-
fields: z.objectInputType<{
|
|
1206
|
-
id: z.ZodDefault<z.ZodString>;
|
|
1207
|
-
type: z.ZodString;
|
|
1208
|
-
label: z.ZodString;
|
|
1209
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
1210
|
-
};
|
|
140
|
+
type: "list";
|
|
1211
141
|
table: {
|
|
1212
|
-
columns:
|
|
1213
|
-
|
|
1214
|
-
type:
|
|
1215
|
-
label:
|
|
1216
|
-
|
|
142
|
+
columns: {
|
|
143
|
+
[x: string]: unknown;
|
|
144
|
+
type: string;
|
|
145
|
+
label: string;
|
|
146
|
+
id?: string | undefined;
|
|
147
|
+
}[];
|
|
148
|
+
};
|
|
149
|
+
form: {
|
|
150
|
+
fields: {
|
|
151
|
+
[x: string]: unknown;
|
|
152
|
+
type: string;
|
|
153
|
+
label: string;
|
|
154
|
+
id?: string | undefined;
|
|
155
|
+
}[];
|
|
1217
156
|
};
|
|
1218
157
|
includeIdField?: boolean | undefined;
|
|
1219
158
|
})[] | undefined;
|
|
1220
159
|
})[] | undefined;
|
|
1221
|
-
} | undefined
|
|
1222
|
-
id: z.ZodDefault<z.ZodString>;
|
|
1223
|
-
name: z.ZodString;
|
|
1224
|
-
}, "strip", z.ZodTypeAny, {
|
|
1225
|
-
type: "web";
|
|
1226
|
-
name: string;
|
|
1227
|
-
description: string;
|
|
1228
|
-
id: string;
|
|
1229
|
-
title: string;
|
|
1230
|
-
enableSubscriptions?: boolean | undefined;
|
|
1231
|
-
includeAuth?: boolean | undefined;
|
|
1232
|
-
includeUploadComponents?: boolean | undefined;
|
|
1233
|
-
adminApp?: {
|
|
160
|
+
} | undefined, z.core.$ZodTypeInternals<{
|
|
1234
161
|
enabled: boolean;
|
|
1235
162
|
pathPrefix: string;
|
|
1236
163
|
allowedRoles?: string[] | undefined;
|
|
1237
164
|
sections?: ({
|
|
1238
|
-
type: string;
|
|
1239
|
-
name: string;
|
|
1240
165
|
id: string;
|
|
166
|
+
name: string;
|
|
1241
167
|
featureRef: string;
|
|
168
|
+
type: string;
|
|
1242
169
|
icon?: string | undefined;
|
|
1243
170
|
} & {
|
|
1244
171
|
type: "crud";
|
|
1245
172
|
modelRef: string;
|
|
1246
|
-
|
|
1247
|
-
fields: {
|
|
1248
|
-
type: string;
|
|
1249
|
-
id: string;
|
|
1250
|
-
label: string;
|
|
1251
|
-
}[];
|
|
1252
|
-
};
|
|
173
|
+
nameFieldRef: string;
|
|
1253
174
|
table: {
|
|
1254
175
|
columns: {
|
|
1255
|
-
|
|
176
|
+
[x: string]: unknown;
|
|
1256
177
|
id: string;
|
|
178
|
+
type: string;
|
|
1257
179
|
label: string;
|
|
1258
180
|
}[];
|
|
1259
181
|
actions?: {
|
|
1260
|
-
|
|
182
|
+
[x: string]: unknown;
|
|
1261
183
|
id: string;
|
|
184
|
+
type: string;
|
|
1262
185
|
position: "inline" | "dropdown";
|
|
1263
186
|
}[] | undefined;
|
|
1264
187
|
};
|
|
1265
|
-
|
|
188
|
+
form: {
|
|
189
|
+
fields: {
|
|
190
|
+
[x: string]: unknown;
|
|
191
|
+
id: string;
|
|
192
|
+
type: string;
|
|
193
|
+
label: string;
|
|
194
|
+
}[];
|
|
195
|
+
};
|
|
1266
196
|
disableCreate?: boolean | undefined;
|
|
1267
197
|
embeddedForms?: ({
|
|
1268
|
-
type: "object";
|
|
1269
|
-
name: string;
|
|
1270
198
|
id: string;
|
|
199
|
+
name: string;
|
|
1271
200
|
modelRef: string;
|
|
201
|
+
type: "object";
|
|
1272
202
|
form: {
|
|
1273
203
|
fields: {
|
|
1274
|
-
|
|
204
|
+
[x: string]: unknown;
|
|
1275
205
|
id: string;
|
|
206
|
+
type: string;
|
|
1276
207
|
label: string;
|
|
1277
208
|
}[];
|
|
1278
209
|
};
|
|
1279
210
|
includeIdField?: boolean | undefined;
|
|
1280
211
|
} | {
|
|
1281
|
-
type: "list";
|
|
1282
|
-
name: string;
|
|
1283
212
|
id: string;
|
|
213
|
+
name: string;
|
|
1284
214
|
modelRef: string;
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
215
|
+
type: "list";
|
|
216
|
+
table: {
|
|
217
|
+
columns: {
|
|
218
|
+
[x: string]: unknown;
|
|
1288
219
|
id: string;
|
|
220
|
+
type: string;
|
|
1289
221
|
label: string;
|
|
1290
222
|
}[];
|
|
1291
223
|
};
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
224
|
+
form: {
|
|
225
|
+
fields: {
|
|
226
|
+
[x: string]: unknown;
|
|
1295
227
|
id: string;
|
|
228
|
+
type: string;
|
|
1296
229
|
label: string;
|
|
1297
230
|
}[];
|
|
1298
231
|
};
|
|
1299
232
|
includeIdField?: boolean | undefined;
|
|
1300
233
|
})[] | undefined;
|
|
1301
234
|
})[] | undefined;
|
|
1302
|
-
} | undefined
|
|
1303
|
-
}, {
|
|
1304
|
-
type: "web";
|
|
1305
|
-
name: string;
|
|
1306
|
-
description?: string | undefined;
|
|
1307
|
-
id?: string | undefined;
|
|
1308
|
-
enableSubscriptions?: boolean | undefined;
|
|
1309
|
-
includeAuth?: boolean | undefined;
|
|
1310
|
-
title?: string | undefined;
|
|
1311
|
-
includeUploadComponents?: boolean | undefined;
|
|
1312
|
-
adminApp?: {
|
|
235
|
+
} | undefined, {
|
|
1313
236
|
enabled: boolean;
|
|
1314
237
|
pathPrefix?: string | undefined;
|
|
1315
238
|
allowedRoles?: string[] | undefined;
|
|
1316
239
|
sections?: ({
|
|
1317
|
-
type: string;
|
|
1318
240
|
name: string;
|
|
1319
241
|
featureRef: string;
|
|
1320
|
-
|
|
242
|
+
type: string;
|
|
1321
243
|
id?: string | undefined;
|
|
244
|
+
icon?: string | undefined;
|
|
1322
245
|
} & {
|
|
1323
246
|
type: "crud";
|
|
1324
247
|
modelRef: string;
|
|
1325
|
-
|
|
1326
|
-
fields: z.objectInputType<{
|
|
1327
|
-
id: z.ZodDefault<z.ZodString>;
|
|
1328
|
-
type: z.ZodString;
|
|
1329
|
-
label: z.ZodString;
|
|
1330
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
1331
|
-
};
|
|
248
|
+
nameFieldRef: string;
|
|
1332
249
|
table: {
|
|
1333
|
-
columns:
|
|
1334
|
-
|
|
1335
|
-
type:
|
|
1336
|
-
label:
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
250
|
+
columns: {
|
|
251
|
+
[x: string]: unknown;
|
|
252
|
+
type: string;
|
|
253
|
+
label: string;
|
|
254
|
+
id?: string | undefined;
|
|
255
|
+
}[];
|
|
256
|
+
actions?: {
|
|
257
|
+
[x: string]: unknown;
|
|
258
|
+
type: string;
|
|
259
|
+
id?: string | undefined;
|
|
260
|
+
position?: "inline" | "dropdown" | undefined;
|
|
261
|
+
}[] | undefined;
|
|
262
|
+
};
|
|
263
|
+
form: {
|
|
264
|
+
fields: {
|
|
265
|
+
[x: string]: unknown;
|
|
266
|
+
type: string;
|
|
267
|
+
label: string;
|
|
268
|
+
id?: string | undefined;
|
|
269
|
+
}[];
|
|
1343
270
|
};
|
|
1344
|
-
nameFieldRef: string;
|
|
1345
271
|
disableCreate?: boolean | undefined;
|
|
1346
272
|
embeddedForms?: ({
|
|
1347
|
-
type: "object";
|
|
1348
|
-
name: string;
|
|
1349
273
|
id: string;
|
|
274
|
+
name: string;
|
|
1350
275
|
modelRef: string;
|
|
276
|
+
type: "object";
|
|
1351
277
|
form: {
|
|
1352
|
-
fields:
|
|
1353
|
-
|
|
1354
|
-
type:
|
|
1355
|
-
label:
|
|
1356
|
-
|
|
278
|
+
fields: {
|
|
279
|
+
[x: string]: unknown;
|
|
280
|
+
type: string;
|
|
281
|
+
label: string;
|
|
282
|
+
id?: string | undefined;
|
|
283
|
+
}[];
|
|
1357
284
|
};
|
|
1358
285
|
includeIdField?: boolean | undefined;
|
|
1359
286
|
} | {
|
|
1360
|
-
type: "list";
|
|
1361
|
-
name: string;
|
|
1362
287
|
id: string;
|
|
288
|
+
name: string;
|
|
1363
289
|
modelRef: string;
|
|
1364
|
-
|
|
1365
|
-
fields: z.objectInputType<{
|
|
1366
|
-
id: z.ZodDefault<z.ZodString>;
|
|
1367
|
-
type: z.ZodString;
|
|
1368
|
-
label: z.ZodString;
|
|
1369
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
1370
|
-
};
|
|
290
|
+
type: "list";
|
|
1371
291
|
table: {
|
|
1372
|
-
columns:
|
|
1373
|
-
|
|
1374
|
-
type:
|
|
1375
|
-
label:
|
|
1376
|
-
|
|
292
|
+
columns: {
|
|
293
|
+
[x: string]: unknown;
|
|
294
|
+
type: string;
|
|
295
|
+
label: string;
|
|
296
|
+
id?: string | undefined;
|
|
297
|
+
}[];
|
|
298
|
+
};
|
|
299
|
+
form: {
|
|
300
|
+
fields: {
|
|
301
|
+
[x: string]: unknown;
|
|
302
|
+
type: string;
|
|
303
|
+
label: string;
|
|
304
|
+
id?: string | undefined;
|
|
305
|
+
}[];
|
|
1377
306
|
};
|
|
1378
307
|
includeIdField?: boolean | undefined;
|
|
1379
308
|
})[] | undefined;
|
|
1380
309
|
})[] | undefined;
|
|
1381
|
-
} | undefined
|
|
310
|
+
} | undefined>>>;
|
|
311
|
+
id: z.ZodDefault<z.ZodString>;
|
|
312
|
+
name: z.ZodString;
|
|
313
|
+
}, z.core.$strip>, {
|
|
314
|
+
appSlot: import("../../../index.js").DefinitionEntityType<false>;
|
|
1382
315
|
}>;
|
|
1383
316
|
export type WebAppConfig = def.InferOutput<typeof createWebAppSchema>;
|
|
1384
317
|
export declare const webAppEntryType: import("../types.js").AppEntryType<{
|
|
1385
318
|
type: "web";
|
|
1386
|
-
|
|
319
|
+
title: string;
|
|
1387
320
|
description: string;
|
|
1388
321
|
id: string;
|
|
1389
|
-
|
|
1390
|
-
enableSubscriptions?: boolean | undefined;
|
|
322
|
+
name: string;
|
|
1391
323
|
includeAuth?: boolean | undefined;
|
|
1392
324
|
includeUploadComponents?: boolean | undefined;
|
|
325
|
+
enableSubscriptions?: boolean | undefined;
|
|
1393
326
|
adminApp?: {
|
|
1394
327
|
enabled: boolean;
|
|
1395
328
|
pathPrefix: string;
|
|
1396
329
|
allowedRoles?: string[] | undefined;
|
|
1397
330
|
sections?: ({
|
|
1398
|
-
type: string;
|
|
1399
|
-
name: string;
|
|
1400
331
|
id: string;
|
|
332
|
+
name: string;
|
|
1401
333
|
featureRef: string;
|
|
334
|
+
type: string;
|
|
1402
335
|
icon?: string | undefined;
|
|
1403
336
|
} & {
|
|
1404
337
|
type: "crud";
|
|
1405
338
|
modelRef: string;
|
|
1406
|
-
|
|
1407
|
-
fields: {
|
|
1408
|
-
type: string;
|
|
1409
|
-
id: string;
|
|
1410
|
-
label: string;
|
|
1411
|
-
}[];
|
|
1412
|
-
};
|
|
339
|
+
nameFieldRef: string;
|
|
1413
340
|
table: {
|
|
1414
341
|
columns: {
|
|
1415
|
-
|
|
342
|
+
[x: string]: unknown;
|
|
1416
343
|
id: string;
|
|
344
|
+
type: string;
|
|
1417
345
|
label: string;
|
|
1418
346
|
}[];
|
|
1419
347
|
actions?: {
|
|
1420
|
-
|
|
348
|
+
[x: string]: unknown;
|
|
1421
349
|
id: string;
|
|
350
|
+
type: string;
|
|
1422
351
|
position: "inline" | "dropdown";
|
|
1423
352
|
}[] | undefined;
|
|
1424
353
|
};
|
|
1425
|
-
|
|
354
|
+
form: {
|
|
355
|
+
fields: {
|
|
356
|
+
[x: string]: unknown;
|
|
357
|
+
id: string;
|
|
358
|
+
type: string;
|
|
359
|
+
label: string;
|
|
360
|
+
}[];
|
|
361
|
+
};
|
|
1426
362
|
disableCreate?: boolean | undefined;
|
|
1427
363
|
embeddedForms?: ({
|
|
1428
|
-
type: "object";
|
|
1429
|
-
name: string;
|
|
1430
364
|
id: string;
|
|
365
|
+
name: string;
|
|
1431
366
|
modelRef: string;
|
|
367
|
+
type: "object";
|
|
1432
368
|
form: {
|
|
1433
369
|
fields: {
|
|
1434
|
-
|
|
370
|
+
[x: string]: unknown;
|
|
1435
371
|
id: string;
|
|
372
|
+
type: string;
|
|
1436
373
|
label: string;
|
|
1437
374
|
}[];
|
|
1438
375
|
};
|
|
1439
376
|
includeIdField?: boolean | undefined;
|
|
1440
377
|
} | {
|
|
1441
|
-
type: "list";
|
|
1442
|
-
name: string;
|
|
1443
378
|
id: string;
|
|
379
|
+
name: string;
|
|
1444
380
|
modelRef: string;
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
381
|
+
type: "list";
|
|
382
|
+
table: {
|
|
383
|
+
columns: {
|
|
384
|
+
[x: string]: unknown;
|
|
1448
385
|
id: string;
|
|
386
|
+
type: string;
|
|
1449
387
|
label: string;
|
|
1450
388
|
}[];
|
|
1451
389
|
};
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
390
|
+
form: {
|
|
391
|
+
fields: {
|
|
392
|
+
[x: string]: unknown;
|
|
1455
393
|
id: string;
|
|
394
|
+
type: string;
|
|
1456
395
|
label: string;
|
|
1457
396
|
}[];
|
|
1458
397
|
};
|