chore: add platform def in common
This commit is contained in:
@@ -11,6 +11,7 @@ import { InspectorsPlatformDef } from "./inspectors"
|
|||||||
import { ServiceClassInstance } from "dioc"
|
import { ServiceClassInstance } from "dioc"
|
||||||
import { IOPlatformDef } from "./io"
|
import { IOPlatformDef } from "./io"
|
||||||
import { SpotlightPlatformDef } from "./spotlight"
|
import { SpotlightPlatformDef } from "./spotlight"
|
||||||
|
import { Ref } from "vue"
|
||||||
|
|
||||||
export type PlatformDef = {
|
export type PlatformDef = {
|
||||||
ui?: UIPlatformDef
|
ui?: UIPlatformDef
|
||||||
@@ -45,6 +46,11 @@ export type PlatformDef = {
|
|||||||
* If a value is not given, then the value is assumed to be true
|
* If a value is not given, then the value is assumed to be true
|
||||||
*/
|
*/
|
||||||
promptAsUsingCookies?: boolean
|
promptAsUsingCookies?: boolean
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether to show the A/B testing workspace switcher click login flow or not
|
||||||
|
*/
|
||||||
|
workspaceSwitcherLogin?: Ref<boolean>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user