userCurrentOverviewOrderingUpdates.api.ts 1.8 KB

123456789101112131415161718192021
  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 UserCurrentOverviewOrderingUpdatesDocument = gql`
  7. subscription userCurrentOverviewOrderingUpdates($userId: ID!) {
  8. userCurrentOverviewOrderingUpdates(userId: $userId) {
  9. overviews {
  10. id
  11. name
  12. }
  13. }
  14. }
  15. `;
  16. export function useUserCurrentOverviewOrderingUpdatesSubscription(variables: Types.UserCurrentOverviewOrderingUpdatesSubscriptionVariables | VueCompositionApi.Ref<Types.UserCurrentOverviewOrderingUpdatesSubscriptionVariables> | ReactiveFunction<Types.UserCurrentOverviewOrderingUpdatesSubscriptionVariables>, options: VueApolloComposable.UseSubscriptionOptions<Types.UserCurrentOverviewOrderingUpdatesSubscription, Types.UserCurrentOverviewOrderingUpdatesSubscriptionVariables> | VueCompositionApi.Ref<VueApolloComposable.UseSubscriptionOptions<Types.UserCurrentOverviewOrderingUpdatesSubscription, Types.UserCurrentOverviewOrderingUpdatesSubscriptionVariables>> | ReactiveFunction<VueApolloComposable.UseSubscriptionOptions<Types.UserCurrentOverviewOrderingUpdatesSubscription, Types.UserCurrentOverviewOrderingUpdatesSubscriptionVariables>> = {}) {
  17. return VueApolloComposable.useSubscription<Types.UserCurrentOverviewOrderingUpdatesSubscription, Types.UserCurrentOverviewOrderingUpdatesSubscriptionVariables>(UserCurrentOverviewOrderingUpdatesDocument, variables, options);
  18. }
  19. export type UserCurrentOverviewOrderingUpdatesSubscriptionCompositionFunctionResult = VueApolloComposable.UseSubscriptionReturn<Types.UserCurrentOverviewOrderingUpdatesSubscription, Types.UserCurrentOverviewOrderingUpdatesSubscriptionVariables>;