Skip to content

Commit 952c19c

Browse files
committed
chore(docs): regenerate references/data/field.mdx on the merged tree (step 4 of the os-regen merge)
Both sides edited the generated CurrencyConfig table: main rewrote the defaultCurrency row (#20217), this branch removed the precision row. Claude-Session: https://claude.ai/code/session_01Rjy9MeetSfq34PKn81CRiN Co-authored-by: Claude <noreply@anthropic.com>
1 parent baee423 commit 952c19c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎content/docs/references/data/field.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const result = CurrencyConfigSchema.parse(data);
2828
| Property | Type | Required | Description |
2929
| :--- | :--- | :--- | :--- |
3030
| **currencyMode** | `Enum<'dynamic' \| 'fixed'>` | optional (default: `"dynamic"`) | Currency mode. `fixed`: the field has one currency, `defaultCurrency`. `dynamic` (the default): the field has no currency of its own — amounts display in the tenant default currency (the `localization.currency` setting; a plain number when none is set) and `defaultCurrency` is not read. Neither mode is a per-record choice: the value is a bare number either way. |
31-
| **defaultCurrency** | `string` | optional (default: `"CNY"`) | Default or fixed currency code (ISO 4217, e.g., USD, CNY, EUR) |
31+
| **defaultCurrency** | `string` | optional (default: `"CNY"`) | The currency code (ISO 4217, e.g. USD, CNY, EUR) of a `fixed`-mode field: its one currency. Not read under `dynamic` (the default), where amounts display in the tenant default currency. |
3232

3333

3434
---
@@ -235,7 +235,7 @@ const result = CurrencyConfigSchema.parse(data);
235235
| Property | Type | Required | Description |
236236
| :--- | :--- | :--- | :--- |
237237
| **currencyMode** | `Enum<'dynamic' \| 'fixed'>` | optional (default: `"dynamic"`) | Currency mode. `fixed`: the field has one currency, `defaultCurrency`. `dynamic` (the default): the field has no currency of its own — amounts display in the tenant default currency (the `localization.currency` setting; a plain number when none is set) and `defaultCurrency` is not read. Neither mode is a per-record choice: the value is a bare number either way. |
238-
| **defaultCurrency** | `string` | optional (default: `"CNY"`) | Default or fixed currency code (ISO 4217, e.g., USD, CNY, EUR) |
238+
| **defaultCurrency** | `string` | optional (default: `"CNY"`) | The currency code (ISO 4217, e.g. USD, CNY, EUR) of a `fixed`-mode field: its one currency. Not read under `dynamic` (the default), where amounts display in the tenant default currency. |
239239

240240
### Nested Shape: `Field.maskingRule`
241241

0 commit comments

Comments
 (0)