bigbluebutton-Github/bigbluebutton-html5/imports/ui/services/settings/hooks/mutations.ts

19 lines
350 B
TypeScript
Raw Normal View History

2024-01-30 21:03:11 +08:00
import { gql } from '@apollo/client';
export const USER_CHANGED_LOCAL_SETTINGS = gql`
mutation UserChangedLocalSettings($settings: jsonb!) {
update_user_clientSettings(
where: {},
_set: {
userClientSettingsJson: $settings
}
) {
affected_rows
}
}
`;
export default {
USER_CHANGED_LOCAL_SETTINGS,
};