synapse-react-client 4.0.20 → 4.0.21

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 (98) hide show
  1. package/dist/SWC.index.js +1 -1
  2. package/dist/components/CardContainer/CardConfiguration.d.ts +2 -0
  3. package/dist/components/CardContainer/CardConfiguration.d.ts.map +1 -1
  4. package/dist/components/CardContainer/CardContainer.d.ts.map +1 -1
  5. package/dist/components/CardContainer/CardContainer.js +3 -3
  6. package/dist/components/CardContainer/CardContainer.js.map +1 -1
  7. package/dist/components/CardContainerLogic/CardContainerLogic.d.ts +1 -0
  8. package/dist/components/CardContainerLogic/CardContainerLogic.d.ts.map +1 -1
  9. package/dist/components/CardContainerLogic/CardContainerLogic.js.map +1 -1
  10. package/dist/components/DataExplorer/DataExplorer.css +1 -1
  11. package/dist/components/DataExplorer/DataExplorer.module.js +16 -16
  12. package/dist/components/DataExplorer/DataExplorer.module.js.map +1 -1
  13. package/dist/components/DataExplorer/DataExplorer.module.scss +26 -6
  14. package/dist/components/DataGrid/components/ColumnHeaderWithTooltip.d.ts +5 -3
  15. package/dist/components/DataGrid/components/ColumnHeaderWithTooltip.d.ts.map +1 -1
  16. package/dist/components/DataGrid/components/ColumnHeaderWithTooltip.js +46 -47
  17. package/dist/components/DataGrid/components/ColumnHeaderWithTooltip.js.map +1 -1
  18. package/dist/components/DataGrid/hooks/useColumnResizeHandles.d.ts.map +1 -1
  19. package/dist/components/DataGrid/hooks/useColumnResizeHandles.js +1 -1
  20. package/dist/components/DataGrid/hooks/useColumnResizeHandles.js.map +1 -1
  21. package/dist/components/DataGrid/utils/columnFactory.d.ts.map +1 -1
  22. package/dist/components/DataGrid/utils/columnFactory.js +1 -0
  23. package/dist/components/DataGrid/utils/columnFactory.js.map +1 -1
  24. package/dist/components/GenericCard/GenericCard.d.ts +2 -0
  25. package/dist/components/GenericCard/GenericCard.d.ts.map +1 -1
  26. package/dist/components/GenericCard/GenericCard.js +76 -64
  27. package/dist/components/GenericCard/GenericCard.js.map +1 -1
  28. package/dist/components/GenericCard/TableRowGenericCard.d.ts.map +1 -1
  29. package/dist/components/GenericCard/TableRowGenericCard.js +33 -25
  30. package/dist/components/GenericCard/TableRowGenericCard.js.map +1 -1
  31. package/dist/components/Plot/SynapseSankeyPlot.css +1 -0
  32. package/dist/components/Plot/SynapseSankeyPlot.d.ts +44 -2
  33. package/dist/components/Plot/SynapseSankeyPlot.d.ts.map +1 -1
  34. package/dist/components/Plot/SynapseSankeyPlot.js +343 -38
  35. package/dist/components/Plot/SynapseSankeyPlot.js.map +1 -1
  36. package/dist/components/Plot/SynapseSankeyPlot.module.js +15 -0
  37. package/dist/components/Plot/SynapseSankeyPlot.module.js.map +1 -0
  38. package/dist/components/Plot/SynapseSankeyPlot.module.scss +63 -0
  39. package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.d.ts +13 -12
  40. package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.d.ts.map +1 -1
  41. package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.js +88 -77
  42. package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.js.map +1 -1
  43. package/dist/components/SynapseTable/TopLevelControls/TopLevelControls.d.ts.map +1 -1
  44. package/dist/components/SynapseTable/TopLevelControls/TopLevelControls.js +63 -74
  45. package/dist/components/SynapseTable/TopLevelControls/TopLevelControls.js.map +1 -1
  46. package/dist/components/TableColumnSchemaEditor/ColumnModelForm.d.ts.map +1 -1
  47. package/dist/components/TableColumnSchemaEditor/ColumnModelForm.js +72 -68
  48. package/dist/components/TableColumnSchemaEditor/ColumnModelForm.js.map +1 -1
  49. package/dist/components/TableColumnSchemaEditor/TableColumnSchemaEditorUtils.d.ts +27 -1
  50. package/dist/components/TableColumnSchemaEditor/TableColumnSchemaEditorUtils.d.ts.map +1 -1
  51. package/dist/components/TableColumnSchemaEditor/TableColumnSchemaEditorUtils.js +47 -36
  52. package/dist/components/TableColumnSchemaEditor/TableColumnSchemaEditorUtils.js.map +1 -1
  53. package/dist/components/TableColumnSchemaEditor/TableColumnSchemaForm.js +1 -1
  54. package/dist/components/TableColumnSchemaEditor/TableColumnSchemaForm.js.map +1 -1
  55. package/dist/components/TableColumnSchemaEditor/TableColumnSchemaFormReducer.d.ts +12 -12
  56. package/dist/components/TableColumnSchemaEditor/Validators/BooleanSchema.d.ts +4 -1
  57. package/dist/components/TableColumnSchemaEditor/Validators/BooleanSchema.d.ts.map +1 -1
  58. package/dist/components/TableColumnSchemaEditor/Validators/ColumnModelValidator.d.ts +167 -517
  59. package/dist/components/TableColumnSchemaEditor/Validators/ColumnModelValidator.d.ts.map +1 -1
  60. package/dist/components/TableColumnSchemaEditor/Validators/ColumnModelValidator.js +65 -65
  61. package/dist/components/TableColumnSchemaEditor/Validators/ColumnModelValidator.js.map +1 -1
  62. package/dist/components/TableColumnSchemaEditor/Validators/DatetimeSchema.d.ts +1 -1
  63. package/dist/components/TableColumnSchemaEditor/Validators/DatetimeSchema.d.ts.map +1 -1
  64. package/dist/components/TableColumnSchemaEditor/Validators/DoubleSchema.d.ts +1 -1
  65. package/dist/components/TableColumnSchemaEditor/Validators/DoubleSchema.d.ts.map +1 -1
  66. package/dist/components/TableColumnSchemaEditor/Validators/DoubleSchema.js +6 -13
  67. package/dist/components/TableColumnSchemaEditor/Validators/DoubleSchema.js.map +1 -1
  68. package/dist/components/TableColumnSchemaEditor/Validators/EntityIdSchema.d.ts +1 -1
  69. package/dist/components/TableColumnSchemaEditor/Validators/EntityIdSchema.d.ts.map +1 -1
  70. package/dist/components/TableColumnSchemaEditor/Validators/IntegerSchema.d.ts +1 -1
  71. package/dist/components/TableColumnSchemaEditor/Validators/IntegerSchema.d.ts.map +1 -1
  72. package/dist/components/TableColumnSchemaEditor/Validators/IntegerSchema.js +2 -2
  73. package/dist/components/TableColumnSchemaEditor/Validators/IntegerSchema.js.map +1 -1
  74. package/dist/components/TableColumnSchemaEditor/Validators/OptionalStringSchema.d.ts +1 -1
  75. package/dist/components/TableColumnSchemaEditor/Validators/OptionalStringSchema.d.ts.map +1 -1
  76. package/dist/components/TableColumnSchemaEditor/Validators/getZodSchemaForColumnType.d.ts +2 -2
  77. package/dist/components/TableColumnSchemaEditor/Validators/getZodSchemaForColumnType.d.ts.map +1 -1
  78. package/dist/components/TableColumnSchemaEditor/Validators/getZodSchemaForColumnType.js +15 -16
  79. package/dist/components/TableColumnSchemaEditor/Validators/getZodSchemaForColumnType.js.map +1 -1
  80. package/dist/mocks/mockSearchQueryData.js +2 -2
  81. package/dist/mocks/mockSearchQueryData.js.map +1 -1
  82. package/dist/mocks/msw/handlers/searchQueryHandlers.d.ts +1 -1
  83. package/dist/mocks/msw/handlers/searchQueryHandlers.d.ts.map +1 -1
  84. package/dist/mocks/msw/handlers/searchQueryHandlers.js +6 -3
  85. package/dist/mocks/msw/handlers/searchQueryHandlers.js.map +1 -1
  86. package/dist/mocks/query/mockUserCardTableQueryResultBundle.d.ts +13 -0
  87. package/dist/mocks/query/mockUserCardTableQueryResultBundle.d.ts.map +1 -1
  88. package/dist/mocks/query/mockUserCardTableQueryResultBundle.js +27 -0
  89. package/dist/mocks/query/mockUserCardTableQueryResultBundle.js.map +1 -1
  90. package/dist/style/components/_cards.scss +10 -0
  91. package/dist/style/components/_data-grid-extra.css +1 -1
  92. package/dist/style/components/_data-grid-extra.scss +7 -1
  93. package/dist/style/main.css +1 -1
  94. package/dist/synapse-client/SynapseClient.d.ts.map +1 -1
  95. package/dist/synapse-client/SynapseClient.js +497 -495
  96. package/dist/synapse-client/SynapseClient.js.map +1 -1
  97. package/dist/tsconfig.build.tsbuildinfo +1 -1
  98. package/package.json +7 -5
