Feat: Implement Experts API module for @perstack/api-client#397
Closed
Feat: Implement Experts API module for @perstack/api-client#397
Conversation
- Add types.ts with Zod schemas for Scope, Version, Draft, etc. - Add versions.ts with VersionsApi sub-module - Add drafts.ts with DraftsApi sub-module (CRUD + assignVersion) - Add api.ts with main ExpertsApi (list, get, getMeta, publish, unpublish, yank) - Add comprehensive MSW tests for all endpoints - Update client.ts to include experts API - Update index.ts to export all types and APIs Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@perstack/api-clientpackage@perstack/base@1.0.0)Changes
src/experts/types.ts- Zod schemas for Scope, ScopeMeta, Version, Draft, DraftRef, Expertsrc/experts/versions.ts- VersionsApi with list operationsrc/experts/drafts.ts- DraftsApi with list, get, create, update, delete, assignVersionsrc/experts/api.ts- ExpertsApi with list, get, getMeta, publish, unpublish, yanksrc/experts/index.ts- Module exportssrc/client.ts- Integrate experts API into ApiClientsrc/index.ts- Export all types and APIsTest plan
Related
Closes wintermute-llc/wintermute#816
🤖 Generated with Claude Code