@lark-project/js-sdk 2.0.4-dev.4 → 2.0.4-dev.5
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 +3 -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
|
@@ -549,7 +549,7 @@ declare enum WorkItemNodeType {
|
|
|
549
549
|
interface WorkItemInfo {
|
|
550
550
|
spaceId: string;
|
|
551
551
|
workObjectId: string;
|
|
552
|
-
workItemId:
|
|
552
|
+
workItemId: number;
|
|
553
553
|
}
|
|
554
554
|
type ComponentScheduleIdentity = WorkItemInfo & {
|
|
555
555
|
type: WorkItemNodeType;
|
|
@@ -560,9 +560,7 @@ interface WbsStatus {
|
|
|
560
560
|
wbsStatus: string;
|
|
561
561
|
}
|
|
562
562
|
interface UserInfo {
|
|
563
|
-
|
|
564
|
-
userName: string;
|
|
565
|
-
id: string;
|
|
563
|
+
userKey: string;
|
|
566
564
|
}
|
|
567
565
|
type ScheduleCompValueType = string[];
|
|
568
566
|
/**
|
|
@@ -1669,6 +1667,7 @@ declare abstract class CustomComponent extends BaseModel {
|
|
|
1669
1667
|
getWbsStatus?: () => Promise<WbsStatus>;
|
|
1670
1668
|
getOwnersInfo?: () => Promise<UserInfo[]>;
|
|
1671
1669
|
handleSubmit: (value: ScheduleCompValueType) => Promise<ScheduleCompValidateMsg>;
|
|
1670
|
+
handleCancel: () => Promise<void>;
|
|
1672
1671
|
};
|
|
1673
1672
|
}
|
|
1674
1673
|
|