From 9117f76e5bc321ba325639b0052209aaae1d191d Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Thu, 21 Jul 2022 19:29:52 +0200 Subject: [PATCH] refactor(gui-v2): move injection keys to context dir # What's changed? * avoids naming collision with `components.d.ts` --- packages/nc-gui-v2/{components => context}/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename packages/nc-gui-v2/{components => context}/index.ts (96%) diff --git a/packages/nc-gui-v2/components/index.ts b/packages/nc-gui-v2/context/index.ts similarity index 96% rename from packages/nc-gui-v2/components/index.ts rename to packages/nc-gui-v2/context/index.ts index b6070aa3c4..f03f1c0429 100644 --- a/packages/nc-gui-v2/components/index.ts +++ b/packages/nc-gui-v2/context/index.ts @@ -1,7 +1,7 @@ import type { ColumnType, TableType, ViewType } from 'nocodb-sdk' import type { InjectionKey, Ref } from 'vue' import type { EventHook } from '@vueuse/core' -import type useViewData from '~/composables/useViewData' +import type { useViewData } from '#imports' export const ColumnInj: InjectionKey = Symbol('column-injection') export const MetaInj: InjectionKey> = Symbol('meta-injection')