quantum-component-library 0.0.1 → 1.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/README.md +115 -69
  2. package/dist/babel-vendor-BOM86iTb.js +221 -0
  3. package/dist/babel-vendor-cKvSpnBp.cjs +3 -0
  4. package/dist/components/activity-list/index.d.ts +19 -0
  5. package/dist/components/copy-activity-form/index.d.ts +30 -0
  6. package/dist/components/copy-activity-form/index.stories.d.ts +6 -0
  7. package/dist/components/copy-module-form/index.d.ts +30 -0
  8. package/dist/components/copy-module-form/index.stories.d.ts +6 -0
  9. package/dist/components/index.d.ts +8 -0
  10. package/dist/components/module-form/index.d.ts +15 -0
  11. package/dist/components/parameter-edit-list/index.d.ts +13 -0
  12. package/dist/components/parameter-edit-select/index.d.ts +16 -0
  13. package/dist/components/test-filter-panel/index.d.ts +7 -0
  14. package/dist/components/ui/form/index.d.ts +4 -0
  15. package/dist/components/ui/form/label/index.d.ts +4 -0
  16. package/dist/components/ui/form/list-order-input/index.d.ts +14 -0
  17. package/dist/components/ui/form/radio-buttons/index.d.ts +16 -0
  18. package/dist/components/ui/form/range-slider-input/index.d.ts +17 -0
  19. package/dist/components/ui/index.d.ts +2 -1
  20. package/dist/components/ui/tag-group/index.d.ts +7 -0
  21. package/dist/components/upsert-activity-form/index.d.ts +18 -0
  22. package/dist/components/upsert-activity-form/index.stories.d.ts +6 -0
  23. package/dist/components/upsert-module-form/index.d.ts +17 -0
  24. package/dist/components/upsert-module-form/index.stories.d.ts +6 -0
  25. package/dist/components.cjs +13 -0
  26. package/dist/components.js +2078 -0
  27. package/dist/dnd-core-vendor-bgjKfDi6.cjs +1 -0
  28. package/dist/dnd-core-vendor-q7mfiuVu.js +750 -0
  29. package/dist/generated/fragment-masking.d.ts +19 -0
  30. package/dist/generated/gql.d.ts +271 -0
  31. package/dist/generated/graphql.d.ts +2326 -0
  32. package/dist/generated/index.d.ts +2 -0
  33. package/dist/generated-ChsGaiYd.cjs +1 -0
  34. package/dist/generated-GfcSQz21.js +65 -0
  35. package/dist/graphql/fragments/actions.d.ts +1 -0
  36. package/dist/graphql/fragments/analysis.d.ts +12 -0
  37. package/dist/graphql/fragments/groups.d.ts +1 -0
  38. package/dist/graphql/fragments/index.d.ts +6 -0
  39. package/dist/graphql/fragments/modules.d.ts +3 -0
  40. package/dist/graphql/fragments/playback.d.ts +11 -0
  41. package/dist/graphql/fragments/session.d.ts +3 -0
  42. package/dist/graphql/index.d.ts +3 -0
  43. package/dist/graphql/mutations/actions.d.ts +7 -0
  44. package/dist/graphql/mutations/index.d.ts +2 -0
  45. package/dist/graphql/mutations/modules.d.ts +13 -0
  46. package/dist/graphql/queries/actions.d.ts +19 -0
  47. package/dist/graphql/queries/groups.d.ts +9 -0
  48. package/dist/graphql/queries/index.d.ts +3 -0
  49. package/dist/graphql/queries/modules.d.ts +9 -0
  50. package/dist/graphql-CqPvuCvr.cjs +679 -0
  51. package/dist/graphql-DiUes2Np.js +735 -0
  52. package/dist/graphql-vendor-JsvuUrRs.cjs +14 -0
  53. package/dist/graphql-vendor-YnA_qhJA.js +669 -0
  54. package/dist/hooks.cjs +1 -0
  55. package/dist/hooks.js +84 -0
  56. package/dist/index.cjs +1 -0
  57. package/dist/index.d.ts +6 -1
  58. package/dist/index.js +132 -3159
  59. package/dist/lib/hooks/index.d.ts +7 -0
  60. package/dist/lib/hooks/use-graphql-client.d.ts +5 -0
  61. package/dist/lib/hooks/use-joints-for-limb-ids.d.ts +2 -0
  62. package/dist/lib/hooks/use-joints-for-sensor-locations.d.ts +2 -0
  63. package/dist/lib/hooks/use-limbs-for-sensor-locations.d.ts +2 -0
  64. package/dist/lib/hooks/use-part-options-for-joints.d.ts +3 -0
  65. package/dist/lib/hooks/use-part-options-for-limbs.d.ts +3 -0
  66. package/dist/lib/hooks/use-part-options-for-sensor-locations.d.ts +3 -0
  67. package/dist/lib/services/human.d.ts +69 -0
  68. package/dist/lib/services/index.d.ts +1 -0
  69. package/dist/lib/services/rom.json.d.ts +226 -0
  70. package/dist/lib/types/activity.d.ts +19 -0
  71. package/dist/lib/types/analysis.d.ts +115 -0
  72. package/dist/lib/types/athlete.d.ts +8 -0
  73. package/dist/lib/types/catalog.d.ts +35 -0
  74. package/dist/lib/types/error.d.ts +4 -0
  75. package/dist/lib/types/human-part.d.ts +23 -0
  76. package/dist/lib/types/human.d.ts +147 -0
  77. package/dist/lib/types/index.d.ts +14 -0
  78. package/dist/lib/types/parameters.d.ts +10 -0
  79. package/dist/lib/types/playback.d.ts +20 -0
  80. package/dist/lib/types/recording.d.ts +5 -0
  81. package/dist/lib/types/sensor-info.d.ts +105 -0
  82. package/dist/lib/types/threshold.d.ts +30 -0
  83. package/dist/lib/types/tracking.d.ts +82 -0
  84. package/dist/lib/types/upload.d.ts +28 -0
  85. package/dist/lib/utils/conversion.d.ts +27 -0
  86. package/dist/lib/utils/index.d.ts +6 -0
  87. package/dist/lib/utils/memo.d.ts +7 -0
  88. package/dist/lib/utils/parameters.d.ts +6 -0
  89. package/dist/lib/utils/text.d.ts +2 -0
  90. package/dist/lodash-vendor-D5A6v3mw.cjs +1 -0
  91. package/dist/lodash-vendor-Dz4vW7Gd.js +1120 -0
  92. package/dist/other-CmpBz5tg.js +15 -0
  93. package/dist/other-TR0ap-t4.cjs +1 -0
  94. package/dist/providers/index.d.ts +1 -0
  95. package/dist/providers/quantum-library-provider.d.ts +8 -0
  96. package/dist/providers.cjs +1 -0
  97. package/dist/providers.js +11 -0
  98. package/dist/quantum-component-library.css +1 -0
  99. package/dist/react-dnd-vendor-BWqlt2EC.cjs +2 -0
  100. package/dist/react-dnd-vendor-BZs2igAJ.js +1375 -0
  101. package/dist/react-icons-vendor-D2s8zw9h.cjs +1 -0
  102. package/dist/react-icons-vendor-TETORdU9.js +119 -0
  103. package/dist/react-select-vendor-By3h6JjH.cjs +4 -0
  104. package/dist/react-select-vendor-eBH7yy3O.js +2801 -0
  105. package/dist/services.cjs +1 -0
  106. package/dist/services.js +810 -0
  107. package/dist/styled-components-vendor-Bvwhddj9.js +1154 -0
  108. package/dist/styled-components-vendor-D09ATioU.cjs +60 -0
  109. package/dist/types.cjs +1 -0
  110. package/dist/types.js +316 -0
  111. package/dist/utils.cjs +1 -0
  112. package/dist/utils.js +128 -0
  113. package/dist/vendor-BeqUcSbw.cjs +45 -0
  114. package/dist/vendor-DvX9OX-j.js +7876 -0
  115. package/package.json +118 -60
  116. package/dist/components/ui/button.d.ts +0 -10
  117. package/dist/index.css +0 -1
  118. package/dist/index.umd.cjs +0 -22
  119. package/dist/lib/utils.d.ts +0 -2
