@lark-project/js-sdk 2.0.10 → 2.0.11
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 +3 -0
- package/dist/es/index.js +1 -1
- package/dist/lib/index.js +1 -1
- package/dist/types/index.d.ts +3 -3
- 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
|
@@ -1042,7 +1042,7 @@ declare abstract class WorkItem extends BaseModel {
|
|
|
1042
1042
|
* 获取工作项实例自定义字段相关数据
|
|
1043
1043
|
* TODO: 类型暂未定义
|
|
1044
1044
|
*/
|
|
1045
|
-
abstract getFieldValue(
|
|
1045
|
+
abstract getFieldValue(fieldId: string): any;
|
|
1046
1046
|
}
|
|
1047
1047
|
|
|
1048
1048
|
/**
|
|
@@ -1110,7 +1110,7 @@ interface WorkItemCreateFormPreset {
|
|
|
1110
1110
|
*/
|
|
1111
1111
|
field?: {
|
|
1112
1112
|
[fieldId: string]: {
|
|
1113
|
-
fieldType: Exclude<FieldType, FieldType.unknown | FieldType.
|
|
1113
|
+
fieldType: Exclude<FieldType, FieldType.unknown | FieldType.simpleVoting | FieldType.singleVoting | FieldType.multiVoting | FieldType.attachment | FieldType.singleSignal | FieldType.multiSignal | FieldType.compoundField>;
|
|
1114
1114
|
fieldValue: any;
|
|
1115
1115
|
};
|
|
1116
1116
|
};
|
|
@@ -1167,7 +1167,7 @@ declare abstract class Navigation extends BaseModel {
|
|
|
1167
1167
|
formPreset?: WorkItemCreateFormPreset;
|
|
1168
1168
|
}, callback?: (err: Error | undefined, result: {
|
|
1169
1169
|
workItemId: number;
|
|
1170
|
-
}) => void): void;
|
|
1170
|
+
}) => void, onCancel?: () => void): void;
|
|
1171
1171
|
/**
|
|
1172
1172
|
* 打开指定空间工作项实例
|
|
1173
1173
|
* @param options
|