macrosUpdate.api.ts 1.1 KB

123456789101112131415161718
  1. import * as Types from '#shared/graphql/types.ts';
  2. import gql from 'graphql-tag';
  3. import * as VueApolloComposable from '@vue/apollo-composable';
  4. import * as VueCompositionApi from 'vue';
  5. export type ReactiveFunction<TParam> = () => TParam;
  6. export const MacrosUpdateDocument = gql`
  7. subscription macrosUpdate {
  8. macrosUpdate {
  9. macroUpdated
  10. }
  11. }
  12. `;
  13. export function useMacrosUpdateSubscription(options: VueApolloComposable.UseSubscriptionOptions<Types.MacrosUpdateSubscription, Types.MacrosUpdateSubscriptionVariables> | VueCompositionApi.Ref<VueApolloComposable.UseSubscriptionOptions<Types.MacrosUpdateSubscription, Types.MacrosUpdateSubscriptionVariables>> | ReactiveFunction<VueApolloComposable.UseSubscriptionOptions<Types.MacrosUpdateSubscription, Types.MacrosUpdateSubscriptionVariables>> = {}) {
  14. return VueApolloComposable.useSubscription<Types.MacrosUpdateSubscription, Types.MacrosUpdateSubscriptionVariables>(MacrosUpdateDocument, {}, options);
  15. }
  16. export type MacrosUpdateSubscriptionCompositionFunctionResult = VueApolloComposable.UseSubscriptionReturn<Types.MacrosUpdateSubscription, Types.MacrosUpdateSubscriptionVariables>;