@tscircuit/core 0.0.932 → 0.0.933
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 +45 -0
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -707,11 +707,22 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
707
707
|
x: string | number;
|
|
708
708
|
y: string | number;
|
|
709
709
|
}>, z.ZodString]>, "many">>;
|
|
710
|
+
pcbPaths: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
711
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
712
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
713
|
+
}, "strip", z.ZodTypeAny, {
|
|
714
|
+
x: number;
|
|
715
|
+
y: number;
|
|
716
|
+
}, {
|
|
717
|
+
x: string | number;
|
|
718
|
+
y: string | number;
|
|
719
|
+
}>, z.ZodString]>, "many">, "many">>;
|
|
710
720
|
pcbStraightLine: z.ZodOptional<z.ZodBoolean>;
|
|
711
721
|
schDisplayLabel: z.ZodOptional<z.ZodString>;
|
|
712
722
|
schStroke: z.ZodOptional<z.ZodString>;
|
|
713
723
|
highlightColor: z.ZodOptional<z.ZodString>;
|
|
714
724
|
maxLength: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
725
|
+
connectsTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
715
726
|
} & {
|
|
716
727
|
path: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodType<{
|
|
717
728
|
getPortSelector: () => string;
|
|
@@ -727,6 +738,7 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
727
738
|
width?: number | undefined;
|
|
728
739
|
thickness?: number | undefined;
|
|
729
740
|
maxLength?: number | undefined;
|
|
741
|
+
connectsTo?: string | string[] | undefined;
|
|
730
742
|
schematicRouteHints?: {
|
|
731
743
|
x: number;
|
|
732
744
|
y: number;
|
|
@@ -743,6 +755,10 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
743
755
|
x: number;
|
|
744
756
|
y: number;
|
|
745
757
|
})[] | undefined;
|
|
758
|
+
pcbPaths?: (string | {
|
|
759
|
+
x: number;
|
|
760
|
+
y: number;
|
|
761
|
+
})[][] | undefined;
|
|
746
762
|
pcbStraightLine?: boolean | undefined;
|
|
747
763
|
schDisplayLabel?: string | undefined;
|
|
748
764
|
schStroke?: string | undefined;
|
|
@@ -755,6 +771,7 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
755
771
|
width?: string | number | undefined;
|
|
756
772
|
thickness?: string | number | undefined;
|
|
757
773
|
maxLength?: string | number | undefined;
|
|
774
|
+
connectsTo?: string | string[] | undefined;
|
|
758
775
|
schematicRouteHints?: {
|
|
759
776
|
x: string | number;
|
|
760
777
|
y: string | number;
|
|
@@ -773,6 +790,10 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
773
790
|
x: string | number;
|
|
774
791
|
y: string | number;
|
|
775
792
|
})[] | undefined;
|
|
793
|
+
pcbPaths?: (string | {
|
|
794
|
+
x: string | number;
|
|
795
|
+
y: string | number;
|
|
796
|
+
})[][] | undefined;
|
|
776
797
|
pcbStraightLine?: boolean | undefined;
|
|
777
798
|
schDisplayLabel?: string | undefined;
|
|
778
799
|
schStroke?: string | undefined;
|
|
@@ -830,11 +851,22 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
830
851
|
x: string | number;
|
|
831
852
|
y: string | number;
|
|
832
853
|
}>, z.ZodString]>, "many">>;
|
|
854
|
+
pcbPaths: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
855
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
856
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
857
|
+
}, "strip", z.ZodTypeAny, {
|
|
858
|
+
x: number;
|
|
859
|
+
y: number;
|
|
860
|
+
}, {
|
|
861
|
+
x: string | number;
|
|
862
|
+
y: string | number;
|
|
863
|
+
}>, z.ZodString]>, "many">, "many">>;
|
|
833
864
|
pcbStraightLine: z.ZodOptional<z.ZodBoolean>;
|
|
834
865
|
schDisplayLabel: z.ZodOptional<z.ZodString>;
|
|
835
866
|
schStroke: z.ZodOptional<z.ZodString>;
|
|
836
867
|
highlightColor: z.ZodOptional<z.ZodString>;
|
|
837
868
|
maxLength: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
869
|
+
connectsTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
838
870
|
} & {
|
|
839
871
|
from: z.ZodUnion<[z.ZodString, z.ZodType<{
|
|
840
872
|
getPortSelector: () => string;
|
|
@@ -858,6 +890,7 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
858
890
|
width?: number | undefined;
|
|
859
891
|
thickness?: number | undefined;
|
|
860
892
|
maxLength?: number | undefined;
|
|
893
|
+
connectsTo?: string | string[] | undefined;
|
|
861
894
|
schematicRouteHints?: {
|
|
862
895
|
x: number;
|
|
863
896
|
y: number;
|
|
@@ -874,6 +907,10 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
874
907
|
x: number;
|
|
875
908
|
y: number;
|
|
876
909
|
})[] | undefined;
|
|
910
|
+
pcbPaths?: (string | {
|
|
911
|
+
x: number;
|
|
912
|
+
y: number;
|
|
913
|
+
})[][] | undefined;
|
|
877
914
|
pcbStraightLine?: boolean | undefined;
|
|
878
915
|
schDisplayLabel?: string | undefined;
|
|
879
916
|
schStroke?: string | undefined;
|
|
@@ -889,6 +926,7 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
889
926
|
width?: string | number | undefined;
|
|
890
927
|
thickness?: string | number | undefined;
|
|
891
928
|
maxLength?: string | number | undefined;
|
|
929
|
+
connectsTo?: string | string[] | undefined;
|
|
892
930
|
schematicRouteHints?: {
|
|
893
931
|
x: string | number;
|
|
894
932
|
y: string | number;
|
|
@@ -907,6 +945,10 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
907
945
|
x: string | number;
|
|
908
946
|
y: string | number;
|
|
909
947
|
})[] | undefined;
|
|
948
|
+
pcbPaths?: (string | {
|
|
949
|
+
x: string | number;
|
|
950
|
+
y: string | number;
|
|
951
|
+
})[][] | undefined;
|
|
910
952
|
pcbStraightLine?: boolean | undefined;
|
|
911
953
|
schDisplayLabel?: string | undefined;
|
|
912
954
|
schStroke?: string | undefined;
|
|
@@ -13535,6 +13577,7 @@ declare class Interconnect extends NormalComponent<typeof interconnectProps> {
|
|
|
13535
13577
|
}>>>;
|
|
13536
13578
|
} & {
|
|
13537
13579
|
standard: zod.ZodOptional<zod.ZodEnum<["TSC0001_36P_XALT_2025_11", "0805", "0603", "1206"]>>;
|
|
13580
|
+
internallyConnectedPins: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, "many">, "many">>;
|
|
13538
13581
|
}, "strip", zod.ZodTypeAny, {
|
|
13539
13582
|
name: string;
|
|
13540
13583
|
symbol?: _tscircuit_props.SymbolProp | undefined;
|
|
@@ -13737,6 +13780,7 @@ declare class Interconnect extends NormalComponent<typeof interconnectProps> {
|
|
|
13737
13780
|
doNotPlace?: boolean | undefined;
|
|
13738
13781
|
obstructsWithinBounds?: boolean | undefined;
|
|
13739
13782
|
showAsTranslucentModel?: boolean | undefined;
|
|
13783
|
+
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
13740
13784
|
standard?: "0603" | "0805" | "1206" | "TSC0001_36P_XALT_2025_11" | undefined;
|
|
13741
13785
|
}, {
|
|
13742
13786
|
name: string;
|
|
@@ -13942,6 +13986,7 @@ declare class Interconnect extends NormalComponent<typeof interconnectProps> {
|
|
|
13942
13986
|
doNotPlace?: boolean | undefined;
|
|
13943
13987
|
obstructsWithinBounds?: boolean | undefined;
|
|
13944
13988
|
showAsTranslucentModel?: boolean | undefined;
|
|
13989
|
+
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
13945
13990
|
standard?: "0603" | "0805" | "1206" | "TSC0001_36P_XALT_2025_11" | undefined;
|
|
13946
13991
|
}>;
|
|
13947
13992
|
shouldRenderAsSchematicBox: boolean;
|
package/dist/index.js
CHANGED
|
@@ -19660,7 +19660,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
19660
19660
|
var package_default = {
|
|
19661
19661
|
name: "@tscircuit/core",
|
|
19662
19662
|
type: "module",
|
|
19663
|
-
version: "0.0.
|
|
19663
|
+
version: "0.0.932",
|
|
19664
19664
|
types: "dist/index.d.ts",
|
|
19665
19665
|
main: "dist/index.js",
|
|
19666
19666
|
module: "dist/index.js",
|
|
@@ -19704,7 +19704,7 @@ var package_default = {
|
|
|
19704
19704
|
"@tscircuit/math-utils": "^0.0.29",
|
|
19705
19705
|
"@tscircuit/miniflex": "^0.0.4",
|
|
19706
19706
|
"@tscircuit/ngspice-spice-engine": "^0.0.8",
|
|
19707
|
-
"@tscircuit/props": "^0.0.
|
|
19707
|
+
"@tscircuit/props": "^0.0.432",
|
|
19708
19708
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
19709
19709
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
|
19710
19710
|
"@tscircuit/schematic-trace-solver": "^v0.0.45",
|
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.933",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@tscircuit/math-utils": "^0.0.29",
|
|
46
46
|
"@tscircuit/miniflex": "^0.0.4",
|
|
47
47
|
"@tscircuit/ngspice-spice-engine": "^0.0.8",
|
|
48
|
-
"@tscircuit/props": "^0.0.
|
|
48
|
+
"@tscircuit/props": "^0.0.432",
|
|
49
49
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
50
50
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
|
51
51
|
"@tscircuit/schematic-trace-solver": "^v0.0.45",
|