@jlceda/pro-api-types 0.2.19 → 0.2.20

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.
Files changed (2) hide show
  1. package/index.d.ts +10 -10
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -3355,7 +3355,7 @@ declare global {
3355
3355
  * @remarks
3356
3356
  * 本接口在前端画布上定位到指定的数据层面坐标;
3357
3357
  *
3358
- * 如果希望在进行本操作时前端画布坐标能与传入数��一致,
3358
+ * 如果希望在进行本操作时前端画布坐标能与传入数据一致,
3359
3359
  * 建议调用 {@link PCB_Document.setCanvasOrigin} 方法并设置偏移量为零;
3360
3360
  *
3361
3361
  * 此处的单位为数据层面单位,在跨度上等同于画布层面的 mil
@@ -3822,7 +3822,7 @@ declare global {
3822
3822
  */
3823
3823
  modifyEqualLengthNetGroupName(originalEqualLengthNetGroupName: string, equalLengthNetGroupName: string): Promise<boolean>;
3824
3824
  /**
3825
- * 将网络添加到等长网��组
3825
+ * 将网络添加到等长网络组
3826
3826
  *
3827
3827
  * @beta
3828
3828
  * @param equalLengthNetGroupName - 等长网络组名称
@@ -4724,7 +4724,7 @@ declare global {
4724
4724
  *
4725
4725
  * 注意:本接口需要启用 **团队库 \> 下载库** 权限,没有权限调用将始终 `throw Error`
4726
4726
  *
4727
- * @param deviceUuid - 器件 UUID 或器件 UUID 列表
4727
+ * @param deviceUuid - ���件 UUID 或器件 UUID 列表
4728
4728
  * @param libraryUuid - 库 UUID,可以使用 {@link LIB_LibrariesList} 内的接口获取,如若不传入,则为系统库
4729
4729
  * @returns 器件文件数据,`undefined` 表示数据获取失败
4730
4730
  */
@@ -5479,7 +5479,7 @@ declare global {
5479
5479
  * 校验单多边形
5480
5480
  *
5481
5481
  * @alpha
5482
- * @remarks 校验并整理输入数据,如数据有误,则��出错误
5482
+ * @remarks 校验并整理输入数据,如数据有误,则抛出错误
5483
5483
  * @returns 单多边形数据
5484
5484
  */
5485
5485
  private validateSource;
@@ -6041,7 +6041,7 @@ declare global {
6041
6041
  * @param startX - 起始位置 X
6042
6042
  * @param startY - 起始位置 Y
6043
6043
  * @param endX - 终止位置 X
6044
- * @param endY - 终��位置 Y
6044
+ * @param endY - 终止位置 Y
6045
6045
  * @param lineWidth - 线宽
6046
6046
  * @param primitiveLock - 是否锁定
6047
6047
  * @returns 直线图元对象
@@ -7810,7 +7810,7 @@ declare global {
7810
7810
  * @beta
7811
7811
  * @param primitiveId - 图元 ID
7812
7812
  * @param property - 修改参数
7813
- * @returns 区域图元对象,`undefined` 表��修改失败
7813
+ * @returns 区域图元对象,`undefined` 表示修改失败
7814
7814
  */
7815
7815
  modify(primitiveId: string | IPCB_PrimitiveRegion, property: {
7816
7816
  layer?: TPCB_LayersOfRegion;
@@ -10001,7 +10001,7 @@ declare global {
10001
10001
  * 获取属性状态:名称
10002
10002
  *
10003
10003
  * @public
10004
- * @returns ��称
10004
+ * @returns 名称
10005
10005
  */
10006
10006
  getState_Name(): string | undefined;
10007
10007
  /**
@@ -11145,7 +11145,7 @@ declare global {
11145
11145
  *
11146
11146
  * @public
11147
11147
  * @param height - 高
11148
- * @returns 二进制内嵌对象图元对象
11148
+ * @returns 二进���内嵌对象图元对象
11149
11149
  */
11150
11150
  setState_Height(height: number): IPCB_PrimitiveObject;
11151
11151
  /**
@@ -12100,7 +12100,7 @@ declare global {
12100
12100
  */
12101
12101
  getState_ReferenceY(): number;
12102
12102
  /**
12103
- * 获��属性状态:终止点 X
12103
+ * 获取属性状态:终止点 X
12104
12104
  *
12105
12105
  * @public
12106
12106
  * @returns 终止点 X
@@ -15426,7 +15426,7 @@ declare global {
15426
15426
  */
15427
15427
  setState_Y(y: number): ISCH_PrimitiveComponent;
15428
15428
  /**
15429
- * 设置属性状态:旋���角度
15429
+ * 设置属性状态:旋��角度
15430
15430
  *
15431
15431
  * @beta
15432
15432
  * @param rotation - 旋转角度
package/package.json CHANGED
@@ -1 +1 @@
1
- { "name": "@jlceda/pro-api-types", "type": "module", "version": "0.2.19", "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" } }
1
+ { "name": "@jlceda/pro-api-types", "type": "module", "version": "0.2.20", "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" } }