Skip to content

feat(search): add matchUsers for POST /match/users#17

Merged
Tsabary merged 3 commits into
mainfrom
feat/activity-interest-matching
Jul 2, 2026
Merged

feat(search): add matchUsers for POST /match/users#17
Tsabary merged 3 commits into
mainfrom
feat/activity-interest-matching

Conversation

@Tsabary

@Tsabary Tsabary commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Adds client.search.matchUsers — a thin POST wrapper for the new /match/users endpoint (activity-interest matching), typed to the match request body and the { results: [...] } breakdown envelope. sampleContent is concretely typed as SampleContent { sourceType, recordId, content, similarity }. Includes request/response tests.

Pairs with sublay-io/server-hosted#48.

🤖 Generated with Claude Code

Tsabary and others added 3 commits July 1, 2026 16:38
Thin POST wrapper mirroring searchUsers, typed to the match request body and
the { results: [...] } breakdown envelope, exposed via client.search.matchUsers.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Replace the placeholder any[] with a SampleContent type mirroring the
server's { sourceType, recordId, content, similarity } shape.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Tsabary Tsabary self-assigned this Jul 2, 2026
@Tsabary Tsabary merged commit 75d4f6c into main Jul 2, 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