sonamu 0.7.53 → 0.8.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 (271) hide show
  1. package/dist/api/config.d.ts +9 -1
  2. package/dist/api/config.d.ts.map +1 -1
  3. package/dist/api/config.js +1 -1
  4. package/dist/api/sonamu.d.ts +21 -1
  5. package/dist/api/sonamu.d.ts.map +1 -1
  6. package/dist/api/sonamu.js +159 -65
  7. package/dist/auth/plugins/entity-definitions/anonymous.d.ts +10 -0
  8. package/dist/auth/plugins/entity-definitions/anonymous.d.ts.map +1 -0
  9. package/dist/auth/plugins/entity-definitions/anonymous.js +23 -0
  10. package/dist/auth/plugins/entity-definitions/api-key.d.ts +9 -0
  11. package/dist/auth/plugins/entity-definitions/api-key.d.ts.map +1 -0
  12. package/dist/auth/plugins/entity-definitions/api-key.js +199 -0
  13. package/dist/auth/plugins/entity-definitions/index.d.ts +6 -0
  14. package/dist/auth/plugins/entity-definitions/index.d.ts.map +1 -1
  15. package/dist/auth/plugins/entity-definitions/index.js +20 -2
  16. package/dist/auth/plugins/entity-definitions/jwt.d.ts +9 -0
  17. package/dist/auth/plugins/entity-definitions/jwt.d.ts.map +1 -0
  18. package/dist/auth/plugins/entity-definitions/jwt.js +67 -0
  19. package/dist/auth/plugins/entity-definitions/organization.d.ts +9 -0
  20. package/dist/auth/plugins/entity-definitions/organization.d.ts.map +1 -0
  21. package/dist/auth/plugins/entity-definitions/organization.js +424 -0
  22. package/dist/auth/plugins/entity-definitions/passkey.d.ts +10 -0
  23. package/dist/auth/plugins/entity-definitions/passkey.d.ts.map +1 -0
  24. package/dist/auth/plugins/entity-definitions/passkey.js +129 -0
  25. package/dist/auth/plugins/entity-definitions/sso.d.ts +10 -0
  26. package/dist/auth/plugins/entity-definitions/sso.d.ts.map +1 -0
  27. package/dist/auth/plugins/entity-definitions/sso.js +110 -0
  28. package/dist/auth/plugins/entity-definitions/types.d.ts +1 -1
  29. package/dist/auth/plugins/entity-definitions/types.d.ts.map +1 -1
  30. package/dist/auth/plugins/entity-definitions/types.js +1 -1
  31. package/dist/auth/plugins/wrappers/admin.d.ts.map +1 -1
  32. package/dist/auth/plugins/wrappers/admin.js +2 -4
  33. package/dist/auth/plugins/wrappers/anonymous.d.ts +18 -0
  34. package/dist/auth/plugins/wrappers/anonymous.d.ts.map +1 -0
  35. package/dist/auth/plugins/wrappers/anonymous.js +26 -0
  36. package/dist/auth/plugins/wrappers/api-key.d.ts +18 -0
  37. package/dist/auth/plugins/wrappers/api-key.d.ts.map +1 -0
  38. package/dist/auth/plugins/wrappers/api-key.js +38 -0
  39. package/dist/auth/plugins/wrappers/index.d.ts +6 -0
  40. package/dist/auth/plugins/wrappers/index.d.ts.map +1 -1
  41. package/dist/auth/plugins/wrappers/index.js +7 -1
  42. package/dist/auth/plugins/wrappers/jwt.d.ts +18 -0
  43. package/dist/auth/plugins/wrappers/jwt.d.ts.map +1 -0
  44. package/dist/auth/plugins/wrappers/jwt.js +30 -0
  45. package/dist/auth/plugins/wrappers/organization.d.ts +18 -0
  46. package/dist/auth/plugins/wrappers/organization.d.ts.map +1 -0
  47. package/dist/auth/plugins/wrappers/organization.js +67 -0
  48. package/dist/auth/plugins/wrappers/passkey.d.ts +18 -0
  49. package/dist/auth/plugins/wrappers/passkey.d.ts.map +1 -0
  50. package/dist/auth/plugins/wrappers/passkey.js +32 -0
  51. package/dist/auth/plugins/wrappers/phone-number.d.ts.map +1 -1
  52. package/dist/auth/plugins/wrappers/phone-number.js +2 -4
  53. package/dist/auth/plugins/wrappers/sso.d.ts +853 -0
  54. package/dist/auth/plugins/wrappers/sso.d.ts.map +1 -0
  55. package/dist/auth/plugins/wrappers/sso.js +36 -0
  56. package/dist/auth/plugins/wrappers/two-factor.d.ts.map +1 -1
  57. package/dist/auth/plugins/wrappers/two-factor.js +2 -4
  58. package/dist/auth/plugins/wrappers/username.d.ts.map +1 -1
  59. package/dist/auth/plugins/wrappers/username.js +2 -4
  60. package/dist/bin/build-config.d.ts +2 -2
  61. package/dist/bin/build-config.js +6 -7
  62. package/dist/bin/cli.js +417 -32
  63. package/dist/bin/fixture.d.ts +27 -0
  64. package/dist/bin/fixture.d.ts.map +1 -0
  65. package/dist/bin/fixture.js +245 -0
  66. package/dist/cache/decorator.d.ts +4 -3
  67. package/dist/cache/decorator.d.ts.map +1 -1
  68. package/dist/cache/decorator.js +5 -4
  69. package/dist/cone/cone-generator.d.ts +33 -0
  70. package/dist/cone/cone-generator.d.ts.map +1 -0
  71. package/dist/cone/cone-generator.js +286 -0
  72. package/dist/database/_batch_update.d.ts.map +1 -1
  73. package/dist/database/_batch_update.js +16 -2
  74. package/dist/database/puri-subset.test-d.js +1 -1
  75. package/dist/database/puri-subset.types.d.ts +1 -1
  76. package/dist/database/puri-subset.types.d.ts.map +1 -1
  77. package/dist/database/puri-subset.types.js +1 -1
  78. package/dist/database/puri.d.ts +4 -0
  79. package/dist/database/puri.d.ts.map +1 -1
  80. package/dist/database/puri.js +20 -2
  81. package/dist/database/upsert-builder.d.ts.map +1 -1
  82. package/dist/database/upsert-builder.js +19 -3
  83. package/dist/dict/en.d.ts +15 -0
  84. package/dist/dict/en.d.ts.map +1 -1
  85. package/dist/dict/en.js +2 -1
  86. package/dist/dict/ko.d.ts +15 -0
  87. package/dist/dict/ko.d.ts.map +1 -1
  88. package/dist/dict/ko.js +2 -1
  89. package/dist/dict/rc-keys.d.ts +28 -0
  90. package/dist/dict/rc-keys.d.ts.map +1 -1
  91. package/dist/dict/rc-keys.js +31 -1
  92. package/dist/dict/sd.d.ts.map +1 -1
  93. package/dist/dict/sd.js +20 -4
  94. package/dist/entity/entity-manager.d.ts +298 -2
  95. package/dist/entity/entity-manager.d.ts.map +1 -1
  96. package/dist/entity/entity-manager.js +4 -1
  97. package/dist/entity/entity-template-cone.d.ts +14 -0
  98. package/dist/entity/entity-template-cone.d.ts.map +1 -0
  99. package/dist/entity/entity-template-cone.js +222 -0
  100. package/dist/entity/entity.d.ts +47 -2
  101. package/dist/entity/entity.d.ts.map +1 -1
  102. package/dist/entity/entity.js +161 -14
  103. package/dist/ssr/renderer.js +3 -3
  104. package/dist/syncer/api-parser.js +12 -1
  105. package/dist/syncer/checksum.d.ts +0 -14
  106. package/dist/syncer/checksum.d.ts.map +1 -1
  107. package/dist/syncer/checksum.js +1 -23
  108. package/dist/syncer/syncer-actions.d.ts.map +1 -1
  109. package/dist/syncer/syncer-actions.js +8 -2
  110. package/dist/syncer/syncer.d.ts +1 -1
  111. package/dist/syncer/syncer.d.ts.map +1 -1
  112. package/dist/syncer/syncer.js +17 -10
  113. package/dist/tasks/workflow-manager.d.ts +13 -1
  114. package/dist/tasks/workflow-manager.d.ts.map +1 -1
  115. package/dist/tasks/workflow-manager.js +18 -1
  116. package/dist/template/entity-converter.js +4 -4
  117. package/dist/template/helpers.d.ts +10 -0
  118. package/dist/template/helpers.d.ts.map +1 -1
  119. package/dist/template/helpers.js +48 -1
  120. package/dist/template/implementations/entry-server.template.d.ts +1 -1
  121. package/dist/template/implementations/entry-server.template.js +7 -2
  122. package/dist/template/implementations/generated.template.d.ts.map +1 -1
  123. package/dist/template/implementations/generated.template.js +5 -1
  124. package/dist/template/implementations/generated_http.template.d.ts +1 -0
  125. package/dist/template/implementations/generated_http.template.d.ts.map +1 -1
  126. package/dist/template/implementations/generated_http.template.js +6 -2
  127. package/dist/template/implementations/generated_sso.template.d.ts.map +1 -1
  128. package/dist/template/implementations/generated_sso.template.js +29 -8
  129. package/dist/template/implementations/queries.template.d.ts.map +1 -1
  130. package/dist/template/implementations/queries.template.js +9 -1
  131. package/dist/template/implementations/sd.template.d.ts +1 -1
  132. package/dist/template/implementations/sd.template.d.ts.map +1 -1
  133. package/dist/template/implementations/sd.template.js +28 -4
  134. package/dist/template/implementations/services.template.d.ts.map +1 -1
  135. package/dist/template/implementations/services.template.js +12 -12
  136. package/dist/template/implementations/view_form.template.d.ts +11 -7
  137. package/dist/template/implementations/view_form.template.d.ts.map +1 -1
  138. package/dist/template/implementations/view_form.template.js +97 -87
  139. package/dist/template/implementations/view_list.template.d.ts +3 -3
  140. package/dist/template/implementations/view_list.template.d.ts.map +1 -1
  141. package/dist/template/implementations/view_list.template.js +115 -109
  142. package/dist/template/implementations/view_search_input.template.d.ts.map +1 -1
  143. package/dist/template/implementations/view_search_input.template.js +18 -14
  144. package/dist/template/zod-converter.d.ts.map +1 -1
  145. package/dist/template/zod-converter.js +95 -7
  146. package/dist/testing/_relation-graph.js +1 -1
  147. package/dist/testing/data-explorer.d.ts +61 -0
  148. package/dist/testing/data-explorer.d.ts.map +1 -0
  149. package/dist/testing/data-explorer.js +274 -0
  150. package/dist/testing/faker-mappings.d.ts +20 -0
  151. package/dist/testing/faker-mappings.d.ts.map +1 -0
  152. package/dist/testing/faker-mappings.js +421 -0
  153. package/dist/testing/fixture-generator.d.ts +161 -0
  154. package/dist/testing/fixture-generator.d.ts.map +1 -0
  155. package/dist/testing/fixture-generator.js +954 -0
  156. package/dist/testing/fixture-manager.d.ts +6 -1
  157. package/dist/testing/fixture-manager.d.ts.map +1 -1
  158. package/dist/testing/fixture-manager.js +72 -4
  159. package/dist/testing/index.d.ts +3 -0
  160. package/dist/testing/index.d.ts.map +1 -1
  161. package/dist/testing/index.js +4 -1
  162. package/dist/types/types.d.ts +1520 -26
  163. package/dist/types/types.d.ts.map +1 -1
  164. package/dist/types/types.js +136 -22
  165. package/dist/ui/ai-client.d.ts.map +1 -1
  166. package/dist/ui/ai-client.js +9 -4
  167. package/dist/ui/api.d.ts.map +1 -1
  168. package/dist/ui/api.js +303 -24
  169. package/dist/ui-web/assets/index-CsUr-_pV.js +254 -0
  170. package/dist/ui-web/assets/index-T42zzs1K.css +1 -0
  171. package/dist/ui-web/index.html +2 -2
  172. package/dist/utils/fs-utils.d.ts +2 -1
  173. package/dist/utils/fs-utils.d.ts.map +1 -1
  174. package/dist/utils/fs-utils.js +14 -3
  175. package/package.json +19 -11
  176. package/src/api/config.ts +12 -1
  177. package/src/api/sonamu.ts +179 -65
  178. package/src/auth/plugins/entity-definitions/anonymous.ts +17 -0
  179. package/src/auth/plugins/entity-definitions/api-key.ts +93 -0
  180. package/src/auth/plugins/entity-definitions/index.ts +18 -0
  181. package/src/auth/plugins/entity-definitions/jwt.ts +35 -0
  182. package/src/auth/plugins/entity-definitions/organization.ts +215 -0
  183. package/src/auth/plugins/entity-definitions/passkey.ts +64 -0
  184. package/src/auth/plugins/entity-definitions/sso.ts +62 -0
  185. package/src/auth/plugins/entity-definitions/types.ts +11 -1
  186. package/src/auth/plugins/wrappers/admin.ts +1 -3
  187. package/src/auth/plugins/wrappers/anonymous.ts +30 -0
  188. package/src/auth/plugins/wrappers/api-key.ts +42 -0
  189. package/src/auth/plugins/wrappers/index.ts +6 -0
  190. package/src/auth/plugins/wrappers/jwt.ts +34 -0
  191. package/src/auth/plugins/wrappers/organization.ts +73 -0
  192. package/src/auth/plugins/wrappers/passkey.ts +36 -0
  193. package/src/auth/plugins/wrappers/phone-number.ts +1 -3
  194. package/src/auth/plugins/wrappers/sso.ts +40 -0
  195. package/src/auth/plugins/wrappers/two-factor.ts +1 -3
  196. package/src/auth/plugins/wrappers/username.ts +1 -3
  197. package/src/bin/build-config.ts +6 -6
  198. package/src/bin/cli.ts +452 -31
  199. package/src/bin/fixture.ts +302 -0
  200. package/src/cache/decorator.ts +4 -3
  201. package/src/cone/cone-generator.ts +363 -0
  202. package/src/database/_batch_update.ts +11 -0
  203. package/src/database/puri-subset.test-d.ts +13 -13
  204. package/src/database/puri-subset.types.ts +1 -1
  205. package/src/database/puri.ts +43 -1
  206. package/src/database/upsert-builder.ts +16 -2
  207. package/src/dict/en.ts +1 -0
  208. package/src/dict/ko.ts +1 -0
  209. package/src/dict/rc-keys.ts +32 -0
  210. package/src/dict/sd.ts +23 -3
  211. package/src/entity/entity-manager.ts +4 -0
  212. package/src/entity/entity-template-cone.ts +298 -0
  213. package/src/entity/entity.ts +189 -13
  214. package/src/shared/app.shared.ts.txt +5 -0
  215. package/src/shared/web.shared.ts.txt +9 -5
  216. package/src/skills/project/README.md +21 -0
  217. package/src/skills/project/architecture.md +373 -0
  218. package/src/skills/project/business-logic.md +270 -0
  219. package/src/skills/project/requirements.md +160 -0
  220. package/src/skills/sonamu/SKILL.md +168 -3
  221. package/src/skills/sonamu/api.md +102 -0
  222. package/src/skills/sonamu/database.md +220 -1
  223. package/src/skills/sonamu/entity-relations.md +89 -1
  224. package/src/skills/sonamu/fixture-cli.md +501 -0
  225. package/src/skills/sonamu/frontend.md +214 -0
  226. package/src/skills/sonamu/i18n.md +95 -0
  227. package/src/skills/sonamu/model.md +153 -0
  228. package/src/skills/sonamu/project-init.md +178 -8
  229. package/src/skills/sonamu/scaffolding.md +112 -0
  230. package/src/skills/sonamu/subset.md +9 -3
  231. package/src/skills/sonamu/testing.md +287 -2
  232. package/src/skills/sonamu/workflow.md +70 -5
  233. package/src/ssr/renderer.ts +2 -2
  234. package/src/syncer/api-parser.ts +12 -0
  235. package/src/syncer/checksum.ts +0 -38
  236. package/src/syncer/syncer-actions.ts +7 -1
  237. package/src/syncer/syncer.ts +16 -5
  238. package/src/tasks/workflow-manager.ts +29 -8
  239. package/src/template/entity-converter.ts +3 -3
  240. package/src/template/helpers.ts +49 -0
  241. package/src/template/implementations/entry-server.template.ts +1 -1
  242. package/src/template/implementations/generated.template.ts +4 -0
  243. package/src/template/implementations/generated_http.template.ts +1 -0
  244. package/src/template/implementations/generated_sso.template.ts +40 -11
  245. package/src/template/implementations/queries.template.ts +8 -0
  246. package/src/template/implementations/sd.template.ts +22 -3
  247. package/src/template/implementations/services.template.ts +11 -10
  248. package/src/template/implementations/view_form.template.ts +111 -101
  249. package/src/template/implementations/view_list.template.ts +120 -119
  250. package/src/template/implementations/view_search_input.template.ts +17 -13
  251. package/src/template/zod-converter.ts +103 -6
  252. package/src/testing/_relation-graph.ts +1 -1
  253. package/src/testing/data-explorer.ts +427 -0
  254. package/src/testing/faker-mappings.ts +434 -0
  255. package/src/testing/fixture-generator.ts +1166 -0
  256. package/src/testing/fixture-manager.ts +91 -6
  257. package/src/testing/index.ts +3 -0
  258. package/src/types/types.ts +222 -26
  259. package/src/ui/ai-client.ts +9 -1
  260. package/src/ui/api.ts +429 -23
  261. package/src/utils/fs-utils.ts +14 -1
  262. package/dist/template/implementations/view_enums_select.template.d.ts +0 -17
  263. package/dist/template/implementations/view_enums_select.template.d.ts.map +0 -1
  264. package/dist/template/implementations/view_enums_select.template.js +0 -62
  265. package/dist/template/implementations/view_id_async_select.template.d.ts +0 -17
  266. package/dist/template/implementations/view_id_async_select.template.d.ts.map +0 -1
  267. package/dist/template/implementations/view_id_async_select.template.js +0 -125
  268. package/dist/ui-web/assets/index-Bd_2AkLb.css +0 -1
  269. package/dist/ui-web/assets/index-BpSbhQWo.js +0 -225
  270. package/src/template/implementations/view_enums_select.template.ts +0 -65
  271. package/src/template/implementations/view_id_async_select.template.ts +0 -139
