Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(plugin): delete and reset features to data-channel (#19503)
* [plugin-sdk-data-channel-with-delete] - refactor data channel to add delete and reset features * [plugin-sdk-data-channel-with-delete] - bumping version and fix lint errors
- Loading branch information
Showing
6 changed files
with
84 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
bigbluebutton-html5/imports/ui/components/plugins-engine/data-channel/mutation.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import { gql } from '@apollo/client'; | ||
|
||
export const PLUGIN_DATA_CHANNEL_DISPATCH_MUTATION = gql` | ||
mutation PluginDataChannelDispatchMessage($pluginName: String!, | ||
$dataChannel: String!, $payloadJson: String!, $toRoles: [String]!, | ||
$toUserIds: [String]!) { | ||
pluginDataChannelDispatchMessage( | ||
pluginName: $pluginName, | ||
dataChannel: $dataChannel, | ||
payloadJson: $payloadJson, | ||
toRoles: $toRoles, | ||
toUserIds: $toUserIds, | ||
) | ||
} | ||
`; | ||
|
||
export const PLUGIN_DATA_CHANNEL_RESET_MUTATION = gql` | ||
mutation PluginDataChannelReset($pluginName: String!, $dataChannel: String!) { | ||
pluginDataChannelReset( | ||
pluginName: $pluginName, | ||
dataChannel: $dataChannel | ||
) | ||
} | ||
`; | ||
|
||
export const PLUGIN_DATA_CHANNEL_DELETE_MUTATION = gql` | ||
mutation PluginDataChannelDeleteMessage($pluginName: String!, $dataChannel: String!, $messageId: String!) { | ||
pluginDataChannelDeleteMessage( | ||
pluginName: $pluginName, | ||
dataChannel: $dataChannel, | ||
messageId: $messageId | ||
) | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters