2023-09-14 00:37:40 +08:00
|
|
|
import { gql } from '@apollo/client';
|
2023-05-25 21:21:02 +08:00
|
|
|
|
|
|
|
export interface WelcomeMsgsResponse {
|
2023-09-14 00:37:40 +08:00
|
|
|
// eslint-disable-next-line camelcase
|
2023-05-25 21:21:02 +08:00
|
|
|
user_welcomeMsgs: Array<{welcomeMsg: string | null, welcomeMsgForModerators: string | null}>
|
|
|
|
}
|
|
|
|
|
|
|
|
export const GET_WELCOME_MESSAGE = gql`
|
|
|
|
query {
|
|
|
|
user_welcomeMsgs {
|
|
|
|
welcomeMsg
|
|
|
|
welcomeMsgForModerators
|
|
|
|
}
|
|
|
|
}
|
2023-09-14 00:37:40 +08:00
|
|
|
`;
|