diff --git a/versions/1.0.md b/versions/1.0.md index d10146a..cb44c28 100644 --- a/versions/1.0.md +++ b/versions/1.0.md @@ -305,7 +305,7 @@ A stored, read-only `Name` recomputed on every write, so lookups and dropdowns s label: "{Number} - {Date|yyyy MMMM} - {Customer.name}" ``` -Tokens are the entity's own fields or **one-hop** to-one relation properties (`{Customer.name}`); `|format` is a date pattern for temporal values. Deeper paths are rejected — compose by referencing the related entity's own label (`{Parent.Name}`). It is not allowed next to an authored `name` field, and a token must never reference a `sensitive` field. +Tokens are the entity's own fields or **one-hop** to-one relation properties (`{Customer.name}`); `|format` is a date pattern for temporal values — a `month` field's `YYYY-MM` value formats through it too (`{period|yyyy MMMM}` renders "2026 July"). Deeper paths are rejected — compose by referencing the related entity's own label (`{Parent.Name}`). It is not allowed next to an authored `name` field, and a token must never reference a `sensitive` field. ### function — the presentation role @@ -869,6 +869,8 @@ schedules: dayField: day ``` +`map` copies a value of the queried row; `defaults` sets a constant — `now` means "today", rendered in the **target field's own shape** (a `date` field gets today's date, a `month` field the current `YYYY-MM`, a `week` field the current `YYYY-Www`). + ### integrations — outbound HTTP Tell another system on an event. @@ -959,7 +961,7 @@ generates: sourceStatus: 3 # optional: flip the source's status after the target is created ``` -Adds a button on the source view; the clone saves through the target's own layer, so numbering, status init and calculated fields fire. An optional `sourceStatus` flips the source record's status once the target exists. +Adds a button on the source view; the clone saves through the target's own layer, so numbering, status init and calculated fields fire. `map` copies a source value; `defaults` sets a constant — `now` means "today", rendered in the **target field's own shape** (a `date` field gets today's date, a `month` field the current `YYYY-MM`, a `week` field the current `YYYY-Www`). An optional `sourceStatus` flips the source record's status once the target exists. ### transitions — guarded status flips