@jlceda/pro-api-types 0.2.59 → 0.2.60
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 +8 -8
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -975,7 +975,7 @@ declare global {
|
|
|
975
975
|
* 文档树 / 编辑器控制类
|
|
976
976
|
*
|
|
977
977
|
* @public
|
|
978
|
-
* @remarks
|
|
978
|
+
* @remarks 此处编辑器控制基于当前已打开的工程设计下的���页,其它任何 `documentUuid` 都将被认为是不存在的文档页
|
|
979
979
|
*/
|
|
980
980
|
class DMT_EditorControl {
|
|
981
981
|
/**
|
|
@@ -1381,7 +1381,7 @@ declare global {
|
|
|
1381
1381
|
*/
|
|
1382
1382
|
createPanel(): Promise<string | undefined>;
|
|
1383
1383
|
/**
|
|
1384
|
-
*
|
|
1384
|
+
* 修改面板���称
|
|
1385
1385
|
*
|
|
1386
1386
|
* @public
|
|
1387
1387
|
* @param panelUuid - 面板 UUID
|
|
@@ -2391,7 +2391,7 @@ declare global {
|
|
|
2391
2391
|
* @param targetLibraryUuid - 目标库 UUID
|
|
2392
2392
|
* @param targetClassification - 目标库内的分类
|
|
2393
2393
|
* @param newDeviceName - 新器件名称,如若目标库内存在重名器件将导致复制失败
|
|
2394
|
-
* @returns
|
|
2394
|
+
* @returns ���标库内新器件的 UUID
|
|
2395
2395
|
*/
|
|
2396
2396
|
copy(deviceUuid: string, libraryUuid: string, targetLibraryUuid: string, targetClassification?: ILIB_ClassificationIndex | Array<string>, newDeviceName?: string): Promise<string | undefined>;
|
|
2397
2397
|
/**
|
|
@@ -8268,7 +8268,7 @@ declare global {
|
|
|
8268
8268
|
* 修改覆铜填充
|
|
8269
8269
|
*
|
|
8270
8270
|
* @internal
|
|
8271
|
-
* @remarks
|
|
8271
|
+
* @remarks 覆铜填充图元不支���修改,本接口调用将不会有任何效果
|
|
8272
8272
|
* @returns `undefined`
|
|
8273
8273
|
*/
|
|
8274
8274
|
modify(): undefined;
|
|
@@ -8797,7 +8797,7 @@ declare global {
|
|
|
8797
8797
|
*
|
|
8798
8798
|
* @beta
|
|
8799
8799
|
* @remarks 如若传入多个图元 ID,任意图元 ID 未匹配到不影响其它图元的返回,即可能返回少于传入的图元 ID 数量的图元对象
|
|
8800
|
-
* @param primitiveIds -
|
|
8800
|
+
* @param primitiveIds - 覆铜边框的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
|
|
8801
8801
|
* @returns 覆铜边框图元对象,空数组表示获取失败
|
|
8802
8802
|
*/
|
|
8803
8803
|
get(primitiveIds: Array<string>): Promise<Array<IPCB_PrimitivePour>>;
|
|
@@ -12169,7 +12169,7 @@ declare global {
|
|
|
12169
12169
|
* 获取指定 ID 的图元的所有属性
|
|
12170
12170
|
*
|
|
12171
12171
|
* @public
|
|
12172
|
-
* @param id -
|
|
12172
|
+
* @param id - 图元 ID
|
|
12173
12173
|
* @returns 图元的所有属性
|
|
12174
12174
|
*/
|
|
12175
12175
|
getPrimitiveByPrimitiveId(id: string): Promise<ISCH_Primitive | undefined>;
|
|
@@ -13151,7 +13151,7 @@ declare global {
|
|
|
13151
13151
|
LEFT_BOTTOM = 3,
|
|
13152
13152
|
/** 中上 */
|
|
13153
13153
|
CENTER_TOP = 4,
|
|
13154
|
-
/**
|
|
13154
|
+
/** 中心 */
|
|
13155
13155
|
CENTER = 5,
|
|
13156
13156
|
/** 中下 */
|
|
13157
13157
|
CENTER_BOTTOM = 6,
|
|
@@ -19574,7 +19574,7 @@ declare global {
|
|
|
19574
19574
|
*
|
|
19575
19575
|
* 本接口无法移除 **高级** 菜单下的任何子菜单
|
|
19576
19576
|
*
|
|
19577
|
-
*
|
|
19577
|
+
* 注意:本接口需要使用者启用扩展的外��交互权限,如若未启用将始终 `throw Error`
|
|
19578
19578
|
*
|
|
19579
19579
|
* 非公开接口使用提醒:本接口按原样提供,不提供参数的额外文档,参数可能在任何版本出现破坏性更改并不另行通知
|
|
19580
19580
|
* @param env - 环境
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "name": "@jlceda/pro-api-types", "type": "module", "version": "0.2.
|
|
1
|
+
{ "name": "@jlceda/pro-api-types", "type": "module", "version": "0.2.60", "description": "嘉立创EDA & EasyEDA 专业版扩展 API 接口类型定义", "typings": "index.d.ts", "author": "JLCEDA <support@lceda.cn>", "license": "Apache-2.0", "homepage": "https://pro.lceda.cn/", "keywords": ["jlceda", "pro-api"], "scripts": { "lint": "eslint", "fix": "eslint --fix", "build": "ts-node ./build/build.ts" }, "devDependencies": { "@antfu/eslint-config": "^5.4.1", "@types/fast-text-encoding": "^1.0.3", "@types/fs-extra": "^11.0.4", "dotenv": "^16.4.7", "eslint": "^9.37.0", "fast-text-encoding": "^1.0.6", "fs-extra": "^11.3.0", "lint-staged": "^16.2.3", "simple-git-hooks": "^2.13.1", "ts-node": "^10.9.2", "typescript": "^5.7.3" }, "simple-git-hooks": { "pre-commit": "npx lint-staged" }, "lint-staged": { "*": "eslint --fix" } }
|