@hyext/types-ext-sdk-hy 4.2.4 → 4.2.5-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 +16 -0
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -10670,6 +10670,12 @@ namespace ui {
10670
10670
  * @returns 调用结果
10671
10671
  */
10672
10672
  function offApplysPubScreenOffsetNotice(): Promise<void>;
10673
+ /**
10674
+ * 打开图片查看器
10675
+ * @param [params] - 调用参数
10676
+ * @returns 调用结果
10677
+ */
10678
+ function openImageBrowser(params?: OpenImageBrowserReq): Promise<void>;
10673
10679
  }
10674
10680
 
10675
10681
  /**
@@ -11182,6 +11188,16 @@ type OnApplysPubScreenOffsetNoticeReq = {
11182
11188
  callback: ApplysPubScreenOffsetCallback;
11183
11189
  };
11184
11190
 
11191
+ /**
11192
+ * 打开图片查看器参数
11193
+ * @property imageUrls - 图片链接数组(HTTP/HTTPS URL)
11194
+ * @property index - 当前打开的是第几张图片
11195
+ */
11196
+ type OpenImageBrowserReq = {
11197
+ imageUrls: string[];
11198
+ index: number;
11199
+ };
11200
+
11185
11201
  /**
11186
11202
  * HY vidoe
11187
11203
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyext/types-ext-sdk-hy",
3
- "version": "4.2.4",
3
+ "version": "4.2.5-beta.2",
4
4
  "description": "TypeScript definitions for sdk",
5
5
  "types": "./index.d.ts",
6
6
  "main": "",
@@ -9,4 +9,4 @@
9
9
  ],
10
10
  "author": "",
11
11
  "license": "ISC"
12
- }
12
+ }