@burdenoff/sdk-libs 2026.627.4 → 2026.629.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.
- package/dist/modules/adaptercloud/index.cjs +316 -0
- package/dist/modules/adaptercloud/index.d.cts +399 -0
- package/dist/modules/adaptercloud/index.d.ts +399 -0
- package/dist/modules/adaptercloud/index.js +316 -0
- package/dist/modules/atheletebridge/index.cjs +261 -0
- package/dist/modules/atheletebridge/index.d.cts +392 -0
- package/dist/modules/atheletebridge/index.d.ts +392 -0
- package/dist/modules/atheletebridge/index.js +261 -0
- package/dist/modules/coolandlovely/index.cjs +321 -0
- package/dist/modules/coolandlovely/index.d.cts +433 -0
- package/dist/modules/coolandlovely/index.d.ts +433 -0
- package/dist/modules/coolandlovely/index.js +321 -0
- package/dist/modules/hookmovies/index.cjs +359 -0
- package/dist/modules/hookmovies/index.d.cts +512 -0
- package/dist/modules/hookmovies/index.d.ts +512 -0
- package/dist/modules/hookmovies/index.js +359 -0
- package/dist/modules/labsofscience/index.cjs +373 -0
- package/dist/modules/labsofscience/index.d.cts +495 -0
- package/dist/modules/labsofscience/index.d.ts +495 -0
- package/dist/modules/labsofscience/index.js +373 -0
- package/dist/modules/mybodyshield/index.cjs +259 -0
- package/dist/modules/mybodyshield/index.d.cts +455 -0
- package/dist/modules/mybodyshield/index.d.ts +455 -0
- package/dist/modules/mybodyshield/index.js +259 -0
- package/dist/modules/semanticfed/index.cjs +283 -0
- package/dist/modules/semanticfed/index.d.cts +404 -0
- package/dist/modules/semanticfed/index.d.ts +404 -0
- package/dist/modules/semanticfed/index.js +283 -0
- package/dist/modules/subscriberbot/index.cjs +334 -0
- package/dist/modules/subscriberbot/index.d.cts +497 -0
- package/dist/modules/subscriberbot/index.d.ts +497 -0
- package/dist/modules/subscriberbot/index.js +334 -0
- package/dist/modules/technospam/index.cjs +344 -0
- package/dist/modules/technospam/index.d.cts +436 -0
- package/dist/modules/technospam/index.d.ts +436 -0
- package/dist/modules/technospam/index.js +344 -0
- package/dist/modules/theculturepost/index.cjs +267 -0
- package/dist/modules/theculturepost/index.d.cts +344 -0
- package/dist/modules/theculturepost/index.d.ts +344 -0
- package/dist/modules/theculturepost/index.js +267 -0
- package/dist/modules/theglobalfuel/index.cjs +265 -0
- package/dist/modules/theglobalfuel/index.d.cts +395 -0
- package/dist/modules/theglobalfuel/index.d.ts +395 -0
- package/dist/modules/theglobalfuel/index.js +265 -0
- package/package.json +1 -1
|
@@ -0,0 +1,373 @@
|
|
|
1
|
+
var A=`
|
|
2
|
+
fragment ProjectScalars on LabProject {
|
|
3
|
+
id name code description field status visibility
|
|
4
|
+
principalInvestigatorId startDate endDate tags
|
|
5
|
+
workspaceId createdAt updatedAt
|
|
6
|
+
}
|
|
7
|
+
`,c=`
|
|
8
|
+
fragment ExperimentScalars on LabExperiment {
|
|
9
|
+
id title description hypothesis status projectId protocolId
|
|
10
|
+
leadResearcherId variables tags workspaceId createdAt updatedAt
|
|
11
|
+
}
|
|
12
|
+
`,E=`
|
|
13
|
+
fragment RunScalars on LabExperimentRun {
|
|
14
|
+
id experimentId runNumber status performedById
|
|
15
|
+
parameters observations notes startedAt completedAt
|
|
16
|
+
workspaceId createdAt updatedAt
|
|
17
|
+
}
|
|
18
|
+
`,R=`
|
|
19
|
+
fragment ProtocolStepFields on LabProtocolStep {
|
|
20
|
+
id protocolId ordinal kind instruction durationMinutes isCritical
|
|
21
|
+
workspaceId createdAt updatedAt
|
|
22
|
+
}
|
|
23
|
+
`,At=`
|
|
24
|
+
fragment ProtocolScalars on LabProtocol {
|
|
25
|
+
id name summary status version authorId estimatedMinutes
|
|
26
|
+
materials safetyNotes tags publishedAt workspaceId createdAt updatedAt
|
|
27
|
+
}
|
|
28
|
+
`,y=`
|
|
29
|
+
fragment DatasetVersionFields on LabDatasetVersion {
|
|
30
|
+
id datasetId version sizeBytes rowCount checksum changeNote
|
|
31
|
+
file { id } workspaceId createdAt updatedAt
|
|
32
|
+
}
|
|
33
|
+
`,Et=`
|
|
34
|
+
fragment DatasetScalars on LabDataset {
|
|
35
|
+
id name description kind status latestVersion
|
|
36
|
+
projectId experimentId tags workspaceId createdAt updatedAt
|
|
37
|
+
}
|
|
38
|
+
`,L=`
|
|
39
|
+
fragment NotebookEntryFields on LabNotebookEntry {
|
|
40
|
+
id title body status authorId projectId experimentId runId
|
|
41
|
+
signedById signedAt witnessedById witnessedAt tags
|
|
42
|
+
files { id } workspaceId createdAt updatedAt
|
|
43
|
+
}
|
|
44
|
+
`,S=`
|
|
45
|
+
fragment InstrumentScalars on LabInstrument {
|
|
46
|
+
id name model location status custodianId requiresApproval tags
|
|
47
|
+
workspaceId createdAt updatedAt
|
|
48
|
+
}
|
|
49
|
+
`,_=`
|
|
50
|
+
fragment BookingScalars on LabInstrumentBooking {
|
|
51
|
+
id instrumentId bookedById experimentId purpose status
|
|
52
|
+
startTime endTime workspaceId createdAt updatedAt
|
|
53
|
+
}
|
|
54
|
+
`,r=`
|
|
55
|
+
fragment InventoryItemFields on LabInventoryItem {
|
|
56
|
+
id name category status quantity reorderLevel unit
|
|
57
|
+
catalogNumber lotNumber vendor location expiresAt
|
|
58
|
+
sds { id } tags workspaceId createdAt updatedAt
|
|
59
|
+
}
|
|
60
|
+
`,T=`
|
|
61
|
+
fragment PipelineScalars on LabAnalysisPipeline {
|
|
62
|
+
id name description engine version isActive definition
|
|
63
|
+
projectId tags workspaceId createdAt updatedAt
|
|
64
|
+
}
|
|
65
|
+
`,$=`
|
|
66
|
+
fragment PipelineRunScalars on LabPipelineRun {
|
|
67
|
+
id pipelineId status datasetId datasetVersionId outputDatasetId
|
|
68
|
+
parameters log triggeredById startedAt finishedAt
|
|
69
|
+
workspaceId createdAt updatedAt
|
|
70
|
+
}
|
|
71
|
+
`,u=`
|
|
72
|
+
${A}
|
|
73
|
+
${c}
|
|
74
|
+
fragment ProjectFull on LabProject {
|
|
75
|
+
...ProjectScalars
|
|
76
|
+
experiments { ...ExperimentScalars }
|
|
77
|
+
}
|
|
78
|
+
`,i=`
|
|
79
|
+
${c}
|
|
80
|
+
${A}
|
|
81
|
+
${E}
|
|
82
|
+
fragment ExperimentFull on LabExperiment {
|
|
83
|
+
...ExperimentScalars
|
|
84
|
+
project { ...ProjectScalars }
|
|
85
|
+
runs { ...RunScalars }
|
|
86
|
+
}
|
|
87
|
+
`,b=`
|
|
88
|
+
${E}
|
|
89
|
+
${c}
|
|
90
|
+
fragment RunFull on LabExperimentRun {
|
|
91
|
+
...RunScalars
|
|
92
|
+
experiment { ...ExperimentScalars }
|
|
93
|
+
}
|
|
94
|
+
`,s=`
|
|
95
|
+
${At}
|
|
96
|
+
${R}
|
|
97
|
+
fragment ProtocolFull on LabProtocol {
|
|
98
|
+
...ProtocolScalars
|
|
99
|
+
steps { ...ProtocolStepFields }
|
|
100
|
+
}
|
|
101
|
+
`,l=`
|
|
102
|
+
${Et}
|
|
103
|
+
${y}
|
|
104
|
+
fragment DatasetFull on LabDataset {
|
|
105
|
+
...DatasetScalars
|
|
106
|
+
versions { ...DatasetVersionFields }
|
|
107
|
+
}
|
|
108
|
+
`,I=`
|
|
109
|
+
${S}
|
|
110
|
+
${_}
|
|
111
|
+
fragment InstrumentFull on LabInstrument {
|
|
112
|
+
...InstrumentScalars
|
|
113
|
+
bookings { ...BookingScalars }
|
|
114
|
+
}
|
|
115
|
+
`,g=`
|
|
116
|
+
${_}
|
|
117
|
+
${S}
|
|
118
|
+
fragment BookingFull on LabInstrumentBooking {
|
|
119
|
+
...BookingScalars
|
|
120
|
+
instrument { ...InstrumentScalars }
|
|
121
|
+
}
|
|
122
|
+
`,C=`
|
|
123
|
+
${T}
|
|
124
|
+
${$}
|
|
125
|
+
fragment PipelineFull on LabAnalysisPipeline {
|
|
126
|
+
...PipelineScalars
|
|
127
|
+
runs { ...PipelineRunScalars }
|
|
128
|
+
}
|
|
129
|
+
`,d=`
|
|
130
|
+
${$}
|
|
131
|
+
${T}
|
|
132
|
+
fragment PipelineRunFull on LabPipelineRun {
|
|
133
|
+
...PipelineRunScalars
|
|
134
|
+
pipeline { ...PipelineScalars }
|
|
135
|
+
}
|
|
136
|
+
`,N=`
|
|
137
|
+
${u}
|
|
138
|
+
query LabProject($id: ID!) { labProject(id: $id) { ...ProjectFull } }
|
|
139
|
+
`,x=`
|
|
140
|
+
${u}
|
|
141
|
+
query LabListProjects($pagination: PaginationInput, $status: LabProjectStatus) {
|
|
142
|
+
labListProjects(pagination: $pagination, status: $status) {
|
|
143
|
+
items { ...ProjectFull }
|
|
144
|
+
pageInfo { cursor hasMore }
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
`,B=`
|
|
148
|
+
${u}
|
|
149
|
+
mutation LabCreateProject($input: LabCreateProjectInput!) {
|
|
150
|
+
labCreateProject(input: $input) { ...ProjectFull }
|
|
151
|
+
}
|
|
152
|
+
`,D=`
|
|
153
|
+
${u}
|
|
154
|
+
mutation LabUpdateProject($id: ID!, $input: LabUpdateProjectInput!) {
|
|
155
|
+
labUpdateProject(id: $id, input: $input) { ...ProjectFull }
|
|
156
|
+
}
|
|
157
|
+
`,f=`
|
|
158
|
+
mutation LabArchiveProject($id: ID!) { labArchiveProject(id: $id) }
|
|
159
|
+
`,O=`
|
|
160
|
+
${i}
|
|
161
|
+
query LabExperiment($id: ID!) { labExperiment(id: $id) { ...ExperimentFull } }
|
|
162
|
+
`,k=`
|
|
163
|
+
${i}
|
|
164
|
+
query LabListExperiments(
|
|
165
|
+
$pagination: PaginationInput
|
|
166
|
+
$projectId: ID
|
|
167
|
+
$status: LabExperimentStatus
|
|
168
|
+
) {
|
|
169
|
+
labListExperiments(pagination: $pagination, projectId: $projectId, status: $status) {
|
|
170
|
+
items { ...ExperimentFull }
|
|
171
|
+
pageInfo { cursor hasMore }
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
`,v=`
|
|
175
|
+
${i}
|
|
176
|
+
mutation LabCreateExperiment($input: LabCreateExperimentInput!) {
|
|
177
|
+
labCreateExperiment(input: $input) { ...ExperimentFull }
|
|
178
|
+
}
|
|
179
|
+
`,j=`
|
|
180
|
+
${i}
|
|
181
|
+
mutation LabUpdateExperiment($id: ID!, $input: LabUpdateExperimentInput!) {
|
|
182
|
+
labUpdateExperiment(id: $id, input: $input) { ...ExperimentFull }
|
|
183
|
+
}
|
|
184
|
+
`,U=`
|
|
185
|
+
${i}
|
|
186
|
+
mutation LabTransitionExperiment($id: ID!, $status: LabExperimentStatus!) {
|
|
187
|
+
labTransitionExperiment(id: $id, status: $status) { ...ExperimentFull }
|
|
188
|
+
}
|
|
189
|
+
`,F=`
|
|
190
|
+
${b}
|
|
191
|
+
query LabListRuns($experimentId: ID, $pagination: PaginationInput, $status: LabRunStatus) {
|
|
192
|
+
labListRuns(experimentId: $experimentId, pagination: $pagination, status: $status) {
|
|
193
|
+
items { ...RunFull }
|
|
194
|
+
pageInfo { cursor hasMore }
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
`,q=`
|
|
198
|
+
${b}
|
|
199
|
+
mutation LabStartRun($input: LabCreateRunInput!) {
|
|
200
|
+
labStartRun(input: $input) { ...RunFull }
|
|
201
|
+
}
|
|
202
|
+
`,w=`
|
|
203
|
+
${b}
|
|
204
|
+
mutation LabCompleteRun($id: ID!, $status: LabRunStatus!, $input: LabRecordRunResultsInput) {
|
|
205
|
+
labCompleteRun(id: $id, status: $status, input: $input) { ...RunFull }
|
|
206
|
+
}
|
|
207
|
+
`,h=`
|
|
208
|
+
${s}
|
|
209
|
+
query LabProtocol($id: ID!) { labProtocol(id: $id) { ...ProtocolFull } }
|
|
210
|
+
`,M=`
|
|
211
|
+
${s}
|
|
212
|
+
query LabListProtocols($pagination: PaginationInput, $status: LabProtocolStatus) {
|
|
213
|
+
labListProtocols(pagination: $pagination, status: $status) {
|
|
214
|
+
items { ...ProtocolFull }
|
|
215
|
+
pageInfo { cursor hasMore }
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
`,V=`
|
|
219
|
+
${s}
|
|
220
|
+
mutation LabCreateProtocol($input: LabCreateProtocolInput!) {
|
|
221
|
+
labCreateProtocol(input: $input) { ...ProtocolFull }
|
|
222
|
+
}
|
|
223
|
+
`,K=`
|
|
224
|
+
${s}
|
|
225
|
+
mutation LabUpdateProtocol($id: ID!, $input: LabUpdateProtocolInput!) {
|
|
226
|
+
labUpdateProtocol(id: $id, input: $input) { ...ProtocolFull }
|
|
227
|
+
}
|
|
228
|
+
`,H=`
|
|
229
|
+
${R}
|
|
230
|
+
mutation LabAddProtocolStep($input: LabAddProtocolStepInput!) {
|
|
231
|
+
labAddProtocolStep(input: $input) { ...ProtocolStepFields }
|
|
232
|
+
}
|
|
233
|
+
`,Y=`
|
|
234
|
+
${s}
|
|
235
|
+
mutation LabPublishProtocol($id: ID!) {
|
|
236
|
+
labPublishProtocol(id: $id) { ...ProtocolFull }
|
|
237
|
+
}
|
|
238
|
+
`,J=`
|
|
239
|
+
${l}
|
|
240
|
+
query LabDataset($id: ID!) { labDataset(id: $id) { ...DatasetFull } }
|
|
241
|
+
`,X=`
|
|
242
|
+
${l}
|
|
243
|
+
query LabListDatasets(
|
|
244
|
+
$kind: LabDatasetKind
|
|
245
|
+
$pagination: PaginationInput
|
|
246
|
+
$status: LabDatasetStatus
|
|
247
|
+
) {
|
|
248
|
+
labListDatasets(kind: $kind, pagination: $pagination, status: $status) {
|
|
249
|
+
items { ...DatasetFull }
|
|
250
|
+
pageInfo { cursor hasMore }
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
`,G=`
|
|
254
|
+
${l}
|
|
255
|
+
mutation LabCreateDataset($input: LabCreateDatasetInput!) {
|
|
256
|
+
labCreateDataset(input: $input) { ...DatasetFull }
|
|
257
|
+
}
|
|
258
|
+
`,z=`
|
|
259
|
+
${y}
|
|
260
|
+
mutation LabAddDatasetVersion($input: LabAddDatasetVersionInput!) {
|
|
261
|
+
labAddDatasetVersion(input: $input) { ...DatasetVersionFields }
|
|
262
|
+
}
|
|
263
|
+
`,Q=`
|
|
264
|
+
mutation LabArchiveDataset($id: ID!) { labArchiveDataset(id: $id) }
|
|
265
|
+
`,W=`
|
|
266
|
+
${L}
|
|
267
|
+
query LabListNotebookEntries(
|
|
268
|
+
$experimentId: ID
|
|
269
|
+
$pagination: PaginationInput
|
|
270
|
+
$projectId: ID
|
|
271
|
+
$status: LabNotebookEntryStatus
|
|
272
|
+
) {
|
|
273
|
+
labListNotebookEntries(
|
|
274
|
+
experimentId: $experimentId
|
|
275
|
+
pagination: $pagination
|
|
276
|
+
projectId: $projectId
|
|
277
|
+
status: $status
|
|
278
|
+
) {
|
|
279
|
+
items { ...NotebookEntryFields }
|
|
280
|
+
pageInfo { cursor hasMore }
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
`,Z=`
|
|
284
|
+
${L}
|
|
285
|
+
mutation LabCreateNotebookEntry($input: LabCreateNotebookEntryInput!) {
|
|
286
|
+
labCreateNotebookEntry(input: $input) { ...NotebookEntryFields }
|
|
287
|
+
}
|
|
288
|
+
`,tt=`
|
|
289
|
+
${L}
|
|
290
|
+
mutation LabSignNotebookEntry($id: ID!) {
|
|
291
|
+
labSignNotebookEntry(id: $id) { ...NotebookEntryFields }
|
|
292
|
+
}
|
|
293
|
+
`,et=`
|
|
294
|
+
${I}
|
|
295
|
+
query LabInstrument($id: ID!) { labInstrument(id: $id) { ...InstrumentFull } }
|
|
296
|
+
`,at=`
|
|
297
|
+
${I}
|
|
298
|
+
query LabListInstruments($status: LabInstrumentStatus) {
|
|
299
|
+
labListInstruments(status: $status) { ...InstrumentFull }
|
|
300
|
+
}
|
|
301
|
+
`,nt=`
|
|
302
|
+
${I}
|
|
303
|
+
mutation LabCreateInstrument($input: LabCreateInstrumentInput!) {
|
|
304
|
+
labCreateInstrument(input: $input) { ...InstrumentFull }
|
|
305
|
+
}
|
|
306
|
+
`,ot=`
|
|
307
|
+
${g}
|
|
308
|
+
mutation LabBookInstrument($input: LabBookInstrumentInput!) {
|
|
309
|
+
labBookInstrument(input: $input) { ...BookingFull }
|
|
310
|
+
}
|
|
311
|
+
`,it=`
|
|
312
|
+
${g}
|
|
313
|
+
mutation LabCancelBooking($id: ID!) {
|
|
314
|
+
labCancelBooking(id: $id) { ...BookingFull }
|
|
315
|
+
}
|
|
316
|
+
`,st=`
|
|
317
|
+
${r}
|
|
318
|
+
query LabInventoryItem($id: ID!) { labInventoryItem(id: $id) { ...InventoryItemFields } }
|
|
319
|
+
`,rt=`
|
|
320
|
+
${r}
|
|
321
|
+
query LabListInventoryItems(
|
|
322
|
+
$category: LabInventoryCategory
|
|
323
|
+
$pagination: PaginationInput
|
|
324
|
+
$status: LabInventoryStatus
|
|
325
|
+
) {
|
|
326
|
+
labListInventoryItems(category: $category, pagination: $pagination, status: $status) {
|
|
327
|
+
items { ...InventoryItemFields }
|
|
328
|
+
pageInfo { cursor hasMore }
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
`,ut=`
|
|
332
|
+
${r}
|
|
333
|
+
mutation LabCreateInventoryItem($input: LabCreateInventoryItemInput!) {
|
|
334
|
+
labCreateInventoryItem(input: $input) { ...InventoryItemFields }
|
|
335
|
+
}
|
|
336
|
+
`,pt=`
|
|
337
|
+
${r}
|
|
338
|
+
mutation LabAdjustInventory($id: ID!, $input: LabAdjustInventoryInput!) {
|
|
339
|
+
labAdjustInventory(id: $id, input: $input) { ...InventoryItemFields }
|
|
340
|
+
}
|
|
341
|
+
`,ct=`
|
|
342
|
+
mutation LabArchiveInventoryItem($id: ID!) { labArchiveInventoryItem(id: $id) }
|
|
343
|
+
`,Lt=`
|
|
344
|
+
${C}
|
|
345
|
+
query LabListPipelines { labListPipelines { ...PipelineFull } }
|
|
346
|
+
`,bt=`
|
|
347
|
+
${C}
|
|
348
|
+
mutation LabCreatePipeline($input: LabCreatePipelineInput!) {
|
|
349
|
+
labCreatePipeline(input: $input) { ...PipelineFull }
|
|
350
|
+
}
|
|
351
|
+
`,lt=`
|
|
352
|
+
${d}
|
|
353
|
+
query LabListPipelineRuns(
|
|
354
|
+
$pagination: PaginationInput
|
|
355
|
+
$pipelineId: ID
|
|
356
|
+
$status: LabPipelineRunStatus
|
|
357
|
+
) {
|
|
358
|
+
labListPipelineRuns(pagination: $pagination, pipelineId: $pipelineId, status: $status) {
|
|
359
|
+
items { ...PipelineRunFull }
|
|
360
|
+
pageInfo { cursor hasMore }
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
`,It=`
|
|
364
|
+
${d}
|
|
365
|
+
mutation LabRunPipeline($input: LabRunPipelineInput!) {
|
|
366
|
+
labRunPipeline(input: $input) { ...PipelineRunFull }
|
|
367
|
+
}
|
|
368
|
+
`,dt=`
|
|
369
|
+
${d}
|
|
370
|
+
mutation LabTransitionPipelineRun($id: ID!, $status: LabPipelineRunStatus!, $log: String) {
|
|
371
|
+
labTransitionPipelineRun(id: $id, status: $status, log: $log) { ...PipelineRunFull }
|
|
372
|
+
}
|
|
373
|
+
`,Pt="query LabHealth { labHealth }";function mt(p){let{workspace:a}=p.gql;return {projects:{async get(t){return (await a.request(N,{id:t})).labProject},async list(t,e){return (await a.request(x,{pagination:t,status:e})).labListProjects},async create(t){return (await a.request(B,{input:t})).labCreateProject},async update(t,e){return (await a.request(D,{id:t,input:e})).labUpdateProject},async archive(t){return (await a.request(f,{id:t})).labArchiveProject}},experiments:{async get(t){return (await a.request(O,{id:t})).labExperiment},async list(t,e,n){return (await a.request(k,{pagination:t,projectId:e,status:n})).labListExperiments},async create(t){return (await a.request(v,{input:t})).labCreateExperiment},async update(t,e){return (await a.request(j,{id:t,input:e})).labUpdateExperiment},async transition(t,e){return (await a.request(U,{id:t,status:e})).labTransitionExperiment}},runs:{async list(t,e,n){return (await a.request(F,{experimentId:t,pagination:e,status:n})).labListRuns},async start(t){return (await a.request(q,{input:t})).labStartRun},async complete(t,e,n){return (await a.request(w,{id:t,status:e,input:n})).labCompleteRun}},protocols:{async get(t){return (await a.request(h,{id:t})).labProtocol},async list(t,e){return (await a.request(M,{pagination:t,status:e})).labListProtocols},async create(t){return (await a.request(V,{input:t})).labCreateProtocol},async update(t,e){return (await a.request(K,{id:t,input:e})).labUpdateProtocol},async addStep(t){return (await a.request(H,{input:t})).labAddProtocolStep},async publish(t){return (await a.request(Y,{id:t})).labPublishProtocol}},datasets:{async get(t){return (await a.request(J,{id:t})).labDataset},async list(t,e,n){return (await a.request(X,{kind:t,pagination:e,status:n})).labListDatasets},async create(t){return (await a.request(G,{input:t})).labCreateDataset},async addVersion(t){return (await a.request(z,{input:t})).labAddDatasetVersion},async archive(t){return (await a.request(Q,{id:t})).labArchiveDataset}},notebook:{async list(t,e,n,o){return (await a.request(W,{experimentId:t,pagination:e,projectId:n,status:o})).labListNotebookEntries},async create(t){return (await a.request(Z,{input:t})).labCreateNotebookEntry},async sign(t){return (await a.request(tt,{id:t})).labSignNotebookEntry}},instruments:{async get(t){return (await a.request(et,{id:t})).labInstrument},async list(t){return (await a.request(at,{status:t})).labListInstruments},async create(t){return (await a.request(nt,{input:t})).labCreateInstrument},async book(t){return (await a.request(ot,{input:t})).labBookInstrument},async cancelBooking(t){return (await a.request(it,{id:t})).labCancelBooking}},inventory:{async get(t){return (await a.request(st,{id:t})).labInventoryItem},async list(t,e,n){return (await a.request(rt,{category:t,pagination:e,status:n})).labListInventoryItems},async create(t){return (await a.request(ut,{input:t})).labCreateInventoryItem},async adjust(t,e){return (await a.request(pt,{id:t,input:e})).labAdjustInventory},async archive(t){return (await a.request(ct,{id:t})).labArchiveInventoryItem}},pipelines:{async list(){return (await a.request(Lt)).labListPipelines},async create(t){return (await a.request(bt,{input:t})).labCreatePipeline},async listRuns(t,e,n){return (await a.request(lt,{pagination:t,pipelineId:e,status:n})).labListPipelineRuns},async run(t){return (await a.request(It,{input:t})).labRunPipeline},async transitionRun(t,e,n){return (await a.request(dt,{id:t,status:e,log:n})).labTransitionPipelineRun}},system:{async health(){return (await a.request(Pt)).labHealth}}}}var Rt={id:"labsofscience",version:"1.0.0",displayName:"Labsofscience",dependsOn:["auth"],attach(p){return mt(p)}},Ft=Rt;export{Ft as default};
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
'use strict';var m=`
|
|
2
|
+
fragment FileRef on File { id }
|
|
3
|
+
`,i=`
|
|
4
|
+
fragment PageInfoFields on MybPageInfo { cursor hasMore }
|
|
5
|
+
`,l=`
|
|
6
|
+
${m}
|
|
7
|
+
fragment ExerciseFields on MybExercise {
|
|
8
|
+
id workoutId name muscleGroup sets reps targetWeight restSeconds orderIndex
|
|
9
|
+
instructions demo { ...FileRef }
|
|
10
|
+
workspaceId createdAt updatedAt
|
|
11
|
+
}
|
|
12
|
+
`,d=`
|
|
13
|
+
${l}
|
|
14
|
+
fragment WorkoutFields on MybWorkout {
|
|
15
|
+
id programId name description type weekNumber dayOfWeek durationMin orderIndex
|
|
16
|
+
exercises { ...ExerciseFields }
|
|
17
|
+
workspaceId createdAt updatedAt
|
|
18
|
+
}
|
|
19
|
+
`,r=`
|
|
20
|
+
${d}
|
|
21
|
+
fragment ProgramFields on MybProgram {
|
|
22
|
+
id memberId coachId name description goalType level phase status
|
|
23
|
+
weeks daysPerWeek tags startDate endDate
|
|
24
|
+
workouts { ...WorkoutFields }
|
|
25
|
+
workspaceId createdAt updatedAt
|
|
26
|
+
}
|
|
27
|
+
`,g=`
|
|
28
|
+
fragment SessionSetFields on MybSessionSet {
|
|
29
|
+
id sessionId exerciseName setNumber reps weight durationSec distanceM
|
|
30
|
+
isPersonalRecord workspaceId createdAt updatedAt
|
|
31
|
+
}
|
|
32
|
+
`,M=`
|
|
33
|
+
${g}
|
|
34
|
+
fragment SessionFields on MybWorkoutSession {
|
|
35
|
+
id memberId programId workoutId status scheduledFor startedAt completedAt
|
|
36
|
+
caloriesBurned perceivedExertion notes
|
|
37
|
+
sets { ...SessionSetFields }
|
|
38
|
+
workspaceId createdAt updatedAt
|
|
39
|
+
}
|
|
40
|
+
`,n=`
|
|
41
|
+
fragment GoalFields on MybGoal {
|
|
42
|
+
id memberId title type status baselineValue currentValue targetValue unit
|
|
43
|
+
description targetDate achievedAt workspaceId createdAt updatedAt
|
|
44
|
+
}
|
|
45
|
+
`,u=`
|
|
46
|
+
fragment MealFields on MybMealLog {
|
|
47
|
+
id memberId planId name mealType servings calories proteinG carbsG fatG
|
|
48
|
+
isFavorite loggedAt workspaceId createdAt updatedAt
|
|
49
|
+
}
|
|
50
|
+
`,s=`
|
|
51
|
+
${u}
|
|
52
|
+
fragment NutritionPlanFields on MybNutritionPlan {
|
|
53
|
+
id memberId coachId name goalType calorieTarget proteinTarget carbsTarget fatTarget
|
|
54
|
+
isActive notes startDate endDate
|
|
55
|
+
meals { ...MealFields }
|
|
56
|
+
workspaceId createdAt updatedAt
|
|
57
|
+
}
|
|
58
|
+
`,I=`
|
|
59
|
+
${m}
|
|
60
|
+
fragment BodyMetricFields on MybBodyMetric {
|
|
61
|
+
id memberId type value unit measuredAt notes photo { ...FileRef }
|
|
62
|
+
workspaceId createdAt updatedAt
|
|
63
|
+
}
|
|
64
|
+
`,P=`
|
|
65
|
+
fragment RecoveryFields on MybRecoveryLog {
|
|
66
|
+
id memberId metric score sleepHours notes loggedAt
|
|
67
|
+
workspaceId createdAt updatedAt
|
|
68
|
+
}
|
|
69
|
+
`,c=`
|
|
70
|
+
fragment CoachingFields on MybCoachingRelationship {
|
|
71
|
+
id coachId memberId status specialty shareWorkouts shareNutrition shareMetrics
|
|
72
|
+
notes startedAt endedAt workspaceId createdAt updatedAt
|
|
73
|
+
}
|
|
74
|
+
`,ot=`
|
|
75
|
+
fragment DailyMacrosFields on MybDailyMacros {
|
|
76
|
+
date calories proteinG carbsG fatG calorieTarget proteinTarget carbsTarget fatTarget
|
|
77
|
+
}
|
|
78
|
+
`,A=`
|
|
79
|
+
${r}
|
|
80
|
+
query MybGetProgram($id: ID!) { mybProgram(id: $id) { ...ProgramFields } }
|
|
81
|
+
`,S=`
|
|
82
|
+
${r}
|
|
83
|
+
${i}
|
|
84
|
+
query MybListPrograms($memberId: ID, $status: MybProgramStatus, $pagination: PaginationInput) {
|
|
85
|
+
mybListPrograms(memberId: $memberId, status: $status, pagination: $pagination) {
|
|
86
|
+
items { ...ProgramFields }
|
|
87
|
+
pageInfo { ...PageInfoFields }
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
`,_=`
|
|
91
|
+
${r}
|
|
92
|
+
mutation MybCreateProgram($input: MybCreateProgramInput!) {
|
|
93
|
+
mybCreateProgram(input: $input) { ...ProgramFields }
|
|
94
|
+
}
|
|
95
|
+
`,C=`
|
|
96
|
+
${r}
|
|
97
|
+
mutation MybUpdateProgram($id: ID!, $input: MybUpdateProgramInput!) {
|
|
98
|
+
mybUpdateProgram(id: $id, input: $input) { ...ProgramFields }
|
|
99
|
+
}
|
|
100
|
+
`,$=`
|
|
101
|
+
${r}
|
|
102
|
+
mutation MybTransitionProgram($id: ID!, $status: MybProgramStatus!) {
|
|
103
|
+
mybTransitionProgram(id: $id, status: $status) { ...ProgramFields }
|
|
104
|
+
}
|
|
105
|
+
`,L=`
|
|
106
|
+
mutation MybArchiveProgram($id: ID!) { mybArchiveProgram(id: $id) }
|
|
107
|
+
`,R=`
|
|
108
|
+
${d}
|
|
109
|
+
query MybProgramWorkouts($programId: ID!) {
|
|
110
|
+
mybProgramWorkouts(programId: $programId) { ...WorkoutFields }
|
|
111
|
+
}
|
|
112
|
+
`,E=`
|
|
113
|
+
${d}
|
|
114
|
+
mutation MybAddWorkout($input: MybCreateWorkoutInput!) {
|
|
115
|
+
mybAddWorkout(input: $input) { ...WorkoutFields }
|
|
116
|
+
}
|
|
117
|
+
`,T=`
|
|
118
|
+
${l}
|
|
119
|
+
mutation MybAddExercise($input: MybCreateExerciseInput!) {
|
|
120
|
+
mybAddExercise(input: $input) { ...ExerciseFields }
|
|
121
|
+
}
|
|
122
|
+
`,G=`
|
|
123
|
+
${M}
|
|
124
|
+
query MybGetSession($id: ID!) { mybSession(id: $id) { ...SessionFields } }
|
|
125
|
+
`,N=`
|
|
126
|
+
${M}
|
|
127
|
+
${i}
|
|
128
|
+
query MybListSessions($programId: ID, $status: MybSessionStatus, $pagination: PaginationInput) {
|
|
129
|
+
mybListSessions(programId: $programId, status: $status, pagination: $pagination) {
|
|
130
|
+
items { ...SessionFields }
|
|
131
|
+
pageInfo { ...PageInfoFields }
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
`,h=`
|
|
135
|
+
${M}
|
|
136
|
+
mutation MybStartSession($input: MybStartSessionInput!) {
|
|
137
|
+
mybStartSession(input: $input) { ...SessionFields }
|
|
138
|
+
}
|
|
139
|
+
`,B=`
|
|
140
|
+
${M}
|
|
141
|
+
mutation MybCompleteSession($id: ID!, $input: MybCompleteSessionInput!) {
|
|
142
|
+
mybCompleteSession(id: $id, input: $input) { ...SessionFields }
|
|
143
|
+
}
|
|
144
|
+
`,O=`
|
|
145
|
+
${g}
|
|
146
|
+
mutation MybLogSet($input: MybLogSetInput!) {
|
|
147
|
+
mybLogSet(input: $input) { ...SessionSetFields }
|
|
148
|
+
}
|
|
149
|
+
`,Y=`
|
|
150
|
+
${n}
|
|
151
|
+
query MybGetGoal($id: ID!) { mybGoal(id: $id) { ...GoalFields } }
|
|
152
|
+
`,D=`
|
|
153
|
+
${n}
|
|
154
|
+
${i}
|
|
155
|
+
query MybListGoals($memberId: ID, $status: MybGoalStatus, $pagination: PaginationInput) {
|
|
156
|
+
mybListGoals(memberId: $memberId, status: $status, pagination: $pagination) {
|
|
157
|
+
items { ...GoalFields }
|
|
158
|
+
pageInfo { ...PageInfoFields }
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
`,F=`
|
|
162
|
+
${n}
|
|
163
|
+
mutation MybCreateGoal($input: MybCreateGoalInput!) {
|
|
164
|
+
mybCreateGoal(input: $input) { ...GoalFields }
|
|
165
|
+
}
|
|
166
|
+
`,x=`
|
|
167
|
+
${n}
|
|
168
|
+
mutation MybUpdateGoal($id: ID!, $input: MybUpdateGoalInput!) {
|
|
169
|
+
mybUpdateGoal(id: $id, input: $input) { ...GoalFields }
|
|
170
|
+
}
|
|
171
|
+
`,k=`
|
|
172
|
+
${n}
|
|
173
|
+
mutation MybAchieveGoal($id: ID!) { mybAchieveGoal(id: $id) { ...GoalFields } }
|
|
174
|
+
`,v=`
|
|
175
|
+
${s}
|
|
176
|
+
query MybGetNutritionPlan($id: ID!) {
|
|
177
|
+
mybNutritionPlan(id: $id) { ...NutritionPlanFields }
|
|
178
|
+
}
|
|
179
|
+
`,w=`
|
|
180
|
+
${s}
|
|
181
|
+
query MybActiveNutritionPlan($memberId: ID) {
|
|
182
|
+
mybActiveNutritionPlan(memberId: $memberId) { ...NutritionPlanFields }
|
|
183
|
+
}
|
|
184
|
+
`,f=`
|
|
185
|
+
${s}
|
|
186
|
+
mutation MybCreateNutritionPlan($input: MybCreateNutritionPlanInput!) {
|
|
187
|
+
mybCreateNutritionPlan(input: $input) { ...NutritionPlanFields }
|
|
188
|
+
}
|
|
189
|
+
`,q=`
|
|
190
|
+
${s}
|
|
191
|
+
mutation MybUpdateNutritionPlan($id: ID!, $input: MybUpdateNutritionPlanInput!) {
|
|
192
|
+
mybUpdateNutritionPlan(id: $id, input: $input) { ...NutritionPlanFields }
|
|
193
|
+
}
|
|
194
|
+
`,W=`
|
|
195
|
+
${s}
|
|
196
|
+
mutation MybActivateNutritionPlan($id: ID!) {
|
|
197
|
+
mybActivateNutritionPlan(id: $id) { ...NutritionPlanFields }
|
|
198
|
+
}
|
|
199
|
+
`,U=`
|
|
200
|
+
${u}
|
|
201
|
+
${i}
|
|
202
|
+
query MybListMeals($mealType: MybMealType, $planId: ID, $pagination: PaginationInput) {
|
|
203
|
+
mybListMeals(mealType: $mealType, planId: $planId, pagination: $pagination) {
|
|
204
|
+
items { ...MealFields }
|
|
205
|
+
pageInfo { ...PageInfoFields }
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
`,H=`
|
|
209
|
+
${u}
|
|
210
|
+
mutation MybLogMeal($input: MybLogMealInput!) {
|
|
211
|
+
mybLogMeal(input: $input) { ...MealFields }
|
|
212
|
+
}
|
|
213
|
+
`,V=`
|
|
214
|
+
mutation MybDeleteMeal($id: ID!) { mybDeleteMeal(id: $id) }
|
|
215
|
+
`,K=`
|
|
216
|
+
${ot}
|
|
217
|
+
query MybDailyMacros($date: DateTime, $memberId: ID) {
|
|
218
|
+
mybDailyMacros(date: $date, memberId: $memberId) { ...DailyMacrosFields }
|
|
219
|
+
}
|
|
220
|
+
`,j=`
|
|
221
|
+
${I}
|
|
222
|
+
${i}
|
|
223
|
+
query MybListBodyMetrics($memberId: ID, $type: MybBodyMetricType, $pagination: PaginationInput) {
|
|
224
|
+
mybListBodyMetrics(memberId: $memberId, type: $type, pagination: $pagination) {
|
|
225
|
+
items { ...BodyMetricFields }
|
|
226
|
+
pageInfo { ...PageInfoFields }
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
`,X=`
|
|
230
|
+
${I}
|
|
231
|
+
mutation MybRecordBodyMetric($input: MybRecordMetricInput!) {
|
|
232
|
+
mybRecordBodyMetric(input: $input) { ...BodyMetricFields }
|
|
233
|
+
}
|
|
234
|
+
`,z=`
|
|
235
|
+
${P}
|
|
236
|
+
query MybListRecoveryLogs($memberId: ID, $metric: MybRecoveryMetric) {
|
|
237
|
+
mybListRecoveryLogs(memberId: $memberId, metric: $metric) { ...RecoveryFields }
|
|
238
|
+
}
|
|
239
|
+
`,J=`
|
|
240
|
+
${P}
|
|
241
|
+
mutation MybLogRecovery($input: MybLogRecoveryInput!) {
|
|
242
|
+
mybLogRecovery(input: $input) { ...RecoveryFields }
|
|
243
|
+
}
|
|
244
|
+
`,Q=`
|
|
245
|
+
${c}
|
|
246
|
+
query MybListCoaching($memberId: ID, $status: MybCoachingStatus) {
|
|
247
|
+
mybListCoaching(memberId: $memberId, status: $status) { ...CoachingFields }
|
|
248
|
+
}
|
|
249
|
+
`,Z=`
|
|
250
|
+
${c}
|
|
251
|
+
mutation MybCreateCoaching($input: MybCreateCoachingInput!) {
|
|
252
|
+
mybCreateCoaching(input: $input) { ...CoachingFields }
|
|
253
|
+
}
|
|
254
|
+
`,tt=`
|
|
255
|
+
${c}
|
|
256
|
+
mutation MybTransitionCoaching($id: ID!, $status: MybCoachingStatus!) {
|
|
257
|
+
mybTransitionCoaching(id: $id, status: $status) { ...CoachingFields }
|
|
258
|
+
}
|
|
259
|
+
`,et="query MybHealth { mybHealth }";function at(b){let{workspace:a}=b.gql;return {programs:{async get(t){return (await a.request(A,{id:t})).mybProgram},async list(t,e,o){return (await a.request(S,{memberId:t,status:e,pagination:o})).mybListPrograms},async create(t){return (await a.request(_,{input:t})).mybCreateProgram},async update(t,e){return (await a.request(C,{id:t,input:e})).mybUpdateProgram},async transition(t,e){return (await a.request($,{id:t,status:e})).mybTransitionProgram},async archive(t){return (await a.request(L,{id:t})).mybArchiveProgram}},workouts:{async listByProgram(t){return (await a.request(R,{programId:t})).mybProgramWorkouts},async add(t){return (await a.request(E,{input:t})).mybAddWorkout},async addExercise(t){return (await a.request(T,{input:t})).mybAddExercise}},sessions:{async get(t){return (await a.request(G,{id:t})).mybSession},async list(t,e,o){return (await a.request(N,{programId:t,status:e,pagination:o})).mybListSessions},async start(t){return (await a.request(h,{input:t})).mybStartSession},async complete(t,e){return (await a.request(B,{id:t,input:e})).mybCompleteSession},async logSet(t){return (await a.request(O,{input:t})).mybLogSet}},goals:{async get(t){return (await a.request(Y,{id:t})).mybGoal},async list(t,e,o){return (await a.request(D,{memberId:t,status:e,pagination:o})).mybListGoals},async create(t){return (await a.request(F,{input:t})).mybCreateGoal},async update(t,e){return (await a.request(x,{id:t,input:e})).mybUpdateGoal},async achieve(t){return (await a.request(k,{id:t})).mybAchieveGoal}},nutrition:{async getPlan(t){return (await a.request(v,{id:t})).mybNutritionPlan},async activePlan(t){return (await a.request(w,{memberId:t})).mybActiveNutritionPlan},async createPlan(t){return (await a.request(f,{input:t})).mybCreateNutritionPlan},async updatePlan(t,e){return (await a.request(q,{id:t,input:e})).mybUpdateNutritionPlan},async activatePlan(t){return (await a.request(W,{id:t})).mybActivateNutritionPlan},async listMeals(t,e,o){return (await a.request(U,{mealType:t,planId:e,pagination:o})).mybListMeals},async logMeal(t){return (await a.request(H,{input:t})).mybLogMeal},async deleteMeal(t){return (await a.request(V,{id:t})).mybDeleteMeal},async dailyMacros(t,e){return (await a.request(K,{date:t,memberId:e})).mybDailyMacros}},metrics:{async list(t,e,o){return (await a.request(j,{memberId:t,type:e,pagination:o})).mybListBodyMetrics},async record(t){return (await a.request(X,{input:t})).mybRecordBodyMetric}},recovery:{async list(t,e){return (await a.request(z,{memberId:t,metric:e})).mybListRecoveryLogs},async log(t){return (await a.request(J,{input:t})).mybLogRecovery}},coaching:{async list(t,e){return (await a.request(Q,{memberId:t,status:e})).mybListCoaching},async create(t){return (await a.request(Z,{input:t})).mybCreateCoaching},async transition(t,e){return (await a.request(tt,{id:t,status:e})).mybTransitionCoaching}},health:{async check(){return (await a.request(et)).mybHealth}}}}var it={id:"mybodyshield",version:"1.0.0",displayName:"MyBodyShield",dependsOn:["auth"],attach(b){return at(b)}},At=it;module.exports=At;
|