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/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 {