app.ts

 1import command_palette from "./command_palette"
 2import project_panel from "./project_panel"
 3import search from "./search"
 4import picker from "./picker"
 5import workspace from "./workspace"
 6import context_menu from "./context_menu"
 7import shared_screen from "./shared_screen"
 8import project_diagnostics from "./project_diagnostics"
 9import contact_notification from "./contact_notification"
10import update_notification from "./update_notification"
11import simple_message_notification from "./simple_message_notification"
12import project_shared_notification from "./project_shared_notification"
13import tooltip from "./tooltip"
14import terminal from "./terminal"
15import collab_panel from "./collab_panel"
16import toolbar_dropdown_menu from "./toolbar_dropdown_menu"
17import incoming_call_notification from "./incoming_call_notification"
18import welcome from "./welcome"
19import copilot from "./copilot"
20import assistant from "./assistant"
21import { titlebar } from "./titlebar"
22import editor from "./editor"
23import feedback from "./feedback"
24import component_test from "./component_test"
25import { useTheme } from "../common"
26
27export default function app(): any {
28    const theme = useTheme()
29
30    return {
31        meta: {
32            name: theme.name,
33            is_light: theme.is_light,
34        },
35        command_palette: command_palette(),
36        contact_notification: contact_notification(),
37        project_shared_notification: project_shared_notification(),
38        incoming_call_notification: incoming_call_notification(),
39        picker: picker(),
40        workspace: workspace(),
41        titlebar: titlebar(),
42        copilot: copilot(),
43        welcome: welcome(),
44        context_menu: context_menu(),
45        editor: editor(),
46        project_diagnostics: project_diagnostics(),
47        project_panel: project_panel(),
48        collab_panel: collab_panel(),
49        toolbar_dropdown_menu: toolbar_dropdown_menu(),
50        search: search(),
51        shared_screen: shared_screen(),
52        update_notification: update_notification(),
53        simple_message_notification: simple_message_notification(),
54        tooltip: tooltip(),
55        terminal: terminal(),
56        assistant: assistant(),
57        feedback: feedback(),
58        component_test: component_test(),
59    }
60}