bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/lock-viewers/mutations.jsx

31 lines
937 B
React
Raw Normal View History

2024-01-11 21:57:51 +08:00
import { gql } from '@apollo/client';
export const SET_LOCK_SETTINGS_PROPS = gql`
mutation SetLockSettings(
$disableCam: Boolean!,
$disableMic: Boolean!,
$disablePrivChat: Boolean!,
$disablePubChat: Boolean!,
$disableNotes: Boolean!,
$hideUserList: Boolean!,
$lockOnJoin: Boolean!,
$lockOnJoinConfigurable: Boolean!,
$hideViewersCursor: Boolean!,
$hideViewersAnnotation: Boolean!) {
meetingLockSettingsSetProps(
disableCam: $disableCam,
disableMic: $disableMic,
disablePrivChat: $disablePrivChat,
disablePubChat: $disablePubChat,
disableNotes: $disableNotes,
hideUserList: $hideUserList,
lockOnJoin: $lockOnJoin,
lockOnJoinConfigurable: $lockOnJoinConfigurable,
hideViewersCursor: $hideViewersCursor,
hideViewersAnnotation: $hideViewersAnnotation,
)
}
`;
export default { SET_LOCK_SETTINGS_PROPS };