@baseplate-dev/project-builder-lib 0.1.1

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 (569) hide show
  1. package/LICENSE +390 -0
  2. package/dist/compiler/admin-crud-input-spec.d.ts +26 -0
  3. package/dist/compiler/admin-crud-input-spec.d.ts.map +1 -0
  4. package/dist/compiler/admin-crud-input-spec.js +29 -0
  5. package/dist/compiler/admin-crud-input-spec.js.map +1 -0
  6. package/dist/compiler/app-compiler-spec.d.ts +36 -0
  7. package/dist/compiler/app-compiler-spec.d.ts.map +1 -0
  8. package/dist/compiler/app-compiler-spec.js +42 -0
  9. package/dist/compiler/app-compiler-spec.js.map +1 -0
  10. package/dist/compiler/index.d.ts +5 -0
  11. package/dist/compiler/index.d.ts.map +1 -0
  12. package/dist/compiler/index.js +4 -0
  13. package/dist/compiler/index.js.map +1 -0
  14. package/dist/compiler/model-transformer-compiler-spec.d.ts +25 -0
  15. package/dist/compiler/model-transformer-compiler-spec.d.ts.map +1 -0
  16. package/dist/compiler/model-transformer-compiler-spec.js +29 -0
  17. package/dist/compiler/model-transformer-compiler-spec.js.map +1 -0
  18. package/dist/compiler/types.d.ts +2 -0
  19. package/dist/compiler/types.d.ts.map +1 -0
  20. package/dist/compiler/types.js +2 -0
  21. package/dist/compiler/types.js.map +1 -0
  22. package/dist/constants/colors.d.ts +294 -0
  23. package/dist/constants/colors.d.ts.map +1 -0
  24. package/dist/constants/colors.js +307 -0
  25. package/dist/constants/colors.js.map +1 -0
  26. package/dist/constants/index.d.ts +3 -0
  27. package/dist/constants/index.d.ts.map +1 -0
  28. package/dist/constants/index.js +3 -0
  29. package/dist/constants/index.js.map +1 -0
  30. package/dist/constants/theme-colors.d.ts +397 -0
  31. package/dist/constants/theme-colors.d.ts.map +1 -0
  32. package/dist/constants/theme-colors.js +247 -0
  33. package/dist/constants/theme-colors.js.map +1 -0
  34. package/dist/definition/apps/app-utils.d.ts +11 -0
  35. package/dist/definition/apps/app-utils.d.ts.map +1 -0
  36. package/dist/definition/apps/app-utils.js +30 -0
  37. package/dist/definition/apps/app-utils.js.map +1 -0
  38. package/dist/definition/feature/feature-utils.d.ts +27 -0
  39. package/dist/definition/feature/feature-utils.d.ts.map +1 -0
  40. package/dist/definition/feature/feature-utils.js +81 -0
  41. package/dist/definition/feature/feature-utils.js.map +1 -0
  42. package/dist/definition/index.d.ts +10 -0
  43. package/dist/definition/index.d.ts.map +1 -0
  44. package/dist/definition/index.js +10 -0
  45. package/dist/definition/index.js.map +1 -0
  46. package/dist/definition/model/enum-utils.d.ts +9 -0
  47. package/dist/definition/model/enum-utils.d.ts.map +1 -0
  48. package/dist/definition/model/enum-utils.js +15 -0
  49. package/dist/definition/model/enum-utils.js.map +1 -0
  50. package/dist/definition/model/model-field-utils.d.ts +17 -0
  51. package/dist/definition/model/model-field-utils.d.ts.map +1 -0
  52. package/dist/definition/model/model-field-utils.js +85 -0
  53. package/dist/definition/model/model-field-utils.js.map +1 -0
  54. package/dist/definition/model/model-transformer-utils.d.ts +11 -0
  55. package/dist/definition/model/model-transformer-utils.d.ts.map +1 -0
  56. package/dist/definition/model/model-transformer-utils.js +13 -0
  57. package/dist/definition/model/model-transformer-utils.js.map +1 -0
  58. package/dist/definition/model/model-utils.d.ts +32 -0
  59. package/dist/definition/model/model-utils.d.ts.map +1 -0
  60. package/dist/definition/model/model-utils.js +59 -0
  61. package/dist/definition/model/model-utils.js.map +1 -0
  62. package/dist/definition/plugins/index.d.ts +2 -0
  63. package/dist/definition/plugins/index.d.ts.map +1 -0
  64. package/dist/definition/plugins/index.js +2 -0
  65. package/dist/definition/plugins/index.js.map +1 -0
  66. package/dist/definition/plugins/plugin-utils.d.ts +14 -0
  67. package/dist/definition/plugins/plugin-utils.d.ts.map +1 -0
  68. package/dist/definition/plugins/plugin-utils.js +44 -0
  69. package/dist/definition/plugins/plugin-utils.js.map +1 -0
  70. package/dist/definition/project-definition-container.d.ts +65 -0
  71. package/dist/definition/project-definition-container.d.ts.map +1 -0
  72. package/dist/definition/project-definition-container.js +118 -0
  73. package/dist/definition/project-definition-container.js.map +1 -0
  74. package/dist/definition/project-definition-container.test-helper.d.ts +5 -0
  75. package/dist/definition/project-definition-container.test-helper.d.ts.map +1 -0
  76. package/dist/definition/project-definition-container.test-helper.js +36 -0
  77. package/dist/definition/project-definition-container.test-helper.js.map +1 -0
  78. package/dist/feature-flags/flags.d.ts +3 -0
  79. package/dist/feature-flags/flags.d.ts.map +1 -0
  80. package/dist/feature-flags/flags.js +2 -0
  81. package/dist/feature-flags/flags.js.map +1 -0
  82. package/dist/feature-flags/index.d.ts +2 -0
  83. package/dist/feature-flags/index.d.ts.map +1 -0
  84. package/dist/feature-flags/index.js +2 -0
  85. package/dist/feature-flags/index.js.map +1 -0
  86. package/dist/index.d.ts +14 -0
  87. package/dist/index.js +13 -0
  88. package/dist/index.js.map +1 -0
  89. package/dist/migrations/index.d.ts +15 -0
  90. package/dist/migrations/index.d.ts.map +1 -0
  91. package/dist/migrations/index.js +68 -0
  92. package/dist/migrations/index.js.map +1 -0
  93. package/dist/migrations/migration-005-primaryUniqueRefs.d.ts +37 -0
  94. package/dist/migrations/migration-005-primaryUniqueRefs.d.ts.map +1 -0
  95. package/dist/migrations/migration-005-primaryUniqueRefs.js +40 -0
  96. package/dist/migrations/migration-005-primaryUniqueRefs.js.map +1 -0
  97. package/dist/migrations/migration-006-individual-service-controllers.d.ts +42 -0
  98. package/dist/migrations/migration-006-individual-service-controllers.d.ts.map +1 -0
  99. package/dist/migrations/migration-006-individual-service-controllers.js +31 -0
  100. package/dist/migrations/migration-006-individual-service-controllers.js.map +1 -0
  101. package/dist/migrations/migration-007-model-graphql.d.ts +59 -0
  102. package/dist/migrations/migration-007-model-graphql.d.ts.map +1 -0
  103. package/dist/migrations/migration-007-model-graphql.js +62 -0
  104. package/dist/migrations/migration-007-model-graphql.js.map +1 -0
  105. package/dist/migrations/migration-008-anonymous-public-role.d.ts +22 -0
  106. package/dist/migrations/migration-008-anonymous-public-role.d.ts.map +1 -0
  107. package/dist/migrations/migration-008-anonymous-public-role.js +52 -0
  108. package/dist/migrations/migration-008-anonymous-public-role.js.map +1 -0
  109. package/dist/migrations/migration-009-rename-refs.d.ts +2 -0
  110. package/dist/migrations/migration-009-rename-refs.d.ts.map +1 -0
  111. package/dist/migrations/migration-009-rename-refs.js +59 -0
  112. package/dist/migrations/migration-009-rename-refs.js.map +1 -0
  113. package/dist/migrations/migration-010-hex-to-oklch.d.ts +2 -0
  114. package/dist/migrations/migration-010-hex-to-oklch.d.ts.map +1 -0
  115. package/dist/migrations/migration-010-hex-to-oklch.js +24 -0
  116. package/dist/migrations/migration-010-hex-to-oklch.js.map +1 -0
  117. package/dist/migrations/migration-011-plugin-id.d.ts +2 -0
  118. package/dist/migrations/migration-011-plugin-id.d.ts.map +1 -0
  119. package/dist/migrations/migration-011-plugin-id.js +10 -0
  120. package/dist/migrations/migration-011-plugin-id.js.map +1 -0
  121. package/dist/migrations/migration-012-migrate-auth-config.d.ts +36 -0
  122. package/dist/migrations/migration-012-migrate-auth-config.d.ts.map +1 -0
  123. package/dist/migrations/migration-012-migrate-auth-config.js +48 -0
  124. package/dist/migrations/migration-012-migrate-auth-config.js.map +1 -0
  125. package/dist/migrations/migration-013-move-general-settings.d.ts +38 -0
  126. package/dist/migrations/migration-013-move-general-settings.d.ts.map +1 -0
  127. package/dist/migrations/migration-013-move-general-settings.js +22 -0
  128. package/dist/migrations/migration-013-move-general-settings.js.map +1 -0
  129. package/dist/migrations/migration-014-migrate-plugin-ids.d.ts +21 -0
  130. package/dist/migrations/migration-014-migrate-plugin-ids.d.ts.map +1 -0
  131. package/dist/migrations/migration-014-migrate-plugin-ids.js +32 -0
  132. package/dist/migrations/migration-014-migrate-plugin-ids.js.map +1 -0
  133. package/dist/migrations/transform-json-path.d.ts +13 -0
  134. package/dist/migrations/transform-json-path.d.ts.map +1 -0
  135. package/dist/migrations/transform-json-path.js +66 -0
  136. package/dist/migrations/transform-json-path.js.map +1 -0
  137. package/dist/migrations/types.d.ts +29 -0
  138. package/dist/migrations/types.d.ts.map +1 -0
  139. package/dist/migrations/types.js +4 -0
  140. package/dist/migrations/types.js.map +1 -0
  141. package/dist/migrations/utils.d.ts +3 -0
  142. package/dist/migrations/utils.d.ts.map +1 -0
  143. package/dist/migrations/utils.js +10 -0
  144. package/dist/migrations/utils.js.map +1 -0
  145. package/dist/parser/index.d.ts +3 -0
  146. package/dist/parser/index.d.ts.map +1 -0
  147. package/dist/parser/index.js +2 -0
  148. package/dist/parser/index.js.map +1 -0
  149. package/dist/parser/parser.d.ts +35 -0
  150. package/dist/parser/parser.d.ts.map +1 -0
  151. package/dist/parser/parser.js +84 -0
  152. package/dist/parser/parser.js.map +1 -0
  153. package/dist/parser/types.d.ts +8 -0
  154. package/dist/parser/types.d.ts.map +1 -0
  155. package/dist/parser/types.js +2 -0
  156. package/dist/parser/types.js.map +1 -0
  157. package/dist/plugin-tools/index.d.ts +2 -0
  158. package/dist/plugin-tools/index.d.ts.map +1 -0
  159. package/dist/plugin-tools/index.js +2 -0
  160. package/dist/plugin-tools/index.js.map +1 -0
  161. package/dist/plugin-tools/plugin-loader.d.ts +16 -0
  162. package/dist/plugin-tools/plugin-loader.d.ts.map +1 -0
  163. package/dist/plugin-tools/plugin-loader.js +166 -0
  164. package/dist/plugin-tools/plugin-loader.js.map +1 -0
  165. package/dist/plugins/imports/index.d.ts +3 -0
  166. package/dist/plugins/imports/index.d.ts.map +1 -0
  167. package/dist/plugins/imports/index.js +3 -0
  168. package/dist/plugins/imports/index.js.map +1 -0
  169. package/dist/plugins/imports/loader.d.ts +23 -0
  170. package/dist/plugins/imports/loader.d.ts.map +1 -0
  171. package/dist/plugins/imports/loader.js +81 -0
  172. package/dist/plugins/imports/loader.js.map +1 -0
  173. package/dist/plugins/imports/types.d.ts +27 -0
  174. package/dist/plugins/imports/types.d.ts.map +1 -0
  175. package/dist/plugins/imports/types.js +4 -0
  176. package/dist/plugins/imports/types.js.map +1 -0
  177. package/dist/plugins/index.d.ts +7 -0
  178. package/dist/plugins/index.d.ts.map +1 -0
  179. package/dist/plugins/index.js +7 -0
  180. package/dist/plugins/index.js.map +1 -0
  181. package/dist/plugins/manifest/manifest.d.ts +13 -0
  182. package/dist/plugins/manifest/manifest.d.ts.map +1 -0
  183. package/dist/plugins/manifest/manifest.js +6 -0
  184. package/dist/plugins/manifest/manifest.js.map +1 -0
  185. package/dist/plugins/metadata/index.d.ts +2 -0
  186. package/dist/plugins/metadata/index.d.ts.map +1 -0
  187. package/dist/plugins/metadata/index.js +2 -0
  188. package/dist/plugins/metadata/index.js.map +1 -0
  189. package/dist/plugins/metadata/types.d.ts +163 -0
  190. package/dist/plugins/metadata/types.d.ts.map +1 -0
  191. package/dist/plugins/metadata/types.js +59 -0
  192. package/dist/plugins/metadata/types.js.map +1 -0
  193. package/dist/plugins/migrations/index.d.ts +2 -0
  194. package/dist/plugins/migrations/index.d.ts.map +1 -0
  195. package/dist/plugins/migrations/index.js +2 -0
  196. package/dist/plugins/migrations/index.js.map +1 -0
  197. package/dist/plugins/migrations/run-migrations.d.ts +4 -0
  198. package/dist/plugins/migrations/run-migrations.d.ts.map +1 -0
  199. package/dist/plugins/migrations/run-migrations.js +30 -0
  200. package/dist/plugins/migrations/run-migrations.js.map +1 -0
  201. package/dist/plugins/schema/common.d.ts +6 -0
  202. package/dist/plugins/schema/common.d.ts.map +1 -0
  203. package/dist/plugins/schema/common.js +2 -0
  204. package/dist/plugins/schema/common.js.map +1 -0
  205. package/dist/plugins/schema/index.d.ts +4 -0
  206. package/dist/plugins/schema/index.d.ts.map +1 -0
  207. package/dist/plugins/schema/index.js +4 -0
  208. package/dist/plugins/schema/index.js.map +1 -0
  209. package/dist/plugins/schema/parser.d.ts +19 -0
  210. package/dist/plugins/schema/parser.d.ts.map +1 -0
  211. package/dist/plugins/schema/parser.js +41 -0
  212. package/dist/plugins/schema/parser.js.map +1 -0
  213. package/dist/plugins/schema/store.d.ts +8 -0
  214. package/dist/plugins/schema/store.d.ts.map +1 -0
  215. package/dist/plugins/schema/store.js +21 -0
  216. package/dist/plugins/schema/store.js.map +1 -0
  217. package/dist/plugins/schema/zod-with-plugins.d.ts +12 -0
  218. package/dist/plugins/schema/zod-with-plugins.d.ts.map +1 -0
  219. package/dist/plugins/schema/zod-with-plugins.js +26 -0
  220. package/dist/plugins/schema/zod-with-plugins.js.map +1 -0
  221. package/dist/plugins/spec/auth-config-spec.d.ts +21 -0
  222. package/dist/plugins/spec/auth-config-spec.d.ts.map +1 -0
  223. package/dist/plugins/spec/auth-config-spec.js +6 -0
  224. package/dist/plugins/spec/auth-config-spec.js.map +1 -0
  225. package/dist/plugins/spec/config-spec.d.ts +31 -0
  226. package/dist/plugins/spec/config-spec.d.ts.map +1 -0
  227. package/dist/plugins/spec/config-spec.js +58 -0
  228. package/dist/plugins/spec/config-spec.js.map +1 -0
  229. package/dist/plugins/spec/index.d.ts +5 -0
  230. package/dist/plugins/spec/index.d.ts.map +1 -0
  231. package/dist/plugins/spec/index.js +5 -0
  232. package/dist/plugins/spec/index.js.map +1 -0
  233. package/dist/plugins/spec/types.d.ts +29 -0
  234. package/dist/plugins/spec/types.d.ts.map +1 -0
  235. package/dist/plugins/spec/types.js +17 -0
  236. package/dist/plugins/spec/types.js.map +1 -0
  237. package/dist/plugins/spec/web-config-spec.d.ts +22 -0
  238. package/dist/plugins/spec/web-config-spec.d.ts.map +1 -0
  239. package/dist/plugins/spec/web-config-spec.js +23 -0
  240. package/dist/plugins/spec/web-config-spec.js.map +1 -0
  241. package/dist/references/deserialize-schema.d.ts +4 -0
  242. package/dist/references/deserialize-schema.d.ts.map +1 -0
  243. package/dist/references/deserialize-schema.js +68 -0
  244. package/dist/references/deserialize-schema.js.map +1 -0
  245. package/dist/references/fix-ref-deletions.d.ts +22 -0
  246. package/dist/references/fix-ref-deletions.d.ts.map +1 -0
  247. package/dist/references/fix-ref-deletions.js +99 -0
  248. package/dist/references/fix-ref-deletions.js.map +1 -0
  249. package/dist/references/index.d.ts +6 -0
  250. package/dist/references/index.d.ts.map +1 -0
  251. package/dist/references/index.js +6 -0
  252. package/dist/references/index.js.map +1 -0
  253. package/dist/references/parse-schema-with-references.d.ts +14 -0
  254. package/dist/references/parse-schema-with-references.d.ts.map +1 -0
  255. package/dist/references/parse-schema-with-references.js +16 -0
  256. package/dist/references/parse-schema-with-references.js.map +1 -0
  257. package/dist/references/ref-builder.d.ts +346 -0
  258. package/dist/references/ref-builder.d.ts.map +1 -0
  259. package/dist/references/ref-builder.js +494 -0
  260. package/dist/references/ref-builder.js.map +1 -0
  261. package/dist/references/resolve-zod-ref-payload-names.d.ts +26 -0
  262. package/dist/references/resolve-zod-ref-payload-names.d.ts.map +1 -0
  263. package/dist/references/resolve-zod-ref-payload-names.js +52 -0
  264. package/dist/references/resolve-zod-ref-payload-names.js.map +1 -0
  265. package/dist/references/serialize-schema.d.ts +5 -0
  266. package/dist/references/serialize-schema.d.ts.map +1 -0
  267. package/dist/references/serialize-schema.js +22 -0
  268. package/dist/references/serialize-schema.js.map +1 -0
  269. package/dist/references/types.d.ts +126 -0
  270. package/dist/references/types.d.ts.map +1 -0
  271. package/dist/references/types.js +59 -0
  272. package/dist/references/types.js.map +1 -0
  273. package/dist/schema/apps/admin/app.d.ts +1144 -0
  274. package/dist/schema/apps/admin/app.d.ts.map +1 -0
  275. package/dist/schema/apps/admin/app.js +27 -0
  276. package/dist/schema/apps/admin/app.js.map +1 -0
  277. package/dist/schema/apps/admin/index.d.ts +3 -0
  278. package/dist/schema/apps/admin/index.d.ts.map +1 -0
  279. package/dist/schema/apps/admin/index.js +3 -0
  280. package/dist/schema/apps/admin/index.js.map +1 -0
  281. package/dist/schema/apps/admin/sections/base.d.ts +9 -0
  282. package/dist/schema/apps/admin/sections/base.d.ts.map +1 -0
  283. package/dist/schema/apps/admin/sections/base.js +15 -0
  284. package/dist/schema/apps/admin/sections/base.js.map +1 -0
  285. package/dist/schema/apps/admin/sections/crud-form/admin-crud-input.d.ts +11 -0
  286. package/dist/schema/apps/admin/sections/crud-form/admin-crud-input.d.ts.map +1 -0
  287. package/dist/schema/apps/admin/sections/crud-form/admin-crud-input.js +11 -0
  288. package/dist/schema/apps/admin/sections/crud-form/admin-crud-input.js.map +1 -0
  289. package/dist/schema/apps/admin/sections/crud-form/admin-input-spec.d.ts +17 -0
  290. package/dist/schema/apps/admin/sections/crud-form/admin-input-spec.d.ts.map +1 -0
  291. package/dist/schema/apps/admin/sections/crud-form/admin-input-spec.js +30 -0
  292. package/dist/schema/apps/admin/sections/crud-form/admin-input-spec.js.map +1 -0
  293. package/dist/schema/apps/admin/sections/crud-form/built-in-input.d.ts +138 -0
  294. package/dist/schema/apps/admin/sections/crud-form/built-in-input.d.ts.map +1 -0
  295. package/dist/schema/apps/admin/sections/crud-form/built-in-input.js +101 -0
  296. package/dist/schema/apps/admin/sections/crud-form/built-in-input.js.map +1 -0
  297. package/dist/schema/apps/admin/sections/crud-form/index.d.ts +5 -0
  298. package/dist/schema/apps/admin/sections/crud-form/index.d.ts.map +1 -0
  299. package/dist/schema/apps/admin/sections/crud-form/index.js +5 -0
  300. package/dist/schema/apps/admin/sections/crud-form/index.js.map +1 -0
  301. package/dist/schema/apps/admin/sections/crud-form/types.d.ts +19 -0
  302. package/dist/schema/apps/admin/sections/crud-form/types.d.ts.map +1 -0
  303. package/dist/schema/apps/admin/sections/crud-form/types.js +14 -0
  304. package/dist/schema/apps/admin/sections/crud-form/types.js.map +1 -0
  305. package/dist/schema/apps/admin/sections/crud.d.ts +988 -0
  306. package/dist/schema/apps/admin/sections/crud.d.ts.map +1 -0
  307. package/dist/schema/apps/admin/sections/crud.js +101 -0
  308. package/dist/schema/apps/admin/sections/crud.js.map +1 -0
  309. package/dist/schema/apps/admin/sections/index.d.ts +5 -0
  310. package/dist/schema/apps/admin/sections/index.d.ts.map +1 -0
  311. package/dist/schema/apps/admin/sections/index.js +5 -0
  312. package/dist/schema/apps/admin/sections/index.js.map +1 -0
  313. package/dist/schema/apps/admin/sections/types.d.ts +2 -0
  314. package/dist/schema/apps/admin/sections/types.d.ts.map +1 -0
  315. package/dist/schema/apps/admin/sections/types.js +6 -0
  316. package/dist/schema/apps/admin/sections/types.js.map +1 -0
  317. package/dist/schema/apps/backend/index.d.ts +49 -0
  318. package/dist/schema/apps/backend/index.d.ts.map +1 -0
  319. package/dist/schema/apps/backend/index.js +15 -0
  320. package/dist/schema/apps/backend/index.js.map +1 -0
  321. package/dist/schema/apps/base.d.ts +25 -0
  322. package/dist/schema/apps/base.d.ts.map +1 -0
  323. package/dist/schema/apps/base.js +16 -0
  324. package/dist/schema/apps/base.js.map +1 -0
  325. package/dist/schema/apps/index.d.ts +6 -0
  326. package/dist/schema/apps/index.d.ts.map +1 -0
  327. package/dist/schema/apps/index.js +6 -0
  328. package/dist/schema/apps/index.js.map +1 -0
  329. package/dist/schema/apps/types.d.ts +6 -0
  330. package/dist/schema/apps/types.d.ts.map +1 -0
  331. package/dist/schema/apps/types.js +6 -0
  332. package/dist/schema/apps/types.js.map +1 -0
  333. package/dist/schema/apps/web/index.d.ts +49 -0
  334. package/dist/schema/apps/web/index.d.ts.map +1 -0
  335. package/dist/schema/apps/web/index.js +22 -0
  336. package/dist/schema/apps/web/index.js.map +1 -0
  337. package/dist/schema/auth/index.d.ts +2 -0
  338. package/dist/schema/auth/index.d.ts.map +1 -0
  339. package/dist/schema/auth/index.js +3 -0
  340. package/dist/schema/auth/index.js.map +1 -0
  341. package/dist/schema/creator/index.d.ts +2 -0
  342. package/dist/schema/creator/index.d.ts.map +1 -0
  343. package/dist/schema/creator/index.js +2 -0
  344. package/dist/schema/creator/index.js.map +1 -0
  345. package/dist/schema/creator/schema-creator.d.ts +4 -0
  346. package/dist/schema/creator/schema-creator.d.ts.map +1 -0
  347. package/dist/schema/creator/schema-creator.js +4 -0
  348. package/dist/schema/creator/schema-creator.js.map +1 -0
  349. package/dist/schema/creator/types.d.ts +14 -0
  350. package/dist/schema/creator/types.d.ts.map +1 -0
  351. package/dist/schema/creator/types.js +2 -0
  352. package/dist/schema/creator/types.js.map +1 -0
  353. package/dist/schema/features/feature.d.ts +33 -0
  354. package/dist/schema/features/feature.d.ts.map +1 -0
  355. package/dist/schema/features/feature.js +21 -0
  356. package/dist/schema/features/feature.js.map +1 -0
  357. package/dist/schema/features/index.d.ts +3 -0
  358. package/dist/schema/features/index.d.ts.map +1 -0
  359. package/dist/schema/features/index.js +3 -0
  360. package/dist/schema/features/index.js.map +1 -0
  361. package/dist/schema/features/theme.d.ts +208 -0
  362. package/dist/schema/features/theme.d.ts.map +1 -0
  363. package/dist/schema/features/theme.js +34 -0
  364. package/dist/schema/features/theme.js.map +1 -0
  365. package/dist/schema/index.d.ts +11 -0
  366. package/dist/schema/index.d.ts.map +1 -0
  367. package/dist/schema/index.js +11 -0
  368. package/dist/schema/index.js.map +1 -0
  369. package/dist/schema/models/enums.d.ts +97 -0
  370. package/dist/schema/models/enums.d.ts.map +1 -0
  371. package/dist/schema/models/enums.js +25 -0
  372. package/dist/schema/models/enums.js.map +1 -0
  373. package/dist/schema/models/graphql.d.ts +181 -0
  374. package/dist/schema/models/graphql.d.ts.map +1 -0
  375. package/dist/schema/models/graphql.js +96 -0
  376. package/dist/schema/models/graphql.js.map +1 -0
  377. package/dist/schema/models/index.d.ts +1692 -0
  378. package/dist/schema/models/index.d.ts.map +1 -0
  379. package/dist/schema/models/index.js +220 -0
  380. package/dist/schema/models/index.js.map +1 -0
  381. package/dist/schema/models/mocks.d.ts +6 -0
  382. package/dist/schema/models/mocks.d.ts.map +1 -0
  383. package/dist/schema/models/mocks.js +55 -0
  384. package/dist/schema/models/mocks.js.map +1 -0
  385. package/dist/schema/models/transformers/built-in-transformers.d.ts +71 -0
  386. package/dist/schema/models/transformers/built-in-transformers.d.ts.map +1 -0
  387. package/dist/schema/models/transformers/built-in-transformers.js +59 -0
  388. package/dist/schema/models/transformers/built-in-transformers.js.map +1 -0
  389. package/dist/schema/models/transformers/index.d.ts +5 -0
  390. package/dist/schema/models/transformers/index.d.ts.map +1 -0
  391. package/dist/schema/models/transformers/index.js +5 -0
  392. package/dist/schema/models/transformers/index.js.map +1 -0
  393. package/dist/schema/models/transformers/model-transformer-spec.d.ts +17 -0
  394. package/dist/schema/models/transformers/model-transformer-spec.d.ts.map +1 -0
  395. package/dist/schema/models/transformers/model-transformer-spec.js +40 -0
  396. package/dist/schema/models/transformers/model-transformer-spec.js.map +1 -0
  397. package/dist/schema/models/transformers/transformers.d.ts +11 -0
  398. package/dist/schema/models/transformers/transformers.d.ts.map +1 -0
  399. package/dist/schema/models/transformers/transformers.js +11 -0
  400. package/dist/schema/models/transformers/transformers.js.map +1 -0
  401. package/dist/schema/models/transformers/types.d.ts +23 -0
  402. package/dist/schema/models/transformers/types.d.ts.map +1 -0
  403. package/dist/schema/models/transformers/types.js +12 -0
  404. package/dist/schema/models/transformers/types.js.map +1 -0
  405. package/dist/schema/models/types.d.ts +9 -0
  406. package/dist/schema/models/types.d.ts.map +1 -0
  407. package/dist/schema/models/types.js +14 -0
  408. package/dist/schema/models/types.js.map +1 -0
  409. package/dist/schema/plugins/definition.d.ts +128 -0
  410. package/dist/schema/plugins/definition.d.ts.map +1 -0
  411. package/dist/schema/plugins/definition.js +28 -0
  412. package/dist/schema/plugins/definition.js.map +1 -0
  413. package/dist/schema/plugins/entity-types.d.ts +2 -0
  414. package/dist/schema/plugins/entity-types.d.ts.map +1 -0
  415. package/dist/schema/plugins/entity-types.js +3 -0
  416. package/dist/schema/plugins/entity-types.js.map +1 -0
  417. package/dist/schema/plugins/index.d.ts +3 -0
  418. package/dist/schema/plugins/index.d.ts.map +1 -0
  419. package/dist/schema/plugins/index.js +3 -0
  420. package/dist/schema/plugins/index.js.map +1 -0
  421. package/dist/schema/project-definition.d.ts +2877 -0
  422. package/dist/schema/project-definition.d.ts.map +1 -0
  423. package/dist/schema/project-definition.js +34 -0
  424. package/dist/schema/project-definition.js.map +1 -0
  425. package/dist/schema/settings.d.ts +228 -0
  426. package/dist/schema/settings.d.ts.map +1 -0
  427. package/dist/schema/settings.js +32 -0
  428. package/dist/schema/settings.js.map +1 -0
  429. package/dist/schema/template-extractor/index.d.ts +25 -0
  430. package/dist/schema/template-extractor/index.d.ts.map +1 -0
  431. package/dist/schema/template-extractor/index.js +18 -0
  432. package/dist/schema/template-extractor/index.js.map +1 -0
  433. package/dist/schema/utils/validation.d.ts +8 -0
  434. package/dist/schema/utils/validation.d.ts.map +1 -0
  435. package/dist/schema/utils/validation.js +18 -0
  436. package/dist/schema/utils/validation.js.map +1 -0
  437. package/dist/tools/index.d.ts +2 -0
  438. package/dist/tools/index.d.ts.map +1 -0
  439. package/dist/tools/index.js +2 -0
  440. package/dist/tools/index.js.map +1 -0
  441. package/dist/tools/model-merger/index.d.ts +2 -0
  442. package/dist/tools/model-merger/index.d.ts.map +1 -0
  443. package/dist/tools/model-merger/index.js +2 -0
  444. package/dist/tools/model-merger/index.js.map +1 -0
  445. package/dist/tools/model-merger/model-merger.d.ts +376 -0
  446. package/dist/tools/model-merger/model-merger.d.ts.map +1 -0
  447. package/dist/tools/model-merger/model-merger.js +229 -0
  448. package/dist/tools/model-merger/model-merger.js.map +1 -0
  449. package/dist/types/field-types.d.ts +3 -0
  450. package/dist/types/field-types.d.ts.map +1 -0
  451. package/dist/types/field-types.js +13 -0
  452. package/dist/types/field-types.js.map +1 -0
  453. package/dist/types/files.d.ts +8 -0
  454. package/dist/types/files.d.ts.map +1 -0
  455. package/dist/types/files.js +2 -0
  456. package/dist/types/files.js.map +1 -0
  457. package/dist/utils/color-conversions.d.ts +20 -0
  458. package/dist/utils/color-conversions.d.ts.map +1 -0
  459. package/dist/utils/color-conversions.js +38 -0
  460. package/dist/utils/color-conversions.js.map +1 -0
  461. package/dist/utils/color-names.d.ts +18 -0
  462. package/dist/utils/color-names.d.ts.map +1 -0
  463. package/dist/utils/color-names.js +54 -0
  464. package/dist/utils/color-names.js.map +1 -0
  465. package/dist/utils/definition-diff/definition-diff.d.ts +68 -0
  466. package/dist/utils/definition-diff/definition-diff.d.ts.map +1 -0
  467. package/dist/utils/definition-diff/definition-diff.js +149 -0
  468. package/dist/utils/definition-diff/definition-diff.js.map +1 -0
  469. package/dist/utils/definition-diff/index.d.ts +2 -0
  470. package/dist/utils/definition-diff/index.d.ts.map +1 -0
  471. package/dist/utils/definition-diff/index.js +2 -0
  472. package/dist/utils/definition-diff/index.js.map +1 -0
  473. package/dist/utils/index.d.ts +6 -0
  474. package/dist/utils/index.d.ts.map +1 -0
  475. package/dist/utils/index.js +6 -0
  476. package/dist/utils/index.js.map +1 -0
  477. package/dist/utils/path.d.ts +5 -0
  478. package/dist/utils/path.d.ts.map +1 -0
  479. package/dist/utils/path.js +27 -0
  480. package/dist/utils/path.js.map +1 -0
  481. package/dist/utils/strip.d.ts +18 -0
  482. package/dist/utils/strip.d.ts.map +1 -0
  483. package/dist/utils/strip.js +37 -0
  484. package/dist/utils/strip.js.map +1 -0
  485. package/dist/utils/theme.d.ts +10 -0
  486. package/dist/utils/theme.d.ts.map +1 -0
  487. package/dist/utils/theme.js +58 -0
  488. package/dist/utils/theme.js.map +1 -0
  489. package/dist/web/components/FeatureComboboxField.d.ts +17 -0
  490. package/dist/web/components/FeatureComboboxField.d.ts.map +1 -0
  491. package/dist/web/components/FeatureComboboxField.js +38 -0
  492. package/dist/web/components/FeatureComboboxField.js.map +1 -0
  493. package/dist/web/components/ModelComboboxField.d.ts +17 -0
  494. package/dist/web/components/ModelComboboxField.d.ts.map +1 -0
  495. package/dist/web/components/ModelComboboxField.js +38 -0
  496. package/dist/web/components/ModelComboboxField.js.map +1 -0
  497. package/dist/web/components/ModelMergerResultAlert.d.ts +8 -0
  498. package/dist/web/components/ModelMergerResultAlert.d.ts.map +1 -0
  499. package/dist/web/components/ModelMergerResultAlert.js +10 -0
  500. package/dist/web/components/ModelMergerResultAlert.js.map +1 -0
  501. package/dist/web/components/index.d.ts +4 -0
  502. package/dist/web/components/index.d.ts.map +1 -0
  503. package/dist/web/components/index.js +4 -0
  504. package/dist/web/components/index.js.map +1 -0
  505. package/dist/web/contexts/error-handler.d.ts +7 -0
  506. package/dist/web/contexts/error-handler.d.ts.map +1 -0
  507. package/dist/web/contexts/error-handler.js +3 -0
  508. package/dist/web/contexts/error-handler.js.map +1 -0
  509. package/dist/web/contexts/index.d.ts +2 -0
  510. package/dist/web/contexts/index.d.ts.map +1 -0
  511. package/dist/web/contexts/index.js +2 -0
  512. package/dist/web/contexts/index.js.map +1 -0
  513. package/dist/web/hooks/index.d.ts +8 -0
  514. package/dist/web/hooks/index.d.ts.map +1 -0
  515. package/dist/web/hooks/index.js +8 -0
  516. package/dist/web/hooks/index.js.map +1 -0
  517. package/dist/web/hooks/useBlockDirtyFormNavigate.d.ts +3 -0
  518. package/dist/web/hooks/useBlockDirtyFormNavigate.d.ts.map +1 -0
  519. package/dist/web/hooks/useBlockDirtyFormNavigate.js +14 -0
  520. package/dist/web/hooks/useBlockDirtyFormNavigate.js.map +1 -0
  521. package/dist/web/hooks/useBlockUnsavedChangesNavigate.d.ts +7 -0
  522. package/dist/web/hooks/useBlockUnsavedChangesNavigate.d.ts.map +1 -0
  523. package/dist/web/hooks/useBlockUnsavedChangesNavigate.js +47 -0
  524. package/dist/web/hooks/useBlockUnsavedChangesNavigate.js.map +1 -0
  525. package/dist/web/hooks/useBlockerDialog.d.ts +44 -0
  526. package/dist/web/hooks/useBlockerDialog.d.ts.map +1 -0
  527. package/dist/web/hooks/useBlockerDialog.js +77 -0
  528. package/dist/web/hooks/useBlockerDialog.js.map +1 -0
  529. package/dist/web/hooks/useErrorHandler.d.ts +3 -0
  530. package/dist/web/hooks/useErrorHandler.d.ts.map +1 -0
  531. package/dist/web/hooks/useErrorHandler.js +10 -0
  532. package/dist/web/hooks/useErrorHandler.js.map +1 -0
  533. package/dist/web/hooks/usePluginEnhancedSchema.d.ts +4 -0
  534. package/dist/web/hooks/usePluginEnhancedSchema.d.ts.map +1 -0
  535. package/dist/web/hooks/usePluginEnhancedSchema.js +8 -0
  536. package/dist/web/hooks/usePluginEnhancedSchema.js.map +1 -0
  537. package/dist/web/hooks/useProjectDefinition.d.ts +65 -0
  538. package/dist/web/hooks/useProjectDefinition.d.ts.map +1 -0
  539. package/dist/web/hooks/useProjectDefinition.js +10 -0
  540. package/dist/web/hooks/useProjectDefinition.js.map +1 -0
  541. package/dist/web/hooks/useResettableForm.d.ts +3 -0
  542. package/dist/web/hooks/useResettableForm.d.ts.map +1 -0
  543. package/dist/web/hooks/useResettableForm.js +29 -0
  544. package/dist/web/hooks/useResettableForm.js.map +1 -0
  545. package/dist/web/index.d.ts +6 -0
  546. package/dist/web/index.d.ts.map +1 -0
  547. package/dist/web/index.js +6 -0
  548. package/dist/web/index.js.map +1 -0
  549. package/dist/web/specs/admin-crud-input-web-spec.d.ts +36 -0
  550. package/dist/web/specs/admin-crud-input-web-spec.d.ts.map +1 -0
  551. package/dist/web/specs/admin-crud-input-web-spec.js +35 -0
  552. package/dist/web/specs/admin-crud-input-web-spec.js.map +1 -0
  553. package/dist/web/specs/index.d.ts +3 -0
  554. package/dist/web/specs/index.d.ts.map +1 -0
  555. package/dist/web/specs/index.js +3 -0
  556. package/dist/web/specs/index.js.map +1 -0
  557. package/dist/web/specs/model-transformer-web-spec.d.ts +40 -0
  558. package/dist/web/specs/model-transformer-web-spec.d.ts.map +1 -0
  559. package/dist/web/specs/model-transformer-web-spec.js +35 -0
  560. package/dist/web/specs/model-transformer-web-spec.js.map +1 -0
  561. package/dist/web/utils/form.d.ts +2 -0
  562. package/dist/web/utils/form.d.ts.map +1 -0
  563. package/dist/web/utils/form.js +6 -0
  564. package/dist/web/utils/form.js.map +1 -0
  565. package/dist/web/utils/index.d.ts +2 -0
  566. package/dist/web/utils/index.d.ts.map +1 -0
  567. package/dist/web/utils/index.js +2 -0
  568. package/dist/web/utils/index.js.map +1 -0
  569. package/package.json +78 -0
