Skip to content

feat(search): includeChildSpaces on searchContent/askContent#15

Merged
Tsabary merged 1 commit into
mainfrom
feat/search-include-child-spaces
Jun 30, 2026
Merged

feat(search): includeChildSpaces on searchContent/askContent#15
Tsabary merged 1 commit into
mainfrom
feat/search-include-child-spaces

Conversation

@Tsabary

@Tsabary Tsabary commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

What

Adds an optional includeChildSpaces?: boolean to AskContentProps and SearchContentProps. It flows into the request body via the existing ...body spread — interface-only change.

Why

Pairs with the server flag (sublay-io/server-hosted#47): when set with a spaceId, the ask/search covers the space plus its whole child-space subtree (any depth). Default off; mirrors the server param name exactly.

🤖 Generated with Claude Code

Optional prop on AskContentProps/SearchContentProps, forwarded in the request
body (via the existing ...body spread) so a space-scoped ask/search can cover
the space's whole child-space subtree. Mirrors the server param; default off.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Tsabary Tsabary self-assigned this Jun 30, 2026
@Tsabary Tsabary merged commit 90190ae into main Jun 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant