This commit is contained in:
Your Name
2026-08-10 17:29:05 +08:00
parent 2199887c07
commit 9add23e019
129 changed files with 34157 additions and 59 deletions
+31
View File
@@ -0,0 +1,31 @@
/// <reference types="vite/client" />
interface DoctorCallConfig {
SDKAppID?: number | string
sdkAppId?: number | string
userID?: string
userId?: string
userSig: string
targetUserId?: string
patientUserId?: string
diagnosisId: number | string
}
interface DoctorCallApi {
start(config: DoctorCallConfig): Promise<void>
hangup(): Promise<void>
}
interface QtVideoBridge {
notify?: (payload: string) => void
}
interface Window {
doctorCall: DoctorCallApi
qtVideoBridge?: QtVideoBridge
qt?: { webChannelTransport?: unknown }
QWebChannel?: new (
transport: unknown,
callback: (channel: { objects: { qtVideoBridge?: QtVideoBridge } }) => void,
) => unknown
}