Alexey Velikiy
6 years ago
committed by
GitHub
6 changed files with 52 additions and 44 deletions
@ -0,0 +1,8 @@
|
||||
export type HasticPanelInfo = { |
||||
grafanaVersion: string, |
||||
grafanaUrl: string, |
||||
datasourceName: string, |
||||
datasourceType: string, |
||||
hasticDatasourceName: string, |
||||
hasticDatasourceUrl: string |
||||
} |
@ -1,28 +1,21 @@
|
||||
export type ServerInfo = { |
||||
nodeVersion: string, |
||||
packageVersion: string, |
||||
npmUserAgent: string, |
||||
docker: string | boolean, |
||||
zmqConectionString: string, |
||||
serverPort: string | number, |
||||
gitBranch: string, |
||||
gitCommitHash: string |
||||
} |
||||
|
||||
export const ServerInfoUnknown: ServerInfo = { |
||||
nodeVersion: 'unknown', |
||||
packageVersion: 'unknown', |
||||
npmUserAgent: 'unknown', |
||||
docker: 'unknown', |
||||
zmqConectionString: 'unknown', |
||||
serverPort: 'unknown', |
||||
gitBranch: 'unknown', |
||||
gitCommitHash: 'unknown' |
||||
}; |
||||
|
||||
export type PanelInfo = { |
||||
grafanaVersion: string, |
||||
grafanaUrl: string, |
||||
datasourceType: string, |
||||
hasticServerUrl: string |
||||
} |
||||
export type HasticServerInfo = { |
||||
nodeVersion: string, |
||||
packageVersion: string, |
||||
npmUserAgent: string, |
||||
docker: string | boolean, |
||||
zmqConectionString: string, |
||||
serverPort: string | number, |
||||
gitBranch: string, |
||||
gitCommitHash: string |
||||
} |
||||
|
||||
export const HasticServerInfoUnknown: HasticServerInfo = { |
||||
nodeVersion: 'unknown', |
||||
packageVersion: 'unknown', |
||||
npmUserAgent: 'unknown', |
||||
docker: 'unknown', |
||||
zmqConectionString: 'unknown', |
||||
serverPort: 'unknown', |
||||
gitBranch: 'unknown', |
||||
gitCommitHash: 'unknown' |
||||
}; |
Loading…
Reference in new issue