Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Add vue-router shim to declare meta type

天舟812a1596a87a
diff --git a/frontend/src/shims-vue-router.d.ts b/frontend/src/shims-vue-router.d.ts
new file mode 100644
index 0000000000..fbae17d3f5
--- /dev/null
+++ b/frontend/src/shims-vue-router.d.ts
@@ -0,0 +1,10 @@
+import { RoleType, QuickActionType } from "./types";
+
+export {};
+
+declare module "vue-router" {
+ interface RouteMeta {
+ title?: (route: RouteLocationNormalized) => string;
+ quickActionListByRole?: Map<RoleType, QuickActionType[]>;
+ }
+}