@sixb/server 0.2.6 → 0.2.7
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/auth/run-token.d.ts.map +1 -1
- package/dist/index.js +75 -35
- package/dist/index.js.map +22 -22
- package/dist/routes/actions.d.ts +2 -0
- package/dist/routes/actions.d.ts.map +1 -1
- package/dist/routes/agent-approvals.d.ts +1 -1
- package/dist/routes/agents.d.ts +14 -14
- package/dist/routes/connectors.d.ts +2 -0
- package/dist/routes/connectors.d.ts.map +1 -1
- package/dist/routes/datasets.d.ts +2 -0
- package/dist/routes/datasets.d.ts.map +1 -1
- package/dist/routes/observed-agent-threads.d.ts +2 -2
- package/dist/routes/ontology.d.ts +2 -0
- package/dist/routes/ontology.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +2 -0
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/projections.d.ts +6 -0
- package/dist/routes/projections.d.ts.map +1 -1
- package/dist/routes/rules.d.ts +2 -0
- package/dist/routes/rules.d.ts.map +1 -1
- package/dist/routes/status.d.ts +1 -1
- package/dist/routes/syncs.d.ts +2 -0
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts +2 -0
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/schemas/actions.d.ts +6 -0
- package/dist/schemas/actions.d.ts.map +1 -1
- package/dist/schemas/agents.d.ts +62 -62
- package/dist/schemas/common.d.ts +5 -0
- package/dist/schemas/common.d.ts.map +1 -1
- package/dist/schemas/connectors.d.ts +3 -0
- package/dist/schemas/connectors.d.ts.map +1 -1
- package/dist/schemas/datasets.d.ts +3 -0
- package/dist/schemas/datasets.d.ts.map +1 -1
- package/dist/schemas/ontology.d.ts +3 -0
- package/dist/schemas/ontology.d.ts.map +1 -1
- package/dist/schemas/pipelines.d.ts +3 -0
- package/dist/schemas/pipelines.d.ts.map +1 -1
- package/dist/schemas/projections.d.ts +33 -0
- package/dist/schemas/projections.d.ts.map +1 -1
- package/dist/schemas/rules.d.ts +3 -0
- package/dist/schemas/rules.d.ts.map +1 -1
- package/dist/schemas/status.d.ts +2 -2
- package/dist/schemas/syncs.d.ts +3 -0
- package/dist/schemas/syncs.d.ts.map +1 -1
- package/dist/schemas/workflows.d.ts +3 -0
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/auth/run-token.ts +59 -9
- package/src/routes/actions.ts +7 -3
- package/src/routes/connectors.ts +1 -0
- package/src/routes/datasets.ts +11 -3
- package/src/routes/ontology.ts +17 -3
- package/src/routes/pipelines.ts +13 -3
- package/src/routes/projections.ts +14 -9
- package/src/routes/rules.ts +9 -3
- package/src/routes/syncs.ts +4 -0
- package/src/routes/workflows.ts +13 -3
- package/src/schemas/actions.ts +7 -1
- package/src/schemas/common.ts +9 -0
- package/src/schemas/connectors.ts +2 -1
- package/src/schemas/datasets.ts +2 -1
- package/src/schemas/ontology.ts +2 -0
- package/src/schemas/pipelines.ts +2 -1
- package/src/schemas/projections.ts +4 -1
- package/src/schemas/rules.ts +2 -0
- package/src/schemas/syncs.ts +2 -1
- package/src/schemas/workflows.ts +7 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/schemas/pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,WAAW,EACjB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAQvB,eAAO,MAAM,oBAAoB;;;;;;EAE/B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;EAElC,CAAA;AAEF,eAAO,MAAM,uBAAuB,sEAMlC,CAAA;AAGF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;EAQlC,CAAA;AAsBF,eAAO,MAAM,iBAAiB;;;;;IAK5B,uFAAuF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAA;AAEF,eAAO,MAAM,+BAA+B;;;;;;QA7D1C,uFAAuF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgEvF,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;EAK3C,CAAA"}
|
|
@@ -460,6 +460,7 @@ export declare const SourceEditConflictResolutionSchema: z.ZodUnion<[z.ZodObject
|
|
|
460
460
|
export declare const ObjectProjectionSchema: z.ZodObject<{
|
|
461
461
|
_tag: z.ZodLiteral<"ObjectProjectionDefinition">;
|
|
462
462
|
id: z.ZodString;
|
|
463
|
+
folder: z.ZodOptional<z.ZodString>;
|
|
463
464
|
objectTypeId: z.ZodString;
|
|
464
465
|
datasetId: z.ZodString;
|
|
465
466
|
properties: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -1035,6 +1036,7 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
|
|
|
1035
1036
|
sourceTimestamp: string;
|
|
1036
1037
|
};
|
|
1037
1038
|
users?: Record<string, "id" | "email"> | undefined;
|
|
1039
|
+
folder?: string | undefined;
|
|
1038
1040
|
missing?: "remove" | undefined;
|
|
1039
1041
|
}, {
|
|
1040
1042
|
id: string;
|
|
@@ -1150,11 +1152,13 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
|
|
|
1150
1152
|
sourceTimestamp: string;
|
|
1151
1153
|
};
|
|
1152
1154
|
users?: Record<string, "id" | "email"> | undefined;
|
|
1155
|
+
folder?: string | undefined;
|
|
1153
1156
|
missing?: "remove" | undefined;
|
|
1154
1157
|
}>;
|
|
1155
1158
|
export declare const LinkProjectionSchema: z.ZodObject<{
|
|
1156
1159
|
_tag: z.ZodLiteral<"LinkProjectionDefinition">;
|
|
1157
1160
|
id: z.ZodString;
|
|
1161
|
+
folder: z.ZodOptional<z.ZodString>;
|
|
1158
1162
|
linkId: z.ZodString;
|
|
1159
1163
|
sourceObjectTypeId: z.ZodString;
|
|
1160
1164
|
targetObjectTypeId: z.ZodString;
|
|
@@ -1688,6 +1692,7 @@ export declare const LinkProjectionSchema: z.ZodObject<{
|
|
|
1688
1692
|
sourceField: string;
|
|
1689
1693
|
_tag: "LinkProjectionDefinition";
|
|
1690
1694
|
targetField: string;
|
|
1695
|
+
folder?: string | undefined;
|
|
1691
1696
|
}, {
|
|
1692
1697
|
id: string;
|
|
1693
1698
|
targetObjectTypeId: string;
|
|
@@ -1792,10 +1797,12 @@ export declare const LinkProjectionSchema: z.ZodObject<{
|
|
|
1792
1797
|
sourceField: string;
|
|
1793
1798
|
_tag: "LinkProjectionDefinition";
|
|
1794
1799
|
targetField: string;
|
|
1800
|
+
folder?: string | undefined;
|
|
1795
1801
|
}>;
|
|
1796
1802
|
export declare const TelemetryProjectionSchema: z.ZodObject<{
|
|
1797
1803
|
_tag: z.ZodLiteral<"TelemetryProjectionDefinition">;
|
|
1798
1804
|
id: z.ZodString;
|
|
1805
|
+
folder: z.ZodOptional<z.ZodString>;
|
|
1799
1806
|
objectTypeId: z.ZodString;
|
|
1800
1807
|
datasetId: z.ZodString;
|
|
1801
1808
|
objectIdField: z.ZodString;
|
|
@@ -2339,6 +2346,7 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
|
|
|
2339
2346
|
_tag: "TelemetryProjectionDefinition";
|
|
2340
2347
|
objectIdField: string;
|
|
2341
2348
|
atField: string;
|
|
2349
|
+
folder?: string | undefined;
|
|
2342
2350
|
}, {
|
|
2343
2351
|
id: string;
|
|
2344
2352
|
properties: Record<string, {
|
|
@@ -2445,11 +2453,13 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
|
|
|
2445
2453
|
_tag: "TelemetryProjectionDefinition";
|
|
2446
2454
|
objectIdField: string;
|
|
2447
2455
|
atField: string;
|
|
2456
|
+
folder?: string | undefined;
|
|
2448
2457
|
}>;
|
|
2449
2458
|
export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
2450
2459
|
objectProjections: z.ZodArray<z.ZodObject<{
|
|
2451
2460
|
_tag: z.ZodLiteral<"ObjectProjectionDefinition">;
|
|
2452
2461
|
id: z.ZodString;
|
|
2462
|
+
folder: z.ZodOptional<z.ZodString>;
|
|
2453
2463
|
objectTypeId: z.ZodString;
|
|
2454
2464
|
datasetId: z.ZodString;
|
|
2455
2465
|
properties: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -3025,6 +3035,7 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3025
3035
|
sourceTimestamp: string;
|
|
3026
3036
|
};
|
|
3027
3037
|
users?: Record<string, "id" | "email"> | undefined;
|
|
3038
|
+
folder?: string | undefined;
|
|
3028
3039
|
missing?: "remove" | undefined;
|
|
3029
3040
|
}, {
|
|
3030
3041
|
id: string;
|
|
@@ -3140,11 +3151,13 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3140
3151
|
sourceTimestamp: string;
|
|
3141
3152
|
};
|
|
3142
3153
|
users?: Record<string, "id" | "email"> | undefined;
|
|
3154
|
+
folder?: string | undefined;
|
|
3143
3155
|
missing?: "remove" | undefined;
|
|
3144
3156
|
}>, "many">;
|
|
3145
3157
|
linkProjections: z.ZodArray<z.ZodObject<{
|
|
3146
3158
|
_tag: z.ZodLiteral<"LinkProjectionDefinition">;
|
|
3147
3159
|
id: z.ZodString;
|
|
3160
|
+
folder: z.ZodOptional<z.ZodString>;
|
|
3148
3161
|
linkId: z.ZodString;
|
|
3149
3162
|
sourceObjectTypeId: z.ZodString;
|
|
3150
3163
|
targetObjectTypeId: z.ZodString;
|
|
@@ -3678,6 +3691,7 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3678
3691
|
sourceField: string;
|
|
3679
3692
|
_tag: "LinkProjectionDefinition";
|
|
3680
3693
|
targetField: string;
|
|
3694
|
+
folder?: string | undefined;
|
|
3681
3695
|
}, {
|
|
3682
3696
|
id: string;
|
|
3683
3697
|
targetObjectTypeId: string;
|
|
@@ -3782,10 +3796,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
3782
3796
|
sourceField: string;
|
|
3783
3797
|
_tag: "LinkProjectionDefinition";
|
|
3784
3798
|
targetField: string;
|
|
3799
|
+
folder?: string | undefined;
|
|
3785
3800
|
}>, "many">;
|
|
3786
3801
|
telemetryProjections: z.ZodArray<z.ZodObject<{
|
|
3787
3802
|
_tag: z.ZodLiteral<"TelemetryProjectionDefinition">;
|
|
3788
3803
|
id: z.ZodString;
|
|
3804
|
+
folder: z.ZodOptional<z.ZodString>;
|
|
3789
3805
|
objectTypeId: z.ZodString;
|
|
3790
3806
|
datasetId: z.ZodString;
|
|
3791
3807
|
objectIdField: z.ZodString;
|
|
@@ -4329,6 +4345,7 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4329
4345
|
_tag: "TelemetryProjectionDefinition";
|
|
4330
4346
|
objectIdField: string;
|
|
4331
4347
|
atField: string;
|
|
4348
|
+
folder?: string | undefined;
|
|
4332
4349
|
}, {
|
|
4333
4350
|
id: string;
|
|
4334
4351
|
properties: Record<string, {
|
|
@@ -4435,6 +4452,7 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4435
4452
|
_tag: "TelemetryProjectionDefinition";
|
|
4436
4453
|
objectIdField: string;
|
|
4437
4454
|
atField: string;
|
|
4455
|
+
folder?: string | undefined;
|
|
4438
4456
|
}>, "many">;
|
|
4439
4457
|
}, "strip", z.ZodTypeAny, {
|
|
4440
4458
|
objectProjections: {
|
|
@@ -4551,6 +4569,7 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4551
4569
|
sourceTimestamp: string;
|
|
4552
4570
|
};
|
|
4553
4571
|
users?: Record<string, "id" | "email"> | undefined;
|
|
4572
|
+
folder?: string | undefined;
|
|
4554
4573
|
missing?: "remove" | undefined;
|
|
4555
4574
|
}[];
|
|
4556
4575
|
linkProjections: {
|
|
@@ -4657,6 +4676,7 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4657
4676
|
sourceField: string;
|
|
4658
4677
|
_tag: "LinkProjectionDefinition";
|
|
4659
4678
|
targetField: string;
|
|
4679
|
+
folder?: string | undefined;
|
|
4660
4680
|
}[];
|
|
4661
4681
|
telemetryProjections: {
|
|
4662
4682
|
id: string;
|
|
@@ -4764,6 +4784,7 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4764
4784
|
_tag: "TelemetryProjectionDefinition";
|
|
4765
4785
|
objectIdField: string;
|
|
4766
4786
|
atField: string;
|
|
4787
|
+
folder?: string | undefined;
|
|
4767
4788
|
}[];
|
|
4768
4789
|
}, {
|
|
4769
4790
|
objectProjections: {
|
|
@@ -4880,6 +4901,7 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4880
4901
|
sourceTimestamp: string;
|
|
4881
4902
|
};
|
|
4882
4903
|
users?: Record<string, "id" | "email"> | undefined;
|
|
4904
|
+
folder?: string | undefined;
|
|
4883
4905
|
missing?: "remove" | undefined;
|
|
4884
4906
|
}[];
|
|
4885
4907
|
linkProjections: {
|
|
@@ -4986,6 +5008,7 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
4986
5008
|
sourceField: string;
|
|
4987
5009
|
_tag: "LinkProjectionDefinition";
|
|
4988
5010
|
targetField: string;
|
|
5011
|
+
folder?: string | undefined;
|
|
4989
5012
|
}[];
|
|
4990
5013
|
telemetryProjections: {
|
|
4991
5014
|
id: string;
|
|
@@ -5093,6 +5116,7 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
|
|
|
5093
5116
|
_tag: "TelemetryProjectionDefinition";
|
|
5094
5117
|
objectIdField: string;
|
|
5095
5118
|
atField: string;
|
|
5119
|
+
folder?: string | undefined;
|
|
5096
5120
|
}[];
|
|
5097
5121
|
}>;
|
|
5098
5122
|
export declare const ProjectionParamsSchema: z.ZodObject<{
|
|
@@ -5105,6 +5129,7 @@ export declare const ProjectionParamsSchema: z.ZodObject<{
|
|
|
5105
5129
|
export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
5106
5130
|
_tag: z.ZodLiteral<"ObjectProjectionDefinition">;
|
|
5107
5131
|
id: z.ZodString;
|
|
5132
|
+
folder: z.ZodOptional<z.ZodString>;
|
|
5108
5133
|
objectTypeId: z.ZodString;
|
|
5109
5134
|
datasetId: z.ZodString;
|
|
5110
5135
|
properties: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -5680,6 +5705,7 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5680
5705
|
sourceTimestamp: string;
|
|
5681
5706
|
};
|
|
5682
5707
|
users?: Record<string, "id" | "email"> | undefined;
|
|
5708
|
+
folder?: string | undefined;
|
|
5683
5709
|
missing?: "remove" | undefined;
|
|
5684
5710
|
}, {
|
|
5685
5711
|
id: string;
|
|
@@ -5795,10 +5821,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5795
5821
|
sourceTimestamp: string;
|
|
5796
5822
|
};
|
|
5797
5823
|
users?: Record<string, "id" | "email"> | undefined;
|
|
5824
|
+
folder?: string | undefined;
|
|
5798
5825
|
missing?: "remove" | undefined;
|
|
5799
5826
|
}>, z.ZodObject<{
|
|
5800
5827
|
_tag: z.ZodLiteral<"LinkProjectionDefinition">;
|
|
5801
5828
|
id: z.ZodString;
|
|
5829
|
+
folder: z.ZodOptional<z.ZodString>;
|
|
5802
5830
|
linkId: z.ZodString;
|
|
5803
5831
|
sourceObjectTypeId: z.ZodString;
|
|
5804
5832
|
targetObjectTypeId: z.ZodString;
|
|
@@ -6332,6 +6360,7 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6332
6360
|
sourceField: string;
|
|
6333
6361
|
_tag: "LinkProjectionDefinition";
|
|
6334
6362
|
targetField: string;
|
|
6363
|
+
folder?: string | undefined;
|
|
6335
6364
|
}, {
|
|
6336
6365
|
id: string;
|
|
6337
6366
|
targetObjectTypeId: string;
|
|
@@ -6436,9 +6465,11 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6436
6465
|
sourceField: string;
|
|
6437
6466
|
_tag: "LinkProjectionDefinition";
|
|
6438
6467
|
targetField: string;
|
|
6468
|
+
folder?: string | undefined;
|
|
6439
6469
|
}>, z.ZodObject<{
|
|
6440
6470
|
_tag: z.ZodLiteral<"TelemetryProjectionDefinition">;
|
|
6441
6471
|
id: z.ZodString;
|
|
6472
|
+
folder: z.ZodOptional<z.ZodString>;
|
|
6442
6473
|
objectTypeId: z.ZodString;
|
|
6443
6474
|
datasetId: z.ZodString;
|
|
6444
6475
|
objectIdField: z.ZodString;
|
|
@@ -6982,6 +7013,7 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6982
7013
|
_tag: "TelemetryProjectionDefinition";
|
|
6983
7014
|
objectIdField: string;
|
|
6984
7015
|
atField: string;
|
|
7016
|
+
folder?: string | undefined;
|
|
6985
7017
|
}, {
|
|
6986
7018
|
id: string;
|
|
6987
7019
|
properties: Record<string, {
|
|
@@ -7088,6 +7120,7 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
7088
7120
|
_tag: "TelemetryProjectionDefinition";
|
|
7089
7121
|
objectIdField: string;
|
|
7090
7122
|
atField: string;
|
|
7123
|
+
folder?: string | undefined;
|
|
7091
7124
|
}>]>;
|
|
7092
7125
|
export declare const ProjectionRunParamsSchema: z.ZodObject<{
|
|
7093
7126
|
runId: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projections.d.ts","sourceRoot":"","sources":["../../src/schemas/projections.ts"],"names":[],"mappings":"AAAA,O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
|
|
33
33
|
export declare const RuleSchema: z.ZodObject<{
|
|
34
34
|
kind: z.ZodLiteral<"rule">;
|
|
35
35
|
id: z.ZodString;
|
|
36
|
+
folder: z.ZodOptional<z.ZodString>;
|
|
36
37
|
subject: z.ZodObject<{
|
|
37
38
|
kind: z.ZodLiteral<"object">;
|
|
38
39
|
objectTypeId: z.ZodString;
|
|
@@ -82,6 +83,7 @@ export declare const RuleSchema: z.ZodObject<{
|
|
|
82
83
|
sourceTypeId: string;
|
|
83
84
|
linkId: string;
|
|
84
85
|
})[];
|
|
86
|
+
folder?: string | undefined;
|
|
85
87
|
}, {
|
|
86
88
|
id: string;
|
|
87
89
|
kind: "rule";
|
|
@@ -98,6 +100,7 @@ export declare const RuleSchema: z.ZodObject<{
|
|
|
98
100
|
sourceTypeId: string;
|
|
99
101
|
linkId: string;
|
|
100
102
|
})[];
|
|
103
|
+
folder?: string | undefined;
|
|
101
104
|
}>;
|
|
102
105
|
export declare const RuleStateSchema: z.ZodObject<{
|
|
103
106
|
projectId: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../src/schemas/rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../src/schemas/rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,gBAAgB;;;;;;EAE3B,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;EAOhC,CAAA;AAkDF,eAAO,MAAM,mBAAmB,EAAgC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAA;AAcxF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOrB,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK1B,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAItC,CAAA"}
|
package/dist/schemas/status.d.ts
CHANGED
|
@@ -103,6 +103,7 @@ export declare const StatusResponseSchema: z.ZodObject<{
|
|
|
103
103
|
}>;
|
|
104
104
|
}, "strip", z.ZodTypeAny, {
|
|
105
105
|
status: "unknown" | "ok" | "degraded";
|
|
106
|
+
objectTypes: number;
|
|
106
107
|
maintenance: {
|
|
107
108
|
owner: "orchestrator" | "embedded" | null;
|
|
108
109
|
beatAt: string | null;
|
|
@@ -119,9 +120,9 @@ export declare const StatusResponseSchema: z.ZodObject<{
|
|
|
119
120
|
maxAttempts: number;
|
|
120
121
|
};
|
|
121
122
|
};
|
|
122
|
-
objectTypes: number;
|
|
123
123
|
}, {
|
|
124
124
|
status: "unknown" | "ok" | "degraded";
|
|
125
|
+
objectTypes: number;
|
|
125
126
|
maintenance: {
|
|
126
127
|
owner: "orchestrator" | "embedded" | null;
|
|
127
128
|
beatAt: string | null;
|
|
@@ -138,6 +139,5 @@ export declare const StatusResponseSchema: z.ZodObject<{
|
|
|
138
139
|
maxAttempts: number;
|
|
139
140
|
};
|
|
140
141
|
};
|
|
141
|
-
objectTypes: number;
|
|
142
142
|
}>;
|
|
143
143
|
//# sourceMappingURL=status.d.ts.map
|
package/dist/schemas/syncs.d.ts
CHANGED
|
@@ -608,6 +608,7 @@ export declare const ConnectorAccountsParamsSchema: z.ZodObject<{
|
|
|
608
608
|
}>;
|
|
609
609
|
export declare const SyncSchema: z.ZodObject<{
|
|
610
610
|
id: z.ZodString;
|
|
611
|
+
folder: z.ZodOptional<z.ZodString>;
|
|
611
612
|
mode: z.ZodEnum<["snapshot", "append", "merge"]>;
|
|
612
613
|
connector: z.ZodObject<{
|
|
613
614
|
id: z.ZodString;
|
|
@@ -870,6 +871,7 @@ export declare const SyncSchema: z.ZodObject<{
|
|
|
870
871
|
partitionBy?: string[] | undefined;
|
|
871
872
|
};
|
|
872
873
|
};
|
|
874
|
+
folder?: string | undefined;
|
|
873
875
|
accounts?: {
|
|
874
876
|
total: number;
|
|
875
877
|
running: number;
|
|
@@ -927,6 +929,7 @@ export declare const SyncSchema: z.ZodObject<{
|
|
|
927
929
|
partitionBy?: string[] | undefined;
|
|
928
930
|
};
|
|
929
931
|
};
|
|
932
|
+
folder?: string | undefined;
|
|
930
933
|
accounts?: {
|
|
931
934
|
total: number;
|
|
932
935
|
running: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"syncs.d.ts","sourceRoot":"","sources":["../../src/schemas/syncs.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,WAAW,EAGjB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAOvB,eAAO,MAAM,gBAAgB;;;;;;EAE3B,CAAA;AAEF,eAAO,MAAM,mBAAmB,sEAAoE,CAAA;AAGpG,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU9B,CAAA;AAEF,eAAO,MAAM,wBAAwB;IACnC,iGAAiG;;;;;;;;;;;;EAIjG,CAAA;AAOF,eAAO,MAAM,aAAa;;;;IAIxB,qEAAqE;;;;;IAKrE,uFAAuF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAevF,CAAA;AAYF,4FAA4F;AAC5F,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAjCjC,qEAAqE;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoB9D,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;;;;;EAGzC,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;;QApF3C,qEAAqE;;;;;QAKrE,uFAAuF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiFvF,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;QAxFpC,qEAAqE;;;;;QAKrE,uFAAuF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuFvF,CAAA;AAWF,+FAA+F;AAC/F,eAAO,MAAM,4BAA4B;;;;;QANvC,qEAAqE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQrE,CAAA"}
|
|
@@ -1715,6 +1715,7 @@ export declare const WorkflowInterventionSchema: z.ZodObject<{
|
|
|
1715
1715
|
}>;
|
|
1716
1716
|
export declare const WorkflowSchema: z.ZodObject<{
|
|
1717
1717
|
id: z.ZodString;
|
|
1718
|
+
folder: z.ZodOptional<z.ZodString>;
|
|
1718
1719
|
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
1719
1720
|
triggers: z.ZodArray<z.ZodObject<{
|
|
1720
1721
|
type: z.ZodLiteral<"schedule">;
|
|
@@ -1895,6 +1896,7 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1895
1896
|
finishedAt?: string | undefined;
|
|
1896
1897
|
queuedAt?: string | undefined;
|
|
1897
1898
|
} | null;
|
|
1899
|
+
folder?: string | undefined;
|
|
1898
1900
|
}, {
|
|
1899
1901
|
id: string;
|
|
1900
1902
|
input: Record<string, import("./common").JsonValue>;
|
|
@@ -1942,6 +1944,7 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1942
1944
|
finishedAt?: string | undefined;
|
|
1943
1945
|
queuedAt?: string | undefined;
|
|
1944
1946
|
} | null;
|
|
1947
|
+
folder?: string | undefined;
|
|
1945
1948
|
}>;
|
|
1946
1949
|
export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
1947
1950
|
runs: z.ZodArray<z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../src/schemas/workflows.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,WAAW,EAGjB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../src/schemas/workflows.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,WAAW,EAGjB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAWvB,eAAO,MAAM,wBAAwB,+GAA4B,CAAA;AAMjE,eAAO,MAAM,oBAAoB;;;;;;EAE/B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;EAElC,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;;;EAE3C,CAAA;AAEF,eAAO,MAAM,uBAAuB,iFAOlC,CAAA;AAEF,eAAO,MAAM,gCAAgC,6DAK3C,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;EAQlC,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAa3C,CAAA;AAEF,eAAO,MAAM,4BAA4B;;IAGrC,8FAA8F;;;;;;;;GAGpF,CAAA;AAEd,eAAO,MAAM,2BAA2B,8DAA2B,CA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAkC,CAAA;AAE9E,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIjD,CAAA;AAEF,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGnD,CAAA;AAEF,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEnD,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;EAK3C,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sixb/server",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"description": "HTTP and WebSocket API server for Sixb",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sixb",
|
|
@@ -40,15 +40,15 @@
|
|
|
40
40
|
"zod-to-json-schema": "^3.24.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@sixb/core": "0.2.
|
|
43
|
+
"@sixb/core": "0.2.7",
|
|
44
44
|
"yjs": "^13.6.33"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@sixb/auth-magic-link": "0.2.0",
|
|
48
48
|
"@sixb/auth-oidc": "0.2.3",
|
|
49
|
-
"@sixb/cli-core": "0.2.
|
|
50
|
-
"@sixb/core": "0.2.
|
|
51
|
-
"@sixb/sqlite": "0.2.
|
|
49
|
+
"@sixb/cli-core": "0.2.5",
|
|
50
|
+
"@sixb/core": "0.2.7",
|
|
51
|
+
"@sixb/sqlite": "0.2.7",
|
|
52
52
|
"@types/bun": "latest",
|
|
53
53
|
"typescript": "^5.7.0",
|
|
54
54
|
"yjs": "13.6.33"
|
package/src/auth/run-token.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { SixbHostView } from "@sixb/core"
|
|
2
2
|
import {
|
|
3
|
+
AGENT_RUN_HEADER,
|
|
3
4
|
type AgentRunExecutionScope,
|
|
4
5
|
AgentRunScopeError,
|
|
5
6
|
agentRunTokenRunId,
|
|
@@ -25,6 +26,12 @@ import type { AgentRunRequestExecution, RequestAuthState } from "./scope"
|
|
|
25
26
|
// own execution, restored from server-side records: what it starts is a child of the run and keeps
|
|
26
27
|
// the run's requester, whatever the request's headers say. What a run may do there depends on its
|
|
27
28
|
// kind, and on its conversation's approval mode, as decided below.
|
|
29
|
+
//
|
|
30
|
+
// A child that works in its parent's workspace runs its commands in its parent's session, which
|
|
31
|
+
// adds its parent's token; they name the child in `AGENT_RUN_HEADER`. That header only narrows the
|
|
32
|
+
// token's authority to one of its run's own children still at work, which the request is then
|
|
33
|
+
// admitted as, exactly as with the child's own token. The token stays the authority: parent and
|
|
34
|
+
// child share a machine and act for the same user, so the header is no boundary between them.
|
|
28
35
|
|
|
29
36
|
/** What a run-token request is allowed as, or the answer that refuses or holds it. */
|
|
30
37
|
export type RunTokenDecision =
|
|
@@ -63,7 +70,11 @@ export async function resolveRunTokenRequest(input: {
|
|
|
63
70
|
return deny(403, `A run token cannot call ${method} ${path}.`)
|
|
64
71
|
}
|
|
65
72
|
|
|
66
|
-
const resolved = await resolveRunState(
|
|
73
|
+
const resolved = await resolveRunState(
|
|
74
|
+
host,
|
|
75
|
+
input.token,
|
|
76
|
+
request.headers.get(AGENT_RUN_HEADER) ?? undefined
|
|
77
|
+
)
|
|
67
78
|
if (resolved.kind === "deny") return resolved
|
|
68
79
|
const { state, run } = resolved
|
|
69
80
|
|
|
@@ -150,7 +161,9 @@ async function runPolicyRefusal(
|
|
|
150
161
|
|
|
151
162
|
async function resolveRunState(
|
|
152
163
|
host: SixbHostView,
|
|
153
|
-
token: string
|
|
164
|
+
token: string,
|
|
165
|
+
/** The run the request names itself as, when not the token's: one of its children. */
|
|
166
|
+
actingRunId: string | undefined
|
|
154
167
|
): Promise<
|
|
155
168
|
| { readonly kind: "deny"; readonly response: Response }
|
|
156
169
|
| {
|
|
@@ -175,24 +188,37 @@ async function resolveRunState(
|
|
|
175
188
|
runId && !storedAgentRun
|
|
176
189
|
? await workflowRuns?.agentNodes.getByNodeRunId({ projectId: host.id, nodeRunId: runId })
|
|
177
190
|
: undefined
|
|
178
|
-
const
|
|
191
|
+
const tokenState = toRunState(storedAgentRun ?? null, workflowRun ?? null)
|
|
179
192
|
if (
|
|
180
193
|
!runId ||
|
|
181
|
-
!
|
|
182
|
-
|
|
183
|
-
("cancelRequestedAt" in
|
|
184
|
-
!
|
|
185
|
-
|
|
194
|
+
!tokenState ||
|
|
195
|
+
tokenState.run.status !== "running" ||
|
|
196
|
+
("cancelRequestedAt" in tokenState.run && tokenState.run.cancelRequestedAt) ||
|
|
197
|
+
!tokenState.run.execution ||
|
|
198
|
+
tokenState.run.execution.queueLeaseExpiresAt.getTime() <= Date.now() ||
|
|
186
199
|
!isValidAgentRunToken({
|
|
187
200
|
projectId: host.id,
|
|
188
201
|
runId,
|
|
189
|
-
executionToken:
|
|
202
|
+
executionToken: tokenState.run.execution.token,
|
|
190
203
|
token,
|
|
191
204
|
})
|
|
192
205
|
) {
|
|
193
206
|
return deny(403, "The run token is not valid: its run has ended, moved or been stopped.")
|
|
194
207
|
}
|
|
195
208
|
|
|
209
|
+
// The request acts as the run it names, when that is one of the token's run's children.
|
|
210
|
+
let runState = tokenState
|
|
211
|
+
if (actingRunId !== undefined && actingRunId !== runId) {
|
|
212
|
+
const child = await childActingFor(host, tokenState, actingRunId)
|
|
213
|
+
if (!child) {
|
|
214
|
+
return deny(
|
|
215
|
+
403,
|
|
216
|
+
`The run token cannot act as run '${actingRunId}': only as a sub-agent of its own run still at work.`
|
|
217
|
+
)
|
|
218
|
+
}
|
|
219
|
+
runState = child
|
|
220
|
+
}
|
|
221
|
+
|
|
196
222
|
let scope: AgentRunExecutionScope
|
|
197
223
|
try {
|
|
198
224
|
scope = await resolveAgentRunExecutionScope(host, {
|
|
@@ -271,6 +297,30 @@ function toRunState(
|
|
|
271
297
|
}
|
|
272
298
|
}
|
|
273
299
|
|
|
300
|
+
/**
|
|
301
|
+
* One of the token's run's own children still at work, as a request naming it is admitted: a child
|
|
302
|
+
* of a conversation turn, running under its own execution.
|
|
303
|
+
*/
|
|
304
|
+
async function childActingFor(
|
|
305
|
+
host: SixbHostView,
|
|
306
|
+
parent: RunState,
|
|
307
|
+
childRunId: string
|
|
308
|
+
): Promise<RunState | null> {
|
|
309
|
+
if (!parent.agentRun) return null
|
|
310
|
+
|
|
311
|
+
const child = await host.storage.agents?.runs.getById({ projectId: host.id, id: childRunId })
|
|
312
|
+
if (
|
|
313
|
+
child?.kind !== "subagent" ||
|
|
314
|
+
child.parentRunId !== parent.runId ||
|
|
315
|
+
child.status !== "running" ||
|
|
316
|
+
child.cancelRequestedAt ||
|
|
317
|
+
!child.execution
|
|
318
|
+
) {
|
|
319
|
+
return null
|
|
320
|
+
}
|
|
321
|
+
return toRunState(child, null)
|
|
322
|
+
}
|
|
323
|
+
|
|
274
324
|
function scopeErrorResponse(
|
|
275
325
|
error: AgentRunScopeError
|
|
276
326
|
): RunTokenDecision & { readonly kind: "deny" } {
|
package/src/routes/actions.ts
CHANGED
|
@@ -19,10 +19,12 @@ import { ErrorResponseSchema } from "../schemas/common"
|
|
|
19
19
|
import { handleRouteError } from "../utils/http"
|
|
20
20
|
|
|
21
21
|
function serializeAction(
|
|
22
|
-
action: ActionDescriptor
|
|
22
|
+
action: ActionDescriptor,
|
|
23
|
+
folder: string | undefined
|
|
23
24
|
): ReturnType<typeof ActionCatalogItemSchema.parse> {
|
|
24
25
|
return ActionCatalogItemSchema.parse({
|
|
25
26
|
id: action.id,
|
|
27
|
+
folder,
|
|
26
28
|
name: action.id,
|
|
27
29
|
description: action.description,
|
|
28
30
|
...(action.binding.kind === "object" ? { objectTypeId: action.binding.objectTypeId } : {}),
|
|
@@ -44,7 +46,7 @@ function serializeActionDetail(
|
|
|
44
46
|
host: SixbHostView
|
|
45
47
|
): ReturnType<typeof ActionDetailSchema.parse> {
|
|
46
48
|
return ActionDetailSchema.parse({
|
|
47
|
-
...serializeAction(action),
|
|
49
|
+
...serializeAction(action, host.definitions.folders.actions?.get(action.id)),
|
|
48
50
|
inputSchema: schemaFieldsToJsonSchema({
|
|
49
51
|
fields: action.params,
|
|
50
52
|
valueTypesById: host.definitions.ontology.getValueTypesById(),
|
|
@@ -58,7 +60,9 @@ export function registerActionRoutes(app: Elysia, host: SixbHostView) {
|
|
|
58
60
|
"/api/actions",
|
|
59
61
|
async (context) => {
|
|
60
62
|
const actions = requireRequestSixb(context).actions.list()
|
|
61
|
-
return actions.map(
|
|
63
|
+
return actions.map((action) =>
|
|
64
|
+
serializeAction(action, host.definitions.folders.actions?.get(action.id))
|
|
65
|
+
)
|
|
62
66
|
},
|
|
63
67
|
{
|
|
64
68
|
response: { 200: ActionCatalogItemSchema.array() },
|
package/src/routes/connectors.ts
CHANGED
|
@@ -14,6 +14,7 @@ function serializeConnector(
|
|
|
14
14
|
) {
|
|
15
15
|
return {
|
|
16
16
|
id: connector.id,
|
|
17
|
+
folder: host.definitions.folders.connectors?.get(connector.id),
|
|
17
18
|
type: connector.adapter.type,
|
|
18
19
|
connection: isOAuthConnectorDefinition(connector)
|
|
19
20
|
? { authentication: "oauth2" as const }
|
package/src/routes/datasets.ts
CHANGED
|
@@ -149,10 +149,12 @@ function serializeLatestVersionSummary(summary: DatasetLatestVersionSummary) {
|
|
|
149
149
|
function serializeDatasetCatalogItem(
|
|
150
150
|
dataset: DatasetDefinition,
|
|
151
151
|
state: DatasetCatalogState | undefined,
|
|
152
|
-
references: DatasetReferences
|
|
152
|
+
references: DatasetReferences,
|
|
153
|
+
folder: string | undefined
|
|
153
154
|
) {
|
|
154
155
|
return DatasetCatalogItemSchema.parse({
|
|
155
156
|
...dataset,
|
|
157
|
+
folder,
|
|
156
158
|
materialized: state?.materialized ?? false,
|
|
157
159
|
latestVersion: state?.latestVersion ? serializeLatestVersionSummary(state.latestVersion) : null,
|
|
158
160
|
syncIds: references.syncIds,
|
|
@@ -175,7 +177,8 @@ async function serializeDatasetCatalogItems(
|
|
|
175
177
|
serializeDatasetCatalogItem(
|
|
176
178
|
definition,
|
|
177
179
|
stateByDatasetId.get(definition.id),
|
|
178
|
-
references.get(definition.id) ?? EMPTY_DATASET_REFERENCES
|
|
180
|
+
references.get(definition.id) ?? EMPTY_DATASET_REFERENCES,
|
|
181
|
+
host.definitions.folders.datasets?.get(definition.id)
|
|
179
182
|
)
|
|
180
183
|
)
|
|
181
184
|
}
|
|
@@ -238,7 +241,12 @@ export function registerDatasetRoutes(app: Elysia, host: SixbHostView) {
|
|
|
238
241
|
const dataset = requireDataset(sixb, params.datasetId)
|
|
239
242
|
const [state] = await host.lakeStorage.listDatasetCatalogState([dataset.id])
|
|
240
243
|
const references = buildDatasetReferenceIndex(sixb).get(dataset.id)
|
|
241
|
-
return serializeDatasetCatalogItem(
|
|
244
|
+
return serializeDatasetCatalogItem(
|
|
245
|
+
dataset,
|
|
246
|
+
state,
|
|
247
|
+
references ?? EMPTY_DATASET_REFERENCES,
|
|
248
|
+
host.definitions.folders.datasets?.get(dataset.id)
|
|
249
|
+
)
|
|
242
250
|
} catch (error) {
|
|
243
251
|
return handleRouteError(error, set)
|
|
244
252
|
}
|