kicadts 0.0.8 → 0.0.9
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/dist/index.d.ts +1 -1
- package/dist/index.js +5 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -824,7 +824,7 @@ declare class SchematicSymbol extends SxClass {
|
|
|
824
824
|
private _inlineLibId?;
|
|
825
825
|
constructor(params?: SchematicSymbolConstructorParams);
|
|
826
826
|
get libraryId(): string | undefined;
|
|
827
|
-
set libraryId(value: string | undefined);
|
|
827
|
+
set libraryId(value: string | SymbolLibId | undefined);
|
|
828
828
|
get at(): At | undefined;
|
|
829
829
|
set at(value: AtInput | undefined);
|
|
830
830
|
get unit(): number | undefined;
|
package/dist/index.js
CHANGED
|
@@ -2478,6 +2478,11 @@ var SchematicSymbol = class _SchematicSymbol extends SxClass {
|
|
|
2478
2478
|
return this._sxLibId?.value ?? this._inlineLibId;
|
|
2479
2479
|
}
|
|
2480
2480
|
set libraryId(value) {
|
|
2481
|
+
if (value && typeof value === "object") {
|
|
2482
|
+
this._sxLibId = value;
|
|
2483
|
+
this._inlineLibId = void 0;
|
|
2484
|
+
return;
|
|
2485
|
+
}
|
|
2481
2486
|
if (value === void 0 || value === "") {
|
|
2482
2487
|
this._inlineLibId = void 0;
|
|
2483
2488
|
if (this._sxLibId) {
|