@burdenoff/microfe-labsofscience 2026.829.1 → 2026.1029.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.
@@ -1,16 +1,17 @@
1
1
  import { useLabsOfScience as e } from "../context/LabsOfScienceContext.js";
2
2
  import "../context/index.js";
3
- import { useMutation as t, useQuery as n, useQueryClient as r } from "@tanstack/react-query";
4
- import { graphqlFetch as i } from "@burdenoff/fe-libs/shared/graphql";
3
+ import { AI_TERMS_CHECKPOINT as t, LABSOFSCIENCE_LEGAL_PRODUCT_KEY as n } from "../legal/aiTerms.js";
4
+ import { useMutation as r, useQuery as i, useQueryClient as a } from "@tanstack/react-query";
5
+ import { graphqlFetch as o } from "@burdenoff/fe-libs/shared/graphql";
5
6
  //#region src/labsofscience/hooks/useLabsOfScienceApi.ts
6
- var a = class extends Error {
7
+ var s = class extends Error {
7
8
  code;
8
9
  agentRunId;
9
10
  constructor(e, t) {
10
11
  super(e), this.name = "LabApiError", this.code = typeof t?.code == "string" ? t.code : null, this.agentRunId = typeof t?.agentRunId == "string" ? t.agentRunId : null;
11
12
  }
12
- }, o = async (e, t, n) => {
13
- let r = await i({
13
+ }, c = async (e, t, n) => {
14
+ let r = await o({
14
15
  gateway: "workspace",
15
16
  baseUrl: n,
16
17
  query: e,
@@ -19,97 +20,97 @@ var a = class extends Error {
19
20
  });
20
21
  if (r.errors?.length) {
21
22
  let e = r.errors[0];
22
- throw new a(e?.message ?? "GraphQL request failed", e?.extensions);
23
+ throw new s(e?.message ?? "GraphQL request failed", e?.extensions);
23
24
  }
24
25
  if (!r.data) throw Error("GraphQL response did not include data");
25
26
  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 context 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 file { id }\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", x = "\n id workspaceId provider model trigger status promptSummary decision inputRefs\n error latencyMs tokensIn tokensOut costUsd actorId actorType createdAt\n", S = "\n workspaceId provider model autoPilotEnabled autoPilotLastRunAt updatedAt\n", ee = "\n rootNodeId\n nodes { id entityType label createdAt checksum }\n edges { id fromNodeId toNodeId label }\n", C = (t = {}) => {
27
- let { apiGatewayUrl: r } = e();
28
- return n({
27
+ }, l = "labsofscience", u = "\n id workspaceId name code description field status visibility\n principalInvestigatorId startDate endDate tags createdAt updatedAt\n", d = "\n id workspaceId projectId title description hypothesis status protocolId\n leadResearcherId variables tags createdAt updatedAt\n", f = "\n id workspaceId experimentId runNumber status parameters observations notes\n performedById startedAt completedAt createdAt updatedAt\n", p = "\n id workspaceId projectId experimentId runId title body status authorId\n signedById signedAt witnessedById witnessedAt tags createdAt updatedAt\n", m = "\n id workspaceId name summary status version estimatedMinutes materials\n safetyNotes authorId publishedAt context tags createdAt updatedAt\n", h = "\n id workspaceId protocolId ordinal kind instruction durationMinutes isCritical\n createdAt updatedAt\n", g = "\n id workspaceId projectId experimentId name description kind status\n latestVersion tags createdAt updatedAt\n", _ = "\n id workspaceId datasetId version checksum sizeBytes rowCount changeNote\n file { id }\n createdAt updatedAt\n", v = "\n id workspaceId projectId name description engine definition version isActive\n tags createdAt updatedAt\n", y = "\n id workspaceId pipelineId datasetId datasetVersionId outputDatasetId status\n parameters log triggeredById startedAt finishedAt createdAt updatedAt\n", b = "\n id workspaceId name category status quantity unit reorderLevel location\n lotNumber catalogNumber vendor expiresAt tags createdAt updatedAt\n", x = "\n id workspaceId name model location status requiresApproval custodianId tags\n createdAt updatedAt\n", S = "\n id workspaceId instrumentId experimentId bookedById status purpose startTime\n endTime createdAt updatedAt\n", C = "\n id workspaceId provider model trigger status promptSummary decision inputRefs\n error latencyMs tokensIn tokensOut costUsd actorId actorType createdAt\n", w = "\n workspaceId provider model autoPilotEnabled autoPilotLastRunAt updatedAt\n", ee = "\n rootNodeId\n nodes { id entityType label createdAt checksum }\n edges { id fromNodeId toNodeId label }\n", te = (t = {}) => {
28
+ let { apiGatewayUrl: n } = e();
29
+ return i({
29
30
  queryKey: [
30
- s,
31
+ l,
31
32
  "projects",
32
33
  t.status ?? null,
33
34
  t.search ?? null,
34
35
  t.pagination ?? null
35
36
  ],
36
- queryFn: async () => (await o(`query LabProjects($status: LabProjectStatus, $search: String, $pagination: PaginationInput) {
37
+ queryFn: async () => (await c(`query LabProjects($status: LabProjectStatus, $search: String, $pagination: PaginationInput) {
37
38
  labListProjects(status: $status, search: $search, pagination: $pagination) {
38
- items { ${c} }
39
+ items { ${u} }
39
40
  pageInfo { cursor hasMore }
40
41
  }
41
42
  }`, {
42
43
  status: t.status,
43
44
  search: t.search || void 0,
44
45
  pagination: t.pagination
45
- }, r)).labListProjects
46
+ }, n)).labListProjects
46
47
  });
47
- }, w = (t) => {
48
- let { apiGatewayUrl: r } = e();
49
- return n({
48
+ }, T = (t) => {
49
+ let { apiGatewayUrl: n } = e();
50
+ return i({
50
51
  queryKey: [
51
- s,
52
+ l,
52
53
  "project",
53
54
  t
54
55
  ],
55
- queryFn: async () => (await o(`query LabProject($id: ID!) {
56
+ queryFn: async () => (await c(`query LabProject($id: ID!) {
56
57
  labProject(id: $id) {
57
- ${c}
58
- experiments { ${l} }
58
+ ${u}
59
+ experiments { ${d} }
59
60
  }
60
- }`, { id: t }, r)).labProject,
61
+ }`, { id: t }, n)).labProject,
61
62
  enabled: !!t
62
63
  });
63
- }, T = () => {
64
- let n = r(), { apiGatewayUrl: i } = e();
65
- return t({
66
- mutationFn: async (e) => (await o(`mutation LabCreateProject($input: LabCreateProjectInput!) {
67
- labCreateProject(input: $input) { ${c} }
68
- }`, { input: e }, i)).labCreateProject,
64
+ }, E = () => {
65
+ let t = a(), { apiGatewayUrl: n } = e();
66
+ return r({
67
+ mutationFn: async (e) => (await c(`mutation LabCreateProject($input: LabCreateProjectInput!) {
68
+ labCreateProject(input: $input) { ${u} }
69
+ }`, { input: e }, n)).labCreateProject,
69
70
  onSuccess: () => {
70
- n.invalidateQueries({ queryKey: [s, "projects"] });
71
+ t.invalidateQueries({ queryKey: [l, "projects"] });
71
72
  }
72
73
  });
73
- }, E = () => {
74
- let n = r(), { apiGatewayUrl: i } = e();
75
- return t({
76
- mutationFn: async ({ id: e, input: t }) => (await o(`mutation LabUpdateProject($id: ID!, $input: LabUpdateProjectInput!) {
77
- labUpdateProject(id: $id, input: $input) { ${c} }
74
+ }, D = () => {
75
+ let t = a(), { apiGatewayUrl: n } = e();
76
+ return r({
77
+ mutationFn: async ({ id: e, input: t }) => (await c(`mutation LabUpdateProject($id: ID!, $input: LabUpdateProjectInput!) {
78
+ labUpdateProject(id: $id, input: $input) { ${u} }
78
79
  }`, {
79
80
  id: e,
80
81
  input: t
81
- }, i)).labUpdateProject,
82
+ }, n)).labUpdateProject,
82
83
  onSuccess: (e) => {
83
- n.invalidateQueries({ queryKey: [s, "projects"] }), n.invalidateQueries({ queryKey: [
84
- s,
84
+ t.invalidateQueries({ queryKey: [l, "projects"] }), t.invalidateQueries({ queryKey: [
85
+ l,
85
86
  "project",
86
87
  e.id
87
88
  ] });
88
89
  }
89
90
  });
90
- }, D = () => {
91
- let n = r(), { apiGatewayUrl: i } = e();
92
- return t({
93
- mutationFn: async (e) => (await o("mutation LabArchiveProject($id: ID!) { labArchiveProject(id: $id) }", { id: e }, i)).labArchiveProject,
91
+ }, O = () => {
92
+ let t = a(), { apiGatewayUrl: n } = e();
93
+ return r({
94
+ mutationFn: async (e) => (await c("mutation LabArchiveProject($id: ID!) { labArchiveProject(id: $id) }", { id: e }, n)).labArchiveProject,
94
95
  onSuccess: () => {
95
- n.invalidateQueries({ queryKey: [s, "projects"] });
96
+ t.invalidateQueries({ queryKey: [l, "projects"] });
96
97
  }
97
98
  });
98
- }, O = (t = {}) => {
99
- let { apiGatewayUrl: r } = e();
100
- return n({
99
+ }, k = (t = {}) => {
100
+ let { apiGatewayUrl: n } = e();
101
+ return i({
101
102
  queryKey: [
102
- s,
103
+ l,
103
104
  "experiments",
104
105
  t.projectId ?? null,
105
106
  t.status ?? null,
106
107
  t.search ?? null,
107
108
  t.pagination ?? null
108
109
  ],
109
- queryFn: async () => (await o(`query LabExperiments($projectId: ID, $status: LabExperimentStatus, $search: String, $pagination: PaginationInput) {
110
+ queryFn: async () => (await c(`query LabExperiments($projectId: ID, $status: LabExperimentStatus, $search: String, $pagination: PaginationInput) {
110
111
  labListExperiments(projectId: $projectId, status: $status, search: $search, pagination: $pagination) {
111
112
  items {
112
- ${l}
113
+ ${d}
113
114
  project { id name }
114
115
  }
115
116
  pageInfo { cursor hasMore }
@@ -119,151 +120,151 @@ var a = class extends Error {
119
120
  status: t.status,
120
121
  search: t.search || void 0,
121
122
  pagination: t.pagination
122
- }, r)).labListExperiments
123
+ }, n)).labListExperiments
123
124
  });
124
- }, k = (t) => {
125
- let { apiGatewayUrl: r } = e();
126
- return n({
125
+ }, A = (t) => {
126
+ let { apiGatewayUrl: n } = e();
127
+ return i({
127
128
  queryKey: [
128
- s,
129
+ l,
129
130
  "experiment",
130
131
  t
131
132
  ],
132
- queryFn: async () => (await o(`query LabExperiment($id: ID!) {
133
+ queryFn: async () => (await c(`query LabExperiment($id: ID!) {
133
134
  labExperiment(id: $id) {
134
- ${l}
135
- project { ${c} }
136
- runs { ${u} }
135
+ ${d}
136
+ project { ${u} }
137
+ runs { ${f} }
137
138
  }
138
- }`, { id: t }, r)).labExperiment,
139
+ }`, { id: t }, n)).labExperiment,
139
140
  enabled: !!t
140
141
  });
141
- }, A = () => {
142
- let n = r(), { apiGatewayUrl: i } = e();
143
- return t({
144
- mutationFn: async (e) => (await o(`mutation LabCreateExperiment($input: LabCreateExperimentInput!) {
145
- labCreateExperiment(input: $input) { ${l} }
146
- }`, { input: e }, i)).labCreateExperiment,
142
+ }, j = () => {
143
+ let t = a(), { apiGatewayUrl: n } = e();
144
+ return r({
145
+ mutationFn: async (e) => (await c(`mutation LabCreateExperiment($input: LabCreateExperimentInput!) {
146
+ labCreateExperiment(input: $input) { ${d} }
147
+ }`, { input: e }, n)).labCreateExperiment,
147
148
  onSuccess: (e) => {
148
- n.invalidateQueries({ queryKey: [s, "experiments"] }), n.invalidateQueries({ queryKey: [
149
- s,
149
+ t.invalidateQueries({ queryKey: [l, "experiments"] }), t.invalidateQueries({ queryKey: [
150
+ l,
150
151
  "project",
151
152
  e.projectId
152
153
  ] });
153
154
  }
154
155
  });
155
- }, j = () => {
156
- let n = r(), { apiGatewayUrl: i } = e();
157
- return t({
158
- mutationFn: async ({ id: e, input: t }) => (await o(`mutation LabUpdateExperiment($id: ID!, $input: LabUpdateExperimentInput!) {
159
- labUpdateExperiment(id: $id, input: $input) { ${l} }
156
+ }, M = () => {
157
+ let t = a(), { apiGatewayUrl: n } = e();
158
+ return r({
159
+ mutationFn: async ({ id: e, input: t }) => (await c(`mutation LabUpdateExperiment($id: ID!, $input: LabUpdateExperimentInput!) {
160
+ labUpdateExperiment(id: $id, input: $input) { ${d} }
160
161
  }`, {
161
162
  id: e,
162
163
  input: t
163
- }, i)).labUpdateExperiment,
164
+ }, n)).labUpdateExperiment,
164
165
  onSuccess: (e) => {
165
- n.invalidateQueries({ queryKey: [s, "experiments"] }), n.invalidateQueries({ queryKey: [
166
- s,
166
+ t.invalidateQueries({ queryKey: [l, "experiments"] }), t.invalidateQueries({ queryKey: [
167
+ l,
167
168
  "experiment",
168
169
  e.id
169
170
  ] });
170
171
  }
171
172
  });
172
- }, M = () => {
173
- let n = r(), { apiGatewayUrl: i } = e();
174
- return t({
175
- mutationFn: async ({ id: e, status: t }) => (await o(`mutation LabTransitionExperiment($id: ID!, $status: LabExperimentStatus!) {
176
- labTransitionExperiment(id: $id, status: $status) { ${l} }
173
+ }, N = () => {
174
+ let t = a(), { apiGatewayUrl: n } = e();
175
+ return r({
176
+ mutationFn: async ({ id: e, status: t }) => (await c(`mutation LabTransitionExperiment($id: ID!, $status: LabExperimentStatus!) {
177
+ labTransitionExperiment(id: $id, status: $status) { ${d} }
177
178
  }`, {
178
179
  id: e,
179
180
  status: t
180
- }, i)).labTransitionExperiment,
181
+ }, n)).labTransitionExperiment,
181
182
  onSuccess: (e) => {
182
- n.invalidateQueries({ queryKey: [s, "experiments"] }), n.invalidateQueries({ queryKey: [
183
- s,
183
+ t.invalidateQueries({ queryKey: [l, "experiments"] }), t.invalidateQueries({ queryKey: [
184
+ l,
184
185
  "experiment",
185
186
  e.id
186
187
  ] });
187
188
  }
188
189
  });
189
- }, N = (t = {}) => {
190
- let { apiGatewayUrl: r } = e();
191
- return n({
190
+ }, P = (t = {}) => {
191
+ let { apiGatewayUrl: n } = e();
192
+ return i({
192
193
  queryKey: [
193
- s,
194
+ l,
194
195
  "runs",
195
196
  t.experimentId ?? null,
196
197
  t.status ?? null,
197
198
  t.pagination ?? null
198
199
  ],
199
- queryFn: async () => (await o(`query LabRuns($experimentId: ID, $status: LabRunStatus, $pagination: PaginationInput) {
200
+ queryFn: async () => (await c(`query LabRuns($experimentId: ID, $status: LabRunStatus, $pagination: PaginationInput) {
200
201
  labListRuns(experimentId: $experimentId, status: $status, pagination: $pagination) {
201
- items { ${u} }
202
+ items { ${f} }
202
203
  pageInfo { cursor hasMore }
203
204
  }
204
205
  }`, {
205
206
  experimentId: t.experimentId,
206
207
  status: t.status,
207
208
  pagination: t.pagination
208
- }, r)).labListRuns
209
- });
210
- }, P = () => {
211
- let n = r(), { apiGatewayUrl: i } = e();
212
- return t({
213
- mutationFn: async (e) => (await o(`mutation LabStartRun($input: LabCreateRunInput!) {
214
- labStartRun(input: $input) { ${u} }
215
- }`, { input: e }, i)).labStartRun,
209
+ }, n)).labListRuns
210
+ });
211
+ }, F = () => {
212
+ let t = a(), { apiGatewayUrl: n } = e();
213
+ return r({
214
+ mutationFn: async (e) => (await c(`mutation LabStartRun($input: LabCreateRunInput!) {
215
+ labStartRun(input: $input) { ${f} }
216
+ }`, { input: e }, n)).labStartRun,
216
217
  onSuccess: (e) => {
217
- n.invalidateQueries({ queryKey: [s, "runs"] }), n.invalidateQueries({ queryKey: [
218
- s,
218
+ t.invalidateQueries({ queryKey: [l, "runs"] }), t.invalidateQueries({ queryKey: [
219
+ l,
219
220
  "experiment",
220
221
  e.experimentId
221
222
  ] });
222
223
  }
223
224
  });
224
- }, F = () => {
225
- let n = r(), { apiGatewayUrl: i } = e();
226
- return t({
227
- mutationFn: async (e) => (await o(`mutation LabPlanRun($input: LabCreateRunInput!) {
228
- labPlanRun(input: $input) { ${u} }
229
- }`, { input: e }, i)).labPlanRun,
225
+ }, I = () => {
226
+ let t = a(), { apiGatewayUrl: n } = e();
227
+ return r({
228
+ mutationFn: async (e) => (await c(`mutation LabPlanRun($input: LabCreateRunInput!) {
229
+ labPlanRun(input: $input) { ${f} }
230
+ }`, { input: e }, n)).labPlanRun,
230
231
  onSuccess: (e) => {
231
- n.invalidateQueries({ queryKey: [s, "runs"] }), n.invalidateQueries({ queryKey: [
232
- s,
232
+ t.invalidateQueries({ queryKey: [l, "runs"] }), t.invalidateQueries({ queryKey: [
233
+ l,
233
234
  "experiment",
234
235
  e.experimentId
235
236
  ] });
236
237
  }
237
238
  });
238
- }, I = () => {
239
- let n = r(), { apiGatewayUrl: i } = e();
240
- return t({
241
- mutationFn: async ({ id: e, status: t, notes: n, observations: r }) => {
242
- let a = !!n, s = r != null, c = a || s ? {
243
- ...a ? { notes: n } : {},
244
- ...s ? { observations: r } : {}
239
+ }, L = () => {
240
+ let t = a(), { apiGatewayUrl: n } = e();
241
+ return r({
242
+ mutationFn: async ({ id: e, status: t, notes: r, observations: i }) => {
243
+ let a = !!r, o = i != null, s = a || o ? {
244
+ ...a ? { notes: r } : {},
245
+ ...o ? { observations: i } : {}
245
246
  } : void 0;
246
- return (await o(`mutation LabCompleteRun($id: ID!, $status: LabRunStatus!, $input: LabRecordRunResultsInput) {
247
- labCompleteRun(id: $id, status: $status, input: $input) { ${u} }
247
+ return (await c(`mutation LabCompleteRun($id: ID!, $status: LabRunStatus!, $input: LabRecordRunResultsInput) {
248
+ labCompleteRun(id: $id, status: $status, input: $input) { ${f} }
248
249
  }`, {
249
250
  id: e,
250
251
  status: t,
251
- input: c
252
- }, i)).labCompleteRun;
252
+ input: s
253
+ }, n)).labCompleteRun;
253
254
  },
254
255
  onSuccess: (e) => {
255
- n.invalidateQueries({ queryKey: [s, "runs"] }), n.invalidateQueries({ queryKey: [
256
- s,
256
+ t.invalidateQueries({ queryKey: [l, "runs"] }), t.invalidateQueries({ queryKey: [
257
+ l,
257
258
  "experiment",
258
259
  e.experimentId
259
260
  ] });
260
261
  }
261
262
  });
262
- }, L = (t = {}) => {
263
- let { apiGatewayUrl: r } = e();
264
- return n({
263
+ }, R = (t = {}) => {
264
+ let { apiGatewayUrl: n } = e();
265
+ return i({
265
266
  queryKey: [
266
- s,
267
+ l,
267
268
  "notebook",
268
269
  t.projectId ?? null,
269
270
  t.experimentId ?? null,
@@ -271,9 +272,9 @@ var a = class extends Error {
271
272
  t.search ?? null,
272
273
  t.pagination ?? null
273
274
  ],
274
- queryFn: async () => (await o(`query LabNotebookEntries($projectId: ID, $experimentId: ID, $status: LabNotebookEntryStatus, $search: String, $pagination: PaginationInput) {
275
+ queryFn: async () => (await c(`query LabNotebookEntries($projectId: ID, $experimentId: ID, $status: LabNotebookEntryStatus, $search: String, $pagination: PaginationInput) {
275
276
  labListNotebookEntries(projectId: $projectId, experimentId: $experimentId, status: $status, search: $search, pagination: $pagination) {
276
- items { ${d} }
277
+ items { ${p} }
277
278
  pageInfo { cursor hasMore }
278
279
  }
279
280
  }`, {
@@ -282,168 +283,168 @@ var a = class extends Error {
282
283
  status: t.status,
283
284
  search: t.search || void 0,
284
285
  pagination: t.pagination
285
- }, r)).labListNotebookEntries
286
+ }, n)).labListNotebookEntries
286
287
  });
287
- }, R = (t) => {
288
- let { apiGatewayUrl: r } = e();
289
- return n({
288
+ }, z = (t) => {
289
+ let { apiGatewayUrl: n } = e();
290
+ return i({
290
291
  queryKey: [
291
- s,
292
+ l,
292
293
  "notebook-entry",
293
294
  t
294
295
  ],
295
- queryFn: async () => (await o(`query LabNotebookEntry($id: ID!) {
296
+ queryFn: async () => (await c(`query LabNotebookEntry($id: ID!) {
296
297
  labNotebookEntry(id: $id) {
297
- ${d}
298
+ ${p}
298
299
  files { id }
299
300
  }
300
- }`, { id: t }, r)).labNotebookEntry,
301
+ }`, { id: t }, n)).labNotebookEntry,
301
302
  enabled: !!t
302
303
  });
303
- }, z = () => {
304
- let n = r(), { apiGatewayUrl: i } = e();
305
- return t({
306
- mutationFn: async (e) => (await o(`mutation LabCreateNotebookEntry($input: LabCreateNotebookEntryInput!) {
307
- labCreateNotebookEntry(input: $input) { ${d} }
308
- }`, { input: e }, i)).labCreateNotebookEntry,
304
+ }, B = () => {
305
+ let t = a(), { apiGatewayUrl: n } = e();
306
+ return r({
307
+ mutationFn: async (e) => (await c(`mutation LabCreateNotebookEntry($input: LabCreateNotebookEntryInput!) {
308
+ labCreateNotebookEntry(input: $input) { ${p} }
309
+ }`, { input: e }, n)).labCreateNotebookEntry,
309
310
  onSuccess: () => {
310
- n.invalidateQueries({ queryKey: [s, "notebook"] });
311
+ t.invalidateQueries({ queryKey: [l, "notebook"] });
311
312
  }
312
313
  });
313
- }, B = () => {
314
- let n = r(), { apiGatewayUrl: i } = e();
315
- return t({
316
- mutationFn: async (e) => (await o(`mutation LabSignNotebookEntry($id: ID!) {
317
- labSignNotebookEntry(id: $id) { ${d} }
318
- }`, { id: e }, i)).labSignNotebookEntry,
314
+ }, V = () => {
315
+ let t = a(), { apiGatewayUrl: n } = e();
316
+ return r({
317
+ mutationFn: async (e) => (await c(`mutation LabSignNotebookEntry($id: ID!) {
318
+ labSignNotebookEntry(id: $id) { ${p} }
319
+ }`, { id: e }, n)).labSignNotebookEntry,
319
320
  onSuccess: (e) => {
320
- n.invalidateQueries({ queryKey: [s, "notebook"] }), n.invalidateQueries({ queryKey: [
321
- s,
321
+ t.invalidateQueries({ queryKey: [l, "notebook"] }), t.invalidateQueries({ queryKey: [
322
+ l,
322
323
  "notebook-entry",
323
324
  e.id
324
325
  ] });
325
326
  }
326
327
  });
327
- }, V = () => {
328
- let n = r(), { apiGatewayUrl: i } = e();
329
- return t({
330
- mutationFn: async (e) => (await o(`mutation LabWitnessNotebookEntry($id: ID!) {
331
- labWitnessNotebookEntry(id: $id) { ${d} }
332
- }`, { id: e }, i)).labWitnessNotebookEntry,
328
+ }, H = () => {
329
+ let t = a(), { apiGatewayUrl: n } = e();
330
+ return r({
331
+ mutationFn: async (e) => (await c(`mutation LabWitnessNotebookEntry($id: ID!) {
332
+ labWitnessNotebookEntry(id: $id) { ${p} }
333
+ }`, { id: e }, n)).labWitnessNotebookEntry,
333
334
  onSuccess: (e) => {
334
- n.invalidateQueries({ queryKey: [s, "notebook"] }), n.invalidateQueries({ queryKey: [
335
- s,
335
+ t.invalidateQueries({ queryKey: [l, "notebook"] }), t.invalidateQueries({ queryKey: [
336
+ l,
336
337
  "notebook-entry",
337
338
  e.id
338
339
  ] });
339
340
  }
340
341
  });
341
- }, H = (t = {}) => {
342
- let { apiGatewayUrl: r } = e();
343
- return n({
342
+ }, U = (t = {}) => {
343
+ let { apiGatewayUrl: n } = e();
344
+ return i({
344
345
  queryKey: [
345
- s,
346
+ l,
346
347
  "protocols",
347
348
  t.status ?? null,
348
349
  t.search ?? null,
349
350
  t.pagination ?? null
350
351
  ],
351
- queryFn: async () => (await o(`query LabProtocols($status: LabProtocolStatus, $search: String, $pagination: PaginationInput) {
352
+ queryFn: async () => (await c(`query LabProtocols($status: LabProtocolStatus, $search: String, $pagination: PaginationInput) {
352
353
  labListProtocols(status: $status, search: $search, pagination: $pagination) {
353
- items { ${f} }
354
+ items { ${m} }
354
355
  pageInfo { cursor hasMore }
355
356
  }
356
357
  }`, {
357
358
  status: t.status,
358
359
  search: t.search || void 0,
359
360
  pagination: t.pagination
360
- }, r)).labListProtocols
361
+ }, n)).labListProtocols
361
362
  });
362
- }, U = (t) => {
363
- let { apiGatewayUrl: r } = e();
364
- return n({
363
+ }, W = (t) => {
364
+ let { apiGatewayUrl: n } = e();
365
+ return i({
365
366
  queryKey: [
366
- s,
367
+ l,
367
368
  "protocol",
368
369
  t
369
370
  ],
370
- queryFn: async () => (await o(`query LabProtocol($id: ID!) {
371
+ queryFn: async () => (await c(`query LabProtocol($id: ID!) {
371
372
  labProtocol(id: $id) {
372
- ${f}
373
- steps { ${p} }
373
+ ${m}
374
+ steps { ${h} }
374
375
  }
375
- }`, { id: t }, r)).labProtocol,
376
+ }`, { id: t }, n)).labProtocol,
376
377
  enabled: !!t
377
378
  });
378
- }, W = () => {
379
- let n = r(), { apiGatewayUrl: i } = e();
380
- return t({
381
- mutationFn: async (e) => (await o(`mutation LabCreateProtocol($input: LabCreateProtocolInput!) {
382
- labCreateProtocol(input: $input) { ${f} }
383
- }`, { input: e }, i)).labCreateProtocol,
379
+ }, G = () => {
380
+ let t = a(), { apiGatewayUrl: n } = e();
381
+ return r({
382
+ mutationFn: async (e) => (await c(`mutation LabCreateProtocol($input: LabCreateProtocolInput!) {
383
+ labCreateProtocol(input: $input) { ${m} }
384
+ }`, { input: e }, n)).labCreateProtocol,
384
385
  onSuccess: () => {
385
- n.invalidateQueries({ queryKey: [s, "protocols"] });
386
+ t.invalidateQueries({ queryKey: [l, "protocols"] });
386
387
  }
387
388
  });
388
- }, G = () => {
389
- let n = r(), { apiGatewayUrl: i } = e();
390
- return t({
391
- mutationFn: async ({ id: e, input: t }) => (await o(`mutation LabUpdateProtocol($id: ID!, $input: LabUpdateProtocolInput!) {
392
- labUpdateProtocol(id: $id, input: $input) { ${f} }
389
+ }, K = () => {
390
+ let t = a(), { apiGatewayUrl: n } = e();
391
+ return r({
392
+ mutationFn: async ({ id: e, input: t }) => (await c(`mutation LabUpdateProtocol($id: ID!, $input: LabUpdateProtocolInput!) {
393
+ labUpdateProtocol(id: $id, input: $input) { ${m} }
393
394
  }`, {
394
395
  id: e,
395
396
  input: t
396
- }, i)).labUpdateProtocol,
397
+ }, n)).labUpdateProtocol,
397
398
  onSuccess: (e) => {
398
- n.invalidateQueries({ queryKey: [s, "protocols"] }), n.invalidateQueries({ queryKey: [
399
- s,
399
+ t.invalidateQueries({ queryKey: [l, "protocols"] }), t.invalidateQueries({ queryKey: [
400
+ l,
400
401
  "protocol",
401
402
  e.id
402
403
  ] });
403
404
  }
404
405
  });
405
- }, K = () => {
406
- let n = r(), { apiGatewayUrl: i } = e();
407
- return t({
408
- mutationFn: async (e) => (await o(`mutation LabPublishProtocol($id: ID!) {
409
- labPublishProtocol(id: $id) { ${f} }
410
- }`, { id: e }, i)).labPublishProtocol,
406
+ }, q = () => {
407
+ let t = a(), { apiGatewayUrl: n } = e();
408
+ return r({
409
+ mutationFn: async (e) => (await c(`mutation LabPublishProtocol($id: ID!) {
410
+ labPublishProtocol(id: $id) { ${m} }
411
+ }`, { id: e }, n)).labPublishProtocol,
411
412
  onSuccess: (e) => {
412
- n.invalidateQueries({ queryKey: [s, "protocols"] }), n.invalidateQueries({ queryKey: [
413
- s,
413
+ t.invalidateQueries({ queryKey: [l, "protocols"] }), t.invalidateQueries({ queryKey: [
414
+ l,
414
415
  "protocol",
415
416
  e.id
416
417
  ] });
417
418
  }
418
419
  });
419
- }, q = () => {
420
- let n = r(), { apiGatewayUrl: i } = e();
421
- return t({
422
- mutationFn: async (e) => (await o(`mutation LabAddProtocolStep($input: LabAddProtocolStepInput!) {
423
- labAddProtocolStep(input: $input) { ${p} }
424
- }`, { input: e }, i)).labAddProtocolStep,
420
+ }, J = () => {
421
+ let t = a(), { apiGatewayUrl: n } = e();
422
+ return r({
423
+ mutationFn: async (e) => (await c(`mutation LabAddProtocolStep($input: LabAddProtocolStepInput!) {
424
+ labAddProtocolStep(input: $input) { ${h} }
425
+ }`, { input: e }, n)).labAddProtocolStep,
425
426
  onSuccess: (e) => {
426
- n.invalidateQueries({ queryKey: [s, "protocols"] }), n.invalidateQueries({ queryKey: [
427
- s,
427
+ t.invalidateQueries({ queryKey: [l, "protocols"] }), t.invalidateQueries({ queryKey: [
428
+ l,
428
429
  "protocol",
429
430
  e.protocolId
430
431
  ] });
431
432
  }
432
433
  });
433
- }, J = (t = {}) => {
434
- let { apiGatewayUrl: r } = e();
435
- return n({
434
+ }, Y = (t = {}) => {
435
+ let { apiGatewayUrl: n } = e();
436
+ return i({
436
437
  queryKey: [
437
- s,
438
+ l,
438
439
  "datasets",
439
440
  t.kind ?? null,
440
441
  t.status ?? null,
441
442
  t.search ?? null,
442
443
  t.pagination ?? null
443
444
  ],
444
- queryFn: async () => (await o(`query LabDatasets($kind: LabDatasetKind, $status: LabDatasetStatus, $search: String, $pagination: PaginationInput) {
445
+ queryFn: async () => (await c(`query LabDatasets($kind: LabDatasetKind, $status: LabDatasetStatus, $search: String, $pagination: PaginationInput) {
445
446
  labListDatasets(kind: $kind, status: $status, search: $search, pagination: $pagination) {
446
- items { ${m} }
447
+ items { ${g} }
447
448
  pageInfo { cursor hasMore }
448
449
  }
449
450
  }`, {
@@ -451,96 +452,96 @@ var a = class extends Error {
451
452
  status: t.status,
452
453
  search: t.search || void 0,
453
454
  pagination: t.pagination
454
- }, r)).labListDatasets
455
+ }, n)).labListDatasets
455
456
  });
456
- }, Y = (t) => {
457
- let { apiGatewayUrl: r } = e();
458
- return n({
457
+ }, X = (t) => {
458
+ let { apiGatewayUrl: n } = e();
459
+ return i({
459
460
  queryKey: [
460
- s,
461
+ l,
461
462
  "dataset",
462
463
  t
463
464
  ],
464
- queryFn: async () => (await o(`query LabDataset($id: ID!) {
465
+ queryFn: async () => (await c(`query LabDataset($id: ID!) {
465
466
  labDataset(id: $id) {
466
- ${m}
467
- versions { ${h} }
467
+ ${g}
468
+ versions { ${_} }
468
469
  }
469
- }`, { id: t }, r)).labDataset,
470
+ }`, { id: t }, n)).labDataset,
470
471
  enabled: !!t
471
472
  });
472
- }, X = () => {
473
- let n = r(), { apiGatewayUrl: i } = e();
474
- return t({
475
- mutationFn: async (e) => (await o(`mutation LabCreateDataset($input: LabCreateDatasetInput!) {
476
- labCreateDataset(input: $input) { ${m} }
477
- }`, { input: e }, i)).labCreateDataset,
473
+ }, Z = () => {
474
+ let t = a(), { apiGatewayUrl: n } = e();
475
+ return r({
476
+ mutationFn: async (e) => (await c(`mutation LabCreateDataset($input: LabCreateDatasetInput!) {
477
+ labCreateDataset(input: $input) { ${g} }
478
+ }`, { input: e }, n)).labCreateDataset,
478
479
  onSuccess: () => {
479
- n.invalidateQueries({ queryKey: [s, "datasets"] });
480
+ t.invalidateQueries({ queryKey: [l, "datasets"] });
480
481
  }
481
482
  });
482
- }, te = () => {
483
- let n = r(), { apiGatewayUrl: i } = e();
484
- return t({
485
- mutationFn: async (e) => (await o("mutation LabArchiveDataset($id: ID!) { labArchiveDataset(id: $id) }", { id: e }, i)).labArchiveDataset,
483
+ }, Q = () => {
484
+ let t = a(), { apiGatewayUrl: n } = e();
485
+ return r({
486
+ mutationFn: async (e) => (await c("mutation LabArchiveDataset($id: ID!) { labArchiveDataset(id: $id) }", { id: e }, n)).labArchiveDataset,
486
487
  onSuccess: () => {
487
- n.invalidateQueries({ queryKey: [s, "datasets"] });
488
+ t.invalidateQueries({ queryKey: [l, "datasets"] });
488
489
  }
489
490
  });
490
- }, Z = () => {
491
- let n = r(), { apiGatewayUrl: i } = e();
492
- return t({
493
- mutationFn: async (e) => (await o(`mutation LabAddDatasetVersion($input: LabAddDatasetVersionInput!) {
494
- labAddDatasetVersion(input: $input) { ${h} }
495
- }`, { input: e }, i)).labAddDatasetVersion,
491
+ }, ne = () => {
492
+ let t = a(), { apiGatewayUrl: n } = e();
493
+ return r({
494
+ mutationFn: async (e) => (await c(`mutation LabAddDatasetVersion($input: LabAddDatasetVersionInput!) {
495
+ labAddDatasetVersion(input: $input) { ${_} }
496
+ }`, { input: e }, n)).labAddDatasetVersion,
496
497
  onSuccess: (e) => {
497
- n.invalidateQueries({ queryKey: [s, "datasets"] }), n.invalidateQueries({ queryKey: [
498
- s,
498
+ t.invalidateQueries({ queryKey: [l, "datasets"] }), t.invalidateQueries({ queryKey: [
499
+ l,
499
500
  "dataset",
500
501
  e.datasetId
501
502
  ] });
502
503
  }
503
504
  });
504
- }, Q = (t = {}) => {
505
- let { apiGatewayUrl: r } = e();
506
- return n({
505
+ }, re = (t = {}) => {
506
+ let { apiGatewayUrl: n } = e();
507
+ return i({
507
508
  queryKey: [
508
- s,
509
+ l,
509
510
  "pipelines",
510
511
  t.pagination ?? null
511
512
  ],
512
- queryFn: async () => (await o(`query LabPipelines($pagination: PaginationInput) {
513
+ queryFn: async () => (await c(`query LabPipelines($pagination: PaginationInput) {
513
514
  labListPipelines(pagination: $pagination) {
514
- items { ${g} }
515
+ items { ${v} }
515
516
  pageInfo { cursor hasMore }
516
517
  }
517
- }`, { pagination: t.pagination }, r)).labListPipelines
518
+ }`, { pagination: t.pagination }, n)).labListPipelines
518
519
  });
519
- }, ne = () => {
520
- let n = r(), { apiGatewayUrl: i } = e();
521
- return t({
522
- mutationFn: async (e) => (await o(`mutation LabCreatePipeline($input: LabCreatePipelineInput!) {
523
- labCreatePipeline(input: $input) { ${g} }
524
- }`, { input: e }, i)).labCreatePipeline,
520
+ }, ie = () => {
521
+ let t = a(), { apiGatewayUrl: n } = e();
522
+ return r({
523
+ mutationFn: async (e) => (await c(`mutation LabCreatePipeline($input: LabCreatePipelineInput!) {
524
+ labCreatePipeline(input: $input) { ${v} }
525
+ }`, { input: e }, n)).labCreatePipeline,
525
526
  onSuccess: () => {
526
- n.invalidateQueries({ queryKey: [s, "pipelines"] });
527
+ t.invalidateQueries({ queryKey: [l, "pipelines"] });
527
528
  }
528
529
  });
529
- }, re = (t = {}) => {
530
- let { apiGatewayUrl: r } = e();
531
- return n({
530
+ }, ae = (t = {}) => {
531
+ let { apiGatewayUrl: n } = e();
532
+ return i({
532
533
  queryKey: [
533
- s,
534
+ l,
534
535
  "pipeline-runs",
535
536
  t.pipelineId ?? null,
536
537
  t.status ?? null,
537
538
  t.pagination ?? null
538
539
  ],
539
- queryFn: async () => (await o(`query LabPipelineRuns($pipelineId: ID, $status: LabPipelineRunStatus, $pagination: PaginationInput) {
540
+ queryFn: async () => (await c(`query LabPipelineRuns($pipelineId: ID, $status: LabPipelineRunStatus, $pagination: PaginationInput) {
540
541
  labListPipelineRuns(pipelineId: $pipelineId, status: $status, pagination: $pagination) {
541
542
  items {
542
- ${_}
543
- pipeline { ${g} }
543
+ ${y}
544
+ pipeline { ${v} }
544
545
  }
545
546
  pageInfo { cursor hasMore }
546
547
  }
@@ -548,46 +549,46 @@ var a = class extends Error {
548
549
  pipelineId: t.pipelineId,
549
550
  status: t.status,
550
551
  pagination: t.pagination
551
- }, r)).labListPipelineRuns
552
- });
553
- }, ie = () => {
554
- let n = r(), { apiGatewayUrl: i } = e();
555
- return t({
556
- mutationFn: async (e) => (await o(`mutation LabRunPipeline($input: LabRunPipelineInput!) {
557
- labRunPipeline(input: $input) { ${_} }
558
- }`, { input: e }, i)).labRunPipeline,
552
+ }, n)).labListPipelineRuns
553
+ });
554
+ }, oe = () => {
555
+ let t = a(), { apiGatewayUrl: n } = e();
556
+ return r({
557
+ mutationFn: async (e) => (await c(`mutation LabRunPipeline($input: LabRunPipelineInput!) {
558
+ labRunPipeline(input: $input) { ${y} }
559
+ }`, { input: e }, n)).labRunPipeline,
559
560
  onSuccess: () => {
560
- n.invalidateQueries({ queryKey: [s, "pipeline-runs"] });
561
+ t.invalidateQueries({ queryKey: [l, "pipeline-runs"] });
561
562
  }
562
563
  });
563
- }, ae = () => {
564
- let n = r(), { apiGatewayUrl: i } = e();
565
- return t({
566
- mutationFn: async ({ id: e, status: t, log: n }) => (await o(`mutation LabTransitionPipelineRun($id: ID!, $status: LabPipelineRunStatus!, $log: String) {
567
- labTransitionPipelineRun(id: $id, status: $status, log: $log) { ${_} }
564
+ }, se = () => {
565
+ let t = a(), { apiGatewayUrl: n } = e();
566
+ return r({
567
+ mutationFn: async ({ id: e, status: t, log: r }) => (await c(`mutation LabTransitionPipelineRun($id: ID!, $status: LabPipelineRunStatus!, $log: String) {
568
+ labTransitionPipelineRun(id: $id, status: $status, log: $log) { ${y} }
568
569
  }`, {
569
570
  id: e,
570
571
  status: t,
571
- log: n
572
- }, i)).labTransitionPipelineRun,
572
+ log: r
573
+ }, n)).labTransitionPipelineRun,
573
574
  onSuccess: () => {
574
- n.invalidateQueries({ queryKey: [s, "pipeline-runs"] });
575
+ t.invalidateQueries({ queryKey: [l, "pipeline-runs"] });
575
576
  }
576
577
  });
577
- }, oe = (t = {}) => {
578
- let { apiGatewayUrl: r } = e();
579
- return n({
578
+ }, ce = (t = {}) => {
579
+ let { apiGatewayUrl: n } = e();
580
+ return i({
580
581
  queryKey: [
581
- s,
582
+ l,
582
583
  "inventory",
583
584
  t.category ?? null,
584
585
  t.status ?? null,
585
586
  t.search ?? null,
586
587
  t.pagination ?? null
587
588
  ],
588
- queryFn: async () => (await o(`query LabInventory($category: LabInventoryCategory, $status: LabInventoryStatus, $search: String, $pagination: PaginationInput) {
589
+ queryFn: async () => (await c(`query LabInventory($category: LabInventoryCategory, $status: LabInventoryStatus, $search: String, $pagination: PaginationInput) {
589
590
  labListInventoryItems(category: $category, status: $status, search: $search, pagination: $pagination) {
590
- items { ${v} }
591
+ items { ${b} }
591
592
  pageInfo { cursor hasMore }
592
593
  }
593
594
  }`, {
@@ -595,322 +596,359 @@ var a = class extends Error {
595
596
  status: t.status,
596
597
  search: t.search || void 0,
597
598
  pagination: t.pagination
598
- }, r)).labListInventoryItems,
599
+ }, n)).labListInventoryItems,
599
600
  enabled: t.enabled !== !1
600
601
  });
601
- }, se = (t) => {
602
- let { apiGatewayUrl: r } = e();
603
- return n({
602
+ }, le = (t) => {
603
+ let { apiGatewayUrl: n } = e();
604
+ return i({
604
605
  queryKey: [
605
- s,
606
+ l,
606
607
  "inventory-item",
607
608
  t
608
609
  ],
609
- queryFn: async () => (await o(`query LabInventoryItem($id: ID!) {
610
- labInventoryItem(id: $id) { ${v} }
611
- }`, { id: t }, r)).labInventoryItem,
610
+ queryFn: async () => (await c(`query LabInventoryItem($id: ID!) {
611
+ labInventoryItem(id: $id) { ${b} }
612
+ }`, { id: t }, n)).labInventoryItem,
612
613
  enabled: !!t
613
614
  });
614
- }, ce = () => {
615
- let n = r(), { apiGatewayUrl: i } = e();
616
- return t({
617
- mutationFn: async (e) => (await o(`mutation LabCreateInventoryItem($input: LabCreateInventoryItemInput!) {
618
- labCreateInventoryItem(input: $input) { ${v} }
619
- }`, { input: e }, i)).labCreateInventoryItem,
615
+ }, ue = () => {
616
+ let t = a(), { apiGatewayUrl: n } = e();
617
+ return r({
618
+ mutationFn: async (e) => (await c(`mutation LabCreateInventoryItem($input: LabCreateInventoryItemInput!) {
619
+ labCreateInventoryItem(input: $input) { ${b} }
620
+ }`, { input: e }, n)).labCreateInventoryItem,
620
621
  onSuccess: () => {
621
- n.invalidateQueries({ queryKey: [s, "inventory"] });
622
+ t.invalidateQueries({ queryKey: [l, "inventory"] });
622
623
  }
623
624
  });
624
- }, le = () => {
625
- let n = r(), { apiGatewayUrl: i } = e();
626
- return t({
627
- mutationFn: async ({ id: e, input: t }) => (await o(`mutation LabAdjustInventory($id: ID!, $input: LabAdjustInventoryInput!) {
628
- labAdjustInventory(id: $id, input: $input) { ${v} }
625
+ }, de = () => {
626
+ let t = a(), { apiGatewayUrl: n } = e();
627
+ return r({
628
+ mutationFn: async ({ id: e, input: t }) => (await c(`mutation LabAdjustInventory($id: ID!, $input: LabAdjustInventoryInput!) {
629
+ labAdjustInventory(id: $id, input: $input) { ${b} }
629
630
  }`, {
630
631
  id: e,
631
632
  input: t
632
- }, i)).labAdjustInventory,
633
+ }, n)).labAdjustInventory,
633
634
  onSuccess: (e) => {
634
- n.invalidateQueries({ queryKey: [s, "inventory"] }), n.invalidateQueries({ queryKey: [
635
- s,
635
+ t.invalidateQueries({ queryKey: [l, "inventory"] }), t.invalidateQueries({ queryKey: [
636
+ l,
636
637
  "inventory-item",
637
638
  e.id
638
639
  ] });
639
640
  }
640
641
  });
641
- }, ue = () => {
642
- let n = r(), { apiGatewayUrl: i } = e();
643
- return t({
644
- mutationFn: async (e) => (await o("mutation LabArchiveInventoryItem($id: ID!) { labArchiveInventoryItem(id: $id) }", { id: e }, i)).labArchiveInventoryItem,
642
+ }, fe = () => {
643
+ let t = a(), { apiGatewayUrl: n } = e();
644
+ return r({
645
+ mutationFn: async (e) => (await c("mutation LabArchiveInventoryItem($id: ID!) { labArchiveInventoryItem(id: $id) }", { id: e }, n)).labArchiveInventoryItem,
645
646
  onSuccess: () => {
646
- n.invalidateQueries({ queryKey: [s, "inventory"] });
647
+ t.invalidateQueries({ queryKey: [l, "inventory"] });
647
648
  }
648
649
  });
649
- }, de = (t = {}) => {
650
- let { apiGatewayUrl: r } = e();
651
- return n({
650
+ }, pe = (t = {}) => {
651
+ let { apiGatewayUrl: n } = e();
652
+ return i({
652
653
  queryKey: [
653
- s,
654
+ l,
654
655
  "instruments",
655
656
  t.status ?? null,
656
657
  t.search ?? null,
657
658
  t.pagination ?? null
658
659
  ],
659
- queryFn: async () => (await o(`query LabInstruments($status: LabInstrumentStatus, $search: String, $pagination: PaginationInput) {
660
+ queryFn: async () => (await c(`query LabInstruments($status: LabInstrumentStatus, $search: String, $pagination: PaginationInput) {
660
661
  labListInstruments(status: $status, search: $search, pagination: $pagination) {
661
- items { ${y} }
662
+ items { ${x} }
662
663
  pageInfo { cursor hasMore }
663
664
  }
664
665
  }`, {
665
666
  status: t.status,
666
667
  search: t.search || void 0,
667
668
  pagination: t.pagination
668
- }, r)).labListInstruments
669
+ }, n)).labListInstruments
669
670
  });
670
- }, fe = (t) => {
671
- let { apiGatewayUrl: r } = e();
672
- return n({
671
+ }, me = (t) => {
672
+ let { apiGatewayUrl: n } = e();
673
+ return i({
673
674
  queryKey: [
674
- s,
675
+ l,
675
676
  "instrument",
676
677
  t
677
678
  ],
678
- queryFn: async () => (await o(`query LabInstrument($id: ID!) {
679
+ queryFn: async () => (await c(`query LabInstrument($id: ID!) {
679
680
  labInstrument(id: $id) {
680
- ${y}
681
- bookings { ${b} }
681
+ ${x}
682
+ bookings { ${S} }
682
683
  }
683
- }`, { id: t }, r)).labInstrument,
684
+ }`, { id: t }, n)).labInstrument,
684
685
  enabled: !!t
685
686
  });
686
- }, pe = () => {
687
- let n = r(), { apiGatewayUrl: i } = e();
688
- return t({
689
- mutationFn: async (e) => (await o(`mutation LabCreateInstrument($input: LabCreateInstrumentInput!) {
690
- labCreateInstrument(input: $input) { ${y} }
691
- }`, { input: e }, i)).labCreateInstrument,
687
+ }, he = () => {
688
+ let t = a(), { apiGatewayUrl: n } = e();
689
+ return r({
690
+ mutationFn: async (e) => (await c(`mutation LabCreateInstrument($input: LabCreateInstrumentInput!) {
691
+ labCreateInstrument(input: $input) { ${x} }
692
+ }`, { input: e }, n)).labCreateInstrument,
692
693
  onSuccess: () => {
693
- n.invalidateQueries({ queryKey: [s, "instruments"] });
694
+ t.invalidateQueries({ queryKey: [l, "instruments"] });
694
695
  }
695
696
  });
696
- }, me = () => {
697
- let n = r(), { apiGatewayUrl: i } = e();
698
- return t({
699
- mutationFn: async (e) => (await o(`mutation LabBookInstrument($input: LabBookInstrumentInput!) {
700
- labBookInstrument(input: $input) { ${b} }
701
- }`, { input: e }, i)).labBookInstrument,
697
+ }, ge = () => {
698
+ let t = a(), { apiGatewayUrl: n } = e();
699
+ return r({
700
+ mutationFn: async (e) => (await c(`mutation LabBookInstrument($input: LabBookInstrumentInput!) {
701
+ labBookInstrument(input: $input) { ${S} }
702
+ }`, { input: e }, n)).labBookInstrument,
702
703
  onSuccess: (e) => {
703
- n.invalidateQueries({ queryKey: [s, "instruments"] }), n.invalidateQueries({ queryKey: [
704
- s,
704
+ t.invalidateQueries({ queryKey: [l, "instruments"] }), t.invalidateQueries({ queryKey: [
705
+ l,
705
706
  "instrument",
706
707
  e.instrumentId
707
708
  ] });
708
709
  }
709
710
  });
710
- }, he = () => {
711
- let n = r(), { apiGatewayUrl: i } = e();
712
- return t({
713
- mutationFn: async (e) => (await o("mutation LabCancelBooking($id: ID!) {\n labCancelBooking(id: $id) { id status instrumentId }\n }", { id: e }, i)).labCancelBooking,
711
+ }, _e = () => {
712
+ let t = a(), { apiGatewayUrl: n } = e();
713
+ return r({
714
+ mutationFn: async (e) => (await c("mutation LabCancelBooking($id: ID!) {\n labCancelBooking(id: $id) { id status instrumentId }\n }", { id: e }, n)).labCancelBooking,
714
715
  onSuccess: (e) => {
715
- n.invalidateQueries({ queryKey: [s, "instruments"] }), n.invalidateQueries({ queryKey: [
716
- s,
716
+ t.invalidateQueries({ queryKey: [l, "instruments"] }), t.invalidateQueries({ queryKey: [
717
+ l,
717
718
  "instrument",
718
719
  e.instrumentId
719
720
  ] });
720
721
  }
721
722
  });
722
- }, ge = () => {
723
+ }, ve = () => {
723
724
  let { apiGatewayUrl: t } = e();
724
- return n({
725
- queryKey: [s, "ai-model-catalog"],
726
- queryFn: async () => (await o("query LabAiModelCatalog {\n labAiModelCatalog { provider model label isDefault capabilities }\n }", {}, t)).labAiModelCatalog,
725
+ return i({
726
+ queryKey: [l, "ai-model-catalog"],
727
+ queryFn: async () => (await c("query LabAiModelCatalog {\n labAiModelCatalog { provider model label isDefault capabilities }\n }", {}, t)).labAiModelCatalog,
727
728
  staleTime: 1800 * 1e3
728
729
  });
729
- }, _e = () => {
730
+ }, ye = () => {
730
731
  let { apiGatewayUrl: t } = e();
731
- return n({
732
- queryKey: [s, "ai-config"],
733
- queryFn: async () => (await o(`query LabWorkspaceAiConfig {
734
- labWorkspaceAiConfig { ${S} }
732
+ return i({
733
+ queryKey: [l, "ai-config"],
734
+ queryFn: async () => (await c(`query LabWorkspaceAiConfig {
735
+ labWorkspaceAiConfig { ${w} }
735
736
  }`, {}, t)).labWorkspaceAiConfig
736
737
  });
737
- }, ve = () => {
738
- let n = r(), { apiGatewayUrl: i } = e();
739
- return t({
740
- mutationFn: async ({ provider: e, model: t }) => (await o(`mutation LabSetWorkspaceAiModel($provider: String!, $model: String!) {
741
- labSetWorkspaceAiModel(provider: $provider, model: $model) { ${S} }
738
+ }, be = () => {
739
+ let t = a(), { apiGatewayUrl: n } = e();
740
+ return r({
741
+ mutationFn: async ({ provider: e, model: t }) => (await c(`mutation LabSetWorkspaceAiModel($provider: String!, $model: String!) {
742
+ labSetWorkspaceAiModel(provider: $provider, model: $model) { ${w} }
742
743
  }`, {
743
744
  provider: e,
744
745
  model: t
745
- }, i)).labSetWorkspaceAiModel,
746
+ }, n)).labSetWorkspaceAiModel,
746
747
  onSuccess: (e) => {
747
- n.setQueryData([s, "ai-config"], e), n.invalidateQueries({ queryKey: [s, "ai-config"] });
748
+ t.setQueryData([l, "ai-config"], e), t.invalidateQueries({ queryKey: [l, "ai-config"] });
748
749
  }
749
750
  });
750
- }, ye = () => {
751
- let n = r(), { apiGatewayUrl: i } = e();
752
- return t({
753
- mutationFn: async (e) => (await o(`mutation LabSetWorkspaceAutoPilot($enabled: Boolean!) {
754
- labSetWorkspaceAutoPilot(enabled: $enabled) { ${S} }
755
- }`, { enabled: e }, i)).labSetWorkspaceAutoPilot,
751
+ }, xe = () => {
752
+ let t = a(), { apiGatewayUrl: n } = e();
753
+ return r({
754
+ mutationFn: async (e) => (await c(`mutation LabSetWorkspaceAutoPilot($enabled: Boolean!) {
755
+ labSetWorkspaceAutoPilot(enabled: $enabled) { ${w} }
756
+ }`, { enabled: e }, n)).labSetWorkspaceAutoPilot,
756
757
  onSuccess: (e) => {
757
- n.setQueryData([s, "ai-config"], e), n.invalidateQueries({ queryKey: [s, "ai-config"] });
758
+ t.setQueryData([l, "ai-config"], e), t.invalidateQueries({ queryKey: [l, "ai-config"] });
758
759
  }
759
760
  });
760
- }, be = (t = {}) => {
761
- let { apiGatewayUrl: r } = e();
762
- return n({
761
+ }, Se = (t = {}) => {
762
+ let { apiGatewayUrl: n } = e();
763
+ return i({
763
764
  queryKey: [
764
- s,
765
+ l,
765
766
  "agent-runs",
766
767
  t.pagination ?? null
767
768
  ],
768
- queryFn: async () => (await o(`query LabAgentRuns($pagination: PaginationInput) {
769
+ queryFn: async () => (await c(`query LabAgentRuns($pagination: PaginationInput) {
769
770
  labAgentRuns(pagination: $pagination) {
770
- items { ${x} }
771
+ items { ${C} }
771
772
  pageInfo { cursor hasMore }
772
773
  }
773
- }`, { pagination: t.pagination }, r)).labAgentRuns
774
+ }`, { pagination: t.pagination }, n)).labAgentRuns
774
775
  });
775
- }, $ = (t) => {
776
- let { apiGatewayUrl: r } = e();
777
- return n({
776
+ }, Ce = (t) => {
777
+ let { apiGatewayUrl: n } = e();
778
+ return i({
778
779
  queryKey: [
779
- s,
780
+ l,
780
781
  "agent-run",
781
782
  t
782
783
  ],
783
- queryFn: async () => (await o(`query LabAgentRun($id: ID!) {
784
- labAgentRun(id: $id) { ${x} }
785
- }`, { id: t }, r)).labAgentRun,
784
+ queryFn: async () => (await c(`query LabAgentRun($id: ID!) {
785
+ labAgentRun(id: $id) { ${C} }
786
+ }`, { id: t }, n)).labAgentRun,
786
787
  enabled: !!t
787
788
  });
788
- }, xe = () => {
789
- let n = r(), { apiGatewayUrl: i } = e();
790
- return t({
791
- mutationFn: async (e) => (await o(`mutation LabSuggestProtocol($input: LabSuggestProtocolInput!) {
789
+ }, we = () => {
790
+ let t = a(), { apiGatewayUrl: n } = e();
791
+ return r({
792
+ mutationFn: async (e) => (await c(`mutation LabSuggestProtocol($input: LabSuggestProtocolInput!) {
792
793
  labSuggestProtocol(input: $input) {
793
- protocol { ${f} context }
794
+ protocol { ${m} context }
794
795
  agentRunId
795
796
  stepCount
796
797
  }
797
- }`, { input: e }, i)).labSuggestProtocol,
798
+ }`, { input: e }, n)).labSuggestProtocol,
798
799
  onSuccess: () => {
799
- n.invalidateQueries({ queryKey: [s, "agent-runs"] }), n.invalidateQueries({ queryKey: [s, "protocols"] });
800
+ t.invalidateQueries({ queryKey: [l, "agent-runs"] }), t.invalidateQueries({ queryKey: [l, "protocols"] });
800
801
  }
801
802
  });
802
- }, Se = () => {
803
- let n = r(), { apiGatewayUrl: i } = e();
804
- return t({
805
- 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 }", {
803
+ }, Te = () => {
804
+ let t = a(), { apiGatewayUrl: n } = e();
805
+ return r({
806
+ mutationFn: async ({ experimentId: e, requestedProvider: t }) => (await c("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 }", {
806
807
  experimentId: e,
807
808
  requestedProvider: t || void 0
808
- }, i)).labRecommendNextRun,
809
+ }, n)).labRecommendNextRun,
809
810
  onSuccess: (e) => {
810
- n.invalidateQueries({ queryKey: [s, "agent-runs"] }), n.invalidateQueries({ queryKey: [
811
- s,
811
+ t.invalidateQueries({ queryKey: [l, "agent-runs"] }), t.invalidateQueries({ queryKey: [
812
+ l,
812
813
  "experiment",
813
814
  e.experimentId
814
- ] }), n.invalidateQueries({ queryKey: [
815
- s,
815
+ ] }), t.invalidateQueries({ queryKey: [
816
+ l,
816
817
  "experiment-ai-context",
817
818
  e.experimentId
818
819
  ] });
819
820
  }
820
821
  });
821
- }, Ce = () => {
822
- let n = r(), { apiGatewayUrl: i } = e();
823
- return t({
824
- 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 }", {
822
+ }, Ee = () => {
823
+ let t = a(), { apiGatewayUrl: n } = e();
824
+ return r({
825
+ mutationFn: async ({ runId: e, experimentId: t, recommendation: r, note: i }) => (await c("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 }", {
825
826
  runId: e,
826
827
  experimentId: t,
827
- recommendation: n,
828
- note: r
829
- }, i)).labOverrideAgentRun,
828
+ recommendation: r,
829
+ note: i
830
+ }, n)).labOverrideAgentRun,
830
831
  onSuccess: (e) => {
831
- n.invalidateQueries({ queryKey: [s, "agent-runs"] }), n.invalidateQueries({ queryKey: [
832
- s,
832
+ t.invalidateQueries({ queryKey: [l, "agent-runs"] }), t.invalidateQueries({ queryKey: [
833
+ l,
833
834
  "experiment",
834
835
  e.experimentId
835
- ] }), n.invalidateQueries({ queryKey: [
836
- s,
836
+ ] }), t.invalidateQueries({ queryKey: [
837
+ l,
837
838
  "experiment-ai-context",
838
839
  e.experimentId
839
840
  ] });
840
841
  }
841
842
  });
842
- }, we = (t) => {
843
- let { apiGatewayUrl: r } = e();
844
- return n({
843
+ }, De = (t) => {
844
+ let { apiGatewayUrl: n } = e();
845
+ return i({
845
846
  queryKey: [
846
- s,
847
+ l,
847
848
  "experiment-ai-context",
848
849
  t
849
850
  ],
850
- queryFn: async () => (await o("query LabExperimentAiContext($id: ID!) {\n labExperiment(id: $id) { id title status projectId context }\n }", { id: t }, r)).labExperiment,
851
+ queryFn: async () => (await c("query LabExperimentAiContext($id: ID!) {\n labExperiment(id: $id) { id title status projectId context }\n }", { id: t }, n)).labExperiment,
851
852
  enabled: !!t
852
853
  });
853
- }, Te = "\n projects experiments runs datasets protocols notebookEntries\n pipelines pipelineRuns inventoryItems instruments\n", Ee = () => {
854
+ }, $ = "\n projects experiments runs datasets protocols notebookEntries\n pipelines pipelineRuns inventoryItems instruments\n", Oe = () => {
854
855
  let { apiGatewayUrl: t } = e();
855
- return n({
856
- queryKey: [s, "workspace-totals"],
857
- queryFn: async () => (await o(`query LabWorkspaceTotals {
858
- labWorkspaceTotals { ${Te} }
856
+ return i({
857
+ queryKey: [l, "workspace-totals"],
858
+ queryFn: async () => (await c(`query LabWorkspaceTotals {
859
+ labWorkspaceTotals { ${$} }
859
860
  }`, {}, t)).labWorkspaceTotals
860
861
  });
861
- }, De = "\n id action description actorId: userId timestamp resourceType resourceId\n", Oe = (t = 20) => {
862
- let { apiGatewayUrl: r, workspaceId: i } = e();
863
- return n({
862
+ }, ke = "\n id action description actorId: userId timestamp resourceType resourceId\n", Ae = (t = 20) => {
863
+ let { apiGatewayUrl: n, workspaceId: r } = e();
864
+ return i({
864
865
  queryKey: [
865
- s,
866
+ l,
866
867
  "recent-activity",
867
- i ?? null,
868
+ r ?? null,
868
869
  t
869
870
  ],
870
- queryFn: async () => i ? (await o(`query LabRecentActivity($filter: ActivityLogFilter) {
871
+ queryFn: async () => r ? (await c(`query LabRecentActivity($filter: ActivityLogFilter) {
871
872
  getActivities(filter: $filter) {
872
- ${De}
873
+ ${ke}
873
874
  }
874
875
  }`, { filter: {
875
- workspaceId: i,
876
+ workspaceId: r,
876
877
  productId: "labsofscience",
877
878
  limit: t
878
- } }, r)).getActivities : [],
879
- enabled: !!i
879
+ } }, n)).getActivities : [],
880
+ enabled: !!r
880
881
  });
881
- }, ke = "\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", Ae = (t = 12) => {
882
- let { apiGatewayUrl: r } = e();
883
- return n({
882
+ }, je = "\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", Me = (t = 12) => {
883
+ let { apiGatewayUrl: n } = e();
884
+ return i({
884
885
  queryKey: [
885
- s,
886
+ l,
886
887
  "analytics",
887
888
  t
888
889
  ],
889
- queryFn: async () => (await o(`query LabResearchAnalytics($weeks: Int) {
890
- labResearchAnalytics(weeks: $weeks) { ${ke} }
891
- }`, { weeks: t }, r)).labResearchAnalytics
890
+ queryFn: async () => (await c(`query LabResearchAnalytics($weeks: Int) {
891
+ labResearchAnalytics(weeks: $weeks) { ${je} }
892
+ }`, { weeks: t }, n)).labResearchAnalytics
892
893
  });
893
- }, je = (t, r, i = 5) => {
894
+ }, Ne = (t, n, r = 5) => {
894
895
  let { apiGatewayUrl: a } = e();
895
- return n({
896
+ return i({
896
897
  queryKey: [
897
- s,
898
+ l,
898
899
  "provenance",
899
900
  t,
900
- r ?? null,
901
- i
901
+ n ?? null,
902
+ r
902
903
  ],
903
- queryFn: async () => (await o(`query LabProvenance($rootEntityType: LabProvenanceEntityType!, $rootEntityId: ID!, $depth: Int) {
904
+ queryFn: async () => (await c(`query LabProvenance($rootEntityType: LabProvenanceEntityType!, $rootEntityId: ID!, $depth: Int) {
904
905
  labProvenance(rootEntityType: $rootEntityType, rootEntityId: $rootEntityId, depth: $depth) { ${ee} }
905
906
  }`, {
906
907
  rootEntityType: t,
907
- rootEntityId: r,
908
- depth: i
908
+ rootEntityId: n,
909
+ depth: r
909
910
  }, a)).labProvenance,
910
- enabled: !!r
911
+ enabled: !!n
912
+ });
913
+ }, Pe = () => {
914
+ let { apiGatewayUrl: r, workspaceId: a } = e();
915
+ return i({
916
+ queryKey: [
917
+ l,
918
+ "legal",
919
+ t,
920
+ a ?? null
921
+ ],
922
+ queryFn: async () => (await c("query LabMyAiTermsAcceptances($checkpointType: WorkspaceLegalCheckpointType!, $productKey: String) {\n workspaceMyLegalAcceptances(checkpointType: $checkpointType, productKey: $productKey) {\n items { id productKey documentVersion acceptedAt }\n totalCount\n }\n }", {
923
+ checkpointType: t,
924
+ productKey: n
925
+ }, r)).workspaceMyLegalAcceptances.items,
926
+ enabled: !!a,
927
+ staleTime: 300 * 1e3
928
+ });
929
+ }, Fe = () => {
930
+ let i = a(), { apiGatewayUrl: o, workspaceId: s } = e();
931
+ return r({
932
+ mutationFn: async () => {
933
+ if (!s) throw Error("Select a workspace before accepting the AI Product Terms.");
934
+ return (await c("mutation LabAcceptAiTerms($workspaceId: ID!, $checkpointType: WorkspaceLegalCheckpointType!, $documentVersion: String!, $productKey: String) {\n workspaceRecordLegalAcceptance(workspaceId: $workspaceId, checkpointType: $checkpointType, documentVersion: $documentVersion, productKey: $productKey) {\n id productKey documentVersion acceptedAt\n }\n }", {
935
+ workspaceId: s,
936
+ checkpointType: t,
937
+ documentVersion: "1.0",
938
+ productKey: n
939
+ }, o)).workspaceRecordLegalAcceptance;
940
+ },
941
+ onSuccess: (e) => {
942
+ i.setQueryData([
943
+ l,
944
+ "legal",
945
+ t,
946
+ s ?? null
947
+ ], (t) => [e, ...(t ?? []).filter((t) => t.id !== e.id)]);
948
+ }
911
949
  });
912
950
  };
913
951
  //#endregion
914
- export { a as LabApiError, Z as useAddDatasetVersion, q as useAddProtocolStep, le as useAdjustInventory, $ as useAgentRun, be as useAgentRuns, ge as useAiModelCatalog, te as useArchiveDataset, ue as useArchiveInventoryItem, D as useArchiveProject, me as useBookInstrument, he as useCancelBooking, I as useCompleteRun, X as useCreateDataset, A as useCreateExperiment, pe as useCreateInstrument, ce as useCreateInventoryItem, z as useCreateNotebookEntry, ne as useCreatePipeline, T as useCreateProject, W as useCreateProtocol, Y as useDataset, J as useDatasets, k as useExperiment, we as useExperimentAiContext, O as useExperiments, fe as useInstrument, de as useInstruments, se as useInventoryItem, oe as useInventoryItems, je as useLabProvenance, Oe as useLabRecentActivity, L as useNotebookEntries, R as useNotebookEntry, Ce as useOverrideAgentRun, re as usePipelineRuns, Q as usePipelines, F as usePlanRun, w as useProject, C as useProjects, U as useProtocol, H as useProtocols, K as usePublishProtocol, Se as useRecommendNextRun, Ae as useResearchAnalytics, ie as useRunPipeline, N as useRuns, ve as useSetWorkspaceAiModel, ye as useSetWorkspaceAutoPilot, B as useSignNotebookEntry, P as useStartRun, xe as useSuggestProtocol, M as useTransitionExperiment, ae as useTransitionPipelineRun, j as useUpdateExperiment, E as useUpdateProject, G as useUpdateProtocol, V as useWitnessNotebookEntry, _e as useWorkspaceAiConfig, Ee as useWorkspaceTotals };
952
+ export { s as LabApiError, Fe as useAcceptAiTerms, ne as useAddDatasetVersion, J as useAddProtocolStep, de as useAdjustInventory, Ce as useAgentRun, Se as useAgentRuns, ve as useAiModelCatalog, Q as useArchiveDataset, fe as useArchiveInventoryItem, O as useArchiveProject, ge as useBookInstrument, _e as useCancelBooking, L as useCompleteRun, Z as useCreateDataset, j as useCreateExperiment, he as useCreateInstrument, ue as useCreateInventoryItem, B as useCreateNotebookEntry, ie as useCreatePipeline, E as useCreateProject, G as useCreateProtocol, X as useDataset, Y as useDatasets, A as useExperiment, De as useExperimentAiContext, k as useExperiments, me as useInstrument, pe as useInstruments, le as useInventoryItem, ce as useInventoryItems, Ne as useLabProvenance, Ae as useLabRecentActivity, Pe as useMyAiTermsAcceptances, R as useNotebookEntries, z as useNotebookEntry, Ee as useOverrideAgentRun, ae as usePipelineRuns, re as usePipelines, I as usePlanRun, T as useProject, te as useProjects, W as useProtocol, U as useProtocols, q as usePublishProtocol, Te as useRecommendNextRun, Me as useResearchAnalytics, oe as useRunPipeline, P as useRuns, be as useSetWorkspaceAiModel, xe as useSetWorkspaceAutoPilot, V as useSignNotebookEntry, F as useStartRun, we as useSuggestProtocol, N as useTransitionExperiment, se as useTransitionPipelineRun, M as useUpdateExperiment, D as useUpdateProject, K as useUpdateProtocol, H as useWitnessNotebookEntry, ye as useWorkspaceAiConfig, Oe as useWorkspaceTotals };
915
953
 
916
954
  //# sourceMappingURL=useLabsOfScienceApi.js.map