@@ -1,238 +1,129 @@
1
1
  import { ColumnModel, ColumnTypeEnum } from '@sage-bionetworks/synapse-types';
2
- import { type SafeParseReturnType, z } from 'zod';
2
+ import { z } from 'zod';
3
3
  import { SetOptional } from 'type-fest';
4
4
  export declare const jsonSubColumnModelZodSchema: z.ZodObject<{
5
5
  name: z.ZodString;
6
- columnType: z.ZodNativeEnum<typeof ColumnTypeEnum>;
7
- } & {
6
+ columnType: z.ZodEnum<typeof ColumnTypeEnum>;
8
7
  jsonPath: z.ZodString;
9
- facetType: z.ZodUnion<[z.ZodLiteral<"enumeration">, z.ZodLiteral<"range">]>;
10
- }, "strip", z.ZodTypeAny, {
11
- name: string;
12
- columnType: ColumnTypeEnum;
13
- facetType: "range" | "enumeration";
14
- jsonPath: string;
15
- }, {
16
- name: string;
17
- columnType: ColumnTypeEnum;
18
- facetType: "range" | "enumeration";
19
- jsonPath: string;
20
- }>;
8
+ facetType: z.ZodEnum<{
9
+ range: "range";
10
+ enumeration: "enumeration";
11
+ }>;
12
+ }, z.core.$strip>;
21
13
  /**
22
14
  * Zod schema to validate a column model. The provided data is coerced and transformed to match the ColumnModel type.
23
15
  * For this reason, form data may be directly passed into this schema parser.
24
16
  *
25
17
  * The parse method will return a ColumnModel where all data is properly formed.
26
18
  */
27
- export declare const columnModelZodSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
19
+ export declare const columnModelZodSchema: z.ZodPipe<z.ZodPipe<z.ZodObject<{
28
20
  name: z.ZodString;
29
- columnType: z.ZodNativeEnum<typeof ColumnTypeEnum>;
30
- } & {
21
+ columnType: z.ZodEnum<typeof ColumnTypeEnum>;
31
22
  id: z.ZodOptional<z.ZodString>;
32
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodAny, "many">]>>;
33
- maximumSize: z.ZodPipeline<z.ZodUnion<[z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, z.ZodNumber]>, z.ZodOptional<z.ZodNumber>>;
34
- maximumListLength: z.ZodPipeline<z.ZodUnion<[z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, z.ZodNumber]>, z.ZodOptional<z.ZodNumber>>;
35
- enumValues: z.ZodOptional<z.ZodArray<z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodString>, "many">>;
23
+ defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodAny>]>>;
24
+ maximumSize: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>, z.ZodNumber]>, z.ZodTransform<number | undefined, string | number | undefined>>, z.ZodOptional<z.ZodNumber>>;
25
+ maximumListLength: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>, z.ZodNumber]>, z.ZodTransform<number | undefined, string | number | undefined>>, z.ZodOptional<z.ZodNumber>>;
26
+ enumValues: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedString<string | number>>>>;
36
27
  jsonSubColumns: z.ZodOptional<z.ZodArray<z.ZodObject<{
37
28
  name: z.ZodString;
38
- columnType: z.ZodNativeEnum<typeof ColumnTypeEnum>;
39
- } & {
29
+ columnType: z.ZodEnum<typeof ColumnTypeEnum>;
40
30
  jsonPath: z.ZodString;
41
- facetType: z.ZodUnion<[z.ZodLiteral<"enumeration">, z.ZodLiteral<"range">]>;
42
- }, "strip", z.ZodTypeAny, {
43
- name: string;
44
- columnType: ColumnTypeEnum;
45
- facetType: "range" | "enumeration";
46
- jsonPath: string;
47
- }, {
48
- name: string;
49
- columnType: ColumnTypeEnum;
50
- facetType: "range" | "enumeration";
51
- jsonPath: string;
52
- }>, "many">>;
53
- facetType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enumeration">, z.ZodLiteral<"range">]>>;
54
- facetSortConfig: z.ZodOptional<z.ZodObject<{
55
- property: z.ZodOptional<z.ZodEnum<["FREQUENCY", "VALUE"]>>;
56
- direction: z.ZodOptional<z.ZodEnum<["DESC", "ASC"]>>;
57
- }, "strip", z.ZodTypeAny, {
58
- direction?: "ASC" | "DESC" | undefined;
59
- property?: "FREQUENCY" | "VALUE" | undefined;
60
- }, {
61
- direction?: "ASC" | "DESC" | undefined;
62
- property?: "FREQUENCY" | "VALUE" | undefined;
31
+ facetType: z.ZodEnum<{
32
+ range: "range";
33
+ enumeration: "enumeration";
34
+ }>;
35
+ }, z.core.$strip>>>;
36
+ facetType: z.ZodOptional<z.ZodEnum<{
37
+ range: "range";
38
+ enumeration: "enumeration";
63
39
  }>>;
