@jlceda/pro-api-types 0.1.57 → 0.1.58
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/index.d.ts +10 -12
- package/package.json +1 -1
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 所有工作区的详细属性
|
|
@@ -770,7 +770,6 @@ declare class EDA {
|
|
|
770
770
|
sch_SelectControl: SCH_SelectControl;
|
|
771
771
|
sch_Utils: SCH_Utils;
|
|
772
772
|
sys_ClientUrl: SYS_ClientUrl;
|
|
773
|
-
sys_Command: SYS_Command;
|
|
774
773
|
sys_FileManager: SYS_FileManager;
|
|
775
774
|
sys_FileSystem: SYS_FileSystem;
|
|
776
775
|
sys_FontManager: SYS_FontManager;
|
|
@@ -2861,7 +2860,7 @@ declare class IPCB_PrimitiveLine implements IPCB_Primitive {
|
|
|
2861
2860
|
*/
|
|
2862
2861
|
toSync(): IPCB_PrimitiveLine;
|
|
2863
2862
|
/**
|
|
2864
|
-
*
|
|
2863
|
+
* 查询图��是否为异步图元
|
|
2865
2864
|
*/
|
|
2866
2865
|
isAsync(): boolean;
|
|
2867
2866
|
/**
|
|
@@ -3948,7 +3947,7 @@ declare class ISCH_PrimitiveRectangle implements ISCH_Primitive {
|
|
|
3948
3947
|
/**
|
|
3949
3948
|
* 在原理图画布中创建图元
|
|
3950
3949
|
*
|
|
3951
|
-
* @returns
|
|
3950
|
+
* @returns 矩形图元对象
|
|
3952
3951
|
*/
|
|
3953
3952
|
create(): Promise<ISCH_PrimitiveRectangle>;
|
|
3954
3953
|
getState_PrimitiveType(): string;
|
|
@@ -4224,7 +4223,7 @@ declare class LIB_3DModel {
|
|
|
4224
4223
|
* @beta
|
|
4225
4224
|
* @param modelUuid - 3D 模型 UUID
|
|
4226
4225
|
* @param libraryUuid - 库 UUID,可以使用 {@link LIB_LibrariesList} 内的接口获取
|
|
4227
|
-
* @returns
|
|
4226
|
+
* @returns ��作是否成功
|
|
4228
4227
|
*/
|
|
4229
4228
|
delete(modelUuid: string, libraryUuid: string): Promise<boolean>;
|
|
4230
4229
|
/**
|
|
@@ -4987,7 +4986,7 @@ declare class PCB_Document {
|
|
|
4987
4986
|
*
|
|
4988
4987
|
* 嘉立创 EDA 专业版 API 使用的均为数据原点;
|
|
4989
4988
|
*
|
|
4990
|
-
* 如果希望在 API
|
|
4989
|
+
* 如果希望在 API 操作时前端画布坐标能与数据一���,
|
|
4991
4990
|
* 建议调用本方法并设置偏移量为零,
|
|
4992
4991
|
* 即 `setCanvasOrigin(0, 0)`;
|
|
4993
4992
|
*
|
|
@@ -5228,7 +5227,7 @@ declare class PCB_Drc {
|
|
|
5228
5227
|
* @param differentialPairName - 差分对名称
|
|
5229
5228
|
* @param positiveNet - 正网络名称
|
|
5230
5229
|
* @param negativeNet - 负网络名称
|
|
5231
|
-
* @returns
|
|
5230
|
+
* @returns 操作是否成功
|
|
5232
5231
|
*/
|
|
5233
5232
|
createDifferentialPair(differentialPairName: string, positiveNet: string, negativeNet: string): Promise<boolean>;
|
|
5234
5233
|
/**
|
|
@@ -6191,7 +6190,7 @@ declare class PCB_PrimitiveLine implements IPCB_PrimitiveAPI {
|
|
|
6191
6190
|
*/
|
|
6192
6191
|
create(net: string, layer: TPCB_LayersOfLine, startX: number, startY: number, endX: number, endY: number, lineWidth?: number, primitiveLock?: boolean): Promise<IPCB_PrimitiveLine | undefined>;
|
|
6193
6192
|
/**
|
|
6194
|
-
*
|
|
6193
|
+
* 删除��线
|
|
6195
6194
|
*
|
|
6196
6195
|
* @beta
|
|
6197
6196
|
* @param primitiveIds - 导线的图元 ID 或导线图元对象
|
|
@@ -6641,7 +6640,7 @@ declare class SCH_Drc {
|
|
|
6641
6640
|
* 检查 DRC
|
|
6642
6641
|
*
|
|
6643
6642
|
* @public
|
|
6644
|
-
* @param strict - 是否严格检查,严格检查时存在 Warning 将返回 `false
|
|
6643
|
+
* @param strict - 是否严格检查,严格检查时存在 Warning 将返回 `false`,否���返回 `true`
|
|
6645
6644
|
* @param userInterface - 是否显示 UI(呼出底部 DRC 窗口)
|
|
6646
6645
|
* @returns DRC 检查是否无错误
|
|
6647
6646
|
*/
|
|
@@ -7641,8 +7640,6 @@ declare class SYS_ClientUrl {
|
|
|
7641
7640
|
}, succeedCallFn?: (data: Response) => void | Promise<void>): Promise<Response>;
|
|
7642
7641
|
}
|
|
7643
7642
|
|
|
7644
|
-
/* Excluded from this release type: SYS_Command */
|
|
7645
|
-
|
|
7646
7643
|
/**
|
|
7647
7644
|
* 扩展 API 接口 / 系统 / 文件管理类
|
|
7648
7645
|
*
|
|
@@ -7769,10 +7766,11 @@ declare class SYS_FileSystem {
|
|
|
7769
7766
|
* @public
|
|
7770
7767
|
* @remarks 调用浏览器下载接口或 Electron 保存文件接口,将传入的文件流保存到本地
|
|
7771
7768
|
* @param fileData - 文件数据
|
|
7772
|
-
* @param fileName -
|
|
7769
|
+
* @param fileName - 文件名称
|
|
7773
7770
|
*/
|
|
7774
7771
|
saveFile(fileData: File | Blob, fileName?: string): Promise<void>;
|
|
7775
7772
|
/* Excluded from this release type: readFileFromFileSystem */
|
|
7773
|
+
/* Excluded from this release type: saveFileToFileSystem */
|
|
7776
7774
|
}
|
|
7777
7775
|
|
|
7778
7776
|
/**
|