123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- import * as Types from '#shared/graphql/types.ts';
- import gql from 'graphql-tag';
- import * as VueApolloComposable from '@vue/apollo-composable';
- import * as VueCompositionApi from 'vue';
- export type ReactiveFunction<TParam> = () => TParam;
- export const OnlineNotificationsDocument = gql`
- query onlineNotifications {
- onlineNotifications {
- edges {
- node {
- id
- seen
- createdAt
- createdBy {
- id
- fullname
- lastname
- firstname
- email
- vip
- outOfOffice
- outOfOfficeStartAt
- outOfOfficeEndAt
- active
- image
- }
- typeName
- objectName
- metaObject {
- ... on Ticket {
- id
- internalId
- title
- }
- }
- }
- cursor
- }
- pageInfo {
- endCursor
- hasNextPage
- }
- }
- }
- `;
- export function useOnlineNotificationsQuery(options: VueApolloComposable.UseQueryOptions<Types.OnlineNotificationsQuery, Types.OnlineNotificationsQueryVariables> | VueCompositionApi.Ref<VueApolloComposable.UseQueryOptions<Types.OnlineNotificationsQuery, Types.OnlineNotificationsQueryVariables>> | ReactiveFunction<VueApolloComposable.UseQueryOptions<Types.OnlineNotificationsQuery, Types.OnlineNotificationsQueryVariables>> = {}) {
- return VueApolloComposable.useQuery<Types.OnlineNotificationsQuery, Types.OnlineNotificationsQueryVariables>(OnlineNotificationsDocument, {}, options);
- }
- export function useOnlineNotificationsLazyQuery(options: VueApolloComposable.UseQueryOptions<Types.OnlineNotificationsQuery, Types.OnlineNotificationsQueryVariables> | VueCompositionApi.Ref<VueApolloComposable.UseQueryOptions<Types.OnlineNotificationsQuery, Types.OnlineNotificationsQueryVariables>> | ReactiveFunction<VueApolloComposable.UseQueryOptions<Types.OnlineNotificationsQuery, Types.OnlineNotificationsQueryVariables>> = {}) {
- return VueApolloComposable.useLazyQuery<Types.OnlineNotificationsQuery, Types.OnlineNotificationsQueryVariables>(OnlineNotificationsDocument, {}, options);
- }
- export type OnlineNotificationsQueryCompositionFunctionResult = VueApolloComposable.UseQueryReturn<Types.OnlineNotificationsQuery, Types.OnlineNotificationsQueryVariables>;
|