bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/presentation/mutations.jsx
2023-12-15 14:39:12 -03:00

30 lines
779 B
JavaScript

import { gql } from '@apollo/client';
export const PRESENTATION_SET_ZOOM = gql`
mutation PresentationSetZoom($presentationId: String!, $pageId: String!, $pageNum: Int!, $xOffset: Float!, $yOffset: Float!, $widthRatio: Float!, $heightRatio: Float!) {
presentationSetZoom(
presentationId: $presentationId,
pageId: $pageId,
pageNum: $pageNum,
xOffset: $xOffset,
yOffset: $yOffset,
widthRatio: $widthRatio,
heightRatio: $heightRatio,
)
}
`;
export const PRESENTATION_SET_WRITERS = gql`
mutation PresentationSetWriters($pageId: String!, $usersIds: [String]!) {
presentationSetWriters(
pageId: $pageId,
usersIds: $usersIds,
)
}
`;
export default {
PRESENTATION_SET_ZOOM,
PRESENTATION_SET_WRITERS,
};