XuqmGroup-RNSDK/src/index.ts

53 行
1.5 KiB
TypeScript

export { XuqmSDK } from './sdk'
export type { XuqmInitOptions, XuqmUserInfo, DeviceInfo, XuqmConfig } from '@xuqm/rn-common'
export { getDeviceId, getDeviceInfo, detectPushVendor, setUserId, getUserId, setUserInfo, getUserInfo } from '@xuqm/rn-common'
export { ScaledImage } from '@xuqm/rn-common'
export { apiRequest } from '@xuqm/rn-common'
export { ImSDK, ImClient, ImDatabase, uploadFile } from '@xuqm/rn-im'
export type {
ImMessage,
ImGroup,
ChatType,
MsgType,
MsgStatus,
ImEventListener,
SendMessageParams,
ConversationData,
HistoryQuery,
PageResult,
FriendRequest,
GroupJoinRequest,
BlacklistEntry,
UserProfile,
} from '@xuqm/rn-im'
export { PushSDK } from '@xuqm/rn-push'
export type { PushVendor } from '@xuqm/rn-push'
export { UpdateSDK } from '@xuqm/rn-update'
export type { PluginRegistration, PluginMeta, AppUpdateInfo, PluginUpdateInfo, CachedRnBundle, UpdateDownloadProgress } from '@xuqm/rn-update'
2026-05-07 19:39:41 +08:00
export {
XWebViewControl,
XWebViewScreen,
XWebViewView,
getXWebViewConfig,
openXWebView,
setXWebViewController,
setXWebViewScanQRCodeHandler,
handleDownloadRequest,
fetchDownloadInfo,
saveBase64File,
startDownload,
2026-05-07 19:39:41 +08:00
} from '@xuqm/rn-xwebview'
export type {
ScanQRCodeHandler,
2026-05-07 19:39:41 +08:00
XWebViewClickMenu,
XWebViewConfig,
XWebViewControllerAPI,
XWebViewDownloadDecision,
XWebViewDownloadProgress,
XWebViewDownloadRequest,
XWebViewDownloadResult,
XWebViewMessageEvent,
XWebViewPermissionRequest,
DownloadHandle,
2026-05-07 19:39:41 +08:00
} from '@xuqm/rn-xwebview'