@@ -0,0 +1,19 @@
1
+ export declare const GET_ACTIONS: import('@graphql-typed-document-node/core').TypedDocumentNode<import('../../generated/graphql').GetActionsQuery, import('../../generated/graphql').Exact<{
2
+ [key: string]: never;
3
+ }>>;
4
+ export declare const GET_QUANTUM_OWNED_ACTIONS: import('@graphql-typed-document-node/core').TypedDocumentNode<import('../../generated/graphql').GetQuantumOwnedActionsQuery, import('../../generated/graphql').Exact<{
5
+ [key: string]: never;
6
+ }>>;
7
+ export declare const GET_ACTION_BY_ID: import('@graphql-typed-document-node/core').TypedDocumentNode<import('../../generated/graphql').GetActionByIdQuery, import('../../generated/graphql').Exact<{
8
+ id: import('../../generated/graphql').Scalars["ID"]["input"];
9
+ }>>;
10
+ export declare const SEARCH_USE_CASES: import('@graphql-typed-document-node/core').TypedDocumentNode<import('../../generated/graphql').SearchUseCasesQuery, import('../../generated/graphql').Exact<{
11
+ query: import('../../generated/graphql').Scalars["String"]["input"];
12
+ skip?: import('../../generated/graphql').InputMaybe<import('../../generated/graphql').Scalars["Int"]["input"]>;
13
+ limit?: import('../../generated/graphql').InputMaybe<import('../../generated/graphql').Scalars["Int"]["input"]>;
14
+ }>>;
15
+ export declare const SEARCH_QUANTUM_OWNED_USE_CASES: import('@graphql-typed-document-node/core').TypedDocumentNode<import('../../generated/graphql').SearchQuantumOwnedUseCasesQuery, import('../../generated/graphql').Exact<{
16
+ query: import('../../generated/graphql').Scalars["String"]["input"];
17
+ skip?: import('../../generated/graphql').InputMaybe<import('../../generated/graphql').Scalars["Int"]["input"]>;
18
+ limit?: import('../../generated/graphql').InputMaybe<import('../../generated/graphql').Scalars["Int"]["input"]>;
19
+ }>>;
@@ -0,0 +1,9 @@
1
+ export declare const GET_GROUPS: import('@graphql-typed-document-node/core').TypedDocumentNode<import('../../generated/graphql').GetGroupsQuery, import('../../generated/graphql').Exact<{
2
+ [key: string]: never;
3
+ }>>;
4
+ export declare const GET_MODULES_BY_GROUP: import('@graphql-typed-document-node/core').TypedDocumentNode<import('../../generated/graphql').GetModulesByGroupQuery, import('../../generated/graphql').Exact<{
5
+ groupId: import('../../generated/graphql').Scalars["ID"]["input"];
6
+ }>>;
7
+ export declare const GET_ACTIONS_BY_GROUP: import('@graphql-typed-document-node/core').TypedDocumentNode<import('../../generated/graphql').GetActionsByGroupQuery, import('../../generated/graphql').Exact<{
8
+ groupId: import('../../generated/graphql').Scalars["ID"]["input"];
9
+ }>>;
@@ -0,0 +1,3 @@
1
+ export * from './actions';
2
+ export * from './groups';
3
+ export * from './modules';
@@ -0,0 +1,9 @@
1
+ export declare const GET_MODULES: import('@graphql-typed-document-node/core').TypedDocumentNode<import('../../generated/graphql').GetLibraryModulesQuery, import('../../generated/graphql').Exact<{
2
+ [key: string]: never;
3
+ }>>;
4
+ export declare const GET_MODULE_BY_ID: import('@graphql-typed-document-node/core').TypedDocumentNode<import('../../generated/graphql').GetLibraryModuleQuery, import('../../generated/graphql').Exact<{
5
+ id: import('../../generated/graphql').Scalars["ID"]["input"];
6
+ }>>;
7
+ export declare const GET_ALL_MODULE_CATEGORIES: import('@graphql-typed-document-node/core').TypedDocumentNode<import('../../generated/graphql').GetAllModuleCategoriesQuery, import('../../generated/graphql').Exact<{
8
+ [key: string]: never;
9
+ }>>;
@@ -0,0 +1,679 @@
1
+ "use strict";const e=require("./generated-ChsGaiYd.cjs"),t=e.graphql(`
2
+ fragment AssessmentAction on Action {
3
+ id
4
+ name
5
+ activityKind
6
+ description
7
+ instructionsPointOfInterest
8
+ instructionsMovementReport
9
+ laterality
10
+ thresholds {
11
+ id
12
+ kind
13
+ min
14
+ max
15
+ partKind
16
+ partId
17
+ partDimension
18
+ }
19
+ sensorLocations
20
+ useCases {
21
+ id
22
+ name
23
+ }
24
+ quantumOwned
25
+ }
26
+ `);e.graphql(`
27
+ fragment AnalysisThreshold on TestAnalysisThreshold {
28
+ testAnalysisId
29
+ id
30
+ kind
31
+ min
32
+ max
33
+ partKind
34
+ partId
35
+ partDimension
36
+ }
37
+ `);e.graphql(`
38
+ fragment AnalysisMetric on AnalysisMetric {
39
+ id
40
+ createdAt
41
+ key {
42
+ id
43
+ name
44
+ }
45
+ analysis {
46
+ id
47
+ startedAt
48
+ }
49
+ name
50
+ description
51
+ discriminator
52
+ threshold {
53
+ id
54
+ testAnalysisId
55
+ kind
56
+ min
57
+ max
58
+ partKind
59
+ partId
60
+ partDimension
61
+ }
62
+ metric {
63
+ ... on DiscreteMetric {
64
+ __typename
65
+ ...AnalysisDiscreteMetric
66
+ }
67
+ ... on ComparativeMetric {
68
+ __typename
69
+ ...AnalysisComparativeMetric
70
+ }
71
+ ... on KeypointsMetric {
72
+ __typename
73
+ ...AnalysisKeypointsMetric
74
+ }
75
+ ... on TableMetric {
76
+ __typename
77
+ ...AnalysisTableMetric
78
+ }
79
+ ... on ImageMetric {
80
+ __typename
81
+ ...AnalysisImageMetric
82
+ }
83
+ }
84
+ }
85
+ `);e.graphql(`
86
+ fragment HistoricalAnalysisMetric on AnalysisMetric {
87
+ id
88
+ createdAt
89
+ key {
90
+ id
91
+ name
92
+ }
93
+ analysis {
94
+ id
95
+ startedAt
96
+ }
97
+ name
98
+ description
99
+ metric {
100
+ ... on DiscreteMetric {
101
+ __typename
102
+ ...AnalysisDiscreteMetric
103
+ }
104
+ ... on ComparativeMetric {
105
+ __typename
106
+ ...AnalysisComparativeMetric
107
+ }
108
+ ... on KeypointsMetric {
109
+ __typename
110
+ ...AnalysisKeypointsMetric
111
+ }
112
+ ... on TableMetric {
113
+ __typename
114
+ ...AnalysisTableMetric
115
+ }
116
+ ... on ImageMetric {
117
+ __typename
118
+ ...AnalysisImageMetric
119
+ }
120
+ }
121
+ }
122
+ `);e.graphql(`
123
+ fragment AnalysisDiscreteMetric on DiscreteMetric {
124
+ unit
125
+ value
126
+ }
127
+ `);e.graphql(`
128
+ fragment AnalysisComparativeMetric on ComparativeMetric {
129
+ unitA
130
+ unitB
131
+ valueA
132
+ valueB
133
+ labelA
134
+ labelB
135
+ }
136
+ `);e.graphql(`
137
+ fragment AnalysisKeypointsMetric on KeypointsMetric {
138
+ keypoints {
139
+ unit
140
+ value
141
+ frame
142
+ timestamp
143
+ timeSeries {
144
+ label
145
+ unit
146
+ timeSeriesJson
147
+ }
148
+ }
149
+ }
150
+ `);e.graphql(`
151
+ fragment AnalysisTableMetric on TableMetric {
152
+ rows {
153
+ id
154
+ order
155
+ cells {
156
+ id
157
+ order
158
+ value
159
+ unit
160
+ colSpan
161
+ rowSpan
162
+ isLabel
163
+ isNumeric
164
+ }
165
+ }
166
+ }
167
+ `);e.graphql(`
168
+ fragment AnalysisImageMetric on ImageMetric {
169
+ path
170
+ }
171
+ `);e.graphql(`
172
+ fragment AnalysisTestAction on Action {
173
+ id
174
+ name
175
+ description
176
+ instructionsPointOfInterest
177
+ instructionsMovementReport
178
+ laterality
179
+ thresholds {
180
+ id
181
+ kind
182
+ min
183
+ max
184
+ partKind
185
+ partId
186
+ partDimension
187
+ }
188
+ sensorLocations
189
+ }
190
+ `);e.graphql(`
191
+ fragment FullTestAnalysis on TestAnalysis {
192
+ id
193
+ testId
194
+ name
195
+ kind
196
+ createdAt
197
+ updatedAt
198
+ startedAt
199
+ startFrame
200
+ endFrame
201
+ actionSide
202
+ thresholds {
203
+ ...AnalysisThreshold
204
+ }
205
+ metrics {
206
+ ...AnalysisMetric
207
+ }
208
+ test {
209
+ id
210
+ name
211
+ createdAt
212
+ updatedAt
213
+ startedAt
214
+ endedAt
215
+ sessionId
216
+ kindId
217
+ file {
218
+ ...TestFile
219
+ }
220
+ info {
221
+ athleteWeight
222
+ }
223
+ action {
224
+ ...AnalysisTestAction
225
+ }
226
+ }
227
+ # New actions don't have classifications
228
+ action {
229
+ id
230
+ name
231
+ }
232
+ }
233
+ `);e.graphql(`
234
+ fragment BasicTestAnalysis on TestAnalysis {
235
+ id
236
+ testId
237
+ name
238
+ kind
239
+ createdAt
240
+ updatedAt
241
+ startedAt
242
+ startFrame
243
+ endFrame
244
+ actionSide
245
+ thresholds {
246
+ ...AnalysisThreshold
247
+ }
248
+ }
249
+ `);e.graphql(`
250
+ fragment ReviewTestReport on TestReport {
251
+ id
252
+ createdAt
253
+ name
254
+ }
255
+ `);const a=e.graphql(`
256
+ fragment UserGroup on Group {
257
+ id
258
+ name
259
+ imageUrl
260
+ quantumOwned
261
+ }
262
+ `),i=e.graphql(`
263
+ fragment LibraryModuleAction on ModuleAction {
264
+ moduleId
265
+ actionId
266
+ sortOrder
267
+ action {
268
+ ...AssessmentAction
269
+ }
270
+ }
271
+ `),r=e.graphql(`
272
+ fragment LibraryActionModule on ActionModule {
273
+ id
274
+ name
275
+ description
276
+ moduleActions {
277
+ ...LibraryModuleAction
278
+ }
279
+ categories {
280
+ ...LibraryModuleCategory
281
+ }
282
+ quantumOwned
283
+ }
284
+ `),n=e.graphql(`
285
+ fragment LibraryModuleCategory on ModuleCategory {
286
+ id
287
+ name
288
+ description
289
+ sortOrder
290
+ }
291
+ `);e.graphql(`
292
+ fragment PoseTask on PoseTask {
293
+ id
294
+ taskId
295
+ status
296
+ attempts
297
+ maxAttempts
298
+ }
299
+ `);e.graphql(`
300
+ fragment TranscodeTask on TranscodeTask {
301
+ id
302
+ taskId
303
+ status
304
+ attempts
305
+ maxAttempts
306
+ }
307
+ `);e.graphql(`
308
+ fragment TestFile on TestFile {
309
+ id
310
+ videoFile
311
+ dataFile
312
+ videoFileFormat
313
+ videoDataOffset
314
+ poseTaskStatus
315
+ postProcessingStatus
316
+ dataSources
317
+ poseTask {
318
+ ...PoseTask
319
+ }
320
+ transcodeTask {
321
+ ...TranscodeTask
322
+ }
323
+ }
324
+ `);e.graphql(`
325
+ fragment ReviewParameter on Parameter {
326
+ id
327
+ kind
328
+ partKind
329
+ partId
330
+ partDimension
331
+ }
332
+ `);e.graphql(`
333
+ fragment ReviewTrialParameterMetrics on TrialParameterMetrics {
334
+ trialParameterId
335
+ min
336
+ max
337
+ minTimestamp
338
+ maxTimestamp
339
+ percentInside
340
+ volumeInside
341
+ volumeOutside
342
+ }
343
+ `);e.graphql(`
344
+ fragment ReviewTrialParameterData on TrialParameterData {
345
+ trialParameterId
346
+ timestamps
347
+ values
348
+ }
349
+ `);e.graphql(`
350
+ fragment ReviewTrialParameter on TrialParameter {
351
+ trialId
352
+ id
353
+ min
354
+ max
355
+ parameter {
356
+ ...ReviewParameter
357
+ }
358
+ metrics {
359
+ ...ReviewTrialParameterMetrics
360
+ }
361
+ data {
362
+ ...ReviewTrialParameterData
363
+ }
364
+ }
365
+ `);e.graphql(`
366
+ fragment ReviewTrial on Trial {
367
+ id
368
+ createdAt
369
+ label
370
+ startFrame
371
+ endFrame
372
+ excludeFromAverage
373
+ parameters {
374
+ ...ReviewTrialParameter
375
+ }
376
+ }
377
+ `);e.graphql(`
378
+ fragment TestParameterScoreOverview on TestAverageParameterScore {
379
+ parameter {
380
+ ...ReviewParameter
381
+ }
382
+ averageScore
383
+ trialCount
384
+ variance
385
+ stdDev
386
+ averagePercentInside
387
+ variancePercentInside
388
+ stdDevPercentInside
389
+ }
390
+ `);e.graphql(`
391
+ fragment TestReportOverview on TestReportUnion {
392
+ ... on MovementCoordinationReport {
393
+ __typename
394
+ id
395
+ report {
396
+ id
397
+ createdAt
398
+ name
399
+ }
400
+ averageParameterScores {
401
+ ...TestParameterScoreOverview
402
+ }
403
+ }
404
+
405
+ ... on GeneralActivityReport {
406
+ __typename
407
+ id
408
+ report {
409
+ id
410
+ createdAt
411
+ name
412
+ }
413
+ averageParameterScores {
414
+ ...TestParameterScoreOverview
415
+ }
416
+ }
417
+
418
+ ... on RangeReport {
419
+ __typename
420
+ id
421
+ report {
422
+ id
423
+ createdAt
424
+ name
425
+ }
426
+ averageParameterScores {
427
+ ...TestParameterScoreOverview
428
+ }
429
+ }
430
+
431
+ ... on StabilityBalanceReport {
432
+ __typename
433
+ id
434
+ report {
435
+ id
436
+ createdAt
437
+ name
438
+ }
439
+ averageParameterScores {
440
+ ...TestParameterScoreOverview
441
+ }
442
+ }
443
+ }
444
+ `);e.graphql(`
445
+ fragment TestWithParameterScores on Test {
446
+ id
447
+ name
448
+ createdAt
449
+ updatedAt
450
+ startedAt
451
+ endedAt
452
+ timezone
453
+ sessionId
454
+ kindId
455
+ comment
456
+ file {
457
+ ...TestFile
458
+ }
459
+ info {
460
+ athleteWeight
461
+ }
462
+ session {
463
+ id
464
+ name
465
+ }
466
+ action {
467
+ id
468
+ name
469
+ description
470
+ instructionsPointOfInterest
471
+ instructionsMovementReport
472
+ laterality
473
+ activityKind
474
+ thresholds {
475
+ id
476
+ kind
477
+ min
478
+ max
479
+ partKind
480
+ partId
481
+ partDimension
482
+ }
483
+ sensorLocations
484
+ useCases {
485
+ id
486
+ name
487
+ }
488
+ }
489
+ reports {
490
+ ...TestReportOverview
491
+ }
492
+ analysis {
493
+ ...ProfileSessionTestAnalysis
494
+ }
495
+ }
496
+ `);e.graphql(`
497
+ fragment ProfileSessionTestAnalysis on TestAnalysisSummary {
498
+ id
499
+ name
500
+ classification
501
+ kind
502
+ createdAt
503
+ updatedAt
504
+ startedAt
505
+ # New actions don't have classifications
506
+ action {
507
+ id
508
+ name
509
+ }
510
+ actionSide
511
+ hasBeenGenerated
512
+ }
513
+ `);e.graphql(`
514
+ fragment ProfileSessionTest on Test {
515
+ id
516
+ name
517
+ createdAt
518
+ updatedAt
519
+ startedAt
520
+ endedAt
521
+ timezone
522
+ sessionId
523
+ kindId
524
+ comment
525
+ file {
526
+ ...TestFile
527
+ }
528
+ info {
529
+ athleteWeight
530
+ }
531
+ analysis {
532
+ ...ProfileSessionTestAnalysis
533
+ }
534
+ action {
535
+ id
536
+ name
537
+ activityKind
538
+ description
539
+ instructionsPointOfInterest
540
+ instructionsMovementReport
541
+ laterality
542
+ thresholds {
543
+ id
544
+ kind
545
+ min
546
+ max
547
+ partKind
548
+ partId
549
+ partDimension
550
+ }
551
+ sensorLocations
552
+ useCases {
553
+ id
554
+ name
555
+ }
556
+ }
557
+ }
558
+ `);e.graphql(`
559
+ fragment ProfileSession on Session {
560
+ id
561
+ name
562
+ createdAt
563
+ updatedAt
564
+ createdById
565
+ createdForId
566
+ startedAt
567
+ tests {
568
+ ...ProfileSessionTest
569
+ }
570
+ }
571
+ `);const s=e.graphql(`
572
+ mutation createAction($fields: CreateActionInput!) {
573
+ createAction(input: $fields) {
574
+ ...AssessmentAction
575
+ }
576
+ }
577
+ `),o=e.graphql(`
578
+ mutation updateAction($id: ID!, $fields: UpdateActionInput!) {
579
+ updateAction(id: $id, input: $fields) {
580
+ ...AssessmentAction
581
+ }
582
+ }
583
+ `),d=e.graphql(`
584
+ mutation createLibraryModule($input: CreateModuleInput!) {
585
+ createModule(input: $input) {
586
+ ...LibraryActionModule
587
+ }
588
+ }
589
+ `);e.graphql(`
590
+ mutation deleteLibraryModule($id: ID!) {
591
+ deleteModule(id: $id)
592
+ }
593
+ `);const l=e.graphql(`
594
+ mutation updateLibraryModule($id: ID!, $input: UpdateModuleInput!) {
595
+ updateModule(id: $id, input: $input) {
596
+ ...LibraryActionModule
597
+ }
598
+ }
599
+ `);e.graphql(`
600
+ mutation copyModules($input: CopyModulesInput!) {
601
+ copyModules(input: $input)
602
+ }
603
+ `);const m=e.graphql(`
604
+ query getActions {
605
+ actions {
606
+ ...AssessmentAction
607
+ }
608
+ }
609
+ `),c=e.graphql(`
610
+ query getQuantumOwnedActions {
611
+ quantumOwnedActions {
612
+ ...AssessmentAction
613
+ }
614
+ }
615
+ `),p=e.graphql(`
616
+ query getActionById($id: ID!) {
617
+ getActionById(id: $id) {
618
+ ...AssessmentAction
619
+ }
620
+ }
621
+ `),A=e.graphql(`
622
+ query searchUseCases($query: String!, $skip: Int, $limit: Int) {
623
+ useCases(search: $query, skip: $skip, limit: $limit) {
624
+ id
625
+ name
626
+ }
627
+ }
628
+ `),u=e.graphql(`
629
+ query searchQuantumOwnedUseCases($query: String!, $skip: Int, $limit: Int) {
630
+ quantumOwnedUseCases(search: $query, skip: $skip, limit: $limit) {
631
+ id
632
+ name
633
+ }
634
+ }
635
+ `),g=e.graphql(`
636
+ query getGroups {
637
+ groups {
638
+ ...UserGroup
639
+ }
640
+ }
641
+ `),T=e.graphql(`
642
+ query getModulesByGroup($groupId: ID!) {
643
+ group(id: $groupId) {
644
+ name
645
+ }
646
+
647
+ modules(groupId: $groupId) {
648
+ ...LibraryActionModule
649
+ }
650
+ }
651
+ `),y=e.graphql(`
652
+ query getActionsByGroup($groupId: ID!) {
653
+ group(id: $groupId) {
654
+ name
655
+ }
656
+
657
+ actions(groupId: $groupId) {
658
+ ...AssessmentAction
659
+ }
660
+ }
661
+ `);e.graphql(`
662
+ query getLibraryModules {
663
+ modules {
664
+ ...LibraryActionModule
665
+ }
666
+ }
667
+ `);const _=e.graphql(`
668
+ query getLibraryModule($id: ID!) {
669
+ module(id: $id) {
670
+ ...LibraryActionModule
671
+ }
672
+ }
673
+ `),M=e.graphql(`
674
+ query getAllModuleCategories {
675
+ moduleCategories {
676
+ ...LibraryModuleCategory
677
+ }
678
+ }
679
+ `);exports.ACTION_FRAGMENT=t;exports.ACTION_MODULE_FRAGMENT=r;exports.CREATE_ACTION=s;exports.CREATE_MODULE=d;exports.GET_ACTIONS=m;exports.GET_ACTIONS_BY_GROUP=y;exports.GET_ACTION_BY_ID=p;exports.GET_ALL_MODULE_CATEGORIES=M;exports.GET_GROUPS=g;exports.GET_MODULES_BY_GROUP=T;exports.GET_MODULE_BY_ID=_;exports.GET_QUANTUM_OWNED_ACTIONS=c;exports.GROUP_FRAGMENT=a;exports.MODULE_ACTION_FRAGMENT=i;exports.MODULE_CATEGORY_FRAGMENT=n;exports.SEARCH_QUANTUM_OWNED_USE_CASES=u;exports.SEARCH_USE_CASES=A;exports.UPDATE_ACTION=o;exports.UPDATE_MODULE=l;