perspective filters supports lookup

This commit is contained in:
Jan Prochazka
2022-08-06 13:24:51 +02:00
parent ae6c486db5
commit c6dbb31748
8 changed files with 47 additions and 9 deletions

View File

@@ -1,3 +1,5 @@
import { ForeignKeyInfo } from "dbgate-types";
export interface PerspectiveConfigColumns {
expandedColumns: string[];
checkedColumns: string[];
@@ -21,7 +23,9 @@ export interface PerspectiveCustomJoinConfig {
export interface PerspectiveFilterColumnInfo {
columnName: string;
filterType: string;
tableName: string;
pureName: string;
schemaName: string;
foreignKey: ForeignKeyInfo;
}
export interface PerspectiveConfig extends PerspectiveConfigColumns {
filters: { [uniqueName: string]: string };