@restura/core 0.1.3 → 0.2.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.
package/dist/index.d.mts CHANGED
@@ -200,7 +200,7 @@ type ResturaConfigSchema = z.infer<typeof resturaConfigSchema>;
200
200
  declare const whereDataSchema: z.ZodObject<{
201
201
  tableName: z.ZodOptional<z.ZodString>;
202
202
  columnName: z.ZodOptional<z.ZodString>;
203
- operator: z.ZodOptional<z.ZodEnum<["=", "<", ">", "<=", ">=", "!=", "LIKE", "IN", "NOT IN", "STARTS WITH", "ENDS WITH", "IS", "IS NOT"]>>;
203
+ operator: z.ZodOptional<z.ZodEnum<["=", "<", ">", "<=", ">=", "!=", "LIKE", "NOT LIKE", "IN", "NOT IN", "STARTS WITH", "ENDS WITH", "IS", "IS NOT"]>>;
204
204
  value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
205
205
  custom: z.ZodOptional<z.ZodString>;
206
206
  conjunction: z.ZodOptional<z.ZodEnum<["AND", "OR"]>>;
@@ -209,14 +209,14 @@ declare const whereDataSchema: z.ZodObject<{
209
209
  custom?: string | undefined;
210
210
  tableName?: string | undefined;
211
211
  columnName?: string | undefined;
212
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
212
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
213
213
  conjunction?: "AND" | "OR" | undefined;
214
214
  }, {
215
215
  value?: string | number | undefined;
216
216
  custom?: string | undefined;
217
217
  tableName?: string | undefined;
218
218
  columnName?: string | undefined;
219
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
219
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
220
220
  conjunction?: "AND" | "OR" | undefined;
221
221
  }>;
222
222
  type WhereData = z.infer<typeof whereDataSchema>;
@@ -273,7 +273,7 @@ declare const responseDataSchema: z.ZodObject<{
273
273
  where: z.ZodArray<z.ZodObject<{
274
274
  tableName: z.ZodOptional<z.ZodString>;
275
275
  columnName: z.ZodOptional<z.ZodString>;
276
- operator: z.ZodOptional<z.ZodEnum<["=", "<", ">", "<=", ">=", "!=", "LIKE", "IN", "NOT IN", "STARTS WITH", "ENDS WITH", "IS", "IS NOT"]>>;
276
+ operator: z.ZodOptional<z.ZodEnum<["=", "<", ">", "<=", ">=", "!=", "LIKE", "NOT LIKE", "IN", "NOT IN", "STARTS WITH", "ENDS WITH", "IS", "IS NOT"]>>;
277
277
  value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
278
278
  custom: z.ZodOptional<z.ZodString>;
279
279
  conjunction: z.ZodOptional<z.ZodEnum<["AND", "OR"]>>;
@@ -282,14 +282,14 @@ declare const responseDataSchema: z.ZodObject<{
282
282
  custom?: string | undefined;
283
283
  tableName?: string | undefined;
284
284
  columnName?: string | undefined;
285
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
285
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
286
286
  conjunction?: "AND" | "OR" | undefined;
287
287
  }, {
288
288
  value?: string | number | undefined;
289
289
  custom?: string | undefined;
290
290
  tableName?: string | undefined;
291
291
  columnName?: string | undefined;
292
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
292
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
293
293
  conjunction?: "AND" | "OR" | undefined;
294
294
  }>, "many">;
295
295
  properties: z.ZodArray<z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>, "many">;
@@ -331,7 +331,7 @@ declare const responseDataSchema: z.ZodObject<{
331
331
  custom?: string | undefined;
332
332
  tableName?: string | undefined;
333
333
  columnName?: string | undefined;
334
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
334
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
335
335
  conjunction?: "AND" | "OR" | undefined;
336
336
  }[];
337
337
  properties: any[];
@@ -359,7 +359,7 @@ declare const responseDataSchema: z.ZodObject<{
359
359
  custom?: string | undefined;
360
360
  tableName?: string | undefined;
361
361
  columnName?: string | undefined;
362
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
362
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
363
363
  conjunction?: "AND" | "OR" | undefined;
364
364
  }[];
365
365
  properties: any[];
@@ -373,8 +373,10 @@ declare const responseDataSchema: z.ZodObject<{
373
373
  order: "ASC" | "DESC";
374
374
  } | undefined;
375
375
  }>>;
376
+ type: z.ZodOptional<z.ZodString>;
376
377
  }, "strict", z.ZodTypeAny, {
377
378
  name: string;
379
+ type?: string | undefined;
378
380
  selector?: string | undefined;
379
381
  subquery?: {
380
382
  table: string;
@@ -391,7 +393,7 @@ declare const responseDataSchema: z.ZodObject<{
391
393
  custom?: string | undefined;
392
394
  tableName?: string | undefined;
393
395
  columnName?: string | undefined;
394
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
396
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
395
397
  conjunction?: "AND" | "OR" | undefined;
396
398
  }[];
397
399
  properties: any[];
@@ -407,6 +409,7 @@ declare const responseDataSchema: z.ZodObject<{
407
409
  } | undefined;
408
410
  }, {
409
411
  name: string;
412
+ type?: string | undefined;
410
413
  selector?: string | undefined;
411
414
  subquery?: {
412
415
  table: string;
@@ -423,7 +426,7 @@ declare const responseDataSchema: z.ZodObject<{
423
426
  custom?: string | undefined;
424
427
  tableName?: string | undefined;
425
428
  columnName?: string | undefined;
426
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
429
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
427
430
  conjunction?: "AND" | "OR" | undefined;
428
431
  }[];
429
432
  properties: any[];
@@ -483,7 +486,7 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
483
486
  where: z.ZodArray<z.ZodObject<{
484
487
  tableName: z.ZodOptional<z.ZodString>;
485
488
  columnName: z.ZodOptional<z.ZodString>;
486
- operator: z.ZodOptional<z.ZodEnum<["=", "<", ">", "<=", ">=", "!=", "LIKE", "IN", "NOT IN", "STARTS WITH", "ENDS WITH", "IS", "IS NOT"]>>;
489
+ operator: z.ZodOptional<z.ZodEnum<["=", "<", ">", "<=", ">=", "!=", "LIKE", "NOT LIKE", "IN", "NOT IN", "STARTS WITH", "ENDS WITH", "IS", "IS NOT"]>>;
487
490
  value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
488
491
  custom: z.ZodOptional<z.ZodString>;
489
492
  conjunction: z.ZodOptional<z.ZodEnum<["AND", "OR"]>>;
@@ -492,14 +495,14 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
492
495
  custom?: string | undefined;
493
496
  tableName?: string | undefined;
494
497
  columnName?: string | undefined;
495
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
498
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
496
499
  conjunction?: "AND" | "OR" | undefined;
497
500
  }, {
498
501
  value?: string | number | undefined;
499
502
  custom?: string | undefined;
500
503
  tableName?: string | undefined;
501
504
  columnName?: string | undefined;
502
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
505
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
503
506
  conjunction?: "AND" | "OR" | undefined;
504
507
  }>, "many">;
505
508
  request: z.ZodArray<z.ZodObject<{
@@ -563,7 +566,7 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
563
566
  where: z.ZodArray<z.ZodObject<{
564
567
  tableName: z.ZodOptional<z.ZodString>;
565
568
  columnName: z.ZodOptional<z.ZodString>;
566
- operator: z.ZodOptional<z.ZodEnum<["=", "<", ">", "<=", ">=", "!=", "LIKE", "IN", "NOT IN", "STARTS WITH", "ENDS WITH", "IS", "IS NOT"]>>;
569
+ operator: z.ZodOptional<z.ZodEnum<["=", "<", ">", "<=", ">=", "!=", "LIKE", "NOT LIKE", "IN", "NOT IN", "STARTS WITH", "ENDS WITH", "IS", "IS NOT"]>>;
567
570
  value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
568
571
  custom: z.ZodOptional<z.ZodString>;
569
572
  conjunction: z.ZodOptional<z.ZodEnum<["AND", "OR"]>>;
@@ -572,14 +575,14 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
572
575
  custom?: string | undefined;
573
576
  tableName?: string | undefined;
574
577
  columnName?: string | undefined;
575
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
578
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
576
579
  conjunction?: "AND" | "OR" | undefined;
577
580
  }, {
578
581
  value?: string | number | undefined;
579
582
  custom?: string | undefined;
580
583
  tableName?: string | undefined;
581
584
  columnName?: string | undefined;
582
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
585
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
583
586
  conjunction?: "AND" | "OR" | undefined;
584
587
  }>, "many">;
585
588
  properties: z.ZodArray<z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>, "many">;
@@ -621,7 +624,7 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
621
624
  custom?: string | undefined;
622
625
  tableName?: string | undefined;
623
626
  columnName?: string | undefined;
624
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
627
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
625
628
  conjunction?: "AND" | "OR" | undefined;
626
629
  }[];
627
630
  properties: any[];
@@ -649,7 +652,7 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
649
652
  custom?: string | undefined;
650
653
  tableName?: string | undefined;
651
654
  columnName?: string | undefined;
652
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
655
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
653
656
  conjunction?: "AND" | "OR" | undefined;
654
657
  }[];
655
658
  properties: any[];
@@ -663,8 +666,10 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
663
666
  order: "ASC" | "DESC";
664
667
  } | undefined;
665
668
  }>>;
669
+ type: z.ZodOptional<z.ZodString>;
666
670
  }, "strict", z.ZodTypeAny, {
667
671
  name: string;
672
+ type?: string | undefined;
668
673
  selector?: string | undefined;
669
674
  subquery?: {
670
675
  table: string;
@@ -681,7 +686,7 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
681
686
  custom?: string | undefined;
682
687
  tableName?: string | undefined;
683
688
  columnName?: string | undefined;
684
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
689
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
685
690
  conjunction?: "AND" | "OR" | undefined;
686
691
  }[];
687
692
  properties: any[];
@@ -697,6 +702,7 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
697
702
  } | undefined;
