Skip to content

Commit 4170674

Browse files
authored
feat: extended config type to include app name, version, and version strings (#1252)
1 parent ce26dc2 commit 4170674

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

services/config/src/types.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
type ServerVersion = {
1+
type Version = {
2+
full: string
23
major: number
34
minor: number
45
patch?: number
@@ -13,6 +14,8 @@ interface SystemInfo {
1314
export interface Config {
1415
baseUrl: string
1516
apiVersion: number
16-
serverVersion?: ServerVersion
17+
appName?: string
18+
appVersion?: Version
19+
serverVersion?: Version
1720
systemInfo?: SystemInfo
1821
}

0 commit comments

Comments
 (0)