|  | @@ -1534,6 +1534,7 @@ export type Mutation = {
 | 
											
												
													
														|  |    resetPassword: User,
 |  |    resetPassword: User,
 | 
											
												
													
														|  |    register: Scalars['String'],
 |  |    register: Scalars['String'],
 | 
											
												
													
														|  |    deregister: Scalars['String'],
 |  |    deregister: Scalars['String'],
 | 
											
												
													
														|  | 
 |  | +  publish: Scalars['String'],
 | 
											
												
													
														|  |  };
 |  |  };
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -1621,6 +1622,12 @@ export type MutationDeregisterArgs = {
 | 
											
												
													
														|  |    training: Scalars['ID']
 |  |    training: Scalars['ID']
 | 
											
												
													
														|  |  };
 |  |  };
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +export type MutationPublishArgs = {
 | 
											
												
													
														|  | 
 |  | +  training: Scalars['ID'],
 | 
											
												
													
														|  | 
 |  | +  status?: Maybe<Scalars['Boolean']>
 | 
											
												
													
														|  | 
 |  | +};
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |  /** An object with an ID */
 |  |  /** An object with an ID */
 | 
											
												
													
														|  |  export type Node = {
 |  |  export type Node = {
 | 
											
												
													
														|  |    /** The id of the object. */
 |  |    /** The id of the object. */
 | 
											
										
											
												
													
														|  | @@ -3528,6 +3535,21 @@ export type RegisterMutationVariables = {
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  export type RegisterMutation = Pick<Mutation, 'register'>;
 |  |  export type RegisterMutation = Pick<Mutation, 'register'>;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | 
 |  | +export type DeregisterMutationVariables = {
 | 
											
												
													
														|  | 
 |  | +  training: Scalars['ID']
 | 
											
												
													
														|  | 
 |  | +};
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +export type DeregisterMutation = Pick<Mutation, 'deregister'>;
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +export type PublishMutationVariables = {
 | 
											
												
													
														|  | 
 |  | +  training: Scalars['ID'],
 | 
											
												
													
														|  | 
 |  | +  status?: Maybe<Scalars['Boolean']>
 | 
											
												
													
														|  | 
 |  | +};
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +export type PublishMutation = Pick<Mutation, 'publish'>;
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |  export type UsersQueryVariables = {};
 |  |  export type UsersQueryVariables = {};
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -4196,6 +4218,67 @@ export function useRegisterMutation(baseOptions?: ApolloReactHooks.MutationHookO
 | 
											
												
													
														|  |  export type RegisterMutationHookResult = ReturnType<typeof useRegisterMutation>;
 |  |  export type RegisterMutationHookResult = ReturnType<typeof useRegisterMutation>;
 | 
											
												
													
														|  |  export type RegisterMutationResult = ApolloReactCommon.MutationResult<RegisterMutation>;
 |  |  export type RegisterMutationResult = ApolloReactCommon.MutationResult<RegisterMutation>;
 | 
											
												
													
														|  |  export type RegisterMutationOptions = ApolloReactCommon.BaseMutationOptions<RegisterMutation, RegisterMutationVariables>;
 |  |  export type RegisterMutationOptions = ApolloReactCommon.BaseMutationOptions<RegisterMutation, RegisterMutationVariables>;
 | 
											
												
													
														|  | 
 |  | +export const DeregisterDocument = gql`
 | 
											
												
													
														|  | 
 |  | +    mutation deregister($training: ID!) {
 | 
											
												
													
														|  | 
 |  | +  deregister(training: $training)
 | 
											
												
													
														|  | 
 |  | +}
 | 
											
												
													
														|  | 
 |  | +    `;
 | 
											
												
													
														|  | 
 |  | +export type DeregisterMutationFn = ApolloReactCommon.MutationFunction<DeregisterMutation, DeregisterMutationVariables>;
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +/**
 | 
											
												
													
														|  | 
 |  | + * __useDeregisterMutation__
 | 
											
												
													
														|  | 
 |  | + *
 | 
											
												
													
														|  | 
 |  | + * To run a mutation, you first call `useDeregisterMutation` within a React component and pass it any options that fit your needs.
 | 
											
												
													
														|  | 
 |  | + * When your component renders, `useDeregisterMutation` returns a tuple that includes:
 | 
											
												
													
														|  | 
 |  | + * - A mutate function that you can call at any time to execute the mutation
 | 
											
												
													
														|  | 
 |  | + * - An object with fields that represent the current status of the mutation's execution
 | 
											
												
													
														|  | 
 |  | + *
 | 
											
												
													
														|  | 
 |  | + * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
 | 
											
												
													
														|  | 
 |  | + *
 | 
											
												
													
														|  | 
 |  | + * @example
 | 
											
												
													
														|  | 
 |  | + * const [deregisterMutation, { data, loading, error }] = useDeregisterMutation({
 | 
											
												
													
														|  | 
 |  | + *   variables: {
 | 
											
												
													
														|  | 
 |  | + *      training: // value for 'training'
 | 
											
												
													
														|  | 
 |  | + *   },
 | 
											
												
													
														|  | 
 |  | + * });
 | 
											
												
													
														|  | 
 |  | + */
 | 
											
												
													
														|  | 
 |  | +export function useDeregisterMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<DeregisterMutation, DeregisterMutationVariables>) {
 | 
											
												
													
														|  | 
 |  | +        return ApolloReactHooks.useMutation<DeregisterMutation, DeregisterMutationVariables>(DeregisterDocument, baseOptions);
 | 
											
												
													
														|  | 
 |  | +      }
 | 
											
												
													
														|  | 
 |  | +export type DeregisterMutationHookResult = ReturnType<typeof useDeregisterMutation>;
 | 
											
												
													
														|  | 
 |  | +export type DeregisterMutationResult = ApolloReactCommon.MutationResult<DeregisterMutation>;
 | 
											
												
													
														|  | 
 |  | +export type DeregisterMutationOptions = ApolloReactCommon.BaseMutationOptions<DeregisterMutation, DeregisterMutationVariables>;
 | 
											
												
													
														|  | 
 |  | +export const PublishDocument = gql`
 | 
											
												
													
														|  | 
 |  | +    mutation publish($training: ID!, $status: Boolean) {
 | 
											
												
													
														|  | 
 |  | +  publish(training: $training, status: $status)
 | 
											
												
													
														|  | 
 |  | +}
 | 
											
												
													
														|  | 
 |  | +    `;
 | 
											
												
													
														|  | 
 |  | +export type PublishMutationFn = ApolloReactCommon.MutationFunction<PublishMutation, PublishMutationVariables>;
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +/**
 | 
											
												
													
														|  | 
 |  | + * __usePublishMutation__
 | 
											
												
													
														|  | 
 |  | + *
 | 
											
												
													
														|  | 
 |  | + * To run a mutation, you first call `usePublishMutation` within a React component and pass it any options that fit your needs.
 | 
											
												
													
														|  | 
 |  | + * When your component renders, `usePublishMutation` returns a tuple that includes:
 | 
											
												
													
														|  | 
 |  | + * - A mutate function that you can call at any time to execute the mutation
 | 
											
												
													
														|  | 
 |  | + * - An object with fields that represent the current status of the mutation's execution
 | 
											
												
													
														|  | 
 |  | + *
 | 
											
												
													
														|  | 
 |  | + * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
 | 
											
												
													
														|  | 
 |  | + *
 | 
											
												
													
														|  | 
 |  | + * @example
 | 
											
												
													
														|  | 
 |  | + * const [publishMutation, { data, loading, error }] = usePublishMutation({
 | 
											
												
													
														|  | 
 |  | + *   variables: {
 | 
											
												
													
														|  | 
 |  | + *      training: // value for 'training'
 | 
											
												
													
														|  | 
 |  | + *      status: // value for 'status'
 | 
											
												
													
														|  | 
 |  | + *   },
 | 
											
												
													
														|  | 
 |  | + * });
 | 
											
												
													
														|  | 
 |  | + */
 | 
											
												
													
														|  | 
 |  | +export function usePublishMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<PublishMutation, PublishMutationVariables>) {
 | 
											
												
													
														|  | 
 |  | +        return ApolloReactHooks.useMutation<PublishMutation, PublishMutationVariables>(PublishDocument, baseOptions);
 | 
											
												
													
														|  | 
 |  | +      }
 | 
											
												
													
														|  | 
 |  | +export type PublishMutationHookResult = ReturnType<typeof usePublishMutation>;
 | 
											
												
													
														|  | 
 |  | +export type PublishMutationResult = ApolloReactCommon.MutationResult<PublishMutation>;
 | 
											
												
													
														|  | 
 |  | +export type PublishMutationOptions = ApolloReactCommon.BaseMutationOptions<PublishMutation, PublishMutationVariables>;
 | 
											
												
													
														|  |  export const UsersDocument = gql`
 |  |  export const UsersDocument = gql`
 | 
											
												
													
														|  |      query Users {
 |  |      query Users {
 | 
											
												
													
														|  |    users {
 |  |    users {
 |