@burdenoff/microfe-cosmicintersection 2026.525.1 → 2026.704.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.
Files changed (120) hide show
  1. package/dist/cosmicintersection/CosmicIntersectionRoot.js +38 -113
  2. package/dist/cosmicintersection/CosmicIntersectionRoot.js.map +1 -1
  3. package/dist/cosmicintersection/CosmicIntersectionRoutes.js +110 -44
  4. package/dist/cosmicintersection/CosmicIntersectionRoutes.js.map +1 -1
  5. package/dist/cosmicintersection/api/cosmicApi.js +918 -0
  6. package/dist/cosmicintersection/api/cosmicApi.js.map +1 -0
  7. package/dist/cosmicintersection/components/ActionMenu.js +106 -0
  8. package/dist/cosmicintersection/components/ActionMenu.js.map +1 -0
  9. package/dist/cosmicintersection/components/ActivityFeedPanel.js +68 -0
  10. package/dist/cosmicintersection/components/ActivityFeedPanel.js.map +1 -0
  11. package/dist/cosmicintersection/components/DiscussionPanel.js +57 -0
  12. package/dist/cosmicintersection/components/DiscussionPanel.js.map +1 -0
  13. package/dist/cosmicintersection/components/EmptyState.js +35 -0
  14. package/dist/cosmicintersection/components/EmptyState.js.map +1 -0
  15. package/dist/cosmicintersection/components/EntityFormShell.js +57 -0
  16. package/dist/cosmicintersection/components/EntityFormShell.js.map +1 -0
  17. package/dist/cosmicintersection/components/EntityTagsField.js +77 -0
  18. package/dist/cosmicintersection/components/EntityTagsField.js.map +1 -0
  19. package/dist/cosmicintersection/components/ErrorState.js +40 -0
  20. package/dist/cosmicintersection/components/ErrorState.js.map +1 -0
  21. package/dist/cosmicintersection/components/FileUploadField.js +146 -0
  22. package/dist/cosmicintersection/components/FileUploadField.js.map +1 -0
  23. package/dist/cosmicintersection/components/LoadingState.js +23 -0
  24. package/dist/cosmicintersection/components/LoadingState.js.map +1 -0
  25. package/dist/cosmicintersection/components/PageLayout.js +46 -0
  26. package/dist/cosmicintersection/components/PageLayout.js.map +1 -0
  27. package/dist/cosmicintersection/components/Pagination.js +65 -0
  28. package/dist/cosmicintersection/components/Pagination.js.map +1 -0
  29. package/dist/cosmicintersection/components/SafeLink.js +35 -0
  30. package/dist/cosmicintersection/components/SafeLink.js.map +1 -0
  31. package/dist/cosmicintersection/components/StatusBadge.js +53 -0
  32. package/dist/cosmicintersection/components/StatusBadge.js.map +1 -0
  33. package/dist/cosmicintersection/components/index.js +13 -0
  34. package/dist/cosmicintersection/context/CosmicIntersectionContext.js +46 -0
  35. package/dist/cosmicintersection/context/CosmicIntersectionContext.js.map +1 -0
  36. package/dist/cosmicintersection/index.js +0 -2
  37. package/dist/cosmicintersection/lib/mutationResult.js +12 -0
  38. package/dist/cosmicintersection/lib/mutationResult.js.map +1 -0
  39. package/dist/cosmicintersection/lib/toast.js +36 -0
  40. package/dist/cosmicintersection/lib/toast.js.map +1 -0
  41. package/dist/cosmicintersection/pages/access/AccessPage.js +347 -0
  42. package/dist/cosmicintersection/pages/access/AccessPage.js.map +1 -0
  43. package/dist/cosmicintersection/pages/analyses/AnalysesPage.js +484 -0
  44. package/dist/cosmicintersection/pages/analyses/AnalysesPage.js.map +1 -0
  45. package/dist/cosmicintersection/pages/collections/CollectionDetailPage.js +177 -0
  46. package/dist/cosmicintersection/pages/collections/CollectionDetailPage.js.map +1 -0
  47. package/dist/cosmicintersection/pages/collections/CollectionFormPage.js +143 -0
  48. package/dist/cosmicintersection/pages/collections/CollectionFormPage.js.map +1 -0
  49. package/dist/cosmicintersection/pages/collections/CollectionsPage.js +112 -0
  50. package/dist/cosmicintersection/pages/collections/CollectionsPage.js.map +1 -0
  51. package/dist/cosmicintersection/pages/dashboard/DashboardPage.js +246 -0
  52. package/dist/cosmicintersection/pages/dashboard/DashboardPage.js.map +1 -0
  53. package/dist/cosmicintersection/pages/datasets/DatasetDetailPage.js +480 -0
  54. package/dist/cosmicintersection/pages/datasets/DatasetDetailPage.js.map +1 -0
  55. package/dist/cosmicintersection/pages/datasets/DatasetFormPage.js +218 -0
  56. package/dist/cosmicintersection/pages/datasets/DatasetFormPage.js.map +1 -0
  57. package/dist/cosmicintersection/pages/datasets/DatasetsPage.js +252 -0
  58. package/dist/cosmicintersection/pages/datasets/DatasetsPage.js.map +1 -0
  59. package/dist/cosmicintersection/pages/notebooks/NotebookDetailPage.js +402 -0
  60. package/dist/cosmicintersection/pages/notebooks/NotebookDetailPage.js.map +1 -0
  61. package/dist/cosmicintersection/pages/notebooks/NotebookFormPage.js +313 -0
  62. package/dist/cosmicintersection/pages/notebooks/NotebookFormPage.js.map +1 -0
  63. package/dist/cosmicintersection/pages/notebooks/NotebooksPage.js +203 -0
  64. package/dist/cosmicintersection/pages/notebooks/NotebooksPage.js.map +1 -0
  65. package/dist/cosmicintersection/pages/pipelines/PipelineDetailPage.js +244 -0
  66. package/dist/cosmicintersection/pages/pipelines/PipelineDetailPage.js.map +1 -0
  67. package/dist/cosmicintersection/pages/pipelines/PipelineFormPage.js +210 -0
  68. package/dist/cosmicintersection/pages/pipelines/PipelineFormPage.js.map +1 -0
  69. package/dist/cosmicintersection/pages/pipelines/PipelinesPage.js +193 -0
  70. package/dist/cosmicintersection/pages/pipelines/PipelinesPage.js.map +1 -0
  71. package/dist/cosmicintersection/pages/releases/ReleaseFormPage.js +184 -0
  72. package/dist/cosmicintersection/pages/releases/ReleaseFormPage.js.map +1 -0
  73. package/dist/cosmicintersection/pages/releases/ReleasesPage.js +418 -0
  74. package/dist/cosmicintersection/pages/releases/ReleasesPage.js.map +1 -0
  75. package/dist/cosmicintersection/pages/runs/RunDetailPage.js +380 -0
  76. package/dist/cosmicintersection/pages/runs/RunDetailPage.js.map +1 -0
  77. package/dist/cosmicintersection/pages/runs/RunsPage.js +165 -0
  78. package/dist/cosmicintersection/pages/runs/RunsPage.js.map +1 -0
  79. package/dist/cosmicintersection/pages/sources/SourceDetailPage.js +205 -0
  80. package/dist/cosmicintersection/pages/sources/SourceDetailPage.js.map +1 -0
  81. package/dist/cosmicintersection/pages/sources/SourceFormPage.js +229 -0
  82. package/dist/cosmicintersection/pages/sources/SourceFormPage.js.map +1 -0
  83. package/dist/cosmicintersection/pages/sources/SourcesPage.js +223 -0
  84. package/dist/cosmicintersection/pages/sources/SourcesPage.js.map +1 -0
  85. package/dist/cosmicintersection/utils/cn.js +10 -0
  86. package/dist/cosmicintersection/utils/cn.js.map +1 -0
  87. package/dist/index.js +2 -4
  88. package/dist/node_modules/clsx/dist/clsx.js +18 -0
  89. package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
  90. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +1716 -0
  91. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
  92. package/package.json +2 -1
  93. package/dist/cosmicintersection/pages/AiDiscoveryPage.js +0 -363
  94. package/dist/cosmicintersection/pages/AiDiscoveryPage.js.map +0 -1
  95. package/dist/cosmicintersection/pages/DashboardPage.js +0 -306
  96. package/dist/cosmicintersection/pages/DashboardPage.js.map +0 -1
  97. package/dist/cosmicintersection/pages/SpaceScienceCitizenPage.js +0 -287
  98. package/dist/cosmicintersection/pages/SpaceScienceCitizenPage.js.map +0 -1
  99. package/dist/cosmicintersection/pages/SpaceScienceDataPage.js +0 -385
  100. package/dist/cosmicintersection/pages/SpaceScienceDataPage.js.map +0 -1
  101. package/dist/cosmicintersection/pages/SpaceScienceDataPage1.js +0 -420
  102. package/dist/cosmicintersection/pages/SpaceScienceDataPage1.js.map +0 -1
  103. package/dist/cosmicintersection/pages/SpaceScienceLearningPage.js +0 -309
  104. package/dist/cosmicintersection/pages/SpaceScienceLearningPage.js.map +0 -1
  105. package/dist/cosmicintersection/pages/SpaceScienceLearningPage1.js +0 -361
  106. package/dist/cosmicintersection/pages/SpaceScienceLearningPage1.js.map +0 -1
  107. package/dist/cosmicintersection/pages/SpaceSciencePage.js +0 -194
  108. package/dist/cosmicintersection/pages/SpaceSciencePage.js.map +0 -1
  109. package/dist/cosmicintersection/pages/SpaceScienceResearchPage.js +0 -290
  110. package/dist/cosmicintersection/pages/SpaceScienceResearchPage.js.map +0 -1
  111. package/dist/cosmicintersection/pages/SpaceScienceSimulationPage.js +0 -279
  112. package/dist/cosmicintersection/pages/SpaceScienceSimulationPage.js.map +0 -1
  113. package/dist/cosmicintersection/providers/CosmicIntersectionProvider.js +0 -27
  114. package/dist/cosmicintersection/providers/CosmicIntersectionProvider.js.map +0 -1
  115. package/dist/cosmicintersection/store/cosmicintersectionStore.js +0 -478
  116. package/dist/cosmicintersection/store/cosmicintersectionStore.js.map +0 -1
  117. package/dist/cosmicintersection/utils/i18n.js +0 -15
  118. package/dist/cosmicintersection/utils/i18n.js.map +0 -1
  119. package/dist/cosmicintersection/utils/navigation.js +0 -8
  120. package/dist/cosmicintersection/utils/navigation.js.map +0 -1