64
- }, "strip", z.ZodTypeAny, {
40
+ facetSortConfig: z.ZodOptional<z.ZodObject<{
41
+ property: z.ZodOptional<z.ZodEnum<{
42
+ FREQUENCY: "FREQUENCY";
43
+ VALUE: "VALUE";
44
+ }>>;
45
+ direction: z.ZodOptional<z.ZodEnum<{
46
+ ASC: "ASC";
47
+ DESC: "DESC";
48
+ }>>;
49
+ }, z.core.$strip>>;
50
+ }, z.core.$strip>, z.ZodTransform<Pick<{
65
51
  name: string;
66
52
  columnType: ColumnTypeEnum;
67
- defaultValue?: string | any[] | undefined;
68
53
  id?: string | undefined;
54
+ defaultValue?: string | any[] | undefined;
69
55
  maximumSize?: number | undefined;
70
56
  maximumListLength?: number | undefined;
71
57
  enumValues?: string[] | undefined;
72
- facetType?: "range" | "enumeration" | undefined;
73
58
  jsonSubColumns?: {
74
59
  name: string;
75
60
  columnType: ColumnTypeEnum;
76
- facetType: "range" | "enumeration";
77
61
  jsonPath: string;
78
- }[] | undefined;
79
- facetSortConfig?: {
80
- direction?: "ASC" | "DESC" | undefined;
81
- property?: "FREQUENCY" | "VALUE" | undefined;
82
- } | undefined;
83
- }, {
84
- name: string;
85
- columnType: ColumnTypeEnum;
86
- defaultValue?: string | any[] | undefined;
87
- id?: string | undefined;
88
- maximumSize?: string | number | undefined;
89
- maximumListLength?: string | number | undefined;
90
- enumValues?: (string | number)[] | undefined;
91
- facetType?: "range" | "enumeration" | undefined;
92
- jsonSubColumns?: {
93
- name: string;
94
- columnType: ColumnTypeEnum;
95
62
  facetType: "range" | "enumeration";
96
- jsonPath: string;
97
63
  }[] | undefined;
98
- facetSortConfig?: {
99
- direction?: "ASC" | "DESC" | undefined;
100
- property?: "FREQUENCY" | "VALUE" | undefined;
101
- } | undefined;
102
- }>, {
103
- name: string;
104
- columnType: ColumnTypeEnum;
105
- defaultValue?: string | any[] | undefined;
106
- id?: string | undefined;
107
- maximumSize?: number | undefined;
108
- maximumListLength?: number | undefined;
109
- enumValues?: string[] | undefined;
110
64
  facetType?: "range" | "enumeration" | undefined;
111
- jsonSubColumns?: {
112
- name: string;
113
- columnType: ColumnTypeEnum;
114
- facetType: "range" | "enumeration";
115
- jsonPath: string;
116
- }[] | undefined;
117
65
  facetSortConfig?: {
118
- direction?: "ASC" | "DESC" | undefined;
119
66
  property?: "FREQUENCY" | "VALUE" | undefined;
120
- } | undefined;
121
- }, {
122
- name: string;
123
- columnType: ColumnTypeEnum;
124
- defaultValue?: string | any[] | undefined;
125
- id?: string | undefined;
126
- maximumSize?: string | number | undefined;
127
- maximumListLength?: string | number | undefined;
128
- enumValues?: (string | number)[] | undefined;
129
- facetType?: "range" | "enumeration" | undefined;
130
- jsonSubColumns?: {
131
- name: string;
132
- columnType: ColumnTypeEnum;
133
- facetType: "range" | "enumeration";
134
- jsonPath: string;
135
- }[] | undefined;
136
- facetSortConfig?: {
137
67
  direction?: "ASC" | "DESC" | undefined;
138
- property?: "FREQUENCY" | "VALUE" | undefined;
139
68
  } | undefined;
140
- }>, {
69
+ }, "id" | "name" | "columnType" | "maximumSize" | "maximumListLength" | "enumValues" | "facetType" | "jsonSubColumns" | "facetSortConfig"> | {
70
+ defaultValue: string | undefined;
141
71
  name: string;
142
72
  columnType: ColumnTypeEnum;
143
- defaultValue?: string | any[] | undefined;
144
73
  id?: string | undefined;
145
74
  maximumSize?: number | undefined;
146
75
  maximumListLength?: number | undefined;
147
76
  enumValues?: string[] | undefined;
148
- facetType?: "range" | "enumeration" | undefined;
149
77
  jsonSubColumns?: {
150
78
  name: string;
151
79
  columnType: ColumnTypeEnum;
152
- facetType: "range" | "enumeration";
153
80
  jsonPath: string;
81
+ facetType: "range" | "enumeration";
154
82
  }[] | undefined;
83
+ facetType?: "range" | "enumeration" | undefined;
155
84
  facetSortConfig?: {
156
- direction?: "ASC" | "DESC" | undefined;
157
85
  property?: "FREQUENCY" | "VALUE" | undefined;
86
+ direction?: "ASC" | "DESC" | undefined;
158
87
  } | undefined;
159
88
  }, {
160
89
  name: string;
161
90
  columnType: ColumnTypeEnum;
162
- defaultValue?: string | any[] | undefined;
163
91
  id?: string | undefined;
164
- maximumSize?: string | number | undefined;
165
- maximumListLength?: string | number | undefined;
166
- enumValues?: (string | number)[] | undefined;
167
- facetType?: "range" | "enumeration" | undefined;
168
- jsonSubColumns?: {
169
- name: string;
170
- columnType: ColumnTypeEnum;
171
- facetType: "range" | "enumeration";
172
- jsonPath: string;
173
- }[] | undefined;
174
- facetSortConfig?: {
175
- direction?: "ASC" | "DESC" | undefined;
176
- property?: "FREQUENCY" | "VALUE" | undefined;
177
- } | undefined;
178
- }>, {
179
- name: string;
180
- columnType: ColumnTypeEnum;
181
92
  defaultValue?: string | any[] | undefined;
182
- id?: string | undefined;
183
93
  maximumSize?: number | undefined;
184
94
  maximumListLength?: number | undefined;
185
95
  enumValues?: string[] | undefined;
186
- facetType?: "range" | "enumeration" | undefined;
187
96
  jsonSubColumns?: {
188
97
  name: string;
189
98
  columnType: ColumnTypeEnum;
190
- facetType: "range" | "enumeration";
191
99
  jsonPath: string;
192
- }[] | undefined;
193
- facetSortConfig?: {
194
- direction?: "ASC" | "DESC" | undefined;
195
- property?: "FREQUENCY" | "VALUE" | undefined;
196
- } | undefined;
197
- }, {
198
- name: string;
199
- columnType: ColumnTypeEnum;
200
- defaultValue?: string | any[] | undefined;
201
- id?: string | undefined;
202
- maximumSize?: string | number | undefined;
203
- maximumListLength?: string | number | undefined;
204
- enumValues?: (string | number)[] | undefined;
205
- facetType?: "range" | "enumeration" | undefined;
206
- jsonSubColumns?: {
207
- name: string;
208
- columnType: ColumnTypeEnum;
209
100
  facetType: "range" | "enumeration";
210
- jsonPath: string;
211
101
  }[] | undefined;
102
+ facetType?: "range" | "enumeration" | undefined;
212
103
  facetSortConfig?: {
213
- direction?: "ASC" | "DESC" | undefined;
214
104
  property?: "FREQUENCY" | "VALUE" | undefined;
105
+ direction?: "ASC" | "DESC" | undefined;
215
106
  } | undefined;
216
- }>, Pick<{
107
+ }>>, z.ZodTransform<Pick<Pick<{
217
108
  name: string;
218
109
  columnType: ColumnTypeEnum;
219
- defaultValue?: string | any[] | undefined;
220
110
  id?: string | undefined;
111
+ defaultValue?: string | any[] | undefined;
221
112
  maximumSize?: number | undefined;
222
113
  maximumListLength?: number | undefined;
223
114
  enumValues?: string[] | undefined;
224
- facetType?: "range" | "enumeration" | undefined;
225
115
  jsonSubColumns?: {
226
116
  name: string;
227
117
  columnType: ColumnTypeEnum;
228
- facetType: "range" | "enumeration";
229
118
  jsonPath: string;
119
+ facetType: "range" | "enumeration";
230
120
  }[] | undefined;
121
+ facetType?: "range" | "enumeration" | undefined;
231
122
  facetSortConfig?: {
232
- direction?: "ASC" | "DESC" | undefined;
233
123
  property?: "FREQUENCY" | "VALUE" | undefined;
124
+ direction?: "ASC" | "DESC" | undefined;
234
125
  } | undefined;
235
- }, "id" | "maximumSize" | "maximumListLength" | "enumValues" | "facetType" | "jsonSubColumns" | "facetSortConfig" | ("name" | "columnType")> | {
126
+ }, "id" | "name" | "columnType" | "maximumSize" | "maximumListLength" | "enumValues" | "facetType" | "jsonSubColumns" | "facetSortConfig"> | {
236
127
  defaultValue: string | undefined;
237
128
  name: string;
238
129
  columnType: ColumnTypeEnum;
@@ -240,340 +131,201 @@ export declare const columnModelZodSchema: z.ZodEffects<z.ZodEffects<z.ZodEffect
240
131
  maximumSize?: number | undefined;
241
132
  maximumListLength?: number | undefined;
242
133
  enumValues?: string[] | undefined;
243
- facetType?: "range" | "enumeration" | undefined;
244
134
  jsonSubColumns?: {
245
135
  name: string;
246
136
  columnType: ColumnTypeEnum;
247
- facetType: "range" | "enumeration";
248
137
  jsonPath: string;
249
- }[] | undefined;
250
- facetSortConfig?: {
251
- direction?: "ASC" | "DESC" | undefined;
252
- property?: "FREQUENCY" | "VALUE" | undefined;
253
- } | undefined;
254
- }, {
255
- name: string;
256
- columnType: ColumnTypeEnum;
257
- defaultValue?: string | any[] | undefined;
258
- id?: string | undefined;
259
- maximumSize?: string | number | undefined;
260
- maximumListLength?: string | number | undefined;
261
- enumValues?: (string | number)[] | undefined;
262
- facetType?: "range" | "enumeration" | undefined;
263
- jsonSubColumns?: {
264
- name: string;
265
- columnType: ColumnTypeEnum;
266
138
  facetType: "range" | "enumeration";
267
- jsonPath: string;
268
139
  }[] | undefined;
140
+ facetType?: "range" | "enumeration" | undefined;
269
141
  facetSortConfig?: {
270
- direction?: "ASC" | "DESC" | undefined;
271
142
  property?: "FREQUENCY" | "VALUE" | undefined;
143
+ direction?: "ASC" | "DESC" | undefined;
272
144
  } | undefined;
273
- }>, Pick<Pick<{
145
+ }, "id" | "name" | "columnType" | "maximumSize" | "maximumListLength" | "facetType" | "jsonSubColumns" | "facetSortConfig"> | {
146
+ enumValues: string[] | undefined;
147
+ id?: string | undefined;
274
148
  name: string;
275
149
  columnType: ColumnTypeEnum;
276
- defaultValue?: string | any[] | undefined;
277
- id?: string | undefined;
278
150
  maximumSize?: number | undefined;
279
151
  maximumListLength?: number | undefined;
280
- enumValues?: string[] | undefined;
281
152
  facetType?: "range" | "enumeration" | undefined;
282
153
  jsonSubColumns?: {
283
154
  name: string;
284
155
  columnType: ColumnTypeEnum;
285
- facetType: "range" | "enumeration";
286
156
  jsonPath: string;
157
+ facetType: "range" | "enumeration";
287
158
  }[] | undefined;
288
159
  facetSortConfig?: {
289
- direction?: "ASC" | "DESC" | undefined;
290
160
  property?: "FREQUENCY" | "VALUE" | undefined;
161
+ direction?: "ASC" | "DESC" | undefined;
291
162
  } | undefined;
292
- }, "id" | "maximumSize" | "maximumListLength" | "enumValues" | "facetType" | "jsonSubColumns" | "facetSortConfig" | ("name" | "columnType")> | {
163
+ } | {
164
+ enumValues: string[] | undefined;
293
165
  defaultValue: string | undefined;
294
166
  name: string;
295
167
  columnType: ColumnTypeEnum;
296
168
  id?: string | undefined;
297
169
  maximumSize?: number | undefined;
298
170
  maximumListLength?: number | undefined;
299
- enumValues?: string[] | undefined;
300
- facetType?: "range" | "enumeration" | undefined;
301
171
  jsonSubColumns?: {
302
172
  name: string;
303
173
  columnType: ColumnTypeEnum;
304
- facetType: "range" | "enumeration";
305
174
  jsonPath: string;
175
+ facetType: "range" | "enumeration";
306
176
  }[] | undefined;
177
+ facetType?: "range" | "enumeration" | undefined;
307
178
  facetSortConfig?: {
308
- direction?: "ASC" | "DESC" | undefined;
309
179
  property?: "FREQUENCY" | "VALUE" | undefined;
180
+ direction?: "ASC" | "DESC" | undefined;
310
181
  } | undefined;
311
- }, "id" | "name" | "columnType" | "maximumSize" | "maximumListLength" | "facetType" | "jsonSubColumns" | "facetSortConfig"> | {
312
- enumValues: string[] | undefined;
313
- id?: string | undefined;
182
+ }, Pick<{
314
183
  name: string;
315
184
  columnType: ColumnTypeEnum;
185
+ id?: string | undefined;
186
+ defaultValue?: string | any[] | undefined;
316
187
  maximumSize?: number | undefined;
317
188
  maximumListLength?: number | undefined;
318
- facetType?: "range" | "enumeration" | undefined;
189
+ enumValues?: string[] | undefined;
319
190
  jsonSubColumns?: {
320
191
  name: string;
321
192
  columnType: ColumnTypeEnum;
322
- facetType: "range" | "enumeration";
323
193
  jsonPath: string;
194
+ facetType: "range" | "enumeration";
324
195
  }[] | undefined;
196
+ facetType?: "range" | "enumeration" | undefined;
325
197
  facetSortConfig?: {
326
- direction?: "ASC" | "DESC" | undefined;
327
198
  property?: "FREQUENCY" | "VALUE" | undefined;
199
+ direction?: "ASC" | "DESC" | undefined;
328
200
  } | undefined;
329
- } | {
330
- enumValues: string[] | undefined;
201
+ }, "id" | "name" | "columnType" | "maximumSize" | "maximumListLength" | "enumValues" | "facetType" | "jsonSubColumns" | "facetSortConfig"> | {
331
202
  defaultValue: string | undefined;
332
203
  name: string;
333
204
  columnType: ColumnTypeEnum;
334
205
  id?: string | undefined;
335
206
  maximumSize?: number | undefined;
336
207
  maximumListLength?: number | undefined;
337
- facetType?: "range" | "enumeration" | undefined;
208
+ enumValues?: string[] | undefined;
338
209
  jsonSubColumns?: {
339
210
  name: string;
340
211
  columnType: ColumnTypeEnum;
341
- facetType: "range" | "enumeration";
342
212
  jsonPath: string;
343
- }[] | undefined;
344
- facetSortConfig?: {
345
- direction?: "ASC" | "DESC" | undefined;
346
- property?: "FREQUENCY" | "VALUE" | undefined;
347
- } | undefined;
348
- }, {
349
- name: string;
350
- columnType: ColumnTypeEnum;
351
- defaultValue?: string | any[] | undefined;
352
- id?: string | undefined;
353
- maximumSize?: string | number | undefined;
354
- maximumListLength?: string | number | undefined;
355
- enumValues?: (string | number)[] | undefined;
356
- facetType?: "range" | "enumeration" | undefined;
357
- jsonSubColumns?: {
358
- name: string;
359
- columnType: ColumnTypeEnum;
360
213
  facetType: "range" | "enumeration";
361
- jsonPath: string;
362
214
  }[] | undefined;
215
+ facetType?: "range" | "enumeration" | undefined;
363
216
  facetSortConfig?: {
364
- direction?: "ASC" | "DESC" | undefined;
365
217
  property?: "FREQUENCY" | "VALUE" | undefined;
218
+ direction?: "ASC" | "DESC" | undefined;
366
219
  } | undefined;
367
- }>;
368
- export declare const columnModelFormDataZodSchema: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
220
+ }>>;
221
+ export declare const columnModelFormDataZodSchema: z.ZodArray<z.ZodPipe<z.ZodPipe<z.ZodObject<{
369
222
  name: z.ZodString;
370
- columnType: z.ZodNativeEnum<typeof ColumnTypeEnum>;
371
- } & {
223
+ columnType: z.ZodEnum<typeof ColumnTypeEnum>;
372
224
  id: z.ZodOptional<z.ZodString>;
373
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodAny, "many">]>>;
374
- maximumSize: z.ZodPipeline<z.ZodUnion<[z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, z.ZodNumber]>, z.ZodOptional<z.ZodNumber>>;
375
- maximumListLength: z.ZodPipeline<z.ZodUnion<[z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, z.ZodNumber]>, z.ZodOptional<z.ZodNumber>>;
376
- enumValues: z.ZodOptional<z.ZodArray<z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodString>, "many">>;
225
+ defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodAny>]>>;
226
+ maximumSize: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>, z.ZodNumber]>, z.ZodTransform<number | undefined, string | number | undefined>>, z.ZodOptional<z.ZodNumber>>;
227
+ maximumListLength: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>, z.ZodNumber]>, z.ZodTransform<number | undefined, string | number | undefined>>, z.ZodOptional<z.ZodNumber>>;
228
+ enumValues: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedString<string | number>>>>;
377
229
  jsonSubColumns: z.ZodOptional<z.ZodArray<z.ZodObject<{
378
230
  name: z.ZodString;
379
- columnType: z.ZodNativeEnum<typeof ColumnTypeEnum>;
380
- } & {
231
+ columnType: z.ZodEnum<typeof ColumnTypeEnum>;
381
232
  jsonPath: z.ZodString;
382
- facetType: z.ZodUnion<[z.ZodLiteral<"enumeration">, z.ZodLiteral<"range">]>;
383
- }, "strip", z.ZodTypeAny, {
384
- name: string;
385
- columnType: ColumnTypeEnum;
386
- facetType: "range" | "enumeration";
387
- jsonPath: string;
388
- }, {
389
- name: string;
390
- columnType: ColumnTypeEnum;
391
- facetType: "range" | "enumeration";
392
- jsonPath: string;
393
- }>, "many">>;
394
- facetType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enumeration">, z.ZodLiteral<"range">]>>;
395
- facetSortConfig: z.ZodOptional<z.ZodObject<{
396
- property: z.ZodOptional<z.ZodEnum<["FREQUENCY", "VALUE"]>>;
397
- direction: z.ZodOptional<z.ZodEnum<["DESC", "ASC"]>>;
398
- }, "strip", z.ZodTypeAny, {
399
- direction?: "ASC" | "DESC" | undefined;
400
- property?: "FREQUENCY" | "VALUE" | undefined;
401
- }, {
402
- direction?: "ASC" | "DESC" | undefined;
403
- property?: "FREQUENCY" | "VALUE" | undefined;
233
+ facetType: z.ZodEnum<{
234
+ range: "range";
235
+ enumeration: "enumeration";
236
+ }>;
237
+ }, z.core.$strip>>>;
238
+ facetType: z.ZodOptional<z.ZodEnum<{
239
+ range: "range";
240
+ enumeration: "enumeration";
404
241
  }>>;
