zhizhi/node_modules/dingtalk-jsapi/api/biz/resource/getInfo.d.ts

30 lines
967 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 获取离线包信息 请求参数定义
* @apiName biz.resource.getInfo
*/
export interface IBizResourceGetInfoParams {
}
/**
* 获取离线包信息 返回结果定义
* @apiName biz.resource.getInfo
*/
export interface IBizResourceGetInfoResult {
/** prepare命中离线包但离线包当前不可用;enable离线包当前生效;disable离线包不可用包括无效的dd_mini_app_id、离线包已过期通过 JSAPI disable 等) */
status: string;
/** 离线包信息;仅在 status 为 enable 时下发;*/
detail: {
version: string;
id: string;
expireTimestamp: string;
[key: string]: any;
};
}
/**
* 获取离线包信息
* @apiName biz.resource.getInfo
* @supportVersion ios: 6.5.10 android: 6.5.10
* @author Android理致 iOS犹树
*/
export declare function getInfo$(params: IBizResourceGetInfoParams): Promise<IBizResourceGetInfoResult>;
export default getInfo$;