bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/audio/audio-graphql/mutations.ts
Lucas 9bf3f54183
feat: Initial BBB 3.0 Gladia transcriptions implementation (#20295)
* feat(html5): initial implementation of Gladia transcriptions to BBB 3.0

* fix(transcription): Add missing locales and fix invalid cc menu key

* fix(bbb-transcription-controller): Bump transcription controller to fix some bugs

* fix: adjust yq syntax for setting fs esl password in transctiption-controller

* fix(transcription): Use newer useSettings format from transcription options

* fix(captions): Correctly use captions settings

---------

Co-authored-by: João Victor <joaovictornunes973@gmail.com>
Co-authored-by: Anton Georgiev <anto.georgiev@gmail.com>
Co-authored-by: Ramón Souza <contato@ramonsouza.com>
2024-06-12 12:06:07 -04:00

28 lines
553 B
TypeScript

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
)
}
`;
export default {
USER_SET_MUTED,
USER_SET_SPEECH_OPTIONS,
};