mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 16:42:36 +08:00

* added packages reference menu item. * removed the draft flag. * Updated docs by running script.
24 lines
800 B
Markdown
24 lines
800 B
Markdown
+++
|
|
# -----------------------------------------------------------------------
|
|
# Do not edit this file. It is automatically generated by API Documenter.
|
|
# -----------------------------------------------------------------------
|
|
title = "DurationUnit"
|
|
keywords = ["grafana","documentation","sdk","@grafana/data"]
|
|
type = "docs"
|
|
+++
|
|
|
|
## DurationUnit type
|
|
|
|
### DurationUnit type
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
export declare type DurationUnit = 'year' | 'years' | 'y' | 'month' | 'months' | 'M' | 'week' | 'weeks' | 'w' | 'day' | 'days' | 'd' | 'hour' | 'hours' | 'h' | 'minute' | 'minutes' | 'm' | 'second' | 'seconds' | 's' | 'millisecond' | 'milliseconds' | 'ms' | 'quarter' | 'quarters' | 'Q';
|
|
```
|
|
<b>Import</b>
|
|
|
|
```typescript
|
|
import { DurationUnit } from '@grafana/data';
|
|
```
|