Line data Source code
1 : import { markRaw } from 'vue'
2 :
3 : import LogsTerminal from '@/components/bottomPanel/tabs/terminal/LogsTerminal.vue'
4 : import CommandTerminal from '@/components/bottomPanel/tabs/terminal/CommandTerminal.vue'
5 : import type { BottomPanelExtension } from '@/types/extensionTypes'
6 :
7 2355 : export function useLogsTerminalTab(): BottomPanelExtension {
8 2355 : return {
9 : id: 'logs-terminal',
10 : title: 'Logs',
11 : titleKey: 'g.logs',
12 : component: markRaw(LogsTerminal),
13 : type: 'vue'
14 : }
15 : }
16 :
17 0 : export function useCommandTerminalTab(): BottomPanelExtension {
18 0 : return {
19 : id: 'command-terminal',
20 : title: 'Terminal',
21 : titleKey: 'g.terminal',
22 : component: markRaw(CommandTerminal),
23 : type: 'vue'
24 : }
25 : }
|