xiaozhi-esp32-server/main/manager-mobile/src/typings.d.ts
lapy 2be70e8e6c feat(manager-mobile): westernize H5 app, copy, and shared crypto
- English locale defaults; remove duplicate zh-only locale files

- SM2 utility sharing with the web client where applicable
2026-04-25 17:05:15 +01:00

28 lines
534 B
TypeScript

// Global types used here
declare global {
interface IResData<T> {
code: number
msg: string
data: T
}
// uni.uploadFile file upload parameters
interface IUniUploadFileOptions {
file?: File
files?: UniApp.UploadFileOptionFiles[]
filePath?: string
name?: string
formData?: any
}
interface IUserInfo {
nickname?: string
avatar?: string
/** WeChat openid, non-WeChat does not have this field */
openid?: string
token?: string
}
}
export {} // Prevent module pollution