@lark-project/js-sdk 2.0.10-dev.2 → 2.0.10
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 +15 -5
- package/package.json +1 -1
package/dist/es/index.js
CHANGED
package/dist/lib/index.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -1149,14 +1149,19 @@ declare abstract class Navigation extends BaseModel {
|
|
|
1149
1149
|
/**
|
|
1150
1150
|
* 打开指定空间工作项新建页
|
|
1151
1151
|
* @param options
|
|
1152
|
-
* @param options.
|
|
1152
|
+
* @param options.spaceId 空间唯一标识
|
|
1153
|
+
* @param options.spaceSimpleName [废弃]空间标识,非空间唯一标识
|
|
1153
1154
|
* @param options.workObjectId 工作项类型唯一标识,如 story、issue
|
|
1154
1155
|
* @param options.supportedWorkObjectIds 新建页支持切换的工作项类型列表,默认所有都展示
|
|
1155
1156
|
* @param options.formPreset 新建工作项表单预填值
|
|
1156
1157
|
* @param callback 新建完成回调,当 err 为 undefined 时为新建成功,可以通过 result.workItemId 取新建工作项实例 id
|
|
1157
1158
|
*/
|
|
1158
1159
|
abstract openWorkItemCreatePage(options: {
|
|
1159
|
-
|
|
1160
|
+
spaceId: string;
|
|
1161
|
+
/**
|
|
1162
|
+
* @deprecated
|
|
1163
|
+
*/
|
|
1164
|
+
spaceSimpleName?: string;
|
|
1160
1165
|
workObjectId: string;
|
|
1161
1166
|
supportedWorkObjectIds?: string[];
|
|
1162
1167
|
formPreset?: WorkItemCreateFormPreset;
|
|
@@ -1166,12 +1171,17 @@ declare abstract class Navigation extends BaseModel {
|
|
|
1166
1171
|
/**
|
|
1167
1172
|
* 打开指定空间工作项实例
|
|
1168
1173
|
* @param options
|
|
1169
|
-
* @param options.
|
|
1174
|
+
* @param options.spaceId 空间唯一标识
|
|
1175
|
+
* @param options.spaceSimpleName [废弃]空间标识,非空间唯一标识
|
|
1170
1176
|
* @param options.workObjectId 工作项类型唯一标识,如 story、issue
|
|
1171
1177
|
* @param options.workItemId 工作项实例唯一标识
|
|
1172
1178
|
*/
|
|
1173
1179
|
abstract openWorkItemDetailPage(options: {
|
|
1174
|
-
|
|
1180
|
+
spaceId: string;
|
|
1181
|
+
/**
|
|
1182
|
+
* @deprecated
|
|
1183
|
+
*/
|
|
1184
|
+
spaceSimpleName?: string;
|
|
1175
1185
|
workObjectId: string;
|
|
1176
1186
|
workItemId: number;
|
|
1177
1187
|
}): void;
|
|
@@ -1653,7 +1663,7 @@ declare abstract class Utils extends BaseModel {
|
|
|
1653
1663
|
code: string;
|
|
1654
1664
|
}>;
|
|
1655
1665
|
/**
|
|
1656
|
-
* 重置 @douyinfe/semi-ui 组件库的主题,
|
|
1666
|
+
* 重置 @douyinfe/semi-ui 组件库的主题, 使组件更贴近飞书项目整体设计风格。
|
|
1657
1667
|
*/
|
|
1658
1668
|
abstract overwriteThemeForSemiUI(): Promise<void>;
|
|
1659
1669
|
}
|