diff --git a/packages/nocodb/src/lib/models/GalleryViewColumn.ts b/packages/nocodb/src/lib/models/GalleryViewColumn.ts index 3ccc1e73c3..4e0ae618bf 100644 --- a/packages/nocodb/src/lib/models/GalleryViewColumn.ts +++ b/packages/nocodb/src/lib/models/GalleryViewColumn.ts @@ -3,11 +3,12 @@ import { CacheGetType, CacheScope, MetaTable } from '../utils/globals'; import View from './View'; import NocoCache from '../cache/NocoCache'; import { extractProps } from '../meta/helpers/extractProps'; +import { BoolType } from 'nocodb-sdk'; export default class GalleryViewColumn { id: string; title?: string; - show?: boolean; + show?: BoolType; order?: number; fk_view_id: string; diff --git a/packages/nocodb/src/lib/models/GridViewColumn.ts b/packages/nocodb/src/lib/models/GridViewColumn.ts index f3a3385a70..2575f85355 100644 --- a/packages/nocodb/src/lib/models/GridViewColumn.ts +++ b/packages/nocodb/src/lib/models/GridViewColumn.ts @@ -1,13 +1,13 @@ import Noco from '../Noco'; import { CacheGetType, CacheScope, MetaTable } from '../utils/globals'; -import { GridColumnType } from 'nocodb-sdk'; +import { BoolType, GridColumnType } from 'nocodb-sdk'; import { extractProps } from '../meta/helpers/extractProps'; import View from './View'; import NocoCache from '../cache/NocoCache'; export default class GridViewColumn implements GridColumnType { id: string; - show: boolean; + show: BoolType; order: number; width?: string; diff --git a/packages/nocodb/src/lib/models/KanbanViewColumn.ts b/packages/nocodb/src/lib/models/KanbanViewColumn.ts index c86e5a2f14..a0c2455831 100644 --- a/packages/nocodb/src/lib/models/KanbanViewColumn.ts +++ b/packages/nocodb/src/lib/models/KanbanViewColumn.ts @@ -3,11 +3,12 @@ import { CacheGetType, CacheScope, MetaTable } from '../utils/globals'; import View from './View'; import NocoCache from '../cache/NocoCache'; import { extractProps } from '../meta/helpers/extractProps'; +import { BoolType } from 'nocodb-sdk'; export default class KanbanViewColumn { id: string; title?: string; - show?: boolean; + show?: BoolType; order?: number; fk_view_id: string; diff --git a/packages/nocodb/src/lib/models/MapViewColumn.ts b/packages/nocodb/src/lib/models/MapViewColumn.ts index dd1b20e0cf..bba9ddfaf4 100644 --- a/packages/nocodb/src/lib/models/MapViewColumn.ts +++ b/packages/nocodb/src/lib/models/MapViewColumn.ts @@ -2,10 +2,11 @@ import Noco from '../Noco'; import { CacheGetType, CacheScope, MetaTable } from '../utils/globals'; import View from './View'; import NocoCache from '../cache/NocoCache'; +import { BoolType } from 'nocodb-sdk'; export default class MapViewColumn { id: string; - show?: boolean; + show?: BoolType; order?: number; fk_view_id: string;