add names to queries

This commit is contained in:
Ramón Souza 2024-05-07 13:26:56 -03:00
parent 4b91675658
commit 699c056709
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ export interface WelcomeMsgsResponse {
}
export const GET_WELCOME_MESSAGE = gql`
query {
query getWelcomeMessage{
user_welcomeMsgs {
welcomeMsg
welcomeMsgForModerators

View File

@ -11,7 +11,7 @@ export interface UnreadChatsSubscriptionResponse {
}
export const UNREAD_CHATS_SUBSCRIPTION = gql`
subscription {
subscription unreadChatsSubscription {
chat(
where: {
totalUnread: { _gt: 0 },