@tscircuit/core 0.0.558 → 0.0.559
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 +19 -4
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -611,6 +611,7 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
611
611
|
getPortSelector: () => string;
|
|
612
612
|
})[];
|
|
613
613
|
key?: string | undefined;
|
|
614
|
+
maxLength?: number | undefined;
|
|
614
615
|
thickness?: number | undefined;
|
|
615
616
|
schematicRouteHints?: {
|
|
616
617
|
x: number;
|
|
@@ -624,12 +625,12 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
624
625
|
trace_width?: number | undefined;
|
|
625
626
|
}[] | undefined;
|
|
626
627
|
schDisplayLabel?: string | undefined;
|
|
627
|
-
maxLength?: number | undefined;
|
|
628
628
|
}, {
|
|
629
629
|
path: (string | {
|
|
630
630
|
getPortSelector: () => string;
|
|
631
631
|
})[];
|
|
632
632
|
key?: string | undefined;
|
|
633
|
+
maxLength?: string | number | undefined;
|
|
633
634
|
thickness?: string | number | undefined;
|
|
634
635
|
schematicRouteHints?: {
|
|
635
636
|
x: string | number;
|
|
@@ -645,7 +646,6 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
645
646
|
trace_width?: string | number | undefined;
|
|
646
647
|
}[] | undefined;
|
|
647
648
|
schDisplayLabel?: string | undefined;
|
|
648
|
-
maxLength?: string | number | undefined;
|
|
649
649
|
}>, z.ZodObject<{
|
|
650
650
|
key: z.ZodOptional<z.ZodString>;
|
|
651
651
|
thickness: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -709,6 +709,7 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
709
709
|
getPortSelector: () => string;
|
|
710
710
|
};
|
|
711
711
|
key?: string | undefined;
|
|
712
|
+
maxLength?: number | undefined;
|
|
712
713
|
thickness?: number | undefined;
|
|
713
714
|
schematicRouteHints?: {
|
|
714
715
|
x: number;
|
|
@@ -722,7 +723,6 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
722
723
|
trace_width?: number | undefined;
|
|
723
724
|
}[] | undefined;
|
|
724
725
|
schDisplayLabel?: string | undefined;
|
|
725
|
-
maxLength?: number | undefined;
|
|
726
726
|
}, {
|
|
727
727
|
from: string | {
|
|
728
728
|
getPortSelector: () => string;
|
|
@@ -731,6 +731,7 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
731
731
|
getPortSelector: () => string;
|
|
732
732
|
};
|
|
733
733
|
key?: string | undefined;
|
|
734
|
+
maxLength?: string | number | undefined;
|
|
734
735
|
thickness?: string | number | undefined;
|
|
735
736
|
schematicRouteHints?: {
|
|
736
737
|
x: string | number;
|
|
@@ -746,7 +747,6 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
746
747
|
trace_width?: string | number | undefined;
|
|
747
748
|
}[] | undefined;
|
|
748
749
|
schDisplayLabel?: string | undefined;
|
|
749
|
-
maxLength?: string | number | undefined;
|
|
750
750
|
}>]>;
|
|
751
751
|
componentName: string;
|
|
752
752
|
};
|
|
@@ -2665,6 +2665,7 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2665
2665
|
manufacturerPartNumber: zod.ZodOptional<zod.ZodString>;
|
|
2666
2666
|
pinLabels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodUnion<[zod.ZodString, zod.ZodReadonly<zod.ZodArray<zod.ZodString, "many">>]>, zod.ZodArray<zod.ZodString, "many">]>>>;
|
|
2667
2667
|
showPinAliases: zod.ZodOptional<zod.ZodBoolean>;
|
|
2668
|
+
pcbPinLabels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
2668
2669
|
internallyConnectedPins: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString, "many">, "many">>;
|
|
2669
2670
|
externallyConnectedPins: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString, "many">, "many">>;
|
|
2670
2671
|
schPinArrangement: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -2984,6 +2985,7 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2984
2985
|
manufacturerPartNumber?: string | undefined;
|
|
2985
2986
|
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
2986
2987
|
showPinAliases?: boolean | undefined;
|
|
2988
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
2987
2989
|
internallyConnectedPins?: string[][] | undefined;
|
|
2988
2990
|
externallyConnectedPins?: string[][] | undefined;
|
|
2989
2991
|
schPinArrangement?: {
|
|
@@ -3131,6 +3133,7 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
3131
3133
|
manufacturerPartNumber?: string | undefined;
|
|
3132
3134
|
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
3133
3135
|
showPinAliases?: boolean | undefined;
|
|
3136
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
3134
3137
|
internallyConnectedPins?: string[][] | undefined;
|
|
3135
3138
|
externallyConnectedPins?: string[][] | undefined;
|
|
3136
3139
|
schPinArrangement?: {
|
|
@@ -4784,6 +4787,7 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
|
|
|
4784
4787
|
topPinCount?: number | undefined;
|
|
4785
4788
|
bottomPinCount?: number | undefined;
|
|
4786
4789
|
}>>;
|
|
4790
|
+
pcbPinLabels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
4787
4791
|
pinCount: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<2>, zod.ZodLiteral<3>]>>;
|
|
4788
4792
|
internallyConnectedPins: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString, "many">, "many">>;
|
|
4789
4793
|
connections: zod.ZodOptional<zod.ZodPipeline<zod.ZodType<Partial<Record<string, string | string[] | readonly string[]>>, zod.ZodTypeDef, Partial<Record<string, string | string[] | readonly string[]>>>, zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodUnion<[zod.ZodString, zod.ZodReadonly<zod.ZodArray<zod.ZodString, "many">>]>, zod.ZodArray<zod.ZodString, "many">]>>>>;
|
|
@@ -4860,6 +4864,7 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
|
|
|
4860
4864
|
schHeight?: number | undefined;
|
|
4861
4865
|
manufacturerPartNumber?: string | undefined;
|
|
4862
4866
|
pinLabels?: Record<string | number, string | string[]> | undefined;
|
|
4867
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
4863
4868
|
internallyConnectedPins?: string[][] | undefined;
|
|
4864
4869
|
schPortArrangement?: {
|
|
4865
4870
|
leftSize?: number | undefined;
|
|
@@ -4976,6 +4981,7 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
|
|
|
4976
4981
|
schHeight?: string | number | undefined;
|
|
4977
4982
|
manufacturerPartNumber?: string | undefined;
|
|
4978
4983
|
pinLabels?: Record<string | number, string | string[]> | undefined;
|
|
4984
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
4979
4985
|
internallyConnectedPins?: string[][] | undefined;
|
|
4980
4986
|
schPortArrangement?: {
|
|
4981
4987
|
leftSize?: number | undefined;
|
|
@@ -5426,6 +5432,7 @@ declare class SolderJumper<PinLabels extends string = never> extends NormalCompo
|
|
|
5426
5432
|
topPinCount?: number | undefined;
|
|
5427
5433
|
bottomPinCount?: number | undefined;
|
|
5428
5434
|
}>>;
|
|
5435
|
+
pcbPinLabels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
5429
5436
|
pinCount: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<2>, zod.ZodLiteral<3>]>>;
|
|
5430
5437
|
internallyConnectedPins: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString, "many">, "many">>;
|
|
5431
5438
|
connections: zod.ZodOptional<zod.ZodPipeline<zod.ZodType<Partial<Record<string, string | string[] | readonly string[]>>, zod.ZodTypeDef, Partial<Record<string, string | string[] | readonly string[]>>>, zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodUnion<[zod.ZodString, zod.ZodReadonly<zod.ZodArray<zod.ZodString, "many">>]>, zod.ZodArray<zod.ZodString, "many">]>>>>;
|
|
@@ -5505,6 +5512,7 @@ declare class SolderJumper<PinLabels extends string = never> extends NormalCompo
|
|
|
5505
5512
|
schHeight?: number | undefined;
|
|
5506
5513
|
manufacturerPartNumber?: string | undefined;
|
|
5507
5514
|
pinLabels?: Record<string | number, string | string[]> | undefined;
|
|
5515
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
5508
5516
|
internallyConnectedPins?: string[][] | undefined;
|
|
5509
5517
|
schPortArrangement?: {
|
|
5510
5518
|
leftSize?: number | undefined;
|
|
@@ -5623,6 +5631,7 @@ declare class SolderJumper<PinLabels extends string = never> extends NormalCompo
|
|
|
5623
5631
|
schHeight?: string | number | undefined;
|
|
5624
5632
|
manufacturerPartNumber?: string | undefined;
|
|
5625
5633
|
pinLabels?: Record<string | number, string | string[]> | undefined;
|
|
5634
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
5626
5635
|
internallyConnectedPins?: string[][] | undefined;
|
|
5627
5636
|
schPortArrangement?: {
|
|
5628
5637
|
leftSize?: number | undefined;
|
|
@@ -9717,6 +9726,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
|
|
|
9717
9726
|
schFacingDirection: zod.ZodOptional<zod.ZodEnum<["up", "down", "left", "right"]>>;
|
|
9718
9727
|
gender: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["male", "female"]>>>;
|
|
9719
9728
|
showSilkscreenPinLabels: zod.ZodOptional<zod.ZodBoolean>;
|
|
9729
|
+
pcbPinLabels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
9720
9730
|
doubleRow: zod.ZodOptional<zod.ZodBoolean>;
|
|
9721
9731
|
holeDiameter: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
9722
9732
|
platedDiameter: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
@@ -9928,6 +9938,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
|
|
|
9928
9938
|
schWidth?: number | undefined;
|
|
9929
9939
|
schHeight?: number | undefined;
|
|
9930
9940
|
pinLabels?: string[] | undefined;
|
|
9941
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
9931
9942
|
schPinArrangement?: {
|
|
9932
9943
|
leftSize?: number | undefined;
|
|
9933
9944
|
topSize?: number | undefined;
|
|
@@ -10049,6 +10060,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
|
|
|
10049
10060
|
schHeight?: string | number | undefined;
|
|
10050
10061
|
gender?: "male" | "female" | undefined;
|
|
10051
10062
|
pinLabels?: string[] | undefined;
|
|
10063
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
10052
10064
|
schPinArrangement?: {
|
|
10053
10065
|
leftSize?: number | undefined;
|
|
10054
10066
|
topSize?: number | undefined;
|
|
@@ -11623,6 +11635,7 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
|
|
|
11623
11635
|
manufacturerPartNumber: zod.ZodOptional<zod.ZodString>;
|
|
11624
11636
|
pinLabels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodUnion<[zod.ZodString, zod.ZodReadonly<zod.ZodArray<zod.ZodString, "many">>]>, zod.ZodArray<zod.ZodString, "many">]>>>;
|
|
11625
11637
|
showPinAliases: zod.ZodOptional<zod.ZodBoolean>;
|
|
11638
|
+
pcbPinLabels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
11626
11639
|
internallyConnectedPins: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString, "many">, "many">>;
|
|
11627
11640
|
externallyConnectedPins: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString, "many">, "many">>;
|
|
11628
11641
|
schPinArrangement: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -11942,6 +11955,7 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
|
|
|
11942
11955
|
manufacturerPartNumber?: string | undefined;
|
|
11943
11956
|
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
11944
11957
|
showPinAliases?: boolean | undefined;
|
|
11958
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
11945
11959
|
internallyConnectedPins?: string[][] | undefined;
|
|
11946
11960
|
externallyConnectedPins?: string[][] | undefined;
|
|
11947
11961
|
schPinArrangement?: {
|
|
@@ -12089,6 +12103,7 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
|
|
|
12089
12103
|
manufacturerPartNumber?: string | undefined;
|
|
12090
12104
|
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
12091
12105
|
showPinAliases?: boolean | undefined;
|
|
12106
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
12092
12107
|
internallyConnectedPins?: string[][] | undefined;
|
|
12093
12108
|
externallyConnectedPins?: string[][] | undefined;
|
|
12094
12109
|
schPinArrangement?: {
|
package/dist/index.js
CHANGED
|
@@ -10787,7 +10787,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
10787
10787
|
var package_default = {
|
|
10788
10788
|
name: "@tscircuit/core",
|
|
10789
10789
|
type: "module",
|
|
10790
|
-
version: "0.0.
|
|
10790
|
+
version: "0.0.558",
|
|
10791
10791
|
types: "dist/index.d.ts",
|
|
10792
10792
|
main: "dist/index.js",
|
|
10793
10793
|
module: "dist/index.js",
|
|
@@ -10818,7 +10818,7 @@ var package_default = {
|
|
|
10818
10818
|
"@tscircuit/infgrid-ijump-astar": "^0.0.33",
|
|
10819
10819
|
"@tscircuit/log-soup": "^1.0.2",
|
|
10820
10820
|
"@tscircuit/math-utils": "^0.0.18",
|
|
10821
|
-
"@tscircuit/props": "^0.0.
|
|
10821
|
+
"@tscircuit/props": "^0.0.256",
|
|
10822
10822
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
10823
10823
|
"@tscircuit/schematic-corpus": "^0.0.52",
|
|
10824
10824
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
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.559",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@tscircuit/infgrid-ijump-astar": "^0.0.33",
|
|
33
33
|
"@tscircuit/log-soup": "^1.0.2",
|
|
34
34
|
"@tscircuit/math-utils": "^0.0.18",
|
|
35
|
-
"@tscircuit/props": "^0.0.
|
|
35
|
+
"@tscircuit/props": "^0.0.256",
|
|
36
36
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
37
37
|
"@tscircuit/schematic-corpus": "^0.0.52",
|
|
38
38
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|