@@ -5,6 +5,25 @@ import type { GuardKey } from "./../api/decorators";
5
5
  import type { CacheControlHandler } from "../cache-control/types";
6
6
  export declare function zArrayable<T extends z.ZodTypeAny>(shape: T): z.ZodUnion<[T, z.ZodArray<T>]>;
7
7
  export type DistributiveOmit<T, K extends keyof any> = T extends any ? Omit<T, K> : never;
8
+ /**
9
+ * cone: 범용 메타데이터 시스템
10
+ *
11
+ * Entity, Prop, Enum, Subset에 추가할 수 있는 범용 메타데이터입니다.
12
+ * Fixture 생성, UI 라벨, 문서화 등 다양한 용도로 활용할 수 있습니다.
13
+ */
14
+ export type Cone = {
15
+ desc?: string;
16
+ note?: string;
17
+ tags?: string[];
18
+ fixtureHint?: string;
19
+ fixtureGenerator?: string;
20
+ fixtureDefault?: unknown;
21
+ dataSource?: {
22
+ strategy: "sample" | "ids" | "query" | "file" | "recent" | "random";
23
+ config?: unknown;
24
+ };
25
+ [key: string]: unknown;
26
+ };
8
27
  export type GeneratedColumnType = "STORED" | "VIRTUAL";
