Skip to content

Commit

Permalink
πŸ› missing API Object
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyfritz committed Mar 31, 2019
1 parent bc76543 commit 4ae7e00
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/api/HotspotInfo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { IHotspot } from "./IHotspot";

export interface IHotspotInfoRequest {
locId: string;
}

export type IHotspotInfoResponse = IHotspot;

export const HotspotInfoParams: Array<keyof IHotspotInfoRequest> =
[];

export const HotspotInfoUrl = (request: IHotspotInfoRequest): string =>
`ref/hotspot/info/${request.locId}`;

0 comments on commit 4ae7e00

Please sign in to comment.