mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-01 10:53:57 +00:00
fixes linting errors and warnings
This commit is contained in:
@@ -7,8 +7,8 @@ import { Select, Expression } from '@dbgate/sqltree';
|
||||
import { ChangeSetFieldDefinition, ChangeSetRowDefinition } from './ChangeSet';
|
||||
|
||||
export interface DisplayColumn {
|
||||
schemaName?: string;
|
||||
pureName?: string;
|
||||
schemaName: string;
|
||||
pureName: string;
|
||||
columnName: string;
|
||||
headerText: string;
|
||||
uniqueName: string;
|
||||
|
||||
@@ -12,7 +12,7 @@ export class JslGridDisplay extends GridDisplay {
|
||||
setCache: ChangeCacheFunc
|
||||
) {
|
||||
super(config, setConfig, cache, setCache, null, null);
|
||||
|
||||
|
||||
this.columns = columns
|
||||
.map((col) => ({
|
||||
columnName: col.columnName,
|
||||
@@ -21,6 +21,8 @@ export class JslGridDisplay extends GridDisplay {
|
||||
uniquePath: [col.columnName],
|
||||
notNull: col.notNull,
|
||||
autoIncrement: col.autoIncrement,
|
||||
pureName: null,
|
||||
schemaName: null,
|
||||
}))
|
||||
?.map((col) => ({
|
||||
...col,
|
||||
|
||||
Reference in New Issue
Block a user