Skip to content

Commit 9011464

Browse files
committed
chore(spec): regenerate artifacts after bringing main in
The authorable-surface baseline is taken from main (#27233 retired `CurrencyValue`) and rebuilt, keeping `currencyConfig.currencyField`; the field reference page is regenerated from the merged tree. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CbfVSc1hXtxLUPHZ2f
1 parent e527c3b commit 9011464

2 files changed

Lines changed: 3 additions & 17 deletions

File tree

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

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Field schema — Data Protocol reference
33
navTitle: Field
4-
description: "Field schemas of the ObjectStack Data Protocol: CurrencyConfig, CurrencyValue, Field and 7 more — each property with its type, default and a TypeScript example."
4+
description: "Field schemas of the ObjectStack Data Protocol: CurrencyConfig, Field and 7 more — each property with its type, default and a TypeScript example."
55
---
66

77
{/* ⚠️ AUTO-GENERATED — DO NOT EDIT. Run build-docs.ts to regenerate. Hand-written docs live in the module folders under content/docs/. */}
@@ -13,8 +13,8 @@ description: "Field schemas of the ObjectStack Data Protocol: CurrencyConfig, Cu
1313
## TypeScript Usage
1414

1515
```typescript
16-
import { CurrencyConfigSchema, CurrencyValueSchema, FieldSchema, FieldMaskingKeepSchema, FieldMaskingRuleSchema, FieldType, InlineGridColumnSchema, LocationCoordinatesSchema, SelectOptionSchema, UniqueScopeSchema } from '@objectstack/spec/data';
17-
import type { CurrencyConfig, CurrencyValue, Field, FieldMaskingKeep, FieldMaskingRule, FieldType, InlineGridColumn, LocationCoordinates, SelectOption, UniqueScope } from '@objectstack/spec/data';
16+
import { CurrencyConfigSchema, FieldSchema, FieldMaskingKeepSchema, FieldMaskingRuleSchema, FieldType, InlineGridColumnSchema, LocationCoordinatesSchema, SelectOptionSchema, UniqueScopeSchema } from '@objectstack/spec/data';
17+
import type { CurrencyConfig, Field, FieldMaskingKeep, FieldMaskingRule, FieldType, InlineGridColumn, LocationCoordinates, SelectOption, UniqueScope } from '@objectstack/spec/data';
1818

1919
// Validate data
2020
const result = CurrencyConfigSchema.parse(data);
@@ -33,18 +33,6 @@ const result = CurrencyConfigSchema.parse(data);
3333
| **currencyField** | `string` | optional | `record` mode only, and required there: the name of the field on the same object that holds each record's currency — a `text` field declaring `valueDomain: 'iso_4217_currency'` (conventionally `currency_code`). Refused under `dynamic` and `fixed`. |
3434

3535

36-
---
37-
38-
## CurrencyValue
39-
40-
### Properties
41-
42-
| Property | Type | Required | Description |
43-
| :--- | :--- | :--- | :--- |
44-
| **value** | `number` | ✅ | Monetary amount |
45-
| **currency** | `string` | ✅ | Currency code (ISO 4217) |
46-
47-
4836
---
4937

5038
## Field

‎packages/spec/authorable-surface/data.json‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@
104104
"data/CurrencyConfig:currencyField",
105105
"data/CurrencyConfig:currencyMode",
106106
"data/CurrencyConfig:defaultCurrency",
107-
"data/CurrencyValue:currency",
108-
"data/CurrencyValue:value",
109107
"data/DataEngineAggregateOptions:aggregations",
110108
"data/DataEngineAggregateOptions:context",
111109
"data/DataEngineAggregateOptions:filter",

0 commit comments

Comments
 (0)