@baseplate-dev/project-builder-lib 0.2.5 → 0.3.0

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.
Files changed (171) hide show
  1. package/dist/compiler/app-compiler-spec.d.ts +1 -1
  2. package/dist/compiler/app-compiler-spec.d.ts.map +1 -1
  3. package/dist/definition/apps/app-utils.d.ts +9 -1
  4. package/dist/definition/apps/app-utils.d.ts.map +1 -1
  5. package/dist/definition/apps/app-utils.js +13 -5
  6. package/dist/definition/apps/app-utils.js.map +1 -1
  7. package/dist/definition/plugins/plugin-utils.d.ts +18 -6
  8. package/dist/definition/plugins/plugin-utils.d.ts.map +1 -1
  9. package/dist/definition/plugins/plugin-utils.js +40 -13
  10. package/dist/definition/plugins/plugin-utils.js.map +1 -1
  11. package/dist/migrations/index.d.ts.map +1 -1
  12. package/dist/migrations/index.js +4 -0
  13. package/dist/migrations/index.js.map +1 -1
  14. package/dist/migrations/migration-016-web-admin-config.d.ts +34 -0
  15. package/dist/migrations/migration-016-web-admin-config.d.ts.map +1 -0
  16. package/dist/migrations/migration-016-web-admin-config.js +43 -0
  17. package/dist/migrations/migration-016-web-admin-config.js.map +1 -0
  18. package/dist/migrations/migration-017-rename-auth-plugin.d.ts +21 -0
  19. package/dist/migrations/migration-017-rename-auth-plugin.d.ts.map +1 -0
  20. package/dist/migrations/migration-017-rename-auth-plugin.js +60 -0
  21. package/dist/migrations/migration-017-rename-auth-plugin.js.map +1 -0
  22. package/dist/parser/parser.d.ts +10 -1
  23. package/dist/parser/parser.d.ts.map +1 -1
  24. package/dist/parser/parser.js +27 -2
  25. package/dist/parser/parser.js.map +1 -1
  26. package/dist/plugin-tools/plugin-loader.d.ts +13 -1
  27. package/dist/plugin-tools/plugin-loader.d.ts.map +1 -1
  28. package/dist/plugin-tools/plugin-loader.js +95 -36
  29. package/dist/plugin-tools/plugin-loader.js.map +1 -1
  30. package/dist/plugins/imports/index.d.ts +1 -0
  31. package/dist/plugins/imports/index.d.ts.map +1 -1
  32. package/dist/plugins/imports/index.js +1 -0
  33. package/dist/plugins/imports/index.js.map +1 -1
  34. package/dist/plugins/imports/loader.d.ts +2 -2
  35. package/dist/plugins/imports/loader.d.ts.map +1 -1
  36. package/dist/plugins/imports/loader.js +4 -4
  37. package/dist/plugins/imports/loader.js.map +1 -1
  38. package/dist/plugins/imports/types.d.ts +1 -1
  39. package/dist/plugins/imports/types.d.ts.map +1 -1
  40. package/dist/plugins/imports/utils.d.ts +21 -0
  41. package/dist/plugins/imports/utils.d.ts.map +1 -0
  42. package/dist/plugins/imports/utils.js +33 -0
  43. package/dist/plugins/imports/utils.js.map +1 -0
  44. package/dist/plugins/index.d.ts +0 -1
  45. package/dist/plugins/index.d.ts.map +1 -1
  46. package/dist/plugins/index.js +0 -1
  47. package/dist/plugins/index.js.map +1 -1
  48. package/dist/plugins/metadata/types.d.ts +17 -3
  49. package/dist/plugins/metadata/types.d.ts.map +1 -1
  50. package/dist/plugins/metadata/types.js +9 -1
  51. package/dist/plugins/metadata/types.js.map +1 -1
  52. package/dist/plugins/plugins.test-utils.d.ts.map +1 -1
  53. package/dist/plugins/plugins.test-utils.js +2 -1
  54. package/dist/plugins/plugins.test-utils.js.map +1 -1
  55. package/dist/plugins/spec/auth-config-spec.d.ts +0 -2
  56. package/dist/plugins/spec/auth-config-spec.d.ts.map +1 -1
  57. package/dist/plugins/spec/auth-config-spec.js.map +1 -1
  58. package/dist/plugins/spec/auth-model-config-spec.d.ts +15 -0
  59. package/dist/plugins/spec/auth-model-config-spec.d.ts.map +1 -0
  60. package/dist/plugins/spec/auth-model-config-spec.js +6 -0
  61. package/dist/plugins/spec/auth-model-config-spec.js.map +1 -0
  62. package/dist/plugins/spec/config-spec.d.ts +2 -2
  63. package/dist/plugins/spec/config-spec.d.ts.map +1 -1
  64. package/dist/plugins/spec/index.d.ts +1 -0
  65. package/dist/plugins/spec/index.d.ts.map +1 -1
  66. package/dist/plugins/spec/index.js +1 -0
  67. package/dist/plugins/spec/index.js.map +1 -1
  68. package/dist/plugins/spec/web-config-spec.d.ts +3 -3
  69. package/dist/plugins/spec/web-config-spec.d.ts.map +1 -1
  70. package/dist/plugins/spec/web-config-spec.js +6 -6
  71. package/dist/plugins/spec/web-config-spec.js.map +1 -1
  72. package/dist/schema/apps/index.d.ts +0 -1
  73. package/dist/schema/apps/index.d.ts.map +1 -1
  74. package/dist/schema/apps/index.js +0 -1
  75. package/dist/schema/apps/index.js.map +1 -1
  76. package/dist/schema/apps/{admin/app.d.ts → web/admin/admin.d.ts} +233 -32
  77. package/dist/schema/apps/{admin/app.d.ts.map → web/admin/admin.d.ts.map} +1 -1
  78. package/dist/schema/apps/web/admin/admin.js +22 -0
  79. package/dist/schema/apps/web/admin/admin.js.map +1 -0
  80. package/dist/schema/apps/web/admin/index.d.ts +3 -0
  81. package/dist/schema/apps/web/admin/index.d.ts.map +1 -0
  82. package/dist/schema/apps/web/admin/index.js +3 -0
  83. package/dist/schema/apps/web/admin/index.js.map +1 -0
  84. package/dist/schema/apps/{admin → web/admin}/sections/base.d.ts +1 -1
  85. package/dist/schema/apps/web/admin/sections/base.d.ts.map +1 -0
  86. package/dist/schema/apps/web/admin/sections/base.js.map +1 -0
  87. package/dist/schema/apps/{admin → web/admin}/sections/crud-form/admin-crud-input.d.ts +1 -1
  88. package/dist/schema/apps/web/admin/sections/crud-form/admin-crud-input.d.ts.map +1 -0
  89. package/dist/schema/apps/web/admin/sections/crud-form/admin-crud-input.js.map +1 -0
  90. package/dist/schema/apps/web/admin/sections/crud-form/admin-input-spec.d.ts.map +1 -0
  91. package/dist/schema/apps/web/admin/sections/crud-form/admin-input-spec.js.map +1 -0
  92. package/dist/schema/apps/web/admin/sections/crud-form/built-in-input.d.ts.map +1 -0
  93. package/dist/schema/apps/web/admin/sections/crud-form/built-in-input.js.map +1 -0
  94. package/dist/schema/apps/web/admin/sections/crud-form/index.d.ts.map +1 -0
  95. package/dist/schema/apps/web/admin/sections/crud-form/index.js.map +1 -0
  96. package/dist/schema/apps/web/admin/sections/crud-form/types.d.ts.map +1 -0
  97. package/dist/schema/apps/web/admin/sections/crud-form/types.js.map +1 -0
  98. package/dist/schema/apps/{admin → web/admin}/sections/crud.d.ts +1 -1
  99. package/dist/schema/apps/web/admin/sections/crud.d.ts.map +1 -0
  100. package/dist/schema/apps/{admin → web/admin}/sections/crud.js +1 -1
  101. package/dist/schema/apps/web/admin/sections/crud.js.map +1 -0
  102. package/dist/schema/apps/web/admin/sections/index.d.ts.map +1 -0
  103. package/dist/schema/apps/web/admin/sections/index.js.map +1 -0
  104. package/dist/schema/apps/web/admin/sections/types.d.ts.map +1 -0
  105. package/dist/schema/apps/{admin → web/admin}/sections/types.js +1 -1
  106. package/dist/schema/apps/web/admin/sections/types.js.map +1 -0
  107. package/dist/schema/apps/web/index.d.ts +2 -49
  108. package/dist/schema/apps/web/index.d.ts.map +1 -1
  109. package/dist/schema/apps/web/index.js +2 -21
  110. package/dist/schema/apps/web/index.js.map +1 -1
  111. package/dist/schema/apps/web/web-app.d.ts +1540 -0
  112. package/dist/schema/apps/web/web-app.d.ts.map +1 -0
  113. package/dist/schema/apps/web/web-app.js +17 -0
  114. package/dist/schema/apps/web/web-app.js.map +1 -0
  115. package/dist/schema/features/theme.d.ts +11 -11
  116. package/dist/schema/models/index.d.ts +6 -6
  117. package/dist/schema/project-definition.d.ts +2619 -1775
  118. package/dist/schema/project-definition.d.ts.map +1 -1
  119. package/dist/schema/project-definition.js +0 -2
  120. package/dist/schema/project-definition.js.map +1 -1
  121. package/dist/schema/settings.d.ts +14 -14
  122. package/dist/tools/model-merger/model-merger.d.ts +7 -7
  123. package/dist/tools/model-merger/model-merger.d.ts.map +1 -1
  124. package/dist/tools/model-merger/model-merger.js +37 -13
  125. package/dist/tools/model-merger/model-merger.js.map +1 -1
  126. package/dist/web/specs/admin-crud-input-web-spec.d.ts +2 -2
  127. package/dist/web/specs/admin-crud-input-web-spec.d.ts.map +1 -1
  128. package/dist/web/specs/model-transformer-web-spec.d.ts +2 -2
  129. package/dist/web/specs/model-transformer-web-spec.d.ts.map +1 -1
  130. package/package.json +9 -8
  131. package/dist/plugins/manifest/manifest.d.ts +0 -13
  132. package/dist/plugins/manifest/manifest.d.ts.map +0 -1
  133. package/dist/plugins/manifest/manifest.js +0 -6
  134. package/dist/plugins/manifest/manifest.js.map +0 -1
  135. package/dist/schema/apps/admin/app.js +0 -27
  136. package/dist/schema/apps/admin/app.js.map +0 -1
  137. package/dist/schema/apps/admin/index.d.ts +0 -3
  138. package/dist/schema/apps/admin/index.d.ts.map +0 -1
  139. package/dist/schema/apps/admin/index.js +0 -3
  140. package/dist/schema/apps/admin/index.js.map +0 -1
  141. package/dist/schema/apps/admin/sections/base.d.ts.map +0 -1
  142. package/dist/schema/apps/admin/sections/base.js.map +0 -1
  143. package/dist/schema/apps/admin/sections/crud-form/admin-crud-input.d.ts.map +0 -1
  144. package/dist/schema/apps/admin/sections/crud-form/admin-crud-input.js.map +0 -1
  145. package/dist/schema/apps/admin/sections/crud-form/admin-input-spec.d.ts.map +0 -1
  146. package/dist/schema/apps/admin/sections/crud-form/admin-input-spec.js.map +0 -1
  147. package/dist/schema/apps/admin/sections/crud-form/built-in-input.d.ts.map +0 -1
  148. package/dist/schema/apps/admin/sections/crud-form/built-in-input.js.map +0 -1
  149. package/dist/schema/apps/admin/sections/crud-form/index.d.ts.map +0 -1
  150. package/dist/schema/apps/admin/sections/crud-form/index.js.map +0 -1
  151. package/dist/schema/apps/admin/sections/crud-form/types.d.ts.map +0 -1
  152. package/dist/schema/apps/admin/sections/crud-form/types.js.map +0 -1
  153. package/dist/schema/apps/admin/sections/crud.d.ts.map +0 -1
  154. package/dist/schema/apps/admin/sections/crud.js.map +0 -1
  155. package/dist/schema/apps/admin/sections/index.d.ts.map +0 -1
  156. package/dist/schema/apps/admin/sections/index.js.map +0 -1
  157. package/dist/schema/apps/admin/sections/types.d.ts.map +0 -1
  158. package/dist/schema/apps/admin/sections/types.js.map +0 -1
  159. /package/dist/schema/apps/{admin → web/admin}/sections/base.js +0 -0
  160. /package/dist/schema/apps/{admin → web/admin}/sections/crud-form/admin-crud-input.js +0 -0
  161. /package/dist/schema/apps/{admin → web/admin}/sections/crud-form/admin-input-spec.d.ts +0 -0
  162. /package/dist/schema/apps/{admin → web/admin}/sections/crud-form/admin-input-spec.js +0 -0
  163. /package/dist/schema/apps/{admin → web/admin}/sections/crud-form/built-in-input.d.ts +0 -0
  164. /package/dist/schema/apps/{admin → web/admin}/sections/crud-form/built-in-input.js +0 -0
  165. /package/dist/schema/apps/{admin → web/admin}/sections/crud-form/index.d.ts +0 -0
  166. /package/dist/schema/apps/{admin → web/admin}/sections/crud-form/index.js +0 -0
  167. /package/dist/schema/apps/{admin → web/admin}/sections/crud-form/types.d.ts +0 -0
  168. /package/dist/schema/apps/{admin → web/admin}/sections/crud-form/types.js +0 -0
  169. /package/dist/schema/apps/{admin → web/admin}/sections/index.d.ts +0 -0
  170. /package/dist/schema/apps/{admin → web/admin}/sections/index.js +0 -0
  171. /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;AAQxD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW9B,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,GAAG,CAAC,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEtE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA0C,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { z } from 'zod';
