bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/app/mutations.jsx

26 lines
935 B
React
Raw Normal View History

2024-01-11 20:41:08 +08:00
import { gql } from '@apollo/client';
export const SET_SYNC_WITH_PRESENTER_LAYOUT = gql`
mutation SetSyncWithPresenterLayout($syncWithPresenterLayout: Boolean!) {
meetingLayoutSetSyncWithPresenterLayout(
syncWithPresenterLayout: $syncWithPresenterLayout,
)
}
`;
2024-01-11 21:33:25 +08:00
export const SET_LAYOUT_PROPS = gql`
mutation SetLayoutProps($layout: String!, $syncWithPresenterLayout: Boolean!, $presentationIsOpen: Boolean!, $isResizing: Boolean!, $cameraPosition: String!, $focusedCamera: String!, $presentationVideoRate: Float!) {
meetingLayoutSetProps(
layout: $layout,
syncWithPresenterLayout: $syncWithPresenterLayout,
presentationIsOpen: $presentationIsOpen,
isResizing: $isResizing,
cameraPosition: $cameraPosition,
focusedCamera: $focusedCamera,
presentationVideoRate: $presentationVideoRate,
)
}
`;
export default { SET_SYNC_WITH_PRESENTER_LAYOUT, SET_LAYOUT_PROPS };