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:
type: string
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
- date
- string
@ -310,7 +312,7 @@ definitions:
description: Currency code for currency formatting (e.g., USD, EUR)
dateFormat:
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:
type: boolean
description: Whether to display dates as relative time (e.g., 2 days ago)