minidev 1.6.2 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/builder-debug-utils/CHANGELOG.md +301 -0
- package/assets/builder-debug-utils/offline/assets_map +1 -1
- package/assets/builder-debug-utils/offline/boatman_mini +1 -1
- package/assets/builder-debug-utils/package.json +5 -1
- package/assets/builder-debug-utils/readonly/assets_map +1 -1
- package/assets/builder-debug-utils/readonly/boatman_mini +1 -1
- package/assets/web-sim/devtool/main.js +1 -1
- package/assets/web-sim/main.js +1 -1
- package/assets/web-sim/simulator/main.js +1 -1
- package/index.d.ts +26 -0
- package/lib/index.js +1 -1
- package/lib/rw_host.js +1 -1
- package/lib/worker.js +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -242,6 +242,32 @@ declare module 'minidev' {
|
|
|
242
242
|
*/
|
|
243
243
|
getUploadedVersion(options: IGetAppUploadedVersionArgs): Promise<string>;
|
|
244
244
|
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* 删除指定版本
|
|
248
|
+
* 如果该版本为体验版,会先取消该体验版
|
|
249
|
+
* @param options
|
|
250
|
+
*/
|
|
251
|
+
deleteVersion(options: IAppIdAndVersionOptions): Promise<void>;
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* 取消体验版
|
|
255
|
+
* @param options
|
|
256
|
+
*/
|
|
257
|
+
cancelExperience(options: IAppIdAndVersionOptions): Promise<void>;
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* 设置体验版
|
|
261
|
+
* @param options
|
|
262
|
+
* @return qrCodeUrl 体验版二维码
|
|
263
|
+
*/
|
|
264
|
+
setExperience(options: IAppIdAndVersionOptions): Promise<{qrCodeUrl: string}>;
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
export interface IAppIdAndVersionOptions extends IAppIdArgs, IClientTypeOptions {
|
|
270
|
+
version: string;
|
|
245
271
|
}
|
|
246
272
|
|
|
247
273
|
export interface IWebSimulatorLauncher {
|