Skip to content

Commit 91b9137

Browse files
committed
chore(spec): regenerate ui.txt and component.mdx from the merged tree
`main` moved under this branch: #19226 landed the author-settable row ceiling and touched the same two generated artifacts this branch owns. Both are routed to the `os-regen` merge driver, which merges them with exit 0 while silently keeping one side, so `scripts/pm/os-regen-merge.sh` was run: it merged `origin/main`, took main's side of the two artifacts in the worktree, and committed the merge first. This is its step 4 — regenerate on the committed merge, never a text merge and never a hand edit. Regenerated with the repo's own tooling on a REAL build (no `OS_SKIP_DTS`): `build` -> `gen:schema` -> `gen:api-surface-declarations` -> `gen:docs`. `check:api-surface-declarations` reads "declaration text unchanged (17 entry points, 5364 declarations)" and `check:generated` is green on all 16 artefacts. Both sides asserted present afterwards, against the STAGED index blobs as well as the worktree, with a dark control reading 0: #19226's `ui/GalleryConfig:limit` / `ui/KanbanConfig:limit` / `ui/TimelineConfig:limit`, `DEFAULT_VIEW_ROW_LIMIT` and `KanbanConfigParsed`; and this branch's own `RecordRelatedListProps.columns` union with its nested `columns[number]` docs table. Claude-Session: https://claude.ai/code/session_01JbZnqu8bt6YqfJsr9vaFb3 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 888bfff commit 91b9137

2 files changed

Lines changed: 35 additions & 2 deletions

File tree

‎content/docs/references/ui/component.mdx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -828,6 +828,7 @@ View filter rule
828828
| **groupByField** | `string` | optional | Field to group timeline rows. NO leading or trailing whitespace: the renderer reads this name off every row verbatim, so a padded spelling drops every row into one ungrouped band. |
829829
| **colorField** | `string` | optional | Field to derive each item color from (it names a field, not a color): the option color declared on that field for the record value, else the value itself when it already is a color literal (hex, rgb() or hsl()), else the timeline default marker color |
830830
| **scale** | `Enum<'hour' \| 'day' \| 'week' \| 'month' \| 'quarter' \| 'year'>` | optional (default: `"week"`) | Default timeline scale |
831+
| **limit** | `integer` | optional (default: `100`) | Row ceiling — the most rows the timeline fetches onto its rail, sent as the query `$top`; default 100 when the key is absent. When the ceiling APPLIES (the filtered set is larger than it), the renderer must show a visible truncation signal saying what is on screen is not the whole set — a bounded view that looks complete is worse than an unbounded one. |
831832

832833
### Nested Shape: `ObjectTimelineProps.filter[number]`
833834

