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
|
|
|
|
)
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
|
2024-06-13 00:06:07 +08:00
|
|
|
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,
|
2024-06-13 00:06:07 +08:00
|
|
|
USER_SET_SPEECH_OPTIONS,
|
2024-01-29 20:49:40 +08:00
|
|
|
};
|