Skip to content

Commit 47a7f8a

Browse files
committed
docs(spec): regenerate the blueprint reference for the new expression key
`content/docs/references/ai/solution-blueprint.mdx` is generated from the schema and enumerates BlueprintField's keys in a table, so adding `expression` makes it stale. Regenerated with `gen:docs`; the diff is exactly the one new row. `check:docs` reports 259 generated files in sync. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WnqGjQFQMqd5k81LYV8SCY
1 parent efa4e80 commit 47a7f8a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

content/docs/references/ai/solution-blueprint.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ const result = BlueprintApp.parse(data);
9696
| **reference** | `string` | optional | Target object name for lookup / master_detail relationship fields |
9797
| **options** | `{ label: string; value: string }[]` | optional | Choices for select / multiselect / radio fields |
9898
| **summaryOperations** | `{ object: string; function: Enum<'count' \| 'sum' \| 'avg' \| 'min' \| 'max'>; field?: string; relationshipField?: string; … }` | optional | REQUIRED when `type` is "summary" (a roll-up of child records: 任务总数 / 报名人数 / 合计金额 / 已完成任务数). Names the child object, the aggregation, and — for a qualified count/sum — the condition. A "summary" field without it materializes runtime-dead. |
99+
| **expression** | `string` | optional | REQUIRED when `type` is "formula" — the CEL body the field computes, e.g. "record.quantity * record.unit_price", or "record.order_no + ' · ' + record.customer" for a composed title. A "formula" field without it materializes runtime-dead: the engine builds its formula plan only from fields that HAVE an expression, so the field reads null everywhere, forever. Same failure shape as a "summary" with no `summaryOperations`. Note `nameField` on the object recommends a formula for numbered entities (invoice/ticket) — that formula needs THIS key, or the record title is blank on every card, lookup chip and breadcrumb. |
99100

100101

101102
---

0 commit comments

Comments
 (0)