quantum-component-library 1.4.47-qa → 1.4.48-dev.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.
@@ -12,7 +12,7 @@ import * as types from './graphql';
12
12
  * Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
13
13
  */
14
14
  type Documents = {
15
- "\n fragment AssessmentAction on Action {\n id\n name\n activityKind\n activityType\n sessionType\n cameraPlacement\n videoLink\n description\n instructionsPointOfInterest\n instructionsMovementReport\n laterality\n thresholds {\n id\n kind\n min\n max\n partKind\n partId\n partDimension\n }\n sensorLocations\n useCases {\n id\n name\n }\n categories {\n ...LibraryModuleCategory\n }\n quantumOwned\n }\n": typeof types.AssessmentActionFragmentDoc;
15
+ "\n fragment AssessmentAction on Action {\n id\n name\n activityKind\n activityType\n sessionType\n cameraPlacement\n videoLink\n description\n instructionsPointOfInterest\n instructionsMovementReport\n laterality\n thresholds {\n id\n kind\n min\n max\n partKind\n partId\n partDimension\n }\n sensorLocations\n useCases {\n id\n name\n }\n categories {\n ...LibraryModuleCategory\n }\n quantumOwned\n metadataGroups {\n ...MetadataGroup\n }\n }\n": typeof types.AssessmentActionFragmentDoc;
16
16
  "\n fragment AnalysisThreshold on TestAnalysisThreshold {\n testAnalysisId\n id\n kind\n min\n max\n partKind\n partId\n partDimension\n }\n": typeof types.AnalysisThresholdFragmentDoc;
17
17
  "\n fragment AnalysisMetric on AnalysisMetric {\n id\n createdAt\n key {\n id\n name\n }\n analysis {\n id\n startedAt\n }\n name\n description\n discriminator\n threshold {\n id\n testAnalysisId\n kind\n min\n max\n partKind\n partId\n partDimension\n }\n metric {\n ... on DiscreteMetric {\n __typename\n ...AnalysisDiscreteMetric\n }\n ... on ComparativeMetric {\n __typename\n ...AnalysisComparativeMetric\n }\n ... on KeypointsMetric {\n __typename\n ...AnalysisKeypointsMetric\n }\n ... on TableMetric {\n __typename\n ...AnalysisTableMetric\n }\n ... on ImageMetric {\n __typename\n ...AnalysisImageMetric\n }\n }\n }\n": typeof types.AnalysisMetricFragmentDoc;
18
18
  "\n fragment HistoricalAnalysisMetric on AnalysisMetric {\n id\n createdAt\n key {\n id\n name\n }\n analysis {\n id\n startedAt\n }\n name\n description\n metric {\n ... on DiscreteMetric {\n __typename\n ...AnalysisDiscreteMetric\n }\n ... on ComparativeMetric {\n __typename\n ...AnalysisComparativeMetric\n }\n ... on KeypointsMetric {\n __typename\n ...AnalysisKeypointsMetric\n }\n ... on TableMetric {\n __typename\n ...AnalysisTableMetric\n }\n ... on ImageMetric {\n __typename\n ...AnalysisImageMetric\n }\n }\n }\n": typeof types.HistoricalAnalysisMetricFragmentDoc;
@@ -26,6 +26,8 @@ type Documents = {
26
26
  "\n fragment BasicTestAnalysis on TestAnalysis {\n id\n testId\n name\n kind\n createdAt\n updatedAt\n startedAt\n startFrame\n endFrame\n actionSide\n thresholds {\n ...AnalysisThreshold\n }\n }\n": typeof types.BasicTestAnalysisFragmentDoc;
27
27
  "\n fragment ReviewTestReport on TestReport {\n id\n createdAt\n name\n }\n": typeof types.ReviewTestReportFragmentDoc;
28
28
  "\n fragment UserGroup on Group {\n id\n name\n imageUrl\n quantumOwned\n }\n": typeof types.UserGroupFragmentDoc;
29
+ "\n fragment MetadataGroup on MetadataGroup {\n key\n data {\n ...MetadataItem\n }\n }\n": typeof types.MetadataGroupFragmentDoc;
30
+ "\n fragment MetadataItem on MetadataItem {\n id\n label\n value\n sort\n }\n": typeof types.MetadataItemFragmentDoc;
29
31
  "\n fragment LibraryModuleAction on ModuleAction {\n moduleId\n actionId\n sortOrder\n action {\n ...AssessmentAction\n }\n }\n": typeof types.LibraryModuleActionFragmentDoc;
30
32
  "\n fragment LibraryActionModule on ActionModule {\n id\n name\n description\n moduleActions {\n ...LibraryModuleAction\n }\n categories {\n ...LibraryModuleCategory\n }\n quantumOwned\n }\n": typeof types.LibraryActionModuleFragmentDoc;
31
33
  "\n fragment LibraryModuleCategory on ModuleCategory {\n id\n name\n description\n sortOrder\n }\n": typeof types.LibraryModuleCategoryFragmentDoc;
@@ -58,6 +60,7 @@ type Documents = {
58
60
  "\n query getGroups {\n groups {\n ...UserGroup\n }\n }\n": typeof types.GetGroupsDocument;
59
61
  "\n query getModulesByGroup($groupId: ID!) {\n group(id: $groupId) {\n name\n }\n\n modules(groupId: $groupId) {\n ...LibraryActionModule\n }\n }\n": typeof types.GetModulesByGroupDocument;
60
62
  "\n query getActionsByGroup($groupId: ID!) {\n group(id: $groupId) {\n name\n }\n\n actions(groupId: $groupId) {\n ...AssessmentAction\n }\n }\n": typeof types.GetActionsByGroupDocument;
63
+ "\n query getMetadataByKey($key: String!) {\n getMetadataByKey(key: $key) {\n ...MetadataGroup\n }\n }\n": typeof types.GetMetadataByKeyDocument;
61
64
  "\n query getLibraryModules {\n modules {\n ...LibraryActionModule\n }\n }\n": typeof types.GetLibraryModulesDocument;
62
65
  "\n query getLibraryModule($id: ID!) {\n module(id: $id) {\n ...LibraryActionModule\n }\n }\n": typeof types.GetLibraryModuleDocument;
63
66
  "\n query getAllModuleCategories {\n moduleCategories {\n ...LibraryModuleCategory\n }\n }\n": typeof types.GetAllModuleCategoriesDocument;
@@ -79,7 +82,7 @@ export declare function graphql(source: string): unknown;
79
82
  /**
80
83
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
81
84
  */
82
- export declare function graphql(source: "\n fragment AssessmentAction on Action {\n id\n name\n activityKind\n activityType\n sessionType\n cameraPlacement\n videoLink\n description\n instructionsPointOfInterest\n instructionsMovementReport\n laterality\n thresholds {\n id\n kind\n min\n max\n partKind\n partId\n partDimension\n }\n sensorLocations\n useCases {\n id\n name\n }\n categories {\n ...LibraryModuleCategory\n }\n quantumOwned\n }\n"): (typeof documents)["\n fragment AssessmentAction on Action {\n id\n name\n activityKind\n activityType\n sessionType\n cameraPlacement\n videoLink\n description\n instructionsPointOfInterest\n instructionsMovementReport\n laterality\n thresholds {\n id\n kind\n min\n max\n partKind\n partId\n partDimension\n }\n sensorLocations\n useCases {\n id\n name\n }\n categories {\n ...LibraryModuleCategory\n }\n quantumOwned\n }\n"];
85
+ export declare function graphql(source: "\n fragment AssessmentAction on Action {\n id\n name\n activityKind\n activityType\n sessionType\n cameraPlacement\n videoLink\n description\n instructionsPointOfInterest\n instructionsMovementReport\n laterality\n thresholds {\n id\n kind\n min\n max\n partKind\n partId\n partDimension\n }\n sensorLocations\n useCases {\n id\n name\n }\n categories {\n ...LibraryModuleCategory\n }\n quantumOwned\n metadataGroups {\n ...MetadataGroup\n }\n }\n"): (typeof documents)["\n fragment AssessmentAction on Action {\n id\n name\n activityKind\n activityType\n sessionType\n cameraPlacement\n videoLink\n description\n instructionsPointOfInterest\n instructionsMovementReport\n laterality\n thresholds {\n id\n kind\n min\n max\n partKind\n partId\n partDimension\n }\n sensorLocations\n useCases {\n id\n name\n }\n categories {\n ...LibraryModuleCategory\n }\n quantumOwned\n metadataGroups {\n ...MetadataGroup\n }\n }\n"];
83
86
  /**
84
87
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
85
88
  */
@@ -132,6 +135,14 @@ export declare function graphql(source: "\n fragment ReviewTestReport on TestRe
132
135
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
133
136
  */
134
137
  export declare function graphql(source: "\n fragment UserGroup on Group {\n id\n name\n imageUrl\n quantumOwned\n }\n"): (typeof documents)["\n fragment UserGroup on Group {\n id\n name\n imageUrl\n quantumOwned\n }\n"];
138
+ /**
139
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
140
+ */
141
+ export declare function graphql(source: "\n fragment MetadataGroup on MetadataGroup {\n key\n data {\n ...MetadataItem\n }\n }\n"): (typeof documents)["\n fragment MetadataGroup on MetadataGroup {\n key\n data {\n ...MetadataItem\n }\n }\n"];
142
+ /**
143
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
144
+ */
145
+ export declare function graphql(source: "\n fragment MetadataItem on MetadataItem {\n id\n label\n value\n sort\n }\n"): (typeof documents)["\n fragment MetadataItem on MetadataItem {\n id\n label\n value\n sort\n }\n"];
135
146
  /**
136
147
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
137
148
  */
@@ -260,6 +271,10 @@ export declare function graphql(source: "\n query getModulesByGroup($groupId: I
260
271
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
261
272
  */
262
273
  export declare function graphql(source: "\n query getActionsByGroup($groupId: ID!) {\n group(id: $groupId) {\n name\n }\n\n actions(groupId: $groupId) {\n ...AssessmentAction\n }\n }\n"): (typeof documents)["\n query getActionsByGroup($groupId: ID!) {\n group(id: $groupId) {\n name\n }\n\n actions(groupId: $groupId) {\n ...AssessmentAction\n }\n }\n"];
274
+ /**
275
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
276
+ */
277
+ export declare function graphql(source: "\n query getMetadataByKey($key: String!) {\n getMetadataByKey(key: $key) {\n ...MetadataGroup\n }\n }\n"): (typeof documents)["\n query getMetadataByKey($key: String!) {\n getMetadataByKey(key: $key) {\n ...MetadataGroup\n }\n }\n"];
263
278
  /**
264
279
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
265
280
  */
@@ -73,6 +73,7 @@ export type Action = {
73
73
  instructionsMovementReport?: Maybe<Scalars['String']['output']>;
74
74
  instructionsPointOfInterest?: Maybe<Scalars['String']['output']>;
75
75
  laterality: ActionLaterality;
76
+ metadataGroups: Array<MetadataGroup>;
76
77
  name: Scalars['String']['output'];
77
78
  quantumOwned?: Maybe<Scalars['Boolean']['output']>;
78
79
  sensorLocations: Array<SensorLocation>;
@@ -234,6 +235,7 @@ export type CreateActionInput = {
234
235
  instructionsMovementReport?: InputMaybe<Scalars['String']['input']>;
235
236
  instructionsPointOfInterest?: InputMaybe<Scalars['String']['input']>;
236
237
  laterality: ActionLaterality;
238
+ metadataItemIds?: InputMaybe<Array<Scalars['ID']['input']>>;
237
239
  name: Scalars['String']['input'];
238
240
  quantumOwned?: InputMaybe<Scalars['Boolean']['input']>;
239
241
  sensorLocations?: InputMaybe<Array<SensorLocation>>;
@@ -437,6 +439,18 @@ export type LoginResult = {
437
439
  session: AuthSession;
438
440
  user: CurrentUser;
439
441
  };
442
+ export type MetadataGroup = {
443
+ __typename?: 'MetadataGroup';
444
+ data: Array<MetadataItem>;
445
+ key: Scalars['String']['output'];
446
+ };
447
+ export type MetadataItem = {
448
+ __typename?: 'MetadataItem';
449
+ id: Scalars['ID']['output'];
450
+ label?: Maybe<Scalars['String']['output']>;
451
+ sort: Scalars['Int']['output'];
452
+ value: Scalars['String']['output'];
453
+ };
440
454
  export type Metric = ComparativeMetric | DiscreteMetric | ImageMetric | KeypointsMetric | PoiMetricInUnion | TableMetric;
441
455
  export type MetricInput = {
442
456
  comparative?: InputMaybe<ComparativeMetricInput>;
@@ -745,6 +759,7 @@ export type Query = {
745
759
  currentGroup?: Maybe<Group>;
746
760
  generalActivityReport?: Maybe<GeneralActivityReport>;
747
761
  getActionById?: Maybe<Action>;
762
+ getMetadataByKey: MetadataGroup;
748
763
  getQuantumOwnedData: QuantumOwnedData;
749
764
  getSessionById?: Maybe<Session>;
750
765
  getTest?: Maybe<Test>;
@@ -784,6 +799,9 @@ export type QueryGeneralActivityReportArgs = {
784
799
  export type QueryGetActionByIdArgs = {
785
800
  id: Scalars['ID']['input'];
786
801
  };
802
+ export type QueryGetMetadataByKeyArgs = {
803
+ key: Scalars['String']['input'];
804
+ };
787
805
  export type QueryGetSessionByIdArgs = {
788
806
  id: Scalars['ID']['input'];
789
807
  };
@@ -1199,6 +1217,7 @@ export type UpdateActionInput = {
1199
1217
  instructionsMovementReport?: InputMaybe<Scalars['String']['input']>;
1200
1218
  instructionsPointOfInterest?: InputMaybe<Scalars['String']['input']>;
1201
1219
  laterality?: InputMaybe<ActionLaterality>;
1220
+ metadataItemIds?: InputMaybe<Array<Scalars['ID']['input']>>;
1202
1221
  name?: InputMaybe<Scalars['String']['input']>;
1203
1222
  quantumOwned?: InputMaybe<Scalars['Boolean']['input']>;
1204
1223
  sensorLocations?: InputMaybe<Array<SensorLocation>>;
@@ -1324,6 +1343,13 @@ export type AssessmentActionFragment = {
1324
1343
  'LibraryModuleCategoryFragment': LibraryModuleCategoryFragment;
1325
1344
  };
1326
1345
  })>;
1346
+ metadataGroups: Array<({
1347
+ __typename?: 'MetadataGroup';
1348
+ } & {
1349
+ ' $fragmentRefs'?: {
1350
+ 'MetadataGroupFragment': MetadataGroupFragment;
1351
+ };
1352
+ })>;
1327
1353
  } & {
1328
1354
  ' $fragmentName'?: 'AssessmentActionFragment';
1329
1355
  };
@@ -1643,6 +1669,28 @@ export type UserGroupFragment = {
1643
1669
  } & {
1644
1670
  ' $fragmentName'?: 'UserGroupFragment';
1645
1671
  };
1672
+ export type MetadataGroupFragment = {
1673
+ __typename?: 'MetadataGroup';
1674
+ key: string;
1675
+ data: Array<({
1676
+ __typename?: 'MetadataItem';
1677
+ } & {
1678
+ ' $fragmentRefs'?: {
1679
+ 'MetadataItemFragment': MetadataItemFragment;
1680
+ };
1681
+ })>;
1682
+ } & {
1683
+ ' $fragmentName'?: 'MetadataGroupFragment';
1684
+ };
1685
+ export type MetadataItemFragment = {
1686
+ __typename?: 'MetadataItem';
1687
+ id: string;
1688
+ label?: string | null;
1689
+ value: string;
1690
+ sort: number;
1691
+ } & {
1692
+ ' $fragmentName'?: 'MetadataItemFragment';
1693
+ };
1646
1694
  export type LibraryModuleActionFragment = {
1647
1695
  __typename?: 'ModuleAction';
1648
1696
  moduleId: string;
@@ -2291,6 +2339,19 @@ export type GetActionsByGroupQuery = {
2291
2339
  };
2292
2340
  })>;
2293
2341
  };
2342
+ export type GetMetadataByKeyQueryVariables = Exact<{
2343
+ key: Scalars['String']['input'];
2344
+ }>;
2345
+ export type GetMetadataByKeyQuery = {
2346
+ __typename?: 'Query';
2347
+ getMetadataByKey: ({
2348
+ __typename?: 'MetadataGroup';
2349
+ } & {
2350
+ ' $fragmentRefs'?: {
2351
+ 'MetadataGroupFragment': MetadataGroupFragment;
2352
+ };
2353
+ });
2354
+ };
2294
2355
  export type GetLibraryModulesQueryVariables = Exact<{
2295
2356
  [key: string]: never;
2296
2357
  }>;
@@ -2347,6 +2408,8 @@ export declare const BasicTestAnalysisFragmentDoc: DocumentNode<BasicTestAnalysi
2347
2408
  export declare const ReviewTestReportFragmentDoc: DocumentNode<ReviewTestReportFragment, unknown>;
2348
2409
  export declare const UserGroupFragmentDoc: DocumentNode<UserGroupFragment, unknown>;
2349
2410
  export declare const LibraryModuleCategoryFragmentDoc: DocumentNode<LibraryModuleCategoryFragment, unknown>;
2411
+ export declare const MetadataItemFragmentDoc: DocumentNode<MetadataItemFragment, unknown>;
2412
+ export declare const MetadataGroupFragmentDoc: DocumentNode<MetadataGroupFragment, unknown>;
2350
2413
  export declare const AssessmentActionFragmentDoc: DocumentNode<AssessmentActionFragment, unknown>;
2351
2414
  export declare const LibraryModuleActionFragmentDoc: DocumentNode<LibraryModuleActionFragment, unknown>;
2352
2415
  export declare const LibraryActionModuleFragmentDoc: DocumentNode<LibraryActionModuleFragment, unknown>;
@@ -2376,6 +2439,7 @@ export declare const SearchQuantumOwnedUseCasesDocument: DocumentNode<SearchQuan
2376
2439
  export declare const GetGroupsDocument: DocumentNode<GetGroupsQuery, GetGroupsQueryVariables>;
2377
2440
  export declare const GetModulesByGroupDocument: DocumentNode<GetModulesByGroupQuery, GetModulesByGroupQueryVariables>;
2378
2441
  export declare const GetActionsByGroupDocument: DocumentNode<GetActionsByGroupQuery, GetActionsByGroupQueryVariables>;
2442
+ export declare const GetMetadataByKeyDocument: DocumentNode<GetMetadataByKeyQuery, GetMetadataByKeyQueryVariables>;
2379
2443
  export declare const GetLibraryModulesDocument: DocumentNode<GetLibraryModulesQuery, GetLibraryModulesQueryVariables>;
2380
2444
  export declare const GetLibraryModuleDocument: DocumentNode<GetLibraryModuleQuery, GetLibraryModuleQueryVariables>;
2381
2445
  export declare const GetAllModuleCategoriesDocument: DocumentNode<GetAllModuleCategoriesQuery, GetAllModuleCategoriesQueryVariables>;