Skip to content

Commit 750a1ea

Browse files
committed
chore(ui): the spec-symbol guard allows the collaboration CommentThread component beside the spec's CommentThread entry
#39084 adds CommentThread to @objectstack/spec/api (one entry of the comment threads read's answer). @object-ui/collaboration publishes a React component of the same name; two layers, so an ALLOW entry with the reason, as EmptyState's. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzfHCzQWh6PeQnvToFz
1 parent 809a6e1 commit 750a1ea

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

‎ui/scripts/check-spec-symbol-derivation.mjs‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,17 @@ const ALLOW = {
589589
"and the node keeps its `ComponentPropsMap['form']` pairing there.",
590590
issue: 37086,
591591
},
592+
"@object-ui/collaboration:CommentThread": {
593+
reason:
594+
"Two LAYERS under one name (objectstack#39084): this is the published React COMPONENT " +
595+
"that draws one discussion (threadId, comments, currentUser and the reply / resolve " +
596+
"callbacks), and the spec's `CommentThread`, added with `POST /api/v1/comments/threads/query`, " +
597+
"is one ENTRY of that read's answer (comment, record, replyCount, repliers). A component is " +
598+
"not a wire shape, so neither import nor derivation fits. It is a PUBLISHED export of the " +
599+
"package, so renaming it changes a public name and belongs to its own card; the list-page " +
600+
"comments card that consumes the read imports the spec type under an alias.",
601+
issue: 39084,
602+
},
592603
"@object-ui/types:SelectOptionSchema": {
593604
reason:
594605
"Spec-derived dialect (objectui#3090): spec keys flow in by reference via " +

0 commit comments

Comments
 (0)