bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/breakout-room/mutations.tsx
2024-01-15 09:47:17 -03:00

30 lines
701 B
TypeScript

import { gql } from '@apollo/client';
export const BREAKOUT_ROOM_CREATE = gql`
mutation BreakoutRoomCreate(
$record: Boolean!,
$captureNotes: Boolean!,
$captureSlides: Boolean!,
$durationInMinutes: Int!,
$sendInviteToModerators: Boolean!,
$rooms: [BreakoutRoom]!,
) {
breakoutRoomCreate(
record: $record,
captureNotes: $captureNotes,
captureSlides: $captureSlides,
durationInMinutes: $durationInMinutes,
sendInviteToModerators: $sendInviteToModerators,
rooms: $rooms,
)
}
`;
export const BREAKOUT_ROOM_END_ALL = gql`
mutation {
breakoutRoomEndAll
}
`;
export default { BREAKOUT_ROOM_CREATE, BREAKOUT_ROOM_END_ALL };