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`
|
2024-08-29 22:47:50 +08:00
|
|
|
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 };
|