Change room ui to document view (#7167)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina
2024-11-13 21:42:14 +07:00
committed by GitHub
parent e493d35ac6
commit 99a35e08db
73 changed files with 1451 additions and 620 deletions
+2
View File
@@ -89,6 +89,7 @@ export interface WidgetPreference extends Preference {
export interface WidgetTab {
id: string
name?: string
label?: IntlString
icon?: Asset | AnySvelteComponent
iconComponent?: AnyComponent
iconProps?: Record<string, any>
@@ -280,6 +281,7 @@ export default plugin(workbenchId, {
function: {
CreateWidgetTab: '' as Resource<(widget: Widget, tab: WidgetTab, newTab: boolean) => Promise<void>>,
CloseWidgetTab: '' as Resource<(widget: Widget, tab: string) => Promise<void>>,
CloseWidget: '' as Resource<(widget: Ref<Widget>) => Promise<void>>,
GetSidebarObject: '' as Resource<() => Partial<Pick<Doc, '_id' | '_class'>>>
},
actionImpl: {