@@ -0,0 +1,1144 @@
1
+ import { z } from 'zod';
2
+ import type { AdminCrudSectionConfig } from './sections/index.js';
3
+ export declare const adminSectionSchema: import("#src/references/index.js").ZodRef<import("#src/references/index.js").ZodRef<z.ZodObject<{
4
+ type: z.ZodLiteral<"crud">;
5
+ modelRef: import("#src/references/index.js").ZodRef<z.ZodString>;
6
+ disableCreate: z.ZodOptional<z.ZodBoolean>;
7
+ table: z.ZodObject<{
8
+ columns: z.ZodArray<z.ZodObject<{
9
+ label: z.ZodString;
10
+ display: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11
+ type: z.ZodLiteral<"text">;
12
+ modelFieldRef: import("#src/references/index.js").ZodRef<z.ZodString>;
13
+ }, "strip", z.ZodTypeAny, {
14
+ type: "text";
15
+ modelFieldRef: string;
16
+ }, {
17
+ type: "text";
18
+ modelFieldRef: string;
19
+ }>, z.ZodObject<{
20
+ type: z.ZodLiteral<"foreign">;
21
+ localRelationRef: import("#src/references/index.js").ZodRef<z.ZodString>;
22
+ labelExpression: z.ZodString;
23
+ valueExpression: z.ZodString;
24
+ }, "strip", z.ZodTypeAny, {
25
+ type: "foreign";
26
+ localRelationRef: string;
27
+ labelExpression: string;
28
+ valueExpression: string;
29
+ }, {
30
+ type: "foreign";
31
+ localRelationRef: string;
32
+ labelExpression: string;
33
+ valueExpression: string;
34
+ }>]>;
35
+ }, "strip", z.ZodTypeAny, {
36
+ label: string;
37
+ display: {
38
+ type: "foreign";
39
+ localRelationRef: string;
40
+ labelExpression: string;
41
+ valueExpression: string;
42
+ } | {
43
+ type: "text";
44
+ modelFieldRef: string;
45
+ };
46
+ }, {
47
+ label: string;
48
+ display: {
49
+ type: "foreign";
50
+ localRelationRef: string;
51
+ labelExpression: string;
52
+ valueExpression: string;
53
+ } | {
54
+ type: "text";
55
+ modelFieldRef: string;
56
+ };
57
+ }>, "many">;
58
+ }, "strip", z.ZodTypeAny, {
59
+ columns: {
60
+ label: string;
61
+ display: {
62
+ type: "foreign";
63
+ localRelationRef: string;
64
+ labelExpression: string;
65
+ valueExpression: string;
66
+ } | {
67
+ type: "text";
68
+ modelFieldRef: string;
69
+ };
70
+ }[];
71
+ }, {
72
+ columns: {
73
+ label: string;
74
+ display: {
75
+ type: "foreign";
76
+ localRelationRef: string;
77
+ labelExpression: string;
78
+ valueExpression: string;
79
+ } | {
80
+ type: "text";
81
+ modelFieldRef: string;
82
+ };
83
+ }[];
84
+ }>;
85
+ form: z.ZodObject<{
86
+ fields: z.ZodArray<import("../../../index.js").ZodWithPlugins<z.ZodObject<{
87
+ type: z.ZodString;
88
+ label: z.ZodString;
89
+ }, "strip", z.ZodTypeAny, {
90
+ type: string;
91
+ label: string;
92
+ }, {
93
+ type: string;
94
+ label: string;
95
+ }>>, "many">;
96
+ }, "strip", z.ZodTypeAny, {
97
+ fields: {
98
+ type: string;
99
+ label: string;
100
+ }[];
101
+ }, {
102
+ fields: {
103
+ type: string;
104
+ label: string;
105
+ }[];
106
+ }>;
107
+ embeddedForms: z.ZodOptional<z.ZodArray<import("#src/references/index.js").ZodRef<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
108
+ id: z.ZodString;
109
+ name: z.ZodString;
110
+ modelRef: import("#src/references/index.js").ZodRef<z.ZodString>;
111
+ includeIdField: z.ZodOptional<z.ZodBoolean>;
112
+ type: z.ZodLiteral<"object">;
113
+ form: z.ZodObject<{
114
+ fields: z.ZodArray<import("../../../index.js").ZodWithPlugins<z.ZodObject<{
115
+ type: z.ZodString;
116
+ label: z.ZodString;
117
+ }, "strip", z.ZodTypeAny, {
118
+ type: string;
119
+ label: string;
120
+ }, {
121
+ type: string;
122
+ label: string;
123
+ }>>, "many">;
124
+ }, "strip", z.ZodTypeAny, {
125
+ fields: {
126
+ type: string;
127
+ label: string;
128
+ }[];
129
+ }, {
130
+ fields: {
131
+ type: string;
132
+ label: string;
133
+ }[];
134
+ }>;
135
+ }, "strip", z.ZodTypeAny, {
136
+ type: "object";
137
+ name: string;
138
+ id: string;
139
+ modelRef: string;
140
+ form: {
141
+ fields: {
142
+ type: string;
143
+ label: string;
144
+ }[];
145
+ };
146
+ includeIdField?: boolean | undefined;
147
+ }, {
148
+ type: "object";
149
+ name: string;
150
+ id: string;
151
+ modelRef: string;
152
+ form: {
153
+ fields: {
154
+ type: string;
155
+ label: string;
156
+ }[];
157
+ };
158
+ includeIdField?: boolean | undefined;
159
+ }>, z.ZodObject<{
160
+ id: z.ZodString;
161
+ name: z.ZodString;
162
+ modelRef: import("#src/references/index.js").ZodRef<z.ZodString>;
163
+ includeIdField: z.ZodOptional<z.ZodBoolean>;
164
+ type: z.ZodLiteral<"list">;
165
+ table: z.ZodObject<{
166
+ columns: z.ZodArray<z.ZodObject<{
167
+ label: z.ZodString;
168
+ display: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
169
+ type: z.ZodLiteral<"text">;
170
+ modelFieldRef: import("#src/references/index.js").ZodRef<z.ZodString>;
171
+ }, "strip", z.ZodTypeAny, {
172
+ type: "text";
173
+ modelFieldRef: string;
174
+ }, {
175
+ type: "text";
176
+ modelFieldRef: string;
177
+ }>, z.ZodObject<{
178
+ type: z.ZodLiteral<"foreign">;
179
+ localRelationRef: import("#src/references/index.js").ZodRef<z.ZodString>;
180
+ labelExpression: z.ZodString;
181
+ valueExpression: z.ZodString;
182
+ }, "strip", z.ZodTypeAny, {
183
+ type: "foreign";
184
+ localRelationRef: string;
185
+ labelExpression: string;
186
+ valueExpression: string;
187
+ }, {
188
+ type: "foreign";
189
+ localRelationRef: string;
190
+ labelExpression: string;
191
+ valueExpression: string;
192
+ }>]>;
193
+ }, "strip", z.ZodTypeAny, {
194
+ label: string;
195
+ display: {
196
+ type: "foreign";
197
+ localRelationRef: string;
198
+ labelExpression: string;
199
+ valueExpression: string;
200
+ } | {
201
+ type: "text";
202
+ modelFieldRef: string;
203
+ };
204
+ }, {
205
+ label: string;
206
+ display: {
207
+ type: "foreign";
208
+ localRelationRef: string;
209
+ labelExpression: string;
210
+ valueExpression: string;
211
+ } | {
212
+ type: "text";
213
+ modelFieldRef: string;
214
+ };
215
+ }>, "many">;
216
+ }, "strip", z.ZodTypeAny, {
217
+ columns: {
218
+ label: string;
219
+ display: {
220
+ type: "foreign";
221
+ localRelationRef: string;
222
+ labelExpression: string;
223
+ valueExpression: string;
224
+ } | {
225
+ type: "text";
226
+ modelFieldRef: string;
227
+ };
228
+ }[];
229
+ }, {
230
+ columns: {
231
+ label: string;
232
+ display: {
233
+ type: "foreign";
234
+ localRelationRef: string;
235
+ labelExpression: string;
236
+ valueExpression: string;
237
+ } | {
238
+ type: "text";
239
+ modelFieldRef: string;
240
+ };
241
+ }[];
242
+ }>;
243
+ form: z.ZodObject<{
244
+ fields: z.ZodArray<import("../../../index.js").ZodWithPlugins<z.ZodObject<{
245
+ type: z.ZodString;
246
+ label: z.ZodString;
247
+ }, "strip", z.ZodTypeAny, {
248
+ type: string;
249
+ label: string;
250
+ }, {
251
+ type: string;
252
+ label: string;
253
+ }>>, "many">;
254
+ }, "strip", z.ZodTypeAny, {
255
+ fields: {
256
+ type: string;
257
+ label: string;
258
+ }[];
259
+ }, {
260
+ fields: {
261
+ type: string;
262
+ label: string;
263
+ }[];
264
+ }>;
265
+ }, "strip", z.ZodTypeAny, {
266
+ type: "list";
267
+ name: string;
268
+ id: string;
269
+ modelRef: string;
270
+ form: {
271
+ fields: {
272
+ type: string;
273
+ label: string;
274
+ }[];
275
+ };
276
+ table: {
277
+ columns: {
278
+ label: string;
279
+ display: {
280
+ type: "foreign";
281
+ localRelationRef: string;
282
+ labelExpression: string;
283
+ valueExpression: string;
284
+ } | {
285
+ type: "text";
286
+ modelFieldRef: string;
287
+ };
288
+ }[];
289
+ };
290
+ includeIdField?: boolean | undefined;
291
+ }, {
292
+ type: "list";
293
+ name: string;
294
+ id: string;
295
+ modelRef: string;
296
+ form: {
297
+ fields: {
298
+ type: string;
299
+ label: string;
300
+ }[];
301
+ };
302
+ table: {
303
+ columns: {
304
+ label: string;
305
+ display: {
306
+ type: "foreign";
307
+ localRelationRef: string;
308
+ labelExpression: string;
309
+ valueExpression: string;
310
+ } | {
311
+ type: "text";
312
+ modelFieldRef: string;
313
+ };
314
+ }[];
315
+ };
316
+ includeIdField?: boolean | undefined;
317
+ }>]>>, "many">>;
318
+ id: z.ZodDefault<z.ZodString>;
319
+ name: z.ZodString;
320
+ featureRef: import("#src/references/index.js").ZodRef<z.ZodString>;
321
+ icon: z.ZodOptional<z.ZodString>;
322
+ }, "strip", z.ZodTypeAny, {
323
+ type: "crud";
324
+ name: string;
325
+ id: string;
326
+ modelRef: string;
327
+ featureRef: string;
328
+ form: {
329
+ fields: {
330
+ type: string;
331
+ label: string;
332
+ }[];
333
+ };
334
+ table: {
335
+ columns: {
336
+ label: string;
337
+ display: {
338
+ type: "foreign";
339
+ localRelationRef: string;
340
+ labelExpression: string;
341
+ valueExpression: string;
342
+ } | {
343
+ type: "text";
344
+ modelFieldRef: string;
345
+ };
346
+ }[];
347
+ };
348
+ icon?: string | undefined;
349
+ disableCreate?: boolean | undefined;
350
+ embeddedForms?: ({
351
+ type: "object";
352
+ name: string;
353
+ id: string;
354
+ modelRef: string;
355
+ form: {
356
+ fields: {
357
+ type: string;
358
+ label: string;
359
+ }[];
360
+ };
361
+ includeIdField?: boolean | undefined;
362
+ } | {
363
+ type: "list";
364
+ name: string;
365
+ id: string;
366
+ modelRef: string;
367
+ form: {
368
+ fields: {
369
+ type: string;
370
+ label: string;
371
+ }[];
372
+ };
373
+ table: {
374
+ columns: {
375
+ label: string;
376
+ display: {
377
+ type: "foreign";
378
+ localRelationRef: string;
379
+ labelExpression: string;
380
+ valueExpression: string;
381
+ } | {
382
+ type: "text";
383
+ modelFieldRef: string;
384
+ };
385
+ }[];
386
+ };
387
+ includeIdField?: boolean | undefined;
388
+ })[] | undefined;
389
+ }, {
390
+ type: "crud";
391
+ name: string;
392
+ modelRef: string;
393
+ featureRef: string;
394
+ form: {
395
+ fields: {
396
+ type: string;
397
+ label: string;
398
+ }[];
399
+ };
400
+ table: {
401
+ columns: {
402
+ label: string;
403
+ display: {
404
+ type: "foreign";
405
+ localRelationRef: string;
406
+ labelExpression: string;
407
+ valueExpression: string;
408
+ } | {
409
+ type: "text";
410
+ modelFieldRef: string;
411
+ };
412
+ }[];
413
+ };
414
+ icon?: string | undefined;
415
+ id?: string | undefined;
416
+ disableCreate?: boolean | undefined;
417
+ embeddedForms?: ({
418
+ type: "object";
419
+ name: string;
420
+ id: string;
421
+ modelRef: string;
422
+ form: {
423
+ fields: {
424
+ type: string;
425
+ label: string;
426
+ }[];
427
+ };
428
+ includeIdField?: boolean | undefined;
429
+ } | {
430
+ type: "list";
431
+ name: string;
432
+ id: string;
433
+ modelRef: string;
434
+ form: {
435
+ fields: {
436
+ type: string;
437
+ label: string;
438
+ }[];
439
+ };
440
+ table: {
441
+ columns: {
442
+ label: string;
443
+ display: {
444
+ type: "foreign";
445
+ localRelationRef: string;
446
+ labelExpression: string;
447
+ valueExpression: string;
448
+ } | {
449
+ type: "text";
450
+ modelFieldRef: string;
451
+ };
452
+ }[];
453
+ };
454
+ includeIdField?: boolean | undefined;
455
+ })[] | undefined;
456
+ }>>>;
457
+ export type AdminSectionConfig = AdminCrudSectionConfig;
458
+ export type AdminSectionConfigInput = z.input<typeof adminSectionSchema>;
459
+ export declare const adminAppSchema: z.ZodObject<{
460
+ type: z.ZodLiteral<"admin">;
461
+ allowedRoles: z.ZodOptional<z.ZodArray<import("#src/references/index.js").ZodRef<z.ZodString>, "many">>;
462
+ sections: z.ZodOptional<z.ZodArray<import("#src/references/index.js").ZodRef<import("#src/references/index.js").ZodRef<z.ZodObject<{
463
+ type: z.ZodLiteral<"crud">;
464
+ modelRef: import("#src/references/index.js").ZodRef<z.ZodString>;
465
+ disableCreate: z.ZodOptional<z.ZodBoolean>;
466
+ table: z.ZodObject<{
467
+ columns: z.ZodArray<z.ZodObject<{
468
+ label: z.ZodString;
469
+ display: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
470
+ type: z.ZodLiteral<"text">;
471
+ modelFieldRef: import("#src/references/index.js").ZodRef<z.ZodString>;
472
+ }, "strip", z.ZodTypeAny, {
473
+ type: "text";
474
+ modelFieldRef: string;
475
+ }, {
476
+ type: "text";
477
+ modelFieldRef: string;
478
+ }>, z.ZodObject<{
479
+ type: z.ZodLiteral<"foreign">;
480
+ localRelationRef: import("#src/references/index.js").ZodRef<z.ZodString>;
481
+ labelExpression: z.ZodString;
482
+ valueExpression: z.ZodString;
483
+ }, "strip", z.ZodTypeAny, {
484
+ type: "foreign";
485
+ localRelationRef: string;
486
+ labelExpression: string;
487
+ valueExpression: string;
488
+ }, {
489
+ type: "foreign";
490
+ localRelationRef: string;
491
+ labelExpression: string;
492
+ valueExpression: string;
493
+ }>]>;
494
+ }, "strip", z.ZodTypeAny, {
495
+ label: string;
496
+ display: {
497
+ type: "foreign";
498
+ localRelationRef: string;
499
+ labelExpression: string;
500
+ valueExpression: string;
501
+ } | {
502
+ type: "text";
503
+ modelFieldRef: string;
504
+ };
505
+ }, {
506
+ label: string;
507
+ display: {
508
+ type: "foreign";
509
+ localRelationRef: string;
510
+ labelExpression: string;
511
+ valueExpression: string;
512
+ } | {
513
+ type: "text";
514
+ modelFieldRef: string;
515
+ };
516
+ }>, "many">;
517
+ }, "strip", z.ZodTypeAny, {
518
+ columns: {
519
+ label: string;
520
+ display: {
521
+ type: "foreign";
522
+ localRelationRef: string;
523
+ labelExpression: string;
524
+ valueExpression: string;
525
+ } | {
526
+ type: "text";
527
+ modelFieldRef: string;
528
+ };
529
+ }[];
530
+ }, {
531
+ columns: {
532
+ label: string;
533
+ display: {
534
+ type: "foreign";
535
+ localRelationRef: string;
536
+ labelExpression: string;
537
+ valueExpression: string;
538
+ } | {
539
+ type: "text";
540
+ modelFieldRef: string;
541
+ };
542
+ }[];
543
+ }>;
544
+ form: z.ZodObject<{
545
+ fields: z.ZodArray<import("../../../index.js").ZodWithPlugins<z.ZodObject<{
546
+ type: z.ZodString;
547
+ label: z.ZodString;
548
+ }, "strip", z.ZodTypeAny, {
549
+ type: string;
550
+ label: string;
551
+ }, {
552
+ type: string;
553
+ label: string;
554
+ }>>, "many">;
555
+ }, "strip", z.ZodTypeAny, {
556
+ fields: {
557
+ type: string;
558
+ label: string;
559
+ }[];
560
+ }, {
561
+ fields: {
562
+ type: string;
563
+ label: string;
564
+ }[];
565
+ }>;
566
+ embeddedForms: z.ZodOptional<z.ZodArray<import("#src/references/index.js").ZodRef<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
567
+ id: z.ZodString;
568
+ name: z.ZodString;
569
+ modelRef: import("#src/references/index.js").ZodRef<z.ZodString>;
570
+ includeIdField: z.ZodOptional<z.ZodBoolean>;
571
+ type: z.ZodLiteral<"object">;
572
+ form: z.ZodObject<{
573
+ fields: z.ZodArray<import("../../../index.js").ZodWithPlugins<z.ZodObject<{
574
+ type: z.ZodString;
575
+ label: z.ZodString;
576
+ }, "strip", z.ZodTypeAny, {
577
+ type: string;
578
+ label: string;
579
+ }, {
580
+ type: string;
581
+ label: string;
582
+ }>>, "many">;
583
+ }, "strip", z.ZodTypeAny, {
584
+ fields: {
585
+ type: string;
586
+ label: string;
587
+ }[];
588
+ }, {
589
+ fields: {
590
+ type: string;
591
+ label: string;
592
+ }[];
593
+ }>;
594
+ }, "strip", z.ZodTypeAny, {
595
+ type: "object";
596
+ name: string;
597
+ id: string;
598
+ modelRef: string;
599
+ form: {
600
+ fields: {
601
+ type: string;
602
+ label: string;
603
+ }[];
604
+ };
605
+ includeIdField?: boolean | undefined;
606
+ }, {
607
+ type: "object";
608
+ name: string;
609
+ id: string;
610
+ modelRef: string;
611
+ form: {
612
+ fields: {
613
+ type: string;
614
+ label: string;
615
+ }[];
616
+ };
617
+ includeIdField?: boolean | undefined;
618
+ }>, z.ZodObject<{
619
+ id: z.ZodString;
620
+ name: z.ZodString;
621
+ modelRef: import("#src/references/index.js").ZodRef<z.ZodString>;
622
+ includeIdField: z.ZodOptional<z.ZodBoolean>;
623
+ type: z.ZodLiteral<"list">;
624
+ table: z.ZodObject<{
625
+ columns: z.ZodArray<z.ZodObject<{
626
+ label: z.ZodString;
627
+ display: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
628
+ type: z.ZodLiteral<"text">;
629
+ modelFieldRef: import("#src/references/index.js").ZodRef<z.ZodString>;
630
+ }, "strip", z.ZodTypeAny, {
631
+ type: "text";
632
+ modelFieldRef: string;
633
+ }, {
634
+ type: "text";
635
+ modelFieldRef: string;
636
+ }>, z.ZodObject<{
637
+ type: z.ZodLiteral<"foreign">;
638
+ localRelationRef: import("#src/references/index.js").ZodRef<z.ZodString>;
639
+ labelExpression: z.ZodString;
640
+ valueExpression: z.ZodString;
641
+ }, "strip", z.ZodTypeAny, {
642
+ type: "foreign";
643
+ localRelationRef: string;
644
+ labelExpression: string;
645
+ valueExpression: string;
646
+ }, {
647
+ type: "foreign";
648
+ localRelationRef: string;
649
+ labelExpression: string;
650
+ valueExpression: string;
651
+ }>]>;
652
+ }, "strip", z.ZodTypeAny, {
653
+ label: string;
654
+ display: {
655
+ type: "foreign";
656
+ localRelationRef: string;
657
+ labelExpression: string;
658
+ valueExpression: string;
659
+ } | {
660
+ type: "text";
661
+ modelFieldRef: string;
662
+ };
663
+ }, {
664
+ label: string;
665
+ display: {
666
+ type: "foreign";
667
+ localRelationRef: string;
668
+ labelExpression: string;
669
+ valueExpression: string;
670
+ } | {
671
+ type: "text";
672
+ modelFieldRef: string;
673
+ };
674
+ }>, "many">;
675
+ }, "strip", z.ZodTypeAny, {
676
+ columns: {
677
+ label: string;
678
+ display: {
679
+ type: "foreign";
680
+ localRelationRef: string;
681
+ labelExpression: string;
682
+ valueExpression: string;
683
+ } | {
684
+ type: "text";
685
+ modelFieldRef: string;
686
+ };
687
+ }[];
688
+ }, {
689
+ columns: {
690
+ label: string;
691
+ display: {
692
+ type: "foreign";
693
+ localRelationRef: string;
694
+ labelExpression: string;
695
+ valueExpression: string;
696
+ } | {
697
+ type: "text";
698
+ modelFieldRef: string;
699
+ };
700
+ }[];
701
+ }>;
702
+ form: z.ZodObject<{
703
+ fields: z.ZodArray<import("../../../index.js").ZodWithPlugins<z.ZodObject<{
704
+ type: z.ZodString;
705
+ label: z.ZodString;
706
+ }, "strip", z.ZodTypeAny, {
707
+ type: string;
708
+ label: string;
709
+ }, {
710
+ type: string;
711
+ label: string;
712
+ }>>, "many">;
713
+ }, "strip", z.ZodTypeAny, {
714
+ fields: {
715
+ type: string;
716
+ label: string;
717
+ }[];
718
+ }, {
719
+ fields: {
720
+ type: string;
721
+ label: string;
722
+ }[];
723
+ }>;
724
+ }, "strip", z.ZodTypeAny, {
725
+ type: "list";
726
+ name: string;
727
+ id: string;
728
+ modelRef: string;
729
+ form: {
730
+ fields: {
731
+ type: string;
732
+ label: string;
733
+ }[];
734
+ };
735
+ table: {
736
+ columns: {
737
+ label: string;
738
+ display: {
739
+ type: "foreign";
740
+ localRelationRef: string;
741
+ labelExpression: string;
742
+ valueExpression: string;
743
+ } | {
744
+ type: "text";
745
+ modelFieldRef: string;
746
+ };
747
+ }[];
748
+ };
749
+ includeIdField?: boolean | undefined;
750
+ }, {
751
+ type: "list";
752
+ name: string;
753
+ id: string;
754
+ modelRef: string;
755
+ form: {
756
+ fields: {
757
+ type: string;
758
+ label: string;
759
+ }[];
760
+ };
761
+ table: {
762
+ columns: {
763
+ label: string;
764
+ display: {
765
+ type: "foreign";
766
+ localRelationRef: string;
767
+ labelExpression: string;
768
+ valueExpression: string;
769
+ } | {
770
+ type: "text";
771
+ modelFieldRef: string;
772
+ };
773
+ }[];
774
+ };
775
+ includeIdField?: boolean | undefined;
776
+ }>]>>, "many">>;
777
+ id: z.ZodDefault<z.ZodString>;
778
+ name: z.ZodString;
779
+ featureRef: import("#src/references/index.js").ZodRef<z.ZodString>;
780
+ icon: z.ZodOptional<z.ZodString>;
781
+ }, "strip", z.ZodTypeAny, {
782
+ type: "crud";
783
+ name: string;
784
+ id: string;
785
+ modelRef: string;
786
+ featureRef: string;
787
+ form: {
788
+ fields: {
789
+ type: string;
790
+ label: string;
791
+ }[];
792
+ };
793
+ table: {
794
+ columns: {
795
+ label: string;
796
+ display: {
797
+ type: "foreign";
798
+ localRelationRef: string;
799
+ labelExpression: string;
800
+ valueExpression: string;
801
+ } | {
802
+ type: "text";
803
+ modelFieldRef: string;
804
+ };
805
+ }[];
806
+ };
807
+ icon?: string | undefined;
808
+ disableCreate?: boolean | undefined;
809
+ embeddedForms?: ({
810
+ type: "object";
811
+ name: string;
812
+ id: string;
813
+ modelRef: string;
814
+ form: {
815
+ fields: {
816
+ type: string;
817
+ label: string;
818
+ }[];
819
+ };
820
+ includeIdField?: boolean | undefined;
821
+ } | {
822
+ type: "list";
823
+ name: string;
824
+ id: string;
825
+ modelRef: string;
826
+ form: {
827
+ fields: {
828
+ type: string;
829
+ label: string;
830
+ }[];
831
+ };
832
+ table: {
833
+ columns: {
834
+ label: string;
835
+ display: {
836
+ type: "foreign";
837
+ localRelationRef: string;
838
+ labelExpression: string;
839
+ valueExpression: string;
840
+ } | {
841
+ type: "text";
842
+ modelFieldRef: string;
843
+ };
844
+ }[];
845
+ };
846
+ includeIdField?: boolean | undefined;
847
+ })[] | undefined;
848
+ }, {
849
+ type: "crud";
850
+ name: string;
851
+ modelRef: string;
852
+ featureRef: string;
853
+ form: {
854
+ fields: {
855
+ type: string;
856
+ label: string;
857
+ }[];
858
+ };
859
+ table: {
860
+ columns: {
861
+ label: string;
862
+ display: {
863
+ type: "foreign";
864
+ localRelationRef: string;
865
+ labelExpression: string;
866
+ valueExpression: string;
867
+ } | {
868
+ type: "text";
869
+ modelFieldRef: string;
870
+ };
871
+ }[];
872
+ };
873
+ icon?: string | undefined;
874
+ id?: string | undefined;
875
+ disableCreate?: boolean | undefined;
876
+ embeddedForms?: ({
877
+ type: "object";
878
+ name: string;
879
+ id: string;
880
+ modelRef: string;
881
+ form: {
882
+ fields: {
883
+ type: string;
884
+ label: string;
885
+ }[];
886
+ };
887
+ includeIdField?: boolean | undefined;
888
+ } | {
889
+ type: "list";
890
+ name: string;
891
+ id: string;
892
+ modelRef: string;
893
+ form: {
894
+ fields: {
895
+ type: string;
896
+ label: string;
897
+ }[];
898
+ };
899
+ table: {
900
+ columns: {
901
+ label: string;
902
+ display: {
903
+ type: "foreign";
904
+ localRelationRef: string;
905
+ labelExpression: string;
906
+ valueExpression: string;
907
+ } | {
908
+ type: "text";
909
+ modelFieldRef: string;
910
+ };
911
+ }[];
912
+ };
913
+ includeIdField?: boolean | undefined;
914
+ })[] | undefined;
915
+ }>>>, "many">>;
916
+ id: z.ZodDefault<z.ZodString>;
917
+ name: z.ZodString;
918
+ packageLocation: z.ZodOptional<z.ZodString>;
919
+ }, "strip", z.ZodTypeAny, {
920
+ type: "admin";
921
+ name: string;
922
+ id: string;
923
+ packageLocation?: string | undefined;
924
+ allowedRoles?: string[] | undefined;
925
+ sections?: {
926
+ type: "crud";
927
+ name: string;
928
+ id: string;
929
+ modelRef: string;
930
+ featureRef: string;
931
+ form: {
932
+ fields: {
933
+ type: string;
934
+ label: string;
935
+ }[];
936
+ };
937
+ table: {
938
+ columns: {
939
+ label: string;
940
+ display: {
941
+ type: "foreign";
942
+ localRelationRef: string;
943
+ labelExpression: string;
944
+ valueExpression: string;
945
+ } | {
946
+ type: "text";
947
+ modelFieldRef: string;
948
+ };
949
+ }[];
950
+ };
951
+ icon?: string | undefined;
952
+ disableCreate?: boolean | undefined;
953
+ embeddedForms?: ({
954
+ type: "object";
955
+ name: string;
956
+ id: string;
957
+ modelRef: string;
958
+ form: {
959
+ fields: {
960
+ type: string;
961
+ label: string;
962
+ }[];
963
+ };
964
+ includeIdField?: boolean | undefined;
965
+ } | {
966
+ type: "list";
967
+ name: string;
968
+ id: string;
969
+ modelRef: string;
970
+ form: {
971
+ fields: {
972
+ type: string;
973
+ label: string;
974
+ }[];
975
+ };
976
+ table: {
977
+ columns: {
978
+ label: string;
979
+ display: {
980
+ type: "foreign";
981
+ localRelationRef: string;
982
+ labelExpression: string;
983
+ valueExpression: string;
984
+ } | {
985
+ type: "text";
986
+ modelFieldRef: string;
987
+ };
988
+ }[];
989
+ };
990
+ includeIdField?: boolean | undefined;
991
+ })[] | undefined;
992
+ }[] | undefined;
993
+ }, {
994
+ type: "admin";
995
+ name: string;
996
+ id?: string | undefined;
997
+ packageLocation?: string | undefined;
998
+ allowedRoles?: string[] | undefined;
999
+ sections?: {
1000
+ type: "crud";
1001
+ name: string;
1002
+ modelRef: string;
1003
+ featureRef: string;
1004
+ form: {
1005
+ fields: {
1006
+ type: string;
1007
+ label: string;
1008
+ }[];
1009
+ };
1010
+ table: {
1011
+ columns: {
1012
+ label: string;
1013
+ display: {
1014
+ type: "foreign";
1015
+ localRelationRef: string;
1016
+ labelExpression: string;
1017
+ valueExpression: string;
1018
+ } | {
1019
+ type: "text";
1020
+ modelFieldRef: string;
1021
+ };
1022
+ }[];
1023
+ };
1024
+ icon?: string | undefined;
1025
+ id?: string | undefined;
1026
+ disableCreate?: boolean | undefined;
1027
+ embeddedForms?: ({
1028
+ type: "object";
1029
+ name: string;
1030
+ id: string;
1031
+ modelRef: string;
1032
+ form: {
1033
+ fields: {
1034
+ type: string;
1035
+ label: string;
1036
+ }[];
1037
+ };
1038
+ includeIdField?: boolean | undefined;
1039
+ } | {
1040
+ type: "list";
1041
+ name: string;
1042
+ id: string;
1043
+ modelRef: string;
1044
+ form: {
1045
+ fields: {
1046
+ type: string;
1047
+ label: string;
1048
+ }[];
1049
+ };
1050
+ table: {
1051
+ columns: {
1052
+ label: string;
1053
+ display: {
1054
+ type: "foreign";
1055
+ localRelationRef: string;
1056
+ labelExpression: string;
1057
+ valueExpression: string;
1058
+ } | {
1059
+ type: "text";
1060
+ modelFieldRef: string;
1061
+ };
1062
+ }[];
1063
+ };
1064
+ includeIdField?: boolean | undefined;
1065
+ })[] | undefined;
1066
+ }[] | undefined;
1067
+ }>;
1068
+ export type AdminAppConfig = z.infer<typeof adminAppSchema>;
1069
+ export declare const adminAppEntryType: import("../types.js").AppEntryType<{
1070
+ type: "admin";
1071
+ name: string;
1072
+ id: string;
1073
+ packageLocation?: string | undefined;
1074
+ allowedRoles?: string[] | undefined;
1075
+ sections?: {
1076
+ type: "crud";
1077
+ name: string;
1078
+ id: string;
1079
+ modelRef: string;
1080
+ featureRef: string;
1081
+ form: {
1082
+ fields: {
1083
+ type: string;
1084
+ label: string;
1085
+ }[];
1086
+ };
1087
+ table: {
1088
+ columns: {
1089
+ label: string;
1090
+ display: {
1091
+ type: "foreign";
1092
+ localRelationRef: string;
1093
+ labelExpression: string;
1094
+ valueExpression: string;
1095
+ } | {
1096
+ type: "text";
1097
+ modelFieldRef: string;
1098
+ };
1099
+ }[];
1100
+ };
1101
+ icon?: string | undefined;
1102
+ disableCreate?: boolean | undefined;
1103
+ embeddedForms?: ({
1104
+ type: "object";
1105
+ name: string;
1106
+ id: string;
1107
+ modelRef: string;
1108
+ form: {
1109
+ fields: {
1110
+ type: string;
1111
+ label: string;
1112
+ }[];
1113
+ };
1114
+ includeIdField?: boolean | undefined;
1115
+ } | {
1116
+ type: "list";
1117
+ name: string;
1118
+ id: string;
1119
+ modelRef: string;
1120
+ form: {
1121
+ fields: {
1122
+ type: string;
1123
+ label: string;
1124
+ }[];
1125
+ };
1126
+ table: {
1127
+ columns: {
1128
+ label: string;
1129
+ display: {
1130
+ type: "foreign";
1131
+ localRelationRef: string;
1132
+ labelExpression: string;
1133
+ valueExpression: string;
1134
+ } | {
1135
+ type: "text";
1136
+ modelFieldRef: string;
1137
+ };
1138
+ }[];
1139
+ };
1140
+ includeIdField?: boolean | undefined;
1141
+ })[] | undefined;
1142
+ }[] | undefined;
1143
+ }>;
1144
+ //# sourceMappingURL=app.d.ts.map