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,
|
|
|
|
)
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
|
2024-01-12 00:32:32 +08:00
|
|
|
export const SET_WEBCAM_ONLY_FOR_MODERATOR = gql`
|
|
|
|
mutation SetWebcamOnlyForModerator($webcamsOnlyForModerator: Boolean!) {
|
|
|
|
meetingSetWebcamOnlyForModerator(
|
|
|
|
webcamsOnlyForModerator: $webcamsOnlyForModerator,
|
|
|
|
)
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
|
|
|
|
export default { SET_LOCK_SETTINGS_PROPS, SET_WEBCAM_ONLY_FOR_MODERATOR };
|