405
- }, "strip", z.ZodTypeAny, {
242
+ facetSortConfig: z.ZodOptional<z.ZodObject<{
243
+ property: z.ZodOptional<z.ZodEnum<{
244
+ FREQUENCY: "FREQUENCY";
245
+ VALUE: "VALUE";
246
+ }>>;
247
+ direction: z.ZodOptional<z.ZodEnum<{
248
+ ASC: "ASC";
249
+ DESC: "DESC";
250
+ }>>;
251
+ }, z.core.$strip>>;
252
+ }, z.core.$strip>, z.ZodTransform<Pick<{
406
253
  name: string;
407
254
  columnType: ColumnTypeEnum;
408
- defaultValue?: string | any[] | undefined;
409
255
  id?: string | undefined;
256
+ defaultValue?: string | any[] | undefined;
410
257
  maximumSize?: number | undefined;
411
258
  maximumListLength?: number | undefined;
412
259
  enumValues?: string[] | undefined;
413
- facetType?: "range" | "enumeration" | undefined;
414
260
  jsonSubColumns?: {
415
261
  name: string;
416
262
  columnType: ColumnTypeEnum;
417
- facetType: "range" | "enumeration";
418
263
  jsonPath: string;
419
- }[] | undefined;
420
- facetSortConfig?: {
421
- direction?: "ASC" | "DESC" | undefined;
422
- property?: "FREQUENCY" | "VALUE" | undefined;
423
- } | undefined;
424
- }, {
425
- name: string;
426
- columnType: ColumnTypeEnum;
427
- defaultValue?: string | any[] | undefined;
428
- id?: string | undefined;
429
- maximumSize?: string | number | undefined;
430
- maximumListLength?: string | number | undefined;
431
- enumValues?: (string | number)[] | undefined;
432
- facetType?: "range" | "enumeration" | undefined;
433
- jsonSubColumns?: {
434
- name: string;
435
- columnType: ColumnTypeEnum;
436
264
  facetType: "range" | "enumeration";
437
- jsonPath: string;
438
265
  }[] | undefined;
439
- facetSortConfig?: {
440
- direction?: "ASC" | "DESC" | undefined;
441
- property?: "FREQUENCY" | "VALUE" | undefined;
442
- } | undefined;
443
- }>, {
444
- name: string;
445
- columnType: ColumnTypeEnum;
446
- defaultValue?: string | any[] | undefined;
447
- id?: string | undefined;
448
- maximumSize?: number | undefined;
449
- maximumListLength?: number | undefined;
450
- enumValues?: string[] | undefined;
451
266
  facetType?: "range" | "enumeration" | undefined;
452
- jsonSubColumns?: {
453
- name: string;
454
- columnType: ColumnTypeEnum;
455
- facetType: "range" | "enumeration";
456
- jsonPath: string;
457
- }[] | undefined;
458
267
  facetSortConfig?: {
459
- direction?: "ASC" | "DESC" | undefined;
460
268
  property?: "FREQUENCY" | "VALUE" | undefined;
461
- } | undefined;
462
- }, {
463
- name: string;
464
- columnType: ColumnTypeEnum;
465
- defaultValue?: string | any[] | undefined;
466
- id?: string | undefined;
467
- maximumSize?: string | number | undefined;
468
- maximumListLength?: string | number | undefined;
469
- enumValues?: (string | number)[] | undefined;
470
- facetType?: "range" | "enumeration" | undefined;
471
- jsonSubColumns?: {
472
- name: string;
473
- columnType: ColumnTypeEnum;
474
- facetType: "range" | "enumeration";
475
- jsonPath: string;
476
- }[] | undefined;
477
- facetSortConfig?: {
478
269
  direction?: "ASC" | "DESC" | undefined;
479
- property?: "FREQUENCY" | "VALUE" | undefined;
480
270
  } | undefined;
481
- }>, {
271
+ }, "id" | "name" | "columnType" | "maximumSize" | "maximumListLength" | "enumValues" | "facetType" | "jsonSubColumns" | "facetSortConfig"> | {
272
+ defaultValue: string | undefined;
482
273
  name: string;
483
274
  columnType: ColumnTypeEnum;
484
- defaultValue?: string | any[] | undefined;
485
275
  id?: string | undefined;
486
276
  maximumSize?: number | undefined;
487
277
  maximumListLength?: number | undefined;
488
278
  enumValues?: string[] | undefined;
489
- facetType?: "range" | "enumeration" | undefined;
490
279
  jsonSubColumns?: {
491
280
  name: string;
492
281
  columnType: ColumnTypeEnum;
493
- facetType: "range" | "enumeration";
494
282
  jsonPath: string;
283
+ facetType: "range" | "enumeration";
495
284
  }[] | undefined;
285
+ facetType?: "range" | "enumeration" | undefined;
496
286
  facetSortConfig?: {
497
- direction?: "ASC" | "DESC" | undefined;
498
287
  property?: "FREQUENCY" | "VALUE" | undefined;
288
+ direction?: "ASC" | "DESC" | undefined;
499
289
  } | undefined;
500
290
  }, {
501
291
  name: string;
502
292
  columnType: ColumnTypeEnum;
503
- defaultValue?: string | any[] | undefined;
504
293
  id?: string | undefined;
505
- maximumSize?: string | number | undefined;
506
- maximumListLength?: string | number | undefined;
507
- enumValues?: (string | number)[] | undefined;
508
- facetType?: "range" | "enumeration" | undefined;
509
- jsonSubColumns?: {
510
- name: string;
511
- columnType: ColumnTypeEnum;
512
- facetType: "range" | "enumeration";
513
- jsonPath: string;
514
- }[] | undefined;
515
- facetSortConfig?: {
516
- direction?: "ASC" | "DESC" | undefined;
517
- property?: "FREQUENCY" | "VALUE" | undefined;
518
- } | undefined;
519
- }>, {
520
- name: string;
521
- columnType: ColumnTypeEnum;
522
294
  defaultValue?: string | any[] | undefined;
523
- id?: string | undefined;
524
295
  maximumSize?: number | undefined;
525
296
  maximumListLength?: number | undefined;
526
297
  enumValues?: string[] | undefined;
527
- facetType?: "range" | "enumeration" | undefined;
528
298
  jsonSubColumns?: {
529
299
  name: string;
530
300
  columnType: ColumnTypeEnum;
531
- facetType: "range" | "enumeration";
532
301
  jsonPath: string;
533
- }[] | undefined;
534
- facetSortConfig?: {
535
- direction?: "ASC" | "DESC" | undefined;
536
- property?: "FREQUENCY" | "VALUE" | undefined;
537
- } | undefined;
538
- }, {
539
- name: string;
540
- columnType: ColumnTypeEnum;
541
- defaultValue?: string | any[] | undefined;
542
- id?: string | undefined;
543
- maximumSize?: string | number | undefined;
544
- maximumListLength?: string | number | undefined;
545
- enumValues?: (string | number)[] | undefined;
546
- facetType?: "range" | "enumeration" | undefined;
547
- jsonSubColumns?: {
548
- name: string;
549
- columnType: ColumnTypeEnum;
550
302
  facetType: "range" | "enumeration";
551
- jsonPath: string;
552
303
  }[] | undefined;
304
+ facetType?: "range" | "enumeration" | undefined;
553
305
  facetSortConfig?: {
554
- direction?: "ASC" | "DESC" | undefined;
555
306
  property?: "FREQUENCY" | "VALUE" | undefined;
307
+ direction?: "ASC" | "DESC" | undefined;
556
308
  } | undefined;
557
- }>, Pick<{
309
+ }>>, z.ZodTransform<Pick<Pick<{
558
310
  name: string;
559
311
  columnType: ColumnTypeEnum;
560
- defaultValue?: string | any[] | undefined;
561
312
  id?: string | undefined;
313
+ defaultValue?: string | any[] | undefined;
562
314
  maximumSize?: number | undefined;
563
315
  maximumListLength?: number | undefined;
564
316
  enumValues?: string[] | undefined;
565
- facetType?: "range" | "enumeration" | undefined;
566
317
  jsonSubColumns?: {
567
318
  name: string;
568
319
  columnType: ColumnTypeEnum;
569
- facetType: "range" | "enumeration";
570
320
  jsonPath: string;
321
+ facetType: "range" | "enumeration";
571
322
  }[] | undefined;
323
+ facetType?: "range" | "enumeration" | undefined;
572
324
  facetSortConfig?: {
573
- direction?: "ASC" | "DESC" | undefined;
574
325
  property?: "FREQUENCY" | "VALUE" | undefined;
326
+ direction?: "ASC" | "DESC" | undefined;
575
327
  } | undefined;
576
- }, "id" | "maximumSize" | "maximumListLength" | "enumValues" | "facetType" | "jsonSubColumns" | "facetSortConfig" | ("name" | "columnType")> | {
328
+ }, "id" | "name" | "columnType" | "maximumSize" | "maximumListLength" | "enumValues" | "facetType" | "jsonSubColumns" | "facetSortConfig"> | {
577
329
  defaultValue: string | undefined;
578
330
  name: string;
579
331
  columnType: ColumnTypeEnum;
@@ -581,246 +333,144 @@ export declare const columnModelFormDataZodSchema: z.ZodArray<z.ZodEffects<z.Zod
581
333
  maximumSize?: number | undefined;
582
334
  maximumListLength?: number | undefined;
583
335
  enumValues?: string[] | undefined;
584
- facetType?: "range" | "enumeration" | undefined;
585
336
  jsonSubColumns?: {
586
337
  name: string;
587
338
  columnType: ColumnTypeEnum;
588
- facetType: "range" | "enumeration";
589
339
  jsonPath: string;
590
- }[] | undefined;
591
- facetSortConfig?: {
592
- direction?: "ASC" | "DESC" | undefined;
593
- property?: "FREQUENCY" | "VALUE" | undefined;
594
- } | undefined;
595
- }, {
596
- name: string;
597
- columnType: ColumnTypeEnum;
598
- defaultValue?: string | any[] | undefined;
599
- id?: string | undefined;
600
- maximumSize?: string | number | undefined;
601
- maximumListLength?: string | number | undefined;
602
- enumValues?: (string | number)[] | undefined;
603
- facetType?: "range" | "enumeration" | undefined;
604
- jsonSubColumns?: {
605
- name: string;
606
- columnType: ColumnTypeEnum;
607
340
  facetType: "range" | "enumeration";
608
- jsonPath: string;
609
341
  }[] | undefined;
342
+ facetType?: "range" | "enumeration" | undefined;
610
343
  facetSortConfig?: {
611
- direction?: "ASC" | "DESC" | undefined;
612
344
  property?: "FREQUENCY" | "VALUE" | undefined;
345
+ direction?: "ASC" | "DESC" | undefined;
613
346
  } | undefined;
614
- }>, Pick<Pick<{
347
+ }, "id" | "name" | "columnType" | "maximumSize" | "maximumListLength" | "facetType" | "jsonSubColumns" | "facetSortConfig"> | {
348
+ enumValues: string[] | undefined;
349
+ id?: string | undefined;
615
350
  name: string;
616
351
  columnType: ColumnTypeEnum;
617
- defaultValue?: string | any[] | undefined;
618
- id?: string | undefined;
619
352
  maximumSize?: number | undefined;
620
353
  maximumListLength?: number | undefined;
621
- enumValues?: string[] | undefined;
622
354
  facetType?: "range" | "enumeration" | undefined;
623
355
  jsonSubColumns?: {
624
356
  name: string;
625
357
  columnType: ColumnTypeEnum;
626
- facetType: "range" | "enumeration";
627
358
  jsonPath: string;
359
+ facetType: "range" | "enumeration";
628
360
  }[] | undefined;
629
361
  facetSortConfig?: {
630
- direction?: "ASC" | "DESC" | undefined;
631
362
  property?: "FREQUENCY" | "VALUE" | undefined;
363
+ direction?: "ASC" | "DESC" | undefined;
632
364
  } | undefined;
633
- }, "id" | "maximumSize" | "maximumListLength" | "enumValues" | "facetType" | "jsonSubColumns" | "facetSortConfig" | ("name" | "columnType")> | {
365
+ } | {
366
+ enumValues: string[] | undefined;
634
367
  defaultValue: string | undefined;
635
368
  name: string;
636
369
  columnType: ColumnTypeEnum;
637
370
  id?: string | undefined;
638
371
  maximumSize?: number | undefined;
639
372
  maximumListLength?: number | undefined;
640
- enumValues?: string[] | undefined;
641
- facetType?: "range" | "enumeration" | undefined;
642
373
  jsonSubColumns?: {
643
374
  name: string;
644
375
  columnType: ColumnTypeEnum;
645
- facetType: "range" | "enumeration";
646
376
  jsonPath: string;
377
+ facetType: "range" | "enumeration";
647
378
  }[] | undefined;
379
+ facetType?: "range" | "enumeration" | undefined;
648
380
  facetSortConfig?: {
649
- direction?: "ASC" | "DESC" | undefined;
650
381
  property?: "FREQUENCY" | "VALUE" | undefined;
382
+ direction?: "ASC" | "DESC" | undefined;
651
383
  } | undefined;
652
- }, "id" | "name" | "columnType" | "maximumSize" | "maximumListLength" | "facetType" | "jsonSubColumns" | "facetSortConfig"> | {
653
- enumValues: string[] | undefined;
654
- id?: string | undefined;
384
+ }, Pick<{
655
385
  name: string;
656
386
  columnType: ColumnTypeEnum;
387
+ id?: string | undefined;
388
+ defaultValue?: string | any[] | undefined;
657
389
  maximumSize?: number | undefined;
658
390
  maximumListLength?: number | undefined;
659
- facetType?: "range" | "enumeration" | undefined;
391
+ enumValues?: string[] | undefined;
660
392
  jsonSubColumns?: {
661
393
  name: string;
662
394
  columnType: ColumnTypeEnum;
663
- facetType: "range" | "enumeration";
664
395
  jsonPath: string;
396
+ facetType: "range" | "enumeration";
665
397
  }[] | undefined;
398
+ facetType?: "range" | "enumeration" | undefined;
666
399
  facetSortConfig?: {
667
- direction?: "ASC" | "DESC" | undefined;
668
400
  property?: "FREQUENCY" | "VALUE" | undefined;
401
+ direction?: "ASC" | "DESC" | undefined;
669
402
  } | undefined;
670
- } | {
671
- enumValues: string[] | undefined;
403
+ }, "id" | "name" | "columnType" | "maximumSize" | "maximumListLength" | "enumValues" | "facetType" | "jsonSubColumns" | "facetSortConfig"> | {
672
404
  defaultValue: string | undefined;
673
405
  name: string;
674
406
  columnType: ColumnTypeEnum;
675
407
  id?: string | undefined;
676
408
  maximumSize?: number | undefined;
677
409
  maximumListLength?: number | undefined;
678
- facetType?: "range" | "enumeration" | undefined;
410
+ enumValues?: string[] | undefined;
679
411
  jsonSubColumns?: {
680
412
  name: string;
681
413
  columnType: ColumnTypeEnum;
682
- facetType: "range" | "enumeration";
683
414
  jsonPath: string;
684
- }[] | undefined;
685
- facetSortConfig?: {
686
- direction?: "ASC" | "DESC" | undefined;
687
- property?: "FREQUENCY" | "VALUE" | undefined;
688
- } | undefined;
689
- }, {
690
- name: string;
691
- columnType: ColumnTypeEnum;
692
- defaultValue?: string | any[] | undefined;
693
- id?: string | undefined;
694
- maximumSize?: string | number | undefined;
695
- maximumListLength?: string | number | undefined;
696
- enumValues?: (string | number)[] | undefined;
697
- facetType?: "range" | "enumeration" | undefined;
698
- jsonSubColumns?: {
699
- name: string;
700
- columnType: ColumnTypeEnum;
701
415
  facetType: "range" | "enumeration";
702
- jsonPath: string;
703
416
  }[] | undefined;
417
+ facetType?: "range" | "enumeration" | undefined;
704
418
  facetSortConfig?: {
705
- direction?: "ASC" | "DESC" | undefined;
706
419
  property?: "FREQUENCY" | "VALUE" | undefined;
420
+ direction?: "ASC" | "DESC" | undefined;
707
421
  } | undefined;
708
- }>, "many">;
422
+ }>>>;
709
423
  declare const jsonSubColumnModelFormDataSchema: z.ZodObject<{
710
424
  name: z.ZodString;
711
- columnType: z.ZodNativeEnum<typeof ColumnTypeEnum>;
712
- } & {
425
+ columnType: z.ZodEnum<typeof ColumnTypeEnum>;
713
426
  jsonPath: z.ZodString;
714
- facetType: z.ZodUnion<[z.ZodLiteral<"enumeration">, z.ZodLiteral<"range">]>;
715
- } & {
427
+ facetType: z.ZodEnum<{
428
+ range: "range";
429
+ enumeration: "enumeration";
430
+ }>;
716
431
  isSelected: z.ZodBoolean;
717
- }, "strip", z.ZodTypeAny, {
718
- name: string;
719
- columnType: ColumnTypeEnum;
720
- facetType: "range" | "enumeration";
721
- jsonPath: string;
722
- isSelected: boolean;
723
- }, {
724
- name: string;
725
- columnType: ColumnTypeEnum;
726
- facetType: "range" | "enumeration";
727
- jsonPath: string;
728
- isSelected: boolean;
729
- }>;
432
+ }, z.core.$strip>;
730
433
  export type JsonSubColumnModelFormData = z.input<typeof jsonSubColumnModelFormDataSchema>;
