diff --git a/packages/nocodb/src/lib/models/Filter.ts b/packages/nocodb/src/lib/models/Filter.ts index 0e761ceffc..abb9b21b1a 100644 --- a/packages/nocodb/src/lib/models/Filter.ts +++ b/packages/nocodb/src/lib/models/Filter.ts @@ -272,7 +272,13 @@ export default class Filter implements FilterType { await NocoCache.set(key, o); } // set meta - return await ncMeta.metaUpdate(null, null, MetaTable.FILTER_EXP, updateObj, id); + return await ncMeta.metaUpdate( + null, + null, + MetaTable.FILTER_EXP, + updateObj, + id + ); } static async delete(id: string, ncMeta = Noco.ncMeta) { diff --git a/packages/nocodb/src/lib/models/FormView.ts b/packages/nocodb/src/lib/models/FormView.ts index cef9d03cc1..b9d97afb92 100644 --- a/packages/nocodb/src/lib/models/FormView.ts +++ b/packages/nocodb/src/lib/models/FormView.ts @@ -5,8 +5,8 @@ import NocoCache from '../cache/NocoCache'; import { extractProps } from '../meta/helpers/extractProps'; import FormViewColumn from './FormViewColumn'; import View from './View'; +import type { MetaType } from 'nocodb-sdk'; import type { BoolType, FormType } from 'nocodb-sdk'; -import { MetaType } from 'nocodb-sdk'; export default class FormView implements FormType { show: BoolType; diff --git a/packages/nocodb/src/lib/models/GalleryView.ts b/packages/nocodb/src/lib/models/GalleryView.ts index 51d49ceefd..e3910dc1be 100644 --- a/packages/nocodb/src/lib/models/GalleryView.ts +++ b/packages/nocodb/src/lib/models/GalleryView.ts @@ -1,10 +1,15 @@ -import { MetaType, UITypes } from 'nocodb-sdk'; +import { UITypes } from 'nocodb-sdk'; import Noco from '../Noco'; import { CacheGetType, CacheScope, MetaTable } from '../utils/globals'; import NocoCache from '../cache/NocoCache'; import { extractProps } from '../meta/helpers/extractProps'; import View from './View'; -import type { BoolType, GalleryColumnType, GalleryType } from 'nocodb-sdk'; +import type { + BoolType, + GalleryColumnType, + GalleryType, + MetaType, +} from 'nocodb-sdk'; export default class GalleryView implements GalleryType { fk_view_id?: string; diff --git a/packages/nocodb/src/lib/models/MapView.ts b/packages/nocodb/src/lib/models/MapView.ts index fb9ec32682..d452d9e70e 100644 --- a/packages/nocodb/src/lib/models/MapView.ts +++ b/packages/nocodb/src/lib/models/MapView.ts @@ -1,11 +1,11 @@ import Noco from '../Noco'; import { CacheGetType, CacheScope, MetaTable } from '../utils/globals'; import NocoCache from '../cache/NocoCache'; +import { extractProps } from '../meta/helpers/extractProps'; import View from './View'; import MapViewColumn from './MapViewColumn'; +import type { MetaType } from 'nocodb-sdk'; import type { MapType } from 'nocodb-sdk'; -import { extractProps } from '../meta/helpers/extractProps'; -import { MetaType } from 'nocodb-sdk'; export default class MapView implements MapType { fk_view_id: string; diff --git a/packages/nocodb/src/lib/services/views/galleryView.svc.ts b/packages/nocodb/src/lib/services/views/galleryView.svc.ts index f92884f895..b6ecb94a8a 100644 --- a/packages/nocodb/src/lib/services/views/galleryView.svc.ts +++ b/packages/nocodb/src/lib/services/views/galleryView.svc.ts @@ -2,7 +2,7 @@ import { ViewTypes } from 'nocodb-sdk'; import { T } from 'nc-help'; import { validatePayload } from '../../meta/api/helpers'; import { GalleryView, View } from '../../models'; -import type { ViewCreateReqType, GalleryUpdateReqType } from 'nocodb-sdk'; +import type { GalleryUpdateReqType, ViewCreateReqType } from 'nocodb-sdk'; export async function galleryViewGet(param: { galleryViewId: string }) { return await GalleryView.get(param.galleryViewId);