698
703
  }, {
699
704
  name: string;
705
+ type?: string | undefined;
700
706
  selector?: string | undefined;
701
707
  subquery?: {
702
708
  table: string;
@@ -713,7 +719,7 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
713
719
  custom?: string | undefined;
714
720
  tableName?: string | undefined;
715
721
  columnName?: string | undefined;
716
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
722
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
717
723
  conjunction?: "AND" | "OR" | undefined;
718
724
  }[];
719
725
  properties: any[];
@@ -769,7 +775,7 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
769
775
  custom?: string | undefined;
770
776
  tableName?: string | undefined;
771
777
  columnName?: string | undefined;
772
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
778
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
773
779
  conjunction?: "AND" | "OR" | undefined;
774
780
  }[];
775
781
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
@@ -790,6 +796,7 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
790
796
  }[];
791
797
  response: {
792
798
  name: string;
799
+ type?: string | undefined;
793
800
  selector?: string | undefined;
794
801
  subquery?: {
795
802
  table: string;
@@ -806,7 +813,7 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
806
813
  custom?: string | undefined;
807
814
  tableName?: string | undefined;
808
815
  columnName?: string | undefined;
809
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
816
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
810
817
  conjunction?: "AND" | "OR" | undefined;
811
818
  }[];
812
819
  properties: any[];
@@ -848,7 +855,7 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
848
855
  custom?: string | undefined;
849
856
  tableName?: string | undefined;
850
857
  columnName?: string | undefined;
851
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
858
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
852
859
  conjunction?: "AND" | "OR" | undefined;
853
860
  }[];
