From 7a90e2b252730714e180855131e43d4941c4dec2 Mon Sep 17 00:00:00 2001 From: nivedin Date: Fri, 10 May 2024 15:54:54 +0530 Subject: [PATCH] chore: add platform def in common --- packages/hoppscotch-common/src/platform/index.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/hoppscotch-common/src/platform/index.ts b/packages/hoppscotch-common/src/platform/index.ts index 9caf20e89..088cc2509 100644 --- a/packages/hoppscotch-common/src/platform/index.ts +++ b/packages/hoppscotch-common/src/platform/index.ts @@ -11,6 +11,7 @@ import { InspectorsPlatformDef } from "./inspectors" import { ServiceClassInstance } from "dioc" import { IOPlatformDef } from "./io" import { SpotlightPlatformDef } from "./spotlight" +import { Ref } from "vue" export type PlatformDef = { ui?: UIPlatformDef @@ -45,6 +46,11 @@ export type PlatformDef = { * If a value is not given, then the value is assumed to be true */ promptAsUsingCookies?: boolean + + /** + * Whether to show the A/B testing workspace switcher click login flow or not + */ + workspaceSwitcherLogin?: Ref } }