@jlceda/pro-api-types 0.1.60 → 0.1.61
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 -7
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -412,7 +412,7 @@ declare class DMT_Project {
|
|
|
412
412
|
*
|
|
413
413
|
* @beta
|
|
414
414
|
* @param projectFriendlyName - 工程友好名称
|
|
415
|
-
* @param projectName - 工程名称,仅支持字母 `a-zA-Z`、数字 `0-9`、中划线
|
|
415
|
+
* @param projectName - 工程名称,仅支持字母 `a-zA-Z`、数字 `0-9`、中划线 `-`,如若不指定,则根据工程友好名称自动生成
|
|
416
416
|
* @param teamUuid - 团队 UUID,如若不指定,则默认为个人;在不存在个人工程的环境下必须指定团队 UUID
|
|
417
417
|
* @param folderUuid - 文件夹 UUID,如若不指定,则为根文件夹
|
|
418
418
|
* @param description - 工程描述
|
|
@@ -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
|
/**
|
|
@@ -3121,7 +3121,7 @@ declare class IPCB_PrimitivePad implements IPCB_Primitive {
|
|
|
3121
3121
|
*/
|
|
3122
3122
|
toSync(): IPCB_PrimitivePad;
|
|
3123
3123
|
/**
|
|
3124
|
-
*
|
|
3124
|
+
* 查询图元���否为异步图元
|
|
3125
3125
|
*
|
|
3126
3126
|
* @public
|
|
3127
3127
|
* @returns 是否为异步图元
|
|
@@ -4784,7 +4784,7 @@ declare class LIB_PanelLibrary {
|
|
|
4784
4784
|
*
|
|
4785
4785
|
* @beta
|
|
4786
4786
|
* @param key - 搜索关键字
|
|
4787
|
-
* @param libraryUuid - 库 UUID
|
|
4787
|
+
* @param libraryUuid - 库 UUID,默认为系统库,可以使用 {@link LIB_LibrariesList} 内的接口获取
|
|
4788
4788
|
* @param classification - 分类,默认为全部
|
|
4789
4789
|
* @param itemsOfPage - 一页搜索结果的数量
|
|
4790
4790
|
* @param page - 页数
|
|
@@ -7307,7 +7307,7 @@ declare class SCH_PrimitivePolygon implements ISCH_PrimitiveAPI {
|
|
|
7307
7307
|
* 获取多边形
|
|
7308
7308
|
*
|
|
7309
7309
|
* @beta
|
|
7310
|
-
* @param primitiveIds -
|
|
7310
|
+
* @param primitiveIds - 多边形的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
|
|
7311
7311
|
* @returns 多边形图元对象
|
|
7312
7312
|
*/
|
|
7313
7313
|
get(primitiveIds: string): Promise<ISCH_PrimitivePolygon | undefined>;
|
|
@@ -7670,7 +7670,7 @@ declare class SYS_FileManager {
|
|
|
7670
7670
|
* 获取文档源码
|
|
7671
7671
|
*
|
|
7672
7672
|
* @beta
|
|
7673
|
-
* @returns 文档源码数据,`undefined`
|
|
7673
|
+
* @returns 文档源码数据,`undefined` 表示当前未打开文��或数据获取失败
|
|
7674
7674
|
*/
|
|
7675
7675
|
getDocumentSource(): Promise<string | undefined>;
|
|
7676
7676
|
/**
|
|
@@ -8172,6 +8172,7 @@ declare class SYS_Timer {
|
|
|
8172
8172
|
* @param timeout - 定时时间,单位 ms
|
|
8173
8173
|
* @param callFn - 定时调用函数
|
|
8174
8174
|
* @param argument - 传给定时调用函数的参数
|
|
8175
|
+
* @returns 定时器是否设置成功
|
|
8175
8176
|
*/
|
|
8176
8177
|
setIntervalTimer(id: string, timeout: number, callFn: (argument: any) => void, argument?: any): boolean;
|
|
8177
8178
|
/**
|
|
@@ -8179,6 +8180,7 @@ declare class SYS_Timer {
|
|
|
8179
8180
|
*
|
|
8180
8181
|
* @public
|
|
8181
8182
|
* @param id - 定时器 ID
|
|
8183
|
+
* @returns 定时器是否清除成功
|
|
8182
8184
|
*/
|
|
8183
8185
|
clearIntervalTimer(id: string): boolean;
|
|
8184
8186
|
/**
|
|
@@ -8188,6 +8190,7 @@ declare class SYS_Timer {
|
|
|
8188
8190
|
* @param timeout - 定时时间,单位 ms
|
|
8189
8191
|
* @param callFn - 定时调用函数
|
|
8190
8192
|
* @param argument - 传给定时调用函数的参数
|
|
8193
|
+
* @returns 定时器是否设置成功
|
|
8191
8194
|
*/
|
|
8192
8195
|
setTimeoutTimer(timeout: number, callFn: (argument: any) => void, argument?: any): boolean;
|
|
8193
8196
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jlceda/pro-api-types",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.61",
|
|
4
4
|
"description": "嘉立创EDA & EasyEDA 专业版扩展 API 接口类型定义",
|
|
5
5
|
"typings": "index.d.ts",
|
|
6
6
|
"keywords": [
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"eslint-plugin-tsdoc": "^0.3.0",
|
|
31
31
|
"fast-text-encoding": "^1.0.6",
|
|
32
32
|
"fs-extra": "^11.2.0",
|
|
33
|
-
"husky": "^9.1.
|
|
33
|
+
"husky": "^9.1.3",
|
|
34
34
|
"lint-staged": "^15.2.7",
|
|
35
35
|
"prettier": "^3.3.3",
|
|
36
36
|
"ts-node": "^10.9.2",
|