ccb2e74bc1
* [data-channel-analytics-options] - Added data-channel analytics and record options and added a parameter options for the useDataChannel function * Update bigbluebutton-html5/public/locales/en.json Co-authored-by: Gustavo Trott <gustavo@trott.com.br> * [data-channel-analytics-options] -created new sendDataAnalytics for plugin and change presentation toolbar button * [data-channel-analytics-options] - QUICK FIX * [update-data-channel-function] - fix action metadata * [data-channel-analytics-options] - changes in review * [data-channel-analytics-options] - changes in review * [captionLocale] - Changes in review * [data-channel-analytics-options] - update SDK * [data-channel-analytics-options] Changes in review * [data-channel-analytics-options] - changes in review * [data-channel-analytics-options] - changes in review * [data-channel-analytics-options] - changes in review * Refactor learning dashboard json structure with genericData * fix typo * [data-channel-analytics-options] - changes according to new json structure * changes in review --------- Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com> Co-authored-by: Gustavo Trott <gustavo@trott.com.br>
54 lines
1.6 KiB
TypeScript
54 lines
1.6 KiB
TypeScript
import { gql } from '@apollo/client';
|
|
|
|
export const PLUGIN_DATA_CHANNEL_PUSH_MUTATION = gql`
|
|
mutation PluginDataChannelPushEntry($pluginName: String!,
|
|
$subChannelName: String!, $channelName: String!,
|
|
$payloadJson: json!,
|
|
$toRoles: [String]!, $toUserIds: [String]!) {
|
|
pluginDataChannelPushEntry(
|
|
pluginName: $pluginName,
|
|
channelName: $channelName,
|
|
subChannelName: $subChannelName,
|
|
payloadJson: $payloadJson,
|
|
toRoles: $toRoles,
|
|
toUserIds: $toUserIds,
|
|
)
|
|
}
|
|
`;
|
|
|
|
export const PLUGIN_DATA_CHANNEL_RESET_MUTATION = gql`
|
|
mutation PluginDataChannelReset($pluginName: String!, $channelName: String!, $subChannelName: String!) {
|
|
pluginDataChannelReset(
|
|
pluginName: $pluginName,
|
|
channelName: $channelName,
|
|
subChannelName: $subChannelName
|
|
)
|
|
}
|
|
`;
|
|
|
|
export const PLUGIN_DATA_CHANNEL_DELETE_MUTATION = gql`
|
|
mutation PluginDataChannelDeleteEntry($pluginName: String!,
|
|
$channelName: String!, $entryId: String!, $subChannelName: String!) {
|
|
pluginDataChannelDeleteEntry(
|
|
pluginName: $pluginName,
|
|
channelName: $channelName,
|
|
entryId: $entryId,
|
|
subChannelName: $subChannelName
|
|
)
|
|
}
|
|
`;
|
|
|
|
export const PLUGIN_DATA_CHANNEL_REPLACE_MUTATION = gql`
|
|
mutation PluginDataChannelReplaceEntry($pluginName: String!,
|
|
$subChannelName: String!, $channelName: String!,
|
|
$payloadJson: json!, $entryId: String!) {
|
|
pluginDataChannelReplaceEntry(
|
|
entryId: $entryId,
|
|
pluginName: $pluginName,
|
|
channelName: $channelName,
|
|
subChannelName: $subChannelName,
|
|
payloadJson: $payloadJson
|
|
)
|
|
}
|
|
`;
|