Commit 68e5836
authored
feat: Cleanup all feature schemas (#515)
* feat: add v2 feature status update endpoint
- Add /v2/projects/:project/features/:feature/status PATCH endpoint to zodClient.ts
- Export UpdateFeatureStatusDto schema from zodClientV2.ts
- Remove duplicate UpdateFeatureStatusDto from schemas.ts and import from zodClientV2.ts
- Maintain single source of truth for UpdateFeatureStatusDto schema
* test: fix features update command test request body mismatches
- Remove extra properties (headless, whichFields, listPromptOption) from HTTP mock expectations
- These properties were filtered out by Zod validation in the actual command
- All tests now pass with correct request body matching
* feat: cleanup all feature schemas, rename ->
* fix: add renamed files1 parent 46fe458 commit 68e5836
File tree
9 files changed
+1627
-6761
lines changed- src
- api
- commands
- features
- projects
- mcp
- tools
9 files changed
+1627
-6761
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | 73 | | |
| 74 | + | |
78 | 75 | | |
79 | 76 | | |
80 | 77 | | |
| |||
0 commit comments