ticketSharedDraftStartUpdateByGroup.api.ts 2.0 KB

123456789101112131415161718192021
  1. import * as Types from '#shared/graphql/types.ts';
  2. import gql from 'graphql-tag';
  3. import { TicketSharedDraftStartAttributesFragmentDoc } from '../fragments/ticketSharedDraftStartAttributes.api';
  4. import * as VueApolloComposable from '@vue/apollo-composable';
  5. import * as VueCompositionApi from 'vue';
  6. export type ReactiveFunction<TParam> = () => TParam;
  7. export const TicketSharedDraftStartUpdateByGroupDocument = gql`
  8. subscription ticketSharedDraftStartUpdateByGroup($groupId: ID!) {
  9. ticketSharedDraftStartUpdateByGroup(groupId: $groupId) {
  10. sharedDraftStarts {
  11. ...ticketSharedDraftStartAttributes
  12. }
  13. }
  14. }
  15. ${TicketSharedDraftStartAttributesFragmentDoc}`;
  16. export function useTicketSharedDraftStartUpdateByGroupSubscription(variables: Types.TicketSharedDraftStartUpdateByGroupSubscriptionVariables | VueCompositionApi.Ref<Types.TicketSharedDraftStartUpdateByGroupSubscriptionVariables> | ReactiveFunction<Types.TicketSharedDraftStartUpdateByGroupSubscriptionVariables>, options: VueApolloComposable.UseSubscriptionOptions<Types.TicketSharedDraftStartUpdateByGroupSubscription, Types.TicketSharedDraftStartUpdateByGroupSubscriptionVariables> | VueCompositionApi.Ref<VueApolloComposable.UseSubscriptionOptions<Types.TicketSharedDraftStartUpdateByGroupSubscription, Types.TicketSharedDraftStartUpdateByGroupSubscriptionVariables>> | ReactiveFunction<VueApolloComposable.UseSubscriptionOptions<Types.TicketSharedDraftStartUpdateByGroupSubscription, Types.TicketSharedDraftStartUpdateByGroupSubscriptionVariables>> = {}) {
  17. return VueApolloComposable.useSubscription<Types.TicketSharedDraftStartUpdateByGroupSubscription, Types.TicketSharedDraftStartUpdateByGroupSubscriptionVariables>(TicketSharedDraftStartUpdateByGroupDocument, variables, options);
  18. }
  19. export type TicketSharedDraftStartUpdateByGroupSubscriptionCompositionFunctionResult = VueApolloComposable.UseSubscriptionReturn<Types.TicketSharedDraftStartUpdateByGroupSubscription, Types.TicketSharedDraftStartUpdateByGroupSubscriptionVariables>;