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