bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/whiteboard/queries.jsx

40 lines
771 B
React
Raw Normal View History

2023-09-28 04:42:47 +08:00
import { gql } from '@apollo/client';
export const CURRENT_PRESENTATION_PAGE_SUBSCRIPTION = gql`subscription CurrentPresentationPagesSubscription {
pres_page_curr {
height
heightRatio
isCurrentPage
num
pageId
scaledHeight
scaledViewBoxHeight
scaledViewBoxWidth
scaledWidth
slideRevealed
urls
viewBoxHeight
viewBoxWidth
width
widthRatio
xOffset
yOffset
presentationId
}
}`;
export const CURRENT_PAGE_ANNOTATIONS_SUBSCRIPTION = gql`subscription CurrentPageAnnotationsSubscription {
pres_annotation_curr {
annotationId
annotationInfo
lastHistorySequence
lastUpdatedAt
pageId
presentationId
userId
}
}`;
2023-09-28 06:17:04 +08:00
export default CURRENT_PRESENTATION_PAGE_SUBSCRIPTION;