fix: add args as keyParts for unstable_cache
This commit is contained in:
committed by
Pontus Dreij
parent
ea8fdc940d
commit
ed3acce57c
@@ -1,7 +0,0 @@
|
||||
export enum ServiceTokenScopeEnum {
|
||||
profile = "profile",
|
||||
hotel = "hotel",
|
||||
booking = "booking",
|
||||
}
|
||||
|
||||
export type ServiceTokenScope = keyof typeof ServiceTokenScopeEnum
|
||||
@@ -6,3 +6,6 @@ export interface LocationSchema extends z.output<typeof apiLocationsSchema> {}
|
||||
|
||||
export type Locations = LocationSchema["data"]
|
||||
export type Location = Locations[number]
|
||||
|
||||
export type CityLocation = Location & { type: "cities" }
|
||||
export type HotelLocation = Location & { type: "hotels" }
|
||||
|
||||
Reference in New Issue
Block a user