731
434
  declare const _columnModelFormDataSchema: z.ZodObject<{
732
435
  name: z.ZodString;
733
- columnType: z.ZodNativeEnum<typeof ColumnTypeEnum>;
436
+ columnType: z.ZodEnum<typeof ColumnTypeEnum>;
734
437
  id: z.ZodOptional<z.ZodString>;
735
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodAny, "many">]>>;
736
- maximumSize: z.ZodPipeline<z.ZodUnion<[z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, z.ZodNumber]>, z.ZodOptional<z.ZodNumber>>;
737
- maximumListLength: z.ZodPipeline<z.ZodUnion<[z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, z.ZodNumber]>, z.ZodOptional<z.ZodNumber>>;
738
- enumValues: z.ZodOptional<z.ZodArray<z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodString>, "many">>;
739
- facetType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enumeration">, z.ZodLiteral<"range">]>>;
740
- facetSortConfig: z.ZodOptional<z.ZodObject<{
741
- property: z.ZodOptional<z.ZodEnum<["FREQUENCY", "VALUE"]>>;
742
- direction: z.ZodOptional<z.ZodEnum<["DESC", "ASC"]>>;
743
- }, "strip", z.ZodTypeAny, {
744
- direction?: "ASC" | "DESC" | undefined;
745
- property?: "FREQUENCY" | "VALUE" | undefined;
746
- }, {
747
- direction?: "ASC" | "DESC" | undefined;
748
- property?: "FREQUENCY" | "VALUE" | undefined;
438
+ defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodAny>]>>;
439
+ maximumSize: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>, z.ZodNumber]>, z.ZodTransform<number | undefined, string | number | undefined>>, z.ZodOptional<z.ZodNumber>>;
440
+ maximumListLength: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>, z.ZodNumber]>, z.ZodTransform<number | undefined, string | number | undefined>>, z.ZodOptional<z.ZodNumber>>;
441
+ enumValues: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedString<string | number>>>>;
442
+ facetType: z.ZodOptional<z.ZodEnum<{
443
+ range: "range";
444
+ enumeration: "enumeration";
749
445
  }>>;
