From 0b0a50aaaf9dc59634796c81f83973b734c81688 Mon Sep 17 00:00:00 2001 From: Tiago Barbosa Date: Thu, 23 May 2024 13:40:05 +0100 Subject: [PATCH] feat: add type to support service listing in backend API Signed-off-by: Tiago Barbosa --- src/types.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/types.ts b/src/types.ts index b006fc4..0193626 100644 --- a/src/types.ts +++ b/src/types.ts @@ -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;