mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 00:16:00 +00:00
perspective sort - divided by table
This commit is contained in:
@@ -7,9 +7,11 @@ export interface PerspectiveConfigColumns {
|
||||
export interface PerspectiveConfig extends PerspectiveConfigColumns {
|
||||
filters: { [uniqueName: string]: string };
|
||||
sort: {
|
||||
uniqueName: string;
|
||||
order: 'ASC' | 'DESC';
|
||||
}[];
|
||||
[parentUniqueName: string]: {
|
||||
uniqueName: string;
|
||||
order: 'ASC' | 'DESC';
|
||||
}[];
|
||||
};
|
||||
}
|
||||
|
||||
export function createPerspectiveConfig(): PerspectiveConfig {
|
||||
@@ -18,7 +20,7 @@ export function createPerspectiveConfig(): PerspectiveConfig {
|
||||
checkedColumns: [],
|
||||
uncheckedColumns: [],
|
||||
filters: {},
|
||||
sort: [],
|
||||
sort: {},
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user