|
@@ -4706,7 +4706,15 @@ export type TrainingsQueryVariables = {
|
|
|
|
|
|
export type TrainingsQuery = { trainings: Array<DisplayTrainingFragment> };
|
|
export type TrainingsQuery = { trainings: Array<DisplayTrainingFragment> };
|
|
|
|
|
|
-export type TrainingTypesQueryVariables = {};
|
|
|
|
|
|
+export type TrainingTypesQueryVariables = {
|
|
|
|
+ where?: Maybe<TrainingTypeWhereInput>,
|
|
|
|
+ orderBy?: Maybe<TrainingTypeOrderByInput>,
|
|
|
|
+ skip?: Maybe<Scalars['Int']>,
|
|
|
|
+ after?: Maybe<Scalars['String']>,
|
|
|
|
+ before?: Maybe<Scalars['String']>,
|
|
|
|
+ first?: Maybe<Scalars['Int']>,
|
|
|
|
+ last?: Maybe<Scalars['Int']>
|
|
|
|
+};
|
|
|
|
|
|
|
|
|
|
export type TrainingTypesQuery = { trainingTypes: Array<Pick<TrainingType, 'id' | 'name' | 'description'>> };
|
|
export type TrainingTypesQuery = { trainingTypes: Array<Pick<TrainingType, 'id' | 'name' | 'description'>> };
|
|
@@ -5490,8 +5498,8 @@ export type TrainingsQueryHookResult = ReturnType<typeof useTrainingsQuery>;
|
|
export type TrainingsLazyQueryHookResult = ReturnType<typeof useTrainingsLazyQuery>;
|
|
export type TrainingsLazyQueryHookResult = ReturnType<typeof useTrainingsLazyQuery>;
|
|
export type TrainingsQueryResult = ApolloReactCommon.QueryResult<TrainingsQuery, TrainingsQueryVariables>;
|
|
export type TrainingsQueryResult = ApolloReactCommon.QueryResult<TrainingsQuery, TrainingsQueryVariables>;
|
|
export const TrainingTypesDocument = gql`
|
|
export const TrainingTypesDocument = gql`
|
|
- query trainingTypes {
|
|
|
|
- trainingTypes {
|
|
|
|
|
|
+ query trainingTypes($where: TrainingTypeWhereInput, $orderBy: TrainingTypeOrderByInput, $skip: Int, $after: String, $before: String, $first: Int, $last: Int) {
|
|
|
|
+ trainingTypes(where: $where, orderBy: $orderBy, skip: $skip, after: $after, before: $before, first: $first, last: $last) {
|
|
id
|
|
id
|
|
name
|
|
name
|
|
description
|
|
description
|
|
@@ -5511,6 +5519,13 @@ export const TrainingTypesDocument = gql`
|
|
* @example
|
|
* @example
|
|
* const { data, loading, error } = useTrainingTypesQuery({
|
|
* const { data, loading, error } = useTrainingTypesQuery({
|
|
* variables: {
|
|
* variables: {
|
|
|
|
+ * where: // value for 'where'
|
|
|
|
+ * orderBy: // value for 'orderBy'
|
|
|
|
+ * skip: // value for 'skip'
|
|
|
|
+ * after: // value for 'after'
|
|
|
|
+ * before: // value for 'before'
|
|
|
|
+ * first: // value for 'first'
|
|
|
|
+ * last: // value for 'last'
|
|
* },
|
|
* },
|
|
* });
|
|
* });
|
|
*/
|
|
*/
|