@restura/core 0.1.0-alpha.30 → 0.1.0-alpha.31
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 +48 -48
- package/dist/index.d.ts +48 -48
- package/dist/index.js +14 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -196,7 +196,7 @@ type ResturaConfigSchema = z.infer<typeof resturaConfigSchema>;
|
|
|
196
196
|
declare const whereDataSchema: z.ZodObject<{
|
|
197
197
|
tableName: z.ZodOptional<z.ZodString>;
|
|
198
198
|
columnName: z.ZodOptional<z.ZodString>;
|
|
199
|
-
operator: z.ZodOptional<z.ZodEnum<["=", "<", ">", "<=", ">=", "!=", "LIKE", "IN", "NOT IN", "STARTS WITH", "ENDS WITH"]>>;
|
|
199
|
+
operator: z.ZodOptional<z.ZodEnum<["=", "<", ">", "<=", ">=", "!=", "LIKE", "IN", "NOT IN", "STARTS WITH", "ENDS WITH", "IS", "IS NOT"]>>;
|
|
200
200
|
value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
201
201
|
custom: z.ZodOptional<z.ZodString>;
|
|
202
202
|
conjunction: z.ZodOptional<z.ZodEnum<["AND", "OR"]>>;
|
|
@@ -205,14 +205,14 @@ declare const whereDataSchema: z.ZodObject<{
|
|
|
205
205
|
custom?: string | undefined;
|
|
206
206
|
tableName?: string | undefined;
|
|
207
207
|
columnName?: string | undefined;
|
|
208
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
208
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
209
209
|
conjunction?: "AND" | "OR" | undefined;
|
|
210
210
|
}, {
|
|
211
211
|
value?: string | number | undefined;
|
|
212
212
|
custom?: string | undefined;
|
|
213
213
|
tableName?: string | undefined;
|
|
214
214
|
columnName?: string | undefined;
|
|
215
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
215
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
216
216
|
conjunction?: "AND" | "OR" | undefined;
|
|
217
217
|
}>;
|
|
218
218
|
type WhereData = z.infer<typeof whereDataSchema>;
|
|
@@ -269,7 +269,7 @@ declare const responseDataSchema: z.ZodObject<{
|
|
|
269
269
|
where: z.ZodArray<z.ZodObject<{
|
|
270
270
|
tableName: z.ZodOptional<z.ZodString>;
|
|
271
271
|
columnName: z.ZodOptional<z.ZodString>;
|
|
272
|
-
operator: z.ZodOptional<z.ZodEnum<["=", "<", ">", "<=", ">=", "!=", "LIKE", "IN", "NOT IN", "STARTS WITH", "ENDS WITH"]>>;
|
|
272
|
+
operator: z.ZodOptional<z.ZodEnum<["=", "<", ">", "<=", ">=", "!=", "LIKE", "IN", "NOT IN", "STARTS WITH", "ENDS WITH", "IS", "IS NOT"]>>;
|
|
273
273
|
value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
274
274
|
custom: z.ZodOptional<z.ZodString>;
|
|
275
275
|
conjunction: z.ZodOptional<z.ZodEnum<["AND", "OR"]>>;
|
|
@@ -278,14 +278,14 @@ declare const responseDataSchema: z.ZodObject<{
|
|
|
278
278
|
custom?: string | undefined;
|
|
279
279
|
tableName?: string | undefined;
|
|
280
280
|
columnName?: string | undefined;
|
|
281
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
281
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
282
282
|
conjunction?: "AND" | "OR" | undefined;
|
|
283
283
|
}, {
|
|
284
284
|
value?: string | number | undefined;
|
|
285
285
|
custom?: string | undefined;
|
|
286
286
|
tableName?: string | undefined;
|
|
287
287
|
columnName?: string | undefined;
|
|
288
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
288
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
289
289
|
conjunction?: "AND" | "OR" | undefined;
|
|
290
290
|
}>, "many">;
|
|
291
291
|
properties: z.ZodArray<z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>, "many">;
|
|
@@ -327,7 +327,7 @@ declare const responseDataSchema: z.ZodObject<{
|
|
|
327
327
|
custom?: string | undefined;
|
|
328
328
|
tableName?: string | undefined;
|
|
329
329
|
columnName?: string | undefined;
|
|
330
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
330
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
331
331
|
conjunction?: "AND" | "OR" | undefined;
|
|
332
332
|
}[];
|
|
333
333
|
properties: any[];
|
|
@@ -355,7 +355,7 @@ declare const responseDataSchema: z.ZodObject<{
|
|
|
355
355
|
custom?: string | undefined;
|
|
356
356
|
tableName?: string | undefined;
|
|
357
357
|
columnName?: string | undefined;
|
|
358
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
358
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
359
359
|
conjunction?: "AND" | "OR" | undefined;
|
|
360
360
|
}[];
|
|
361
361
|
properties: any[];
|
|
@@ -387,7 +387,7 @@ declare const responseDataSchema: z.ZodObject<{
|
|
|
387
387
|
custom?: string | undefined;
|
|
388
388
|
tableName?: string | undefined;
|
|
389
389
|
columnName?: string | undefined;
|
|
390
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
390
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
391
391
|
conjunction?: "AND" | "OR" | undefined;
|
|
392
392
|
}[];
|
|
393
393
|
properties: any[];
|
|
@@ -419,7 +419,7 @@ declare const responseDataSchema: z.ZodObject<{
|
|
|
419
419
|
custom?: string | undefined;
|
|
420
420
|
tableName?: string | undefined;
|
|
421
421
|
columnName?: string | undefined;
|
|
422
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
422
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
423
423
|
conjunction?: "AND" | "OR" | undefined;
|
|
424
424
|
}[];
|
|
425
425
|
properties: any[];
|
|
@@ -479,7 +479,7 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
479
479
|
where: z.ZodArray<z.ZodObject<{
|
|
480
480
|
tableName: z.ZodOptional<z.ZodString>;
|
|
481
481
|
columnName: z.ZodOptional<z.ZodString>;
|
|
482
|
-
operator: z.ZodOptional<z.ZodEnum<["=", "<", ">", "<=", ">=", "!=", "LIKE", "IN", "NOT IN", "STARTS WITH", "ENDS WITH"]>>;
|
|
482
|
+
operator: z.ZodOptional<z.ZodEnum<["=", "<", ">", "<=", ">=", "!=", "LIKE", "IN", "NOT IN", "STARTS WITH", "ENDS WITH", "IS", "IS NOT"]>>;
|
|
483
483
|
value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
484
484
|
custom: z.ZodOptional<z.ZodString>;
|
|
485
485
|
conjunction: z.ZodOptional<z.ZodEnum<["AND", "OR"]>>;
|
|
@@ -488,14 +488,14 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
488
488
|
custom?: string | undefined;
|
|
489
489
|
tableName?: string | undefined;
|
|
490
490
|
columnName?: string | undefined;
|
|
491
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
491
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
492
492
|
conjunction?: "AND" | "OR" | undefined;
|
|
493
493
|
}, {
|
|
494
494
|
value?: string | number | undefined;
|
|
495
495
|
custom?: string | undefined;
|
|
496
496
|
tableName?: string | undefined;
|
|
497
497
|
columnName?: string | undefined;
|
|
498
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
498
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
499
499
|
conjunction?: "AND" | "OR" | undefined;
|
|
500
500
|
}>, "many">;
|
|
501
501
|
request: z.ZodArray<z.ZodObject<{
|
|
@@ -559,7 +559,7 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
559
559
|
where: z.ZodArray<z.ZodObject<{
|
|
560
560
|
tableName: z.ZodOptional<z.ZodString>;
|
|
561
561
|
columnName: z.ZodOptional<z.ZodString>;
|
|
562
|
-
operator: z.ZodOptional<z.ZodEnum<["=", "<", ">", "<=", ">=", "!=", "LIKE", "IN", "NOT IN", "STARTS WITH", "ENDS WITH"]>>;
|
|
562
|
+
operator: z.ZodOptional<z.ZodEnum<["=", "<", ">", "<=", ">=", "!=", "LIKE", "IN", "NOT IN", "STARTS WITH", "ENDS WITH", "IS", "IS NOT"]>>;
|
|
563
563
|
value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
564
564
|
custom: z.ZodOptional<z.ZodString>;
|
|
565
565
|
conjunction: z.ZodOptional<z.ZodEnum<["AND", "OR"]>>;
|
|
@@ -568,14 +568,14 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
568
568
|
custom?: string | undefined;
|
|
569
569
|
tableName?: string | undefined;
|
|
570
570
|
columnName?: string | undefined;
|
|
571
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
571
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
572
572
|
conjunction?: "AND" | "OR" | undefined;
|
|
573
573
|
}, {
|
|
574
574
|
value?: string | number | undefined;
|
|
575
575
|
custom?: string | undefined;
|
|
576
576
|
tableName?: string | undefined;
|
|
577
577
|
columnName?: string | undefined;
|
|
578
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
578
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
579
579
|
conjunction?: "AND" | "OR" | undefined;
|
|
580
580
|
}>, "many">;
|
|
581
581
|
properties: z.ZodArray<z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>, "many">;
|
|
@@ -617,7 +617,7 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
617
617
|
custom?: string | undefined;
|
|
618
618
|
tableName?: string | undefined;
|
|
619
619
|
columnName?: string | undefined;
|
|
620
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
620
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
621
621
|
conjunction?: "AND" | "OR" | undefined;
|
|
622
622
|
}[];
|
|
623
623
|
properties: any[];
|
|
@@ -645,7 +645,7 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
645
645
|
custom?: string | undefined;
|
|
646
646
|
tableName?: string | undefined;
|
|
647
647
|
columnName?: string | undefined;
|
|
648
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
648
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
649
649
|
conjunction?: "AND" | "OR" | undefined;
|
|
650
650
|
}[];
|
|
651
651
|
properties: any[];
|
|
@@ -677,7 +677,7 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
677
677
|
custom?: string | undefined;
|
|
678
678
|
tableName?: string | undefined;
|
|
679
679
|
columnName?: string | undefined;
|
|
680
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
680
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
681
681
|
conjunction?: "AND" | "OR" | undefined;
|
|
682
682
|
}[];
|
|
683
683
|
properties: any[];
|
|
@@ -709,7 +709,7 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
709
709
|
custom?: string | undefined;
|
|
710
710
|
tableName?: string | undefined;
|
|
711
711
|
columnName?: string | undefined;
|
|
712
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
712
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
713
713
|
conjunction?: "AND" | "OR" | undefined;
|
|
714
714
|
}[];
|
|
715
715
|
properties: any[];
|
|
@@ -765,7 +765,7 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
765
765
|
custom?: string | undefined;
|
|
766
766
|
tableName?: string | undefined;
|
|
767
767
|
columnName?: string | undefined;
|
|
768
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
768
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
769
769
|
conjunction?: "AND" | "OR" | undefined;
|
|
770
770
|
}[];
|
|
771
771
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
@@ -802,7 +802,7 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
802
802
|
custom?: string | undefined;
|
|
803
803
|
tableName?: string | undefined;
|
|
804
804
|
columnName?: string | undefined;
|
|
805
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
805
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
806
806
|
conjunction?: "AND" | "OR" | undefined;
|
|
807
807
|
}[];
|
|
808
808
|
properties: any[];
|
|
@@ -844,7 +844,7 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
844
844
|
custom?: string | undefined;
|
|
845
845
|
tableName?: string | undefined;
|
|
846
846
|
columnName?: string | undefined;
|
|
847
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
847
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
848
848
|
conjunction?: "AND" | "OR" | undefined;
|
|
849
849
|
}[];
|
|
850
850
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
@@ -881,7 +881,7 @@ declare const standardRouteSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
881
881
|
custom?: string | undefined;
|
|
882
882
|
tableName?: string | undefined;
|
|
883
883
|
columnName?: string | undefined;
|
|
884
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
884
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
885
885
|
conjunction?: "AND" | "OR" | undefined;
|
|
886
886
|
}[];
|
|
887
887
|
properties: any[];
|
|
@@ -1373,7 +1373,7 @@ declare const resturaSchema: z.ZodObject<{
|
|
|
1373
1373
|
where: z.ZodArray<z.ZodObject<{
|
|
1374
1374
|
tableName: z.ZodOptional<z.ZodString>;
|
|
1375
1375
|
columnName: z.ZodOptional<z.ZodString>;
|
|
1376
|
-
operator: z.ZodOptional<z.ZodEnum<["=", "<", ">", "<=", ">=", "!=", "LIKE", "IN", "NOT IN", "STARTS WITH", "ENDS WITH"]>>;
|
|
1376
|
+
operator: z.ZodOptional<z.ZodEnum<["=", "<", ">", "<=", ">=", "!=", "LIKE", "IN", "NOT IN", "STARTS WITH", "ENDS WITH", "IS", "IS NOT"]>>;
|
|
1377
1377
|
value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1378
1378
|
custom: z.ZodOptional<z.ZodString>;
|
|
1379
1379
|
conjunction: z.ZodOptional<z.ZodEnum<["AND", "OR"]>>;
|
|
@@ -1382,14 +1382,14 @@ declare const resturaSchema: z.ZodObject<{
|
|
|
1382
1382
|
custom?: string | undefined;
|
|
1383
1383
|
tableName?: string | undefined;
|
|
1384
1384
|
columnName?: string | undefined;
|
|
1385
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
1385
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
1386
1386
|
conjunction?: "AND" | "OR" | undefined;
|
|
1387
1387
|
}, {
|
|
1388
1388
|
value?: string | number | undefined;
|
|
1389
1389
|
custom?: string | undefined;
|
|
1390
1390
|
tableName?: string | undefined;
|
|
1391
1391
|
columnName?: string | undefined;
|
|
1392
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
1392
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
1393
1393
|
conjunction?: "AND" | "OR" | undefined;
|
|
1394
1394
|
}>, "many">;
|
|
1395
1395
|
request: z.ZodArray<z.ZodObject<{
|
|
@@ -1453,7 +1453,7 @@ declare const resturaSchema: z.ZodObject<{
|
|
|
1453
1453
|
where: z.ZodArray<z.ZodObject<{
|
|
1454
1454
|
tableName: z.ZodOptional<z.ZodString>;
|
|
1455
1455
|
columnName: z.ZodOptional<z.ZodString>;
|
|
1456
|
-
operator: z.ZodOptional<z.ZodEnum<["=", "<", ">", "<=", ">=", "!=", "LIKE", "IN", "NOT IN", "STARTS WITH", "ENDS WITH"]>>;
|
|
1456
|
+
operator: z.ZodOptional<z.ZodEnum<["=", "<", ">", "<=", ">=", "!=", "LIKE", "IN", "NOT IN", "STARTS WITH", "ENDS WITH", "IS", "IS NOT"]>>;
|
|
1457
1457
|
value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1458
1458
|
custom: z.ZodOptional<z.ZodString>;
|
|
1459
1459
|
conjunction: z.ZodOptional<z.ZodEnum<["AND", "OR"]>>;
|
|
@@ -1462,14 +1462,14 @@ declare const resturaSchema: z.ZodObject<{
|
|
|
1462
1462
|
custom?: string | undefined;
|
|
1463
1463
|
tableName?: string | undefined;
|
|
1464
1464
|
columnName?: string | undefined;
|
|
1465
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
1465
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
1466
1466
|
conjunction?: "AND" | "OR" | undefined;
|
|
1467
1467
|
}, {
|
|
1468
1468
|
value?: string | number | undefined;
|
|
1469
1469
|
custom?: string | undefined;
|
|
1470
1470
|
tableName?: string | undefined;
|
|
1471
1471
|
columnName?: string | undefined;
|
|
1472
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
1472
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
1473
1473
|
conjunction?: "AND" | "OR" | undefined;
|
|
1474
1474
|
}>, "many">;
|
|
1475
1475
|
properties: z.ZodArray<z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>, "many">;
|
|
@@ -1511,7 +1511,7 @@ declare const resturaSchema: z.ZodObject<{
|
|
|
1511
1511
|
custom?: string | undefined;
|
|
1512
1512
|
tableName?: string | undefined;
|
|
1513
1513
|
columnName?: string | undefined;
|
|
1514
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
1514
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
1515
1515
|
conjunction?: "AND" | "OR" | undefined;
|
|
1516
1516
|
}[];
|
|
1517
1517
|
properties: any[];
|
|
@@ -1539,7 +1539,7 @@ declare const resturaSchema: z.ZodObject<{
|
|
|
1539
1539
|
custom?: string | undefined;
|
|
1540
1540
|
tableName?: string | undefined;
|
|
1541
1541
|
columnName?: string | undefined;
|
|
1542
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
1542
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
1543
1543
|
conjunction?: "AND" | "OR" | undefined;
|
|
1544
1544
|
}[];
|
|
1545
1545
|
properties: any[];
|
|
@@ -1571,7 +1571,7 @@ declare const resturaSchema: z.ZodObject<{
|
|
|
1571
1571
|
custom?: string | undefined;
|
|
1572
1572
|
tableName?: string | undefined;
|
|
1573
1573
|
columnName?: string | undefined;
|
|
1574
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
1574
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
1575
1575
|
conjunction?: "AND" | "OR" | undefined;
|
|
1576
1576
|
}[];
|
|
1577
1577
|
properties: any[];
|
|
@@ -1603,7 +1603,7 @@ declare const resturaSchema: z.ZodObject<{
|
|
|
1603
1603
|
custom?: string | undefined;
|
|
1604
1604
|
tableName?: string | undefined;
|
|
1605
1605
|
columnName?: string | undefined;
|
|
1606
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
1606
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
1607
1607
|
conjunction?: "AND" | "OR" | undefined;
|
|
1608
1608
|
}[];
|
|
1609
1609
|
properties: any[];
|
|
@@ -1659,7 +1659,7 @@ declare const resturaSchema: z.ZodObject<{
|
|
|
1659
1659
|
custom?: string | undefined;
|
|
1660
1660
|
tableName?: string | undefined;
|
|
1661
1661
|
columnName?: string | undefined;
|
|
1662
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
1662
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
1663
1663
|
conjunction?: "AND" | "OR" | undefined;
|
|
1664
1664
|
}[];
|
|
1665
1665
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
@@ -1696,7 +1696,7 @@ declare const resturaSchema: z.ZodObject<{
|
|
|
1696
1696
|
custom?: string | undefined;
|
|
1697
1697
|
tableName?: string | undefined;
|
|
1698
1698
|
columnName?: string | undefined;
|
|
1699
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
1699
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
1700
1700
|
conjunction?: "AND" | "OR" | undefined;
|
|
1701
1701
|
}[];
|
|
1702
1702
|
properties: any[];
|
|
@@ -1738,7 +1738,7 @@ declare const resturaSchema: z.ZodObject<{
|
|
|
1738
1738
|
custom?: string | undefined;
|
|
1739
1739
|
tableName?: string | undefined;
|
|
1740
1740
|
columnName?: string | undefined;
|
|
1741
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
1741
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
1742
1742
|
conjunction?: "AND" | "OR" | undefined;
|
|
1743
1743
|
}[];
|
|
1744
1744
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
@@ -1775,7 +1775,7 @@ declare const resturaSchema: z.ZodObject<{
|
|
|
1775
1775
|
custom?: string | undefined;
|
|
1776
1776
|
tableName?: string | undefined;
|
|
1777
1777
|
columnName?: string | undefined;
|
|
1778
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
1778
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
1779
1779
|
conjunction?: "AND" | "OR" | undefined;
|
|
1780
1780
|
}[];
|
|
1781
1781
|
properties: any[];
|
|
@@ -1911,7 +1911,7 @@ declare const resturaSchema: z.ZodObject<{
|
|
|
1911
1911
|
custom?: string | undefined;
|
|
1912
1912
|
tableName?: string | undefined;
|
|
1913
1913
|
columnName?: string | undefined;
|
|
1914
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
1914
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
1915
1915
|
conjunction?: "AND" | "OR" | undefined;
|
|
1916
1916
|
}[];
|
|
1917
1917
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
@@ -1948,7 +1948,7 @@ declare const resturaSchema: z.ZodObject<{
|
|
|
1948
1948
|
custom?: string | undefined;
|
|
1949
1949
|
tableName?: string | undefined;
|
|
1950
1950
|
columnName?: string | undefined;
|
|
1951
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
1951
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
1952
1952
|
conjunction?: "AND" | "OR" | undefined;
|
|
1953
1953
|
}[];
|
|
1954
1954
|
properties: any[];
|
|
@@ -2017,7 +2017,7 @@ declare const resturaSchema: z.ZodObject<{
|
|
|
2017
2017
|
custom?: string | undefined;
|
|
2018
2018
|
tableName?: string | undefined;
|
|
2019
2019
|
columnName?: string | undefined;
|
|
2020
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
2020
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
2021
2021
|
conjunction?: "AND" | "OR" | undefined;
|
|
2022
2022
|
}[];
|
|
2023
2023
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
@@ -2054,7 +2054,7 @@ declare const resturaSchema: z.ZodObject<{
|
|
|
2054
2054
|
custom?: string | undefined;
|
|
2055
2055
|
tableName?: string | undefined;
|
|
2056
2056
|
columnName?: string | undefined;
|
|
2057
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
2057
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
2058
2058
|
conjunction?: "AND" | "OR" | undefined;
|
|
2059
2059
|
}[];
|
|
2060
2060
|
properties: any[];
|
|
@@ -2165,7 +2165,7 @@ declare const resturaSchema: z.ZodObject<{
|
|
|
2165
2165
|
custom?: string | undefined;
|
|
2166
2166
|
tableName?: string | undefined;
|
|
2167
2167
|
columnName?: string | undefined;
|
|
2168
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
2168
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
2169
2169
|
conjunction?: "AND" | "OR" | undefined;
|
|
2170
2170
|
}[];
|
|
2171
2171
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
@@ -2202,7 +2202,7 @@ declare const resturaSchema: z.ZodObject<{
|
|
|
2202
2202
|
custom?: string | undefined;
|
|
2203
2203
|
tableName?: string | undefined;
|
|
2204
2204
|
columnName?: string | undefined;
|
|
2205
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
2205
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
2206
2206
|
conjunction?: "AND" | "OR" | undefined;
|
|
2207
2207
|
}[];
|
|
2208
2208
|
properties: any[];
|
|
@@ -2312,7 +2312,7 @@ declare const resturaSchema: z.ZodObject<{
|
|
|
2312
2312
|
custom?: string | undefined;
|
|
2313
2313
|
tableName?: string | undefined;
|
|
2314
2314
|
columnName?: string | undefined;
|
|
2315
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
2315
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
2316
2316
|
conjunction?: "AND" | "OR" | undefined;
|
|
2317
2317
|
}[];
|
|
2318
2318
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
@@ -2349,7 +2349,7 @@ declare const resturaSchema: z.ZodObject<{
|
|
|
2349
2349
|
custom?: string | undefined;
|
|
2350
2350
|
tableName?: string | undefined;
|
|
2351
2351
|
columnName?: string | undefined;
|
|
2352
|
-
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | undefined;
|
|
2352
|
+
operator?: "=" | "<" | ">" | "<=" | ">=" | "!=" | "LIKE" | "IN" | "NOT IN" | "STARTS WITH" | "ENDS WITH" | "IS" | "IS NOT" | undefined;
|
|
2353
2353
|
conjunction?: "AND" | "OR" | undefined;
|
|
2354
2354
|
}[];
|
|
2355
2355
|
properties: any[];
|
|
@@ -2404,7 +2404,7 @@ type ResturaSchema = z.infer<typeof resturaSchema>;
|
|
|
2404
2404
|
|
|
2405
2405
|
declare abstract class PsqlConnection {
|
|
2406
2406
|
readonly instanceId: UUID;
|
|
2407
|
-
protected constructor();
|
|
2407
|
+
protected constructor(instanceId?: UUID);
|
|
2408
2408
|
protected abstract query<R extends QueryResultRow = QueryResultRow, T extends Array<unknown> = unknown[]>(query: string, values?: QueryConfigValues<T>): Promise<QueryResult<R>>;
|
|
2409
2409
|
queryOne<T>(query: string, options: any[], requesterDetails: RequesterDetails): Promise<T>;
|
|
2410
2410
|
runQuery<T>(query: string, options: any[], requesterDetails: RequesterDetails): Promise<T[]>;
|
|
@@ -2556,7 +2556,7 @@ declare class PsqlTransaction extends PsqlConnection {
|
|
|
2556
2556
|
client: Client;
|
|
2557
2557
|
private beginTransactionPromise;
|
|
2558
2558
|
private connectPromise;
|
|
2559
|
-
constructor(clientConfig: ClientConfig);
|
|
2559
|
+
constructor(clientConfig: ClientConfig, instanceId?: UUID);
|
|
2560
2560
|
close(): Promise<void>;
|
|
2561
2561
|
private beginTransaction;
|
|
2562
2562
|
rollback(): Promise<QueryResult<QueryResultRow>>;
|