Commit 94f7ef8
feat(spec): add Field.time builder to close the temporal-field authoring gap (#10048)
The Field convenience object exposed Field.date and Field.datetime but no
Field.time, even though 'time' is a fully declared FieldType and is live
end-to-end. This is the minimal move pre-approved by the hold-release
grading on #8656: add Field.time alone, mirroring the adjacent
Field.datetime builder and producing the identical literal shape an
author could already write - { type: 'time', ...config } - so nothing
about what FieldSchema accepts changes.
Also swaps the showcase field-zoo's f_time from the literal form to
Field.time(...), removing the stale precedent for authors reaching for
the type.
Fixes #8656
Claude-Session: https://claude.ai/code/session_01URCaKuNTuK3BKJvwqM74QU
Co-authored-by: Claude <noreply@anthropic.com>1 parent 20b9a9c commit 94f7ef8
4 files changed
Lines changed: 32 additions & 2 deletions
File tree
- .changeset
- examples/app-showcase/src/data/objects
- packages/spec/src/data
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
795 | 795 | | |
796 | 796 | | |
797 | 797 | | |
798 | | - | |
| 798 | + | |
799 | 799 | | |
800 | 800 | | |
801 | 801 | | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
802 | 813 | | |
803 | 814 | | |
804 | 815 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1548 | 1548 | | |
1549 | 1549 | | |
1550 | 1550 | | |
| 1551 | + | |
1551 | 1552 | | |
1552 | 1553 | | |
1553 | 1554 | | |
| |||
0 commit comments