From b4527fba8be407339ae3466e48a93ef4507873f9 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Wed, 22 Apr 2026 14:31:05 +0000 Subject: [PATCH] Develop patterns for creating links outside router --- ts/AppSync.vue | 2 +- ts/rmo/App.vue | 2 +- ts/rmo/content/compliance/Address.vue | 2 +- ts/rmo/content/compliance/Contact.vue | 2 +- ts/rmo/content/compliance/Evidence.vue | 2 +- ts/rmo/content/compliance/Intro.vue | 8 ++++++- ts/rmo/content/compliance/Permission.vue | 2 +- ts/rmo/content/compliance/Submit.vue | 2 +- ts/rmo/{router.ts => route/config.ts} | 5 ++++- ts/rmo/route/name.ts | 6 ++++++ ts/rmo/route/use.ts | 24 +++++++++++++++++++++ ts/rmo/view/Compliance.vue | 1 + ts/{router.ts => route/config.ts} | 4 +++- ts/route/name.ts | 6 ++++++ ts/route/use.ts | 22 +++++++++++++++++++ ts/view/Authenticated.vue | 2 +- ts/view/Home.vue | 2 +- ts/view/Signin.vue | 2 +- ts/view/Signout.vue | 2 +- ts/view/configuration/UploadPoolCustom.vue | 2 +- ts/view/configuration/UploadPoolFlyover.vue | 2 +- ts/view/review/Mailer.vue | 9 +++----- vite/rmo/main.ts | 2 +- vite/sync/main.ts | 2 +- 24 files changed, 91 insertions(+), 24 deletions(-) rename ts/rmo/{router.ts => route/config.ts} (97%) create mode 100644 ts/rmo/route/name.ts create mode 100644 ts/rmo/route/use.ts rename ts/{router.ts => route/config.ts} (98%) create mode 100644 ts/route/name.ts create mode 100644 ts/route/use.ts diff --git a/ts/AppSync.vue b/ts/AppSync.vue index 6471ee92..df26484c 100644 --- a/ts/AppSync.vue +++ b/ts/AppSync.vue @@ -6,7 +6,7 @@ import * as Sentry from "@sentry/vue"; import { onMounted } from "vue"; import { apiClient } from "@/client"; -import router from "@/router"; +import router from "@/route/config"; import { SSEManager, type SSEMessage } from "@/SSEManager"; diff --git a/ts/rmo/App.vue b/ts/rmo/App.vue index 4890db87..de40f605 100644 --- a/ts/rmo/App.vue +++ b/ts/rmo/App.vue @@ -7,7 +7,7 @@ diff --git a/ts/rmo/content/compliance/Permission.vue b/ts/rmo/content/compliance/Permission.vue index 53447e98..043b2a2e 100644 --- a/ts/rmo/content/compliance/Permission.vue +++ b/ts/rmo/content/compliance/Permission.vue @@ -280,7 +280,7 @@ diff --git a/vite/rmo/main.ts b/vite/rmo/main.ts index c1613d6d..8228e536 100644 --- a/vite/rmo/main.ts +++ b/vite/rmo/main.ts @@ -4,7 +4,7 @@ import { createPinia } from "pinia"; import "bootstrap-icons/font/bootstrap-icons.css"; import "@/gen/custom-icons.scss"; import "@/style/rmo.scss"; -import router from "@/rmo/router"; +import router from "@/rmo/route/config"; import App from "@/rmo/App.vue"; const app = createApp(App); diff --git a/vite/sync/main.ts b/vite/sync/main.ts index bb3fd960..69834dea 100644 --- a/vite/sync/main.ts +++ b/vite/sync/main.ts @@ -1,7 +1,7 @@ import { createApp } from "vue"; import { createPinia } from "pinia"; import App from "@/AppSync.vue"; -import router from "@/router"; +import router from "@/route/config"; import * as config from "@/config"; import "maplibre-gl/dist/maplibre-gl.css";