diff --git a/packages/nc-gui/composables/useMapViewDataStore.ts b/packages/nc-gui/composables/useMapViewDataStore.ts index 1ac4a6ecba..60f064f412 100644 --- a/packages/nc-gui/composables/useMapViewDataStore.ts +++ b/packages/nc-gui/composables/useMapViewDataStore.ts @@ -22,7 +22,7 @@ const formatData = (list: Record[]) => const [useProvideMapViewStore, useMapViewStore] = useInjectionState( ( - meta: Ref, + meta: Ref, viewMeta: Ref | ComputedRef<(ViewType & { id: string }) | undefined>, shared = false, where?: ComputedRef, diff --git a/packages/nc-gui/composables/useSharedView.ts b/packages/nc-gui/composables/useSharedView.ts index b5b888be22..2723223926 100644 --- a/packages/nc-gui/composables/useSharedView.ts +++ b/packages/nc-gui/composables/useSharedView.ts @@ -1,4 +1,14 @@ -import type { ExportTypes, FilterType, KanbanType, PaginatedType, RequestParams, SortType, TableType, ViewType } from 'nocodb-sdk' +import type { + ExportTypes, + FilterType, + KanbanType, + MapType, + PaginatedType, + RequestParams, + SortType, + TableType, + ViewType, +} from 'nocodb-sdk' import { UITypes } from 'nocodb-sdk' import { computed, useGlobal, useMetas, useNuxtApp, useState } from '#imports' @@ -21,7 +31,7 @@ export function useSharedView() { const allowCSVDownload = useState('allowCSVDownload', () => false) - const meta = useState('meta', () => undefined) + const meta = useState('meta', () => undefined) const formColumns = computed( () =>