2
+ import { definitionSchema } from '#src/schema/creator/schema-creator.js';
3
+ import { baseAppValidators } from '../base.js';
4
+ import { createAppEntryType } from '../types.js';
5
+ import { createAdminAppSchema } from './admin/admin.js';
6
+ export const createWebAppSchema = definitionSchema((ctx) => z.object({
7
+ ...baseAppValidators,
8
+ type: z.literal('web'),
9
+ includeAuth: ctx.withDefault(z.boolean(), false),
10
+ title: z.string().default(''),
11
+ description: z.string().default(''),
12
+ includeUploadComponents: ctx.withDefault(z.boolean(), false),
13
+ enableSubscriptions: ctx.withDefault(z.boolean(), false),
14
+ adminApp: createAdminAppSchema(ctx),
15
+ }));
16
+ export const webAppEntryType = createAppEntryType('web');
17
+ //# sourceMappingURL=web-app.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"web-app.js","sourceRoot":"","sources":["../../../../src/schema/apps/web/web-app.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAExD,MAAM,CAAC,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,CAAC,GAAG,EAAE,EAAE,CACzD,CAAC,CAAC,MAAM,CAAC;IACP,GAAG,iBAAiB;IACpB,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;IACtB,WAAW,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,KAAK,CAAC;IAChD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IACnC,uBAAuB,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,KAAK,CAAC;IAC5D,mBAAmB,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,KAAK,CAAC;IACxD,QAAQ,EAAE,oBAAoB,CAAC,GAAG,CAAC;CACpC,CAAC,CACH,CAAC;AAIF,MAAM,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" | "success" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring", ...("link" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "success" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring")[]]>, z.ZodString>;
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" | "success" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring", ...("link" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "success" | "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" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "success" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring", ...("link" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "success" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring")[]]>, z.ZodString>;
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" | "success" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring", string>>;
168
- dark: Partial<Record<"link" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "success" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring", string>>;
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" | "success" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring", string>>;
171
- dark: Partial<Record<"link" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "success" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring", string>>;
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" | "success" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring", string>>;
188
- dark: Partial<Record<"link" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "success" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring", string>>;
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" | "success" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring", string>>;
205
- dark: Partial<Record<"link" | "background" | "foreground" | "muted" | "mutedForeground" | "card" | "cardForeground" | "popover" | "popoverForeground" | "accent" | "accentForeground" | "success" | "successForeground" | "warning" | "warningForeground" | "error" | "errorForeground" | "primary" | "primaryHover" | "primaryForeground" | "secondary" | "secondaryHover" | "secondaryForeground" | "destructive" | "destructiveHover" | "destructiveForeground" | "linkVisited" | "border" | "input" | "ring", string>>;
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;