Browse Source

fix(nocodb): change to BoolType

pull/5222/head
Wing-Kam Wong 2 years ago
parent
commit
f950cfeda1
  1. 3
      packages/nocodb/src/lib/models/GalleryViewColumn.ts
  2. 4
      packages/nocodb/src/lib/models/GridViewColumn.ts
  3. 3
      packages/nocodb/src/lib/models/KanbanViewColumn.ts
  4. 3
      packages/nocodb/src/lib/models/MapViewColumn.ts

3
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;

4
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;

3
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;

3
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;

Loading…
Cancel
Save