750
- } & {
446
+ facetSortConfig: z.ZodOptional<z.ZodObject<{
447
+ property: z.ZodOptional<z.ZodEnum<{
448
+ FREQUENCY: "FREQUENCY";
449
+ VALUE: "VALUE";
450
+ }>>;
451
+ direction: z.ZodOptional<z.ZodEnum<{
452
+ ASC: "ASC";
453
+ DESC: "DESC";
454
+ }>>;
455
+ }, z.core.$strip>>;
751
456
  isSelected: z.ZodBoolean;
752
457
  isOriginallyDefaultColumn: z.ZodBoolean;
753
458
  jsonSubColumns: z.ZodOptional<z.ZodArray<z.ZodObject<{
754
459
  name: z.ZodString;
755
- columnType: z.ZodNativeEnum<typeof ColumnTypeEnum>;
756
- } & {
460
+ columnType: z.ZodEnum<typeof ColumnTypeEnum>;
757
461
  jsonPath: z.ZodString;
758
- facetType: z.ZodUnion<[z.ZodLiteral<"enumeration">, z.ZodLiteral<"range">]>;
759
- } & {
462
+ facetType: z.ZodEnum<{
463
+ range: "range";
464
+ enumeration: "enumeration";
465
+ }>;
760
466
  isSelected: z.ZodBoolean;
761
- }, "strip", z.ZodTypeAny, {
762
- name: string;
763
- columnType: ColumnTypeEnum;
764
- facetType: "range" | "enumeration";
765
- jsonPath: string;
766
- isSelected: boolean;
767
- }, {
768
- name: string;
769
- columnType: ColumnTypeEnum;
770
- facetType: "range" | "enumeration";
771
- jsonPath: string;
772
- isSelected: boolean;
773
- }>, "many">>;
774
- }, "strip", z.ZodTypeAny, {
775
- name: string;
776
- columnType: ColumnTypeEnum;
777
- isSelected: boolean;
778
- isOriginallyDefaultColumn: boolean;
779
- defaultValue?: string | any[] | undefined;
780
- id?: string | undefined;
781
- maximumSize?: number | undefined;
782
- maximumListLength?: number | undefined;
783
- enumValues?: string[] | undefined;
784
- facetType?: "range" | "enumeration" | undefined;
785
- jsonSubColumns?: {
786
- name: string;
787
- columnType: ColumnTypeEnum;
788
- facetType: "range" | "enumeration";
789
- jsonPath: string;
790
- isSelected: boolean;
791
- }[] | undefined;
792
- facetSortConfig?: {
793
- direction?: "ASC" | "DESC" | undefined;
794
- property?: "FREQUENCY" | "VALUE" | undefined;
795
- } | undefined;
796
- }, {
797
- name: string;
798
- columnType: ColumnTypeEnum;
799
- isSelected: boolean;
800
- isOriginallyDefaultColumn: boolean;
801
- defaultValue?: string | any[] | undefined;
802
- id?: string | undefined;
803
- maximumSize?: string | number | undefined;
804
- maximumListLength?: string | number | undefined;
805
- enumValues?: (string | number)[] | undefined;
806
- facetType?: "range" | "enumeration" | undefined;
807
- jsonSubColumns?: {
808
- name: string;
809
- columnType: ColumnTypeEnum;
810
- facetType: "range" | "enumeration";
811
- jsonPath: string;
812
- isSelected: boolean;
813
- }[] | undefined;
814
- facetSortConfig?: {
815
- direction?: "ASC" | "DESC" | undefined;
816
- property?: "FREQUENCY" | "VALUE" | undefined;
817
- } | undefined;
818
- }>;
467
+ }, z.core.$strip>>>;
468
+ }, z.core.$strip>;
819
469
  /**
820
470
  * Type that represents possible form input data for a ColumnModel.
821
471
  * a
822
472
  */
823
473
  export type ColumnModelFormData = z.input<typeof _columnModelFormDataSchema>;
824
- export declare function validateColumnModelFormData(formData: SetOptional<ColumnModelFormData, 'isOriginallyDefaultColumn' | 'isSelected'>[]): SafeParseReturnType<SetOptional<ColumnModelFormData, 'isOriginallyDefaultColumn' | 'isSelected'>[], SetOptional<ColumnModel, 'id'>[]>;
474
+ export declare function validateColumnModelFormData(formData: SetOptional<ColumnModelFormData, 'isOriginallyDefaultColumn' | 'isSelected'>[]): z.ZodSafeParseResult<SetOptional<ColumnModel, 'id'>[]>;
825
475
  export {};
826
476
  //# sourceMappingURL=ColumnModelValidator.d.ts.map