diff --git a/src/router/index.ts b/src/router/index.ts index eeb1ba3..ad7f073 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -652,6 +652,11 @@ const router = createRouter({ name: "account-administration", component: () => import("@/views/account/Administration.vue"), }, + { + path: "version", + name: "account-version", + component: () => import("@/views/account/VersionDisplay.vue"), + }, { path: ":pathMatch(.*)*", name: "account-404", diff --git a/src/viewmodels/version.models.ts b/src/viewmodels/version.models.ts new file mode 100644 index 0000000..fe2bf37 --- /dev/null +++ b/src/viewmodels/version.models.ts @@ -0,0 +1,21 @@ +export interface Release { + creator: string; + title: string; + link: string; + pubDate: string; + author: string; + "content:encoded": string; + "content:encodedSnippet": string; + content: string; + contentSnippet: string; + guid: string; + isoDate: string; +} + +export interface Releases { + items: Release[]; + title: string; + description: string; + pubDate: string; + link: string; +} diff --git a/src/views/account/Administration.vue b/src/views/account/Administration.vue index e6dd5ca..558e3a6 100644 --- a/src/views/account/Administration.vue +++ b/src/views/account/Administration.vue @@ -15,7 +15,9 @@
V{{ clientVersion }}
+V{{ serverVersion }}
+