Commit f08ffc3
feat: improve client route type safety and add changeset entry
- Extract ApiRouteType from ApiRoutes keys for type-safe route resolution
- Add 'discovery' route to client fallback map
- Remove 'as any' type casting in client route access
- Add changeset entry documenting all discovery routing changes
Agent-Logs-Url: https://github.com/objectstack-ai/spec/sessions/283e383b-284b-40fe-af98-c11f61a4c8a8
Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>1 parent 7e3bf60 commit f08ffc3
2 files changed
Lines changed: 45 additions & 4 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
93 | 101 | | |
94 | 102 | | |
95 | 103 | | |
| |||
1677 | 1685 | | |
1678 | 1686 | | |
1679 | 1687 | | |
1680 | | - | |
| 1688 | + | |
1681 | 1689 | | |
1682 | | - | |
1683 | | - | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
1684 | 1693 | | |
1685 | 1694 | | |
1686 | 1695 | | |
1687 | | - | |
| 1696 | + | |
1688 | 1697 | | |
1689 | 1698 | | |
| 1699 | + | |
1690 | 1700 | | |
1691 | 1701 | | |
1692 | 1702 | | |
| |||
1701 | 1711 | | |
1702 | 1712 | | |
1703 | 1713 | | |
| 1714 | + | |
1704 | 1715 | | |
1705 | 1716 | | |
1706 | 1717 | | |
| |||
0 commit comments