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 = { |
export type HasticServerInfo = { |
||||||
nodeVersion: string, |
nodeVersion: string, |
||||||
packageVersion: string, |
packageVersion: string, |
||||||
npmUserAgent: string, |
npmUserAgent: string, |
||||||
docker: string | boolean, |
docker: string | boolean, |
||||||
zmqConectionString: string, |
zmqConectionString: string, |
||||||
serverPort: string | number, |
serverPort: string | number, |
||||||
gitBranch: string, |
gitBranch: string, |
||||||
gitCommitHash: string |
gitCommitHash: string |
||||||
} |
} |
||||||
|
|
||||||
export const ServerInfoUnknown: ServerInfo = { |
export const HasticServerInfoUnknown: HasticServerInfo = { |
||||||
nodeVersion: 'unknown', |
nodeVersion: 'unknown', |
||||||
packageVersion: 'unknown', |
packageVersion: 'unknown', |
||||||
npmUserAgent: 'unknown', |
npmUserAgent: 'unknown', |
||||||
docker: 'unknown', |
docker: 'unknown', |
||||||
zmqConectionString: 'unknown', |
zmqConectionString: 'unknown', |
||||||
serverPort: 'unknown', |
serverPort: 'unknown', |
||||||
gitBranch: 'unknown', |
gitBranch: 'unknown', |
||||||
gitCommitHash: 'unknown' |
gitCommitHash: 'unknown' |
||||||
}; |
}; |
||||||
|
|
||||||
export type PanelInfo = { |
|
||||||
grafanaVersion: string, |
|
||||||
grafanaUrl: string, |
|
||||||
datasourceType: string, |
|
||||||
hasticServerUrl: string |
|
||||||
} |
|
Loading…
Reference in new issue