userCurrentActive.api.ts 1.9 KB

12345678910111213141516171819202122232425262728
  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 UserCurrentAvatarActiveDocument = gql`
  7. query userCurrentAvatarActive {
  8. userCurrentAvatarActive {
  9. id
  10. default
  11. deletable
  12. initial
  13. imageFull
  14. imageResize
  15. createdAt
  16. updatedAt
  17. }
  18. }
  19. `;
  20. export function useUserCurrentAvatarActiveQuery(options: VueApolloComposable.UseQueryOptions<Types.UserCurrentAvatarActiveQuery, Types.UserCurrentAvatarActiveQueryVariables> | VueCompositionApi.Ref<VueApolloComposable.UseQueryOptions<Types.UserCurrentAvatarActiveQuery, Types.UserCurrentAvatarActiveQueryVariables>> | ReactiveFunction<VueApolloComposable.UseQueryOptions<Types.UserCurrentAvatarActiveQuery, Types.UserCurrentAvatarActiveQueryVariables>> = {}) {
  21. return VueApolloComposable.useQuery<Types.UserCurrentAvatarActiveQuery, Types.UserCurrentAvatarActiveQueryVariables>(UserCurrentAvatarActiveDocument, {}, options);
  22. }
  23. export function useUserCurrentAvatarActiveLazyQuery(options: VueApolloComposable.UseQueryOptions<Types.UserCurrentAvatarActiveQuery, Types.UserCurrentAvatarActiveQueryVariables> | VueCompositionApi.Ref<VueApolloComposable.UseQueryOptions<Types.UserCurrentAvatarActiveQuery, Types.UserCurrentAvatarActiveQueryVariables>> | ReactiveFunction<VueApolloComposable.UseQueryOptions<Types.UserCurrentAvatarActiveQuery, Types.UserCurrentAvatarActiveQueryVariables>> = {}) {
  24. return VueApolloComposable.useLazyQuery<Types.UserCurrentAvatarActiveQuery, Types.UserCurrentAvatarActiveQueryVariables>(UserCurrentAvatarActiveDocument, {}, options);
  25. }
  26. export type UserCurrentAvatarActiveQueryCompositionFunctionResult = VueApolloComposable.UseQueryReturn<Types.UserCurrentAvatarActiveQuery, Types.UserCurrentAvatarActiveQueryVariables>;