Skip to content

Commit 36952b4

Browse files
committed
docs(spec): regenerate the record-page API reference and add the changeset
Claude-Session: https://claude.ai/code/session_01QsR2jRs3fMDRLr3zkuDuVo Co-authored-by: Claude <noreply@anthropic.com>
1 parent 83c123c commit 36952b4

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@objectstack/spec': patch
3+
---
4+
5+
docs(spec): the record-page `timeline` total is documented as an upper bound of the entries the 动态 panel draws
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
The `RecordPageTimelineRequestSchema` docblock, and the record-page file header that the API reference page is generated from, now say what the `timeline` total counts: the sources' rows as the schema's table defines them. That makes it an upper bound of the entries the 动态 panel draws, not their number. The panel draws fewer where its `showCompleted` / `types` configuration filters entries out, and where a ledger row has no displayable diff. Prose only: no schema shape, `.describe()` text or behaviour changes.

‎content/docs/references/api/record-page.mdx‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,12 @@ and how many rows. Paging further, posting, reacting and uploading keep
4242
their own routes. [#28737] The `timeline` part is the size of the record's
4343
动态 stream — the comments, the activity and the field changes it merges —
4444
counted by those reads as the caller (`RecordPageTimelineRequestSchema`), so
45-
a page draws the stream's count without holding every row of it. Object permissions, row-level security, sharing and
45+
a page draws the stream's count without holding every row of it. The total
46+
counts the sources' rows as that schema's table defines them, so it is an
47+
upper bound of the entries the 动态 panel draws, not their number. The panel
48+
draws fewer where its `showCompleted` / `types` configuration filters entries
49+
out, and where a ledger row has no displayable diff and so draws no entry.
50+
Object permissions, row-level security, sharing and
4651
field-level security therefore apply exactly as they apply to those reads.
4752
A part whose read refuses carries that refusal in place of an answer — a
4853
related list the caller may not read carries neither a count nor rows — and

0 commit comments

Comments
 (0)