@burdenoff/microfe-labsofscience 2026.820.2 → 2026.820.4
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/labsofscience/LabsOfScienceRoutes.d.ts.map +1 -1
- package/dist/labsofscience/LabsOfScienceRoutes.js +11 -7
- package/dist/labsofscience/LabsOfScienceRoutes.js.map +1 -1
- package/dist/labsofscience/components/ProvenancePanel.d.ts +14 -0
- package/dist/labsofscience/components/ProvenancePanel.d.ts.map +1 -0
- package/dist/labsofscience/components/ProvenancePanel.js +113 -0
- package/dist/labsofscience/components/ProvenancePanel.js.map +1 -0
- package/dist/labsofscience/components/provenanceMapping.d.ts +35 -0
- package/dist/labsofscience/components/provenanceMapping.d.ts.map +1 -0
- package/dist/labsofscience/components/provenanceMapping.js +101 -0
- package/dist/labsofscience/components/provenanceMapping.js.map +1 -0
- package/dist/labsofscience/hooks/index.d.ts +1 -1
- package/dist/labsofscience/hooks/index.d.ts.map +1 -1
- package/dist/labsofscience/hooks/useLabsOfScienceApi.d.ts +24 -1
- package/dist/labsofscience/hooks/useLabsOfScienceApi.d.ts.map +1 -1
- package/dist/labsofscience/hooks/useLabsOfScienceApi.js +113 -54
- package/dist/labsofscience/hooks/useLabsOfScienceApi.js.map +1 -1
- package/dist/labsofscience/pages/OverviewPage.d.ts +3 -3
- package/dist/labsofscience/pages/OverviewPage.d.ts.map +1 -1
- package/dist/labsofscience/pages/OverviewPage.js +240 -176
- package/dist/labsofscience/pages/OverviewPage.js.map +1 -1
- package/dist/labsofscience/pages/ai/AiOperationsPage.js +10 -10
- package/dist/labsofscience/pages/analytics/AnalyticsPage.d.ts +9 -0
- package/dist/labsofscience/pages/analytics/AnalyticsPage.d.ts.map +1 -0
- package/dist/labsofscience/pages/analytics/AnalyticsPage.js +283 -0
- package/dist/labsofscience/pages/analytics/AnalyticsPage.js.map +1 -0
- package/dist/labsofscience/pages/datasets/DatasetDetailPage.d.ts.map +1 -1
- package/dist/labsofscience/pages/datasets/DatasetDetailPage.js +80 -75
- package/dist/labsofscience/pages/datasets/DatasetDetailPage.js.map +1 -1
- package/dist/labsofscience/pages/experiments/ExperimentDetailPage.d.ts.map +1 -1
- package/dist/labsofscience/pages/experiments/ExperimentDetailPage.js +125 -121
- package/dist/labsofscience/pages/experiments/ExperimentDetailPage.js.map +1 -1
- package/dist/labsofscience/pages/experiments/ExperimentsListPage.js +11 -11
- package/dist/labsofscience/pages/instruments/InstrumentDetailPage.js +9 -9
- package/dist/labsofscience/pages/instruments/InstrumentsListPage.js +9 -9
- package/dist/labsofscience/pages/notebook/NotebookEntryDetailPage.d.ts.map +1 -1
- package/dist/labsofscience/pages/notebook/NotebookEntryDetailPage.js +82 -77
- package/dist/labsofscience/pages/notebook/NotebookEntryDetailPage.js.map +1 -1
- package/dist/labsofscience/pages/pipelines/PipelinesPage.d.ts.map +1 -1
- package/dist/labsofscience/pages/pipelines/PipelinesPage.js +85 -118
- package/dist/labsofscience/pages/pipelines/PipelinesPage.js.map +1 -1
- package/dist/labsofscience/pages/projects/ProjectDetailPage.js +15 -15
- package/dist/labsofscience/pages/projects/ProjectsListPage.js +12 -12
- package/dist/labsofscience/types/index.d.ts +73 -0
- package/dist/labsofscience/types/index.d.ts.map +1 -1
- package/package.json +2 -1
|
@@ -23,7 +23,7 @@ var a = class extends Error {
|
|
|
23
23
|
}
|
|
24
24
|
if (!r.data) throw Error("GraphQL response did not include data");
|
|
25
25
|
return /^\s*mutation\b/.test(e) && globalThis.__graphqlFetchResponseCache?.clear(), r.data;
|
|
26
|
-
}, s = "labsofscience", c = "\n id workspaceId name code description field status visibility\n principalInvestigatorId startDate endDate tags createdAt updatedAt\n", l = "\n id workspaceId projectId title description hypothesis status protocolId\n leadResearcherId variables tags createdAt updatedAt\n", u = "\n id workspaceId experimentId runNumber status parameters observations notes\n performedById startedAt completedAt createdAt updatedAt\n", d = "\n id workspaceId projectId experimentId runId title body status authorId\n signedById signedAt witnessedById witnessedAt tags createdAt updatedAt\n", f = "\n id workspaceId name summary status version estimatedMinutes materials\n safetyNotes authorId publishedAt tags createdAt updatedAt\n", p = "\n id workspaceId protocolId ordinal kind instruction durationMinutes isCritical\n createdAt updatedAt\n", m = "\n id workspaceId projectId experimentId name description kind status\n latestVersion tags createdAt updatedAt\n", h = "\n id workspaceId datasetId version checksum sizeBytes rowCount changeNote\n createdAt updatedAt\n", g = "\n id workspaceId projectId name description engine definition version isActive\n tags createdAt updatedAt\n", _ = "\n id workspaceId pipelineId datasetId datasetVersionId outputDatasetId status\n parameters log triggeredById startedAt finishedAt createdAt updatedAt\n", v = "\n id workspaceId name category status quantity unit reorderLevel location\n lotNumber catalogNumber vendor expiresAt tags createdAt updatedAt\n", y = "\n id workspaceId name model location status requiresApproval custodianId tags\n createdAt updatedAt\n", b = "\n id workspaceId instrumentId experimentId bookedById status purpose startTime\n endTime createdAt updatedAt\n", ee = "\n id workspaceId provider model trigger status promptSummary decision inputRefs\n error latencyMs tokensIn tokensOut costUsd actorId actorType createdAt\n", x = "\n workspaceId provider model autoPilotEnabled autoPilotLastRunAt updatedAt\n", S = (t = {}) => {
|
|
26
|
+
}, s = "labsofscience", c = "\n id workspaceId name code description field status visibility\n principalInvestigatorId startDate endDate tags createdAt updatedAt\n", l = "\n id workspaceId projectId title description hypothesis status protocolId\n leadResearcherId variables tags createdAt updatedAt\n", u = "\n id workspaceId experimentId runNumber status parameters observations notes\n performedById startedAt completedAt createdAt updatedAt\n", d = "\n id workspaceId projectId experimentId runId title body status authorId\n signedById signedAt witnessedById witnessedAt tags createdAt updatedAt\n", f = "\n id workspaceId name summary status version estimatedMinutes materials\n safetyNotes authorId publishedAt tags createdAt updatedAt\n", p = "\n id workspaceId protocolId ordinal kind instruction durationMinutes isCritical\n createdAt updatedAt\n", m = "\n id workspaceId projectId experimentId name description kind status\n latestVersion tags createdAt updatedAt\n", h = "\n id workspaceId datasetId version checksum sizeBytes rowCount changeNote\n createdAt updatedAt\n", g = "\n id workspaceId projectId name description engine definition version isActive\n tags createdAt updatedAt\n", _ = "\n id workspaceId pipelineId datasetId datasetVersionId outputDatasetId status\n parameters log triggeredById startedAt finishedAt createdAt updatedAt\n", v = "\n id workspaceId name category status quantity unit reorderLevel location\n lotNumber catalogNumber vendor expiresAt tags createdAt updatedAt\n", y = "\n id workspaceId name model location status requiresApproval custodianId tags\n createdAt updatedAt\n", b = "\n id workspaceId instrumentId experimentId bookedById status purpose startTime\n endTime createdAt updatedAt\n", ee = "\n id workspaceId provider model trigger status promptSummary decision inputRefs\n error latencyMs tokensIn tokensOut costUsd actorId actorType createdAt\n", x = "\n workspaceId provider model autoPilotEnabled autoPilotLastRunAt updatedAt\n", S = "\n rootNodeId\n nodes { id entityType label createdAt checksum }\n edges { id fromNodeId toNodeId label }\n", C = (t = {}) => {
|
|
27
27
|
let { apiGatewayUrl: r } = e();
|
|
28
28
|
return n({
|
|
29
29
|
queryKey: [
|
|
@@ -44,7 +44,7 @@ var a = class extends Error {
|
|
|
44
44
|
pagination: t.pagination
|
|
45
45
|
}, r)).labListProjects
|
|
46
46
|
});
|
|
47
|
-
},
|
|
47
|
+
}, w = (t) => {
|
|
48
48
|
let { apiGatewayUrl: r } = e();
|
|
49
49
|
return n({
|
|
50
50
|
queryKey: [
|
|
@@ -60,7 +60,7 @@ var a = class extends Error {
|
|
|
60
60
|
}`, { id: t }, r)).labProject,
|
|
61
61
|
enabled: !!t
|
|
62
62
|
});
|
|
63
|
-
},
|
|
63
|
+
}, T = () => {
|
|
64
64
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
65
65
|
return t({
|
|
66
66
|
mutationFn: async (e) => (await o(`mutation LabCreateProject($input: LabCreateProjectInput!) {
|
|
@@ -70,7 +70,7 @@ var a = class extends Error {
|
|
|
70
70
|
n.invalidateQueries({ queryKey: [s, "projects"] });
|
|
71
71
|
}
|
|
72
72
|
});
|
|
73
|
-
},
|
|
73
|
+
}, E = () => {
|
|
74
74
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
75
75
|
return t({
|
|
76
76
|
mutationFn: async ({ id: e, input: t }) => (await o(`mutation LabUpdateProject($id: ID!, $input: LabUpdateProjectInput!) {
|
|
@@ -87,7 +87,7 @@ var a = class extends Error {
|
|
|
87
87
|
] });
|
|
88
88
|
}
|
|
89
89
|
});
|
|
90
|
-
},
|
|
90
|
+
}, D = () => {
|
|
91
91
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
92
92
|
return t({
|
|
93
93
|
mutationFn: async (e) => (await o("mutation LabArchiveProject($id: ID!) { labArchiveProject(id: $id) }", { id: e }, i)).labArchiveProject,
|
|
@@ -95,7 +95,7 @@ var a = class extends Error {
|
|
|
95
95
|
n.invalidateQueries({ queryKey: [s, "projects"] });
|
|
96
96
|
}
|
|
97
97
|
});
|
|
98
|
-
},
|
|
98
|
+
}, O = (t = {}) => {
|
|
99
99
|
let { apiGatewayUrl: r } = e();
|
|
100
100
|
return n({
|
|
101
101
|
queryKey: [
|
|
@@ -118,7 +118,7 @@ var a = class extends Error {
|
|
|
118
118
|
pagination: t.pagination
|
|
119
119
|
}, r)).labListExperiments
|
|
120
120
|
});
|
|
121
|
-
},
|
|
121
|
+
}, k = (t) => {
|
|
122
122
|
let { apiGatewayUrl: r } = e();
|
|
123
123
|
return n({
|
|
124
124
|
queryKey: [
|
|
@@ -135,7 +135,7 @@ var a = class extends Error {
|
|
|
135
135
|
}`, { id: t }, r)).labExperiment,
|
|
136
136
|
enabled: !!t
|
|
137
137
|
});
|
|
138
|
-
},
|
|
138
|
+
}, A = () => {
|
|
139
139
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
140
140
|
return t({
|
|
141
141
|
mutationFn: async (e) => (await o(`mutation LabCreateExperiment($input: LabCreateExperimentInput!) {
|
|
@@ -149,7 +149,7 @@ var a = class extends Error {
|
|
|
149
149
|
] });
|
|
150
150
|
}
|
|
151
151
|
});
|
|
152
|
-
},
|
|
152
|
+
}, j = () => {
|
|
153
153
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
154
154
|
return t({
|
|
155
155
|
mutationFn: async ({ id: e, input: t }) => (await o(`mutation LabUpdateExperiment($id: ID!, $input: LabUpdateExperimentInput!) {
|
|
@@ -166,7 +166,7 @@ var a = class extends Error {
|
|
|
166
166
|
] });
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
|
-
},
|
|
169
|
+
}, M = () => {
|
|
170
170
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
171
171
|
return t({
|
|
172
172
|
mutationFn: async ({ id: e, status: t }) => (await o(`mutation LabTransitionExperiment($id: ID!, $status: LabExperimentStatus!) {
|
|
@@ -183,7 +183,7 @@ var a = class extends Error {
|
|
|
183
183
|
] });
|
|
184
184
|
}
|
|
185
185
|
});
|
|
186
|
-
},
|
|
186
|
+
}, N = (t = {}) => {
|
|
187
187
|
let { apiGatewayUrl: r } = e();
|
|
188
188
|
return n({
|
|
189
189
|
queryKey: [
|
|
@@ -204,7 +204,7 @@ var a = class extends Error {
|
|
|
204
204
|
pagination: t.pagination
|
|
205
205
|
}, r)).labListRuns
|
|
206
206
|
});
|
|
207
|
-
},
|
|
207
|
+
}, P = () => {
|
|
208
208
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
209
209
|
return t({
|
|
210
210
|
mutationFn: async (e) => (await o(`mutation LabStartRun($input: LabCreateRunInput!) {
|
|
@@ -218,7 +218,7 @@ var a = class extends Error {
|
|
|
218
218
|
] });
|
|
219
219
|
}
|
|
220
220
|
});
|
|
221
|
-
},
|
|
221
|
+
}, F = () => {
|
|
222
222
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
223
223
|
return t({
|
|
224
224
|
mutationFn: async ({ id: e, status: t, notes: n, observations: r }) => {
|
|
@@ -242,7 +242,7 @@ var a = class extends Error {
|
|
|
242
242
|
] });
|
|
243
243
|
}
|
|
244
244
|
});
|
|
245
|
-
},
|
|
245
|
+
}, I = (t = {}) => {
|
|
246
246
|
let { apiGatewayUrl: r } = e();
|
|
247
247
|
return n({
|
|
248
248
|
queryKey: [
|
|
@@ -267,7 +267,7 @@ var a = class extends Error {
|
|
|
267
267
|
pagination: t.pagination
|
|
268
268
|
}, r)).labListNotebookEntries
|
|
269
269
|
});
|
|
270
|
-
},
|
|
270
|
+
}, L = (t) => {
|
|
271
271
|
let { apiGatewayUrl: r } = e();
|
|
272
272
|
return n({
|
|
273
273
|
queryKey: [
|
|
@@ -283,7 +283,7 @@ var a = class extends Error {
|
|
|
283
283
|
}`, { id: t }, r)).labNotebookEntry,
|
|
284
284
|
enabled: !!t
|
|
285
285
|
});
|
|
286
|
-
},
|
|
286
|
+
}, R = () => {
|
|
287
287
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
288
288
|
return t({
|
|
289
289
|
mutationFn: async (e) => (await o(`mutation LabCreateNotebookEntry($input: LabCreateNotebookEntryInput!) {
|
|
@@ -293,7 +293,7 @@ var a = class extends Error {
|
|
|
293
293
|
n.invalidateQueries({ queryKey: [s, "notebook"] });
|
|
294
294
|
}
|
|
295
295
|
});
|
|
296
|
-
},
|
|
296
|
+
}, z = () => {
|
|
297
297
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
298
298
|
return t({
|
|
299
299
|
mutationFn: async (e) => (await o(`mutation LabSignNotebookEntry($id: ID!) {
|
|
@@ -307,7 +307,7 @@ var a = class extends Error {
|
|
|
307
307
|
] });
|
|
308
308
|
}
|
|
309
309
|
});
|
|
310
|
-
},
|
|
310
|
+
}, B = () => {
|
|
311
311
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
312
312
|
return t({
|
|
313
313
|
mutationFn: async (e) => (await o(`mutation LabWitnessNotebookEntry($id: ID!) {
|
|
@@ -321,7 +321,7 @@ var a = class extends Error {
|
|
|
321
321
|
] });
|
|
322
322
|
}
|
|
323
323
|
});
|
|
324
|
-
},
|
|
324
|
+
}, V = (t = {}) => {
|
|
325
325
|
let { apiGatewayUrl: r } = e();
|
|
326
326
|
return n({
|
|
327
327
|
queryKey: [
|
|
@@ -342,7 +342,7 @@ var a = class extends Error {
|
|
|
342
342
|
pagination: t.pagination
|
|
343
343
|
}, r)).labListProtocols
|
|
344
344
|
});
|
|
345
|
-
},
|
|
345
|
+
}, H = (t) => {
|
|
346
346
|
let { apiGatewayUrl: r } = e();
|
|
347
347
|
return n({
|
|
348
348
|
queryKey: [
|
|
@@ -358,7 +358,7 @@ var a = class extends Error {
|
|
|
358
358
|
}`, { id: t }, r)).labProtocol,
|
|
359
359
|
enabled: !!t
|
|
360
360
|
});
|
|
361
|
-
},
|
|
361
|
+
}, U = () => {
|
|
362
362
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
363
363
|
return t({
|
|
364
364
|
mutationFn: async (e) => (await o(`mutation LabCreateProtocol($input: LabCreateProtocolInput!) {
|
|
@@ -368,7 +368,7 @@ var a = class extends Error {
|
|
|
368
368
|
n.invalidateQueries({ queryKey: [s, "protocols"] });
|
|
369
369
|
}
|
|
370
370
|
});
|
|
371
|
-
},
|
|
371
|
+
}, W = () => {
|
|
372
372
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
373
373
|
return t({
|
|
374
374
|
mutationFn: async ({ id: e, input: t }) => (await o(`mutation LabUpdateProtocol($id: ID!, $input: LabUpdateProtocolInput!) {
|
|
@@ -385,7 +385,7 @@ var a = class extends Error {
|
|
|
385
385
|
] });
|
|
386
386
|
}
|
|
387
387
|
});
|
|
388
|
-
},
|
|
388
|
+
}, G = () => {
|
|
389
389
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
390
390
|
return t({
|
|
391
391
|
mutationFn: async (e) => (await o(`mutation LabPublishProtocol($id: ID!) {
|
|
@@ -399,7 +399,7 @@ var a = class extends Error {
|
|
|
399
399
|
] });
|
|
400
400
|
}
|
|
401
401
|
});
|
|
402
|
-
},
|
|
402
|
+
}, K = () => {
|
|
403
403
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
404
404
|
return t({
|
|
405
405
|
mutationFn: async (e) => (await o(`mutation LabAddProtocolStep($input: LabAddProtocolStepInput!) {
|
|
@@ -413,7 +413,7 @@ var a = class extends Error {
|
|
|
413
413
|
] });
|
|
414
414
|
}
|
|
415
415
|
});
|
|
416
|
-
},
|
|
416
|
+
}, q = (t = {}) => {
|
|
417
417
|
let { apiGatewayUrl: r } = e();
|
|
418
418
|
return n({
|
|
419
419
|
queryKey: [
|
|
@@ -436,7 +436,7 @@ var a = class extends Error {
|
|
|
436
436
|
pagination: t.pagination
|
|
437
437
|
}, r)).labListDatasets
|
|
438
438
|
});
|
|
439
|
-
},
|
|
439
|
+
}, J = (t) => {
|
|
440
440
|
let { apiGatewayUrl: r } = e();
|
|
441
441
|
return n({
|
|
442
442
|
queryKey: [
|
|
@@ -452,7 +452,7 @@ var a = class extends Error {
|
|
|
452
452
|
}`, { id: t }, r)).labDataset,
|
|
453
453
|
enabled: !!t
|
|
454
454
|
});
|
|
455
|
-
},
|
|
455
|
+
}, Y = () => {
|
|
456
456
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
457
457
|
return t({
|
|
458
458
|
mutationFn: async (e) => (await o(`mutation LabCreateDataset($input: LabCreateDatasetInput!) {
|
|
@@ -462,7 +462,7 @@ var a = class extends Error {
|
|
|
462
462
|
n.invalidateQueries({ queryKey: [s, "datasets"] });
|
|
463
463
|
}
|
|
464
464
|
});
|
|
465
|
-
},
|
|
465
|
+
}, te = () => {
|
|
466
466
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
467
467
|
return t({
|
|
468
468
|
mutationFn: async (e) => (await o("mutation LabArchiveDataset($id: ID!) { labArchiveDataset(id: $id) }", { id: e }, i)).labArchiveDataset,
|
|
@@ -470,7 +470,7 @@ var a = class extends Error {
|
|
|
470
470
|
n.invalidateQueries({ queryKey: [s, "datasets"] });
|
|
471
471
|
}
|
|
472
472
|
});
|
|
473
|
-
},
|
|
473
|
+
}, X = () => {
|
|
474
474
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
475
475
|
return t({
|
|
476
476
|
mutationFn: async (e) => (await o(`mutation LabAddDatasetVersion($input: LabAddDatasetVersionInput!) {
|
|
@@ -484,7 +484,7 @@ var a = class extends Error {
|
|
|
484
484
|
] });
|
|
485
485
|
}
|
|
486
486
|
});
|
|
487
|
-
},
|
|
487
|
+
}, Z = (t = {}) => {
|
|
488
488
|
let { apiGatewayUrl: r } = e();
|
|
489
489
|
return n({
|
|
490
490
|
queryKey: [
|
|
@@ -499,7 +499,7 @@ var a = class extends Error {
|
|
|
499
499
|
}
|
|
500
500
|
}`, { pagination: t.pagination }, r)).labListPipelines
|
|
501
501
|
});
|
|
502
|
-
},
|
|
502
|
+
}, Q = () => {
|
|
503
503
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
504
504
|
return t({
|
|
505
505
|
mutationFn: async (e) => (await o(`mutation LabCreatePipeline($input: LabCreatePipelineInput!) {
|
|
@@ -509,7 +509,7 @@ var a = class extends Error {
|
|
|
509
509
|
n.invalidateQueries({ queryKey: [s, "pipelines"] });
|
|
510
510
|
}
|
|
511
511
|
});
|
|
512
|
-
},
|
|
512
|
+
}, ne = (t = {}) => {
|
|
513
513
|
let { apiGatewayUrl: r } = e();
|
|
514
514
|
return n({
|
|
515
515
|
queryKey: [
|
|
@@ -533,7 +533,7 @@ var a = class extends Error {
|
|
|
533
533
|
pagination: t.pagination
|
|
534
534
|
}, r)).labListPipelineRuns
|
|
535
535
|
});
|
|
536
|
-
},
|
|
536
|
+
}, re = () => {
|
|
537
537
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
538
538
|
return t({
|
|
539
539
|
mutationFn: async (e) => (await o(`mutation LabRunPipeline($input: LabRunPipelineInput!) {
|
|
@@ -543,7 +543,7 @@ var a = class extends Error {
|
|
|
543
543
|
n.invalidateQueries({ queryKey: [s, "pipeline-runs"] });
|
|
544
544
|
}
|
|
545
545
|
});
|
|
546
|
-
},
|
|
546
|
+
}, ie = () => {
|
|
547
547
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
548
548
|
return t({
|
|
549
549
|
mutationFn: async ({ id: e, status: t, log: n }) => (await o(`mutation LabTransitionPipelineRun($id: ID!, $status: LabPipelineRunStatus!, $log: String) {
|
|
@@ -557,7 +557,7 @@ var a = class extends Error {
|
|
|
557
557
|
n.invalidateQueries({ queryKey: [s, "pipeline-runs"] });
|
|
558
558
|
}
|
|
559
559
|
});
|
|
560
|
-
},
|
|
560
|
+
}, ae = (t = {}) => {
|
|
561
561
|
let { apiGatewayUrl: r } = e();
|
|
562
562
|
return n({
|
|
563
563
|
queryKey: [
|
|
@@ -581,7 +581,7 @@ var a = class extends Error {
|
|
|
581
581
|
}, r)).labListInventoryItems,
|
|
582
582
|
enabled: t.enabled !== !1
|
|
583
583
|
});
|
|
584
|
-
},
|
|
584
|
+
}, oe = (t) => {
|
|
585
585
|
let { apiGatewayUrl: r } = e();
|
|
586
586
|
return n({
|
|
587
587
|
queryKey: [
|
|
@@ -594,7 +594,7 @@ var a = class extends Error {
|
|
|
594
594
|
}`, { id: t }, r)).labInventoryItem,
|
|
595
595
|
enabled: !!t
|
|
596
596
|
});
|
|
597
|
-
},
|
|
597
|
+
}, se = () => {
|
|
598
598
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
599
599
|
return t({
|
|
600
600
|
mutationFn: async (e) => (await o(`mutation LabCreateInventoryItem($input: LabCreateInventoryItemInput!) {
|
|
@@ -604,7 +604,7 @@ var a = class extends Error {
|
|
|
604
604
|
n.invalidateQueries({ queryKey: [s, "inventory"] });
|
|
605
605
|
}
|
|
606
606
|
});
|
|
607
|
-
},
|
|
607
|
+
}, ce = () => {
|
|
608
608
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
609
609
|
return t({
|
|
610
610
|
mutationFn: async ({ id: e, input: t }) => (await o(`mutation LabAdjustInventory($id: ID!, $input: LabAdjustInventoryInput!) {
|
|
@@ -621,7 +621,7 @@ var a = class extends Error {
|
|
|
621
621
|
] });
|
|
622
622
|
}
|
|
623
623
|
});
|
|
624
|
-
},
|
|
624
|
+
}, le = () => {
|
|
625
625
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
626
626
|
return t({
|
|
627
627
|
mutationFn: async (e) => (await o("mutation LabArchiveInventoryItem($id: ID!) { labArchiveInventoryItem(id: $id) }", { id: e }, i)).labArchiveInventoryItem,
|
|
@@ -629,7 +629,7 @@ var a = class extends Error {
|
|
|
629
629
|
n.invalidateQueries({ queryKey: [s, "inventory"] });
|
|
630
630
|
}
|
|
631
631
|
});
|
|
632
|
-
},
|
|
632
|
+
}, ue = (t = {}) => {
|
|
633
633
|
let { apiGatewayUrl: r } = e();
|
|
634
634
|
return n({
|
|
635
635
|
queryKey: [
|
|
@@ -650,7 +650,7 @@ var a = class extends Error {
|
|
|
650
650
|
pagination: t.pagination
|
|
651
651
|
}, r)).labListInstruments
|
|
652
652
|
});
|
|
653
|
-
},
|
|
653
|
+
}, de = (t) => {
|
|
654
654
|
let { apiGatewayUrl: r } = e();
|
|
655
655
|
return n({
|
|
656
656
|
queryKey: [
|
|
@@ -666,7 +666,7 @@ var a = class extends Error {
|
|
|
666
666
|
}`, { id: t }, r)).labInstrument,
|
|
667
667
|
enabled: !!t
|
|
668
668
|
});
|
|
669
|
-
},
|
|
669
|
+
}, fe = () => {
|
|
670
670
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
671
671
|
return t({
|
|
672
672
|
mutationFn: async (e) => (await o(`mutation LabCreateInstrument($input: LabCreateInstrumentInput!) {
|
|
@@ -676,7 +676,7 @@ var a = class extends Error {
|
|
|
676
676
|
n.invalidateQueries({ queryKey: [s, "instruments"] });
|
|
677
677
|
}
|
|
678
678
|
});
|
|
679
|
-
},
|
|
679
|
+
}, pe = () => {
|
|
680
680
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
681
681
|
return t({
|
|
682
682
|
mutationFn: async (e) => (await o(`mutation LabBookInstrument($input: LabBookInstrumentInput!) {
|
|
@@ -690,7 +690,7 @@ var a = class extends Error {
|
|
|
690
690
|
] });
|
|
691
691
|
}
|
|
692
692
|
});
|
|
693
|
-
},
|
|
693
|
+
}, me = () => {
|
|
694
694
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
695
695
|
return t({
|
|
696
696
|
mutationFn: async (e) => (await o("mutation LabCancelBooking($id: ID!) {\n labCancelBooking(id: $id) { id status instrumentId }\n }", { id: e }, i)).labCancelBooking,
|
|
@@ -702,14 +702,14 @@ var a = class extends Error {
|
|
|
702
702
|
] });
|
|
703
703
|
}
|
|
704
704
|
});
|
|
705
|
-
},
|
|
705
|
+
}, he = () => {
|
|
706
706
|
let { apiGatewayUrl: t } = e();
|
|
707
707
|
return n({
|
|
708
708
|
queryKey: [s, "ai-model-catalog"],
|
|
709
709
|
queryFn: async () => (await o("query LabAiModelCatalog {\n labAiModelCatalog { provider model label isDefault capabilities }\n }", {}, t)).labAiModelCatalog,
|
|
710
710
|
staleTime: 1800 * 1e3
|
|
711
711
|
});
|
|
712
|
-
},
|
|
712
|
+
}, ge = () => {
|
|
713
713
|
let { apiGatewayUrl: t } = e();
|
|
714
714
|
return n({
|
|
715
715
|
queryKey: [s, "ai-config"],
|
|
@@ -717,7 +717,7 @@ var a = class extends Error {
|
|
|
717
717
|
labWorkspaceAiConfig { ${x} }
|
|
718
718
|
}`, {}, t)).labWorkspaceAiConfig
|
|
719
719
|
});
|
|
720
|
-
},
|
|
720
|
+
}, _e = () => {
|
|
721
721
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
722
722
|
return t({
|
|
723
723
|
mutationFn: async ({ provider: e, model: t }) => (await o(`mutation LabSetWorkspaceAiModel($provider: String!, $model: String!) {
|
|
@@ -730,7 +730,7 @@ var a = class extends Error {
|
|
|
730
730
|
n.setQueryData([s, "ai-config"], e), n.invalidateQueries({ queryKey: [s, "ai-config"] });
|
|
731
731
|
}
|
|
732
732
|
});
|
|
733
|
-
},
|
|
733
|
+
}, ve = () => {
|
|
734
734
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
735
735
|
return t({
|
|
736
736
|
mutationFn: async (e) => (await o(`mutation LabSetWorkspaceAutoPilot($enabled: Boolean!) {
|
|
@@ -740,7 +740,7 @@ var a = class extends Error {
|
|
|
740
740
|
n.setQueryData([s, "ai-config"], e), n.invalidateQueries({ queryKey: [s, "ai-config"] });
|
|
741
741
|
}
|
|
742
742
|
});
|
|
743
|
-
},
|
|
743
|
+
}, ye = (t = {}) => {
|
|
744
744
|
let { apiGatewayUrl: r } = e();
|
|
745
745
|
return n({
|
|
746
746
|
queryKey: [
|
|
@@ -755,7 +755,7 @@ var a = class extends Error {
|
|
|
755
755
|
}
|
|
756
756
|
}`, { pagination: t.pagination }, r)).labAgentRuns
|
|
757
757
|
});
|
|
758
|
-
},
|
|
758
|
+
}, be = () => {
|
|
759
759
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
760
760
|
return t({
|
|
761
761
|
mutationFn: async (e) => (await o(`mutation LabSuggestProtocol($input: LabSuggestProtocolInput!) {
|
|
@@ -769,7 +769,7 @@ var a = class extends Error {
|
|
|
769
769
|
n.invalidateQueries({ queryKey: [s, "agent-runs"] }), n.invalidateQueries({ queryKey: [s, "protocols"] });
|
|
770
770
|
}
|
|
771
771
|
});
|
|
772
|
-
},
|
|
772
|
+
}, $ = () => {
|
|
773
773
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
774
774
|
return t({
|
|
775
775
|
mutationFn: async ({ experimentId: e, requestedProvider: t }) => (await o("mutation LabRecommendNextRun($experimentId: ID!, $requestedProvider: String) {\n labRecommendNextRun(experimentId: $experimentId, requestedProvider: $requestedProvider) {\n experimentId recommendation rationale confidence suggestedParameters flags\n agentRunId appliedToExperiment createdAt\n }\n }", {
|
|
@@ -788,7 +788,7 @@ var a = class extends Error {
|
|
|
788
788
|
] });
|
|
789
789
|
}
|
|
790
790
|
});
|
|
791
|
-
},
|
|
791
|
+
}, xe = () => {
|
|
792
792
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
793
793
|
return t({
|
|
794
794
|
mutationFn: async ({ runId: e, experimentId: t, recommendation: n, note: r }) => (await o("mutation LabOverrideAgentRun($runId: ID!, $experimentId: ID!, $recommendation: LabRunRecommendation!, $note: String!) {\n labOverrideAgentRun(runId: $runId, experimentId: $experimentId, recommendation: $recommendation, note: $note) {\n id workspaceId experimentId supersedesRunId recommendation note createdAt\n }\n }", {
|
|
@@ -809,7 +809,7 @@ var a = class extends Error {
|
|
|
809
809
|
] });
|
|
810
810
|
}
|
|
811
811
|
});
|
|
812
|
-
},
|
|
812
|
+
}, Se = (t) => {
|
|
813
813
|
let { apiGatewayUrl: r } = e();
|
|
814
814
|
return n({
|
|
815
815
|
queryKey: [
|
|
@@ -820,8 +820,67 @@ var a = class extends Error {
|
|
|
820
820
|
queryFn: async () => (await o("query LabExperimentAiContext($id: ID!) {\n labExperiment(id: $id) { id title status projectId context }\n }", { id: t }, r)).labExperiment,
|
|
821
821
|
enabled: !!t
|
|
822
822
|
});
|
|
823
|
+
}, Ce = "\n projects experiments runs datasets protocols notebookEntries\n pipelines pipelineRuns inventoryItems instruments\n", we = () => {
|
|
824
|
+
let { apiGatewayUrl: t } = e();
|
|
825
|
+
return n({
|
|
826
|
+
queryKey: [s, "workspace-totals"],
|
|
827
|
+
queryFn: async () => (await o(`query LabWorkspaceTotals {
|
|
828
|
+
labWorkspaceTotals { ${Ce} }
|
|
829
|
+
}`, {}, t)).labWorkspaceTotals
|
|
830
|
+
});
|
|
831
|
+
}, Te = "\n id action description actorId: userId timestamp resourceType resourceId\n", Ee = (t = 20) => {
|
|
832
|
+
let { apiGatewayUrl: r, workspaceId: i } = e();
|
|
833
|
+
return n({
|
|
834
|
+
queryKey: [
|
|
835
|
+
s,
|
|
836
|
+
"recent-activity",
|
|
837
|
+
i ?? null,
|
|
838
|
+
t
|
|
839
|
+
],
|
|
840
|
+
queryFn: async () => i ? (await o(`query LabRecentActivity($filter: ActivityLogFilter) {
|
|
841
|
+
getActivities(filter: $filter) {
|
|
842
|
+
${Te}
|
|
843
|
+
}
|
|
844
|
+
}`, { filter: {
|
|
845
|
+
workspaceId: i,
|
|
846
|
+
productId: "labsofscience",
|
|
847
|
+
limit: t
|
|
848
|
+
} }, r)).getActivities : [],
|
|
849
|
+
enabled: !!i
|
|
850
|
+
});
|
|
851
|
+
}, De = "\n summary {\n averageTimeToSignMinutes\n datasetVersions\n experimentsCompleted\n runSuccessRate\n }\n experimentThroughputByWeek { week experiments runs }\n experimentStatusDistribution { status count }\n pipelineRunsByStatus { status count }\n notebookEntriesByAttestation { status count }\n", Oe = (t = 12) => {
|
|
852
|
+
let { apiGatewayUrl: r } = e();
|
|
853
|
+
return n({
|
|
854
|
+
queryKey: [
|
|
855
|
+
s,
|
|
856
|
+
"analytics",
|
|
857
|
+
t
|
|
858
|
+
],
|
|
859
|
+
queryFn: async () => (await o(`query LabResearchAnalytics($weeks: Int) {
|
|
860
|
+
labResearchAnalytics(weeks: $weeks) { ${De} }
|
|
861
|
+
}`, { weeks: t }, r)).labResearchAnalytics
|
|
862
|
+
});
|
|
863
|
+
}, ke = (t, r, i = 5) => {
|
|
864
|
+
let { apiGatewayUrl: a } = e();
|
|
865
|
+
return n({
|
|
866
|
+
queryKey: [
|
|
867
|
+
s,
|
|
868
|
+
"provenance",
|
|
869
|
+
t,
|
|
870
|
+
r ?? null,
|
|
871
|
+
i
|
|
872
|
+
],
|
|
873
|
+
queryFn: async () => (await o(`query LabProvenance($entityType: LabProvenanceEntityType!, $entityId: ID!, $maxDepth: Int) {
|
|
874
|
+
labProvenance(entityType: $entityType, entityId: $entityId, maxDepth: $maxDepth) { ${S} }
|
|
875
|
+
}`, {
|
|
876
|
+
entityType: t,
|
|
877
|
+
entityId: r,
|
|
878
|
+
maxDepth: i
|
|
879
|
+
}, a)).labProvenance,
|
|
880
|
+
enabled: !!r
|
|
881
|
+
});
|
|
823
882
|
};
|
|
824
883
|
//#endregion
|
|
825
|
-
export { a as LabApiError,
|
|
884
|
+
export { a as LabApiError, X as useAddDatasetVersion, K as useAddProtocolStep, ce as useAdjustInventory, ye as useAgentRuns, he as useAiModelCatalog, te as useArchiveDataset, le as useArchiveInventoryItem, D as useArchiveProject, pe as useBookInstrument, me as useCancelBooking, F as useCompleteRun, Y as useCreateDataset, A as useCreateExperiment, fe as useCreateInstrument, se as useCreateInventoryItem, R as useCreateNotebookEntry, Q as useCreatePipeline, T as useCreateProject, U as useCreateProtocol, J as useDataset, q as useDatasets, k as useExperiment, Se as useExperimentAiContext, O as useExperiments, de as useInstrument, ue as useInstruments, oe as useInventoryItem, ae as useInventoryItems, ke as useLabProvenance, Ee as useLabRecentActivity, I as useNotebookEntries, L as useNotebookEntry, xe as useOverrideAgentRun, ne as usePipelineRuns, Z as usePipelines, w as useProject, C as useProjects, H as useProtocol, V as useProtocols, G as usePublishProtocol, $ as useRecommendNextRun, Oe as useResearchAnalytics, re as useRunPipeline, N as useRuns, _e as useSetWorkspaceAiModel, ve as useSetWorkspaceAutoPilot, z as useSignNotebookEntry, P as useStartRun, be as useSuggestProtocol, M as useTransitionExperiment, ie as useTransitionPipelineRun, j as useUpdateExperiment, E as useUpdateProject, W as useUpdateProtocol, B as useWitnessNotebookEntry, ge as useWorkspaceAiConfig, we as useWorkspaceTotals };
|
|
826
885
|
|
|
827
886
|
//# sourceMappingURL=useLabsOfScienceApi.js.map
|