@baseplate-dev/project-builder-lib 0.2.4 → 0.2.6
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/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-016-web-admin-config.d.ts +34 -0
- package/dist/migrations/migration-016-web-admin-config.d.ts.map +1 -0
- package/dist/migrations/migration-016-web-admin-config.js +43 -0
- package/dist/migrations/migration-016-web-admin-config.js.map +1 -0
- package/dist/plugins/migrations/run-migrations.d.ts.map +1 -1
- package/dist/plugins/migrations/run-migrations.js +8 -3
- package/dist/plugins/migrations/run-migrations.js.map +1 -1
- package/dist/plugins/plugins.test-utils.d.ts +27 -0
- package/dist/plugins/plugins.test-utils.d.ts.map +1 -0
- package/dist/plugins/plugins.test-utils.js +59 -0
- package/dist/plugins/plugins.test-utils.js.map +1 -0
- package/dist/plugins/spec/config-spec.d.ts +8 -6
- package/dist/plugins/spec/config-spec.d.ts.map +1 -1
- package/dist/plugins/spec/config-spec.js.map +1 -1
- package/dist/schema/apps/index.d.ts +1 -1
- package/dist/schema/apps/index.d.ts.map +1 -1
- package/dist/schema/apps/index.js +2 -1
- package/dist/schema/apps/index.js.map +1 -1
- package/dist/schema/apps/{admin/app.d.ts → web/admin/admin.d.ts} +231 -30
- package/dist/schema/apps/{admin/app.d.ts.map → web/admin/admin.d.ts.map} +1 -1
- package/dist/schema/apps/web/admin/admin.js +22 -0
- package/dist/schema/apps/web/admin/admin.js.map +1 -0
- package/dist/schema/apps/web/admin/index.d.ts +3 -0
- package/dist/schema/apps/web/admin/index.d.ts.map +1 -0
- package/dist/schema/apps/web/admin/index.js +3 -0
- package/dist/schema/apps/web/admin/index.js.map +1 -0
- package/dist/schema/apps/{admin → web/admin}/sections/base.d.ts +1 -1
- package/dist/schema/apps/web/admin/sections/base.d.ts.map +1 -0
- package/dist/schema/apps/web/admin/sections/base.js.map +1 -0
- package/dist/schema/apps/{admin → web/admin}/sections/crud-form/admin-crud-input.d.ts +1 -1
- package/dist/schema/apps/web/admin/sections/crud-form/admin-crud-input.d.ts.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-form/admin-crud-input.js.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-form/admin-input-spec.d.ts.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-form/admin-input-spec.js.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-form/built-in-input.d.ts.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-form/built-in-input.js.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-form/index.d.ts.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-form/index.js.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-form/types.d.ts.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud-form/types.js.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud.d.ts.map +1 -0
- package/dist/schema/apps/web/admin/sections/crud.js.map +1 -0
- package/dist/schema/apps/web/admin/sections/index.d.ts.map +1 -0
- package/dist/schema/apps/web/admin/sections/index.js.map +1 -0
- package/dist/schema/apps/web/admin/sections/types.d.ts.map +1 -0
- package/dist/schema/apps/{admin → web/admin}/sections/types.js +1 -1
- package/dist/schema/apps/web/admin/sections/types.js.map +1 -0
- package/dist/schema/apps/web/index.d.ts +1 -49
- package/dist/schema/apps/web/index.d.ts.map +1 -1
- package/dist/schema/apps/web/index.js +1 -21
- package/dist/schema/apps/web/index.js.map +1 -1
- package/dist/schema/apps/web/web-app.d.ts +1544 -0
- package/dist/schema/apps/web/web-app.d.ts.map +1 -0
- package/dist/schema/apps/web/web-app.js +22 -0
- package/dist/schema/apps/web/web-app.js.map +1 -0
- package/dist/schema/features/theme.d.ts +11 -11
- package/dist/schema/models/index.d.ts +6 -6
- package/dist/schema/project-definition.d.ts +2644 -1788
- package/dist/schema/project-definition.d.ts.map +1 -1
- package/dist/schema/project-definition.js +0 -2
- package/dist/schema/project-definition.js.map +1 -1
- package/dist/schema/settings.d.ts +14 -14
- package/dist/tools/model-merger/model-merger.d.ts +7 -7
- package/dist/tools/model-merger/model-merger.d.ts.map +1 -1
- package/dist/tools/model-merger/model-merger.js +37 -13
- package/dist/tools/model-merger/model-merger.js.map +1 -1
- package/package.json +5 -5
- package/dist/schema/apps/admin/app.js +0 -27
- package/dist/schema/apps/admin/app.js.map +0 -1
- package/dist/schema/apps/admin/index.d.ts +0 -3
- package/dist/schema/apps/admin/index.d.ts.map +0 -1
- package/dist/schema/apps/admin/index.js +0 -3
- package/dist/schema/apps/admin/index.js.map +0 -1
- package/dist/schema/apps/admin/sections/base.d.ts.map +0 -1
- package/dist/schema/apps/admin/sections/base.js.map +0 -1
- package/dist/schema/apps/admin/sections/crud-form/admin-crud-input.d.ts.map +0 -1
- package/dist/schema/apps/admin/sections/crud-form/admin-crud-input.js.map +0 -1
- package/dist/schema/apps/admin/sections/crud-form/admin-input-spec.d.ts.map +0 -1
- package/dist/schema/apps/admin/sections/crud-form/admin-input-spec.js.map +0 -1
- package/dist/schema/apps/admin/sections/crud-form/built-in-input.d.ts.map +0 -1
- package/dist/schema/apps/admin/sections/crud-form/built-in-input.js.map +0 -1
- package/dist/schema/apps/admin/sections/crud-form/index.d.ts.map +0 -1
- package/dist/schema/apps/admin/sections/crud-form/index.js.map +0 -1
- package/dist/schema/apps/admin/sections/crud-form/types.d.ts.map +0 -1
- package/dist/schema/apps/admin/sections/crud-form/types.js.map +0 -1
- package/dist/schema/apps/admin/sections/crud.d.ts.map +0 -1
- package/dist/schema/apps/admin/sections/crud.js.map +0 -1
- package/dist/schema/apps/admin/sections/index.d.ts.map +0 -1
- package/dist/schema/apps/admin/sections/index.js.map +0 -1
- package/dist/schema/apps/admin/sections/types.d.ts.map +0 -1
- package/dist/schema/apps/admin/sections/types.js.map +0 -1
- /package/dist/schema/apps/{admin → web/admin}/sections/base.js +0 -0
- /package/dist/schema/apps/{admin → web/admin}/sections/crud-form/admin-crud-input.js +0 -0
- /package/dist/schema/apps/{admin → web/admin}/sections/crud-form/admin-input-spec.d.ts +0 -0
- /package/dist/schema/apps/{admin → web/admin}/sections/crud-form/admin-input-spec.js +0 -0
- /package/dist/schema/apps/{admin → web/admin}/sections/crud-form/built-in-input.d.ts +0 -0
- /package/dist/schema/apps/{admin → web/admin}/sections/crud-form/built-in-input.js +0 -0
- /package/dist/schema/apps/{admin → web/admin}/sections/crud-form/index.d.ts +0 -0
- /package/dist/schema/apps/{admin → web/admin}/sections/crud-form/index.js +0 -0
- /package/dist/schema/apps/{admin → web/admin}/sections/crud-form/types.d.ts +0 -0
- /package/dist/schema/apps/{admin → web/admin}/sections/crud-form/types.js +0 -0
- /package/dist/schema/apps/{admin → web/admin}/sections/crud.d.ts +0 -0
- /package/dist/schema/apps/{admin → web/admin}/sections/crud.js +0 -0
- /package/dist/schema/apps/{admin → web/admin}/sections/index.d.ts +0 -0
- /package/dist/schema/apps/{admin → web/admin}/sections/index.js +0 -0
- /package/dist/schema/apps/{admin → web/admin}/sections/types.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web-app.d.ts","sourceRoot":"","sources":["../../../../src/schema/apps/web/web-app.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,8BAA8B,CAAC;AASxD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoB9B,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,GAAG,CAAC,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEtE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA0C,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { authRoleEntityType } from '#src/schema/auth/index.js';
|
|
3
|
+
import { definitionSchema } from '#src/schema/creator/schema-creator.js';
|
|
4
|
+
import { baseAppValidators } from '../base.js';
|
|
5
|
+
import { createAppEntryType } from '../types.js';
|
|
6
|
+
import { createAdminAppSchema } from './admin/admin.js';
|
|
7
|
+
export const createWebAppSchema = definitionSchema((ctx) => z.object({
|
|
8
|
+
...baseAppValidators,
|
|
9
|
+
type: z.literal('web'),
|
|
10
|
+
includeAuth: ctx.withDefault(z.boolean(), false),
|
|
11
|
+
title: z.string().default(''),
|
|
12
|
+
description: z.string().default(''),
|
|
13
|
+
allowedRoles: ctx.withDefault(z.array(ctx.withRef({
|
|
14
|
+
type: authRoleEntityType,
|
|
15
|
+
onDelete: 'DELETE',
|
|
16
|
+
})), []),
|
|
17
|
+
includeUploadComponents: ctx.withDefault(z.boolean(), false),
|
|
18
|
+
enableSubscriptions: ctx.withDefault(z.boolean(), false),
|
|
19
|
+
adminApp: createAdminAppSchema(ctx),
|
|
20
|
+
}));
|
|
21
|
+
export const webAppEntryType = createAppEntryType('web');
|
|
22
|
+
//# sourceMappingURL=web-app.js.map
|
|
@@ -0,0 +1 @@
|
|
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AM,CAAC,MAAM,eAAe,GAAG,kBAAkB,CAAe,KAAK,CAAC,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
import type { PaletteShade } from '#src/constants/colors.js';
|
|
3
3
|
import type { def } from '#src/schema/creator/index.js';
|
|
4
4
|
export declare const oklchColor: z.ZodString;
|
|
5
|
-
export declare const themeColorSchema: z.ZodRecord<z.ZodEnum<["link" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "
|
|
5
|
+
export declare const themeColorSchema: z.ZodRecord<z.ZodEnum<["link" | "success" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring", ...("link" | "success" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring")[]]>, z.ZodString>;
|
|
6
6
|
export type ThemeColorsConfig = z.infer<typeof themeColorSchema>;
|
|
7
7
|
export type PaletteShades = Record<PaletteShade, string>;
|
|
8
8
|
export declare const paletteSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -161,14 +161,14 @@ export declare const createThemeSchema: (context: import("#src/schema/creator/in
|
|
|
161
161
|
};
|
|
162
162
|
}>;
|
|
163
163
|
colors: z.ZodObject<{
|
|
164
|
-
light: z.ZodRecord<z.ZodEnum<["link" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "
|
|
165
|
-
dark: z.ZodRecord<z.ZodEnum<["link" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "
|
|
164
|
+
light: z.ZodRecord<z.ZodEnum<["link" | "success" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring", ...("link" | "success" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring")[]]>, z.ZodString>;
|
|
165
|
+
dark: z.ZodRecord<z.ZodEnum<["link" | "success" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring", ...("link" | "success" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring")[]]>, z.ZodString>;
|
|
166
166
|
}, "strip", z.ZodTypeAny, {
|
|
167
|
-
light: Partial<Record<"link" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "
|
|
168
|
-
dark: Partial<Record<"link" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "
|
|
167
|
+
light: Partial<Record<"link" | "success" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring", string>>;
|
|
168
|
+
dark: Partial<Record<"link" | "success" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring", string>>;
|
|
169
169
|
}, {
|
|
170
|
-
light: Partial<Record<"link" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "
|
|
171
|
-
dark: Partial<Record<"link" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "
|
|
170
|
+
light: Partial<Record<"link" | "success" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring", string>>;
|
|
171
|
+
dark: Partial<Record<"link" | "success" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring", string>>;
|
|
172
172
|
}>;
|
|
173
173
|
}, "strip", z.ZodTypeAny, {
|
|
174
174
|
palettes: {
|
|
@@ -184,8 +184,8 @@ export declare const createThemeSchema: (context: import("#src/schema/creator/in
|
|
|
184
184
|
};
|
|
185
185
|
};
|
|
186
186
|
colors: {
|
|
187
|
-
light: Partial<Record<"link" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "
|
|
188
|
-
dark: Partial<Record<"link" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "
|
|
187
|
+
light: Partial<Record<"link" | "success" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring", string>>;
|
|
188
|
+
dark: Partial<Record<"link" | "success" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring", string>>;
|
|
189
189
|
};
|
|
190
190
|
}, {
|
|
191
191
|
palettes: {
|
|
@@ -201,8 +201,8 @@ export declare const createThemeSchema: (context: import("#src/schema/creator/in
|
|
|
201
201
|
};
|
|
202
202
|
};
|
|
203
203
|
colors: {
|
|
204
|
-
light: Partial<Record<"link" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "
|
|
205
|
-
dark: Partial<Record<"link" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "
|
|
204
|
+
light: Partial<Record<"link" | "success" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring", string>>;
|
|
205
|
+
dark: Partial<Record<"link" | "success" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring", string>>;
|
|
206
206
|
};
|
|
207
207
|
}>;
|
|
208
208
|
export type ThemeConfig = def.InferOutput<typeof createThemeSchema>;
|
|
@@ -1042,7 +1042,6 @@ export declare const createModelBaseSchema: (context: import("#src/schema/creato
|
|
|
1042
1042
|
}, "strip", z.ZodTypeAny, {
|
|
1043
1043
|
name: string;
|
|
1044
1044
|
id: string;
|
|
1045
|
-
featureRef: string;
|
|
1046
1045
|
model: {
|
|
1047
1046
|
fields: {
|
|
1048
1047
|
options: {
|
|
@@ -1079,6 +1078,7 @@ export declare const createModelBaseSchema: (context: import("#src/schema/creato
|
|
|
1079
1078
|
}[];
|
|
1080
1079
|
}[] | undefined;
|
|
1081
1080
|
};
|
|
1081
|
+
featureRef: string;
|
|
1082
1082
|
service: {
|
|
1083
1083
|
delete: {
|
|
1084
1084
|
enabled: boolean;
|
|
@@ -1133,7 +1133,6 @@ export declare const createModelBaseSchema: (context: import("#src/schema/creato
|
|
|
1133
1133
|
}, {
|
|
1134
1134
|
name: string;
|
|
1135
1135
|
id: string;
|
|
1136
|
-
featureRef: string;
|
|
1137
1136
|
model: {
|
|
1138
1137
|
fields: {
|
|
1139
1138
|
type: "string" | "boolean" | "float" | "date" | "uuid" | "int" | "dateTime" | "decimal" | "json" | "enum";
|
|
@@ -1170,6 +1169,7 @@ export declare const createModelBaseSchema: (context: import("#src/schema/creato
|
|
|
1170
1169
|
}[];
|
|
1171
1170
|
}[] | undefined;
|
|
1172
1171
|
};
|
|
1172
|
+
featureRef: string;
|
|
1173
1173
|
service?: {
|
|
1174
1174
|
delete?: {
|
|
1175
1175
|
enabled?: boolean | undefined;
|
|
@@ -1908,7 +1908,6 @@ export declare const createModelSchema: (context: import("#src/schema/creator/in
|
|
|
1908
1908
|
}, "strip", z.ZodTypeAny, {
|
|
1909
1909
|
name: string;
|
|
1910
1910
|
id: string;
|
|
1911
|
-
featureRef: string;
|
|
1912
1911
|
model: {
|
|
1913
1912
|
fields: {
|
|
1914
1913
|
options: {
|
|
@@ -1945,6 +1944,7 @@ export declare const createModelSchema: (context: import("#src/schema/creator/in
|
|
|
1945
1944
|
}[];
|
|
1946
1945
|
}[] | undefined;
|
|
1947
1946
|
};
|
|
1947
|
+
featureRef: string;
|
|
1948
1948
|
service: {
|
|
1949
1949
|
delete: {
|
|
1950
1950
|
enabled: boolean;
|
|
@@ -1999,7 +1999,6 @@ export declare const createModelSchema: (context: import("#src/schema/creator/in
|
|
|
1999
1999
|
}, {
|
|
2000
2000
|
name: string;
|
|
2001
2001
|
id: string;
|
|
2002
|
-
featureRef: string;
|
|
2003
2002
|
model: {
|
|
2004
2003
|
fields: {
|
|
2005
2004
|
type: "string" | "boolean" | "float" | "date" | "uuid" | "int" | "dateTime" | "decimal" | "json" | "enum";
|
|
@@ -2036,6 +2035,7 @@ export declare const createModelSchema: (context: import("#src/schema/creator/in
|
|
|
2036
2035
|
}[];
|
|
2037
2036
|
}[] | undefined;
|
|
2038
2037
|
};
|
|
2038
|
+
featureRef: string;
|
|
2039
2039
|
service?: {
|
|
2040
2040
|
delete?: {
|
|
2041
2041
|
enabled?: boolean | undefined;
|
|
@@ -2090,7 +2090,6 @@ export declare const createModelSchema: (context: import("#src/schema/creator/in
|
|
|
2090
2090
|
}>, {
|
|
2091
2091
|
name: string;
|
|
2092
2092
|
id: string;
|
|
2093
|
-
featureRef: string;
|
|
2094
2093
|
model: {
|
|
2095
2094
|
fields: {
|
|
2096
2095
|
options: {
|
|
@@ -2127,6 +2126,7 @@ export declare const createModelSchema: (context: import("#src/schema/creator/in
|
|
|
2127
2126
|
}[];
|
|
2128
2127
|
}[] | undefined;
|
|
2129
2128
|
};
|
|
2129
|
+
featureRef: string;
|
|
2130
2130
|
service: {
|
|
2131
2131
|
delete: {
|
|
2132
2132
|
enabled: boolean;
|
|
@@ -2181,7 +2181,6 @@ export declare const createModelSchema: (context: import("#src/schema/creator/in
|
|
|
2181
2181
|
}, {
|
|
2182
2182
|
name: string;
|
|
2183
2183
|
id: string;
|
|
2184
|
-
featureRef: string;
|
|
2185
2184
|
model: {
|
|
2186
2185
|
fields: {
|
|
2187
2186
|
type: "string" | "boolean" | "float" | "date" | "uuid" | "int" | "dateTime" | "decimal" | "json" | "enum";
|
|
@@ -2218,6 +2217,7 @@ export declare const createModelSchema: (context: import("#src/schema/creator/in
|
|
|
2218
2217
|
}[];
|
|
2219
2218
|
}[] | undefined;
|
|
2220
2219
|
};
|
|
2220
|
+
featureRef: string;
|
|
2221
2221
|
service?: {
|
|
2222
2222
|
delete?: {
|
|
2223
2223
|
enabled?: boolean | undefined;
|