1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

refactor: ts and composition api on WorkspaceExplorebar* components

This commit is contained in:
2022-06-09 20:08:32 +02:00
parent be70b5be7f
commit bd46d17424
16 changed files with 853 additions and 910 deletions

View File

@ -87,7 +87,7 @@ export interface TableInfos {
updated: Date;
engine: string;
comment: string;
size: number;
size: number | false;
autoIncrement: number;
collation: string;
}
@ -216,6 +216,7 @@ export interface TriggerInfos {
sqlMode: string;
created: Date;
charset: string;
enabled?: boolean;
}
export interface CreateTriggerParams {
@ -231,8 +232,21 @@ export interface CreateTriggerParams {
export interface AlterTriggerParams extends CreateTriggerParams {
oldName?: string;
}
export interface TriggerFunctionInfos {
name: string;
type: string;
security: string;
}
// Routines & Functions
export interface FunctionParam {
context: string;
name: string;
type: string;
length: number;
}
export interface RoutineInfos {
name: string;
type: string;
@ -242,17 +256,11 @@ export interface RoutineInfos {
comment?: string;
charset?: string;
security?: string;
parameters?: FunctionParam[];
}
export type FunctionInfos = RoutineInfos
export interface FunctionParam {
context: string;
name: string;
type: string;
length: number;
}
export interface CreateRoutineParams {
name: string;
parameters?: FunctionParam[];
@ -337,7 +345,7 @@ export interface SchemaInfos {
name: string;
size: number;
tables: TableInfos[];
functions: RoutineInfos[];
functions: FunctionInfos[];
procedures: RoutineInfos[];
triggers: TriggerInfos[];
schedulers: EventInfos[];