‎packages/spec/api-surface-declarations/ui.txt‎

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
# excluded: documentation drift is `check:docs`'s axis, not this one.
1313
#
1414
# entry: ./ui
15-
# exported names: 474
16-
# declarations: 488
15+
# exported names: 476
16+
# declarations: 490
1717
#
1818
# GENERATED — ⛔ never hand-edited. Regenerate after a real build:
1919
# pnpm --filter @objectstack/spec build && pnpm --filter @objectstack/spec gen:api-surface-declarations
@@ -5402,6 +5402,7 @@ declare const ComponentPropsMap: {
54025402
week: "week";
54035403
quarter: "quarter";
54045404
}>>;
5405+
limit: z.ZodDefault<z.ZodNumber>;
54055406
}, z.core.$strict>>;
54065407
filter: z.ZodOptional<z.ZodArray<z.ZodObject<{
54075408
field: z.ZodString;
@@ -5486,6 +5487,9 @@ declare const DATE_RANGE_DEFAULT_RANGES: readonly ["today", "yesterday", "this_w
54865487
// ── DATE_RANGE_PRESETS (const) ──
54875488
declare const DATE_RANGE_PRESETS: readonly ["today", "yesterday", "this_week", "last_week", "this_month", "last_month", "this_quarter", "last_quarter", "this_year", "last_year", "last_7_days", "last_30_days", "last_90_days"];
54885489

5490+
// ── DEFAULT_VIEW_ROW_LIMIT (const) ──
5491+
declare const DEFAULT_VIEW_ROW_LIMIT = 100;
5492+
54895493
// ── Dashboard (const) ──
54905494
declare const Dashboard: {
54915495
readonly create: (config: z.input<typeof DashboardSchema>) => Dashboard;
@@ -8811,6 +8815,7 @@ declare const GalleryConfigSchema: z.ZodObject<{
88118815
}>>;
88128816
titleField: z.ZodOptional<z.ZodString>;
88138817
visibleFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
8818+
limit: z.ZodDefault<z.ZodNumber>;
88148819
}, z.core.$strict>;
88158820

88168821
// ── GanttConfig (type) ──
@@ -9754,12 +9759,16 @@ declare const KNOWN_COMPONENT_TYPE_CANDIDATES: readonly string[];
97549759
// ── KanbanConfig (type) ──
97559760
type KanbanConfig = z.input<typeof KanbanConfigSchema>;
97569761

9762+
// ── KanbanConfigParsed (type) ──
9763+
type KanbanConfigParsed = z.infer<typeof KanbanConfigSchema>;
9764+
97579765
// ── KanbanConfigSchema (const) ──
97589766
declare const KanbanConfigSchema: z.ZodObject<{
97599767
groupByField: z.ZodString;
97609768
summarizeField: z.ZodOptional<z.ZodString>;
97619769
titleField: z.ZodOptional<z.ZodString>;
97629770
columns: z.ZodArray<z.ZodString>;
9771+
limit: z.ZodDefault<z.ZodNumber>;
97639772
}, z.core.$strict>;
97649773

97659774
// ── LIST_VIEW_GROUP_COUNT_ALIAS (const) ──
@@ -10220,6 +10229,7 @@ declare const ListViewSchema: z.ZodObject<{
1022010229
summarizeField: z.ZodOptional<z.ZodString>;
1022110230
titleField: z.ZodOptional<z.ZodString>;
1022210231
columns: z.ZodArray<z.ZodString>;
10232+
limit: z.ZodDefault<z.ZodNumber>;
1022310233
}, z.core.$strict>>;
1022410234
calendar: z.ZodOptional<z.ZodObject<{
1022510235
startDateField: z.ZodString;
@@ -10306,6 +10316,7 @@ declare const ListViewSchema: z.ZodObject<{
1030610316
}>>;
1030710317
titleField: z.ZodOptional<z.ZodString>;
1030810318
visibleFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
10319+
limit: z.ZodDefault<z.ZodNumber>;
1030910320
}, z.core.$strict>>;
1031010321
timeline: z.ZodOptional<z.ZodObject<{
1031110322
startDateField: z.ZodString;
@@ -10321,6 +10332,7 @@ declare const ListViewSchema: z.ZodObject<{
1032110332
week: "week";
1032210333
quarter: "quarter";
1032310334
}>>;
10335+
limit: z.ZodDefault<z.ZodNumber>;
1032410336
}, z.core.$strict>>;
1032510337
chart: z.ZodOptional<z.ZodObject<{
1032610338
chartType: z.ZodDefault<z.ZodEnum<{
@@ -11943,6 +11955,7 @@ declare const ObjectListViewSchema: z.ZodObject<{
1194311955
}>>;
1194411956
titleField: z.ZodOptional<z.ZodString>;
1194511957
visibleFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
11958+
limit: z.ZodDefault<z.ZodNumber>;
1194611959
}, z.core.$strict>>;
1194711960
chart: z.ZodOptional<z.ZodObject<{
1194811961
chartType: z.ZodDefault<z.ZodEnum<{
@@ -11993,6 +12006,7 @@ declare const ObjectListViewSchema: z.ZodObject<{
1199312006
summarizeField: z.ZodOptional<z.ZodString>;
1199412007
titleField: z.ZodOptional<z.ZodString>;
1199512008
columns: z.ZodArray<z.ZodString>;
12009+
limit: z.ZodDefault<z.ZodNumber>;
1199612010
}, z.core.$strict>>;
1199712011
gantt: z.ZodOptional<z.ZodObject<{
1199812012
startDateField: z.ZodString;
@@ -12073,6 +12087,7 @@ declare const ObjectListViewSchema: z.ZodObject<{
1207312087
week: "week";
1207412088
quarter: "quarter";
1207512089
}>>;
12090+
limit: z.ZodDefault<z.ZodNumber>;
1207612091
}, z.core.$strict>>;
1207712092
calendar: z.ZodOptional<z.ZodObject<{
1207812093
startDateField: z.ZodString;
@@ -12559,6 +12574,7 @@ declare const ObjectTimelinePropsSchema: z.ZodObject<{
1255912574
week: "week";
1256012575
quarter: "quarter";
1256112576
}>>;
12577+
limit: z.ZodDefault<z.ZodNumber>;
1256212578
}, z.core.$strict>>;
1256312579
filter: z.ZodOptional<z.ZodArray<z.ZodObject<{
1256412580
field: z.ZodString;
@@ -20088,6 +20104,7 @@ declare const TimelineConfigSchema: z.ZodObject<{
2008820104
week: "week";
2008920105
quarter: "quarter";
2009020106
}>>;
20107+
limit: z.ZodDefault<z.ZodNumber>;
2009120108
}, z.core.$strict>;
2009220109

2009320110
// ── TreeConfig (type) ──
@@ -20993,6 +21010,7 @@ declare const VIEW_METADATA_MEMBERS: {
2099321010
}>>;
2099421011
titleField: z.ZodOptional<z.ZodString>;
2099521012
visibleFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
21013+
limit: z.ZodDefault<z.ZodNumber>;
2099621014
}, z.core.$strict>>;
2099721015
chart: z.ZodOptional<z.ZodObject<{
2099821016
chartType: z.ZodDefault<z.ZodEnum<{
@@ -21043,6 +21061,7 @@ declare const VIEW_METADATA_MEMBERS: {
2104321061
summarizeField: z.ZodOptional<z.ZodString>;
2104421062
titleField: z.ZodOptional<z.ZodString>;
2104521063
columns: z.ZodArray<z.ZodString>;
21064+
limit: z.ZodDefault<z.ZodNumber>;
2104621065
}, z.core.$strict>>;
2104721066
gantt: z.ZodOptional<z.ZodObject<{
2104821067
startDateField: z.ZodString;
@@ -21123,6 +21142,7 @@ declare const VIEW_METADATA_MEMBERS: {
2112321142
week: "week";
2112421143
quarter: "quarter";
2112521144
}>>;
21145+
limit: z.ZodDefault<z.ZodNumber>;
2112621146
}, z.core.$strict>>;
2112721147
calendar: z.ZodOptional<z.ZodObject<{
2112821148
startDateField: z.ZodString;
@@ -22231,6 +22251,7 @@ declare const VIEW_METADATA_MEMBERS: {
2223122251
}>>;
2223222252
titleField: z.ZodOptional<z.ZodString>;
2223322253
visibleFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
22254+
limit: z.ZodDefault<z.ZodNumber>;
2223422255
}, z.core.$strict>>;
2223522256
chart: z.ZodOptional<z.ZodObject<{
2223622257
chartType: z.ZodDefault<z.ZodEnum<{
@@ -22281,6 +22302,7 @@ declare const VIEW_METADATA_MEMBERS: {
2228122302
summarizeField: z.ZodOptional<z.ZodString>;
2228222303
titleField: z.ZodOptional<z.ZodString>;
2228322304
columns: z.ZodArray<z.ZodString>;
22305+
limit: z.ZodDefault<z.ZodNumber>;
2228422306
}, z.core.$strict>>;
2228522307
gantt: z.ZodOptional<z.ZodObject<{
2228622308
startDateField: z.ZodString;
@@ -22361,6 +22383,7 @@ declare const VIEW_METADATA_MEMBERS: {
2236122383
week: "week";
2236222384
quarter: "quarter";
2236322385
}>>;
22386+
limit: z.ZodDefault<z.ZodNumber>;
2236422387
}, z.core.$strict>>;
2236522388
calendar: z.ZodOptional<z.ZodObject<{
2236622389
startDateField: z.ZodString;
@@ -23306,6 +23329,7 @@ declare const VIEW_METADATA_MEMBERS: {
2330623329
summarizeField: z.ZodOptional<z.ZodString>;
2330723330
titleField: z.ZodOptional<z.ZodString>;
2330823331
columns: z.ZodArray<z.ZodString>;
23332+
limit: z.ZodDefault<z.ZodNumber>;
2330923333
}, z.core.$strict>>;
2331023334
calendar: z.ZodOptional<z.ZodObject<{
2331123335
startDateField: z.ZodString;
@@ -23392,6 +23416,7 @@ declare const VIEW_METADATA_MEMBERS: {
2339223416
}>>;
2339323417
titleField: z.ZodOptional<z.ZodString>;
2339423418
visibleFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
23419+
limit: z.ZodDefault<z.ZodNumber>;
2339523420
}, z.core.$strict>>;
2339623421
timeline: z.ZodOptional<z.ZodObject<{
2339723422
startDateField: z.ZodString;
@@ -23407,6 +23432,7 @@ declare const VIEW_METADATA_MEMBERS: {
2340723432
week: "week";
2340823433
quarter: "quarter";
2340923434
}>>;
23435+
limit: z.ZodDefault<z.ZodNumber>;
2341023436
}, z.core.$strict>>;
2341123437
chart: z.ZodOptional<z.ZodObject<{
2341223438
chartType: z.ZodDefault<z.ZodEnum<{
@@ -25323,6 +25349,7 @@ declare const ViewSchema: z.ZodObject<{
2532325349
}>>;
2532425350
titleField: z.ZodOptional<z.ZodString>;
2532525351
visibleFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
25352+
limit: z.ZodDefault<z.ZodNumber>;
2532625353
}, z.core.$strict>>;
2532725354
chart: z.ZodOptional<z.ZodObject<{
2532825355
chartType: z.ZodDefault<z.ZodEnum<{
@@ -25373,6 +25400,7 @@ declare const ViewSchema: z.ZodObject<{
2537325400
summarizeField: z.ZodOptional<z.ZodString>;
2537425401
titleField: z.ZodOptional<z.ZodString>;
2537525402
columns: z.ZodArray<z.ZodString>;
25403+
limit: z.ZodDefault<z.ZodNumber>;
2537625404
}, z.core.$strict>>;
2537725405
gantt: z.ZodOptional<z.ZodObject<{
2537825406
startDateField: z.ZodString;
@@ -25453,6 +25481,7 @@ declare const ViewSchema: z.ZodObject<{
2545325481
week: "week";
2545425482
quarter: "quarter";
2545525483
}>>;
25484+
limit: z.ZodDefault<z.ZodNumber>;
2545625485
}, z.core.$strict>>;
2545725486
calendar: z.ZodOptional<z.ZodObject<{
2545825487
startDateField: z.ZodString;
@@ -26561,6 +26590,7 @@ declare const ViewSchema: z.ZodObject<{
2656126590
}>>;
2656226591
titleField: z.ZodOptional<z.ZodString>;
2656326592
visibleFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
26593+
limit: z.ZodDefault<z.ZodNumber>;
2656426594
}, z.core.$strict>>;
2656526595
chart: z.ZodOptional<z.ZodObject<{
2656626596
chartType: z.ZodDefault<z.ZodEnum<{
@@ -26611,6 +26641,7 @@ declare const ViewSchema: z.ZodObject<{
2661126641
summarizeField: z.ZodOptional<z.ZodString>;
2661226642
titleField: z.ZodOptional<z.ZodString>;
2661326643
columns: z.ZodArray<z.ZodString>;
26644+
limit: z.ZodDefault<z.ZodNumber>;
2661426645
}, z.core.$strict>>;
2661526646
gantt: z.ZodOptional<z.ZodObject<{
2661626647
startDateField: z.ZodString;
@@ -26691,6 +26722,7 @@ declare const ViewSchema: z.ZodObject<{
2669126722
week: "week";
2669226723
quarter: "quarter";
2669326724
}>>;
26725+
limit: z.ZodDefault<z.ZodNumber>;
2669426726
}, z.core.$strict>>;
2669526727
calendar: z.ZodOptional<z.ZodObject<{
2669626728
startDateField: z.ZodString;

0 commit comments

Comments
 (0)