mirror of
https://github.com/wassname/talk.git
synced 2026-06-28 14:32:08 +08:00
24 lines
524 B
JavaScript
24 lines
524 B
JavaScript
import { gql } from 'react-apollo';
|
|
|
|
export default {
|
|
fragments: {
|
|
UpdateNotificationSettingsResponse: gql`
|
|
fragment Talk_UpdateNotificationSettingsResponse on UpdateNotificationSettingsResponse {
|
|
errors {
|
|
translation_key
|
|
}
|
|
}
|
|
`,
|
|
},
|
|
mutations: {
|
|
UpdateNotificationSettings: () => ({
|
|
optimisticResponse: {
|
|
updateNotificationSettings: {
|
|
__typename: 'UpdateNotificationSettingsResponse',
|
|
errors: null,
|
|
},
|
|
},
|
|
}),
|
|
},
|
|
};
|