feat: copyable invite links (#4153)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com> Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
This commit is contained in:
@@ -11,6 +11,7 @@ import { InspectorsPlatformDef } from "./inspectors"
|
||||
import { ServiceClassInstance } from "dioc"
|
||||
import { IOPlatformDef } from "./io"
|
||||
import { SpotlightPlatformDef } from "./spotlight"
|
||||
import { InfraPlatformDef } from "./infra"
|
||||
import { Ref } from "vue"
|
||||
|
||||
export type PlatformDef = {
|
||||
@@ -52,6 +53,7 @@ export type PlatformDef = {
|
||||
*/
|
||||
workspaceSwitcherLogin?: Ref<boolean>
|
||||
}
|
||||
infra?: InfraPlatformDef
|
||||
}
|
||||
|
||||
export let platform: PlatformDef
|
||||
|
||||
5
packages/hoppscotch-common/src/platform/infra.ts
Normal file
5
packages/hoppscotch-common/src/platform/infra.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import * as E from "fp-ts/Either"
|
||||
|
||||
export type InfraPlatformDef = {
|
||||
getIsSMTPEnabled?: () => Promise<E.Either<string, boolean>>
|
||||
}
|
||||
Reference in New Issue
Block a user