bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/layout/push-layout/mutations.ts

34 lines
967 B
TypeScript
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!
) {
2024-01-11 21:33:25 +08:00
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 };