Commit 05024ba
committed
refactor(api): consolidate cloud endpoint validators and type definitions
- Move cloud endpoint validator schemas from rest-typings to api implementation
- Inline isCloudConfirmationPollProps, isCloudCreateRegistrationIntentProps, and isCloudManualRegisterProps validators into cloud.ts
- Chain endpoint definitions using fluent API pattern for better organization
- Extract CloudEndpoints type from chained API definition using ExtractRoutesFromAPI utility
- Remove unused CloudRegistrationStatus import and endpoint type definitions from rest-typings
- Update module declaration to extend CloudEndpoints from implementation instead of duplicating types
- Add comment clarifying remaining type exports are for ui-client compatibility1 parent 305a242 commit 05024ba
3 files changed
Lines changed: 239 additions & 239 deletions
File tree
- .changeset
- apps/meteor/app/api/server/v1
- packages/rest-typings/src/v1
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments