@lark-project/js-sdk 0.1.5-alpha.1 → 0.1.5-alpha.3
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/CHANGELOG.md +1 -0
- package/dist/es/index.js +1 -1
- package/dist/lib/index.js +1 -1
- package/dist/types/index.d.ts +16 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/es/index.js
CHANGED
package/dist/lib/index.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -341,9 +341,9 @@ interface ButtonFeatureContext {
|
|
|
341
341
|
*/
|
|
342
342
|
workObjectId: string;
|
|
343
343
|
/**
|
|
344
|
-
*
|
|
344
|
+
* 工作项实例唯一标识
|
|
345
345
|
*/
|
|
346
|
-
workItemId:
|
|
346
|
+
workItemId: number;
|
|
347
347
|
/**
|
|
348
348
|
* 按钮位置
|
|
349
349
|
*/
|
|
@@ -373,9 +373,9 @@ interface TabFeatureContext {
|
|
|
373
373
|
*/
|
|
374
374
|
workObjectId: string;
|
|
375
375
|
/**
|
|
376
|
-
*
|
|
376
|
+
* 工作项实例唯一标识
|
|
377
377
|
*/
|
|
378
|
-
workItemId:
|
|
378
|
+
workItemId: number;
|
|
379
379
|
}
|
|
380
380
|
/**
|
|
381
381
|
* 视图构成
|
|
@@ -784,6 +784,18 @@ declare abstract class Navigation extends BaseModel {
|
|
|
784
784
|
}, callback?: (err: Error | undefined, result: {
|
|
785
785
|
workItemId: number;
|
|
786
786
|
}) => void): void;
|
|
787
|
+
/**
|
|
788
|
+
* 打开指定空间工作项实例
|
|
789
|
+
* @param options
|
|
790
|
+
* @param options.spaceSimpleName 空间标识,非空间唯一标识
|
|
791
|
+
* @param options.workObjectId 工作项类型唯一标识,如 story、issue
|
|
792
|
+
* @param options.workItemId 工作项实例唯一标识
|
|
793
|
+
*/
|
|
794
|
+
abstract openWorkItemDetailPage(options: {
|
|
795
|
+
spaceSimpleName: string;
|
|
796
|
+
workObjectId: string;
|
|
797
|
+
workItemId: number;
|
|
798
|
+
}): void;
|
|
787
799
|
}
|
|
788
800
|
|
|
789
801
|
/**
|