@hyext/types-ext-sdk-hy 3.12.1 → 3.12.2-beta.2

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.
Files changed (2) hide show
  1. package/index.d.ts +4 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -3819,7 +3819,8 @@ type ThumbnailConfig = {
3819
3819
  * @property maxDuration - 视频最长拍摄时间,单位秒
3820
3820
  * @property camera - 摄像头方向, front-前置摄像头, back-后置摄像头
3821
3821
  * @property thumbnailConfig - 缩略图配置
3822
- * @property filter - 桌面终端专用,设置文件选择框的filte
3822
+ * @property [filter] - 桌面终端专用,设置文件选择框的filte
3823
+ * @property [faceDetectMode] - 人脸识别模式, 0-无人脸检测, 1-做人脸检测
3823
3824
  * @property callback - 选完之后的回调函数
3824
3825
  */
3825
3826
  type ChooseMediaReq = {
@@ -3829,7 +3830,8 @@ type ChooseMediaReq = {
3829
3830
  maxDuration: number;
3830
3831
  camera: string;
3831
3832
  thumbnailConfig: ThumbnailConfig;
3832
- filter: string;
3833
+ filter?: string;
3834
+ faceDetectMode?: number;
3833
3835
  callback: ChooseCallback;
3834
3836
  };
3835
3837
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyext/types-ext-sdk-hy",
3
- "version": "3.12.1",
3
+ "version": "3.12.2-beta.2",
4
4
  "description": "TypeScript definitions for @hyext/ext-sdk-hy",
5
5
  "types": "./index.d.ts",
6
6
  "main": "",