@jlceda/pro-api-types 0.1.58 → 0.1.59
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/README.md +2 -0
- package/index.d.ts +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
嘉立创EDA & EasyEDA 专业版扩展 API 接口类型定义
|
|
4
4
|
|
|
5
|
+
[](https://easyeda-docs.coding.net/p/eda-sdk/ci/job)    
|
|
6
|
+
|
|
5
7
|
## 使用
|
|
6
8
|
|
|
7
9
|
建议使用 [pro-api-sdk](https://github.com/jlceda/pro-api-sdk) 进行扩展开发,本定义文件已在 SDK 内预配。
|
package/index.d.ts
CHANGED
|
@@ -686,7 +686,7 @@ declare class DMT_Team {
|
|
|
686
686
|
*/
|
|
687
687
|
declare class DMT_Workspace {
|
|
688
688
|
/**
|
|
689
|
-
*
|
|
689
|
+
* 获取所有工作区的详细属性
|
|
690
690
|
*
|
|
691
691
|
* @public
|
|
692
692
|
* @returns 所有工作区的详细属性
|
|
@@ -2860,7 +2860,7 @@ declare class IPCB_PrimitiveLine implements IPCB_Primitive {
|
|
|
2860
2860
|
*/
|
|
2861
2861
|
toSync(): IPCB_PrimitiveLine;
|
|
2862
2862
|
/**
|
|
2863
|
-
*
|
|
2863
|
+
* 查询图元是否为异步图元
|
|
2864
2864
|
*/
|
|
2865
2865
|
isAsync(): boolean;
|
|
2866
2866
|
/**
|
|
@@ -4223,7 +4223,7 @@ declare class LIB_3DModel {
|
|
|
4223
4223
|
* @beta
|
|
4224
4224
|
* @param modelUuid - 3D 模型 UUID
|
|
4225
4225
|
* @param libraryUuid - 库 UUID,可以使用 {@link LIB_LibrariesList} 内的接口获取
|
|
4226
|
-
* @returns
|
|
4226
|
+
* @returns 操作是否成功
|
|
4227
4227
|
*/
|
|
4228
4228
|
delete(modelUuid: string, libraryUuid: string): Promise<boolean>;
|
|
4229
4229
|
/**
|
|
@@ -4986,7 +4986,7 @@ declare class PCB_Document {
|
|
|
4986
4986
|
*
|
|
4987
4987
|
* 嘉立创 EDA 专业版 API 使用的均为数据原点;
|
|
4988
4988
|
*
|
|
4989
|
-
* 如果希望在 API
|
|
4989
|
+
* 如果希望在 API 操作时前端画布坐标能与数据一致,
|
|
4990
4990
|
* 建议调用本方法并设置偏移量为零,
|
|
4991
4991
|
* 即 `setCanvasOrigin(0, 0)`;
|
|
4992
4992
|
*
|