From 4170674e39f70c5af6760f0e19d9e1555714e1d2 Mon Sep 17 00:00:00 2001 From: Austin McGee <947888+amcgee@users.noreply.github.com> Date: Thu, 6 Oct 2022 17:56:34 +0200 Subject: [PATCH] feat: extended config type to include app name, version, and version strings (#1252) --- services/config/src/types.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/services/config/src/types.ts b/services/config/src/types.ts index 92d5458c..f4fd397d 100644 --- a/services/config/src/types.ts +++ b/services/config/src/types.ts @@ -1,4 +1,5 @@ -type ServerVersion = { +type Version = { + full: string major: number minor: number patch?: number @@ -13,6 +14,8 @@ interface SystemInfo { export interface Config { baseUrl: string apiVersion: number - serverVersion?: ServerVersion + appName?: string + appVersion?: Version + serverVersion?: Version systemInfo?: SystemInfo }