small metric hints

This commit is contained in:
dal 2025-04-17 07:26:51 -06:00
parent 2749469eb8
commit 6d6042ad06
No known key found for this signature in database
GPG Key ID: 16F4B0E1E9F61122
1 changed files with 5 additions and 3 deletions

View File

@ -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)