From 835db51b4eee285a6c3f189f88eecbc85d534169 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Thu, 15 Sep 2022 09:28:18 +0200 Subject: [PATCH] chore(nc-gui): add more route param types --- packages/nc-gui/nuxt-shim.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/nc-gui/nuxt-shim.d.ts b/packages/nc-gui/nuxt-shim.d.ts index a6623b3903..e1cc40b10a 100644 --- a/packages/nc-gui/nuxt-shim.d.ts +++ b/packages/nc-gui/nuxt-shim.d.ts @@ -1,6 +1,7 @@ import type { Api as BaseAPI } from 'nocodb-sdk' import type { UseGlobalReturn } from './composables/useGlobal/types' import type { NocoI18n } from './lib' +import type { TabType } from './composables' declare module '#app/nuxt' { interface NuxtApp { @@ -32,6 +33,11 @@ declare module 'vue-router' { interface RouteParams { projectId: string projectType: 'base' | 'nc' | string + type: TabType title: string + viewId: string + viewTitle: string + baseId: string + token: string } }