bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/audio/audio-graphql/mutations.ts

28 lines
553 B
TypeScript
Raw Normal View History

2024-01-29 20:49:40 +08:00
import { gql } from '@apollo/client';
export const USER_SET_MUTED = gql`
mutation UserSetMuted($userId: String, $muted: Boolean!) {
userSetMuted(
userId: $userId,
muted: $muted
)
}
`;
export const USER_SET_SPEECH_OPTIONS = gql`
mutation UserSetSpeechOptions(
$partialUtterances: Boolean!
$minUtteranceLength: Float!
) {
userSetSpeechOptions(
partialUtterances: $partialUtterances
minUtteranceLength: $minUtteranceLength
)
}
`;
2024-01-29 20:49:40 +08:00
export default {
USER_SET_MUTED,
USER_SET_SPEECH_OPTIONS,
2024-01-29 20:49:40 +08:00
};