export interface AppVersion { /** build timestamp in milliseconds since the epoch */ readonly buildDate : number ; /** number of commits in the Git repo */ readonly numCommits : number ; /** latest Git commit hash */ readonly hash : string ; /** flag is set when uncommitted or untracked changes are present in the workspace */ readonly dirty : boolean ; } export const appVersion = { buildDate : Number ( process . env . REACT_APP_BUILD_DATE ) , numCommits : Number ( process . env . REACT_APP_BUILD_REVISION_COUNT ) , hash : process . env . REACT_APP_BUILD_HASH || '' , dirty : Boolean ( process . env . REACT_APP_BUILD_DIRTY ) } ;