9
28
  export type GeneratedColumn = {
10
29
  type: GeneratedColumnType;
@@ -17,7 +36,18 @@ export type CommonProp = {
17
36
  desc?: string;
18
37
  dbDefault?: string;
19
38
  generated?: GeneratedColumn;
39
+ cone?: Cone;
20
40
  };
41
+ /**
42
+ * 하위 호환성을 위한 헬퍼 함수
43
+ *
44
+ * desc 필드와 cone.desc 둘 다 지원합니다.
45
+ * cone.desc가 있으면 우선적으로 사용하고, 없으면 desc를 사용합니다.
46
+ */
47
+ export declare function getDescription(item: {
48
+ desc?: string;
49
+ cone?: Cone;
50
+ }): string | undefined;
21
51
  export type IntegerProp = CommonProp & {
22
52
  type: "integer";
23
53
  };
@@ -30,13 +60,51 @@ export type BigIntegerProp = CommonProp & {
30
60
  export type BigIntegerArrayProp = CommonProp & {
31
61
  type: "bigInteger[]";
32
62
  };
63
+ /**
64
+ * Zod 4 String Format 타입
65
+ * entity.json에서 string 타입의 prop에 zodFormat 옵션을 지정하여
66
+ * BaseSchema 생성 시 Zod의 string format validation을 적용합니다.
67
+ */
68
+ export declare const ZodStringFormat: z.ZodEnum<{
69
+ uuid: "uuid";
70
+ base64: "base64";
71
+ base64url: "base64url";
72
+ hex: "hex";
73
+ email: "email";
74
+ url: "url";
75
+ httpUrl: "httpUrl";
76
+ hostname: "hostname";
77
+ emoji: "emoji";
78
+ jwt: "jwt";
79
+ nanoid: "nanoid";
80
+ cuid: "cuid";
81
+ cuid2: "cuid2";
82
+ ulid: "ulid";
83
+ ipv4: "ipv4";
84
+ ipv6: "ipv6";
85
+ mac: "mac";
86
+ cidrv4: "cidrv4";
87
+ cidrv6: "cidrv6";
88
+ hashMd5: "hashMd5";
89
+ hashSha1: "hashSha1";
90
+ hashSha256: "hashSha256";
91
+ hashSha384: "hashSha384";
92
+ hashSha512: "hashSha512";
93
+ isoDate: "isoDate";
94
+ isoTime: "isoTime";
95
+ isoDatetime: "isoDatetime";
96
+ isoDuration: "isoDuration";
97
+ }>;
98
+ export type ZodStringFormat = z.infer<typeof ZodStringFormat>;
33
99
  export type StringProp = CommonProp & {
34
100
  type: "string";
35
101
  length?: number;
102
+ zodFormat?: ZodStringFormat;
36
103
  };
37
104
  export type StringArrayProp = CommonProp & {
38
105
  type: "string[]";
39
106
  length?: number;
107
+ zodFormat?: ZodStringFormat;
40
108
  };
41
109
  export type EnumProp = CommonProp & {
42
110
  type: "enum";
@@ -118,6 +186,7 @@ type _RelationProp = {
118
186
  nullable?: boolean;
119
187
  toFilter?: true;
120
188
  desc?: string;
189
+ cone?: Cone;
121
190
  };
122
191
  export type OneToOneRelationProp = _RelationProp & {
123
192
  relationType: "OneToOne";
@@ -258,20 +327,59 @@ export type SubsetField = string | {
258
327
  };
259
328
  export declare function normalizeSubsetField(f: SubsetField): string;
260
329
  export declare function isInternalSubsetField(f: SubsetField): boolean;
330
+ /**
331
+ * SubsetDef: Subset 정의
332
+ *
333
+ * 하위 호환성을 위해 SubsetField[] 배열 형태도 지원합니다.
334
+ */
335
+ export type SubsetDef = SubsetField[] | {
336
+ fields: SubsetField[];
337
+ cone?: Cone;
338
+ };
339
+ /**
340
+ * EnumDef: Enum 정의
341
+ *
342
+ * 하위 호환성을 위해 Record<string, string> 형태도 지원합니다.
343
+ */
344
+ export type EnumDef = Record<string, string> | {
345
+ values: Record<string, string>;
346
+ cone?: Cone;
347
+ };
348
+ /**
349
+ * SubsetDef가 새로운 객체 형태인지 확인
350
+ */
351
+ export declare function isSubsetDefWithCone(def: SubsetDef): def is {
352
+ fields: SubsetField[];
353
+ cone?: Cone;
354
+ };
355
+ /**
356
+ * EnumDef가 새로운 객체 형태인지 확인
357
+ */
358
+ export declare function isEnumDefWithCone(def: EnumDef): def is {
359
+ values: Record<string, string>;
360
+ cone?: Cone;
361
+ };
362
+ /**
363
+ * SubsetDef에서 fields 추출
364
+ */
365
+ export declare function getSubsetFields(def: SubsetDef): SubsetField[];
366
+ /**
367
+ * EnumDef에서 values 추출
368
+ */
369
+ export declare function getEnumDefValues(def: EnumDef): Record<string, string>;
261
370
  export type EntityJson = {
262
371
  id: string;
263
372
  parentId?: string;
264
373
  table: string;
265
374
  title?: string;
375
+ cone?: Cone;
266
376
  props: EntityProp[];
267
377
  indexes: EntityIndex[];
268
378
  subsets: {
269
- [subset: string]: SubsetField[];
379
+ [subset: string]: SubsetDef;
270
380
  };
271
381
  enums: {
272
- [enumId: string]: {
273
- [key: string]: string;
274
- };
382
+ [enumId: string]: EnumDef;
275
383
  };
276
384
  };
277
385
  export type EntitySubsetRow = {
@@ -481,6 +589,11 @@ export type ApiParam = {
481
589
  defaultDef?: string;
482
590
  };
483
591
  export declare namespace ApiParamType {
592
+ type Function = {
593
+ t: "function";
594
+ parameters: ApiParam[];
595
+ returnType: ApiParamType;
596
+ };
484
597
  type Object = {
485
598
  t: "object";
486
599
  props: ApiParam[];
@@ -561,7 +674,7 @@ export declare namespace ApiParamType {
561
674
  function isRefKnex(v: unknown): v is ApiParamType.Ref;
562
675
  function isTypeParam(v: unknown): v is ApiParamType.TypeParam;
563
676
  }
564
- export type ApiParamType = "string" | "number" | "boolean" | "null" | "undefined" | "void" | "any" | "unknown" | "true" | "false" | ApiParamType.StringLiteral | ApiParamType.NumericLiteral | ApiParamType.Object | ApiParamType.Union | ApiParamType.Intersection | ApiParamType.Array | ApiParamType.Ref | ApiParamType.IndexedAccess | ApiParamType.TypeParam | ApiParamType.TupleType;
677
+ export type ApiParamType = "string" | "number" | "boolean" | "null" | "undefined" | "void" | "any" | "unknown" | "true" | "false" | ApiParamType.StringLiteral | ApiParamType.NumericLiteral | ApiParamType.Object | ApiParamType.Union | ApiParamType.Intersection | ApiParamType.Array | ApiParamType.Ref | ApiParamType.IndexedAccess | ApiParamType.TypeParam | ApiParamType.TupleType | ApiParamType.Function;
565
678
  /**
566
679
  * UI 컴포넌트 렌더링을 위한 메타데이터 노드입니다.
567
680
  *
@@ -586,7 +699,7 @@ export declare const RenderingNode: z.ZodAny;
586
699
  export type RenderingNode = {
587
700
  name: string;
588
701
  label: string;
589
- renderType: "string-plain" | "string-image" | "string-datetime" | "string-date" | "datetime" | "number-plain" | "number-id" | "number-fk_id" | "boolean" | "enums" | "array" | "array-images" | "json-sonamufile" | "json-sonamufile-array" | "object" | "object-pick" | "record" | "vector";
702
+ renderType: "string-plain" | "string-image" | "string-datetime" | "string-date" | "string-id" | "string-fk_id" | "datetime" | "number-plain" | "number-id" | "number-fk_id" | "boolean" | "enums" | "array" | "array-images" | "json-sonamufile" | "json-sonamufile-array" | "object" | "object-pick" | "record" | "vector";
590
703
  zodType: z.ZodTypeAny;
591
704
  element?: RenderingNode;
592
705
  children?: RenderingNode[];
@@ -628,6 +741,25 @@ export declare const RelationPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
628
741
  }>;
629
742
  expression: z.ZodString;
630
743
  }, z.core.$strip>>;
744
+ cone: z.ZodOptional<z.ZodObject<{
745
+ desc: z.ZodOptional<z.ZodString>;
746
+ note: z.ZodOptional<z.ZodString>;
747
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
748
+ fixtureHint: z.ZodOptional<z.ZodString>;
749
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
750
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
751
+ dataSource: z.ZodOptional<z.ZodObject<{
752
+ strategy: z.ZodEnum<{
753
+ file: "file";
754
+ sample: "sample";
755
+ ids: "ids";
756
+ query: "query";
757
+ recent: "recent";
758
+ random: "random";
759
+ }>;
760
+ config: z.ZodOptional<z.ZodUnknown>;
761
+ }, z.core.$strip>>;
762
+ }, z.core.$catchall<z.ZodUnknown>>>;
631
763
  }, z.core.$strict>, z.ZodObject<{
632
764
  relationType: z.ZodLiteral<"HasMany">;
633
765
  joinColumn: z.ZodString;
@@ -646,6 +778,25 @@ export declare const RelationPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
646
778
  }>;
647
779
  expression: z.ZodString;
648
780
  }, z.core.$strip>>;
781
+ cone: z.ZodOptional<z.ZodObject<{
782
+ desc: z.ZodOptional<z.ZodString>;
783
+ note: z.ZodOptional<z.ZodString>;
784
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
785
+ fixtureHint: z.ZodOptional<z.ZodString>;
786
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
787
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
788
+ dataSource: z.ZodOptional<z.ZodObject<{
789
+ strategy: z.ZodEnum<{
790
+ file: "file";
791
+ sample: "sample";
792
+ ids: "ids";
793
+ query: "query";
794
+ recent: "recent";
795
+ random: "random";
796
+ }>;
797
+ config: z.ZodOptional<z.ZodUnknown>;
798
+ }, z.core.$strip>>;
799
+ }, z.core.$catchall<z.ZodUnknown>>>;
649
800
  }, z.core.$strict>, z.ZodObject<{
650
801
  relationType: z.ZodLiteral<"ManyToMany">;
651
802
  joinTable: z.ZodString;
@@ -677,6 +828,25 @@ export declare const RelationPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
677
828
  }>;
678
829
  expression: z.ZodString;
679
830
  }, z.core.$strip>>;
831
+ cone: z.ZodOptional<z.ZodObject<{
832
+ desc: z.ZodOptional<z.ZodString>;
833
+ note: z.ZodOptional<z.ZodString>;
834
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
835
+ fixtureHint: z.ZodOptional<z.ZodString>;
836
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
837
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
838
+ dataSource: z.ZodOptional<z.ZodObject<{
839
+ strategy: z.ZodEnum<{
840
+ file: "file";
841
+ sample: "sample";
842
+ ids: "ids";
843
+ query: "query";
844
+ recent: "recent";
845
+ random: "random";
846
+ }>;
847
+ config: z.ZodOptional<z.ZodUnknown>;
848
+ }, z.core.$strip>>;
849
+ }, z.core.$catchall<z.ZodUnknown>>>;
680
850
  }, z.core.$strict>, z.ZodObject<{
681
851
  relationType: z.ZodLiteral<"OneToOne">;
682
852
  customJoinClause: z.ZodOptional<z.ZodString>;
@@ -710,6 +880,25 @@ export declare const RelationPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
710
880
  }>;
711
881
  expression: z.ZodString;
712
882
  }, z.core.$strip>>;
883
+ cone: z.ZodOptional<z.ZodObject<{
884
+ desc: z.ZodOptional<z.ZodString>;
885
+ note: z.ZodOptional<z.ZodString>;
886
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
887
+ fixtureHint: z.ZodOptional<z.ZodString>;
888
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
889
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
890
+ dataSource: z.ZodOptional<z.ZodObject<{
891
+ strategy: z.ZodEnum<{
892
+ file: "file";
893
+ sample: "sample";
894
+ ids: "ids";
895
+ query: "query";
896
+ recent: "recent";
897
+ random: "random";
898
+ }>;
899
+ config: z.ZodOptional<z.ZodUnknown>;
900
+ }, z.core.$strip>>;
901
+ }, z.core.$catchall<z.ZodUnknown>>>;
713
902
  }, z.core.$strict>], "relationType">;
714
903
  export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
715
904
  type: z.ZodUnion<readonly [z.ZodLiteral<"integer">, z.ZodLiteral<"integer[]">, z.ZodLiteral<"bigInteger">, z.ZodLiteral<"bigInteger[]">, z.ZodLiteral<"boolean">, z.ZodLiteral<"boolean[]">, z.ZodLiteral<"uuid">, z.ZodLiteral<"uuid[]">, z.ZodLiteral<"tsvector">]>;
@@ -725,9 +914,58 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
725
914
  }>;
726
915
  expression: z.ZodString;
727
916
  }, z.core.$strip>>;
917
+ cone: z.ZodOptional<z.ZodObject<{
918
+ desc: z.ZodOptional<z.ZodString>;
919
+ note: z.ZodOptional<z.ZodString>;
920
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
921
+ fixtureHint: z.ZodOptional<z.ZodString>;
922
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
923
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
924
+ dataSource: z.ZodOptional<z.ZodObject<{
925
+ strategy: z.ZodEnum<{
926
+ file: "file";
927
+ sample: "sample";
928
+ ids: "ids";
929
+ query: "query";
930
+ recent: "recent";
931
+ random: "random";
932
+ }>;
933
+ config: z.ZodOptional<z.ZodUnknown>;
934
+ }, z.core.$strip>>;
935
+ }, z.core.$catchall<z.ZodUnknown>>>;
728
936
  }, z.core.$strict>, z.ZodObject<{
729
937
  type: z.ZodLiteral<"string">;
730
938
  length: z.ZodOptional<z.ZodNumber>;
939
+ zodFormat: z.ZodOptional<z.ZodEnum<{
940
+ uuid: "uuid";
941
+ base64: "base64";
942
+ base64url: "base64url";
943
+ hex: "hex";
944
+ email: "email";
945
+ url: "url";
946
+ httpUrl: "httpUrl";
947
+ hostname: "hostname";
948
+ emoji: "emoji";
949
+ jwt: "jwt";
950
+ nanoid: "nanoid";
951
+ cuid: "cuid";
952
+ cuid2: "cuid2";
953
+ ulid: "ulid";
954
+ ipv4: "ipv4";
955
+ ipv6: "ipv6";
956
+ mac: "mac";
957
+ cidrv4: "cidrv4";
958
+ cidrv6: "cidrv6";
959
+ hashMd5: "hashMd5";
960
+ hashSha1: "hashSha1";
961
+ hashSha256: "hashSha256";
962
+ hashSha384: "hashSha384";
963
+ hashSha512: "hashSha512";
964
+ isoDate: "isoDate";
965
+ isoTime: "isoTime";
966
+ isoDatetime: "isoDatetime";
967
+ isoDuration: "isoDuration";
968
+ }>>;
731
969
  name: z.ZodString;
732
970
  desc: z.ZodOptional<z.ZodString>;
733
971
  nullable: z.ZodOptional<z.ZodBoolean>;
@@ -740,9 +978,58 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
740
978
  }>;
741
979
  expression: z.ZodString;
742
980
  }, z.core.$strip>>;
981
+ cone: z.ZodOptional<z.ZodObject<{
982
+ desc: z.ZodOptional<z.ZodString>;
983
+ note: z.ZodOptional<z.ZodString>;
984
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
985
+ fixtureHint: z.ZodOptional<z.ZodString>;
986
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
987
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
988
+ dataSource: z.ZodOptional<z.ZodObject<{
989
+ strategy: z.ZodEnum<{
990
+ file: "file";
991
+ sample: "sample";
992
+ ids: "ids";
993
+ query: "query";
994
+ recent: "recent";
995
+ random: "random";
996
+ }>;
997
+ config: z.ZodOptional<z.ZodUnknown>;
998
+ }, z.core.$strip>>;
999
+ }, z.core.$catchall<z.ZodUnknown>>>;
743
1000
  }, z.core.$strict>, z.ZodObject<{
744
1001
  type: z.ZodLiteral<"string[]">;
745
1002
  length: z.ZodOptional<z.ZodNumber>;
1003
+ zodFormat: z.ZodOptional<z.ZodEnum<{
1004
+ uuid: "uuid";
1005
+ base64: "base64";
1006
+ base64url: "base64url";
1007
+ hex: "hex";
1008
+ email: "email";
1009
+ url: "url";
1010
+ httpUrl: "httpUrl";
1011
+ hostname: "hostname";
1012
+ emoji: "emoji";
1013
+ jwt: "jwt";
1014
+ nanoid: "nanoid";
1015
+ cuid: "cuid";
1016
+ cuid2: "cuid2";
1017
+ ulid: "ulid";
1018
+ ipv4: "ipv4";
1019
+ ipv6: "ipv6";
1020
+ mac: "mac";
1021
+ cidrv4: "cidrv4";
1022
+ cidrv6: "cidrv6";
1023
+ hashMd5: "hashMd5";
1024
+ hashSha1: "hashSha1";
1025
+ hashSha256: "hashSha256";
1026
+ hashSha384: "hashSha384";
1027
+ hashSha512: "hashSha512";
1028
+ isoDate: "isoDate";
1029
+ isoTime: "isoTime";
1030
+ isoDatetime: "isoDatetime";
1031
+ isoDuration: "isoDuration";
1032
+ }>>;
746
1033
  name: z.ZodString;
747
1034
  desc: z.ZodOptional<z.ZodString>;
748
1035
  nullable: z.ZodOptional<z.ZodBoolean>;
@@ -755,6 +1042,25 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
755
1042
  }>;
756
1043
  expression: z.ZodString;
757
1044
  }, z.core.$strip>>;
1045
+ cone: z.ZodOptional<z.ZodObject<{
1046
+ desc: z.ZodOptional<z.ZodString>;
1047
+ note: z.ZodOptional<z.ZodString>;
1048
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1049
+ fixtureHint: z.ZodOptional<z.ZodString>;
1050
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1051
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1052
+ dataSource: z.ZodOptional<z.ZodObject<{
1053
+ strategy: z.ZodEnum<{
1054
+ file: "file";
1055
+ sample: "sample";
1056
+ ids: "ids";
1057
+ query: "query";
1058
+ recent: "recent";
1059
+ random: "random";
1060
+ }>;
1061
+ config: z.ZodOptional<z.ZodUnknown>;
1062
+ }, z.core.$strip>>;
1063
+ }, z.core.$catchall<z.ZodUnknown>>>;
758
1064
  }, z.core.$strict>, z.ZodObject<{
759
1065
  type: z.ZodLiteral<"enum">;
760
1066
  id: z.ZodString;
@@ -771,6 +1077,25 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
771
1077
  }>;
772
1078
  expression: z.ZodString;
773
1079
  }, z.core.$strip>>;
1080
+ cone: z.ZodOptional<z.ZodObject<{
1081
+ desc: z.ZodOptional<z.ZodString>;
1082
+ note: z.ZodOptional<z.ZodString>;
1083
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1084
+ fixtureHint: z.ZodOptional<z.ZodString>;
1085
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1086
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1087
+ dataSource: z.ZodOptional<z.ZodObject<{
1088
+ strategy: z.ZodEnum<{
1089
+ file: "file";
1090
+ sample: "sample";
1091
+ ids: "ids";
1092
+ query: "query";
1093
+ recent: "recent";
1094
+ random: "random";
1095
+ }>;
1096
+ config: z.ZodOptional<z.ZodUnknown>;
1097
+ }, z.core.$strip>>;
1098
+ }, z.core.$catchall<z.ZodUnknown>>>;
774
1099
  }, z.core.$strict>, z.ZodObject<{
775
1100
  type: z.ZodLiteral<"enum[]">;
776
1101
  id: z.ZodString;
@@ -786,6 +1111,25 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
786
1111
  }>;
787
1112
  expression: z.ZodString;
788
1113
  }, z.core.$strip>>;
1114
+ cone: z.ZodOptional<z.ZodObject<{
1115
+ desc: z.ZodOptional<z.ZodString>;
1116
+ note: z.ZodOptional<z.ZodString>;
1117
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1118
+ fixtureHint: z.ZodOptional<z.ZodString>;
1119
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1120
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1121
+ dataSource: z.ZodOptional<z.ZodObject<{
1122
+ strategy: z.ZodEnum<{
1123
+ file: "file";
1124
+ sample: "sample";
1125
+ ids: "ids";
1126
+ query: "query";
1127
+ recent: "recent";
1128
+ random: "random";
1129
+ }>;
1130
+ config: z.ZodOptional<z.ZodUnknown>;
1131
+ }, z.core.$strip>>;
1132
+ }, z.core.$catchall<z.ZodUnknown>>>;
789
1133
  }, z.core.$strict>, z.ZodObject<{
790
1134
  numberType: z.ZodOptional<z.ZodEnum<{
791
1135
  real: "real";
@@ -807,6 +1151,25 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
807
1151
  }>;
808
1152
  expression: z.ZodString;
809
1153
  }, z.core.$strip>>;
1154
+ cone: z.ZodOptional<z.ZodObject<{
1155
+ desc: z.ZodOptional<z.ZodString>;
1156
+ note: z.ZodOptional<z.ZodString>;
1157
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1158
+ fixtureHint: z.ZodOptional<z.ZodString>;
1159
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1160
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1161
+ dataSource: z.ZodOptional<z.ZodObject<{
1162
+ strategy: z.ZodEnum<{
1163
+ file: "file";
1164
+ sample: "sample";
1165
+ ids: "ids";
1166
+ query: "query";
1167
+ recent: "recent";
1168
+ random: "random";
1169
+ }>;
1170
+ config: z.ZodOptional<z.ZodUnknown>;
1171
+ }, z.core.$strip>>;
1172
+ }, z.core.$catchall<z.ZodUnknown>>>;
810
1173
  }, z.core.$strict>, z.ZodObject<{
811
1174
  numberType: z.ZodOptional<z.ZodEnum<{
812
1175
  real: "real";
@@ -828,6 +1191,25 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
828
1191
  }>;
829
1192
  expression: z.ZodString;
830
1193
  }, z.core.$strip>>;
1194
+ cone: z.ZodOptional<z.ZodObject<{
1195
+ desc: z.ZodOptional<z.ZodString>;
1196
+ note: z.ZodOptional<z.ZodString>;
1197
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1198
+ fixtureHint: z.ZodOptional<z.ZodString>;
1199
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1200
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1201
+ dataSource: z.ZodOptional<z.ZodObject<{
1202
+ strategy: z.ZodEnum<{
1203
+ file: "file";
1204
+ sample: "sample";
1205
+ ids: "ids";
1206
+ query: "query";
1207
+ recent: "recent";
1208
+ random: "random";
1209
+ }>;
1210
+ config: z.ZodOptional<z.ZodUnknown>;
1211
+ }, z.core.$strip>>;
1212
+ }, z.core.$catchall<z.ZodUnknown>>>;
831
1213
  }, z.core.$strict>, z.ZodObject<{
832
1214
  type: z.ZodLiteral<"date">;
833
1215
  precision: z.ZodOptional<z.ZodNumber>;
@@ -843,6 +1225,25 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
843
1225
  }>;
844
1226
  expression: z.ZodString;
845
1227
  }, z.core.$strip>>;
1228
+ cone: z.ZodOptional<z.ZodObject<{
1229
+ desc: z.ZodOptional<z.ZodString>;
1230
+ note: z.ZodOptional<z.ZodString>;
1231
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1232
+ fixtureHint: z.ZodOptional<z.ZodString>;
1233
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1234
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1235
+ dataSource: z.ZodOptional<z.ZodObject<{
1236
+ strategy: z.ZodEnum<{
1237
+ file: "file";
1238
+ sample: "sample";
1239
+ ids: "ids";
1240
+ query: "query";
1241
+ recent: "recent";
1242
+ random: "random";
1243
+ }>;
1244
+ config: z.ZodOptional<z.ZodUnknown>;
1245
+ }, z.core.$strip>>;
1246
+ }, z.core.$catchall<z.ZodUnknown>>>;
846
1247
  }, z.core.$strict>, z.ZodObject<{
847
1248
  type: z.ZodLiteral<"date[]">;
848
1249
  precision: z.ZodOptional<z.ZodNumber>;
@@ -858,6 +1259,25 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
858
1259
  }>;
859
1260
  expression: z.ZodString;
860
1261
  }, z.core.$strip>>;
1262
+ cone: z.ZodOptional<z.ZodObject<{
1263
+ desc: z.ZodOptional<z.ZodString>;
1264
+ note: z.ZodOptional<z.ZodString>;
1265
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1266
+ fixtureHint: z.ZodOptional<z.ZodString>;
1267
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1268
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1269
+ dataSource: z.ZodOptional<z.ZodObject<{
1270
+ strategy: z.ZodEnum<{
1271
+ file: "file";
1272
+ sample: "sample";
1273
+ ids: "ids";
1274
+ query: "query";
1275
+ recent: "recent";
1276
+ random: "random";
1277
+ }>;
1278
+ config: z.ZodOptional<z.ZodUnknown>;
1279
+ }, z.core.$strip>>;
1280
+ }, z.core.$catchall<z.ZodUnknown>>>;
861
1281
  }, z.core.$strict>, z.ZodObject<{
862
1282
  precision: z.ZodOptional<z.ZodNumber>;
863
1283
  scale: z.ZodOptional<z.ZodNumber>;
@@ -874,6 +1294,25 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
874
1294
  }>;
875
1295
  expression: z.ZodString;
876
1296
  }, z.core.$strip>>;
1297
+ cone: z.ZodOptional<z.ZodObject<{
1298
+ desc: z.ZodOptional<z.ZodString>;
1299
+ note: z.ZodOptional<z.ZodString>;
1300
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1301
+ fixtureHint: z.ZodOptional<z.ZodString>;
1302
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1303
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1304
+ dataSource: z.ZodOptional<z.ZodObject<{
1305
+ strategy: z.ZodEnum<{
1306
+ file: "file";
1307
+ sample: "sample";
1308
+ ids: "ids";
1309
+ query: "query";
1310
+ recent: "recent";
1311
+ random: "random";
1312
+ }>;
1313
+ config: z.ZodOptional<z.ZodUnknown>;
1314
+ }, z.core.$strip>>;
1315
+ }, z.core.$catchall<z.ZodUnknown>>>;
877
1316
  }, z.core.$strict>, z.ZodObject<{
878
1317
  precision: z.ZodOptional<z.ZodNumber>;
879
1318
  scale: z.ZodOptional<z.ZodNumber>;
@@ -890,6 +1329,25 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
890
1329
  }>;
891
1330
  expression: z.ZodString;
892
1331
  }, z.core.$strip>>;
1332
+ cone: z.ZodOptional<z.ZodObject<{
1333
+ desc: z.ZodOptional<z.ZodString>;
1334
+ note: z.ZodOptional<z.ZodString>;
1335
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1336
+ fixtureHint: z.ZodOptional<z.ZodString>;
1337
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1338
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1339
+ dataSource: z.ZodOptional<z.ZodObject<{
1340
+ strategy: z.ZodEnum<{
1341
+ file: "file";
1342
+ sample: "sample";
1343
+ ids: "ids";
1344
+ query: "query";
1345
+ recent: "recent";
1346
+ random: "random";
1347
+ }>;
1348
+ config: z.ZodOptional<z.ZodUnknown>;
1349
+ }, z.core.$strip>>;
1350
+ }, z.core.$catchall<z.ZodUnknown>>>;
893
1351
  }, z.core.$strict>, z.ZodObject<{
894
1352
  type: z.ZodLiteral<"json">;
895
1353
  id: z.ZodString;
@@ -905,6 +1363,25 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
905
1363
  }>;
906
1364
  expression: z.ZodString;
907
1365
  }, z.core.$strip>>;
1366
+ cone: z.ZodOptional<z.ZodObject<{
1367
+ desc: z.ZodOptional<z.ZodString>;
1368
+ note: z.ZodOptional<z.ZodString>;
1369
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1370
+ fixtureHint: z.ZodOptional<z.ZodString>;
1371
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1372
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1373
+ dataSource: z.ZodOptional<z.ZodObject<{
1374
+ strategy: z.ZodEnum<{
1375
+ file: "file";
1376
+ sample: "sample";
1377
+ ids: "ids";
1378
+ query: "query";
1379
+ recent: "recent";
1380
+ random: "random";
1381
+ }>;
1382
+ config: z.ZodOptional<z.ZodUnknown>;
1383
+ }, z.core.$strip>>;
1384
+ }, z.core.$catchall<z.ZodUnknown>>>;
908
1385
  }, z.core.$strict>, z.ZodObject<{
909
1386
  type: z.ZodLiteral<"virtual">;
910
1387
  id: z.ZodString;
@@ -924,6 +1401,25 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
924
1401
  }>;
925
1402
  expression: z.ZodString;
926
1403
  }, z.core.$strip>>;
1404
+ cone: z.ZodOptional<z.ZodObject<{
1405
+ desc: z.ZodOptional<z.ZodString>;
1406
+ note: z.ZodOptional<z.ZodString>;
1407
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1408
+ fixtureHint: z.ZodOptional<z.ZodString>;
1409
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1410
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1411
+ dataSource: z.ZodOptional<z.ZodObject<{
1412
+ strategy: z.ZodEnum<{
1413
+ file: "file";
1414
+ sample: "sample";
1415
+ ids: "ids";
1416
+ query: "query";
1417
+ recent: "recent";
1418
+ random: "random";
1419
+ }>;
1420
+ config: z.ZodOptional<z.ZodUnknown>;
1421
+ }, z.core.$strip>>;
1422
+ }, z.core.$catchall<z.ZodUnknown>>>;
927
1423
  }, z.core.$strict>, z.ZodObject<{
928
1424
  type: z.ZodLiteral<"vector">;
929
1425
  dimensions: z.ZodNumber;
@@ -939,6 +1435,25 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
939
1435
  }>;
940
1436
  expression: z.ZodString;
941
1437
  }, z.core.$strip>>;
1438
+ cone: z.ZodOptional<z.ZodObject<{
1439
+ desc: z.ZodOptional<z.ZodString>;
1440
+ note: z.ZodOptional<z.ZodString>;
1441
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1442
+ fixtureHint: z.ZodOptional<z.ZodString>;
1443
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1444
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1445
+ dataSource: z.ZodOptional<z.ZodObject<{
1446
+ strategy: z.ZodEnum<{
1447
+ file: "file";
1448
+ sample: "sample";
1449
+ ids: "ids";
1450
+ query: "query";
1451
+ recent: "recent";
1452
+ random: "random";
1453
+ }>;
1454
+ config: z.ZodOptional<z.ZodUnknown>;
1455
+ }, z.core.$strip>>;
1456
+ }, z.core.$catchall<z.ZodUnknown>>>;
942
1457
  }, z.core.$strict>, z.ZodObject<{
943
1458
  type: z.ZodLiteral<"vector[]">;
944
1459
  dimensions: z.ZodNumber;
@@ -954,12 +1469,50 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
954
1469
  }>;
955
1470
  expression: z.ZodString;
956
1471
  }, z.core.$strip>>;
1472
+ cone: z.ZodOptional<z.ZodObject<{
1473
+ desc: z.ZodOptional<z.ZodString>;
1474
+ note: z.ZodOptional<z.ZodString>;
1475
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1476
+ fixtureHint: z.ZodOptional<z.ZodString>;
1477
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1478
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1479
+ dataSource: z.ZodOptional<z.ZodObject<{
1480
+ strategy: z.ZodEnum<{
1481
+ file: "file";
1482
+ sample: "sample";
1483
+ ids: "ids";
1484
+ query: "query";
1485
+ recent: "recent";
1486
+ random: "random";
1487
+ }>;
1488
+ config: z.ZodOptional<z.ZodUnknown>;
1489
+ }, z.core.$strip>>;
1490
+ }, z.core.$catchall<z.ZodUnknown>>>;
957
1491
  }, z.core.$strict>], "type">;
958
1492
  export declare const EntityJsonSchema: z.ZodObject<{
959
1493
  id: z.ZodString;
960
1494
  title: z.ZodString;
961
1495
  table: z.ZodString;
962
1496
  parentId: z.ZodOptional<z.ZodString>;
1497
+ cone: z.ZodOptional<z.ZodObject<{
1498
+ desc: z.ZodOptional<z.ZodString>;
1499
+ note: z.ZodOptional<z.ZodString>;
1500
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1501
+ fixtureHint: z.ZodOptional<z.ZodString>;
1502
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1503
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1504
+ dataSource: z.ZodOptional<z.ZodObject<{
1505
+ strategy: z.ZodEnum<{
1506
+ file: "file";
1507
+ sample: "sample";
1508
+ ids: "ids";
1509
+ query: "query";
1510
+ recent: "recent";
1511
+ random: "random";
1512
+ }>;
1513
+ config: z.ZodOptional<z.ZodUnknown>;
1514
+ }, z.core.$strip>>;
1515
+ }, z.core.$catchall<z.ZodUnknown>>>;
963
1516
  props: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
964
1517
  type: z.ZodUnion<readonly [z.ZodLiteral<"integer">, z.ZodLiteral<"integer[]">, z.ZodLiteral<"bigInteger">, z.ZodLiteral<"bigInteger[]">, z.ZodLiteral<"boolean">, z.ZodLiteral<"boolean[]">, z.ZodLiteral<"uuid">, z.ZodLiteral<"uuid[]">, z.ZodLiteral<"tsvector">]>;
965
1518
  name: z.ZodString;
@@ -974,9 +1527,58 @@ export declare const EntityJsonSchema: z.ZodObject<{
974
1527
  }>;
975
1528
  expression: z.ZodString;
976
1529
  }, z.core.$strip>>;
1530
+ cone: z.ZodOptional<z.ZodObject<{
1531
+ desc: z.ZodOptional<z.ZodString>;
1532
+ note: z.ZodOptional<z.ZodString>;
1533
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1534
+ fixtureHint: z.ZodOptional<z.ZodString>;
1535
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1536
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1537
+ dataSource: z.ZodOptional<z.ZodObject<{
1538
+ strategy: z.ZodEnum<{
1539
+ file: "file";
1540
+ sample: "sample";
1541
+ ids: "ids";
1542
+ query: "query";
1543
+ recent: "recent";
1544
+ random: "random";
1545
+ }>;
1546
+ config: z.ZodOptional<z.ZodUnknown>;
1547
+ }, z.core.$strip>>;
1548
+ }, z.core.$catchall<z.ZodUnknown>>>;
977
1549
  }, z.core.$strict>, z.ZodObject<{
978
1550
  type: z.ZodLiteral<"string">;
979
1551
  length: z.ZodOptional<z.ZodNumber>;
1552
+ zodFormat: z.ZodOptional<z.ZodEnum<{
1553
+ uuid: "uuid";
1554
+ base64: "base64";
1555
+ base64url: "base64url";
1556
+ hex: "hex";
1557
+ email: "email";
1558
+ url: "url";
1559
+ httpUrl: "httpUrl";
1560
+ hostname: "hostname";
1561
+ emoji: "emoji";
1562
+ jwt: "jwt";
1563
+ nanoid: "nanoid";
1564
+ cuid: "cuid";
1565
+ cuid2: "cuid2";
1566
+ ulid: "ulid";
1567
+ ipv4: "ipv4";
1568
+ ipv6: "ipv6";
1569
+ mac: "mac";
1570
+ cidrv4: "cidrv4";
1571
+ cidrv6: "cidrv6";
1572
+ hashMd5: "hashMd5";
1573
+ hashSha1: "hashSha1";
1574
+ hashSha256: "hashSha256";
1575
+ hashSha384: "hashSha384";
1576
+ hashSha512: "hashSha512";
1577
+ isoDate: "isoDate";
1578
+ isoTime: "isoTime";
1579
+ isoDatetime: "isoDatetime";
1580
+ isoDuration: "isoDuration";
1581
+ }>>;
980
1582
  name: z.ZodString;
981
1583
  desc: z.ZodOptional<z.ZodString>;
982
1584
  nullable: z.ZodOptional<z.ZodBoolean>;
@@ -989,9 +1591,58 @@ export declare const EntityJsonSchema: z.ZodObject<{
989
1591
  }>;
990
1592
  expression: z.ZodString;
991
1593
  }, z.core.$strip>>;
1594
+ cone: z.ZodOptional<z.ZodObject<{
1595
+ desc: z.ZodOptional<z.ZodString>;
1596
+ note: z.ZodOptional<z.ZodString>;
1597
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1598
+ fixtureHint: z.ZodOptional<z.ZodString>;
1599
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1600
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1601
+ dataSource: z.ZodOptional<z.ZodObject<{
1602
+ strategy: z.ZodEnum<{
1603
+ file: "file";
1604
+ sample: "sample";
1605
+ ids: "ids";
1606
+ query: "query";
1607
+ recent: "recent";
1608
+ random: "random";
1609
+ }>;
1610
+ config: z.ZodOptional<z.ZodUnknown>;
1611
+ }, z.core.$strip>>;
1612
+ }, z.core.$catchall<z.ZodUnknown>>>;
992
1613
  }, z.core.$strict>, z.ZodObject<{
993
1614
  type: z.ZodLiteral<"string[]">;
994
1615
  length: z.ZodOptional<z.ZodNumber>;
1616
+ zodFormat: z.ZodOptional<z.ZodEnum<{
1617
+ uuid: "uuid";
1618
+ base64: "base64";
1619
+ base64url: "base64url";
1620
+ hex: "hex";
1621
+ email: "email";
1622
+ url: "url";
1623
+ httpUrl: "httpUrl";
1624
+ hostname: "hostname";
1625
+ emoji: "emoji";
1626
+ jwt: "jwt";
1627
+ nanoid: "nanoid";
1628
+ cuid: "cuid";
1629
+ cuid2: "cuid2";
1630
+ ulid: "ulid";
1631
+ ipv4: "ipv4";
1632
+ ipv6: "ipv6";
1633
+ mac: "mac";
1634
+ cidrv4: "cidrv4";
1635
+ cidrv6: "cidrv6";
1636
+ hashMd5: "hashMd5";
1637
+ hashSha1: "hashSha1";
1638
+ hashSha256: "hashSha256";
1639
+ hashSha384: "hashSha384";
1640
+ hashSha512: "hashSha512";
1641
+ isoDate: "isoDate";
1642
+ isoTime: "isoTime";
1643
+ isoDatetime: "isoDatetime";
1644
+ isoDuration: "isoDuration";
1645
+ }>>;
995
1646
  name: z.ZodString;
996
1647
  desc: z.ZodOptional<z.ZodString>;
997
1648
  nullable: z.ZodOptional<z.ZodBoolean>;
@@ -1004,6 +1655,25 @@ export declare const EntityJsonSchema: z.ZodObject<{
1004
1655
  }>;
1005
1656
  expression: z.ZodString;
1006
1657
  }, z.core.$strip>>;
1658
+ cone: z.ZodOptional<z.ZodObject<{
1659
+ desc: z.ZodOptional<z.ZodString>;
1660
+ note: z.ZodOptional<z.ZodString>;
1661
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1662
+ fixtureHint: z.ZodOptional<z.ZodString>;
1663
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1664
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1665
+ dataSource: z.ZodOptional<z.ZodObject<{
1666
+ strategy: z.ZodEnum<{
1667
+ file: "file";
1668
+ sample: "sample";
1669
+ ids: "ids";
1670
+ query: "query";
1671
+ recent: "recent";
1672
+ random: "random";
1673
+ }>;
1674
+ config: z.ZodOptional<z.ZodUnknown>;
1675
+ }, z.core.$strip>>;
1676
+ }, z.core.$catchall<z.ZodUnknown>>>;
1007
1677
  }, z.core.$strict>, z.ZodObject<{
1008
1678
  type: z.ZodLiteral<"enum">;
1009
1679
  id: z.ZodString;
@@ -1020,6 +1690,25 @@ export declare const EntityJsonSchema: z.ZodObject<{
1020
1690
  }>;
1021
1691
  expression: z.ZodString;
1022
1692
  }, z.core.$strip>>;
1693
+ cone: z.ZodOptional<z.ZodObject<{
1694
+ desc: z.ZodOptional<z.ZodString>;
1695
+ note: z.ZodOptional<z.ZodString>;
1696
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1697
+ fixtureHint: z.ZodOptional<z.ZodString>;
1698
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1699
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1700
+ dataSource: z.ZodOptional<z.ZodObject<{
1701
+ strategy: z.ZodEnum<{
1702
+ file: "file";
1703
+ sample: "sample";
1704
+ ids: "ids";
1705
+ query: "query";
1706
+ recent: "recent";
1707
+ random: "random";
1708
+ }>;
1709
+ config: z.ZodOptional<z.ZodUnknown>;
1710
+ }, z.core.$strip>>;
1711
+ }, z.core.$catchall<z.ZodUnknown>>>;
1023
1712
  }, z.core.$strict>, z.ZodObject<{
1024
1713
  type: z.ZodLiteral<"enum[]">;
1025
1714
  id: z.ZodString;
@@ -1035,6 +1724,25 @@ export declare const EntityJsonSchema: z.ZodObject<{
1035
1724
  }>;
1036
1725
  expression: z.ZodString;
1037
1726
  }, z.core.$strip>>;
1727
+ cone: z.ZodOptional<z.ZodObject<{
1728
+ desc: z.ZodOptional<z.ZodString>;
1729
+ note: z.ZodOptional<z.ZodString>;
1730
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1731
+ fixtureHint: z.ZodOptional<z.ZodString>;
1732
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1733
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1734
+ dataSource: z.ZodOptional<z.ZodObject<{
1735
+ strategy: z.ZodEnum<{
1736
+ file: "file";
1737
+ sample: "sample";
1738
+ ids: "ids";
1739
+ query: "query";
1740
+ recent: "recent";
1741
+ random: "random";
1742
+ }>;
1743
+ config: z.ZodOptional<z.ZodUnknown>;
1744
+ }, z.core.$strip>>;
1745
+ }, z.core.$catchall<z.ZodUnknown>>>;
1038
1746
  }, z.core.$strict>, z.ZodObject<{
1039
1747
  numberType: z.ZodOptional<z.ZodEnum<{
1040
1748
  real: "real";
@@ -1056,6 +1764,25 @@ export declare const EntityJsonSchema: z.ZodObject<{
1056
1764
  }>;
1057
1765
  expression: z.ZodString;
1058
1766
  }, z.core.$strip>>;
1767
+ cone: z.ZodOptional<z.ZodObject<{
1768
+ desc: z.ZodOptional<z.ZodString>;
1769
+ note: z.ZodOptional<z.ZodString>;
1770
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1771
+ fixtureHint: z.ZodOptional<z.ZodString>;
1772
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1773
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1774
+ dataSource: z.ZodOptional<z.ZodObject<{
1775
+ strategy: z.ZodEnum<{
1776
+ file: "file";
1777
+ sample: "sample";
1778
+ ids: "ids";
1779
+ query: "query";
1780
+ recent: "recent";
1781
+ random: "random";
1782
+ }>;
1783
+ config: z.ZodOptional<z.ZodUnknown>;
1784
+ }, z.core.$strip>>;
1785
+ }, z.core.$catchall<z.ZodUnknown>>>;
1059
1786
  }, z.core.$strict>, z.ZodObject<{
1060
1787
  numberType: z.ZodOptional<z.ZodEnum<{
1061
1788
  real: "real";
@@ -1077,6 +1804,25 @@ export declare const EntityJsonSchema: z.ZodObject<{
1077
1804
  }>;
1078
1805
  expression: z.ZodString;
1079
1806
  }, z.core.$strip>>;
1807
+ cone: z.ZodOptional<z.ZodObject<{
1808
+ desc: z.ZodOptional<z.ZodString>;
1809
+ note: z.ZodOptional<z.ZodString>;
1810
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1811
+ fixtureHint: z.ZodOptional<z.ZodString>;
1812
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1813
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1814
+ dataSource: z.ZodOptional<z.ZodObject<{
1815
+ strategy: z.ZodEnum<{
1816
+ file: "file";
1817
+ sample: "sample";
1818
+ ids: "ids";
1819
+ query: "query";
1820
+ recent: "recent";
1821
+ random: "random";
1822
+ }>;
1823
+ config: z.ZodOptional<z.ZodUnknown>;
1824
+ }, z.core.$strip>>;
1825
+ }, z.core.$catchall<z.ZodUnknown>>>;
1080
1826
  }, z.core.$strict>, z.ZodObject<{
1081
1827
  type: z.ZodLiteral<"date">;
1082
1828
  precision: z.ZodOptional<z.ZodNumber>;
@@ -1092,6 +1838,25 @@ export declare const EntityJsonSchema: z.ZodObject<{
1092
1838
  }>;
1093
1839
  expression: z.ZodString;
1094
1840
  }, z.core.$strip>>;
1841
+ cone: z.ZodOptional<z.ZodObject<{
1842
+ desc: z.ZodOptional<z.ZodString>;
1843
+ note: z.ZodOptional<z.ZodString>;
1844
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1845
+ fixtureHint: z.ZodOptional<z.ZodString>;
1846
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1847
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1848
+ dataSource: z.ZodOptional<z.ZodObject<{
1849
+ strategy: z.ZodEnum<{
1850
+ file: "file";
1851
+ sample: "sample";
1852
+ ids: "ids";
1853
+ query: "query";
1854
+ recent: "recent";
1855
+ random: "random";
1856
+ }>;
1857
+ config: z.ZodOptional<z.ZodUnknown>;
1858
+ }, z.core.$strip>>;
1859
+ }, z.core.$catchall<z.ZodUnknown>>>;
1095
1860
  }, z.core.$strict>, z.ZodObject<{
1096
1861
  type: z.ZodLiteral<"date[]">;
1097
1862
  precision: z.ZodOptional<z.ZodNumber>;
@@ -1107,6 +1872,25 @@ export declare const EntityJsonSchema: z.ZodObject<{
1107
1872
  }>;
1108
1873
  expression: z.ZodString;
1109
1874
  }, z.core.$strip>>;
1875
+ cone: z.ZodOptional<z.ZodObject<{
1876
+ desc: z.ZodOptional<z.ZodString>;
1877
+ note: z.ZodOptional<z.ZodString>;
1878
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1879
+ fixtureHint: z.ZodOptional<z.ZodString>;
1880
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1881
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1882
+ dataSource: z.ZodOptional<z.ZodObject<{
1883
+ strategy: z.ZodEnum<{
1884
+ file: "file";
1885
+ sample: "sample";
1886
+ ids: "ids";
1887
+ query: "query";
1888
+ recent: "recent";
1889
+ random: "random";
1890
+ }>;
1891
+ config: z.ZodOptional<z.ZodUnknown>;
1892
+ }, z.core.$strip>>;
1893
+ }, z.core.$catchall<z.ZodUnknown>>>;
1110
1894
  }, z.core.$strict>, z.ZodObject<{
1111
1895
  precision: z.ZodOptional<z.ZodNumber>;
1112
1896
  scale: z.ZodOptional<z.ZodNumber>;
@@ -1123,6 +1907,25 @@ export declare const EntityJsonSchema: z.ZodObject<{
1123
1907
  }>;
1124
1908
  expression: z.ZodString;
1125
1909
  }, z.core.$strip>>;
1910
+ cone: z.ZodOptional<z.ZodObject<{
1911
+ desc: z.ZodOptional<z.ZodString>;
1912
+ note: z.ZodOptional<z.ZodString>;
1913
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1914
+ fixtureHint: z.ZodOptional<z.ZodString>;
1915
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1916
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1917
+ dataSource: z.ZodOptional<z.ZodObject<{
1918
+ strategy: z.ZodEnum<{
1919
+ file: "file";
1920
+ sample: "sample";
1921
+ ids: "ids";
1922
+ query: "query";
1923
+ recent: "recent";
1924
+ random: "random";
1925
+ }>;
1926
+ config: z.ZodOptional<z.ZodUnknown>;
1927
+ }, z.core.$strip>>;
1928
+ }, z.core.$catchall<z.ZodUnknown>>>;
1126
1929
  }, z.core.$strict>, z.ZodObject<{
1127
1930
  precision: z.ZodOptional<z.ZodNumber>;
1128
1931
  scale: z.ZodOptional<z.ZodNumber>;
@@ -1139,6 +1942,25 @@ export declare const EntityJsonSchema: z.ZodObject<{
1139
1942
  }>;
1140
1943
  expression: z.ZodString;
1141
1944
  }, z.core.$strip>>;
1945
+ cone: z.ZodOptional<z.ZodObject<{
1946
+ desc: z.ZodOptional<z.ZodString>;
1947
+ note: z.ZodOptional<z.ZodString>;
1948
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1949
+ fixtureHint: z.ZodOptional<z.ZodString>;
1950
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1951
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1952
+ dataSource: z.ZodOptional<z.ZodObject<{
1953
+ strategy: z.ZodEnum<{
1954
+ file: "file";
1955
+ sample: "sample";
1956
+ ids: "ids";
1957
+ query: "query";
1958
+ recent: "recent";
1959
+ random: "random";
1960
+ }>;
1961
+ config: z.ZodOptional<z.ZodUnknown>;
1962
+ }, z.core.$strip>>;
1963
+ }, z.core.$catchall<z.ZodUnknown>>>;
1142
1964
  }, z.core.$strict>, z.ZodObject<{
1143
1965
  type: z.ZodLiteral<"json">;
1144
1966
  id: z.ZodString;
@@ -1154,6 +1976,25 @@ export declare const EntityJsonSchema: z.ZodObject<{
1154
1976
  }>;
1155
1977
  expression: z.ZodString;
1156
1978
  }, z.core.$strip>>;
1979
+ cone: z.ZodOptional<z.ZodObject<{
1980
+ desc: z.ZodOptional<z.ZodString>;
1981
+ note: z.ZodOptional<z.ZodString>;
1982
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1983
+ fixtureHint: z.ZodOptional<z.ZodString>;
1984
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
1985
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
1986
+ dataSource: z.ZodOptional<z.ZodObject<{
1987
+ strategy: z.ZodEnum<{
1988
+ file: "file";
1989
+ sample: "sample";
1990
+ ids: "ids";
1991
+ query: "query";
1992
+ recent: "recent";
1993
+ random: "random";
1994
+ }>;
1995
+ config: z.ZodOptional<z.ZodUnknown>;
1996
+ }, z.core.$strip>>;
1997
+ }, z.core.$catchall<z.ZodUnknown>>>;
1157
1998
  }, z.core.$strict>, z.ZodObject<{
1158
1999
  type: z.ZodLiteral<"virtual">;
1159
2000
  id: z.ZodString;
@@ -1173,6 +2014,25 @@ export declare const EntityJsonSchema: z.ZodObject<{
1173
2014
  }>;
1174
2015
  expression: z.ZodString;
1175
2016
  }, z.core.$strip>>;
2017
+ cone: z.ZodOptional<z.ZodObject<{
2018
+ desc: z.ZodOptional<z.ZodString>;
2019
+ note: z.ZodOptional<z.ZodString>;
2020
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2021
+ fixtureHint: z.ZodOptional<z.ZodString>;
2022
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2023
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2024
+ dataSource: z.ZodOptional<z.ZodObject<{
2025
+ strategy: z.ZodEnum<{
2026
+ file: "file";
2027
+ sample: "sample";
2028
+ ids: "ids";
2029
+ query: "query";
2030
+ recent: "recent";
2031
+ random: "random";
2032
+ }>;
2033
+ config: z.ZodOptional<z.ZodUnknown>;
2034
+ }, z.core.$strip>>;
2035
+ }, z.core.$catchall<z.ZodUnknown>>>;
1176
2036
  }, z.core.$strict>, z.ZodObject<{
1177
2037
  type: z.ZodLiteral<"vector">;
1178
2038
  dimensions: z.ZodNumber;
@@ -1188,6 +2048,25 @@ export declare const EntityJsonSchema: z.ZodObject<{
1188
2048
  }>;
1189
2049
  expression: z.ZodString;
1190
2050
  }, z.core.$strip>>;
2051
+ cone: z.ZodOptional<z.ZodObject<{
2052
+ desc: z.ZodOptional<z.ZodString>;
2053
+ note: z.ZodOptional<z.ZodString>;
2054
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2055
+ fixtureHint: z.ZodOptional<z.ZodString>;
2056
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2057
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2058
+ dataSource: z.ZodOptional<z.ZodObject<{
2059
+ strategy: z.ZodEnum<{
2060
+ file: "file";
2061
+ sample: "sample";
2062
+ ids: "ids";
2063
+ query: "query";
2064
+ recent: "recent";
2065
+ random: "random";
2066
+ }>;
2067
+ config: z.ZodOptional<z.ZodUnknown>;
2068
+ }, z.core.$strip>>;
2069
+ }, z.core.$catchall<z.ZodUnknown>>>;
1191
2070
  }, z.core.$strict>, z.ZodObject<{
1192
2071
  type: z.ZodLiteral<"vector[]">;
1193
2072
  dimensions: z.ZodNumber;
@@ -1203,6 +2082,25 @@ export declare const EntityJsonSchema: z.ZodObject<{
1203
2082
  }>;
1204
2083
  expression: z.ZodString;
1205
2084
  }, z.core.$strip>>;
2085
+ cone: z.ZodOptional<z.ZodObject<{
2086
+ desc: z.ZodOptional<z.ZodString>;
2087
+ note: z.ZodOptional<z.ZodString>;
2088
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2089
+ fixtureHint: z.ZodOptional<z.ZodString>;
2090
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2091
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2092
+ dataSource: z.ZodOptional<z.ZodObject<{
2093
+ strategy: z.ZodEnum<{
2094
+ file: "file";
2095
+ sample: "sample";
2096
+ ids: "ids";
2097
+ query: "query";
2098
+ recent: "recent";
2099
+ random: "random";
2100
+ }>;
2101
+ config: z.ZodOptional<z.ZodUnknown>;
2102
+ }, z.core.$strip>>;
2103
+ }, z.core.$catchall<z.ZodUnknown>>>;
1206
2104
  }, z.core.$strict>], "type">, z.ZodDiscriminatedUnion<[z.ZodObject<{
1207
2105
  relationType: z.ZodLiteral<"BelongsToOne">;
1208
2106
  customJoinClause: z.ZodOptional<z.ZodString>;
@@ -1235,6 +2133,25 @@ export declare const EntityJsonSchema: z.ZodObject<{
1235
2133
  }>;
1236
2134
  expression: z.ZodString;
1237
2135
  }, z.core.$strip>>;
2136
+ cone: z.ZodOptional<z.ZodObject<{
2137
+ desc: z.ZodOptional<z.ZodString>;
2138
+ note: z.ZodOptional<z.ZodString>;
2139
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2140
+ fixtureHint: z.ZodOptional<z.ZodString>;
2141
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2142
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2143
+ dataSource: z.ZodOptional<z.ZodObject<{
2144
+ strategy: z.ZodEnum<{
2145
+ file: "file";
2146
+ sample: "sample";
2147
+ ids: "ids";
2148
+ query: "query";
2149
+ recent: "recent";
2150
+ random: "random";
2151
+ }>;
2152
+ config: z.ZodOptional<z.ZodUnknown>;
2153
+ }, z.core.$strip>>;
2154
+ }, z.core.$catchall<z.ZodUnknown>>>;
1238
2155
  }, z.core.$strict>, z.ZodObject<{
1239
2156
  relationType: z.ZodLiteral<"HasMany">;
1240
2157
  joinColumn: z.ZodString;
@@ -1253,6 +2170,25 @@ export declare const EntityJsonSchema: z.ZodObject<{
1253
2170
  }>;
1254
2171
  expression: z.ZodString;
1255
2172
  }, z.core.$strip>>;
2173
+ cone: z.ZodOptional<z.ZodObject<{
2174
+ desc: z.ZodOptional<z.ZodString>;
2175
+ note: z.ZodOptional<z.ZodString>;
2176
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2177
+ fixtureHint: z.ZodOptional<z.ZodString>;
2178
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2179
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2180
+ dataSource: z.ZodOptional<z.ZodObject<{
2181
+ strategy: z.ZodEnum<{
2182
+ file: "file";
2183
+ sample: "sample";
2184
+ ids: "ids";
2185
+ query: "query";
2186
+ recent: "recent";
2187
+ random: "random";
2188
+ }>;
2189
+ config: z.ZodOptional<z.ZodUnknown>;
2190
+ }, z.core.$strip>>;
2191
+ }, z.core.$catchall<z.ZodUnknown>>>;
1256
2192
  }, z.core.$strict>, z.ZodObject<{
1257
2193
  relationType: z.ZodLiteral<"ManyToMany">;
1258
2194
  joinTable: z.ZodString;
@@ -1284,6 +2220,25 @@ export declare const EntityJsonSchema: z.ZodObject<{
1284
2220
  }>;
1285
2221
  expression: z.ZodString;
1286
2222
  }, z.core.$strip>>;
2223
+ cone: z.ZodOptional<z.ZodObject<{
2224
+ desc: z.ZodOptional<z.ZodString>;
2225
+ note: z.ZodOptional<z.ZodString>;
2226
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2227
+ fixtureHint: z.ZodOptional<z.ZodString>;
2228
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2229
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2230
+ dataSource: z.ZodOptional<z.ZodObject<{
2231
+ strategy: z.ZodEnum<{
2232
+ file: "file";
2233
+ sample: "sample";
2234
+ ids: "ids";
2235
+ query: "query";
2236
+ recent: "recent";
2237
+ random: "random";
2238
+ }>;
2239
+ config: z.ZodOptional<z.ZodUnknown>;
2240
+ }, z.core.$strip>>;
2241
+ }, z.core.$catchall<z.ZodUnknown>>>;
1287
2242
  }, z.core.$strict>, z.ZodObject<{
1288
2243
  relationType: z.ZodLiteral<"OneToOne">;
1289
2244
  customJoinClause: z.ZodOptional<z.ZodString>;
@@ -1317,6 +2272,25 @@ export declare const EntityJsonSchema: z.ZodObject<{
1317
2272
  }>;
1318
2273
  expression: z.ZodString;
1319
2274
  }, z.core.$strip>>;
2275
+ cone: z.ZodOptional<z.ZodObject<{
2276
+ desc: z.ZodOptional<z.ZodString>;
2277
+ note: z.ZodOptional<z.ZodString>;
2278
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2279
+ fixtureHint: z.ZodOptional<z.ZodString>;
2280
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2281
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2282
+ dataSource: z.ZodOptional<z.ZodObject<{
2283
+ strategy: z.ZodEnum<{
2284
+ file: "file";
2285
+ sample: "sample";
2286
+ ids: "ids";
2287
+ query: "query";
2288
+ recent: "recent";
2289
+ random: "random";
2290
+ }>;
2291
+ config: z.ZodOptional<z.ZodUnknown>;
2292
+ }, z.core.$strip>>;
2293
+ }, z.core.$catchall<z.ZodUnknown>>>;
1320
2294
  }, z.core.$strict>], "relationType">], "type">>;
1321
2295
  indexes: z.ZodArray<z.ZodObject<{
1322
2296
  type: z.ZodEnum<{
@@ -1351,17 +2325,81 @@ export declare const EntityJsonSchema: z.ZodObject<{
1351
2325
  efConstruction: z.ZodOptional<z.ZodNumber>;
1352
2326
  lists: z.ZodOptional<z.ZodNumber>;
1353
2327
  }, z.core.$strict>>;
1354
- subsets: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2328
+ subsets: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1355
2329
  field: z.ZodString;
1356
2330
  internal: z.ZodOptional<z.ZodBoolean>;
1357
- }, z.core.$strip>]>>>;
1358
- enums: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
2331
+ }, z.core.$strip>]>>, z.ZodObject<{
2332
+ fields: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2333
+ field: z.ZodString;
2334
+ internal: z.ZodOptional<z.ZodBoolean>;
2335
+ }, z.core.$strip>]>>;
2336
+ cone: z.ZodOptional<z.ZodObject<{
2337
+ desc: z.ZodOptional<z.ZodString>;
2338
+ note: z.ZodOptional<z.ZodString>;
2339
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2340
+ fixtureHint: z.ZodOptional<z.ZodString>;
2341
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2342
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2343
+ dataSource: z.ZodOptional<z.ZodObject<{
2344
+ strategy: z.ZodEnum<{
2345
+ file: "file";
2346
+ sample: "sample";
2347
+ ids: "ids";
2348
+ query: "query";
2349
+ recent: "recent";
2350
+ random: "random";
2351
+ }>;
2352
+ config: z.ZodOptional<z.ZodUnknown>;
2353
+ }, z.core.$strip>>;
2354
+ }, z.core.$catchall<z.ZodUnknown>>>;
2355
+ }, z.core.$strip>]>>;
2356
+ enums: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodObject<{
2357
+ values: z.ZodRecord<z.ZodString, z.ZodString>;
2358
+ cone: z.ZodOptional<z.ZodObject<{
2359
+ desc: z.ZodOptional<z.ZodString>;
2360
+ note: z.ZodOptional<z.ZodString>;
2361
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2362
+ fixtureHint: z.ZodOptional<z.ZodString>;
2363
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2364
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2365
+ dataSource: z.ZodOptional<z.ZodObject<{
2366
+ strategy: z.ZodEnum<{
2367
+ file: "file";
2368
+ sample: "sample";
2369
+ ids: "ids";
2370
+ query: "query";
2371
+ recent: "recent";
2372
+ random: "random";
2373
+ }>;
2374
+ config: z.ZodOptional<z.ZodUnknown>;
2375
+ }, z.core.$strip>>;
2376
+ }, z.core.$catchall<z.ZodUnknown>>>;
2377
+ }, z.core.$strip>]>>;
1359
2378
  }, z.core.$strict>;
1360
2379
  export declare const TemplateOptions: z.ZodObject<{
1361
2380
  entity: z.ZodObject<{
1362
2381
  table: z.ZodOptional<z.ZodString>;
1363
2382
  title: z.ZodString;
1364
2383
  parentId: z.ZodOptional<z.ZodString>;
2384
+ cone: z.ZodOptional<z.ZodObject<{
2385
+ desc: z.ZodOptional<z.ZodString>;
2386
+ note: z.ZodOptional<z.ZodString>;
2387
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2388
+ fixtureHint: z.ZodOptional<z.ZodString>;
2389
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2390
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2391
+ dataSource: z.ZodOptional<z.ZodObject<{
2392
+ strategy: z.ZodEnum<{
2393
+ file: "file";
2394
+ sample: "sample";
2395
+ ids: "ids";
2396
+ query: "query";
2397
+ recent: "recent";
2398
+ random: "random";
2399
+ }>;
2400
+ config: z.ZodOptional<z.ZodUnknown>;
2401
+ }, z.core.$strip>>;
2402
+ }, z.core.$catchall<z.ZodUnknown>>>;
1365
2403
  props: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
1366
2404
  type: z.ZodUnion<readonly [z.ZodLiteral<"integer">, z.ZodLiteral<"integer[]">, z.ZodLiteral<"bigInteger">, z.ZodLiteral<"bigInteger[]">, z.ZodLiteral<"boolean">, z.ZodLiteral<"boolean[]">, z.ZodLiteral<"uuid">, z.ZodLiteral<"uuid[]">, z.ZodLiteral<"tsvector">]>;
1367
2405
  name: z.ZodString;
@@ -1376,9 +2414,58 @@ export declare const TemplateOptions: z.ZodObject<{
1376
2414
  }>;
1377
2415
  expression: z.ZodString;
1378
2416
  }, z.core.$strip>>;
2417
+ cone: z.ZodOptional<z.ZodObject<{
2418
+ desc: z.ZodOptional<z.ZodString>;
2419
+ note: z.ZodOptional<z.ZodString>;
2420
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2421
+ fixtureHint: z.ZodOptional<z.ZodString>;
2422
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2423
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2424
+ dataSource: z.ZodOptional<z.ZodObject<{
2425
+ strategy: z.ZodEnum<{
2426
+ file: "file";
2427
+ sample: "sample";
2428
+ ids: "ids";
2429
+ query: "query";
2430
+ recent: "recent";
2431
+ random: "random";
2432
+ }>;
2433
+ config: z.ZodOptional<z.ZodUnknown>;
2434
+ }, z.core.$strip>>;
2435
+ }, z.core.$catchall<z.ZodUnknown>>>;
1379
2436
  }, z.core.$strict>, z.ZodObject<{
1380
2437
  type: z.ZodLiteral<"string">;
1381
2438
  length: z.ZodOptional<z.ZodNumber>;
2439
+ zodFormat: z.ZodOptional<z.ZodEnum<{
2440
+ uuid: "uuid";
2441
+ base64: "base64";
2442
+ base64url: "base64url";
2443
+ hex: "hex";
2444
+ email: "email";
2445
+ url: "url";
2446
+ httpUrl: "httpUrl";
2447
+ hostname: "hostname";
2448
+ emoji: "emoji";
2449
+ jwt: "jwt";
2450
+ nanoid: "nanoid";
2451
+ cuid: "cuid";
2452
+ cuid2: "cuid2";
2453
+ ulid: "ulid";
2454
+ ipv4: "ipv4";
2455
+ ipv6: "ipv6";
2456
+ mac: "mac";
2457
+ cidrv4: "cidrv4";
2458
+ cidrv6: "cidrv6";
2459
+ hashMd5: "hashMd5";
2460
+ hashSha1: "hashSha1";
2461
+ hashSha256: "hashSha256";
2462
+ hashSha384: "hashSha384";
2463
+ hashSha512: "hashSha512";
2464
+ isoDate: "isoDate";
2465
+ isoTime: "isoTime";
2466
+ isoDatetime: "isoDatetime";
2467
+ isoDuration: "isoDuration";
2468
+ }>>;
1382
2469
  name: z.ZodString;
1383
2470
  desc: z.ZodOptional<z.ZodString>;
1384
2471
  nullable: z.ZodOptional<z.ZodBoolean>;
@@ -1391,9 +2478,58 @@ export declare const TemplateOptions: z.ZodObject<{
1391
2478
  }>;
1392
2479
  expression: z.ZodString;
1393
2480
  }, z.core.$strip>>;
2481
+ cone: z.ZodOptional<z.ZodObject<{
2482
+ desc: z.ZodOptional<z.ZodString>;
2483
+ note: z.ZodOptional<z.ZodString>;
2484
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2485
+ fixtureHint: z.ZodOptional<z.ZodString>;
2486
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2487
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2488
+ dataSource: z.ZodOptional<z.ZodObject<{
2489
+ strategy: z.ZodEnum<{
2490
+ file: "file";
2491
+ sample: "sample";
2492
+ ids: "ids";
2493
+ query: "query";
2494
+ recent: "recent";
2495
+ random: "random";
2496
+ }>;
2497
+ config: z.ZodOptional<z.ZodUnknown>;
2498
+ }, z.core.$strip>>;
2499
+ }, z.core.$catchall<z.ZodUnknown>>>;
1394
2500
  }, z.core.$strict>, z.ZodObject<{
1395
2501
  type: z.ZodLiteral<"string[]">;
1396
2502
  length: z.ZodOptional<z.ZodNumber>;
2503
+ zodFormat: z.ZodOptional<z.ZodEnum<{
2504
+ uuid: "uuid";
2505
+ base64: "base64";
2506
+ base64url: "base64url";
2507
+ hex: "hex";
2508
+ email: "email";
2509
+ url: "url";
2510
+ httpUrl: "httpUrl";
2511
+ hostname: "hostname";
2512
+ emoji: "emoji";
2513
+ jwt: "jwt";
2514
+ nanoid: "nanoid";
2515
+ cuid: "cuid";
2516
+ cuid2: "cuid2";
2517
+ ulid: "ulid";
2518
+ ipv4: "ipv4";
2519
+ ipv6: "ipv6";
2520
+ mac: "mac";
2521
+ cidrv4: "cidrv4";
2522
+ cidrv6: "cidrv6";
2523
+ hashMd5: "hashMd5";
2524
+ hashSha1: "hashSha1";
2525
+ hashSha256: "hashSha256";
2526
+ hashSha384: "hashSha384";
2527
+ hashSha512: "hashSha512";
2528
+ isoDate: "isoDate";
2529
+ isoTime: "isoTime";
2530
+ isoDatetime: "isoDatetime";
2531
+ isoDuration: "isoDuration";
2532
+ }>>;
1397
2533
  name: z.ZodString;
1398
2534
  desc: z.ZodOptional<z.ZodString>;
1399
2535
  nullable: z.ZodOptional<z.ZodBoolean>;
@@ -1406,6 +2542,25 @@ export declare const TemplateOptions: z.ZodObject<{
1406
2542
  }>;
1407
2543
  expression: z.ZodString;
1408
2544
  }, z.core.$strip>>;
2545
+ cone: z.ZodOptional<z.ZodObject<{
2546
+ desc: z.ZodOptional<z.ZodString>;
2547
+ note: z.ZodOptional<z.ZodString>;
2548
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2549
+ fixtureHint: z.ZodOptional<z.ZodString>;
2550
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2551
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2552
+ dataSource: z.ZodOptional<z.ZodObject<{
2553
+ strategy: z.ZodEnum<{
2554
+ file: "file";
2555
+ sample: "sample";
2556
+ ids: "ids";
2557
+ query: "query";
2558
+ recent: "recent";
2559
+ random: "random";
2560
+ }>;
2561
+ config: z.ZodOptional<z.ZodUnknown>;
2562
+ }, z.core.$strip>>;
2563
+ }, z.core.$catchall<z.ZodUnknown>>>;
1409
2564
  }, z.core.$strict>, z.ZodObject<{
1410
2565
  type: z.ZodLiteral<"enum">;
1411
2566
  id: z.ZodString;
@@ -1422,6 +2577,25 @@ export declare const TemplateOptions: z.ZodObject<{
1422
2577
  }>;
1423
2578
  expression: z.ZodString;
1424
2579
  }, z.core.$strip>>;
2580
+ cone: z.ZodOptional<z.ZodObject<{
2581
+ desc: z.ZodOptional<z.ZodString>;
2582
+ note: z.ZodOptional<z.ZodString>;
2583
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2584
+ fixtureHint: z.ZodOptional<z.ZodString>;
2585
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2586
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2587
+ dataSource: z.ZodOptional<z.ZodObject<{
2588
+ strategy: z.ZodEnum<{
2589
+ file: "file";
2590
+ sample: "sample";
2591
+ ids: "ids";
2592
+ query: "query";
2593
+ recent: "recent";
2594
+ random: "random";
2595
+ }>;
2596
+ config: z.ZodOptional<z.ZodUnknown>;
2597
+ }, z.core.$strip>>;
2598
+ }, z.core.$catchall<z.ZodUnknown>>>;
1425
2599
  }, z.core.$strict>, z.ZodObject<{
1426
2600
  type: z.ZodLiteral<"enum[]">;
1427
2601
  id: z.ZodString;
@@ -1437,6 +2611,25 @@ export declare const TemplateOptions: z.ZodObject<{
1437
2611
  }>;
1438
2612
  expression: z.ZodString;
1439
2613
  }, z.core.$strip>>;
2614
+ cone: z.ZodOptional<z.ZodObject<{
2615
+ desc: z.ZodOptional<z.ZodString>;
2616
+ note: z.ZodOptional<z.ZodString>;
2617
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2618
+ fixtureHint: z.ZodOptional<z.ZodString>;
2619
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2620
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2621
+ dataSource: z.ZodOptional<z.ZodObject<{
2622
+ strategy: z.ZodEnum<{
2623
+ file: "file";
2624
+ sample: "sample";
2625
+ ids: "ids";
2626
+ query: "query";
2627
+ recent: "recent";
2628
+ random: "random";
2629
+ }>;
2630
+ config: z.ZodOptional<z.ZodUnknown>;
2631
+ }, z.core.$strip>>;
2632
+ }, z.core.$catchall<z.ZodUnknown>>>;
1440
2633
  }, z.core.$strict>, z.ZodObject<{
1441
2634
  numberType: z.ZodOptional<z.ZodEnum<{
1442
2635
  real: "real";
@@ -1458,6 +2651,25 @@ export declare const TemplateOptions: z.ZodObject<{
1458
2651
  }>;
1459
2652
  expression: z.ZodString;
1460
2653
  }, z.core.$strip>>;
2654
+ cone: z.ZodOptional<z.ZodObject<{
2655
+ desc: z.ZodOptional<z.ZodString>;
2656
+ note: z.ZodOptional<z.ZodString>;
2657
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2658
+ fixtureHint: z.ZodOptional<z.ZodString>;
2659
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2660
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2661
+ dataSource: z.ZodOptional<z.ZodObject<{
2662
+ strategy: z.ZodEnum<{
2663
+ file: "file";
2664
+ sample: "sample";
2665
+ ids: "ids";
2666
+ query: "query";
2667
+ recent: "recent";
2668
+ random: "random";
2669
+ }>;
2670
+ config: z.ZodOptional<z.ZodUnknown>;
2671
+ }, z.core.$strip>>;
2672
+ }, z.core.$catchall<z.ZodUnknown>>>;
1461
2673
  }, z.core.$strict>, z.ZodObject<{
1462
2674
  numberType: z.ZodOptional<z.ZodEnum<{
1463
2675
  real: "real";
@@ -1479,6 +2691,25 @@ export declare const TemplateOptions: z.ZodObject<{
1479
2691
  }>;
1480
2692
  expression: z.ZodString;
1481
2693
  }, z.core.$strip>>;
2694
+ cone: z.ZodOptional<z.ZodObject<{
2695
+ desc: z.ZodOptional<z.ZodString>;
2696
+ note: z.ZodOptional<z.ZodString>;
2697
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2698
+ fixtureHint: z.ZodOptional<z.ZodString>;
2699
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2700
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2701
+ dataSource: z.ZodOptional<z.ZodObject<{
2702
+ strategy: z.ZodEnum<{
2703
+ file: "file";
2704
+ sample: "sample";
2705
+ ids: "ids";
2706
+ query: "query";
2707
+ recent: "recent";
2708
+ random: "random";
2709
+ }>;
2710
+ config: z.ZodOptional<z.ZodUnknown>;
2711
+ }, z.core.$strip>>;
2712
+ }, z.core.$catchall<z.ZodUnknown>>>;
1482
2713
  }, z.core.$strict>, z.ZodObject<{
1483
2714
  type: z.ZodLiteral<"date">;
1484
2715
  precision: z.ZodOptional<z.ZodNumber>;
@@ -1494,6 +2725,25 @@ export declare const TemplateOptions: z.ZodObject<{
1494
2725
  }>;
1495
2726
  expression: z.ZodString;
1496
2727
  }, z.core.$strip>>;
2728
+ cone: z.ZodOptional<z.ZodObject<{
2729
+ desc: z.ZodOptional<z.ZodString>;
2730
+ note: z.ZodOptional<z.ZodString>;
2731
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2732
+ fixtureHint: z.ZodOptional<z.ZodString>;
2733
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2734
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2735
+ dataSource: z.ZodOptional<z.ZodObject<{
2736
+ strategy: z.ZodEnum<{
2737
+ file: "file";
2738
+ sample: "sample";
2739
+ ids: "ids";
2740
+ query: "query";
2741
+ recent: "recent";
2742
+ random: "random";
2743
+ }>;
2744
+ config: z.ZodOptional<z.ZodUnknown>;
2745
+ }, z.core.$strip>>;
2746
+ }, z.core.$catchall<z.ZodUnknown>>>;
1497
2747
  }, z.core.$strict>, z.ZodObject<{
1498
2748
  type: z.ZodLiteral<"date[]">;
1499
2749
  precision: z.ZodOptional<z.ZodNumber>;
@@ -1509,6 +2759,25 @@ export declare const TemplateOptions: z.ZodObject<{
1509
2759
  }>;
1510
2760
  expression: z.ZodString;
1511
2761
  }, z.core.$strip>>;
2762
+ cone: z.ZodOptional<z.ZodObject<{
2763
+ desc: z.ZodOptional<z.ZodString>;
2764
+ note: z.ZodOptional<z.ZodString>;
2765
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2766
+ fixtureHint: z.ZodOptional<z.ZodString>;
2767
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2768
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2769
+ dataSource: z.ZodOptional<z.ZodObject<{
2770
+ strategy: z.ZodEnum<{
2771
+ file: "file";
2772
+ sample: "sample";
2773
+ ids: "ids";
2774
+ query: "query";
2775
+ recent: "recent";
2776
+ random: "random";
2777
+ }>;
2778
+ config: z.ZodOptional<z.ZodUnknown>;
2779
+ }, z.core.$strip>>;
2780
+ }, z.core.$catchall<z.ZodUnknown>>>;
1512
2781
  }, z.core.$strict>, z.ZodObject<{
1513
2782
  precision: z.ZodOptional<z.ZodNumber>;
1514
2783
  scale: z.ZodOptional<z.ZodNumber>;
@@ -1525,6 +2794,25 @@ export declare const TemplateOptions: z.ZodObject<{
1525
2794
  }>;
1526
2795
  expression: z.ZodString;
1527
2796
  }, z.core.$strip>>;
2797
+ cone: z.ZodOptional<z.ZodObject<{
2798
+ desc: z.ZodOptional<z.ZodString>;
2799
+ note: z.ZodOptional<z.ZodString>;
2800
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2801
+ fixtureHint: z.ZodOptional<z.ZodString>;
2802
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2803
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2804
+ dataSource: z.ZodOptional<z.ZodObject<{
2805
+ strategy: z.ZodEnum<{
2806
+ file: "file";
2807
+ sample: "sample";
2808
+ ids: "ids";
2809
+ query: "query";
2810
+ recent: "recent";
2811
+ random: "random";
2812
+ }>;
2813
+ config: z.ZodOptional<z.ZodUnknown>;
2814
+ }, z.core.$strip>>;
2815
+ }, z.core.$catchall<z.ZodUnknown>>>;
1528
2816
  }, z.core.$strict>, z.ZodObject<{
1529
2817
  precision: z.ZodOptional<z.ZodNumber>;
1530
2818
  scale: z.ZodOptional<z.ZodNumber>;
@@ -1541,6 +2829,25 @@ export declare const TemplateOptions: z.ZodObject<{
1541
2829
  }>;
1542
2830
  expression: z.ZodString;
1543
2831
  }, z.core.$strip>>;
2832
+ cone: z.ZodOptional<z.ZodObject<{
2833
+ desc: z.ZodOptional<z.ZodString>;
2834
+ note: z.ZodOptional<z.ZodString>;
2835
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2836
+ fixtureHint: z.ZodOptional<z.ZodString>;
2837
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2838
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2839
+ dataSource: z.ZodOptional<z.ZodObject<{
2840
+ strategy: z.ZodEnum<{
2841
+ file: "file";
2842
+ sample: "sample";
2843
+ ids: "ids";
2844
+ query: "query";
2845
+ recent: "recent";
2846
+ random: "random";
2847
+ }>;
2848
+ config: z.ZodOptional<z.ZodUnknown>;
2849
+ }, z.core.$strip>>;
2850
+ }, z.core.$catchall<z.ZodUnknown>>>;
1544
2851
  }, z.core.$strict>, z.ZodObject<{
1545
2852
  type: z.ZodLiteral<"json">;
1546
2853
  id: z.ZodString;
@@ -1556,6 +2863,25 @@ export declare const TemplateOptions: z.ZodObject<{
1556
2863
  }>;
1557
2864
  expression: z.ZodString;
1558
2865
  }, z.core.$strip>>;
2866
+ cone: z.ZodOptional<z.ZodObject<{
2867
+ desc: z.ZodOptional<z.ZodString>;
2868
+ note: z.ZodOptional<z.ZodString>;
2869
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2870
+ fixtureHint: z.ZodOptional<z.ZodString>;
2871
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2872
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2873
+ dataSource: z.ZodOptional<z.ZodObject<{
2874
+ strategy: z.ZodEnum<{
2875
+ file: "file";
2876
+ sample: "sample";
2877
+ ids: "ids";
2878
+ query: "query";
2879
+ recent: "recent";
2880
+ random: "random";
2881
+ }>;
2882
+ config: z.ZodOptional<z.ZodUnknown>;
2883
+ }, z.core.$strip>>;
2884
+ }, z.core.$catchall<z.ZodUnknown>>>;
1559
2885
  }, z.core.$strict>, z.ZodObject<{
1560
2886
  type: z.ZodLiteral<"virtual">;
1561
2887
  id: z.ZodString;
@@ -1575,6 +2901,25 @@ export declare const TemplateOptions: z.ZodObject<{
1575
2901
  }>;
1576
2902
  expression: z.ZodString;
1577
2903
  }, z.core.$strip>>;
2904
+ cone: z.ZodOptional<z.ZodObject<{
2905
+ desc: z.ZodOptional<z.ZodString>;
2906
+ note: z.ZodOptional<z.ZodString>;
2907
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2908
+ fixtureHint: z.ZodOptional<z.ZodString>;
2909
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2910
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2911
+ dataSource: z.ZodOptional<z.ZodObject<{
2912
+ strategy: z.ZodEnum<{
2913
+ file: "file";
2914
+ sample: "sample";
2915
+ ids: "ids";
2916
+ query: "query";
2917
+ recent: "recent";
2918
+ random: "random";
2919
+ }>;
2920
+ config: z.ZodOptional<z.ZodUnknown>;
2921
+ }, z.core.$strip>>;
2922
+ }, z.core.$catchall<z.ZodUnknown>>>;
1578
2923
  }, z.core.$strict>, z.ZodObject<{
1579
2924
  type: z.ZodLiteral<"vector">;
1580
2925
  dimensions: z.ZodNumber;
@@ -1590,6 +2935,25 @@ export declare const TemplateOptions: z.ZodObject<{
1590
2935
  }>;
1591
2936
  expression: z.ZodString;
1592
2937
  }, z.core.$strip>>;
2938
+ cone: z.ZodOptional<z.ZodObject<{
2939
+ desc: z.ZodOptional<z.ZodString>;
2940
+ note: z.ZodOptional<z.ZodString>;
2941
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2942
+ fixtureHint: z.ZodOptional<z.ZodString>;
2943
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2944
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2945
+ dataSource: z.ZodOptional<z.ZodObject<{
2946
+ strategy: z.ZodEnum<{
2947
+ file: "file";
2948
+ sample: "sample";
2949
+ ids: "ids";
2950
+ query: "query";
2951
+ recent: "recent";
2952
+ random: "random";
2953
+ }>;
2954
+ config: z.ZodOptional<z.ZodUnknown>;
2955
+ }, z.core.$strip>>;
2956
+ }, z.core.$catchall<z.ZodUnknown>>>;
1593
2957
  }, z.core.$strict>, z.ZodObject<{
1594
2958
  type: z.ZodLiteral<"vector[]">;
1595
2959
  dimensions: z.ZodNumber;
@@ -1605,6 +2969,25 @@ export declare const TemplateOptions: z.ZodObject<{
1605
2969
  }>;
1606
2970
  expression: z.ZodString;
1607
2971
  }, z.core.$strip>>;
2972
+ cone: z.ZodOptional<z.ZodObject<{
2973
+ desc: z.ZodOptional<z.ZodString>;
2974
+ note: z.ZodOptional<z.ZodString>;
2975
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2976
+ fixtureHint: z.ZodOptional<z.ZodString>;
2977
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
2978
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
2979
+ dataSource: z.ZodOptional<z.ZodObject<{
2980
+ strategy: z.ZodEnum<{
2981
+ file: "file";
2982
+ sample: "sample";
2983
+ ids: "ids";
2984
+ query: "query";
2985
+ recent: "recent";
2986
+ random: "random";
2987
+ }>;
2988
+ config: z.ZodOptional<z.ZodUnknown>;
2989
+ }, z.core.$strip>>;
2990
+ }, z.core.$catchall<z.ZodUnknown>>>;
1608
2991
  }, z.core.$strict>], "type">, z.ZodDiscriminatedUnion<[z.ZodObject<{
1609
2992
  relationType: z.ZodLiteral<"BelongsToOne">;
1610
2993
  customJoinClause: z.ZodOptional<z.ZodString>;
@@ -1637,6 +3020,25 @@ export declare const TemplateOptions: z.ZodObject<{
1637
3020
  }>;
1638
3021
  expression: z.ZodString;
1639
3022
  }, z.core.$strip>>;
3023
+ cone: z.ZodOptional<z.ZodObject<{
3024
+ desc: z.ZodOptional<z.ZodString>;
3025
+ note: z.ZodOptional<z.ZodString>;
3026
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
3027
+ fixtureHint: z.ZodOptional<z.ZodString>;
3028
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
3029
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
3030
+ dataSource: z.ZodOptional<z.ZodObject<{
3031
+ strategy: z.ZodEnum<{
3032
+ file: "file";
3033
+ sample: "sample";
3034
+ ids: "ids";
3035
+ query: "query";
3036
+ recent: "recent";
3037
+ random: "random";
3038
+ }>;
3039
+ config: z.ZodOptional<z.ZodUnknown>;
3040
+ }, z.core.$strip>>;
3041
+ }, z.core.$catchall<z.ZodUnknown>>>;
1640
3042
  }, z.core.$strict>, z.ZodObject<{
1641
3043
  relationType: z.ZodLiteral<"HasMany">;
1642
3044
  joinColumn: z.ZodString;
@@ -1655,6 +3057,25 @@ export declare const TemplateOptions: z.ZodObject<{
1655
3057
  }>;
1656
3058
  expression: z.ZodString;
1657
3059
  }, z.core.$strip>>;
3060
+ cone: z.ZodOptional<z.ZodObject<{
3061
+ desc: z.ZodOptional<z.ZodString>;
3062
+ note: z.ZodOptional<z.ZodString>;
3063
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
3064
+ fixtureHint: z.ZodOptional<z.ZodString>;
3065
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
3066
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
3067
+ dataSource: z.ZodOptional<z.ZodObject<{
3068
+ strategy: z.ZodEnum<{
3069
+ file: "file";
3070
+ sample: "sample";
3071
+ ids: "ids";
3072
+ query: "query";
3073
+ recent: "recent";
3074
+ random: "random";
3075
+ }>;
3076
+ config: z.ZodOptional<z.ZodUnknown>;
3077
+ }, z.core.$strip>>;
3078
+ }, z.core.$catchall<z.ZodUnknown>>>;
1658
3079
  }, z.core.$strict>, z.ZodObject<{
1659
3080
  relationType: z.ZodLiteral<"ManyToMany">;
1660
3081
  joinTable: z.ZodString;
@@ -1686,6 +3107,25 @@ export declare const TemplateOptions: z.ZodObject<{
1686
3107
  }>;
1687
3108
  expression: z.ZodString;
1688
3109
  }, z.core.$strip>>;
3110
+ cone: z.ZodOptional<z.ZodObject<{
3111
+ desc: z.ZodOptional<z.ZodString>;
3112
+ note: z.ZodOptional<z.ZodString>;
3113
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
3114
+ fixtureHint: z.ZodOptional<z.ZodString>;
3115
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
3116
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
3117
+ dataSource: z.ZodOptional<z.ZodObject<{
3118
+ strategy: z.ZodEnum<{
3119
+ file: "file";
3120
+ sample: "sample";
3121
+ ids: "ids";
3122
+ query: "query";
3123
+ recent: "recent";
3124
+ random: "random";
3125
+ }>;
3126
+ config: z.ZodOptional<z.ZodUnknown>;
3127
+ }, z.core.$strip>>;
3128
+ }, z.core.$catchall<z.ZodUnknown>>>;
1689
3129
  }, z.core.$strict>, z.ZodObject<{
1690
3130
  relationType: z.ZodLiteral<"OneToOne">;
1691
3131
  customJoinClause: z.ZodOptional<z.ZodString>;
@@ -1719,6 +3159,25 @@ export declare const TemplateOptions: z.ZodObject<{
1719
3159
  }>;
1720
3160
  expression: z.ZodString;
1721
3161
  }, z.core.$strip>>;
3162
+ cone: z.ZodOptional<z.ZodObject<{
3163
+ desc: z.ZodOptional<z.ZodString>;
3164
+ note: z.ZodOptional<z.ZodString>;
3165
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
3166
+ fixtureHint: z.ZodOptional<z.ZodString>;
3167
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
3168
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
3169
+ dataSource: z.ZodOptional<z.ZodObject<{
3170
+ strategy: z.ZodEnum<{
3171
+ file: "file";
3172
+ sample: "sample";
3173
+ ids: "ids";
3174
+ query: "query";
3175
+ recent: "recent";
3176
+ random: "random";
3177
+ }>;
3178
+ config: z.ZodOptional<z.ZodUnknown>;
3179
+ }, z.core.$strip>>;
3180
+ }, z.core.$catchall<z.ZodUnknown>>>;
1722
3181
  }, z.core.$strict>], "relationType">], "type">>>;
1723
3182
  indexes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1724
3183
  type: z.ZodEnum<{
@@ -1753,11 +3212,56 @@ export declare const TemplateOptions: z.ZodObject<{
1753
3212
  efConstruction: z.ZodOptional<z.ZodNumber>;
1754
3213
  lists: z.ZodOptional<z.ZodNumber>;
1755
3214
  }, z.core.$strict>>>;
1756
- subsets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3215
+ subsets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1757
3216
  field: z.ZodString;
1758
3217
  internal: z.ZodOptional<z.ZodBoolean>;
1759
- }, z.core.$strip>]>>>>;
1760
- enums: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
3218
+ }, z.core.$strip>]>>, z.ZodObject<{
3219
+ fields: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3220
+ field: z.ZodString;
3221
+ internal: z.ZodOptional<z.ZodBoolean>;
3222
+ }, z.core.$strip>]>>;
3223
+ cone: z.ZodOptional<z.ZodObject<{
3224
+ desc: z.ZodOptional<z.ZodString>;
3225
+ note: z.ZodOptional<z.ZodString>;
3226
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
3227
+ fixtureHint: z.ZodOptional<z.ZodString>;
3228
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
3229
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
3230
+ dataSource: z.ZodOptional<z.ZodObject<{
3231
+ strategy: z.ZodEnum<{
3232
+ file: "file";
3233
+ sample: "sample";
3234
+ ids: "ids";
3235
+ query: "query";
3236
+ recent: "recent";
3237
+ random: "random";
3238
+ }>;
3239
+ config: z.ZodOptional<z.ZodUnknown>;
3240
+ }, z.core.$strip>>;
3241
+ }, z.core.$catchall<z.ZodUnknown>>>;
3242
+ }, z.core.$strip>]>>>;
3243
+ enums: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodObject<{
3244
+ values: z.ZodRecord<z.ZodString, z.ZodString>;
3245
+ cone: z.ZodOptional<z.ZodObject<{
3246
+ desc: z.ZodOptional<z.ZodString>;
3247
+ note: z.ZodOptional<z.ZodString>;
3248
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
3249
+ fixtureHint: z.ZodOptional<z.ZodString>;
3250
+ fixtureGenerator: z.ZodOptional<z.ZodString>;
3251
+ fixtureDefault: z.ZodOptional<z.ZodUnknown>;
3252
+ dataSource: z.ZodOptional<z.ZodObject<{
3253
+ strategy: z.ZodEnum<{
3254
+ file: "file";
3255
+ sample: "sample";
3256
+ ids: "ids";
3257
+ query: "query";
3258
+ recent: "recent";
3259
+ random: "random";
3260
+ }>;
3261
+ config: z.ZodOptional<z.ZodUnknown>;
3262
+ }, z.core.$strip>>;
3263
+ }, z.core.$catchall<z.ZodUnknown>>>;
3264
+ }, z.core.$strip>]>>>;
1761
3265
  entityId: z.ZodString;
1762
3266
  }, z.core.$strict>;
1763
3267
  init_types: z.ZodObject<{
@@ -1802,14 +3306,6 @@ export declare const TemplateOptions: z.ZodObject<{
1802
3306
  view_id_all_select: z.ZodObject<{
1803
3307
  entityId: z.ZodString;
1804
3308
  }, z.core.$strip>;
1805
- view_id_async_select: z.ZodObject<{
1806
- entityId: z.ZodString;
1807
- textField: z.ZodString;
1808
- }, z.core.$strip>;
1809
- view_enums_select: z.ZodObject<{
1810
- entityId: z.ZodString;
1811
- enumId: z.ZodString;
1812
- }, z.core.$strip>;
1813
3309
  view_enums_buttonset: z.ZodObject<{
1814
3310
  entityId: z.ZodString;
1815
3311
  enumId: z.ZodString;
@@ -1840,8 +3336,6 @@ export declare const TemplateKey: z.ZodEnum<{
1840
3336
  view_search_input: "view_search_input";
1841
3337
  view_form: "view_form";
1842
3338
  view_id_all_select: "view_id_all_select";
1843
- view_id_async_select: "view_id_async_select";
1844
- view_enums_select: "view_enums_select";
1845
3339
  view_enums_buttonset: "view_enums_buttonset";
1846
3340
  queries: "queries";
1847
3341
  entry_server: "entry_server";
@@ -1867,7 +3361,7 @@ type ColumnValue = string | number | boolean | Date | null;
1867
3361
  export type FixtureRecord = {
1868
3362
  fixtureId: string;
1869
3363
  entityId: string;
1870
- id: number;
3364
+ id: number | string;
1871
3365
  columns: {
1872
3366
  [key: string]: {
1873
3367
  prop: EntityProp;
@@ -1895,12 +3389,12 @@ export interface DatabaseSchemaExtend {
1895
3389
  }
1896
3390
  export interface DatabaseForeignKeys {
1897
3391
  }
1898
- export type ManyToManyBaseSchema<FromIdKey extends string, ToIdKey extends string> = {
3392
+ export type ManyToManyBaseSchema<FromIdKey extends string, ToIdKey extends string, FromPkType = number, ToPkType = number> = {
1899
3393
  id: number;
1900
3394
  } & {
1901
- [K in `${FromIdKey}_id`]: number;
3395
+ [K in `${FromIdKey}_id`]: FromPkType;
1902
3396
  } & {
1903
- [K in `${ToIdKey}_id`]: number;
3397
+ [K in `${ToIdKey}_id`]: ToPkType;
1904
3398
  };
1905
3399
  export type Executable<T> = T | Promise<T> | (() => T) | (() => Promise<T>);
1906
3400
  export type SonamuFastifyConfig = {