@tscircuit/core 0.0.686 → 0.0.687
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 +6 -0
- package/dist/index.js +3 -3
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1787,6 +1787,7 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1787
1787
|
} & {
|
|
1788
1788
|
material: zod.ZodDefault<zod.ZodEnum<["fr4", "fr1"]>>;
|
|
1789
1789
|
layers: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<2>, zod.ZodLiteral<4>]>>;
|
|
1790
|
+
borderRadius: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
1790
1791
|
}, "strip", zod.ZodTypeAny, {
|
|
1791
1792
|
material: "fr4" | "fr1";
|
|
1792
1793
|
layers: 2 | 4;
|
|
@@ -2023,6 +2024,7 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
2023
2024
|
}[] | undefined;
|
|
2024
2025
|
outlineOffsetX?: number | undefined;
|
|
2025
2026
|
outlineOffsetY?: number | undefined;
|
|
2027
|
+
borderRadius?: number | undefined;
|
|
2026
2028
|
}, {
|
|
2027
2029
|
pcbX?: string | number | undefined;
|
|
2028
2030
|
pcbY?: string | number | undefined;
|
|
@@ -2263,6 +2265,7 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
2263
2265
|
outlineOffsetY?: string | number | undefined;
|
|
2264
2266
|
material?: "fr4" | "fr1" | undefined;
|
|
2265
2267
|
layers?: 2 | 4 | undefined;
|
|
2268
|
+
borderRadius?: string | number | undefined;
|
|
2266
2269
|
}>;
|
|
2267
2270
|
};
|
|
2268
2271
|
get boardThickness(): number;
|
|
@@ -14143,6 +14146,7 @@ declare class Inductor extends NormalComponent<typeof inductorProps, PassivePort
|
|
|
14143
14146
|
inductance: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
|
|
14144
14147
|
maxCurrentRating: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>>;
|
|
14145
14148
|
schOrientation: zod.ZodOptional<zod.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
|
|
14149
|
+
connections: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<["pin1", "left", "pin2", "right"]>, zod.ZodUnion<[zod.ZodUnion<[zod.ZodString, zod.ZodReadonly<zod.ZodArray<zod.ZodString, "many">>]>, zod.ZodArray<zod.ZodString, "many">]>>>;
|
|
14146
14150
|
}, "strip", zod.ZodTypeAny, {
|
|
14147
14151
|
name: string;
|
|
14148
14152
|
inductance: number;
|
|
@@ -14224,6 +14228,7 @@ declare class Inductor extends NormalComponent<typeof inductorProps, PassivePort
|
|
|
14224
14228
|
children?: any;
|
|
14225
14229
|
symbolName?: string | undefined;
|
|
14226
14230
|
doNotPlace?: boolean | undefined;
|
|
14231
|
+
connections?: Partial<Record<"left" | "right" | "pin1" | "pin2", string | readonly string[] | string[]>> | undefined;
|
|
14227
14232
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
14228
14233
|
maxCurrentRating?: string | number | undefined;
|
|
14229
14234
|
}, {
|
|
@@ -14309,6 +14314,7 @@ declare class Inductor extends NormalComponent<typeof inductorProps, PassivePort
|
|
|
14309
14314
|
children?: any;
|
|
14310
14315
|
symbolName?: string | undefined;
|
|
14311
14316
|
doNotPlace?: boolean | undefined;
|
|
14317
|
+
connections?: Partial<Record<"left" | "right" | "pin1" | "pin2", string | readonly string[] | string[]>> | undefined;
|
|
14312
14318
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
14313
14319
|
maxCurrentRating?: string | number | undefined;
|
|
14314
14320
|
}>;
|
package/dist/index.js
CHANGED
|
@@ -14073,7 +14073,7 @@ import { identity as identity6 } from "transformation-matrix";
|
|
|
14073
14073
|
var package_default = {
|
|
14074
14074
|
name: "@tscircuit/core",
|
|
14075
14075
|
type: "module",
|
|
14076
|
-
version: "0.0.
|
|
14076
|
+
version: "0.0.686",
|
|
14077
14077
|
types: "dist/index.d.ts",
|
|
14078
14078
|
main: "dist/index.js",
|
|
14079
14079
|
module: "dist/index.js",
|
|
@@ -14112,7 +14112,7 @@ var package_default = {
|
|
|
14112
14112
|
"@tscircuit/matchpack": "^0.0.16",
|
|
14113
14113
|
"@tscircuit/math-utils": "^0.0.18",
|
|
14114
14114
|
"@tscircuit/miniflex": "^0.0.4",
|
|
14115
|
-
"@tscircuit/props": "0.0.
|
|
14115
|
+
"@tscircuit/props": "0.0.296",
|
|
14116
14116
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
14117
14117
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
|
14118
14118
|
"@tscircuit/schematic-trace-solver": "^0.0.25",
|
|
@@ -14126,7 +14126,7 @@ var package_default = {
|
|
|
14126
14126
|
"bun-match-svg": "0.0.12",
|
|
14127
14127
|
"calculate-elbow": "^0.0.9",
|
|
14128
14128
|
"chokidar-cli": "^3.0.0",
|
|
14129
|
-
"circuit-json": "^0.0.
|
|
14129
|
+
"circuit-json": "^0.0.241",
|
|
14130
14130
|
"circuit-json-to-bpc": "^0.0.13",
|
|
14131
14131
|
"circuit-json-to-connectivity-map": "^0.0.22",
|
|
14132
14132
|
"circuit-json-to-simple-3d": "^0.0.6",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.687",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@tscircuit/matchpack": "^0.0.16",
|
|
41
41
|
"@tscircuit/math-utils": "^0.0.18",
|
|
42
42
|
"@tscircuit/miniflex": "^0.0.4",
|
|
43
|
-
"@tscircuit/props": "0.0.
|
|
43
|
+
"@tscircuit/props": "0.0.296",
|
|
44
44
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
45
45
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
|
46
46
|
"@tscircuit/schematic-trace-solver": "^0.0.25",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"bun-match-svg": "0.0.12",
|
|
55
55
|
"calculate-elbow": "^0.0.9",
|
|
56
56
|
"chokidar-cli": "^3.0.0",
|
|
57
|
-
"circuit-json": "^0.0.
|
|
57
|
+
"circuit-json": "^0.0.241",
|
|
58
58
|
"circuit-json-to-bpc": "^0.0.13",
|
|
59
59
|
"circuit-json-to-connectivity-map": "^0.0.22",
|
|
60
60
|
"circuit-json-to-simple-3d": "^0.0.6",
|