forked from OtterMind/Chat2DB
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathworkspace.ts
More file actions
28 lines (25 loc) · 745 Bytes
/
Copy pathworkspace.ts
File metadata and controls
28 lines (25 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import { CreateTabIntroType, WorkspaceTabType, DatabaseTypeCode, ConsoleStatus } from '@/constants';
import { ITreeNode } from '@/typings';
export interface ICreateTabIntro {
type: CreateTabIntroType;
workspaceTabType: WorkspaceTabType;
treeNodeData: ITreeNode;
}
export interface IWorkspaceTab {
id: number | string; // Tab的id
type: WorkspaceTabType; // 工作区tab的类型
title: string; // 工作区tab的名称
uniqueData?: any;
}
export interface IBoundInfo {
consoleId?: number;
dataSourceId: number;
dataSourceName: string;
databaseType: DatabaseTypeCode;
databaseName?: string;
schemaName?: string;
status: ConsoleStatus;
connectable: boolean;
supportDatabase: boolean;
supportSchema: boolean;
}