userCurrentTaskbarItemStateUpdates.api.ts 1.8 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 UserCurrentTaskbarItemStateUpdatesDocument = gql`
  7. subscription userCurrentTaskbarItemStateUpdates($taskbarItemId: ID!) {
  8. userCurrentTaskbarItemStateUpdates(taskbarItemId: $taskbarItemId) {
  9. stateChanged
  10. }
  11. }
  12. `;
  13. export function useUserCurrentTaskbarItemStateUpdatesSubscription(variables: Types.UserCurrentTaskbarItemStateUpdatesSubscriptionVariables | VueCompositionApi.Ref<Types.UserCurrentTaskbarItemStateUpdatesSubscriptionVariables> | ReactiveFunction<Types.UserCurrentTaskbarItemStateUpdatesSubscriptionVariables>, options: VueApolloComposable.UseSubscriptionOptions<Types.UserCurrentTaskbarItemStateUpdatesSubscription, Types.UserCurrentTaskbarItemStateUpdatesSubscriptionVariables> | VueCompositionApi.Ref<VueApolloComposable.UseSubscriptionOptions<Types.UserCurrentTaskbarItemStateUpdatesSubscription, Types.UserCurrentTaskbarItemStateUpdatesSubscriptionVariables>> | ReactiveFunction<VueApolloComposable.UseSubscriptionOptions<Types.UserCurrentTaskbarItemStateUpdatesSubscription, Types.UserCurrentTaskbarItemStateUpdatesSubscriptionVariables>> = {}) {
  14. return VueApolloComposable.useSubscription<Types.UserCurrentTaskbarItemStateUpdatesSubscription, Types.UserCurrentTaskbarItemStateUpdatesSubscriptionVariables>(UserCurrentTaskbarItemStateUpdatesDocument, variables, options);
  15. }
  16. export type UserCurrentTaskbarItemStateUpdatesSubscriptionCompositionFunctionResult = VueApolloComposable.UseSubscriptionReturn<Types.UserCurrentTaskbarItemStateUpdatesSubscription, Types.UserCurrentTaskbarItemStateUpdatesSubscriptionVariables>;