@burdenoff/microfe-cosmicintersection 2026.512.1 → 2026.704.1

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