@jlceda/pro-api-types 0.1.63 → 0.1.65
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 +5 -3
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -4413,7 +4413,7 @@ declare class LIB_Classification {
|
|
|
4413
4413
|
* @param libraryUuid - 库 UUID
|
|
4414
4414
|
* @param libraryType - 库类型
|
|
4415
4415
|
* @param primaryClassificationUuid - 一级分类 UUID
|
|
4416
|
-
* @param secondaryClassificationUuid - 二级分类 UUID
|
|
4416
|
+
* @param secondaryClassificationUuid - 二级分类 UUID,如若不指��,则只获取一级分类的信息
|
|
4417
4417
|
* @returns 两级分类的名称
|
|
4418
4418
|
*/
|
|
4419
4419
|
getNameByUuid(libraryUuid: string, libraryType: ELIB_LibraryType, primaryClassificationUuid: string, secondaryClassificationUuid?: string): Promise<{
|
|
@@ -5792,6 +5792,8 @@ declare class PCB_Net {
|
|
|
5792
5792
|
* @returns 操作是否成功
|
|
5793
5793
|
*/
|
|
5794
5794
|
highlightNet(net: string): Promise<boolean>;
|
|
5795
|
+
/* Excluded from this release type: getNetlist */
|
|
5796
|
+
/* Excluded from this release type: setNetlist */
|
|
5795
5797
|
}
|
|
5796
5798
|
|
|
5797
5799
|
/**
|
|
@@ -7422,7 +7424,7 @@ declare class SCH_PrimitiveText implements ISCH_PrimitiveAPI {
|
|
|
7422
7424
|
* @param bold - 是否加粗
|
|
7423
7425
|
* @param italic - 是否斜体
|
|
7424
7426
|
* @param underLine - 是否加下划线
|
|
7425
|
-
* @param alignMode - 对齐模式,`0` 左顶,`1`
|
|
7427
|
+
* @param alignMode - 对齐模式,`0` 左顶,`1` ���顶,`2` 右顶,`3` 左中,`4` 中中,`5` 右中,`6` 左底,`7` 中底,`8` 右底
|
|
7426
7428
|
* @returns 文本图元对象
|
|
7427
7429
|
*/
|
|
7428
7430
|
create(x: number, y: number, content: string, rotation?: number, textColor?: string | null, fontName?: string | null, fontSize?: number | null, bold?: boolean, italic?: boolean, underLine?: boolean, alignMode?: number): ISCH_PrimitiveText | undefined;
|
|
@@ -8294,7 +8296,7 @@ declare class SYS_WebSocket {
|
|
|
8294
8296
|
* 注册 WebSocket 连接
|
|
8295
8297
|
*
|
|
8296
8298
|
* @public
|
|
8297
|
-
* @remarks
|
|
8299
|
+
* @remarks 可以用来执���前检测 WebSocket 连接是否正常,但需要注意 **不要尝试相同 ID 不同参数的连接**,这会造成混乱:如果存在指定 ID 且处于活跃状态中的 WebSocket 连接,那么其余参数的变更将不会被应用
|
|
8298
8300
|
* @param id - 自定义 WebSocket ID
|
|
8299
8301
|
* @param serviceUri - WebSocket 服务地址
|
|
8300
8302
|
* @param receiveMessageCallFn - 接收到消息时的回调函数
|
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.65",
|
|
4
4
|
"description": "嘉立创EDA & EasyEDA 专业版扩展 API 接口类型定义",
|
|
5
5
|
"typings": "index.d.ts",
|
|
6
6
|
"keywords": [
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
|
23
23
|
"@types/fast-text-encoding": "^1.0.3",
|
|
24
24
|
"@types/fs-extra": "^11.0.4",
|
|
25
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
26
|
-
"@typescript-eslint/parser": "^
|
|
25
|
+
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
26
|
+
"@typescript-eslint/parser": "^7.18.0",
|
|
27
27
|
"dotenv": "^16.4.5",
|
|
28
|
-
"eslint": "^
|
|
28
|
+
"eslint": "^8.57.0",
|
|
29
29
|
"eslint-config-alloy": "^5.1.2",
|
|
30
30
|
"eslint-plugin-tsdoc": "^0.3.0",
|
|
31
31
|
"fast-text-encoding": "^1.0.6",
|