@lokalise/connector-api-contracts 4.0.3 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,14 +4,55 @@ export declare const MANIFEST_FILTER_OPTION_SCHEMA: z.ZodObject<{
|
|
|
4
4
|
name: z.ZodString;
|
|
5
5
|
}, z.core.$strip>;
|
|
6
6
|
export type ManifestFilterOption = z.infer<typeof MANIFEST_FILTER_OPTION_SCHEMA>;
|
|
7
|
+
export declare const FILTER_CLAUSE: z.ZodObject<{
|
|
8
|
+
type: z.ZodEnum<{
|
|
9
|
+
equals: "equals";
|
|
10
|
+
notEquals: "notEquals";
|
|
11
|
+
contains: "contains";
|
|
12
|
+
}>;
|
|
13
|
+
name: z.ZodString;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
export type FilterClause = z.infer<typeof FILTER_CLAUSE>;
|
|
7
16
|
export declare const SEARCH_FILTER_SCHEMA: z.ZodObject<{
|
|
8
17
|
id: z.ZodString;
|
|
18
|
+
name: z.ZodString;
|
|
9
19
|
query: z.ZodString;
|
|
20
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
21
|
+
type: z.ZodEnum<{
|
|
22
|
+
equals: "equals";
|
|
23
|
+
notEquals: "notEquals";
|
|
24
|
+
contains: "contains";
|
|
25
|
+
}>;
|
|
26
|
+
name: z.ZodString;
|
|
27
|
+
}, z.core.$strip>>>;
|
|
10
28
|
type: z.ZodLiteral<"search">;
|
|
11
29
|
}, z.core.$strip>;
|
|
30
|
+
export declare const TEXT_FILTER_SCHEMA: z.ZodObject<{
|
|
31
|
+
id: z.ZodString;
|
|
32
|
+
name: z.ZodString;
|
|
33
|
+
query: z.ZodString;
|
|
34
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
35
|
+
type: z.ZodEnum<{
|
|
36
|
+
equals: "equals";
|
|
37
|
+
notEquals: "notEquals";
|
|
38
|
+
contains: "contains";
|
|
39
|
+
}>;
|
|
40
|
+
name: z.ZodString;
|
|
41
|
+
}, z.core.$strip>>>;
|
|
42
|
+
type: z.ZodLiteral<"text">;
|
|
43
|
+
}, z.core.$strip>;
|
|
12
44
|
export declare const MULTISELECT_FILTER_SCHEMA: z.ZodObject<{
|
|
13
45
|
id: z.ZodString;
|
|
46
|
+
name: z.ZodString;
|
|
14
47
|
query: z.ZodString;
|
|
48
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
49
|
+
type: z.ZodEnum<{
|
|
50
|
+
equals: "equals";
|
|
51
|
+
notEquals: "notEquals";
|
|
52
|
+
contains: "contains";
|
|
53
|
+
}>;
|
|
54
|
+
name: z.ZodString;
|
|
55
|
+
}, z.core.$strip>>>;
|
|
15
56
|
type: z.ZodLiteral<"multiselect">;
|
|
16
57
|
options: z.ZodArray<z.ZodObject<{
|
|
17
58
|
id: z.ZodString;
|
|
@@ -21,7 +62,16 @@ export declare const MULTISELECT_FILTER_SCHEMA: z.ZodObject<{
|
|
|
21
62
|
}, z.core.$strip>;
|
|
22
63
|
export declare const SELECT_FILTER_SCHEMA: z.ZodObject<{
|
|
23
64
|
id: z.ZodString;
|
|
65
|
+
name: z.ZodString;
|
|
24
66
|
query: z.ZodString;
|
|
67
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
68
|
+
type: z.ZodEnum<{
|
|
69
|
+
equals: "equals";
|
|
70
|
+
notEquals: "notEquals";
|
|
71
|
+
contains: "contains";
|
|
72
|
+
}>;
|
|
73
|
+
name: z.ZodString;
|
|
74
|
+
}, z.core.$strip>>>;
|
|
25
75
|
type: z.ZodLiteral<"select">;
|
|
26
76
|
options: z.ZodArray<z.ZodObject<{
|
|
27
77
|
id: z.ZodString;
|
|
@@ -31,14 +81,32 @@ export declare const SELECT_FILTER_SCHEMA: z.ZodObject<{
|
|
|
31
81
|
}, z.core.$strip>;
|
|
32
82
|
export declare const ASYNC_SELECT_FILTER_SCHEMA: z.ZodObject<{
|
|
33
83
|
id: z.ZodString;
|
|
84
|
+
name: z.ZodString;
|
|
34
85
|
query: z.ZodString;
|
|
86
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
87
|
+
type: z.ZodEnum<{
|
|
88
|
+
equals: "equals";
|
|
89
|
+
notEquals: "notEquals";
|
|
90
|
+
contains: "contains";
|
|
91
|
+
}>;
|
|
92
|
+
name: z.ZodString;
|
|
93
|
+
}, z.core.$strip>>>;
|
|
35
94
|
type: z.ZodLiteral<"async-select">;
|
|
36
95
|
constraintQuery: z.ZodOptional<z.ZodString>;
|
|
37
96
|
dependsOn: z.ZodOptional<z.ZodString>;
|
|
38
97
|
}, z.core.$strip>;
|
|
39
98
|
export declare const ASYNC_MULTISELECT_FILTER_SCHEMA: z.ZodObject<{
|
|
40
99
|
id: z.ZodString;
|
|
100
|
+
name: z.ZodString;
|
|
41
101
|
query: z.ZodString;
|
|
102
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
103
|
+
type: z.ZodEnum<{
|
|
104
|
+
equals: "equals";
|
|
105
|
+
notEquals: "notEquals";
|
|
106
|
+
contains: "contains";
|
|
107
|
+
}>;
|
|
108
|
+
name: z.ZodString;
|
|
109
|
+
}, z.core.$strip>>>;
|
|
42
110
|
type: z.ZodLiteral<"async-multiselect">;
|
|
43
111
|
constraintQuery: z.ZodOptional<z.ZodString>;
|
|
44
112
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -46,7 +114,16 @@ export declare const ASYNC_MULTISELECT_FILTER_SCHEMA: z.ZodObject<{
|
|
|
46
114
|
}, z.core.$strip>;
|
|
47
115
|
export declare const DATERANGE_FILTER_SCHEMA: z.ZodObject<{
|
|
48
116
|
id: z.ZodString;
|
|
117
|
+
name: z.ZodString;
|
|
49
118
|
query: z.ZodString;
|
|
119
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
120
|
+
type: z.ZodEnum<{
|
|
121
|
+
equals: "equals";
|
|
122
|
+
notEquals: "notEquals";
|
|
123
|
+
contains: "contains";
|
|
124
|
+
}>;
|
|
125
|
+
name: z.ZodString;
|
|
126
|
+
}, z.core.$strip>>>;
|
|
50
127
|
type: z.ZodLiteral<"daterange">;
|
|
51
128
|
defaultValue: z.ZodOptional<z.ZodObject<{
|
|
52
129
|
from: z.ZodString;
|
|
@@ -55,11 +132,29 @@ export declare const DATERANGE_FILTER_SCHEMA: z.ZodObject<{
|
|
|
55
132
|
}, z.core.$strip>;
|
|
56
133
|
export declare const MANIFEST_FILTER_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
57
134
|
id: z.ZodString;
|
|
135
|
+
name: z.ZodString;
|
|
58
136
|
query: z.ZodString;
|
|
137
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
138
|
+
type: z.ZodEnum<{
|
|
139
|
+
equals: "equals";
|
|
140
|
+
notEquals: "notEquals";
|
|
141
|
+
contains: "contains";
|
|
142
|
+
}>;
|
|
143
|
+
name: z.ZodString;
|
|
144
|
+
}, z.core.$strip>>>;
|
|
59
145
|
type: z.ZodLiteral<"search">;
|
|
60
146
|
}, z.core.$strip>, z.ZodObject<{
|
|
61
147
|
id: z.ZodString;
|
|
148
|
+
name: z.ZodString;
|
|
62
149
|
query: z.ZodString;
|
|
150
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
151
|
+
type: z.ZodEnum<{
|
|
152
|
+
equals: "equals";
|
|
153
|
+
notEquals: "notEquals";
|
|
154
|
+
contains: "contains";
|
|
155
|
+
}>;
|
|
156
|
+
name: z.ZodString;
|
|
157
|
+
}, z.core.$strip>>>;
|
|
63
158
|
type: z.ZodLiteral<"multiselect">;
|
|
64
159
|
options: z.ZodArray<z.ZodObject<{
|
|
65
160
|
id: z.ZodString;
|
|
@@ -68,14 +163,45 @@ export declare const MANIFEST_FILTER_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
68
163
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
69
164
|
}, z.core.$strip>, z.ZodObject<{
|
|
70
165
|
id: z.ZodString;
|
|
166
|
+
name: z.ZodString;
|
|
167
|
+
query: z.ZodString;
|
|
168
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
169
|
+
type: z.ZodEnum<{
|
|
170
|
+
equals: "equals";
|
|
171
|
+
notEquals: "notEquals";
|
|
172
|
+
contains: "contains";
|
|
173
|
+
}>;
|
|
174
|
+
name: z.ZodString;
|
|
175
|
+
}, z.core.$strip>>>;
|
|
176
|
+
type: z.ZodLiteral<"text">;
|
|
177
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
178
|
+
id: z.ZodString;
|
|
179
|
+
name: z.ZodString;
|
|
71
180
|
query: z.ZodString;
|
|
181
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
182
|
+
type: z.ZodEnum<{
|
|
183
|
+
equals: "equals";
|
|
184
|
+
notEquals: "notEquals";
|
|
185
|
+
contains: "contains";
|
|
186
|
+
}>;
|
|
187
|
+
name: z.ZodString;
|
|
188
|
+
}, z.core.$strip>>>;
|
|
72
189
|
type: z.ZodLiteral<"async-multiselect">;
|
|
73
190
|
constraintQuery: z.ZodOptional<z.ZodString>;
|
|
74
191
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
75
192
|
dependsOn: z.ZodOptional<z.ZodString>;
|
|
76
193
|
}, z.core.$strip>, z.ZodObject<{
|
|
77
194
|
id: z.ZodString;
|
|
195
|
+
name: z.ZodString;
|
|
78
196
|
query: z.ZodString;
|
|
197
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
198
|
+
type: z.ZodEnum<{
|
|
199
|
+
equals: "equals";
|
|
200
|
+
notEquals: "notEquals";
|
|
201
|
+
contains: "contains";
|
|
202
|
+
}>;
|
|
203
|
+
name: z.ZodString;
|
|
204
|
+
}, z.core.$strip>>>;
|
|
79
205
|
type: z.ZodLiteral<"select">;
|
|
80
206
|
options: z.ZodArray<z.ZodObject<{
|
|
81
207
|
id: z.ZodString;
|
|
@@ -84,13 +210,31 @@ export declare const MANIFEST_FILTER_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
84
210
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
85
211
|
}, z.core.$strip>, z.ZodObject<{
|
|
86
212
|
id: z.ZodString;
|
|
213
|
+
name: z.ZodString;
|
|
87
214
|
query: z.ZodString;
|
|
215
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
216
|
+
type: z.ZodEnum<{
|
|
217
|
+
equals: "equals";
|
|
218
|
+
notEquals: "notEquals";
|
|
219
|
+
contains: "contains";
|
|
220
|
+
}>;
|
|
221
|
+
name: z.ZodString;
|
|
222
|
+
}, z.core.$strip>>>;
|
|
88
223
|
type: z.ZodLiteral<"async-select">;
|
|
89
224
|
constraintQuery: z.ZodOptional<z.ZodString>;
|
|
90
225
|
dependsOn: z.ZodOptional<z.ZodString>;
|
|
91
226
|
}, z.core.$strip>, z.ZodObject<{
|
|
92
227
|
id: z.ZodString;
|
|
228
|
+
name: z.ZodString;
|
|
93
229
|
query: z.ZodString;
|
|
230
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
231
|
+
type: z.ZodEnum<{
|
|
232
|
+
equals: "equals";
|
|
233
|
+
notEquals: "notEquals";
|
|
234
|
+
contains: "contains";
|
|
235
|
+
}>;
|
|
236
|
+
name: z.ZodString;
|
|
237
|
+
}, z.core.$strip>>>;
|
|
94
238
|
type: z.ZodLiteral<"daterange">;
|
|
95
239
|
defaultValue: z.ZodOptional<z.ZodObject<{
|
|
96
240
|
from: z.ZodString;
|
|
@@ -268,11 +412,29 @@ export declare const MANIFEST_SCHEMA: z.ZodObject<{
|
|
|
268
412
|
}, z.core.$strip>], "type">;
|
|
269
413
|
filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
270
414
|
id: z.ZodString;
|
|
415
|
+
name: z.ZodString;
|
|
271
416
|
query: z.ZodString;
|
|
417
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
418
|
+
type: z.ZodEnum<{
|
|
419
|
+
equals: "equals";
|
|
420
|
+
notEquals: "notEquals";
|
|
421
|
+
contains: "contains";
|
|
422
|
+
}>;
|
|
423
|
+
name: z.ZodString;
|
|
424
|
+
}, z.core.$strip>>>;
|
|
272
425
|
type: z.ZodLiteral<"search">;
|
|
273
426
|
}, z.core.$strip>, z.ZodObject<{
|
|
274
427
|
id: z.ZodString;
|
|
428
|
+
name: z.ZodString;
|
|
275
429
|
query: z.ZodString;
|
|
430
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
431
|
+
type: z.ZodEnum<{
|
|
432
|
+
equals: "equals";
|
|
433
|
+
notEquals: "notEquals";
|
|
434
|
+
contains: "contains";
|
|
435
|
+
}>;
|
|
436
|
+
name: z.ZodString;
|
|
437
|
+
}, z.core.$strip>>>;
|
|
276
438
|
type: z.ZodLiteral<"multiselect">;
|
|
277
439
|
options: z.ZodArray<z.ZodObject<{
|
|
278
440
|
id: z.ZodString;
|
|
@@ -281,14 +443,45 @@ export declare const MANIFEST_SCHEMA: z.ZodObject<{
|
|
|
281
443
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
282
444
|
}, z.core.$strip>, z.ZodObject<{
|
|
283
445
|
id: z.ZodString;
|
|
446
|
+
name: z.ZodString;
|
|
447
|
+
query: z.ZodString;
|
|
448
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
449
|
+
type: z.ZodEnum<{
|
|
450
|
+
equals: "equals";
|
|
451
|
+
notEquals: "notEquals";
|
|
452
|
+
contains: "contains";
|
|
453
|
+
}>;
|
|
454
|
+
name: z.ZodString;
|
|
455
|
+
}, z.core.$strip>>>;
|
|
456
|
+
type: z.ZodLiteral<"text">;
|
|
457
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
458
|
+
id: z.ZodString;
|
|
459
|
+
name: z.ZodString;
|
|
284
460
|
query: z.ZodString;
|
|
461
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
462
|
+
type: z.ZodEnum<{
|
|
463
|
+
equals: "equals";
|
|
464
|
+
notEquals: "notEquals";
|
|
465
|
+
contains: "contains";
|
|
466
|
+
}>;
|
|
467
|
+
name: z.ZodString;
|
|
468
|
+
}, z.core.$strip>>>;
|
|
285
469
|
type: z.ZodLiteral<"async-multiselect">;
|
|
286
470
|
constraintQuery: z.ZodOptional<z.ZodString>;
|
|
287
471
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
288
472
|
dependsOn: z.ZodOptional<z.ZodString>;
|
|
289
473
|
}, z.core.$strip>, z.ZodObject<{
|
|
290
474
|
id: z.ZodString;
|
|
475
|
+
name: z.ZodString;
|
|
291
476
|
query: z.ZodString;
|
|
477
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
478
|
+
type: z.ZodEnum<{
|
|
479
|
+
equals: "equals";
|
|
480
|
+
notEquals: "notEquals";
|
|
481
|
+
contains: "contains";
|
|
482
|
+
}>;
|
|
483
|
+
name: z.ZodString;
|
|
484
|
+
}, z.core.$strip>>>;
|
|
292
485
|
type: z.ZodLiteral<"select">;
|
|
293
486
|
options: z.ZodArray<z.ZodObject<{
|
|
294
487
|
id: z.ZodString;
|
|
@@ -297,13 +490,31 @@ export declare const MANIFEST_SCHEMA: z.ZodObject<{
|
|
|
297
490
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
298
491
|
}, z.core.$strip>, z.ZodObject<{
|
|
299
492
|
id: z.ZodString;
|
|
493
|
+
name: z.ZodString;
|
|
300
494
|
query: z.ZodString;
|
|
495
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
496
|
+
type: z.ZodEnum<{
|
|
497
|
+
equals: "equals";
|
|
498
|
+
notEquals: "notEquals";
|
|
499
|
+
contains: "contains";
|
|
500
|
+
}>;
|
|
501
|
+
name: z.ZodString;
|
|
502
|
+
}, z.core.$strip>>>;
|
|
301
503
|
type: z.ZodLiteral<"async-select">;
|
|
302
504
|
constraintQuery: z.ZodOptional<z.ZodString>;
|
|
303
505
|
dependsOn: z.ZodOptional<z.ZodString>;
|
|
304
506
|
}, z.core.$strip>, z.ZodObject<{
|
|
305
507
|
id: z.ZodString;
|
|
508
|
+
name: z.ZodString;
|
|
306
509
|
query: z.ZodString;
|
|
510
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
511
|
+
type: z.ZodEnum<{
|
|
512
|
+
equals: "equals";
|
|
513
|
+
notEquals: "notEquals";
|
|
514
|
+
contains: "contains";
|
|
515
|
+
}>;
|
|
516
|
+
name: z.ZodString;
|
|
517
|
+
}, z.core.$strip>>>;
|
|
307
518
|
type: z.ZodLiteral<"daterange">;
|
|
308
519
|
defaultValue: z.ZodOptional<z.ZodObject<{
|
|
309
520
|
from: z.ZodString;
|
|
@@ -358,11 +569,29 @@ export declare const MANIFESTS_BY_MODE_SCHEMA: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
358
569
|
}, z.core.$strip>], "type">;
|
|
359
570
|
filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
360
571
|
id: z.ZodString;
|
|
572
|
+
name: z.ZodString;
|
|
361
573
|
query: z.ZodString;
|
|
574
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
575
|
+
type: z.ZodEnum<{
|
|
576
|
+
equals: "equals";
|
|
577
|
+
notEquals: "notEquals";
|
|
578
|
+
contains: "contains";
|
|
579
|
+
}>;
|
|
580
|
+
name: z.ZodString;
|
|
581
|
+
}, z.core.$strip>>>;
|
|
362
582
|
type: z.ZodLiteral<"search">;
|
|
363
583
|
}, z.core.$strip>, z.ZodObject<{
|
|
364
584
|
id: z.ZodString;
|
|
585
|
+
name: z.ZodString;
|
|
365
586
|
query: z.ZodString;
|
|
587
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
588
|
+
type: z.ZodEnum<{
|
|
589
|
+
equals: "equals";
|
|
590
|
+
notEquals: "notEquals";
|
|
591
|
+
contains: "contains";
|
|
592
|
+
}>;
|
|
593
|
+
name: z.ZodString;
|
|
594
|
+
}, z.core.$strip>>>;
|
|
366
595
|
type: z.ZodLiteral<"multiselect">;
|
|
367
596
|
options: z.ZodArray<z.ZodObject<{
|
|
368
597
|
id: z.ZodString;
|
|
@@ -371,14 +600,45 @@ export declare const MANIFESTS_BY_MODE_SCHEMA: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
371
600
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
372
601
|
}, z.core.$strip>, z.ZodObject<{
|
|
373
602
|
id: z.ZodString;
|
|
603
|
+
name: z.ZodString;
|
|
604
|
+
query: z.ZodString;
|
|
605
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
606
|
+
type: z.ZodEnum<{
|
|
607
|
+
equals: "equals";
|
|
608
|
+
notEquals: "notEquals";
|
|
609
|
+
contains: "contains";
|
|
610
|
+
}>;
|
|
611
|
+
name: z.ZodString;
|
|
612
|
+
}, z.core.$strip>>>;
|
|
613
|
+
type: z.ZodLiteral<"text">;
|
|
614
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
615
|
+
id: z.ZodString;
|
|
616
|
+
name: z.ZodString;
|
|
374
617
|
query: z.ZodString;
|
|
618
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
619
|
+
type: z.ZodEnum<{
|
|
620
|
+
equals: "equals";
|
|
621
|
+
notEquals: "notEquals";
|
|
622
|
+
contains: "contains";
|
|
623
|
+
}>;
|
|
624
|
+
name: z.ZodString;
|
|
625
|
+
}, z.core.$strip>>>;
|
|
375
626
|
type: z.ZodLiteral<"async-multiselect">;
|
|
376
627
|
constraintQuery: z.ZodOptional<z.ZodString>;
|
|
377
628
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
378
629
|
dependsOn: z.ZodOptional<z.ZodString>;
|
|
379
630
|
}, z.core.$strip>, z.ZodObject<{
|
|
380
631
|
id: z.ZodString;
|
|
632
|
+
name: z.ZodString;
|
|
381
633
|
query: z.ZodString;
|
|
634
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
635
|
+
type: z.ZodEnum<{
|
|
636
|
+
equals: "equals";
|
|
637
|
+
notEquals: "notEquals";
|
|
638
|
+
contains: "contains";
|
|
639
|
+
}>;
|
|
640
|
+
name: z.ZodString;
|
|
641
|
+
}, z.core.$strip>>>;
|
|
382
642
|
type: z.ZodLiteral<"select">;
|
|
383
643
|
options: z.ZodArray<z.ZodObject<{
|
|
384
644
|
id: z.ZodString;
|
|
@@ -387,13 +647,31 @@ export declare const MANIFESTS_BY_MODE_SCHEMA: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
387
647
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
388
648
|
}, z.core.$strip>, z.ZodObject<{
|
|
389
649
|
id: z.ZodString;
|
|
650
|
+
name: z.ZodString;
|
|
390
651
|
query: z.ZodString;
|
|
652
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
653
|
+
type: z.ZodEnum<{
|
|
654
|
+
equals: "equals";
|
|
655
|
+
notEquals: "notEquals";
|
|
656
|
+
contains: "contains";
|
|
657
|
+
}>;
|
|
658
|
+
name: z.ZodString;
|
|
659
|
+
}, z.core.$strip>>>;
|
|
391
660
|
type: z.ZodLiteral<"async-select">;
|
|
392
661
|
constraintQuery: z.ZodOptional<z.ZodString>;
|
|
393
662
|
dependsOn: z.ZodOptional<z.ZodString>;
|
|
394
663
|
}, z.core.$strip>, z.ZodObject<{
|
|
395
664
|
id: z.ZodString;
|
|
665
|
+
name: z.ZodString;
|
|
396
666
|
query: z.ZodString;
|
|
667
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
668
|
+
type: z.ZodEnum<{
|
|
669
|
+
equals: "equals";
|
|
670
|
+
notEquals: "notEquals";
|
|
671
|
+
contains: "contains";
|
|
672
|
+
}>;
|
|
673
|
+
name: z.ZodString;
|
|
674
|
+
}, z.core.$strip>>>;
|
|
397
675
|
type: z.ZodLiteral<"daterange">;
|
|
398
676
|
defaultValue: z.ZodOptional<z.ZodObject<{
|
|
399
677
|
from: z.ZodString;
|
|
@@ -450,11 +728,29 @@ export declare const MANIFEST_MODES_CONFIG: z.ZodObject<{
|
|
|
450
728
|
}, z.core.$strip>], "type">;
|
|
451
729
|
filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
452
730
|
id: z.ZodString;
|
|
731
|
+
name: z.ZodString;
|
|
453
732
|
query: z.ZodString;
|
|
733
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
734
|
+
type: z.ZodEnum<{
|
|
735
|
+
equals: "equals";
|
|
736
|
+
notEquals: "notEquals";
|
|
737
|
+
contains: "contains";
|
|
738
|
+
}>;
|
|
739
|
+
name: z.ZodString;
|
|
740
|
+
}, z.core.$strip>>>;
|
|
454
741
|
type: z.ZodLiteral<"search">;
|
|
455
742
|
}, z.core.$strip>, z.ZodObject<{
|
|
456
743
|
id: z.ZodString;
|
|
744
|
+
name: z.ZodString;
|
|
457
745
|
query: z.ZodString;
|
|
746
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
747
|
+
type: z.ZodEnum<{
|
|
748
|
+
equals: "equals";
|
|
749
|
+
notEquals: "notEquals";
|
|
750
|
+
contains: "contains";
|
|
751
|
+
}>;
|
|
752
|
+
name: z.ZodString;
|
|
753
|
+
}, z.core.$strip>>>;
|
|
458
754
|
type: z.ZodLiteral<"multiselect">;
|
|
459
755
|
options: z.ZodArray<z.ZodObject<{
|
|
460
756
|
id: z.ZodString;
|
|
@@ -463,14 +759,45 @@ export declare const MANIFEST_MODES_CONFIG: z.ZodObject<{
|
|
|
463
759
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
464
760
|
}, z.core.$strip>, z.ZodObject<{
|
|
465
761
|
id: z.ZodString;
|
|
762
|
+
name: z.ZodString;
|
|
466
763
|
query: z.ZodString;
|
|
764
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
765
|
+
type: z.ZodEnum<{
|
|
766
|
+
equals: "equals";
|
|
767
|
+
notEquals: "notEquals";
|
|
768
|
+
contains: "contains";
|
|
769
|
+
}>;
|
|
770
|
+
name: z.ZodString;
|
|
771
|
+
}, z.core.$strip>>>;
|
|
772
|
+
type: z.ZodLiteral<"text">;
|
|
773
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
774
|
+
id: z.ZodString;
|
|
775
|
+
name: z.ZodString;
|
|
776
|
+
query: z.ZodString;
|
|
777
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
778
|
+
type: z.ZodEnum<{
|
|
779
|
+
equals: "equals";
|
|
780
|
+
notEquals: "notEquals";
|
|
781
|
+
contains: "contains";
|
|
782
|
+
}>;
|
|
783
|
+
name: z.ZodString;
|
|
784
|
+
}, z.core.$strip>>>;
|
|
467
785
|
type: z.ZodLiteral<"async-multiselect">;
|
|
468
786
|
constraintQuery: z.ZodOptional<z.ZodString>;
|
|
469
787
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
470
788
|
dependsOn: z.ZodOptional<z.ZodString>;
|
|
471
789
|
}, z.core.$strip>, z.ZodObject<{
|
|
472
790
|
id: z.ZodString;
|
|
791
|
+
name: z.ZodString;
|
|
473
792
|
query: z.ZodString;
|
|
793
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
794
|
+
type: z.ZodEnum<{
|
|
795
|
+
equals: "equals";
|
|
796
|
+
notEquals: "notEquals";
|
|
797
|
+
contains: "contains";
|
|
798
|
+
}>;
|
|
799
|
+
name: z.ZodString;
|
|
800
|
+
}, z.core.$strip>>>;
|
|
474
801
|
type: z.ZodLiteral<"select">;
|
|
475
802
|
options: z.ZodArray<z.ZodObject<{
|
|
476
803
|
id: z.ZodString;
|
|
@@ -479,13 +806,31 @@ export declare const MANIFEST_MODES_CONFIG: z.ZodObject<{
|
|
|
479
806
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
480
807
|
}, z.core.$strip>, z.ZodObject<{
|
|
481
808
|
id: z.ZodString;
|
|
809
|
+
name: z.ZodString;
|
|
482
810
|
query: z.ZodString;
|
|
811
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
812
|
+
type: z.ZodEnum<{
|
|
813
|
+
equals: "equals";
|
|
814
|
+
notEquals: "notEquals";
|
|
815
|
+
contains: "contains";
|
|
816
|
+
}>;
|
|
817
|
+
name: z.ZodString;
|
|
818
|
+
}, z.core.$strip>>>;
|
|
483
819
|
type: z.ZodLiteral<"async-select">;
|
|
484
820
|
constraintQuery: z.ZodOptional<z.ZodString>;
|
|
485
821
|
dependsOn: z.ZodOptional<z.ZodString>;
|
|
486
822
|
}, z.core.$strip>, z.ZodObject<{
|
|
487
823
|
id: z.ZodString;
|
|
824
|
+
name: z.ZodString;
|
|
488
825
|
query: z.ZodString;
|
|
826
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
827
|
+
type: z.ZodEnum<{
|
|
828
|
+
equals: "equals";
|
|
829
|
+
notEquals: "notEquals";
|
|
830
|
+
contains: "contains";
|
|
831
|
+
}>;
|
|
832
|
+
name: z.ZodString;
|
|
833
|
+
}, z.core.$strip>>>;
|
|
489
834
|
type: z.ZodLiteral<"daterange">;
|
|
490
835
|
defaultValue: z.ZodOptional<z.ZodObject<{
|
|
491
836
|
from: z.ZodString;
|
|
@@ -544,11 +889,29 @@ export declare const GET_MANIFEST_RESPONSE: z.ZodObject<{
|
|
|
544
889
|
}, z.core.$strip>], "type">;
|
|
545
890
|
filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
546
891
|
id: z.ZodString;
|
|
892
|
+
name: z.ZodString;
|
|
547
893
|
query: z.ZodString;
|
|
894
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
895
|
+
type: z.ZodEnum<{
|
|
896
|
+
equals: "equals";
|
|
897
|
+
notEquals: "notEquals";
|
|
898
|
+
contains: "contains";
|
|
899
|
+
}>;
|
|
900
|
+
name: z.ZodString;
|
|
901
|
+
}, z.core.$strip>>>;
|
|
548
902
|
type: z.ZodLiteral<"search">;
|
|
549
903
|
}, z.core.$strip>, z.ZodObject<{
|
|
550
904
|
id: z.ZodString;
|
|
905
|
+
name: z.ZodString;
|
|
551
906
|
query: z.ZodString;
|
|
907
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
908
|
+
type: z.ZodEnum<{
|
|
909
|
+
equals: "equals";
|
|
910
|
+
notEquals: "notEquals";
|
|
911
|
+
contains: "contains";
|
|
912
|
+
}>;
|
|
913
|
+
name: z.ZodString;
|
|
914
|
+
}, z.core.$strip>>>;
|
|
552
915
|
type: z.ZodLiteral<"multiselect">;
|
|
553
916
|
options: z.ZodArray<z.ZodObject<{
|
|
554
917
|
id: z.ZodString;
|
|
@@ -557,14 +920,45 @@ export declare const GET_MANIFEST_RESPONSE: z.ZodObject<{
|
|
|
557
920
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
558
921
|
}, z.core.$strip>, z.ZodObject<{
|
|
559
922
|
id: z.ZodString;
|
|
923
|
+
name: z.ZodString;
|
|
924
|
+
query: z.ZodString;
|
|
925
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
926
|
+
type: z.ZodEnum<{
|
|
927
|
+
equals: "equals";
|
|
928
|
+
notEquals: "notEquals";
|
|
929
|
+
contains: "contains";
|
|
930
|
+
}>;
|
|
931
|
+
name: z.ZodString;
|
|
932
|
+
}, z.core.$strip>>>;
|
|
933
|
+
type: z.ZodLiteral<"text">;
|
|
934
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
935
|
+
id: z.ZodString;
|
|
936
|
+
name: z.ZodString;
|
|
560
937
|
query: z.ZodString;
|
|
938
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
939
|
+
type: z.ZodEnum<{
|
|
940
|
+
equals: "equals";
|
|
941
|
+
notEquals: "notEquals";
|
|
942
|
+
contains: "contains";
|
|
943
|
+
}>;
|
|
944
|
+
name: z.ZodString;
|
|
945
|
+
}, z.core.$strip>>>;
|
|
561
946
|
type: z.ZodLiteral<"async-multiselect">;
|
|
562
947
|
constraintQuery: z.ZodOptional<z.ZodString>;
|
|
563
948
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
564
949
|
dependsOn: z.ZodOptional<z.ZodString>;
|
|
565
950
|
}, z.core.$strip>, z.ZodObject<{
|
|
566
951
|
id: z.ZodString;
|
|
952
|
+
name: z.ZodString;
|
|
567
953
|
query: z.ZodString;
|
|
954
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
955
|
+
type: z.ZodEnum<{
|
|
956
|
+
equals: "equals";
|
|
957
|
+
notEquals: "notEquals";
|
|
958
|
+
contains: "contains";
|
|
959
|
+
}>;
|
|
960
|
+
name: z.ZodString;
|
|
961
|
+
}, z.core.$strip>>>;
|
|
568
962
|
type: z.ZodLiteral<"select">;
|
|
569
963
|
options: z.ZodArray<z.ZodObject<{
|
|
570
964
|
id: z.ZodString;
|
|
@@ -573,13 +967,31 @@ export declare const GET_MANIFEST_RESPONSE: z.ZodObject<{
|
|
|
573
967
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
574
968
|
}, z.core.$strip>, z.ZodObject<{
|
|
575
969
|
id: z.ZodString;
|
|
970
|
+
name: z.ZodString;
|
|
576
971
|
query: z.ZodString;
|
|
972
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
973
|
+
type: z.ZodEnum<{
|
|
974
|
+
equals: "equals";
|
|
975
|
+
notEquals: "notEquals";
|
|
976
|
+
contains: "contains";
|
|
977
|
+
}>;
|
|
978
|
+
name: z.ZodString;
|
|
979
|
+
}, z.core.$strip>>>;
|
|
577
980
|
type: z.ZodLiteral<"async-select">;
|
|
578
981
|
constraintQuery: z.ZodOptional<z.ZodString>;
|
|
579
982
|
dependsOn: z.ZodOptional<z.ZodString>;
|
|
580
983
|
}, z.core.$strip>, z.ZodObject<{
|
|
581
984
|
id: z.ZodString;
|
|
985
|
+
name: z.ZodString;
|
|
582
986
|
query: z.ZodString;
|
|
987
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
988
|
+
type: z.ZodEnum<{
|
|
989
|
+
equals: "equals";
|
|
990
|
+
notEquals: "notEquals";
|
|
991
|
+
contains: "contains";
|
|
992
|
+
}>;
|
|
993
|
+
name: z.ZodString;
|
|
994
|
+
}, z.core.$strip>>>;
|
|
583
995
|
type: z.ZodLiteral<"daterange">;
|
|
584
996
|
defaultValue: z.ZodOptional<z.ZodObject<{
|
|
585
997
|
from: z.ZodString;
|
|
@@ -638,11 +1050,29 @@ export declare const getManifestContract: import("@lokalise/api-contracts").GetR
|
|
|
638
1050
|
}, z.core.$strip>], "type">;
|
|
639
1051
|
filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
640
1052
|
id: z.ZodString;
|
|
1053
|
+
name: z.ZodString;
|
|
641
1054
|
query: z.ZodString;
|
|
1055
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1056
|
+
type: z.ZodEnum<{
|
|
1057
|
+
equals: "equals";
|
|
1058
|
+
notEquals: "notEquals";
|
|
1059
|
+
contains: "contains";
|
|
1060
|
+
}>;
|
|
1061
|
+
name: z.ZodString;
|
|
1062
|
+
}, z.core.$strip>>>;
|
|
642
1063
|
type: z.ZodLiteral<"search">;
|
|
643
1064
|
}, z.core.$strip>, z.ZodObject<{
|
|
644
1065
|
id: z.ZodString;
|
|
1066
|
+
name: z.ZodString;
|
|
645
1067
|
query: z.ZodString;
|
|
1068
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1069
|
+
type: z.ZodEnum<{
|
|
1070
|
+
equals: "equals";
|
|
1071
|
+
notEquals: "notEquals";
|
|
1072
|
+
contains: "contains";
|
|
1073
|
+
}>;
|
|
1074
|
+
name: z.ZodString;
|
|
1075
|
+
}, z.core.$strip>>>;
|
|
646
1076
|
type: z.ZodLiteral<"multiselect">;
|
|
647
1077
|
options: z.ZodArray<z.ZodObject<{
|
|
648
1078
|
id: z.ZodString;
|
|
@@ -651,14 +1081,45 @@ export declare const getManifestContract: import("@lokalise/api-contracts").GetR
|
|
|
651
1081
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
652
1082
|
}, z.core.$strip>, z.ZodObject<{
|
|
653
1083
|
id: z.ZodString;
|
|
1084
|
+
name: z.ZodString;
|
|
1085
|
+
query: z.ZodString;
|
|
1086
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1087
|
+
type: z.ZodEnum<{
|
|
1088
|
+
equals: "equals";
|
|
1089
|
+
notEquals: "notEquals";
|
|
1090
|
+
contains: "contains";
|
|
1091
|
+
}>;
|
|
1092
|
+
name: z.ZodString;
|
|
1093
|
+
}, z.core.$strip>>>;
|
|
1094
|
+
type: z.ZodLiteral<"text">;
|
|
1095
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1096
|
+
id: z.ZodString;
|
|
1097
|
+
name: z.ZodString;
|
|
654
1098
|
query: z.ZodString;
|
|
1099
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1100
|
+
type: z.ZodEnum<{
|
|
1101
|
+
equals: "equals";
|
|
1102
|
+
notEquals: "notEquals";
|
|
1103
|
+
contains: "contains";
|
|
1104
|
+
}>;
|
|
1105
|
+
name: z.ZodString;
|
|
1106
|
+
}, z.core.$strip>>>;
|
|
655
1107
|
type: z.ZodLiteral<"async-multiselect">;
|
|
656
1108
|
constraintQuery: z.ZodOptional<z.ZodString>;
|
|
657
1109
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
658
1110
|
dependsOn: z.ZodOptional<z.ZodString>;
|
|
659
1111
|
}, z.core.$strip>, z.ZodObject<{
|
|
660
1112
|
id: z.ZodString;
|
|
1113
|
+
name: z.ZodString;
|
|
661
1114
|
query: z.ZodString;
|
|
1115
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1116
|
+
type: z.ZodEnum<{
|
|
1117
|
+
equals: "equals";
|
|
1118
|
+
notEquals: "notEquals";
|
|
1119
|
+
contains: "contains";
|
|
1120
|
+
}>;
|
|
1121
|
+
name: z.ZodString;
|
|
1122
|
+
}, z.core.$strip>>>;
|
|
662
1123
|
type: z.ZodLiteral<"select">;
|
|
663
1124
|
options: z.ZodArray<z.ZodObject<{
|
|
664
1125
|
id: z.ZodString;
|
|
@@ -667,13 +1128,31 @@ export declare const getManifestContract: import("@lokalise/api-contracts").GetR
|
|
|
667
1128
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
668
1129
|
}, z.core.$strip>, z.ZodObject<{
|
|
669
1130
|
id: z.ZodString;
|
|
1131
|
+
name: z.ZodString;
|
|
670
1132
|
query: z.ZodString;
|
|
1133
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1134
|
+
type: z.ZodEnum<{
|
|
1135
|
+
equals: "equals";
|
|
1136
|
+
notEquals: "notEquals";
|
|
1137
|
+
contains: "contains";
|
|
1138
|
+
}>;
|
|
1139
|
+
name: z.ZodString;
|
|
1140
|
+
}, z.core.$strip>>>;
|
|
671
1141
|
type: z.ZodLiteral<"async-select">;
|
|
672
1142
|
constraintQuery: z.ZodOptional<z.ZodString>;
|
|
673
1143
|
dependsOn: z.ZodOptional<z.ZodString>;
|
|
674
1144
|
}, z.core.$strip>, z.ZodObject<{
|
|
675
1145
|
id: z.ZodString;
|
|
1146
|
+
name: z.ZodString;
|
|
676
1147
|
query: z.ZodString;
|
|
1148
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1149
|
+
type: z.ZodEnum<{
|
|
1150
|
+
equals: "equals";
|
|
1151
|
+
notEquals: "notEquals";
|
|
1152
|
+
contains: "contains";
|
|
1153
|
+
}>;
|
|
1154
|
+
name: z.ZodString;
|
|
1155
|
+
}, z.core.$strip>>>;
|
|
677
1156
|
type: z.ZodLiteral<"daterange">;
|
|
678
1157
|
defaultValue: z.ZodOptional<z.ZodObject<{
|
|
679
1158
|
from: z.ZodString;
|
|
@@ -735,11 +1214,29 @@ export declare const getManifestContract: import("@lokalise/api-contracts").GetR
|
|
|
735
1214
|
}, z.core.$strip>], "type">;
|
|
736
1215
|
filters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
737
1216
|
id: z.ZodString;
|
|
1217
|
+
name: z.ZodString;
|
|
738
1218
|
query: z.ZodString;
|
|
1219
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1220
|
+
type: z.ZodEnum<{
|
|
1221
|
+
equals: "equals";
|
|
1222
|
+
notEquals: "notEquals";
|
|
1223
|
+
contains: "contains";
|
|
1224
|
+
}>;
|
|
1225
|
+
name: z.ZodString;
|
|
1226
|
+
}, z.core.$strip>>>;
|
|
739
1227
|
type: z.ZodLiteral<"search">;
|
|
740
1228
|
}, z.core.$strip>, z.ZodObject<{
|
|
741
1229
|
id: z.ZodString;
|
|
1230
|
+
name: z.ZodString;
|
|
742
1231
|
query: z.ZodString;
|
|
1232
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1233
|
+
type: z.ZodEnum<{
|
|
1234
|
+
equals: "equals";
|
|
1235
|
+
notEquals: "notEquals";
|
|
1236
|
+
contains: "contains";
|
|
1237
|
+
}>;
|
|
1238
|
+
name: z.ZodString;
|
|
1239
|
+
}, z.core.$strip>>>;
|
|
743
1240
|
type: z.ZodLiteral<"multiselect">;
|
|
744
1241
|
options: z.ZodArray<z.ZodObject<{
|
|
745
1242
|
id: z.ZodString;
|
|
@@ -748,14 +1245,45 @@ export declare const getManifestContract: import("@lokalise/api-contracts").GetR
|
|
|
748
1245
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
749
1246
|
}, z.core.$strip>, z.ZodObject<{
|
|
750
1247
|
id: z.ZodString;
|
|
1248
|
+
name: z.ZodString;
|
|
1249
|
+
query: z.ZodString;
|
|
1250
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1251
|
+
type: z.ZodEnum<{
|
|
1252
|
+
equals: "equals";
|
|
1253
|
+
notEquals: "notEquals";
|
|
1254
|
+
contains: "contains";
|
|
1255
|
+
}>;
|
|
1256
|
+
name: z.ZodString;
|
|
1257
|
+
}, z.core.$strip>>>;
|
|
1258
|
+
type: z.ZodLiteral<"text">;
|
|
1259
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1260
|
+
id: z.ZodString;
|
|
1261
|
+
name: z.ZodString;
|
|
751
1262
|
query: z.ZodString;
|
|
1263
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1264
|
+
type: z.ZodEnum<{
|
|
1265
|
+
equals: "equals";
|
|
1266
|
+
notEquals: "notEquals";
|
|
1267
|
+
contains: "contains";
|
|
1268
|
+
}>;
|
|
1269
|
+
name: z.ZodString;
|
|
1270
|
+
}, z.core.$strip>>>;
|
|
752
1271
|
type: z.ZodLiteral<"async-multiselect">;
|
|
753
1272
|
constraintQuery: z.ZodOptional<z.ZodString>;
|
|
754
1273
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
755
1274
|
dependsOn: z.ZodOptional<z.ZodString>;
|
|
756
1275
|
}, z.core.$strip>, z.ZodObject<{
|
|
757
1276
|
id: z.ZodString;
|
|
1277
|
+
name: z.ZodString;
|
|
758
1278
|
query: z.ZodString;
|
|
1279
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1280
|
+
type: z.ZodEnum<{
|
|
1281
|
+
equals: "equals";
|
|
1282
|
+
notEquals: "notEquals";
|
|
1283
|
+
contains: "contains";
|
|
1284
|
+
}>;
|
|
1285
|
+
name: z.ZodString;
|
|
1286
|
+
}, z.core.$strip>>>;
|
|
759
1287
|
type: z.ZodLiteral<"select">;
|
|
760
1288
|
options: z.ZodArray<z.ZodObject<{
|
|
761
1289
|
id: z.ZodString;
|
|
@@ -764,13 +1292,31 @@ export declare const getManifestContract: import("@lokalise/api-contracts").GetR
|
|
|
764
1292
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
765
1293
|
}, z.core.$strip>, z.ZodObject<{
|
|
766
1294
|
id: z.ZodString;
|
|
1295
|
+
name: z.ZodString;
|
|
767
1296
|
query: z.ZodString;
|
|
1297
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1298
|
+
type: z.ZodEnum<{
|
|
1299
|
+
equals: "equals";
|
|
1300
|
+
notEquals: "notEquals";
|
|
1301
|
+
contains: "contains";
|
|
1302
|
+
}>;
|
|
1303
|
+
name: z.ZodString;
|
|
1304
|
+
}, z.core.$strip>>>;
|
|
768
1305
|
type: z.ZodLiteral<"async-select">;
|
|
769
1306
|
constraintQuery: z.ZodOptional<z.ZodString>;
|
|
770
1307
|
dependsOn: z.ZodOptional<z.ZodString>;
|
|
771
1308
|
}, z.core.$strip>, z.ZodObject<{
|
|
772
1309
|
id: z.ZodString;
|
|
1310
|
+
name: z.ZodString;
|
|
773
1311
|
query: z.ZodString;
|
|
1312
|
+
clauses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1313
|
+
type: z.ZodEnum<{
|
|
1314
|
+
equals: "equals";
|
|
1315
|
+
notEquals: "notEquals";
|
|
1316
|
+
contains: "contains";
|
|
1317
|
+
}>;
|
|
1318
|
+
name: z.ZodString;
|
|
1319
|
+
}, z.core.$strip>>>;
|
|
774
1320
|
type: z.ZodLiteral<"daterange">;
|
|
775
1321
|
defaultValue: z.ZodOptional<z.ZodObject<{
|
|
776
1322
|
from: z.ZodString;
|
|
@@ -5,12 +5,21 @@ export const MANIFEST_FILTER_OPTION_SCHEMA = z.object({
|
|
|
5
5
|
id: z.string(),
|
|
6
6
|
name: z.string(),
|
|
7
7
|
});
|
|
8
|
+
export const FILTER_CLAUSE = z.object({
|
|
9
|
+
type: z.enum(['equals', 'notEquals', 'contains']),
|
|
10
|
+
name: z.string(),
|
|
11
|
+
});
|
|
8
12
|
const BASE_FILTER_SCHEMA = z.object({
|
|
9
13
|
id: z.string(),
|
|
14
|
+
name: z.string(),
|
|
10
15
|
query: z.string(),
|
|
16
|
+
clauses: z.array(FILTER_CLAUSE).optional().describe('Clauses for compatibility with expert.'),
|
|
11
17
|
});
|
|
12
18
|
export const SEARCH_FILTER_SCHEMA = BASE_FILTER_SCHEMA.extend({
|
|
13
19
|
type: z.literal('search'),
|
|
20
|
+
}).describe('Represents explicit global search box on a page. Should be only one within the filter definitions.');
|
|
21
|
+
export const TEXT_FILTER_SCHEMA = BASE_FILTER_SCHEMA.extend({
|
|
22
|
+
type: z.literal('text'),
|
|
14
23
|
});
|
|
15
24
|
export const MULTISELECT_FILTER_SCHEMA = BASE_FILTER_SCHEMA.extend({
|
|
16
25
|
type: z.literal('multiselect'),
|
|
@@ -45,6 +54,7 @@ export const DATERANGE_FILTER_SCHEMA = BASE_FILTER_SCHEMA.extend({
|
|
|
45
54
|
export const MANIFEST_FILTER_SCHEMA = z.discriminatedUnion('type', [
|
|
46
55
|
SEARCH_FILTER_SCHEMA,
|
|
47
56
|
MULTISELECT_FILTER_SCHEMA,
|
|
57
|
+
TEXT_FILTER_SCHEMA,
|
|
48
58
|
ASYNC_MULTISELECT_FILTER_SCHEMA,
|
|
49
59
|
SELECT_FILTER_SCHEMA,
|
|
50
60
|
ASYNC_SELECT_FILTER_SCHEMA,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifestContracts.js","sourceRoot":"","sources":["../../src/contracts/manifestContracts.ts"],"names":[],"mappings":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