Skip to content

Commit fb65437

Browse files
committed
chore(spec): regenerate authorable-surface and reference docs for object-kanban limit
`pnpm --filter @objectstack/spec build` (gen:schema) adds the `ui/ObjectKanbanProps:limit` row to `authorable-surface/ui.json`; `check:generated` proved only `content/docs/references/**` stale and `gen:docs` regenerated it. No `api-surface/` shard moves — a key on an existing props map adds no export. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01T6HeZvT9wdSJD1ZxJb5Eno
1 parent e7d0432 commit fb65437

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

content/docs/references/ui/component.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,7 @@ Sort field and direction pair
457457
| **groupBy** | `string` | optional | Field whose values become the board columns |
458458
| **columns** | `any[]` | optional | Swimlane definitions (`{ id, title }` per `groupBy` value, or bare value strings) — NOT a field projection |
459459
| **filter** | `any` | optional | Base query filter, handed to the wire `$filter` |
460+
| **limit** | `integer` | optional | Maximum number of records loaded onto the board (row cap); lowered to the query's top-level `$top` (renderer default 100). The component-level `dataSource.limit` wins when both are set; a bound view's `pagination.pageSize` fills it only when unset |
460461
| **data** | `any[]` | optional | Static inline cards — bypasses the object query |
461462
| **cardTitle** | `string` | optional | Field rendered as each card title |
462463
| **titleField** | `string` | optional | Legacy fallback for `cardTitle` (the board reads `cardTitle \|\| titleField`). Prefer `cardTitle` |

packages/spec/authorable-surface/ui.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,7 @@
778778
"ui/ObjectKanbanProps:filter",
779779
"ui/ObjectKanbanProps:groupBy",
780780
"ui/ObjectKanbanProps:grouping",
781+
"ui/ObjectKanbanProps:limit",
781782
"ui/ObjectKanbanProps:objectName",
782783
"ui/ObjectKanbanProps:quickAdd",
783784
"ui/ObjectKanbanProps:swimlaneField",

0 commit comments

Comments
 (0)