feat: introducing self hosted admin dashboard package (#12)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com> Co-authored-by: Anwarul Islam <anwaarulislaam@gmail.com>
This commit is contained in:
committed by
GitHub
parent
2ba05a46ee
commit
3f59597864
12
packages/hoppscotch-common/src/shims.d.ts
vendored
12
packages/hoppscotch-common/src/shims.d.ts
vendored
@@ -8,7 +8,7 @@ interface PWExtensionHook {
|
||||
sendRequest: (
|
||||
req: AxiosRequestConfig & { wantsBinary: boolean }
|
||||
) => Promise<NetworkResponse>
|
||||
cancelRunningRequest: () => void
|
||||
cancelRequest: () => void
|
||||
}
|
||||
|
||||
type HoppExtensionStatusHook = {
|
||||
@@ -18,17 +18,9 @@ type HoppExtensionStatusHook = {
|
||||
}
|
||||
subscribe(prop: "status", func: (...args: any[]) => any): void
|
||||
}
|
||||
declare global {
|
||||
export declare global {
|
||||
interface Window {
|
||||
__POSTWOMAN_EXTENSION_HOOK__: PWExtensionHook | undefined
|
||||
__HOPP_EXTENSION_STATUS_PROXY__: HoppExtensionStatusHook | undefined
|
||||
}
|
||||
}
|
||||
|
||||
// Vue builtins
|
||||
declare module '*.vue' {
|
||||
import type { DefineComponent } from 'vue'
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
|
||||
const component: DefineComponent<{}, {}, any>
|
||||
export default component
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user