mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-18 00:07:21 +00:00
[improvement][semantic-fe] Refactor database settings functionality.
This commit is contained in:
@@ -197,6 +197,28 @@ export declare namespace ISemantic {
|
||||
datasource: IDataSourceItem;
|
||||
}
|
||||
type IDomainSchemaRelaList = IDomainSchemaRelaItem[];
|
||||
|
||||
interface IDatabaseItem {
|
||||
createdBy?: string;
|
||||
updatedBy?: string;
|
||||
createdAt?: string;
|
||||
updatedAt?: string;
|
||||
id: number;
|
||||
name: string;
|
||||
admins: string[];
|
||||
type: string;
|
||||
url: string;
|
||||
username: string;
|
||||
password: string;
|
||||
version: string;
|
||||
hasEditPermission: boolean;
|
||||
hasUsePermission: boolean;
|
||||
host: string;
|
||||
port: string;
|
||||
database?: string;
|
||||
description?: string;
|
||||
}
|
||||
type IDatabaseItemList = IDatabaseItem[];
|
||||
}
|
||||
|
||||
export declare namespace IChatConfig {
|
||||
|
||||
Reference in New Issue
Block a user