@owox/backend 0.29.0-next-20260709112013 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -174,9 +174,6 @@ export declare const RequiredColumnMetaSchema: z.ZodObject<{
|
|
|
174
174
|
}[] | undefined;
|
|
175
175
|
}>>;
|
|
176
176
|
}, "strip", z.ZodTypeAny, {
|
|
177
|
-
semanticType?: "string" | "number" | "boolean" | "datetime" | "timestamp" | "date" | undefined;
|
|
178
|
-
rawType?: string | undefined;
|
|
179
|
-
resolvedIdentifier?: string | undefined;
|
|
180
177
|
transform?: {
|
|
181
178
|
format?: string | undefined;
|
|
182
179
|
kind?: "none" | "cast" | "parse_date" | "parse_timestamp" | undefined;
|
|
@@ -189,10 +186,10 @@ export declare const RequiredColumnMetaSchema: z.ZodObject<{
|
|
|
189
186
|
replacement?: string | undefined;
|
|
190
187
|
}[] | undefined;
|
|
191
188
|
} | undefined;
|
|
192
|
-
}, {
|
|
193
189
|
semanticType?: "string" | "number" | "boolean" | "datetime" | "timestamp" | "date" | undefined;
|
|
194
190
|
rawType?: string | undefined;
|
|
195
191
|
resolvedIdentifier?: string | undefined;
|
|
192
|
+
}, {
|
|
196
193
|
transform?: {
|
|
197
194
|
format?: string | undefined;
|
|
198
195
|
kind?: "none" | "cast" | "parse_date" | "parse_timestamp" | undefined;
|
|
@@ -205,6 +202,9 @@ export declare const RequiredColumnMetaSchema: z.ZodObject<{
|
|
|
205
202
|
replacement?: string | undefined;
|
|
206
203
|
}[] | undefined;
|
|
207
204
|
} | undefined;
|
|
205
|
+
semanticType?: "string" | "number" | "boolean" | "datetime" | "timestamp" | "date" | undefined;
|
|
206
|
+
rawType?: string | undefined;
|
|
207
|
+
resolvedIdentifier?: string | undefined;
|
|
208
208
|
}>;
|
|
209
209
|
export declare const QueryPlanMetricAggregationSchema: z.ZodEnum<["sum", "count", "avg", "min", "max", "count_distinct"]>;
|
|
210
210
|
export declare const QueryPlanMetricSpecSchema: z.ZodObject<{
|
|
@@ -217,12 +217,12 @@ export declare const QueryPlanMetricSpecSchema: z.ZodObject<{
|
|
|
217
217
|
name: string;
|
|
218
218
|
required: boolean;
|
|
219
219
|
alias: string;
|
|
220
|
-
aggregation: "min" | "count" | "sum" | "
|
|
220
|
+
aggregation: "min" | "count" | "sum" | "max" | "avg" | "count_distinct";
|
|
221
221
|
sourceColumn: string;
|
|
222
222
|
}, {
|
|
223
223
|
name: string;
|
|
224
224
|
alias: string;
|
|
225
|
-
aggregation: "min" | "count" | "sum" | "
|
|
225
|
+
aggregation: "min" | "count" | "sum" | "max" | "avg" | "count_distinct";
|
|
226
226
|
sourceColumn: string;
|
|
227
227
|
required?: boolean | undefined;
|
|
228
228
|
}>;
|
|
@@ -318,12 +318,12 @@ export declare const QueryPlanSchema: z.ZodObject<{
|
|
|
318
318
|
name: string;
|
|
319
319
|
required: boolean;
|
|
320
320
|
alias: string;
|
|
321
|
-
aggregation: "min" | "count" | "sum" | "
|
|
321
|
+
aggregation: "min" | "count" | "sum" | "max" | "avg" | "count_distinct";
|
|
322
322
|
sourceColumn: string;
|
|
323
323
|
}, {
|
|
324
324
|
name: string;
|
|
325
325
|
alias: string;
|
|
326
|
-
aggregation: "min" | "count" | "sum" | "
|
|
326
|
+
aggregation: "min" | "count" | "sum" | "max" | "avg" | "count_distinct";
|
|
327
327
|
sourceColumn: string;
|
|
328
328
|
required?: boolean | undefined;
|
|
329
329
|
}>, "many">;
|
|
@@ -419,9 +419,6 @@ export declare const QueryPlanSchema: z.ZodObject<{
|
|
|
419
419
|
}[] | undefined;
|
|
420
420
|
}>>;
|
|
421
421
|
}, "strip", z.ZodTypeAny, {
|
|
422
|
-
semanticType?: "string" | "number" | "boolean" | "datetime" | "timestamp" | "date" | undefined;
|
|
423
|
-
rawType?: string | undefined;
|
|
424
|
-
resolvedIdentifier?: string | undefined;
|
|
425
422
|
transform?: {
|
|
426
423
|
format?: string | undefined;
|
|
427
424
|
kind?: "none" | "cast" | "parse_date" | "parse_timestamp" | undefined;
|
|
@@ -434,10 +431,10 @@ export declare const QueryPlanSchema: z.ZodObject<{
|
|
|
434
431
|
replacement?: string | undefined;
|
|
435
432
|
}[] | undefined;
|
|
436
433
|
} | undefined;
|
|
437
|
-
}, {
|
|
438
434
|
semanticType?: "string" | "number" | "boolean" | "datetime" | "timestamp" | "date" | undefined;
|
|
439
435
|
rawType?: string | undefined;
|
|
440
436
|
resolvedIdentifier?: string | undefined;
|
|
437
|
+
}, {
|
|
441
438
|
transform?: {
|
|
442
439
|
format?: string | undefined;
|
|
443
440
|
kind?: "none" | "cast" | "parse_date" | "parse_timestamp" | undefined;
|
|
@@ -450,6 +447,9 @@ export declare const QueryPlanSchema: z.ZodObject<{
|
|
|
450
447
|
replacement?: string | undefined;
|
|
451
448
|
}[] | undefined;
|
|
452
449
|
} | undefined;
|
|
450
|
+
semanticType?: "string" | "number" | "boolean" | "datetime" | "timestamp" | "date" | undefined;
|
|
451
|
+
rawType?: string | undefined;
|
|
452
|
+
resolvedIdentifier?: string | undefined;
|
|
453
453
|
}>>>;
|
|
454
454
|
}, "strip", z.ZodTypeAny, {
|
|
455
455
|
tables: {
|
|
@@ -468,7 +468,7 @@ export declare const QueryPlanSchema: z.ZodObject<{
|
|
|
468
468
|
name: string;
|
|
469
469
|
required: boolean;
|
|
470
470
|
alias: string;
|
|
471
|
-
aggregation: "min" | "count" | "sum" | "
|
|
471
|
+
aggregation: "min" | "count" | "sum" | "max" | "avg" | "count_distinct";
|
|
472
472
|
sourceColumn: string;
|
|
473
473
|
}[];
|
|
474
474
|
whereConditions: string[];
|
|
@@ -491,9 +491,6 @@ export declare const QueryPlanSchema: z.ZodObject<{
|
|
|
491
491
|
dateField?: string | null | undefined;
|
|
492
492
|
dateFilterDescription?: string | null | undefined;
|
|
493
493
|
requiredColumnsMeta?: Record<string, {
|
|
494
|
-
semanticType?: "string" | "number" | "boolean" | "datetime" | "timestamp" | "date" | undefined;
|
|
495
|
-
rawType?: string | undefined;
|
|
496
|
-
resolvedIdentifier?: string | undefined;
|
|
497
494
|
transform?: {
|
|
498
495
|
format?: string | undefined;
|
|
499
496
|
kind?: "none" | "cast" | "parse_date" | "parse_timestamp" | undefined;
|
|
@@ -506,12 +503,15 @@ export declare const QueryPlanSchema: z.ZodObject<{
|
|
|
506
503
|
replacement?: string | undefined;
|
|
507
504
|
}[] | undefined;
|
|
508
505
|
} | undefined;
|
|
506
|
+
semanticType?: "string" | "number" | "boolean" | "datetime" | "timestamp" | "date" | undefined;
|
|
507
|
+
rawType?: string | undefined;
|
|
508
|
+
resolvedIdentifier?: string | undefined;
|
|
509
509
|
}> | undefined;
|
|
510
510
|
}, {
|
|
511
511
|
metricSpecs: {
|
|
512
512
|
name: string;
|
|
513
513
|
alias: string;
|
|
514
|
-
aggregation: "min" | "count" | "sum" | "
|
|
514
|
+
aggregation: "min" | "count" | "sum" | "max" | "avg" | "count_distinct";
|
|
515
515
|
sourceColumn: string;
|
|
516
516
|
required?: boolean | undefined;
|
|
517
517
|
}[];
|
|
@@ -547,9 +547,6 @@ export declare const QueryPlanSchema: z.ZodObject<{
|
|
|
547
547
|
grouping?: string[] | undefined;
|
|
548
548
|
requiredColumns?: string[] | undefined;
|
|
549
549
|
requiredColumnsMeta?: Record<string, {
|
|
550
|
-
semanticType?: "string" | "number" | "boolean" | "datetime" | "timestamp" | "date" | undefined;
|
|
551
|
-
rawType?: string | undefined;
|
|
552
|
-
resolvedIdentifier?: string | undefined;
|
|
553
550
|
transform?: {
|
|
554
551
|
format?: string | undefined;
|
|
555
552
|
kind?: "none" | "cast" | "parse_date" | "parse_timestamp" | undefined;
|
|
@@ -562,6 +559,9 @@ export declare const QueryPlanSchema: z.ZodObject<{
|
|
|
562
559
|
replacement?: string | undefined;
|
|
563
560
|
}[] | undefined;
|
|
564
561
|
} | undefined;
|
|
562
|
+
semanticType?: "string" | "number" | "boolean" | "datetime" | "timestamp" | "date" | undefined;
|
|
563
|
+
rawType?: string | undefined;
|
|
564
|
+
resolvedIdentifier?: string | undefined;
|
|
565
565
|
}> | undefined;
|
|
566
566
|
}>;
|
|
567
567
|
export declare const PlanModelJsonSchema: z.ZodObject<{
|
|
@@ -604,12 +604,12 @@ export declare const PlanModelJsonSchema: z.ZodObject<{
|
|
|
604
604
|
name: string;
|
|
605
605
|
required: boolean;
|
|
606
606
|
alias: string;
|
|
607
|
-
aggregation: "min" | "count" | "sum" | "
|
|
607
|
+
aggregation: "min" | "count" | "sum" | "max" | "avg" | "count_distinct";
|
|
608
608
|
sourceColumn: string;
|
|
609
609
|
}, {
|
|
610
610
|
name: string;
|
|
611
611
|
alias: string;
|
|
612
|
-
aggregation: "min" | "count" | "sum" | "
|
|
612
|
+
aggregation: "min" | "count" | "sum" | "max" | "avg" | "count_distinct";
|
|
613
613
|
sourceColumn: string;
|
|
614
614
|
required?: boolean | undefined;
|
|
615
615
|
}>, "many">;
|
|
@@ -705,9 +705,6 @@ export declare const PlanModelJsonSchema: z.ZodObject<{
|
|
|
705
705
|
}[] | undefined;
|
|
706
706
|
}>>;
|
|
707
707
|
}, "strip", z.ZodTypeAny, {
|
|
708
|
-
semanticType?: "string" | "number" | "boolean" | "datetime" | "timestamp" | "date" | undefined;
|
|
709
|
-
rawType?: string | undefined;
|
|
710
|
-
resolvedIdentifier?: string | undefined;
|
|
711
708
|
transform?: {
|
|
712
709
|
format?: string | undefined;
|
|
713
710
|
kind?: "none" | "cast" | "parse_date" | "parse_timestamp" | undefined;
|
|
@@ -720,10 +717,10 @@ export declare const PlanModelJsonSchema: z.ZodObject<{
|
|
|
720
717
|
replacement?: string | undefined;
|
|
721
718
|
}[] | undefined;
|
|
722
719
|
} | undefined;
|
|
723
|
-
}, {
|
|
724
720
|
semanticType?: "string" | "number" | "boolean" | "datetime" | "timestamp" | "date" | undefined;
|
|
725
721
|
rawType?: string | undefined;
|
|
726
722
|
resolvedIdentifier?: string | undefined;
|
|
723
|
+
}, {
|
|
727
724
|
transform?: {
|
|
728
725
|
format?: string | undefined;
|
|
729
726
|
kind?: "none" | "cast" | "parse_date" | "parse_timestamp" | undefined;
|
|
@@ -736,6 +733,9 @@ export declare const PlanModelJsonSchema: z.ZodObject<{
|
|
|
736
733
|
replacement?: string | undefined;
|
|
737
734
|
}[] | undefined;
|
|
738
735
|
} | undefined;
|
|
736
|
+
semanticType?: "string" | "number" | "boolean" | "datetime" | "timestamp" | "date" | undefined;
|
|
737
|
+
rawType?: string | undefined;
|
|
738
|
+
resolvedIdentifier?: string | undefined;
|
|
739
739
|
}>>>;
|
|
740
740
|
}, "strip", z.ZodTypeAny, {
|
|
741
741
|
tables: {
|
|
@@ -754,7 +754,7 @@ export declare const PlanModelJsonSchema: z.ZodObject<{
|
|
|
754
754
|
name: string;
|
|
755
755
|
required: boolean;
|
|
756
756
|
alias: string;
|
|
757
|
-
aggregation: "min" | "count" | "sum" | "
|
|
757
|
+
aggregation: "min" | "count" | "sum" | "max" | "avg" | "count_distinct";
|
|
758
758
|
sourceColumn: string;
|
|
759
759
|
}[];
|
|
760
760
|
whereConditions: string[];
|
|
@@ -777,9 +777,6 @@ export declare const PlanModelJsonSchema: z.ZodObject<{
|
|
|
777
777
|
dateField?: string | null | undefined;
|
|
778
778
|
dateFilterDescription?: string | null | undefined;
|
|
779
779
|
requiredColumnsMeta?: Record<string, {
|
|
780
|
-
semanticType?: "string" | "number" | "boolean" | "datetime" | "timestamp" | "date" | undefined;
|
|
781
|
-
rawType?: string | undefined;
|
|
782
|
-
resolvedIdentifier?: string | undefined;
|
|
783
780
|
transform?: {
|
|
784
781
|
format?: string | undefined;
|
|
785
782
|
kind?: "none" | "cast" | "parse_date" | "parse_timestamp" | undefined;
|
|
@@ -792,12 +789,15 @@ export declare const PlanModelJsonSchema: z.ZodObject<{
|
|
|
792
789
|
replacement?: string | undefined;
|
|
793
790
|
}[] | undefined;
|
|
794
791
|
} | undefined;
|
|
792
|
+
semanticType?: "string" | "number" | "boolean" | "datetime" | "timestamp" | "date" | undefined;
|
|
793
|
+
rawType?: string | undefined;
|
|
794
|
+
resolvedIdentifier?: string | undefined;
|
|
795
795
|
}> | undefined;
|
|
796
796
|
}, {
|
|
797
797
|
metricSpecs: {
|
|
798
798
|
name: string;
|
|
799
799
|
alias: string;
|
|
800
|
-
aggregation: "min" | "count" | "sum" | "
|
|
800
|
+
aggregation: "min" | "count" | "sum" | "max" | "avg" | "count_distinct";
|
|
801
801
|
sourceColumn: string;
|
|
802
802
|
required?: boolean | undefined;
|
|
803
803
|
}[];
|
|
@@ -833,9 +833,6 @@ export declare const PlanModelJsonSchema: z.ZodObject<{
|
|
|
833
833
|
grouping?: string[] | undefined;
|
|
834
834
|
requiredColumns?: string[] | undefined;
|
|
835
835
|
requiredColumnsMeta?: Record<string, {
|
|
836
|
-
semanticType?: "string" | "number" | "boolean" | "datetime" | "timestamp" | "date" | undefined;
|
|
837
|
-
rawType?: string | undefined;
|
|
838
|
-
resolvedIdentifier?: string | undefined;
|
|
839
836
|
transform?: {
|
|
840
837
|
format?: string | undefined;
|
|
841
838
|
kind?: "none" | "cast" | "parse_date" | "parse_timestamp" | undefined;
|
|
@@ -848,6 +845,9 @@ export declare const PlanModelJsonSchema: z.ZodObject<{
|
|
|
848
845
|
replacement?: string | undefined;
|
|
849
846
|
}[] | undefined;
|
|
850
847
|
} | undefined;
|
|
848
|
+
semanticType?: "string" | "number" | "boolean" | "datetime" | "timestamp" | "date" | undefined;
|
|
849
|
+
rawType?: string | undefined;
|
|
850
|
+
resolvedIdentifier?: string | undefined;
|
|
851
851
|
}> | undefined;
|
|
852
852
|
}>;
|
|
853
853
|
maybeAmbiguous: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -870,7 +870,7 @@ export declare const PlanModelJsonSchema: z.ZodObject<{
|
|
|
870
870
|
name: string;
|
|
871
871
|
required: boolean;
|
|
872
872
|
alias: string;
|
|
873
|
-
aggregation: "min" | "count" | "sum" | "
|
|
873
|
+
aggregation: "min" | "count" | "sum" | "max" | "avg" | "count_distinct";
|
|
874
874
|
sourceColumn: string;
|
|
875
875
|
}[];
|
|
876
876
|
whereConditions: string[];
|
|
@@ -893,9 +893,6 @@ export declare const PlanModelJsonSchema: z.ZodObject<{
|
|
|
893
893
|
dateField?: string | null | undefined;
|
|
894
894
|
dateFilterDescription?: string | null | undefined;
|
|
895
895
|
requiredColumnsMeta?: Record<string, {
|
|
896
|
-
semanticType?: "string" | "number" | "boolean" | "datetime" | "timestamp" | "date" | undefined;
|
|
897
|
-
rawType?: string | undefined;
|
|
898
|
-
resolvedIdentifier?: string | undefined;
|
|
899
896
|
transform?: {
|
|
900
897
|
format?: string | undefined;
|
|
901
898
|
kind?: "none" | "cast" | "parse_date" | "parse_timestamp" | undefined;
|
|
@@ -908,6 +905,9 @@ export declare const PlanModelJsonSchema: z.ZodObject<{
|
|
|
908
905
|
replacement?: string | undefined;
|
|
909
906
|
}[] | undefined;
|
|
910
907
|
} | undefined;
|
|
908
|
+
semanticType?: "string" | "number" | "boolean" | "datetime" | "timestamp" | "date" | undefined;
|
|
909
|
+
rawType?: string | undefined;
|
|
910
|
+
resolvedIdentifier?: string | undefined;
|
|
911
911
|
}> | undefined;
|
|
912
912
|
};
|
|
913
913
|
maybeAmbiguous: boolean;
|
|
@@ -917,7 +917,7 @@ export declare const PlanModelJsonSchema: z.ZodObject<{
|
|
|
917
917
|
metricSpecs: {
|
|
918
918
|
name: string;
|
|
919
919
|
alias: string;
|
|
920
|
-
aggregation: "min" | "count" | "sum" | "
|
|
920
|
+
aggregation: "min" | "count" | "sum" | "max" | "avg" | "count_distinct";
|
|
921
921
|
sourceColumn: string;
|
|
922
922
|
required?: boolean | undefined;
|
|
923
923
|
}[];
|
|
@@ -953,9 +953,6 @@ export declare const PlanModelJsonSchema: z.ZodObject<{
|
|
|
953
953
|
grouping?: string[] | undefined;
|
|
954
954
|
requiredColumns?: string[] | undefined;
|
|
955
955
|
requiredColumnsMeta?: Record<string, {
|
|
956
|
-
semanticType?: "string" | "number" | "boolean" | "datetime" | "timestamp" | "date" | undefined;
|
|
957
|
-
rawType?: string | undefined;
|
|
958
|
-
resolvedIdentifier?: string | undefined;
|
|
959
956
|
transform?: {
|
|
960
957
|
format?: string | undefined;
|
|
961
958
|
kind?: "none" | "cast" | "parse_date" | "parse_timestamp" | undefined;
|
|
@@ -968,6 +965,9 @@ export declare const PlanModelJsonSchema: z.ZodObject<{
|
|
|
968
965
|
replacement?: string | undefined;
|
|
969
966
|
}[] | undefined;
|
|
970
967
|
} | undefined;
|
|
968
|
+
semanticType?: "string" | "number" | "boolean" | "datetime" | "timestamp" | "date" | undefined;
|
|
969
|
+
rawType?: string | undefined;
|
|
970
|
+
resolvedIdentifier?: string | undefined;
|
|
971
971
|
}> | undefined;
|
|
972
972
|
};
|
|
973
973
|
maybeAmbiguous?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owox/backend",
|
|
3
|
-
"version": "0.29.0
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"description": "OWOX Data Marts Backend - Full-stack data orchestration platform",
|
|
5
5
|
"author": "OWOX",
|
|
6
6
|
"license": "ELv2",
|
|
@@ -80,9 +80,9 @@
|
|
|
80
80
|
"@nestjs/schedule": "^6.0.0",
|
|
81
81
|
"@nestjs/swagger": "^11.2.0",
|
|
82
82
|
"@nestjs/typeorm": "^11.0.0",
|
|
83
|
-
"@owox/connectors": "0.29.0
|
|
84
|
-
"@owox/idp-protocol": "0.29.0
|
|
85
|
-
"@owox/internal-helpers": "0.29.0
|
|
83
|
+
"@owox/connectors": "0.29.0",
|
|
84
|
+
"@owox/idp-protocol": "0.29.0",
|
|
85
|
+
"@owox/internal-helpers": "0.29.0",
|
|
86
86
|
"better-sqlite3": "^12.2.0",
|
|
87
87
|
"class-transformer": "^0.5.1",
|
|
88
88
|
"class-validator": "^0.14.2",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"@nestjs/testing": "^11.1.2",
|
|
122
122
|
"@owox/eslint-config": "*",
|
|
123
123
|
"@owox/prettier-config": "*",
|
|
124
|
-
"@owox/test-utils": "
|
|
124
|
+
"@owox/test-utils": "*",
|
|
125
125
|
"@swc/cli": "^0.6.0",
|
|
126
126
|
"@swc/core": "^1.10.7",
|
|
127
127
|
"@types/better-sqlite3": "^7.6.13",
|