@lark-project/js-sdk 0.1.5 → 0.1.6

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 CHANGED
@@ -1,5 +1,8 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.1.6(2023/11/02)
4
+ - 「Add」新增自定义打包配置的类型定义 IPluginCustomBuildConfig
5
+
3
6
  ## 0.1.5(2023/10/25)
4
7
  - 「Add」新增 Clipboard,支持写入字符串到剪贴板
5
8
  - 「Add」Navigation 新增 openWorkItemDetailPage 打开工作项实例详情页
package/dist/es/index.js CHANGED
@@ -278,7 +278,7 @@ var SDKClient = _SDKClient;
278
278
  /**
279
279
  * SDK 版本号
280
280
  */
281
- SDKClient.version = "0.1.5";
281
+ SDKClient.version = "0.1.6";
282
282
 
283
283
  // src/types/biz.ts
284
284
  var AttributeType = /* @__PURE__ */ ((AttributeType2) => {
package/dist/lib/index.js CHANGED
@@ -323,7 +323,7 @@ var SDKClient = _SDKClient;
323
323
  /**
324
324
  * SDK 版本号
325
325
  */
326
- SDKClient.version = "0.1.5";
326
+ SDKClient.version = "0.1.6";
327
327
 
328
328
  // src/types/biz.ts
329
329
  var AttributeType = /* @__PURE__ */ ((AttributeType2) => {
@@ -450,6 +450,17 @@ interface InterceptionFeatureContext {
450
450
  */
451
451
  type unwatch = () => void;
452
452
 
453
+ type IIgnore = string | RegExp | ((value: string) => boolean);
454
+ interface IPluginCustomBuildConfig {
455
+ /** 默认 /node_modules/ */
456
+ ignores?: IIgnore | IIgnore[];
457
+ /** 排除目录下图片资源的编译 */
458
+ assetsIgnores?: IIgnore | IIgnore[];
459
+ /** 排除目录下样式资源的编译 */
460
+ stylesIgnores?: IIgnore | IIgnore[];
461
+ externals?: Record<string, string>;
462
+ }
463
+
453
464
  /**
454
465
  * @internal
455
466
  */
@@ -976,4 +987,4 @@ declare class OutOfLimitError extends CustomError {
976
987
  * @packageDocumentation
977
988
  */
978
989
 
979
- export { AttributeType, BizLine, BriefField, BriefNode, BriefSpace, BriefTemplate, BriefView, BriefWorkItem, BriefWorkObject, ButtonFeatureContext, ButtonScene, Clipboard, ColorScheme, Context, ControlFeatureContext, Field, FieldType, FlowMode, IMPL_KEY, IntegrationFeatureContext, InterceptionEvent, InterceptionFeatureContext, InternalError, Language, MEEGO_BIZ_HUB, Navigation, NoAuthError, NodeStatus, NotFoundError, OutOfLimitError, PageFeatureContext, Role, RoleOwners, SDKClient, SDKClientOptions, Space, Storage, TabFeatureContext, User, ViewFeatureContext, WorkItem, WorkItemCreateFormPreset, WorkObject, SDKClient as default, unwatch };
990
+ export { AttributeType, BizLine, BriefField, BriefNode, BriefSpace, BriefTemplate, BriefView, BriefWorkItem, BriefWorkObject, ButtonFeatureContext, ButtonScene, Clipboard, ColorScheme, Context, ControlFeatureContext, Field, FieldType, FlowMode, IMPL_KEY, IPluginCustomBuildConfig, IntegrationFeatureContext, InterceptionEvent, InterceptionFeatureContext, InternalError, Language, MEEGO_BIZ_HUB, Navigation, NoAuthError, NodeStatus, NotFoundError, OutOfLimitError, PageFeatureContext, Role, RoleOwners, SDKClient, SDKClientOptions, Space, Storage, TabFeatureContext, User, ViewFeatureContext, WorkItem, WorkItemCreateFormPreset, WorkObject, SDKClient as default, unwatch };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-project/js-sdk",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "runtimeMinVersions": {
5
5
  "web": "2.1.0",
6
6
  "mobile": "1.1.0"