@burdenoff/microfe-cosmicintersection 2026.1107.1 → 2026.1108.2
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/cosmicintersection/api/cosmicApi.d.ts +222 -1
- package/dist/cosmicintersection/api/cosmicApi.d.ts.map +1 -1
- package/dist/cosmicintersection/api/cosmicApi.js +332 -133
- package/dist/cosmicintersection/api/cosmicApi.js.map +1 -1
- package/dist/cosmicintersection/components/AiRunAttribution.d.ts +18 -0
- package/dist/cosmicintersection/components/AiRunAttribution.d.ts.map +1 -0
- package/dist/cosmicintersection/components/AiRunAttribution.js +39 -0
- package/dist/cosmicintersection/components/AiRunAttribution.js.map +1 -0
- package/dist/cosmicintersection/components/ReleaseDraftDialog.d.ts +15 -0
- package/dist/cosmicintersection/components/ReleaseDraftDialog.d.ts.map +1 -0
- package/dist/cosmicintersection/components/ReleaseDraftDialog.js +193 -0
- package/dist/cosmicintersection/components/ReleaseDraftDialog.js.map +1 -0
- package/dist/cosmicintersection/components/RunTriageCard.d.ts +15 -0
- package/dist/cosmicintersection/components/RunTriageCard.d.ts.map +1 -0
- package/dist/cosmicintersection/components/RunTriageCard.js +282 -0
- package/dist/cosmicintersection/components/RunTriageCard.js.map +1 -0
- package/dist/cosmicintersection/components/SchemaProposalPanel.d.ts +18 -0
- package/dist/cosmicintersection/components/SchemaProposalPanel.d.ts.map +1 -0
- package/dist/cosmicintersection/components/SchemaProposalPanel.js +277 -0
- package/dist/cosmicintersection/components/SchemaProposalPanel.js.map +1 -0
- package/dist/cosmicintersection/components/index.d.ts +4 -0
- package/dist/cosmicintersection/components/index.d.ts.map +1 -1
- package/dist/cosmicintersection/components/index.js +5 -1
- package/dist/cosmicintersection/pages/access/AccessPage.d.ts.map +1 -1
- package/dist/cosmicintersection/pages/access/AccessPage.js +348 -326
- package/dist/cosmicintersection/pages/access/AccessPage.js.map +1 -1
- package/dist/cosmicintersection/pages/datasets/DatasetDetailPage.d.ts.map +1 -1
- package/dist/cosmicintersection/pages/datasets/DatasetDetailPage.js +732 -543
- package/dist/cosmicintersection/pages/datasets/DatasetDetailPage.js.map +1 -1
- package/dist/cosmicintersection/pages/discovery/DiscoveryPage.d.ts.map +1 -1
- package/dist/cosmicintersection/pages/discovery/DiscoveryPage.js +268 -119
- package/dist/cosmicintersection/pages/discovery/DiscoveryPage.js.map +1 -1
- package/dist/cosmicintersection/pages/notebooks/NotebookDetailPage.d.ts.map +1 -1
- package/dist/cosmicintersection/pages/notebooks/NotebookDetailPage.js +322 -307
- package/dist/cosmicintersection/pages/notebooks/NotebookDetailPage.js.map +1 -1
- package/dist/cosmicintersection/pages/releases/ReleasesPage.d.ts.map +1 -1
- package/dist/cosmicintersection/pages/releases/ReleasesPage.js +276 -241
- package/dist/cosmicintersection/pages/releases/ReleasesPage.js.map +1 -1
- package/dist/cosmicintersection/pages/runs/RunDetailPage.d.ts.map +1 -1
- package/dist/cosmicintersection/pages/runs/RunDetailPage.js +190 -185
- package/dist/cosmicintersection/pages/runs/RunDetailPage.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { notify as e } from "../lib/toast.js";
|
|
2
2
|
import { gql as t } from "@apollo/client";
|
|
3
|
-
import {
|
|
3
|
+
import { useLazyQuery as n, useMutation as r, useQuery as i } from "@apollo/client/react";
|
|
4
4
|
//#region src/cosmicintersection/api/cosmicApi.ts
|
|
5
|
-
var
|
|
5
|
+
var a = (t) => {
|
|
6
6
|
e.error("Something went wrong", t.message || "Please try again.");
|
|
7
7
|
};
|
|
8
8
|
t`
|
|
@@ -10,7 +10,7 @@ t`
|
|
|
10
10
|
cosHealth
|
|
11
11
|
}
|
|
12
12
|
`;
|
|
13
|
-
var
|
|
13
|
+
var o = t`
|
|
14
14
|
query CosListDatasets(
|
|
15
15
|
$q: String
|
|
16
16
|
$accessLevel: CosAccessLevel
|
|
@@ -54,7 +54,7 @@ var a = t`
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
`,
|
|
57
|
+
`, s = t`
|
|
58
58
|
query CosDataset($id: ID!) {
|
|
59
59
|
cosDataset(id: $id) {
|
|
60
60
|
id
|
|
@@ -104,7 +104,7 @@ var a = t`
|
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
-
`,
|
|
107
|
+
`, c = t`
|
|
108
108
|
query CosListSources(
|
|
109
109
|
$type: CosSourceType
|
|
110
110
|
$status: CosSourceStatus
|
|
@@ -131,7 +131,7 @@ var a = t`
|
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
`,
|
|
134
|
+
`, l = t`
|
|
135
135
|
query CosSource($id: ID!) {
|
|
136
136
|
cosSource(id: $id) {
|
|
137
137
|
id
|
|
@@ -156,7 +156,7 @@ var a = t`
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
-
`,
|
|
159
|
+
`, u = t`
|
|
160
160
|
query CosListCollections {
|
|
161
161
|
cosListCollections {
|
|
162
162
|
id
|
|
@@ -173,7 +173,7 @@ var a = t`
|
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
|
-
`,
|
|
176
|
+
`, d = t`
|
|
177
177
|
query CosCollection($id: ID!) {
|
|
178
178
|
cosCollection(id: $id) {
|
|
179
179
|
id
|
|
@@ -206,7 +206,7 @@ t`
|
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
`;
|
|
209
|
-
var
|
|
209
|
+
var f = t`
|
|
210
210
|
query CosListPipelines($status: CosPipelineStatus, $pagination: PaginationInput) {
|
|
211
211
|
cosListPipelines(status: $status, pagination: $pagination) {
|
|
212
212
|
items {
|
|
@@ -229,7 +229,7 @@ var d = t`
|
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
|
-
`,
|
|
232
|
+
`, p = t`
|
|
233
233
|
query CosPipeline($id: ID!) {
|
|
234
234
|
cosPipeline(id: $id) {
|
|
235
235
|
id
|
|
@@ -257,7 +257,7 @@ var d = t`
|
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
|
-
`,
|
|
260
|
+
`, m = t`
|
|
261
261
|
query CosListRuns($pipelineId: ID, $status: CosRunStatus, $pagination: PaginationInput) {
|
|
262
262
|
cosListRuns(pipelineId: $pipelineId, status: $status, pagination: $pagination) {
|
|
263
263
|
items {
|
|
@@ -281,7 +281,7 @@ var d = t`
|
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
|
-
`,
|
|
284
|
+
`, h = t`
|
|
285
285
|
query CosRun($id: ID!) {
|
|
286
286
|
cosRun(id: $id) {
|
|
287
287
|
id
|
|
@@ -320,7 +320,7 @@ var d = t`
|
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
}
|
|
323
|
-
`,
|
|
323
|
+
`, g = t`
|
|
324
324
|
query CosPipelineFailedRuns($pipelineId: ID!, $pagination: PaginationInput) {
|
|
325
325
|
cosListRuns(pipelineId: $pipelineId, status: FAILED, pagination: $pagination) {
|
|
326
326
|
items {
|
|
@@ -350,7 +350,7 @@ var d = t`
|
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
|
-
`,
|
|
353
|
+
`, _ = t`
|
|
354
354
|
query CosDatasetSummary($id: ID!) {
|
|
355
355
|
cosDataset(id: $id) {
|
|
356
356
|
id
|
|
@@ -359,7 +359,7 @@ var d = t`
|
|
|
359
359
|
accessLevel
|
|
360
360
|
}
|
|
361
361
|
}
|
|
362
|
-
`,
|
|
362
|
+
`, v = t`
|
|
363
363
|
query CosListRunSteps($runId: ID!) {
|
|
364
364
|
cosListRunSteps(runId: $runId) {
|
|
365
365
|
id
|
|
@@ -380,7 +380,7 @@ var d = t`
|
|
|
380
380
|
updatedAt
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
|
-
`,
|
|
383
|
+
`, y = t`
|
|
384
384
|
query CosListNotebooks($status: CosNotebookStatus, $pagination: PaginationInput) {
|
|
385
385
|
cosListNotebooks(status: $status, pagination: $pagination) {
|
|
386
386
|
items {
|
|
@@ -403,7 +403,7 @@ var d = t`
|
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
|
-
`,
|
|
406
|
+
`, b = t`
|
|
407
407
|
query CosNotebook($id: ID!) {
|
|
408
408
|
cosNotebook(id: $id) {
|
|
409
409
|
id
|
|
@@ -439,7 +439,7 @@ var d = t`
|
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
|
-
`,
|
|
442
|
+
`, x = t`
|
|
443
443
|
query CosListAnalyses($datasetId: ID, $notebookId: ID, $status: CosAnalysisStatus) {
|
|
444
444
|
cosListAnalyses(datasetId: $datasetId, notebookId: $notebookId, status: $status) {
|
|
445
445
|
id
|
|
@@ -461,7 +461,7 @@ var d = t`
|
|
|
461
461
|
updatedAt
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
|
-
`,
|
|
464
|
+
`, S = t`
|
|
465
465
|
query CosAnalysis($id: ID!) {
|
|
466
466
|
cosAnalysis(id: $id) {
|
|
467
467
|
id
|
|
@@ -483,7 +483,7 @@ var d = t`
|
|
|
483
483
|
updatedAt
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
`,
|
|
486
|
+
`, C = t`
|
|
487
487
|
query CosListReleases($status: CosReleaseStatus, $pagination: PaginationInput) {
|
|
488
488
|
cosListReleases(status: $status, pagination: $pagination) {
|
|
489
489
|
items {
|
|
@@ -508,7 +508,7 @@ var d = t`
|
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
510
|
}
|
|
511
|
-
`,
|
|
511
|
+
`, w = t`
|
|
512
512
|
query CosRelease($id: ID!) {
|
|
513
513
|
cosRelease(id: $id) {
|
|
514
514
|
id
|
|
@@ -527,7 +527,7 @@ var d = t`
|
|
|
527
527
|
updatedAt
|
|
528
528
|
}
|
|
529
529
|
}
|
|
530
|
-
`,
|
|
530
|
+
`, T = t`
|
|
531
531
|
query CosListAccessGrants($datasetId: ID, $status: CosGrantStatus) {
|
|
532
532
|
cosListAccessGrants(datasetId: $datasetId, status: $status) {
|
|
533
533
|
id
|
|
@@ -544,7 +544,7 @@ var d = t`
|
|
|
544
544
|
updatedAt
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
|
-
`,
|
|
547
|
+
`, E = t`
|
|
548
548
|
query CosResourceActivity($filter: ActivityLogFilter) {
|
|
549
549
|
getActivities(filter: $filter) {
|
|
550
550
|
id
|
|
@@ -556,7 +556,7 @@ var d = t`
|
|
|
556
556
|
timestamp
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
|
-
`,
|
|
559
|
+
`, D = t`
|
|
560
560
|
mutation CosCreateDataset($input: CosCreateDatasetInput!) {
|
|
561
561
|
cosCreateDataset(input: $input) {
|
|
562
562
|
id
|
|
@@ -570,7 +570,7 @@ var d = t`
|
|
|
570
570
|
updatedAt
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
|
-
`,
|
|
573
|
+
`, O = t`
|
|
574
574
|
mutation CosUpdateDataset($id: ID!, $input: CosUpdateDatasetInput!) {
|
|
575
575
|
cosUpdateDataset(id: $id, input: $input) {
|
|
576
576
|
id
|
|
@@ -584,7 +584,7 @@ var d = t`
|
|
|
584
584
|
updatedAt
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
|
-
`,
|
|
587
|
+
`, k = t`
|
|
588
588
|
mutation CosPublishDataset($id: ID!) {
|
|
589
589
|
cosPublishDataset(id: $id) {
|
|
590
590
|
id
|
|
@@ -593,11 +593,11 @@ var d = t`
|
|
|
593
593
|
updatedAt
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
|
-
`,
|
|
596
|
+
`, A = t`
|
|
597
597
|
mutation CosArchiveDataset($id: ID!) {
|
|
598
598
|
cosArchiveDataset(id: $id)
|
|
599
599
|
}
|
|
600
|
-
`,
|
|
600
|
+
`, j = t`
|
|
601
601
|
mutation CosAddSchemaField($input: CosAddSchemaFieldInput!) {
|
|
602
602
|
cosAddSchemaField(input: $input) {
|
|
603
603
|
id
|
|
@@ -614,7 +614,7 @@ var d = t`
|
|
|
614
614
|
updatedAt
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
`,
|
|
617
|
+
`, M = t`
|
|
618
618
|
mutation CosCreateSource($input: CosCreateSourceInput!) {
|
|
619
619
|
cosCreateSource(input: $input) {
|
|
620
620
|
id
|
|
@@ -627,7 +627,7 @@ var d = t`
|
|
|
627
627
|
updatedAt
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
|
-
`,
|
|
630
|
+
`, N = t`
|
|
631
631
|
mutation CosUpdateSource($id: ID!, $input: CosUpdateSourceInput!) {
|
|
632
632
|
cosUpdateSource(id: $id, input: $input) {
|
|
633
633
|
id
|
|
@@ -640,7 +640,7 @@ var d = t`
|
|
|
640
640
|
updatedAt
|
|
641
641
|
}
|
|
642
642
|
}
|
|
643
|
-
`,
|
|
643
|
+
`, P = t`
|
|
644
644
|
mutation CosMarkSourceSynced($id: ID!) {
|
|
645
645
|
cosMarkSourceSynced(id: $id) {
|
|
646
646
|
id
|
|
@@ -649,11 +649,11 @@ var d = t`
|
|
|
649
649
|
updatedAt
|
|
650
650
|
}
|
|
651
651
|
}
|
|
652
|
-
`,
|
|
652
|
+
`, F = t`
|
|
653
653
|
mutation CosArchiveSource($id: ID!) {
|
|
654
654
|
cosArchiveSource(id: $id)
|
|
655
655
|
}
|
|
656
|
-
`,
|
|
656
|
+
`, I = t`
|
|
657
657
|
mutation CosCreateCollection($input: CosCreateCollectionInput!) {
|
|
658
658
|
cosCreateCollection(input: $input) {
|
|
659
659
|
id
|
|
@@ -666,7 +666,7 @@ var d = t`
|
|
|
666
666
|
updatedAt
|
|
667
667
|
}
|
|
668
668
|
}
|
|
669
|
-
`,
|
|
669
|
+
`, ee = t`
|
|
670
670
|
mutation CosUpdateCollection($id: ID!, $input: CosUpdateCollectionInput!) {
|
|
671
671
|
cosUpdateCollection(id: $id, input: $input) {
|
|
672
672
|
id
|
|
@@ -830,8 +830,8 @@ var d = t`
|
|
|
830
830
|
}
|
|
831
831
|
}
|
|
832
832
|
`, X = t`
|
|
833
|
-
mutation CosPublishRelease($id: ID!, $doi: String) {
|
|
834
|
-
cosPublishRelease(id: $id, doi: $doi) {
|
|
833
|
+
mutation CosPublishRelease($id: ID!, $doi: String, $mintDoi: Boolean) {
|
|
834
|
+
cosPublishRelease(id: $id, doi: $doi, mintDoi: $mintDoi) {
|
|
835
835
|
id
|
|
836
836
|
status
|
|
837
837
|
doi
|
|
@@ -840,6 +840,17 @@ var d = t`
|
|
|
840
840
|
}
|
|
841
841
|
}
|
|
842
842
|
`, Z = t`
|
|
843
|
+
mutation CosMintDoi($releaseId: ID!) {
|
|
844
|
+
cosMintDoi(releaseId: $releaseId) {
|
|
845
|
+
id
|
|
846
|
+
doi
|
|
847
|
+
state
|
|
848
|
+
mode
|
|
849
|
+
errorMessage
|
|
850
|
+
mintedAt
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
`, Q = t`
|
|
843
854
|
mutation CosGrantAccess($input: CosGrantAccessInput!) {
|
|
844
855
|
cosGrantAccess(input: $input) {
|
|
845
856
|
id
|
|
@@ -854,7 +865,7 @@ var d = t`
|
|
|
854
865
|
updatedAt
|
|
855
866
|
}
|
|
856
867
|
}
|
|
857
|
-
`,
|
|
868
|
+
`, $ = t`
|
|
858
869
|
mutation CosRevokeAccess($id: ID!) {
|
|
859
870
|
cosRevokeAccess(id: $id) {
|
|
860
871
|
id
|
|
@@ -863,25 +874,25 @@ var d = t`
|
|
|
863
874
|
updatedAt
|
|
864
875
|
}
|
|
865
876
|
}
|
|
866
|
-
`,
|
|
877
|
+
`, te = (e = {}) => i(o, { variables: e }), ne = (e) => i(s, {
|
|
867
878
|
variables: { id: e },
|
|
868
879
|
skip: !e
|
|
869
|
-
}),
|
|
880
|
+
}), re = (e = {}) => i(c, { variables: e }), ie = (e) => i(l, {
|
|
870
881
|
variables: { id: e },
|
|
871
882
|
skip: !e
|
|
872
|
-
}),
|
|
883
|
+
}), ae = () => i(u), oe = (e) => i(d, {
|
|
873
884
|
variables: { id: e },
|
|
874
885
|
skip: !e
|
|
875
|
-
}),
|
|
886
|
+
}), se = (e = {}) => i(f, { variables: e }), ce = (e) => i(p, {
|
|
876
887
|
variables: { id: e },
|
|
877
888
|
skip: !e
|
|
878
|
-
}),
|
|
889
|
+
}), le = (e = {}) => i(m, { variables: e }), ue = (e) => i(h, {
|
|
879
890
|
variables: { id: e },
|
|
880
891
|
skip: !e
|
|
881
|
-
}),
|
|
892
|
+
}), de = (e) => i(v, {
|
|
882
893
|
variables: { runId: e },
|
|
883
894
|
skip: !e
|
|
884
|
-
}),
|
|
895
|
+
}), fe = (e, t = {}) => i(g, {
|
|
885
896
|
variables: {
|
|
886
897
|
pipelineId: e ?? "",
|
|
887
898
|
pagination: {
|
|
@@ -890,138 +901,326 @@ var d = t`
|
|
|
890
901
|
}
|
|
891
902
|
},
|
|
892
903
|
skip: !e || t.skip === !0
|
|
893
|
-
}),
|
|
904
|
+
}), pe = (e) => i(_, {
|
|
894
905
|
variables: { id: e ?? "" },
|
|
895
906
|
skip: !e
|
|
896
|
-
}),
|
|
907
|
+
}), me = (e = {}) => i(y, { variables: e }), he = (e) => i(b, {
|
|
897
908
|
variables: { id: e },
|
|
898
909
|
skip: !e
|
|
899
|
-
}),
|
|
910
|
+
}), ge = (e = {}) => i(x, { variables: e }), _e = (e = {}) => i(C, { variables: e }), ve = (e, t = {}) => i(S, {
|
|
900
911
|
variables: { id: e ?? "" },
|
|
901
912
|
skip: !e || t.skip === !0
|
|
902
|
-
}),
|
|
913
|
+
}), ye = (e, t = {}) => i(w, {
|
|
903
914
|
variables: { id: e ?? "" },
|
|
904
915
|
skip: !e || t.skip === !0
|
|
905
|
-
}),
|
|
906
|
-
let { workspaceId: t, resourceId: n, resourceType:
|
|
907
|
-
return
|
|
916
|
+
}), be = (e = {}) => i(T, { variables: e }), xe = (e) => {
|
|
917
|
+
let { workspaceId: t, resourceId: n, resourceType: r, limit: a = 20 } = e;
|
|
918
|
+
return i(E, {
|
|
908
919
|
variables: { filter: {
|
|
909
920
|
workspaceId: t,
|
|
910
921
|
resourceId: n,
|
|
911
|
-
resourceType:
|
|
922
|
+
resourceType: r,
|
|
912
923
|
limit: a
|
|
913
924
|
} },
|
|
914
925
|
skip: !t || !n,
|
|
915
926
|
fetchPolicy: "cache-and-network"
|
|
916
927
|
});
|
|
917
|
-
},
|
|
928
|
+
}, Se = () => r(D, {
|
|
918
929
|
errorPolicy: "all",
|
|
919
|
-
onError:
|
|
920
|
-
refetchQueries: [{ query:
|
|
921
|
-
}),
|
|
930
|
+
onError: a,
|
|
931
|
+
refetchQueries: [{ query: o }]
|
|
932
|
+
}), Ce = () => r(O, {
|
|
922
933
|
errorPolicy: "all",
|
|
923
|
-
onError:
|
|
924
|
-
refetchQueries: [{ query:
|
|
925
|
-
}),
|
|
934
|
+
onError: a,
|
|
935
|
+
refetchQueries: [{ query: o }]
|
|
936
|
+
}), we = () => r(k, {
|
|
926
937
|
errorPolicy: "all",
|
|
927
|
-
onError:
|
|
928
|
-
refetchQueries: [{ query:
|
|
929
|
-
}),
|
|
938
|
+
onError: a,
|
|
939
|
+
refetchQueries: [{ query: o }]
|
|
940
|
+
}), Te = () => r(A, {
|
|
930
941
|
errorPolicy: "all",
|
|
931
|
-
onError:
|
|
932
|
-
refetchQueries: [{ query:
|
|
933
|
-
}),
|
|
942
|
+
onError: a,
|
|
943
|
+
refetchQueries: [{ query: o }]
|
|
944
|
+
}), Ee = () => r(j, {
|
|
934
945
|
errorPolicy: "all",
|
|
935
|
-
onError:
|
|
936
|
-
}),
|
|
946
|
+
onError: a
|
|
947
|
+
}), De = () => r(M, {
|
|
937
948
|
errorPolicy: "all",
|
|
938
|
-
onError:
|
|
939
|
-
refetchQueries: [{ query:
|
|
940
|
-
}),
|
|
949
|
+
onError: a,
|
|
950
|
+
refetchQueries: [{ query: c }]
|
|
951
|
+
}), Oe = () => r(N, {
|
|
941
952
|
errorPolicy: "all",
|
|
942
|
-
onError:
|
|
943
|
-
refetchQueries: [{ query:
|
|
944
|
-
}),
|
|
953
|
+
onError: a,
|
|
954
|
+
refetchQueries: [{ query: c }]
|
|
955
|
+
}), ke = () => r(P, {
|
|
945
956
|
errorPolicy: "all",
|
|
946
|
-
onError:
|
|
947
|
-
refetchQueries: [{ query:
|
|
948
|
-
}),
|
|
957
|
+
onError: a,
|
|
958
|
+
refetchQueries: [{ query: c }]
|
|
959
|
+
}), Ae = () => r(F, {
|
|
949
960
|
errorPolicy: "all",
|
|
950
|
-
onError:
|
|
951
|
-
refetchQueries: [{ query:
|
|
952
|
-
}),
|
|
961
|
+
onError: a,
|
|
962
|
+
refetchQueries: [{ query: c }]
|
|
963
|
+
}), je = () => r(I, {
|
|
953
964
|
errorPolicy: "all",
|
|
954
|
-
onError:
|
|
955
|
-
refetchQueries: [{ query:
|
|
956
|
-
}),
|
|
965
|
+
onError: a,
|
|
966
|
+
refetchQueries: [{ query: u }]
|
|
967
|
+
}), Me = () => r(ee, {
|
|
957
968
|
errorPolicy: "all",
|
|
958
|
-
onError:
|
|
959
|
-
refetchQueries: [{ query:
|
|
960
|
-
}),
|
|
969
|
+
onError: a,
|
|
970
|
+
refetchQueries: [{ query: u }]
|
|
971
|
+
}), Ne = () => r(L, {
|
|
961
972
|
errorPolicy: "all",
|
|
962
|
-
onError:
|
|
963
|
-
refetchQueries: [{ query:
|
|
964
|
-
}),
|
|
973
|
+
onError: a,
|
|
974
|
+
refetchQueries: [{ query: u }]
|
|
975
|
+
}), Pe = () => r(R, {
|
|
965
976
|
errorPolicy: "all",
|
|
966
|
-
onError:
|
|
967
|
-
refetchQueries: [{ query:
|
|
968
|
-
}),
|
|
977
|
+
onError: a,
|
|
978
|
+
refetchQueries: [{ query: f }]
|
|
979
|
+
}), Fe = () => r(z, {
|
|
969
980
|
errorPolicy: "all",
|
|
970
|
-
onError:
|
|
971
|
-
refetchQueries: [{ query:
|
|
972
|
-
}),
|
|
981
|
+
onError: a,
|
|
982
|
+
refetchQueries: [{ query: f }]
|
|
983
|
+
}), Ie = () => r(B, {
|
|
973
984
|
errorPolicy: "all",
|
|
974
|
-
onError:
|
|
975
|
-
refetchQueries: [{ query:
|
|
976
|
-
}),
|
|
985
|
+
onError: a,
|
|
986
|
+
refetchQueries: [{ query: f }]
|
|
987
|
+
}), Le = () => r(V, {
|
|
977
988
|
errorPolicy: "all",
|
|
978
|
-
onError:
|
|
979
|
-
refetchQueries: [{ query:
|
|
980
|
-
}),
|
|
989
|
+
onError: a,
|
|
990
|
+
refetchQueries: [{ query: m }]
|
|
991
|
+
}), Re = () => r(H, {
|
|
981
992
|
errorPolicy: "all",
|
|
982
|
-
onError:
|
|
983
|
-
refetchQueries: [{ query:
|
|
984
|
-
}),
|
|
993
|
+
onError: a,
|
|
994
|
+
refetchQueries: [{ query: m }]
|
|
995
|
+
}), ze = () => r(U, {
|
|
985
996
|
errorPolicy: "all",
|
|
986
|
-
onError:
|
|
987
|
-
}),
|
|
997
|
+
onError: a
|
|
998
|
+
}), Be = () => r(W, {
|
|
988
999
|
errorPolicy: "all",
|
|
989
|
-
onError:
|
|
990
|
-
refetchQueries: [{ query:
|
|
991
|
-
}),
|
|
1000
|
+
onError: a,
|
|
1001
|
+
refetchQueries: [{ query: y }]
|
|
1002
|
+
}), Ve = () => r(G, {
|
|
992
1003
|
errorPolicy: "all",
|
|
993
|
-
onError:
|
|
994
|
-
refetchQueries: [{ query:
|
|
995
|
-
}),
|
|
1004
|
+
onError: a,
|
|
1005
|
+
refetchQueries: [{ query: y }]
|
|
1006
|
+
}), He = () => r(K, {
|
|
996
1007
|
errorPolicy: "all",
|
|
997
|
-
onError:
|
|
998
|
-
refetchQueries: [{ query:
|
|
999
|
-
}),
|
|
1008
|
+
onError: a,
|
|
1009
|
+
refetchQueries: [{ query: y }]
|
|
1010
|
+
}), Ue = () => r(q, {
|
|
1000
1011
|
errorPolicy: "all",
|
|
1001
|
-
onError:
|
|
1002
|
-
refetchQueries: [{ query:
|
|
1003
|
-
}),
|
|
1012
|
+
onError: a,
|
|
1013
|
+
refetchQueries: [{ query: x }]
|
|
1014
|
+
}), We = () => r(J, {
|
|
1015
|
+
errorPolicy: "all",
|
|
1016
|
+
onError: a,
|
|
1017
|
+
refetchQueries: [{ query: x }]
|
|
1018
|
+
}), Ge = () => r(Y, {
|
|
1019
|
+
errorPolicy: "all",
|
|
1020
|
+
onError: a,
|
|
1021
|
+
refetchQueries: [{ query: C }]
|
|
1022
|
+
}), Ke = () => r(X, {
|
|
1023
|
+
errorPolicy: "all",
|
|
1024
|
+
onError: a,
|
|
1025
|
+
refetchQueries: [{ query: C }]
|
|
1026
|
+
}), qe = () => r(Z, {
|
|
1027
|
+
errorPolicy: "all",
|
|
1028
|
+
onError: a,
|
|
1029
|
+
refetchQueries: [{ query: C }]
|
|
1030
|
+
}), Je = () => r(Q, {
|
|
1031
|
+
errorPolicy: "all",
|
|
1032
|
+
onError: a,
|
|
1033
|
+
refetchQueries: [{ query: T }]
|
|
1034
|
+
}), Ye = () => r($, {
|
|
1035
|
+
errorPolicy: "all",
|
|
1036
|
+
onError: a,
|
|
1037
|
+
refetchQueries: [{ query: T }]
|
|
1038
|
+
}), Xe = t`
|
|
1039
|
+
mutation CosAiProposeSchemaFields($datasetId: ID!, $sample: CosSchemaSampleInput) {
|
|
1040
|
+
cosAiProposeSchemaFields(datasetId: $datasetId, sample: $sample) {
|
|
1041
|
+
datasetId
|
|
1042
|
+
sampleOrigin
|
|
1043
|
+
sampledRows
|
|
1044
|
+
fields {
|
|
1045
|
+
name
|
|
1046
|
+
fieldType
|
|
1047
|
+
unit
|
|
1048
|
+
nullable
|
|
1049
|
+
position
|
|
1050
|
+
description
|
|
1051
|
+
provenanceNote
|
|
1052
|
+
confidence
|
|
1053
|
+
reasons
|
|
1054
|
+
sampledValues
|
|
1055
|
+
emptyValues
|
|
1056
|
+
alreadyDefined
|
|
1057
|
+
existingFieldId
|
|
1058
|
+
conflicts
|
|
1059
|
+
}
|
|
1060
|
+
notes
|
|
1061
|
+
agentRunId
|
|
1062
|
+
engineVersion
|
|
1063
|
+
method
|
|
1064
|
+
generatedAt
|
|
1065
|
+
}
|
|
1066
|
+
}
|
|
1067
|
+
`, Ze = t`
|
|
1068
|
+
mutation CosAiTriageRun($runId: ID!) {
|
|
1069
|
+
cosAiTriageRun(runId: $runId) {
|
|
1070
|
+
runId
|
|
1071
|
+
action
|
|
1072
|
+
confidence
|
|
1073
|
+
rationale
|
|
1074
|
+
signals {
|
|
1075
|
+
code
|
|
1076
|
+
severity
|
|
1077
|
+
message
|
|
1078
|
+
}
|
|
1079
|
+
evidence {
|
|
1080
|
+
kind
|
|
1081
|
+
refId
|
|
1082
|
+
field
|
|
1083
|
+
value
|
|
1084
|
+
}
|
|
1085
|
+
metrics {
|
|
1086
|
+
rowsIn
|
|
1087
|
+
rowsOut
|
|
1088
|
+
anomaliesFlagged
|
|
1089
|
+
warnings
|
|
1090
|
+
anomalyRate
|
|
1091
|
+
rowLossRate
|
|
1092
|
+
baselineAnomalyRate
|
|
1093
|
+
}
|
|
1094
|
+
suggestedParams
|
|
1095
|
+
proposedAction {
|
|
1096
|
+
mutation
|
|
1097
|
+
targetId
|
|
1098
|
+
arguments
|
|
1099
|
+
description
|
|
1100
|
+
}
|
|
1101
|
+
agentRunId
|
|
1102
|
+
engineVersion
|
|
1103
|
+
method
|
|
1104
|
+
generatedAt
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
`, Qe = t`
|
|
1108
|
+
mutation CosAiDraftRelease($notebookId: ID!) {
|
|
1109
|
+
cosAiDraftRelease(notebookId: $notebookId) {
|
|
1110
|
+
notebookId
|
|
1111
|
+
title
|
|
1112
|
+
abstract
|
|
1113
|
+
version
|
|
1114
|
+
authors
|
|
1115
|
+
authorSuggestions {
|
|
1116
|
+
actorId
|
|
1117
|
+
roles
|
|
1118
|
+
contributions
|
|
1119
|
+
}
|
|
1120
|
+
license
|
|
1121
|
+
licenseRationale
|
|
1122
|
+
datasetIds
|
|
1123
|
+
analysisIds
|
|
1124
|
+
warnings
|
|
1125
|
+
notes
|
|
1126
|
+
agentRunId
|
|
1127
|
+
engineVersion
|
|
1128
|
+
method
|
|
1129
|
+
generatedAt
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
`, $e = t`
|
|
1133
|
+
mutation CosUpdateSchemaField($id: ID!, $input: CosUpdateSchemaFieldInput!) {
|
|
1134
|
+
cosUpdateSchemaField(id: $id, input: $input) {
|
|
1135
|
+
id
|
|
1136
|
+
workspaceId
|
|
1137
|
+
datasetId
|
|
1138
|
+
name
|
|
1139
|
+
fieldType
|
|
1140
|
+
unit
|
|
1141
|
+
description
|
|
1142
|
+
nullable
|
|
1143
|
+
position
|
|
1144
|
+
provenance
|
|
1145
|
+
createdAt
|
|
1146
|
+
updatedAt
|
|
1147
|
+
}
|
|
1148
|
+
}
|
|
1149
|
+
`, et = t`
|
|
1150
|
+
mutation CosRemoveSchemaField($id: ID!) {
|
|
1151
|
+
cosRemoveSchemaField(id: $id)
|
|
1152
|
+
}
|
|
1153
|
+
`, tt = t`
|
|
1154
|
+
query CosSemanticSearch($input: CosSemanticSearchInput!) {
|
|
1155
|
+
cosSemanticSearch(input: $input) {
|
|
1156
|
+
query
|
|
1157
|
+
interpretedTerms
|
|
1158
|
+
expandedTerms
|
|
1159
|
+
timeWindow {
|
|
1160
|
+
fromYear
|
|
1161
|
+
toYear
|
|
1162
|
+
}
|
|
1163
|
+
total
|
|
1164
|
+
hits {
|
|
1165
|
+
entityType
|
|
1166
|
+
id
|
|
1167
|
+
title
|
|
1168
|
+
snippet
|
|
1169
|
+
score
|
|
1170
|
+
dataset {
|
|
1171
|
+
id
|
|
1172
|
+
name
|
|
1173
|
+
status
|
|
1174
|
+
accessLevel
|
|
1175
|
+
format
|
|
1176
|
+
}
|
|
1177
|
+
collection {
|
|
1178
|
+
id
|
|
1179
|
+
name
|
|
1180
|
+
}
|
|
1181
|
+
release {
|
|
1182
|
+
id
|
|
1183
|
+
title
|
|
1184
|
+
status
|
|
1185
|
+
}
|
|
1186
|
+
notebook {
|
|
1187
|
+
id
|
|
1188
|
+
title
|
|
1189
|
+
status
|
|
1190
|
+
}
|
|
1191
|
+
evidence {
|
|
1192
|
+
kind
|
|
1193
|
+
entityId
|
|
1194
|
+
label
|
|
1195
|
+
text
|
|
1196
|
+
}
|
|
1197
|
+
lineage {
|
|
1198
|
+
kind
|
|
1199
|
+
id
|
|
1200
|
+
label
|
|
1201
|
+
relation
|
|
1202
|
+
parentId
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
`, nt = () => r(Xe, {
|
|
1004
1208
|
errorPolicy: "all",
|
|
1005
|
-
onError:
|
|
1006
|
-
|
|
1007
|
-
}), Ue = () => n(Y, {
|
|
1209
|
+
onError: a
|
|
1210
|
+
}), rt = () => r(Ze, {
|
|
1008
1211
|
errorPolicy: "all",
|
|
1009
|
-
onError:
|
|
1010
|
-
|
|
1011
|
-
}), We = () => n(X, {
|
|
1212
|
+
onError: a
|
|
1213
|
+
}), it = () => r(Qe, {
|
|
1012
1214
|
errorPolicy: "all",
|
|
1013
|
-
onError:
|
|
1014
|
-
|
|
1015
|
-
}), Ge = () => n(Z, {
|
|
1215
|
+
onError: a
|
|
1216
|
+
}), at = () => r($e, {
|
|
1016
1217
|
errorPolicy: "all",
|
|
1017
|
-
onError:
|
|
1018
|
-
|
|
1019
|
-
}), Ke = () => n(Q, {
|
|
1218
|
+
onError: a
|
|
1219
|
+
}), ot = () => r(et, {
|
|
1020
1220
|
errorPolicy: "all",
|
|
1021
|
-
onError:
|
|
1022
|
-
|
|
1023
|
-
});
|
|
1221
|
+
onError: a
|
|
1222
|
+
}), st = () => n(tt);
|
|
1024
1223
|
//#endregion
|
|
1025
|
-
export {
|
|
1224
|
+
export { T as COS_ACCESS_GRANTS_QUERY, E as COS_ACTIVITY_BY_RESOURCE_QUERY, U as COS_ADD_RUN_STEP_MUTATION, j as COS_ADD_SCHEMA_FIELD_MUTATION, Qe as COS_AI_DRAFT_RELEASE_MUTATION, Xe as COS_AI_PROPOSE_SCHEMA_FIELDS_MUTATION, Ze as COS_AI_TRIAGE_RUN_MUTATION, x as COS_ANALYSES_QUERY, S as COS_ANALYSIS_QUERY, L as COS_ARCHIVE_COLLECTION_MUTATION, A as COS_ARCHIVE_DATASET_MUTATION, K as COS_ARCHIVE_NOTEBOOK_MUTATION, B as COS_ARCHIVE_PIPELINE_MUTATION, F as COS_ARCHIVE_SOURCE_MUTATION, u as COS_COLLECTIONS_QUERY, d as COS_COLLECTION_QUERY, J as COS_COMPLETE_ANALYSIS_MUTATION, I as COS_CREATE_COLLECTION_MUTATION, D as COS_CREATE_DATASET_MUTATION, W as COS_CREATE_NOTEBOOK_MUTATION, R as COS_CREATE_PIPELINE_MUTATION, Y as COS_CREATE_RELEASE_MUTATION, M as COS_CREATE_SOURCE_MUTATION, o as COS_DATASETS_QUERY, s as COS_DATASET_QUERY, _ as COS_DATASET_SUMMARY_QUERY, Q as COS_GRANT_ACCESS_MUTATION, P as COS_MARK_SOURCE_SYNCED_MUTATION, Z as COS_MINT_DOI_MUTATION, y as COS_NOTEBOOKS_QUERY, b as COS_NOTEBOOK_QUERY, f as COS_PIPELINES_QUERY, g as COS_PIPELINE_FAILED_RUNS_QUERY, p as COS_PIPELINE_QUERY, k as COS_PUBLISH_DATASET_MUTATION, X as COS_PUBLISH_RELEASE_MUTATION, C as COS_RELEASES_QUERY, w as COS_RELEASE_QUERY, et as COS_REMOVE_SCHEMA_FIELD_MUTATION, $ as COS_REVOKE_ACCESS_MUTATION, m as COS_RUNS_QUERY, q as COS_RUN_ANALYSIS_MUTATION, h as COS_RUN_QUERY, v as COS_RUN_STEPS_QUERY, tt as COS_SEMANTIC_SEARCH_QUERY, c as COS_SOURCES_QUERY, l as COS_SOURCE_QUERY, V as COS_START_RUN_MUTATION, H as COS_TRANSITION_RUN_MUTATION, ee as COS_UPDATE_COLLECTION_MUTATION, O as COS_UPDATE_DATASET_MUTATION, G as COS_UPDATE_NOTEBOOK_MUTATION, z as COS_UPDATE_PIPELINE_MUTATION, $e as COS_UPDATE_SCHEMA_FIELD_MUTATION, N as COS_UPDATE_SOURCE_MUTATION, be as useCosAccessGrantsQuery, ze as useCosAddRunStepMutation, Ee as useCosAddSchemaFieldMutation, it as useCosAiDraftReleaseMutation, nt as useCosAiProposeSchemaFieldsMutation, rt as useCosAiTriageRunMutation, ge as useCosAnalysesQuery, ve as useCosAnalysisQuery, Ne as useCosArchiveCollectionMutation, Te as useCosArchiveDatasetMutation, He as useCosArchiveNotebookMutation, Ie as useCosArchivePipelineMutation, Ae as useCosArchiveSourceMutation, oe as useCosCollectionQuery, ae as useCosCollectionsQuery, We as useCosCompleteAnalysisMutation, je as useCosCreateCollectionMutation, Se as useCosCreateDatasetMutation, Be as useCosCreateNotebookMutation, Pe as useCosCreatePipelineMutation, Ge as useCosCreateReleaseMutation, De as useCosCreateSourceMutation, ne as useCosDatasetQuery, pe as useCosDatasetSummaryQuery, te as useCosDatasetsQuery, Je as useCosGrantAccessMutation, ke as useCosMarkSourceSyncedMutation, qe as useCosMintDoiMutation, he as useCosNotebookQuery, me as useCosNotebooksQuery, fe as useCosPipelineFailedRunsQuery, ce as useCosPipelineQuery, se as useCosPipelinesQuery, we as useCosPublishDatasetMutation, Ke as useCosPublishReleaseMutation, ye as useCosReleaseQuery, _e as useCosReleasesQuery, ot as useCosRemoveSchemaFieldMutation, xe as useCosResourceActivityQuery, Ye as useCosRevokeAccessMutation, Ue as useCosRunAnalysisMutation, ue as useCosRunQuery, de as useCosRunStepsQuery, le as useCosRunsQuery, st as useCosSemanticSearchLazyQuery, ie as useCosSourceQuery, re as useCosSourcesQuery, Le as useCosStartRunMutation, Re as useCosTransitionRunMutation, Me as useCosUpdateCollectionMutation, Ce as useCosUpdateDatasetMutation, Ve as useCosUpdateNotebookMutation, Fe as useCosUpdatePipelineMutation, at as useCosUpdateSchemaFieldMutation, Oe as useCosUpdateSourceMutation };
|
|
1026
1225
|
|
|
1027
1226
|
//# sourceMappingURL=cosmicApi.js.map
|