quantum-component-library 1.4.67 → 1.4.69
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/components.cjs +1 -1
- package/dist/components.js +656 -662
- package/dist/generated/gql.d.ts +2 -2
- package/dist/generated/graphql.d.ts +29 -0
- package/dist/generated-graphql.cjs +1 -1
- package/dist/generated-graphql.js +68 -66
- package/dist/generated.cjs +1 -1
- package/dist/generated.js +5 -5
- package/dist/{graphql-kPu5QxaL.cjs → graphql-BEhru2G1.cjs} +1 -0
- package/dist/{graphql-DAkuEEbq.js → graphql-DFQnN0la.js} +5 -4
- package/dist/hooks.cjs +8 -8
- package/dist/hooks.js +136 -118
- package/dist/index.cjs +1 -1
- package/dist/index.js +138 -137
- package/dist/lib/hooks/use-graphql-client.d.ts +20 -0
- package/dist/lib/hooks/use-graphql-client.test.d.ts +1 -0
- package/dist/providers.cjs +1 -1
- package/dist/providers.js +1 -1
- package/package.json +6 -3
package/dist/generated/gql.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ type Documents = {
|
|
|
30
30
|
"\n fragment MetadataItem on MetadataItem {\n id\n label\n value\n sort\n }\n": typeof types.MetadataItemFragmentDoc;
|
|
31
31
|
"\n fragment LibraryModuleAction on ModuleAction {\n id\n moduleId\n actionId\n sortOrder\n action {\n ...AssessmentAction\n }\n reportId\n report {\n ...Report\n }\n }\n": typeof types.LibraryModuleActionFragmentDoc;
|
|
32
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 # metadataGroups can be empty if no metadata is associated with this module\n metadataGroups {\n ...MetadataGroup\n }\n }\n": typeof types.LibraryActionModuleFragmentDoc;
|
|
33
|
-
"\n fragment LibraryModuleCategory on ModuleCategory {\n id\n name\n description\n sortOrder\n }\n": typeof types.LibraryModuleCategoryFragmentDoc;
|
|
33
|
+
"\n fragment LibraryModuleCategory on ModuleCategory {\n id\n name\n description\n sortOrder\n kind\n }\n": typeof types.LibraryModuleCategoryFragmentDoc;
|
|
34
34
|
"\n fragment PoseTask on PoseTask {\n id\n taskId\n status\n attempts\n maxAttempts\n }\n": typeof types.PoseTaskFragmentDoc;
|
|
35
35
|
"\n fragment TranscodeTask on TranscodeTask {\n id\n taskId\n status\n attempts\n maxAttempts\n }\n": typeof types.TranscodeTaskFragmentDoc;
|
|
36
36
|
"\n fragment TestFile on TestFile {\n id\n videoFile\n dataFile\n videoFileFormat\n videoDataOffset\n poseTaskStatus\n postProcessingStatus\n dataSources\n poseTask {\n ...PoseTask\n }\n transcodeTask {\n ...TranscodeTask\n }\n }\n": typeof types.TestFileFragmentDoc;
|
|
@@ -156,7 +156,7 @@ export declare function graphql(source: "\n fragment LibraryActionModule on Act
|
|
|
156
156
|
/**
|
|
157
157
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
158
158
|
*/
|
|
159
|
-
export declare function graphql(source: "\n fragment LibraryModuleCategory on ModuleCategory {\n id\n name\n description\n sortOrder\n }\n"): (typeof documents)["\n fragment LibraryModuleCategory on ModuleCategory {\n id\n name\n description\n sortOrder\n }\n"];
|
|
159
|
+
export declare function graphql(source: "\n fragment LibraryModuleCategory on ModuleCategory {\n id\n name\n description\n sortOrder\n kind\n }\n"): (typeof documents)["\n fragment LibraryModuleCategory on ModuleCategory {\n id\n name\n description\n sortOrder\n kind\n }\n"];
|
|
160
160
|
/**
|
|
161
161
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
162
162
|
*/
|
|
@@ -197,6 +197,17 @@ export type AnalysisSubClassification = {
|
|
|
197
197
|
id: Scalars['ID']['output'];
|
|
198
198
|
name: Scalars['String']['output'];
|
|
199
199
|
};
|
|
200
|
+
export type AssignedReport = {
|
|
201
|
+
__typename?: 'AssignedReport';
|
|
202
|
+
autoGenerate: Scalars['Boolean']['output'];
|
|
203
|
+
createdAt: Scalars['DateString']['output'];
|
|
204
|
+
id: Scalars['ID']['output'];
|
|
205
|
+
report: Report;
|
|
206
|
+
reportId: Scalars['ID']['output'];
|
|
207
|
+
testId: Scalars['ID']['output'];
|
|
208
|
+
testReport?: Maybe<TestReportUnion>;
|
|
209
|
+
testReportId?: Maybe<Scalars['ID']['output']>;
|
|
210
|
+
};
|
|
200
211
|
export type AuthSession = {
|
|
201
212
|
__typename?: 'AuthSession';
|
|
202
213
|
accessToken: Scalars['String']['output'];
|
|
@@ -333,6 +344,7 @@ export type CreateTestInfoInput = {
|
|
|
333
344
|
};
|
|
334
345
|
export type CreateTestInput = {
|
|
335
346
|
actionId?: InputMaybe<Scalars['ID']['input']>;
|
|
347
|
+
assignedReportIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
336
348
|
comment?: InputMaybe<Scalars['String']['input']>;
|
|
337
349
|
endedAt?: InputMaybe<Scalars['Date']['input']>;
|
|
338
350
|
info: CreateTestInfoInput;
|
|
@@ -558,9 +570,15 @@ export type ModuleCategory = {
|
|
|
558
570
|
__typename?: 'ModuleCategory';
|
|
559
571
|
description?: Maybe<Scalars['String']['output']>;
|
|
560
572
|
id: Scalars['ID']['output'];
|
|
573
|
+
kind: ModuleCategoryKind;
|
|
561
574
|
name: Scalars['String']['output'];
|
|
562
575
|
sortOrder: Scalars['Int']['output'];
|
|
563
576
|
};
|
|
577
|
+
export declare enum ModuleCategoryKind {
|
|
578
|
+
All = "All",
|
|
579
|
+
Other = "Other",
|
|
580
|
+
Standard = "Standard"
|
|
581
|
+
}
|
|
564
582
|
export type MovementCoordinationReport = {
|
|
565
583
|
__typename?: 'MovementCoordinationReport';
|
|
566
584
|
averageParameterScores: Array<TestAverageParameterScore>;
|
|
@@ -688,6 +706,7 @@ export type MutationCreateAnalysisMetricsArgs = {
|
|
|
688
706
|
input: Array<CreateAnalysisMetricInput>;
|
|
689
707
|
};
|
|
690
708
|
export type MutationCreateGeneralActivityReportArgs = {
|
|
709
|
+
assignedReportId?: InputMaybe<Scalars['ID']['input']>;
|
|
691
710
|
testId: Scalars['ID']['input'];
|
|
692
711
|
testReportInput?: InputMaybe<TestReportInput>;
|
|
693
712
|
};
|
|
@@ -708,6 +727,7 @@ export type MutationCreateModuleArgs = {
|
|
|
708
727
|
input: CreateModuleInput;
|
|
709
728
|
};
|
|
710
729
|
export type MutationCreateMovementCoordinationReportArgs = {
|
|
730
|
+
assignedReportId?: InputMaybe<Scalars['ID']['input']>;
|
|
711
731
|
testId: Scalars['ID']['input'];
|
|
712
732
|
testReportInput?: InputMaybe<TestReportInput>;
|
|
713
733
|
};
|
|
@@ -723,6 +743,7 @@ export type MutationCreateOrUpdateTrialParameterMetricsArgs = {
|
|
|
723
743
|
trialParameterId: Scalars['ID']['input'];
|
|
724
744
|
};
|
|
725
745
|
export type MutationCreateRangeReportArgs = {
|
|
746
|
+
assignedReportId?: InputMaybe<Scalars['ID']['input']>;
|
|
726
747
|
testId: Scalars['ID']['input'];
|
|
727
748
|
testReportInput?: InputMaybe<TestReportInput>;
|
|
728
749
|
};
|
|
@@ -737,6 +758,7 @@ export type MutationCreateSessionArgs = {
|
|
|
737
758
|
input: CreateSessionInput;
|
|
738
759
|
};
|
|
739
760
|
export type MutationCreateStabilityBalanceReportArgs = {
|
|
761
|
+
assignedReportId?: InputMaybe<Scalars['ID']['input']>;
|
|
740
762
|
testId: Scalars['ID']['input'];
|
|
741
763
|
testReportInput?: InputMaybe<TestReportInput>;
|
|
742
764
|
};
|
|
@@ -914,6 +936,7 @@ export type Query = {
|
|
|
914
936
|
__typename?: 'Query';
|
|
915
937
|
actions: Array<Action>;
|
|
916
938
|
analysisClassifications: Array<AnalysisClassification>;
|
|
939
|
+
assignedReport?: Maybe<AssignedReport>;
|
|
917
940
|
currentGroup?: Maybe<Group>;
|
|
918
941
|
generalActivityReport?: Maybe<GeneralActivityReport>;
|
|
919
942
|
getActionById?: Maybe<Action>;
|
|
@@ -956,6 +979,9 @@ export type Query = {
|
|
|
956
979
|
export type QueryActionsArgs = {
|
|
957
980
|
groupId?: InputMaybe<Scalars['ID']['input']>;
|
|
958
981
|
};
|
|
982
|
+
export type QueryAssignedReportArgs = {
|
|
983
|
+
id: Scalars['ID']['input'];
|
|
984
|
+
};
|
|
959
985
|
export type QueryGeneralActivityReportArgs = {
|
|
960
986
|
id: Scalars['ID']['input'];
|
|
961
987
|
};
|
|
@@ -1197,6 +1223,7 @@ export type Test = {
|
|
|
1197
1223
|
__typename?: 'Test';
|
|
1198
1224
|
action?: Maybe<Action>;
|
|
1199
1225
|
analysis: Array<TestAnalysisSummary>;
|
|
1226
|
+
assignedReports: Array<AssignedReport>;
|
|
1200
1227
|
/** @deprecated This defaults to a report within a test, use the report-specific queries instead. */
|
|
1201
1228
|
averageParameterScores: Array<TestAverageParameterScore>;
|
|
1202
1229
|
comment?: Maybe<Scalars['String']['output']>;
|
|
@@ -1465,6 +1492,7 @@ export type UpdateRoutineInput = {
|
|
|
1465
1492
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
1466
1493
|
};
|
|
1467
1494
|
export type UpdateTestInput = {
|
|
1495
|
+
actionId?: InputMaybe<Scalars['ID']['input']>;
|
|
1468
1496
|
comment?: InputMaybe<Scalars['String']['input']>;
|
|
1469
1497
|
endedAt?: InputMaybe<Scalars['Date']['input']>;
|
|
1470
1498
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1985,6 +2013,7 @@ export type LibraryModuleCategoryFragment = {
|
|
|
1985
2013
|
name: string;
|
|
1986
2014
|
description?: string | null;
|
|
1987
2015
|
sortOrder: number;
|
|
2016
|
+
kind: ModuleCategoryKind;
|
|
1988
2017
|
} & {
|
|
1989
2018
|
' $fragmentName'?: 'LibraryModuleCategoryFragment';
|
|
1990
2019
|
};
|