@lark-project/js-sdk 2.0.5 → 2.0.6-alpha.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 +12 -1
- package/package.json +1 -1
package/dist/es/index.js
CHANGED
package/dist/lib/index.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -1171,6 +1171,11 @@ declare abstract class Modal extends BaseModel {
|
|
|
1171
1171
|
}>;
|
|
1172
1172
|
}
|
|
1173
1173
|
|
|
1174
|
+
interface IRichTextEditorImageUploadComplete {
|
|
1175
|
+
code: number;
|
|
1176
|
+
errMsg: string;
|
|
1177
|
+
responseData: any;
|
|
1178
|
+
}
|
|
1174
1179
|
/**
|
|
1175
1180
|
* RichTextEditor 配置
|
|
1176
1181
|
*/
|
|
@@ -1208,6 +1213,12 @@ interface RichTextEditorOptions {
|
|
|
1208
1213
|
* token 会通过 request header 的 x-plugin-custom-token 提供
|
|
1209
1214
|
*/
|
|
1210
1215
|
token?: string;
|
|
1216
|
+
/**
|
|
1217
|
+
* 上传完成回调
|
|
1218
|
+
* @param info
|
|
1219
|
+
* @returns
|
|
1220
|
+
*/
|
|
1221
|
+
onUploadComplete?: (info: IRichTextEditorImageUploadComplete) => void;
|
|
1211
1222
|
};
|
|
1212
1223
|
}
|
|
1213
1224
|
/**
|
|
@@ -1752,4 +1763,4 @@ declare class NotSupportedError extends CustomError {
|
|
|
1752
1763
|
* @packageDocumentation
|
|
1753
1764
|
*/
|
|
1754
1765
|
|
|
1755
|
-
export { ActionSheet, ActionSheetOptions, AttributeType, BizLine, BriefField, BriefNode, BriefSpace, BriefTemplate, BriefView, BriefWorkItem, BriefWorkObject, Button, ButtonFeatureContext, ButtonScene, Clipboard, ColorScheme, Configuration, ConfigurationFeatureContext, ContainerModal, Context, Control, ControlFeatureContext, CreateButtonFeatureContext, Field, FieldType, FlowMode, IMPL_KEY, IPluginCustomBuildConfig, IntegrationFeatureContext, Intercept, InterceptEvent, InterceptFeatureContext, InternalError, InvalidParamsError, Language, MEEGO_BIZ_HUB, Modal, ModalConfirmOptions, ModalOpenOptions, Navigation, NoAuthError, NodeStatus, NotFoundError, NotSupportedError, Off, OutOfLimitError, Page, PageFeatureContext, RichTextEditor, RichTextEditorContent, RichTextEditorOptions, Role, RoleOwners, SDKClient, SDKClientOptions, Shared, Space, Storage, Tab, TabFeatureContext, Toast, ToastOptions, User, Utils, View, ViewFeatureContext, WorkItem, WorkItemButtonFeatureContext, WorkItemCreateFormPreset, WorkItemFinder, WorkItemFinderOptions, WorkObject, SDKClient as default, unwatch };
|
|
1766
|
+
export { ActionSheet, ActionSheetOptions, AttributeType, BizLine, BriefField, BriefNode, BriefSpace, BriefTemplate, BriefView, BriefWorkItem, BriefWorkObject, Button, ButtonFeatureContext, ButtonScene, Clipboard, ColorScheme, Configuration, ConfigurationFeatureContext, ContainerModal, Context, Control, ControlFeatureContext, CreateButtonFeatureContext, Field, FieldType, FlowMode, IMPL_KEY, IPluginCustomBuildConfig, IRichTextEditorImageUploadComplete, IntegrationFeatureContext, Intercept, InterceptEvent, InterceptFeatureContext, InternalError, InvalidParamsError, Language, MEEGO_BIZ_HUB, Modal, ModalConfirmOptions, ModalOpenOptions, Navigation, NoAuthError, NodeStatus, NotFoundError, NotSupportedError, Off, OutOfLimitError, Page, PageFeatureContext, RichTextEditor, RichTextEditorContent, RichTextEditorOptions, Role, RoleOwners, SDKClient, SDKClientOptions, Shared, Space, Storage, Tab, TabFeatureContext, Toast, ToastOptions, User, Utils, View, ViewFeatureContext, WorkItem, WorkItemButtonFeatureContext, WorkItemCreateFormPreset, WorkItemFinder, WorkItemFinderOptions, WorkObject, SDKClient as default, unwatch };
|