854
861
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
@@ -869,6 +876,7 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
869
876
  }[];
870
877
  response: {
871
878
  name: string;
879
+ type?: string | undefined;
872
880
  selector?: string | undefined;
873
881
  subquery?: {
874
882
  table: string;
@@ -885,7 +893,7 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
885
893
  custom?: string | undefined;
886
894
  tableName?: string | undefined;
887
895
  columnName?: string | undefined;
888
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
896
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
889
897
  conjunction?: "AND" | "OR" | undefined;
890
898
  }[];
891
899
  properties: any[];
@@ -1383,7 +1391,7 @@ declare const resturaSchema: z.ZodObject<{
1383
1391
  where: z.ZodArray<z.ZodObject<{
1384
1392
  tableName: z.ZodOptional<z.ZodString>;
1385
1393
  columnName: z.ZodOptional<z.ZodString>;
1386
- operator: z.ZodOptional<z.ZodEnum<["=", "<", ">", "<=", ">=", "!=", "LIKE", "IN", "NOT IN", "STARTS WITH", "ENDS WITH", "IS", "IS NOT"]>>;
1394
+ operator: z.ZodOptional<z.ZodEnum<["=", "<", ">", "<=", ">=", "!=", "LIKE", "NOT LIKE", "IN", "NOT IN", "STARTS WITH", "ENDS WITH", "IS", "IS NOT"]>>;
1387
1395
  value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1388
1396
  custom: z.ZodOptional<z.ZodString>;
1389
1397
  conjunction: z.ZodOptional<z.ZodEnum<["AND", "OR"]>>;
@@ -1392,14 +1400,14 @@ declare const resturaSchema: z.ZodObject<{
1392
1400
  custom?: string | undefined;
1393
1401
  tableName?: string | undefined;
1394
1402
  columnName?: string | undefined;
1395
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1403
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1396
1404
  conjunction?: "AND" | "OR" | undefined;
1397
1405
  }, {
1398
1406
  value?: string | number | undefined;
1399
1407
  custom?: string | undefined;
1400
1408
  tableName?: string | undefined;
1401
1409
  columnName?: string | undefined;
1402
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1410
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1403
1411
  conjunction?: "AND" | "OR" | undefined;
1404
1412
  }>, "many">;
1405
1413
  request: z.ZodArray<z.ZodObject<{
@@ -1463,7 +1471,7 @@ declare const resturaSchema: z.ZodObject<{
1463
1471
  where: z.ZodArray<z.ZodObject<{
1464
1472
  tableName: z.ZodOptional<z.ZodString>;
1465
1473
  columnName: z.ZodOptional<z.ZodString>;
1466
- operator: z.ZodOptional<z.ZodEnum<["=", "<", ">", "<=", ">=", "!=", "LIKE", "IN", "NOT IN", "STARTS WITH", "ENDS WITH", "IS", "IS NOT"]>>;
1474
+ operator: z.ZodOptional<z.ZodEnum<["=", "<", ">", "<=", ">=", "!=", "LIKE", "NOT LIKE", "IN", "NOT IN", "STARTS WITH", "ENDS WITH", "IS", "IS NOT"]>>;
1467
1475
  value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1468
1476
  custom: z.ZodOptional<z.ZodString>;
1469
1477
  conjunction: z.ZodOptional<z.ZodEnum<["AND", "OR"]>>;
@@ -1472,14 +1480,14 @@ declare const resturaSchema: z.ZodObject<{
1472
1480
  custom?: string | undefined;
1473
1481
  tableName?: string | undefined;
1474
1482
  columnName?: string | undefined;
1475
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1483
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1476
1484
  conjunction?: "AND" | "OR" | undefined;
1477
1485
  }, {
1478
1486
  value?: string | number | undefined;
1479
1487
  custom?: string | undefined;
1480
1488
  tableName?: string | undefined;
1481
1489
  columnName?: string | undefined;
1482
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1490
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1483
1491
  conjunction?: "AND" | "OR" | undefined;
1484
1492
  }>, "many">;
1485
1493
  properties: z.ZodArray<z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>, "many">;
@@ -1521,7 +1529,7 @@ declare const resturaSchema: z.ZodObject<{
1521
1529
  custom?: string | undefined;
1522
1530
  tableName?: string | undefined;
1523
1531
  columnName?: string | undefined;
1524
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1532
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1525
1533
  conjunction?: "AND" | "OR" | undefined;
1526
1534
  }[];
1527
1535
  properties: any[];
@@ -1549,7 +1557,7 @@ declare const resturaSchema: z.ZodObject<{
1549
1557
  custom?: string | undefined;
1550
1558
  tableName?: string | undefined;
1551
1559
  columnName?: string | undefined;
1552
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1560
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1553
1561
  conjunction?: "AND" | "OR" | undefined;
1554
1562
  }[];
1555
1563
  properties: any[];
@@ -1563,8 +1571,10 @@ declare const resturaSchema: z.ZodObject<{
1563
1571
  order: "ASC" | "DESC";
1564
1572
  } | undefined;
1565
1573
  }>>;
1574
+ type: z.ZodOptional<z.ZodString>;
1566
1575
  }, "strict", z.ZodTypeAny, {
1567
1576
  name: string;
1577
+ type?: string | undefined;
1568
1578
  selector?: string | undefined;
1569
1579
  subquery?: {
1570
1580
  table: string;
@@ -1581,7 +1591,7 @@ declare const resturaSchema: z.ZodObject<{
1581
1591
  custom?: string | undefined;
1582
1592
  tableName?: string | undefined;
1583
1593
  columnName?: string | undefined;
1584
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1594
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1585
1595
  conjunction?: "AND" | "OR" | undefined;
1586
1596
  }[];
1587
1597
  properties: any[];
@@ -1597,6 +1607,7 @@ declare const resturaSchema: z.ZodObject<{
1597
1607
  } | undefined;
1598
1608
  }, {
1599
1609
  name: string;
1610
+ type?: string | undefined;
1600
1611
  selector?: string | undefined;
1601
1612
  subquery?: {
1602
1613
  table: string;
@@ -1613,7 +1624,7 @@ declare const resturaSchema: z.ZodObject<{
1613
1624
  custom?: string | undefined;
1614
1625
  tableName?: string | undefined;
1615
1626
  columnName?: string | undefined;
1616
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1627
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1617
1628
  conjunction?: "AND" | "OR" | undefined;
1618
1629
  }[];
1619
1630
  properties: any[];
@@ -1669,7 +1680,7 @@ declare const resturaSchema: z.ZodObject<{
1669
1680
  custom?: string | undefined;
1670
1681
  tableName?: string | undefined;
1671
1682
  columnName?: string | undefined;
1672
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1683
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1673
1684
  conjunction?: "AND" | "OR" | undefined;
1674
1685
  }[];
1675
1686
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
@@ -1690,6 +1701,7 @@ declare const resturaSchema: z.ZodObject<{
1690
1701
  }[];
1691
1702
  response: {
1692
1703
  name: string;
1704
+ type?: string | undefined;
1693
1705
  selector?: string | undefined;
1694
1706
  subquery?: {
1695
1707
  table: string;
@@ -1706,7 +1718,7 @@ declare const resturaSchema: z.ZodObject<{
1706
1718
  custom?: string | undefined;
1707
1719
  tableName?: string | undefined;
1708
1720
  columnName?: string | undefined;
1709
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1721
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1710
1722
  conjunction?: "AND" | "OR" | undefined;
1711
1723
  }[];
1712
1724
  properties: any[];
@@ -1748,7 +1760,7 @@ declare const resturaSchema: z.ZodObject<{
1748
1760
  custom?: string | undefined;
1749
1761
  tableName?: string | undefined;
1750
1762
  columnName?: string | undefined;
1751
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1763
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1752
1764
  conjunction?: "AND" | "OR" | undefined;
1753
1765
  }[];
1754
1766
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
@@ -1769,6 +1781,7 @@ declare const resturaSchema: z.ZodObject<{
1769
1781
  }[];
1770
1782
  response: {
1771
1783
  name: string;
1784
+ type?: string | undefined;
1772
1785
  selector?: string | undefined;
1773
1786
  subquery?: {
1774
1787
  table: string;
@@ -1785,7 +1798,7 @@ declare const resturaSchema: z.ZodObject<{
1785
1798
  custom?: string | undefined;
1786
1799
  tableName?: string | undefined;
1787
1800
  columnName?: string | undefined;
1788
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1801
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1789
1802
  conjunction?: "AND" | "OR" | undefined;
1790
1803
  }[];
1791
1804
  properties: any[];
@@ -1921,7 +1934,7 @@ declare const resturaSchema: z.ZodObject<{
1921
1934
  custom?: string | undefined;
1922
1935
  tableName?: string | undefined;
1923
1936
  columnName?: string | undefined;
1924
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1937
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1925
1938
  conjunction?: "AND" | "OR" | undefined;
1926
1939
  }[];
1927
1940
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
@@ -1942,6 +1955,7 @@ declare const resturaSchema: z.ZodObject<{
1942
1955
  }[];
1943
1956
  response: {
1944
1957
  name: string;
1958
+ type?: string | undefined;
1945
1959
  selector?: string | undefined;
1946
1960
  subquery?: {
1947
1961
  table: string;
@@ -1958,7 +1972,7 @@ declare const resturaSchema: z.ZodObject<{
1958
1972
  custom?: string | undefined;
1959
1973
  tableName?: string | undefined;
1960
1974
  columnName?: string | undefined;
1961
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1975
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
1962
1976
  conjunction?: "AND" | "OR" | undefined;
1963
1977
  }[];
1964
1978
  properties: any[];
@@ -2027,7 +2041,7 @@ declare const resturaSchema: z.ZodObject<{
2027
2041
  custom?: string | undefined;
2028
2042
  tableName?: string | undefined;
2029
2043
  columnName?: string | undefined;
2030
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
2044
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
2031
2045
  conjunction?: "AND" | "OR" | undefined;
2032
2046
  }[];
2033
2047
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
@@ -2048,6 +2062,7 @@ declare const resturaSchema: z.ZodObject<{
2048
2062
  }[];
2049
2063
  response: {
2050
2064
  name: string;
2065
+ type?: string | undefined;
2051
2066
  selector?: string | undefined;
2052
2067
  subquery?: {
2053
2068
  table: string;
@@ -2064,7 +2079,7 @@ declare const resturaSchema: z.ZodObject<{
2064
2079
  custom?: string | undefined;
2065
2080
  tableName?: string | undefined;
2066
2081
  columnName?: string | undefined;
2067
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
2082
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
2068
2083
  conjunction?: "AND" | "OR" | undefined;
2069
2084
  }[];
2070
2085
  properties: any[];
@@ -2176,7 +2191,7 @@ declare const resturaSchema: z.ZodObject<{
2176
2191
  custom?: string | undefined;
2177
2192
  tableName?: string | undefined;
2178
2193
  columnName?: string | undefined;
2179
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
2194
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
2180
2195
  conjunction?: "AND" | "OR" | undefined;
2181
2196
  }[];
2182
2197
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
@@ -2197,6 +2212,7 @@ declare const resturaSchema: z.ZodObject<{
2197
2212
  }[];
2198
2213
  response: {
2199
2214
  name: string;
2215
+ type?: string | undefined;
2200
2216
  selector?: string | undefined;
2201
2217
  subquery?: {
2202
2218
  table: string;
@@ -2213,7 +2229,7 @@ declare const resturaSchema: z.ZodObject<{
2213
2229
  custom?: string | undefined;
2214
2230
  tableName?: string | undefined;
2215
2231
  columnName?: string | undefined;
2216
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
2232
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
2217
2233
  conjunction?: "AND" | "OR" | undefined;
2218
2234
  }[];
2219
2235
  properties: any[];
@@ -2324,7 +2340,7 @@ declare const resturaSchema: z.ZodObject<{
2324
2340
  custom?: string | undefined;
2325
2341
  tableName?: string | undefined;
2326
2342
  columnName?: string | undefined;
2327
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
2343
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
2328
2344
  conjunction?: "AND" | "OR" | undefined;
2329
2345
  }[];
2330
2346
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
@@ -2345,6 +2361,7 @@ declare const resturaSchema: z.ZodObject<{
2345
2361
  }[];
2346
2362
  response: {
2347
2363
  name: string;
2364
+ type?: string | undefined;
2348
2365
  selector?: string | undefined;
2349
2366
  subquery?: {
2350
2367
  table: string;
@@ -2361,7 +2378,7 @@ declare const resturaSchema: z.ZodObject<{
2361
2378
  custom?: string | undefined;
2362
2379
  tableName?: string | undefined;
2363
2380
  columnName?: string | undefined;
2364
- operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
2381
+ operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "NOT LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
2365
2382
  conjunction?: "AND" | "OR" | undefined;
2366
2383
  }[];
2367
2384
  properties: any[];