From 6221e125b191b5908ddf7cc7ae9efa2e425e73aa Mon Sep 17 00:00:00 2001 From: Andrew Bastin Date: Mon, 23 Oct 2023 18:58:03 +0530 Subject: [PATCH] chore: add supportsCookies field to interceptors --- .../hoppscotch-common/src/services/interceptor.service.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/hoppscotch-common/src/services/interceptor.service.ts b/packages/hoppscotch-common/src/services/interceptor.service.ts index 9a3a2662e..ab7317a1e 100644 --- a/packages/hoppscotch-common/src/services/interceptor.service.ts +++ b/packages/hoppscotch-common/src/services/interceptor.service.ts @@ -85,6 +85,12 @@ export type Interceptor = { */ name: (t: ReturnType) => MaybeRef + /** + * Defines whether the interceptor has support for cookies. + * If this field is undefined, it is assumed as not supporting cookies. + */ + supportsCookies?: boolean + /** * Defines what to render in the Interceptor section of the Settings page. * Use this space to define interceptor specific settings.