@x12i/reportic-datasets 0.2.3 → 0.2.5
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.ts +31 -31
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -210,8 +210,8 @@ declare const operationSchema: z.ZodObject<{
|
|
|
210
210
|
end?: "range" | "hasMore" | "missingOrNull" | "shortPage" | "emptyPage" | undefined;
|
|
211
211
|
}, {
|
|
212
212
|
mode: "page" | "cursor" | "offset" | "range" | "nextLink" | "keyset" | "stream";
|
|
213
|
-
next?: unknown;
|
|
214
213
|
size?: number | undefined;
|
|
214
|
+
next?: unknown;
|
|
215
215
|
start?: number | undefined;
|
|
216
216
|
initial?: string | number | (string | number)[] | undefined;
|
|
217
217
|
hasMore?: unknown;
|
|
@@ -280,8 +280,8 @@ declare const operationSchema: z.ZodObject<{
|
|
|
280
280
|
dependsOn?: string[] | undefined;
|
|
281
281
|
pagination?: {
|
|
282
282
|
mode: "page" | "cursor" | "offset" | "range" | "nextLink" | "keyset" | "stream";
|
|
283
|
-
next?: unknown;
|
|
284
283
|
size?: number | undefined;
|
|
284
|
+
next?: unknown;
|
|
285
285
|
start?: number | undefined;
|
|
286
286
|
initial?: string | number | (string | number)[] | undefined;
|
|
287
287
|
hasMore?: unknown;
|
|
@@ -302,13 +302,13 @@ declare const metricSchema: z.ZodObject<{
|
|
|
302
302
|
decimals: z.ZodOptional<z.ZodNumber>;
|
|
303
303
|
}, "strict", z.ZodTypeAny, {
|
|
304
304
|
missing: "fail" | "skip" | "zero";
|
|
305
|
-
op: "
|
|
305
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg";
|
|
306
306
|
nulls: "fail" | "skip" | "zero";
|
|
307
307
|
empty: "null" | "fail" | "zero";
|
|
308
308
|
field?: string | undefined;
|
|
309
309
|
decimals?: number | undefined;
|
|
310
310
|
}, {
|
|
311
|
-
op: "
|
|
311
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg";
|
|
312
312
|
missing?: "fail" | "skip" | "zero" | undefined;
|
|
313
313
|
field?: string | undefined;
|
|
314
314
|
nulls?: "fail" | "skip" | "zero" | undefined;
|
|
@@ -339,13 +339,13 @@ declare const reductionSchema: z.ZodObject<{
|
|
|
339
339
|
decimals: z.ZodOptional<z.ZodNumber>;
|
|
340
340
|
}, "strict", z.ZodTypeAny, {
|
|
341
341
|
missing: "fail" | "skip" | "zero";
|
|
342
|
-
op: "
|
|
342
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg";
|
|
343
343
|
nulls: "fail" | "skip" | "zero";
|
|
344
344
|
empty: "null" | "fail" | "zero";
|
|
345
345
|
field?: string | undefined;
|
|
346
346
|
decimals?: number | undefined;
|
|
347
347
|
}, {
|
|
348
|
-
op: "
|
|
348
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg";
|
|
349
349
|
missing?: "fail" | "skip" | "zero" | undefined;
|
|
350
350
|
field?: string | undefined;
|
|
351
351
|
nulls?: "fail" | "skip" | "zero" | undefined;
|
|
@@ -355,7 +355,7 @@ declare const reductionSchema: z.ZodObject<{
|
|
|
355
355
|
}, "strict", z.ZodTypeAny, {
|
|
356
356
|
metrics: Record<string, {
|
|
357
357
|
missing: "fail" | "skip" | "zero";
|
|
358
|
-
op: "
|
|
358
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg";
|
|
359
359
|
nulls: "fail" | "skip" | "zero";
|
|
360
360
|
empty: "null" | "fail" | "zero";
|
|
361
361
|
field?: string | undefined;
|
|
@@ -366,7 +366,7 @@ declare const reductionSchema: z.ZodObject<{
|
|
|
366
366
|
bucket?: "day" | "month" | undefined;
|
|
367
367
|
}, {
|
|
368
368
|
metrics: Record<string, {
|
|
369
|
-
op: "
|
|
369
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg";
|
|
370
370
|
missing?: "fail" | "skip" | "zero" | undefined;
|
|
371
371
|
field?: string | undefined;
|
|
372
372
|
nulls?: "fail" | "skip" | "zero" | undefined;
|
|
@@ -380,7 +380,7 @@ declare const reductionSchema: z.ZodObject<{
|
|
|
380
380
|
}, "strict", z.ZodTypeAny, {
|
|
381
381
|
input: string;
|
|
382
382
|
missing: "fail" | "skip" | "zero";
|
|
383
|
-
op: "
|
|
383
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg" | "groupBy";
|
|
384
384
|
nulls: "fail" | "skip" | "zero";
|
|
385
385
|
empty: "null" | "fail" | "zero";
|
|
386
386
|
coverage: "complete" | "partial" | "declared";
|
|
@@ -388,7 +388,7 @@ declare const reductionSchema: z.ZodObject<{
|
|
|
388
388
|
group?: {
|
|
389
389
|
metrics: Record<string, {
|
|
390
390
|
missing: "fail" | "skip" | "zero";
|
|
391
|
-
op: "
|
|
391
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg";
|
|
392
392
|
nulls: "fail" | "skip" | "zero";
|
|
393
393
|
empty: "null" | "fail" | "zero";
|
|
394
394
|
field?: string | undefined;
|
|
@@ -402,11 +402,11 @@ declare const reductionSchema: z.ZodObject<{
|
|
|
402
402
|
decimals?: number | undefined;
|
|
403
403
|
}, {
|
|
404
404
|
input: string;
|
|
405
|
-
op: "
|
|
405
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg" | "groupBy";
|
|
406
406
|
scope?: string | undefined;
|
|
407
407
|
group?: {
|
|
408
408
|
metrics: Record<string, {
|
|
409
|
-
op: "
|
|
409
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg";
|
|
410
410
|
missing?: "fail" | "skip" | "zero" | undefined;
|
|
411
411
|
field?: string | undefined;
|
|
412
412
|
nulls?: "fail" | "skip" | "zero" | undefined;
|
|
@@ -511,8 +511,8 @@ declare const datasetPlanSchema: z.ZodObject<{
|
|
|
511
511
|
end?: "range" | "hasMore" | "missingOrNull" | "shortPage" | "emptyPage" | undefined;
|
|
512
512
|
}, {
|
|
513
513
|
mode: "page" | "cursor" | "offset" | "range" | "nextLink" | "keyset" | "stream";
|
|
514
|
-
next?: unknown;
|
|
515
514
|
size?: number | undefined;
|
|
515
|
+
next?: unknown;
|
|
516
516
|
start?: number | undefined;
|
|
517
517
|
initial?: string | number | (string | number)[] | undefined;
|
|
518
518
|
hasMore?: unknown;
|
|
@@ -581,8 +581,8 @@ declare const datasetPlanSchema: z.ZodObject<{
|
|
|
581
581
|
dependsOn?: string[] | undefined;
|
|
582
582
|
pagination?: {
|
|
583
583
|
mode: "page" | "cursor" | "offset" | "range" | "nextLink" | "keyset" | "stream";
|
|
584
|
-
next?: unknown;
|
|
585
584
|
size?: number | undefined;
|
|
585
|
+
next?: unknown;
|
|
586
586
|
start?: number | undefined;
|
|
587
587
|
initial?: string | number | (string | number)[] | undefined;
|
|
588
588
|
hasMore?: unknown;
|
|
@@ -618,13 +618,13 @@ declare const datasetPlanSchema: z.ZodObject<{
|
|
|
618
618
|
decimals: z.ZodOptional<z.ZodNumber>;
|
|
619
619
|
}, "strict", z.ZodTypeAny, {
|
|
620
620
|
missing: "fail" | "skip" | "zero";
|
|
621
|
-
op: "
|
|
621
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg";
|
|
622
622
|
nulls: "fail" | "skip" | "zero";
|
|
623
623
|
empty: "null" | "fail" | "zero";
|
|
624
624
|
field?: string | undefined;
|
|
625
625
|
decimals?: number | undefined;
|
|
626
626
|
}, {
|
|
627
|
-
op: "
|
|
627
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg";
|
|
628
628
|
missing?: "fail" | "skip" | "zero" | undefined;
|
|
629
629
|
field?: string | undefined;
|
|
630
630
|
nulls?: "fail" | "skip" | "zero" | undefined;
|
|
@@ -634,7 +634,7 @@ declare const datasetPlanSchema: z.ZodObject<{
|
|
|
634
634
|
}, "strict", z.ZodTypeAny, {
|
|
635
635
|
metrics: Record<string, {
|
|
636
636
|
missing: "fail" | "skip" | "zero";
|
|
637
|
-
op: "
|
|
637
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg";
|
|
638
638
|
nulls: "fail" | "skip" | "zero";
|
|
639
639
|
empty: "null" | "fail" | "zero";
|
|
640
640
|
field?: string | undefined;
|
|
@@ -645,7 +645,7 @@ declare const datasetPlanSchema: z.ZodObject<{
|
|
|
645
645
|
bucket?: "day" | "month" | undefined;
|
|
646
646
|
}, {
|
|
647
647
|
metrics: Record<string, {
|
|
648
|
-
op: "
|
|
648
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg";
|
|
649
649
|
missing?: "fail" | "skip" | "zero" | undefined;
|
|
650
650
|
field?: string | undefined;
|
|
651
651
|
nulls?: "fail" | "skip" | "zero" | undefined;
|
|
@@ -659,7 +659,7 @@ declare const datasetPlanSchema: z.ZodObject<{
|
|
|
659
659
|
}, "strict", z.ZodTypeAny, {
|
|
660
660
|
input: string;
|
|
661
661
|
missing: "fail" | "skip" | "zero";
|
|
662
|
-
op: "
|
|
662
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg" | "groupBy";
|
|
663
663
|
nulls: "fail" | "skip" | "zero";
|
|
664
664
|
empty: "null" | "fail" | "zero";
|
|
665
665
|
coverage: "complete" | "partial" | "declared";
|
|
@@ -667,7 +667,7 @@ declare const datasetPlanSchema: z.ZodObject<{
|
|
|
667
667
|
group?: {
|
|
668
668
|
metrics: Record<string, {
|
|
669
669
|
missing: "fail" | "skip" | "zero";
|
|
670
|
-
op: "
|
|
670
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg";
|
|
671
671
|
nulls: "fail" | "skip" | "zero";
|
|
672
672
|
empty: "null" | "fail" | "zero";
|
|
673
673
|
field?: string | undefined;
|
|
@@ -681,11 +681,11 @@ declare const datasetPlanSchema: z.ZodObject<{
|
|
|
681
681
|
decimals?: number | undefined;
|
|
682
682
|
}, {
|
|
683
683
|
input: string;
|
|
684
|
-
op: "
|
|
684
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg" | "groupBy";
|
|
685
685
|
scope?: string | undefined;
|
|
686
686
|
group?: {
|
|
687
687
|
metrics: Record<string, {
|
|
688
|
-
op: "
|
|
688
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg";
|
|
689
689
|
missing?: "fail" | "skip" | "zero" | undefined;
|
|
690
690
|
field?: string | undefined;
|
|
691
691
|
nulls?: "fail" | "skip" | "zero" | undefined;
|
|
@@ -744,7 +744,7 @@ declare const datasetPlanSchema: z.ZodObject<{
|
|
|
744
744
|
reductions: Record<string, {
|
|
745
745
|
input: string;
|
|
746
746
|
missing: "fail" | "skip" | "zero";
|
|
747
|
-
op: "
|
|
747
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg" | "groupBy";
|
|
748
748
|
nulls: "fail" | "skip" | "zero";
|
|
749
749
|
empty: "null" | "fail" | "zero";
|
|
750
750
|
coverage: "complete" | "partial" | "declared";
|
|
@@ -752,7 +752,7 @@ declare const datasetPlanSchema: z.ZodObject<{
|
|
|
752
752
|
group?: {
|
|
753
753
|
metrics: Record<string, {
|
|
754
754
|
missing: "fail" | "skip" | "zero";
|
|
755
|
-
op: "
|
|
755
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg";
|
|
756
756
|
nulls: "fail" | "skip" | "zero";
|
|
757
757
|
empty: "null" | "fail" | "zero";
|
|
758
758
|
field?: string | undefined;
|
|
@@ -845,8 +845,8 @@ declare const datasetPlanSchema: z.ZodObject<{
|
|
|
845
845
|
dependsOn?: string[] | undefined;
|
|
846
846
|
pagination?: {
|
|
847
847
|
mode: "page" | "cursor" | "offset" | "range" | "nextLink" | "keyset" | "stream";
|
|
848
|
-
next?: unknown;
|
|
849
848
|
size?: number | undefined;
|
|
849
|
+
next?: unknown;
|
|
850
850
|
start?: number | undefined;
|
|
851
851
|
initial?: string | number | (string | number)[] | undefined;
|
|
852
852
|
hasMore?: unknown;
|
|
@@ -860,11 +860,11 @@ declare const datasetPlanSchema: z.ZodObject<{
|
|
|
860
860
|
}>;
|
|
861
861
|
reductions?: Record<string, {
|
|
862
862
|
input: string;
|
|
863
|
-
op: "
|
|
863
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg" | "groupBy";
|
|
864
864
|
scope?: string | undefined;
|
|
865
865
|
group?: {
|
|
866
866
|
metrics: Record<string, {
|
|
867
|
-
op: "
|
|
867
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg";
|
|
868
868
|
missing?: "fail" | "skip" | "zero" | undefined;
|
|
869
869
|
field?: string | undefined;
|
|
870
870
|
nulls?: "fail" | "skip" | "zero" | undefined;
|
|
@@ -944,7 +944,7 @@ declare function validateDatasetPlan(sourceText: string, environment: PlanEnviro
|
|
|
944
944
|
reductions: Record<string, {
|
|
945
945
|
input: string;
|
|
946
946
|
missing: "fail" | "skip" | "zero";
|
|
947
|
-
op: "
|
|
947
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg" | "groupBy";
|
|
948
948
|
nulls: "fail" | "skip" | "zero";
|
|
949
949
|
empty: "null" | "fail" | "zero";
|
|
950
950
|
coverage: "complete" | "partial" | "declared";
|
|
@@ -952,7 +952,7 @@ declare function validateDatasetPlan(sourceText: string, environment: PlanEnviro
|
|
|
952
952
|
group?: {
|
|
953
953
|
metrics: Record<string, {
|
|
954
954
|
missing: "fail" | "skip" | "zero";
|
|
955
|
-
op: "
|
|
955
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg";
|
|
956
956
|
nulls: "fail" | "skip" | "zero";
|
|
957
957
|
empty: "null" | "fail" | "zero";
|
|
958
958
|
field?: string | undefined;
|
|
@@ -1125,7 +1125,7 @@ declare class DatasetService {
|
|
|
1125
1125
|
reductions: Record<string, {
|
|
1126
1126
|
input: string;
|
|
1127
1127
|
missing: "fail" | "skip" | "zero";
|
|
1128
|
-
op: "
|
|
1128
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg" | "groupBy";
|
|
1129
1129
|
nulls: "fail" | "skip" | "zero";
|
|
1130
1130
|
empty: "null" | "fail" | "zero";
|
|
1131
1131
|
coverage: "complete" | "partial" | "declared";
|
|
@@ -1133,7 +1133,7 @@ declare class DatasetService {
|
|
|
1133
1133
|
group?: {
|
|
1134
1134
|
metrics: Record<string, {
|
|
1135
1135
|
missing: "fail" | "skip" | "zero";
|
|
1136
|
-
op: "
|
|
1136
|
+
op: "min" | "max" | "count" | "countDistinct" | "sum" | "avg";
|
|
1137
1137
|
nulls: "fail" | "skip" | "zero";
|
|
1138
1138
|
empty: "null" | "fail" | "zero";
|
|
1139
1139
|
field?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@x12i/reportic-datasets",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "Declarative dataset plan compilation, bounded execution and agent-scoped publication",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"node": ">=22"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@x12i/reportic-catalog": "0.2.
|
|
27
|
-
"@x12i/reportic-core": "0.2.
|
|
26
|
+
"@x12i/reportic-catalog": "0.2.5",
|
|
27
|
+
"@x12i/reportic-core": "0.2.5",
|
|
28
28
|
"zod": "^3.25.0",
|
|
29
29
|
"yaml": "^2.8.1"
|
|
30
30
|
}
|