@tscircuit/core 0.0.938 → 0.0.939
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 +4 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2852,7 +2852,7 @@ declare class Board extends Group<typeof boardProps> implements BoardI, Subcircu
|
|
|
2852
2852
|
/**
|
|
2853
2853
|
* Get all available layers for the board
|
|
2854
2854
|
*/
|
|
2855
|
-
get allLayers(): readonly ["top", "bottom", "inner1", "inner2"] | readonly ["top", "bottom"];
|
|
2855
|
+
get allLayers(): readonly ["top"] | readonly ["top", "bottom", "inner1", "inner2"] | readonly ["top", "bottom"];
|
|
2856
2856
|
_getSubcircuitLayerCount(): number;
|
|
2857
2857
|
_getBoardCalcVariables(): Record<string, number>;
|
|
2858
2858
|
doInitialPcbBoardAutoSize(): void;
|
package/dist/index.js
CHANGED
|
@@ -15677,6 +15677,9 @@ var Board = class extends Group6 {
|
|
|
15677
15677
|
*/
|
|
15678
15678
|
get allLayers() {
|
|
15679
15679
|
const layerCount = this._parsedProps.layers ?? 2;
|
|
15680
|
+
if (layerCount === 1) {
|
|
15681
|
+
return ["top"];
|
|
15682
|
+
}
|
|
15680
15683
|
if (layerCount === 4) {
|
|
15681
15684
|
return ["top", "bottom", "inner1", "inner2"];
|
|
15682
15685
|
}
|
|
@@ -19768,7 +19771,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
19768
19771
|
var package_default = {
|
|
19769
19772
|
name: "@tscircuit/core",
|
|
19770
19773
|
type: "module",
|
|
19771
|
-
version: "0.0.
|
|
19774
|
+
version: "0.0.938",
|
|
19772
19775
|
types: "dist/index.d.ts",
|
|
19773
19776
|
main: "dist/index.js",
|
|
19774
19777
|
module: "dist/index.js",
|