mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
widget whiteboard added in widget model and in integrations registry
This commit is contained in:
parent
402cec5b41
commit
3140b467b2
@ -11,6 +11,7 @@ export const WIDGET_TWITCH = ["twitch", "dimension-twitch"]; // TODO: m.* namesp
|
||||
export const WIDGET_STICKER_PICKER = ["m.stickerpicker"];
|
||||
export const WIDGET_TRADINGVIEW = ["tradingview", "dimension-tradingview"]; // TODO: Use m.tradingview (https://github.com/turt2live/matrix-dimension/issues/261)
|
||||
export const WIDGET_SPOTIFY = ["m.spotify", "spotify", "dimension-spotify"];
|
||||
export const WIDGET_WHITEBOARD = ["whiteboard", "phoenix-whiteboard"];
|
||||
|
||||
export interface EditableWidget {
|
||||
/**
|
||||
|
@ -10,7 +10,8 @@ import {
|
||||
WIDGET_STICKER_PICKER,
|
||||
WIDGET_TRADINGVIEW,
|
||||
WIDGET_TWITCH,
|
||||
WIDGET_YOUTUBE
|
||||
WIDGET_YOUTUBE,
|
||||
WIDGET_WHITEBOARD
|
||||
} from "../models/widget";
|
||||
import { FE_Integration } from "../models/integration";
|
||||
|
||||
@ -65,6 +66,9 @@ export class IntegrationsRegistry {
|
||||
"stickerpicker": {
|
||||
types: WIDGET_STICKER_PICKER,
|
||||
},
|
||||
"whiteboard": {
|
||||
type: WIDGET_WHITEBOARD,
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user