minidev 2.2.4 → 2.2.5

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
@@ -251,17 +251,34 @@ declare module 'minidev' {
251
251
 
252
252
  }
253
253
 
254
+ type VersionStatus = 'INIT' | 'AUDITING' | 'AUDIT_REJECT' | 'WAIT_RELEASE' | 'BASE_AUDIT_PASS' | 'GRAY' | 'RELEASE' | 'OFFLINE' | 'AUDIT_OFFLINE' | string;
255
+
254
256
  export interface IVersionListOptions extends IAppIdArgs, IClientTypeOptions, IAuthPathOptions {
255
257
 
256
258
  /**
257
- * 版本状态列表
259
+ * 版本状态,默认值 'INIT,RELEASE',可取值:
260
+ * INIT(开发中),
261
+ * AUDITING(审核中),
262
+ * AUDIT_REJECT(审核驳回),
263
+ * WAIT_RELEASE(待上架),
264
+ * BASE_AUDIT_PASS(准入不可营销),
265
+ * GRAY(灰度中),
266
+ * RELEASE(已上架),
267
+ * OFFLINE(已下架),
268
+ * AUDIT_OFFLINE(被强制下架);
269
+ * 可以使用 ‘,’ 拼接组合。
258
270
  */
259
- versionStatus?: string;
271
+ versionStatus?: VersionStatus;
260
272
 
261
273
  /**
262
274
  * 以 JSON 格式打印
263
275
  */
264
276
  json?: boolean;
277
+
278
+ /**
279
+ * 第 n 页,默认值 1
280
+ */
281
+ pageNum?: number
265
282
  }
266
283
 
267
284
  export interface IMinidevApp {