Commit cda4fd8
feat: mocks target ClientInterface exclusively + SearchUsers + docs cleanup (#196)
* feat: generated mocks implement ClientInterface for non-streaming services
Generated Mock*Service types now satisfy both *Service and
*ServiceClientInterface for services without streaming methods.
This eliminates the need to hand-write verbose mock structs with
panic stubs for Close/Group/WithGroup when tests depend on the
client interface.
For streaming services the mock remains unchanged because Service
and ClientInterface have incompatible streaming method signatures.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat: streaming service mocks target ClientInterface with client-side signatures
Streaming mocks (LimitOrderService, TransactionService) now use client-side
method signatures returning (StreamClient, error) instead of server-side
signatures accepting a stream parameter. All mocks uniformly implement
*ServiceClientInterface with Close(), Group(), and WithGroup() methods.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* update deps
* correct version specification
* chore: update release command and remove outdated hand-written TS docs
Add Step 6 to release command to merge the 5 auto-generated version-bump
PRs after deployment workflows complete. Remove obsolete CLAUDE.md guidance
about hand-written TypeScript client wrappers (all now auto-generated by
protoc-gen-meshts).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: prettier formatting in ts-old groupHeaderInterceptor
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix versions
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 9b77ef4 commit cda4fd8
File tree
34 files changed
+2340
-16046
lines changed- .claude/commands
- docs/docs/api-reference/iam/user/v1/service/search-users
- go
- compliance/client/v1
- iam
- api_user/v1
- group/v1
- user_profile/v1
- user/v1
- ledger/transaction/v1
- market_data/price/v1
- reporting/account_report/v1
- testing/ledger/token_tap/v1
- trading
- limit_order/v1
- market_order/v1
- wallet/account/v1
- proto/meshtrade/iam/user/v1
- python/src/meshtrade/iam/user/v1
- tool
- protoc-gen-mesh_ts_node
- protoc-gen-mesh_ts_web
- protoc-gen-meshgo/pkg/generate/serviceProvider
- protoc-gen-meshtsold
- ts-node
- ts-old/src/meshtrade/common
- ts-web
34 files changed
+2340
-16046
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
97 | 119 | | |
98 | 120 | | |
99 | 121 | | |
100 | 122 | | |
101 | | - | |
| 123 | + | |
102 | 124 | | |
103 | 125 | | |
104 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | 383 | | |
409 | 384 | | |
410 | 385 | | |
| |||
419 | 394 | | |
420 | 395 | | |
421 | 396 | | |
422 | | - | |
423 | | - | |
| 397 | + | |
424 | 398 | | |
425 | 399 | | |
426 | 400 | | |
427 | 401 | | |
428 | 402 | | |
429 | 403 | | |
430 | 404 | | |
431 | | - | |
432 | | - | |
| 405 | + | |
Lines changed: 35 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments