app.ts

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