@@ -0,0 +1,918 @@
1
+ import { notify as e } from "../lib/toast.js";
2
+ import { gql as t } from "@apollo/client";
3
+ import { useMutation as n, useQuery as r } from "@apollo/client/react";
4
+ //#region src/cosmicintersection/api/cosmicApi.ts
5
+ var i = (t) => {
6
+ e.error("Something went wrong", t.message || "Please try again.");
7
+ };
8
+ t`
9
+ query CosHealth {
10
+ cosHealth
11
+ }
12
+ `;
13
+ var a = t`
14
+ query CosListDatasets(
15
+ $collectionId: ID
16
+ $sourceId: ID
17
+ $status: CosDatasetStatus
18
+ $pagination: PaginationInput
19
+ ) {
20
+ cosListDatasets(
21
+ collectionId: $collectionId
22
+ sourceId: $sourceId
23
+ status: $status
24
+ pagination: $pagination
25
+ ) {
26
+ items {
27
+ id
28
+ workspaceId
29
+ name
30
+ description
31
+ status
32
+ accessLevel
33
+ format
34
+ sourceId
35
+ collectionId
36
+ rowCount
37
+ sizeBytes
38
+ version
39
+ lineageCaptured
40
+ ingestedAt
41
+ tags
42
+ createdAt
43
+ updatedAt
44
+ }
45
+ pageInfo {
46
+ hasMore
47
+ cursor
48
+ }
49
+ }
50
+ }
51
+ `, o = t`
52
+ query CosDataset($id: ID!) {
53
+ cosDataset(id: $id) {
54
+ id
55
+ workspaceId
56
+ name
57
+ description
58
+ status
59
+ accessLevel
60
+ format
61
+ sourceId
62
+ collectionId
63
+ rowCount
64
+ sizeBytes
65
+ version
66
+ lineageCaptured
67
+ coverage
68
+ ingestedAt
69
+ tags
70
+ createdAt
71
+ updatedAt
72
+ file {
73
+ id
74
+ }
75
+ source {
76
+ id
77
+ name
78
+ type
79
+ status
80
+ }
81
+ collection {
82
+ id
83
+ name
84
+ slug
85
+ }
86
+ schemaFields {
87
+ id
88
+ datasetId
89
+ name
90
+ fieldType
91
+ unit
92
+ description
93
+ nullable
94
+ position
95
+ provenance
96
+ createdAt
97
+ updatedAt
98
+ }
99
+ }
100
+ }
101
+ `, s = t`
102
+ query CosListSources(
103
+ $type: CosSourceType
104
+ $status: CosSourceStatus
105
+ $pagination: PaginationInput
106
+ ) {
107
+ cosListSources(type: $type, status: $status, pagination: $pagination) {
108
+ items {
109
+ id
110
+ workspaceId
111
+ name
112
+ description
113
+ type
114
+ status
115
+ endpoint
116
+ config
117
+ lastSyncedAt
118
+ tags
119
+ createdAt
120
+ updatedAt
121
+ }
122
+ pageInfo {
123
+ hasMore
124
+ cursor
125
+ }
126
+ }
127
+ }
128
+ `, c = t`
129
+ query CosSource($id: ID!) {
130
+ cosSource(id: $id) {
131
+ id
132
+ workspaceId
133
+ name
134
+ description
135
+ type
136
+ status
137
+ endpoint
138
+ config
139
+ lastSyncedAt
140
+ tags
141
+ createdAt
142
+ updatedAt
143
+ datasets {
144
+ id
145
+ name
146
+ status
147
+ accessLevel
148
+ rowCount
149
+ updatedAt
150
+ }
151
+ }
152
+ }
153
+ `, l = t`
154
+ query CosListCollections {
155
+ cosListCollections {
156
+ id
157
+ workspaceId
158
+ name
159
+ slug
160
+ description
161
+ isPublic
162
+ tags
163
+ createdAt
164
+ updatedAt
165
+ }
166
+ }
167
+ `, u = t`
168
+ query CosCollection($id: ID!) {
169
+ cosCollection(id: $id) {
170
+ id
171
+ workspaceId
172
+ name
173
+ slug
174
+ description
175
+ isPublic
176
+ tags
177
+ createdAt
178
+ updatedAt
179
+ }
180
+ }
181
+ `;
182
+ t`
183
+ query CosListSchemaFields($datasetId: ID!) {
184
+ cosListSchemaFields(datasetId: $datasetId) {
185
+ id
186
+ workspaceId
187
+ datasetId
188
+ name
189
+ fieldType
190
+ unit
191
+ description
192
+ nullable
193
+ position
194
+ provenance
195
+ createdAt
196
+ updatedAt
197
+ }
198
+ }
199
+ `;
200
+ var d = t`
201
+ query CosListPipelines($status: CosPipelineStatus, $pagination: PaginationInput) {
202
+ cosListPipelines(status: $status, pagination: $pagination) {
203
+ items {
204
+ id
205
+ workspaceId
206
+ name
207
+ description
208
+ status
209
+ trigger
210
+ schedule
211
+ version
212
+ lastRunAt
213
+ tags
214
+ createdAt
215
+ updatedAt
216
+ }
217
+ pageInfo {
218
+ hasMore
219
+ cursor
220
+ }
221
+ }
222
+ }
223
+ `, f = t`
224
+ query CosPipeline($id: ID!) {
225
+ cosPipeline(id: $id) {
226
+ id
227
+ workspaceId
228
+ name
229
+ description
230
+ status
231
+ trigger
232
+ schedule
233
+ definition
234
+ version
235
+ lastRunAt
236
+ tags
237
+ createdAt
238
+ updatedAt
239
+ runs {
240
+ id
241
+ runNumber
242
+ status
243
+ datasetId
244
+ startedAt
245
+ finishedAt
246
+ durationMs
247
+ createdAt
248
+ }
249
+ }
250
+ }
251
+ `, p = t`
252
+ query CosListRuns($pipelineId: ID, $status: CosRunStatus, $pagination: PaginationInput) {
253
+ cosListRuns(pipelineId: $pipelineId, status: $status, pagination: $pagination) {
254
+ items {
255
+ id
256
+ workspaceId
257
+ pipelineId
258
+ runNumber
259
+ status
260
+ datasetId
261
+ triggeredBy
262
+ startedAt
263
+ finishedAt
264
+ durationMs
265
+ errorMessage
266
+ createdAt
267
+ updatedAt
268
+ }
269
+ pageInfo {
270
+ hasMore
271
+ cursor
272
+ }
273
+ }
274
+ }
275
+ `, ee = t`
276
+ query CosRun($id: ID!) {
277
+ cosRun(id: $id) {
278
+ id
279
+ workspaceId
280
+ pipelineId
281
+ runNumber
282
+ status
283
+ datasetId
284
+ params
285
+ metrics
286
+ triggeredBy
287
+ startedAt
288
+ finishedAt
289
+ durationMs
290
+ errorMessage
291
+ createdAt
292
+ updatedAt
293
+ pipeline {
294
+ id
295
+ name
296
+ status
297
+ }
298
+ steps {
299
+ id
300
+ runId
301
+ name
302
+ kind
303
+ position
304
+ status
305
+ startedAt
306
+ finishedAt
307
+ durationMs
308
+ errorMessage
309
+ }
310
+ }
311
+ }
312
+ `, te = t`
313
+ query CosListRunSteps($runId: ID!) {
314
+ cosListRunSteps(runId: $runId) {
315
+ id
316
+ workspaceId
317
+ runId
318
+ name
319
+ kind
320
+ position
321
+ status
322
+ inputs
323
+ outputs
324
+ logsRef
325
+ startedAt
326
+ finishedAt
327
+ durationMs
328
+ errorMessage
329
+ createdAt
330
+ updatedAt
331
+ }
332
+ }
333
+ `, m = t`
334
+ query CosListNotebooks($status: CosNotebookStatus, $pagination: PaginationInput) {
335
+ cosListNotebooks(status: $status, pagination: $pagination) {
336
+ items {
337
+ id
338
+ workspaceId
339
+ title
340
+ description
341
+ status
342
+ runtime
343
+ datasetIds
344
+ isShared
345
+ shareSlug
346
+ tags
347
+ createdAt
348
+ updatedAt
349
+ }
350
+ pageInfo {
351
+ hasMore
352
+ cursor
353
+ }
354
+ }
355
+ }
356
+ `, h = t`
357
+ query CosNotebook($id: ID!) {
358
+ cosNotebook(id: $id) {
359
+ id
360
+ workspaceId
361
+ title
362
+ description
363
+ status
364
+ runtime
365
+ environment
366
+ datasetIds
367
+ isShared
368
+ shareSlug
369
+ tags
370
+ createdAt
371
+ updatedAt
372
+ file {
373
+ id
374
+ }
375
+ analyses {
376
+ id
377
+ title
378
+ status
379
+ aiAssisted
380
+ method
381
+ createdAt
382
+ }
383
+ releases {
384
+ id
385
+ title
386
+ version
387
+ status
388
+ publishedAt
389
+ }
390
+ }
391
+ }
392
+ `, g = t`
393
+ query CosListAnalyses($datasetId: ID, $notebookId: ID, $status: CosAnalysisStatus) {
394
+ cosListAnalyses(datasetId: $datasetId, notebookId: $notebookId, status: $status) {
395
+ id
396
+ workspaceId
397
+ title
398
+ status
399
+ method
400
+ aiAssisted
401
+ notebookId
402
+ datasetId
403
+ results
404
+ outputFile {
405
+ id
406
+ }
407
+ startedAt
408
+ finishedAt
409
+ errorMessage
410
+ createdAt
411
+ updatedAt
412
+ }
413
+ }
414
+ `, _ = t`
415
+ query CosListReleases($status: CosReleaseStatus, $pagination: PaginationInput) {
416
+ cosListReleases(status: $status, pagination: $pagination) {
417
+ items {
418
+ id
419
+ workspaceId
420
+ title
421
+ version
422
+ status
423
+ abstract
424
+ authors
425
+ datasetIds
426
+ notebookId
427
+ doi
428
+ license
429
+ publishedAt
430
+ createdAt
431
+ updatedAt
432
+ }
433
+ pageInfo {
434
+ hasMore
435
+ cursor
436
+ }
437
+ }
438
+ }
439
+ `, v = t`
440
+ query CosListAccessGrants($datasetId: ID, $status: CosGrantStatus) {
441
+ cosListAccessGrants(datasetId: $datasetId, status: $status) {
442
+ id
443
+ workspaceId
444
+ datasetId
445
+ granteeId
446
+ status
447
+ scopes
448
+ reason
449
+ grantedAt
450
+ expiresAt
451
+ revokedAt
452
+ createdAt
453
+ updatedAt
454
+ }
455
+ }
456
+ `, y = t`
457
+ query CosResourceActivity($filter: ActivityLogFilter) {
458
+ getActivities(filter: $filter) {
459
+ id
460
+ action
461
+ description
462
+ resourceType
463
+ resourceId
464
+ userId
465
+ timestamp
466
+ }
467
+ }
468
+ `, b = t`
469
+ mutation CosCreateDataset($input: CosCreateDatasetInput!) {
470
+ cosCreateDataset(input: $input) {
471
+ id
472
+ name
473
+ status
474
+ accessLevel
475
+ sourceId
476
+ collectionId
477
+ tags
478
+ createdAt
479
+ updatedAt
480
+ }
481
+ }
482
+ `, x = t`
483
+ mutation CosUpdateDataset($id: ID!, $input: CosUpdateDatasetInput!) {
484
+ cosUpdateDataset(id: $id, input: $input) {
485
+ id
486
+ name
487
+ description
488
+ status
489
+ accessLevel
490
+ format
491
+ collectionId
492
+ tags
493
+ updatedAt
494
+ }
495
+ }
496
+ `, S = t`
497
+ mutation CosPublishDataset($id: ID!) {
498
+ cosPublishDataset(id: $id) {
499
+ id
500
+ status
501
+ ingestedAt
502
+ updatedAt
503
+ }
504
+ }
505
+ `, C = t`
506
+ mutation CosArchiveDataset($id: ID!) {
507
+ cosArchiveDataset(id: $id)
508
+ }
509
+ `, w = t`
510
+ mutation CosAddSchemaField($input: CosAddSchemaFieldInput!) {
511
+ cosAddSchemaField(input: $input) {
512
+ id
513
+ workspaceId
514
+ datasetId
515
+ name
516
+ fieldType
517
+ unit
518
+ description
519
+ nullable
520
+ position
521
+ provenance
522
+ createdAt
523
+ updatedAt
524
+ }
525
+ }
526
+ `, T = t`
527
+ mutation CosCreateSource($input: CosCreateSourceInput!) {
528
+ cosCreateSource(input: $input) {
529
+ id
530
+ name
531
+ type
532
+ status
533
+ endpoint
534
+ tags
535
+ createdAt
536
+ updatedAt
537
+ }
538
+ }
539
+ `, E = t`
540
+ mutation CosUpdateSource($id: ID!, $input: CosUpdateSourceInput!) {
541
+ cosUpdateSource(id: $id, input: $input) {
542
+ id
543
+ name
544
+ description
545
+ type
546
+ status
547
+ endpoint
548
+ tags
549
+ updatedAt
550
+ }
551
+ }
552
+ `, D = t`
553
+ mutation CosMarkSourceSynced($id: ID!) {
554
+ cosMarkSourceSynced(id: $id) {
555
+ id
556
+ status
557
+ lastSyncedAt
558
+ updatedAt
559
+ }
560
+ }
561
+ `, O = t`
562
+ mutation CosArchiveSource($id: ID!) {
563
+ cosArchiveSource(id: $id)
564
+ }
565
+ `, k = t`
566
+ mutation CosCreateCollection($input: CosCreateCollectionInput!) {
567
+ cosCreateCollection(input: $input) {
568
+ id
569
+ name
570
+ slug
571
+ description
572
+ isPublic
573
+ tags
574
+ createdAt
575
+ updatedAt
576
+ }
577
+ }
578
+ `, A = t`
579
+ mutation CosUpdateCollection($id: ID!, $input: CosUpdateCollectionInput!) {
580
+ cosUpdateCollection(id: $id, input: $input) {
581
+ id
582
+ name
583
+ slug
584
+ description
585
+ isPublic
586
+ tags
587
+ updatedAt
588
+ }
589
+ }
590
+ `, j = t`
591
+ mutation CosArchiveCollection($id: ID!) {
592
+ cosArchiveCollection(id: $id)
593
+ }
594
+ `, M = t`
595
+ mutation CosCreatePipeline($input: CosCreatePipelineInput!) {
596
+ cosCreatePipeline(input: $input) {
597
+ id
598
+ name
599
+ status
600
+ trigger
601
+ schedule
602
+ version
603
+ tags
604
+ createdAt
605
+ updatedAt
606
+ }
607
+ }
608
+ `, N = t`
609
+ mutation CosUpdatePipeline($id: ID!, $input: CosUpdatePipelineInput!) {
610
+ cosUpdatePipeline(id: $id, input: $input) {
611
+ id
612
+ name
613
+ description
614
+ status
615
+ trigger
616
+ schedule
617
+ tags
618
+ updatedAt
619
+ }
620
+ }
621
+ `, P = t`
622
+ mutation CosArchivePipeline($id: ID!) {
623
+ cosArchivePipeline(id: $id)
624
+ }
625
+ `, F = t`
626
+ mutation CosStartRun($input: CosStartRunInput!) {
627
+ cosStartRun(input: $input) {
628
+ id
629
+ pipelineId
630
+ runNumber
631
+ status
632
+ datasetId
633
+ startedAt
634
+ createdAt
635
+ }
636
+ }
637
+ `, I = t`
638
+ mutation CosTransitionRun($id: ID!, $status: CosRunStatus!) {
639
+ cosTransitionRun(id: $id, status: $status) {
640
+ id
641
+ status
642
+ startedAt
643
+ finishedAt
644
+ durationMs
645
+ updatedAt
646
+ }
647
+ }
648
+ `, L = t`
649
+ mutation CosAddRunStep($input: CosAddRunStepInput!) {
650
+ cosAddRunStep(input: $input) {
651
+ id
652
+ runId
653
+ name
654
+ kind
655
+ position
656
+ status
657
+ createdAt
658
+ updatedAt
659
+ }
660
+ }
661
+ `, R = t`
662
+ mutation CosCreateNotebook($input: CosCreateNotebookInput!) {
663
+ cosCreateNotebook(input: $input) {
664
+ id
665
+ title
666
+ status
667
+ runtime
668
+ datasetIds
669
+ tags
670
+ createdAt
671
+ updatedAt
672
+ }
673
+ }
674
+ `, z = t`
675
+ mutation CosUpdateNotebook($id: ID!, $input: CosUpdateNotebookInput!) {
676
+ cosUpdateNotebook(id: $id, input: $input) {
677
+ id
678
+ title
679
+ description
680
+ status
681
+ runtime
682
+ datasetIds
683
+ isShared
684
+ shareSlug
685
+ tags
686
+ updatedAt
687
+ }
688
+ }
689
+ `, B = t`
690
+ mutation CosArchiveNotebook($id: ID!) {
691
+ cosArchiveNotebook(id: $id)
692
+ }
693
+ `, V = t`
694
+ mutation CosRunAnalysis($input: CosRunAnalysisInput!) {
695
+ cosRunAnalysis(input: $input) {
696
+ id
697
+ title
698
+ status
699
+ method
700
+ aiAssisted
701
+ notebookId
702
+ datasetId
703
+ startedAt
704
+ createdAt
705
+ }
706
+ }
707
+ `, H = t`
708
+ mutation CosCompleteAnalysis(
709
+ $id: ID!
710
+ $status: CosAnalysisStatus!
711
+ $results: JSON
712
+ $outputFileId: ID
713
+ ) {
714
+ cosCompleteAnalysis(id: $id, status: $status, results: $results, outputFileId: $outputFileId) {
715
+ id
716
+ status
717
+ results
718
+ finishedAt
719
+ errorMessage
720
+ outputFile {
721
+ id
722
+ }
723
+ updatedAt
724
+ }
725
+ }
726
+ `, U = t`
727
+ mutation CosCreateRelease($input: CosCreateReleaseInput!) {
728
+ cosCreateRelease(input: $input) {
729
+ id
730
+ title
731
+ version
732
+ status
733
+ authors
734
+ datasetIds
735
+ notebookId
736
+ license
737
+ createdAt
738
+ updatedAt
739
+ }
740
+ }
741
+ `, W = t`
742
+ mutation CosPublishRelease($id: ID!, $doi: String) {
743
+ cosPublishRelease(id: $id, doi: $doi) {
744
+ id
745
+ status
746
+ doi
747
+ publishedAt
748
+ updatedAt
749
+ }
750
+ }
751
+ `, G = t`
752
+ mutation CosGrantAccess($input: CosGrantAccessInput!) {
753
+ cosGrantAccess(input: $input) {
754
+ id
755
+ datasetId
756
+ granteeId
757
+ status
758
+ scopes
759
+ reason
760
+ grantedAt
761
+ expiresAt
762
+ createdAt
763
+ updatedAt
764
+ }
765
+ }
766
+ `, K = t`
767
+ mutation CosRevokeAccess($id: ID!) {
768
+ cosRevokeAccess(id: $id) {
769
+ id
770
+ status
771
+ revokedAt
772
+ updatedAt
773
+ }
774
+ }
775
+ `, q = (e = {}) => r(a, { variables: e }), J = (e) => r(o, {
776
+ variables: { id: e },
777
+ skip: !e
778
+ }), Y = (e = {}) => r(s, { variables: e }), X = (e) => r(c, {
779
+ variables: { id: e },
780
+ skip: !e
781
+ }), Z = () => r(l), Q = (e) => r(u, {
782
+ variables: { id: e },
783
+ skip: !e
784
+ }), ne = (e = {}) => r(d, { variables: e }), re = (e) => r(f, {
785
+ variables: { id: e },
786
+ skip: !e
787
+ }), ie = (e = {}) => r(p, { variables: e }), ae = (e) => r(ee, {
788
+ variables: { id: e },
789
+ skip: !e
790
+ }), oe = (e) => r(te, {
791
+ variables: { runId: e },
792
+ skip: !e
793
+ }), se = (e = {}) => r(m, { variables: e }), ce = (e) => r(h, {
794
+ variables: { id: e },
795
+ skip: !e
796
+ }), le = (e = {}) => r(g, { variables: e }), ue = (e = {}) => r(_, { variables: e }), de = (e = {}) => r(v, { variables: e }), fe = (e) => {
797
+ let { workspaceId: t, resourceId: n, resourceType: i, limit: a = 20 } = e;
798
+ return r(y, {
799
+ variables: { filter: {
800
+ workspaceId: t,
801
+ resourceId: n,
802
+ resourceType: i,
803
+ limit: a
804
+ } },
805
+ skip: !t || !n,
806
+ fetchPolicy: "cache-and-network"
807
+ });
808
+ }, pe = () => n(b, {
809
+ errorPolicy: "all",
810
+ onError: i,
811
+ refetchQueries: [{ query: a }]
812
+ }), me = () => n(x, {
813
+ errorPolicy: "all",
814
+ onError: i,
815
+ refetchQueries: [{ query: a }]
816
+ }), he = () => n(S, {
817
+ errorPolicy: "all",
818
+ onError: i,
819
+ refetchQueries: [{ query: a }]
820
+ }), ge = () => n(C, {
821
+ errorPolicy: "all",
822
+ onError: i,
823
+ refetchQueries: [{ query: a }]
824
+ }), _e = () => n(w, {
825
+ errorPolicy: "all",
826
+ onError: i
827
+ }), ve = () => n(T, {
828
+ errorPolicy: "all",
829
+ onError: i,
830
+ refetchQueries: [{ query: s }]
831
+ }), ye = () => n(E, {
832
+ errorPolicy: "all",
833
+ onError: i,
834
+ refetchQueries: [{ query: s }]
835
+ }), be = () => n(D, {
836
+ errorPolicy: "all",
837
+ onError: i,
838
+ refetchQueries: [{ query: s }]
839
+ }), xe = () => n(O, {
840
+ errorPolicy: "all",
841
+ onError: i,
842
+ refetchQueries: [{ query: s }]
843
+ }), Se = () => n(k, {
844
+ errorPolicy: "all",
845
+ onError: i,
846
+ refetchQueries: [{ query: l }]
847
+ }), Ce = () => n(A, {
848
+ errorPolicy: "all",
849
+ onError: i,
850
+ refetchQueries: [{ query: l }]
851
+ }), we = () => n(j, {
852
+ errorPolicy: "all",
853
+ onError: i,
854
+ refetchQueries: [{ query: l }]
855
+ }), Te = () => n(M, {
856
+ errorPolicy: "all",
857
+ onError: i,
858
+ refetchQueries: [{ query: d }]
859
+ }), Ee = () => n(N, {
860
+ errorPolicy: "all",
861
+ onError: i,
862
+ refetchQueries: [{ query: d }]
863
+ }), De = () => n(P, {
864
+ errorPolicy: "all",
865
+ onError: i,
866
+ refetchQueries: [{ query: d }]
867
+ }), $ = () => n(F, {
868
+ errorPolicy: "all",
869
+ onError: i,
870
+ refetchQueries: [{ query: p }]
871
+ }), Oe = () => n(I, {
872
+ errorPolicy: "all",
873
+ onError: i,
874
+ refetchQueries: [{ query: p }]
875
+ }), ke = () => n(L, {
876
+ errorPolicy: "all",
877
+ onError: i
878
+ }), Ae = () => n(R, {
879
+ errorPolicy: "all",
880
+ onError: i,
881
+ refetchQueries: [{ query: m }]
882
+ }), je = () => n(z, {
883
+ errorPolicy: "all",
884
+ onError: i,
885
+ refetchQueries: [{ query: m }]
886
+ }), Me = () => n(B, {
887
+ errorPolicy: "all",
888
+ onError: i,
889
+ refetchQueries: [{ query: m }]
890
+ }), Ne = () => n(V, {
891
+ errorPolicy: "all",
892
+ onError: i,
893
+ refetchQueries: [{ query: g }]
894
+ }), Pe = () => n(H, {
895
+ errorPolicy: "all",
896
+ onError: i,
897
+ refetchQueries: [{ query: g }]
898
+ }), Fe = () => n(U, {
899
+ errorPolicy: "all",
900
+ onError: i,
901
+ refetchQueries: [{ query: _ }]
902
+ }), Ie = () => n(W, {
903
+ errorPolicy: "all",
904
+ onError: i,
905
+ refetchQueries: [{ query: _ }]
906
+ }), Le = () => n(G, {
907
+ errorPolicy: "all",
908
+ onError: i,
909
+ refetchQueries: [{ query: v }]
910
+ }), Re = () => n(K, {
911
+ errorPolicy: "all",
912
+ onError: i,
913
+ refetchQueries: [{ query: v }]
914
+ });
915
+ //#endregion
916
+ export { de as useCosAccessGrantsQuery, ke as useCosAddRunStepMutation, _e as useCosAddSchemaFieldMutation, le as useCosAnalysesQuery, we as useCosArchiveCollectionMutation, ge as useCosArchiveDatasetMutation, Me as useCosArchiveNotebookMutation, De as useCosArchivePipelineMutation, xe as useCosArchiveSourceMutation, Q as useCosCollectionQuery, Z as useCosCollectionsQuery, Pe as useCosCompleteAnalysisMutation, Se as useCosCreateCollectionMutation, pe as useCosCreateDatasetMutation, Ae as useCosCreateNotebookMutation, Te as useCosCreatePipelineMutation, Fe as useCosCreateReleaseMutation, ve as useCosCreateSourceMutation, J as useCosDatasetQuery, q as useCosDatasetsQuery, Le as useCosGrantAccessMutation, be as useCosMarkSourceSyncedMutation, ce as useCosNotebookQuery, se as useCosNotebooksQuery, re as useCosPipelineQuery, ne as useCosPipelinesQuery, he as useCosPublishDatasetMutation, Ie as useCosPublishReleaseMutation, ue as useCosReleasesQuery, fe as useCosResourceActivityQuery, Re as useCosRevokeAccessMutation, Ne as useCosRunAnalysisMutation, ae as useCosRunQuery, oe as useCosRunStepsQuery, ie as useCosRunsQuery, X as useCosSourceQuery, Y as useCosSourcesQuery, $ as useCosStartRunMutation, Oe as useCosTransitionRunMutation, Ce as useCosUpdateCollectionMutation, me as useCosUpdateDatasetMutation, je as useCosUpdateNotebookMutation, Ee as useCosUpdatePipelineMutation, ye as useCosUpdateSourceMutation };
917
+
918
+ //# sourceMappingURL=cosmicApi.js.map