Merge pull request #20188 from ramonlsouza/add-sub-names
refactor: add names to unnamed queries
This commit is contained in:
commit
b709b410d5
@ -6,7 +6,7 @@ export interface WelcomeMsgsResponse {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const GET_WELCOME_MESSAGE = gql`
|
export const GET_WELCOME_MESSAGE = gql`
|
||||||
query {
|
query getWelcomeMessage{
|
||||||
user_welcomeMsgs {
|
user_welcomeMsgs {
|
||||||
welcomeMsg
|
welcomeMsg
|
||||||
welcomeMsgForModerators
|
welcomeMsgForModerators
|
||||||
|
@ -11,7 +11,7 @@ export interface UnreadChatsSubscriptionResponse {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const UNREAD_CHATS_SUBSCRIPTION = gql`
|
export const UNREAD_CHATS_SUBSCRIPTION = gql`
|
||||||
subscription {
|
subscription unreadChatsSubscription {
|
||||||
chat(
|
chat(
|
||||||
where: {
|
where: {
|
||||||
totalUnread: { _gt: 0 },
|
totalUnread: { _gt: 0 },
|
||||||
|
Loading…
Reference in New Issue
Block a user