@lark-project/js-sdk 2.0.2-dev.1 → 2.0.2-dev.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.
- package/dist/es/index.js +1 -1
- package/dist/lib/index.js +1 -1
- package/dist/types/index.d.ts +8 -4
- package/package.json +1 -1
package/dist/es/index.js
CHANGED
package/dist/lib/index.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -1319,10 +1319,12 @@ declare abstract class Broadcast extends BaseModel {
|
|
|
1319
1319
|
private static load;
|
|
1320
1320
|
/**
|
|
1321
1321
|
* 监听详情页工作项值变化
|
|
1322
|
-
* @param watchKeys 监听的工作项属性 / 字段 ID 列表
|
|
1322
|
+
* @param options.watchKeys 监听的工作项属性 / 字段 ID 列表
|
|
1323
1323
|
* @param callback 当监听值发生变化时触发
|
|
1324
1324
|
*/
|
|
1325
|
-
abstract onDetailPageWorkItemValueChanged(
|
|
1325
|
+
abstract onDetailPageWorkItemValueChanged(options: {
|
|
1326
|
+
watchKeys: Array<string | AttributeType>;
|
|
1327
|
+
}, callback: (changed: IBroadcastDetailPageWorkItemValueChangedEvent) => void): Off;
|
|
1326
1328
|
}
|
|
1327
1329
|
|
|
1328
1330
|
/**
|
|
@@ -1397,10 +1399,12 @@ declare abstract class Control extends BaseModel {
|
|
|
1397
1399
|
/**
|
|
1398
1400
|
* only web 2.0
|
|
1399
1401
|
* 监听新建工作项表单项值变化
|
|
1400
|
-
* @param watchKeys 需要监听的工作项属性 / 字段 ID 列表,一次限制读取 10 个 keys
|
|
1402
|
+
* @param options.watchKeys 需要监听的工作项属性 / 字段 ID 列表,一次限制读取 10 个 keys
|
|
1401
1403
|
* @param callback 当监听值发生变化时触发,changedKeys 为变化的 keys
|
|
1402
1404
|
*/
|
|
1403
|
-
abstract onCreateWorkItemFormValueChanged(
|
|
1405
|
+
abstract onCreateWorkItemFormValueChanged(options: {
|
|
1406
|
+
watchKeys: Array<string | AttributeType>;
|
|
1407
|
+
}, callback: (changedKeys: Array<string | AttributeType>) => void): Off;
|
|
1404
1408
|
}
|
|
1405
1409
|
|
|
1406
1410
|
/**
|