Skip to content

Commit

Permalink
feat: add type to support service listing in backend API
Browse files Browse the repository at this point in the history
Signed-off-by: Tiago Barbosa <tbarbos@hotmail.com>
  • Loading branch information
t1agob committed May 23, 2024
1 parent 21921eb commit 0b0a50a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,14 @@ export type PagerDutyServicesResponse = {
services: PagerDutyService[];
};

/** @public */
export type PagerDutyServicesAPIResponse = PagerDutyServicesResponse & {
offset: number;
limit: number;
total: number | null;
more: boolean;
};

/** @public */
export type PagerDutyServiceResponse = {
service: PagerDutyService;
Expand Down

0 comments on commit 0b0a50a

Please sign in to comment.