@lark-project/js-sdk 0.1.0-alpha.8 → 0.1.0
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 +6 -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
|
@@ -781,15 +781,17 @@ interface WorkItemCreateFormPreset {
|
|
|
781
781
|
/**
|
|
782
782
|
* 工作项属性,目前仅支持工作项名称(name)
|
|
783
783
|
*/
|
|
784
|
-
attribute?:
|
|
785
|
-
|
|
786
|
-
|
|
784
|
+
attribute?: {
|
|
785
|
+
[key in AttributeType]?: {
|
|
786
|
+
attributeValue: any;
|
|
787
|
+
};
|
|
788
|
+
};
|
|
787
789
|
/**
|
|
788
790
|
* 工作项字段
|
|
789
791
|
*/
|
|
790
792
|
field?: {
|
|
791
793
|
[fieldId: string]: {
|
|
792
|
-
fieldType:
|
|
794
|
+
fieldType: Exclude<FieldType, FieldType.unknown | FieldType.richText | FieldType.simpleVoting | FieldType.singleVoting | FieldType.multiVoting | FieldType.attachment | FieldType.singleSignal | FieldType.multiSignal | FieldType.compoundField>;
|
|
793
795
|
fieldValue: any;
|
|
794
796
|
};
|
|
795
797
|
};
|