Skip to content

Commit

Permalink
feat: extended config type to include app name, version, and version …
Browse files Browse the repository at this point in the history
…strings (#1252)
  • Loading branch information
amcgee authored Oct 6, 2022
1 parent ce26dc2 commit 4170674
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions services/config/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
type ServerVersion = {
type Version = {
full: string
major: number
minor: number
patch?: number
Expand All @@ -13,6 +14,8 @@ interface SystemInfo {
export interface Config {
baseUrl: string
apiVersion: number
serverVersion?: ServerVersion
appName?: string
appVersion?: Version
serverVersion?: Version
systemInfo?: SystemInfo
}

0 comments on commit 4170674

Please sign in to comment.