refactor(SW-188): replace anon or auth procedure with serviceProcedure
This commit is contained in:
@@ -16,10 +16,4 @@ export namespace endpoints {
|
||||
}
|
||||
}
|
||||
|
||||
export const getHotelEndpoint = (hotelId: string | number) =>
|
||||
`${endpoints.v1.hotels}/${hotelId}` as const
|
||||
|
||||
export type Endpoint =
|
||||
| endpoints.v0
|
||||
| endpoints.v1
|
||||
| ReturnType<typeof getHotelEndpoint>
|
||||
export type Endpoint = endpoints.v0 | endpoints.v1
|
||||
|
||||
Reference in New Issue
Block a user