@lark-project/js-sdk 2.0.4-dev.3 → 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 +4 -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
|
/**
|
|
@@ -1665,9 +1663,11 @@ declare abstract class CustomComponent extends BaseModel {
|
|
|
1665
1663
|
*/
|
|
1666
1664
|
watch: (callback: (next: CustomComponentProps[CustomComponentType.Schedule]) => void, watchKeys?: (keyof CustomComponentProps[CustomComponentType.Schedule])[]) => Off;
|
|
1667
1665
|
getContext: () => Promise<CustomComponentFeatureContext<ComponentScheduleIdentity, ComponentScheduleScene>>;
|
|
1666
|
+
resizeContainer: (width?: number, height?: number) => Promise<undefined>;
|
|
1668
1667
|
getWbsStatus?: () => Promise<WbsStatus>;
|
|
1669
1668
|
getOwnersInfo?: () => Promise<UserInfo[]>;
|
|
1670
1669
|
handleSubmit: (value: ScheduleCompValueType) => Promise<ScheduleCompValidateMsg>;
|
|
1670
|
+
handleCancel: () => Promise<void>;
|
|
1671
1671
|
};
|
|
1672
1672
|
}
|
|
1673
1673
|
|