2020-02-26 03:03:53 -06:00
|
|
|
+++
|
|
|
|
# -----------------------------------------------------------------------
|
|
|
|
# Do not edit this file. It is automatically generated by API Documenter.
|
|
|
|
# -----------------------------------------------------------------------
|
|
|
|
title = "BuildInfo"
|
2020-04-21 03:41:50 -05:00
|
|
|
keywords = ["grafana","documentation","sdk","@grafana/data"]
|
2020-02-26 03:03:53 -06:00
|
|
|
type = "docs"
|
|
|
|
+++
|
|
|
|
|
|
|
|
## BuildInfo interface
|
|
|
|
|
2020-04-21 03:41:50 -05:00
|
|
|
Describes the build information that will be available via the Grafana configuration.
|
|
|
|
|
2020-02-26 03:03:53 -06:00
|
|
|
<b>Signature</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
export interface BuildInfo
|
|
|
|
```
|
|
|
|
<b>Import</b>
|
|
|
|
|
|
|
|
```typescript
|
2020-04-21 03:41:50 -05:00
|
|
|
import { BuildInfo } from '@grafana/data';
|
2020-02-26 03:03:53 -06:00
|
|
|
```
|
|
|
|
<b>Properties</b>
|
|
|
|
|
|
|
|
| Property | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| [commit](#commit-property) | <code>string</code> | |
|
|
|
|
| [edition](#edition-property) | <code>string</code> | |
|
|
|
|
| [env](#env-property) | <code>string</code> | |
|
|
|
|
| [hasUpdate](#hasupdate-property) | <code>boolean</code> | |
|
2020-07-01 02:12:35 -05:00
|
|
|
| [hideVersion](#hideversion-property) | <code>boolean</code> | |
|
2020-04-21 03:41:50 -05:00
|
|
|
| [isEnterprise](#isenterprise-property) | <code>boolean</code> | Is set to true when running Grafana Enterprise edition. |
|
2020-02-26 03:03:53 -06:00
|
|
|
| [latestVersion](#latestversion-property) | <code>string</code> | |
|
|
|
|
| [version](#version-property) | <code>string</code> | |
|
|
|
|
|
|
|
|
### commit property
|
|
|
|
|
|
|
|
<b>Signature</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
commit: string;
|
|
|
|
```
|
|
|
|
|
|
|
|
### edition property
|
|
|
|
|
|
|
|
<b>Signature</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
edition: string;
|
|
|
|
```
|
|
|
|
|
|
|
|
### env property
|
|
|
|
|
|
|
|
<b>Signature</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
env: string;
|
|
|
|
```
|
|
|
|
|
|
|
|
### hasUpdate property
|
|
|
|
|
|
|
|
<b>Signature</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
hasUpdate: boolean;
|
|
|
|
```
|
|
|
|
|
2020-07-01 02:12:35 -05:00
|
|
|
### hideVersion property
|
|
|
|
|
|
|
|
<b>Signature</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
hideVersion: boolean;
|
|
|
|
```
|
|
|
|
|
2020-02-26 03:03:53 -06:00
|
|
|
### isEnterprise property
|
|
|
|
|
2020-04-21 03:41:50 -05:00
|
|
|
Is set to true when running Grafana Enterprise edition.
|
|
|
|
|
2020-02-26 03:03:53 -06:00
|
|
|
<b>Signature</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
isEnterprise: boolean;
|
|
|
|
```
|
|
|
|
|
|
|
|
### latestVersion property
|
|
|
|
|
|
|
|
<b>Signature</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
latestVersion: string;
|
|
|
|
```
|
|
|
|
|
|
|
|
### version property
|
|
|
|
|
|
|
|
<b>Signature</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
version: string;
|
|
|
|
```
|