Commit 2a8b7ac
docs: document the
Follow-up to #2351 (the `user` field type). Brings the docs in line with the
shipped feature:
- references/data/field.mdx + seed-loader.mdx — regenerated (`gen:docs`) so the
FieldType / reference enums list `user` (the merge added the type but didn't
regenerate these committed reference pages).
- guides/data-modeling.mdx — new "User Fields" section: `Field.user()`,
`multiple`, `defaultValue: 'current_user'`, and that it's a lookup specialized
to sys_user (stored as an FK, zero-migration from `Field.lookup('sys_user')`).
- guides/standards.mdx — adds a User/Person row to the field-type selection table.
Only the user-related regenerated lines are included; unrelated generated-doc
drift was intentionally left out.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>user field type (#2352)1 parent d980f0d commit 2a8b7ac
4 files changed
Lines changed: 29 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
266 | 292 | | |
267 | 293 | | |
268 | 294 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
0 commit comments