mirror of https://github.com/buster-so/buster.git
small metric hints
This commit is contained in:
parent
2749469eb8
commit
6d6042ad06
|
@ -276,8 +276,10 @@ definitions:
|
||||||
style:
|
style:
|
||||||
type: string
|
type: string
|
||||||
enum:
|
enum:
|
||||||
- currency
|
-
|
||||||
- percent
|
currency # Note: The "$" sign is automatically prepended.
|
||||||
|
-
|
||||||
|
percent # Note: The value is automatically multiplied by 100 and the "%" sign is appended.
|
||||||
- number
|
- number
|
||||||
- date
|
- date
|
||||||
- string
|
- string
|
||||||
|
@ -310,7 +312,7 @@ definitions:
|
||||||
description: Currency code for currency formatting (e.g., USD, EUR)
|
description: Currency code for currency formatting (e.g., USD, EUR)
|
||||||
dateFormat:
|
dateFormat:
|
||||||
type: string
|
type: string
|
||||||
description: Format string for date display
|
description: Format string for date display (must be compatible with Day.js format strings). Should be set based on user request and context.
|
||||||
useRelativeTime:
|
useRelativeTime:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Whether to display dates as relative time (e.g., 2 days ago)
|
description: Whether to display dates as relative time (e.g., 2 days ago)
|
||||||
|
|
Loading…
Reference in New Issue