@tscircuit/props 0.0.499 → 0.0.501
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 +249 -51
- package/dist/index.js +165 -175
- package/dist/index.js.map +1 -1
- package/lib/components/connector.ts +3 -51
- package/lib/components/group.ts +13 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import { ReactElement } from 'react';
|
|
4
|
-
import { LayerRef, LayerRefInput, Point as Point$1, RouteHintPoint, PcbTrace, AnySourceComponent, RouteHintPointInput } from 'circuit-json';
|
|
4
|
+
import { LayerRef, LayerRefInput, Point as Point$1, RouteHintPoint, PcbTrace, AnySourceComponent, AnyCircuitElement, RouteHintPointInput } from 'circuit-json';
|
|
5
5
|
|
|
6
6
|
declare const direction: z.ZodEnum<["up", "down", "left", "right"]>;
|
|
7
7
|
type Direction = "up" | "down" | "left" | "right";
|
|
@@ -17759,6 +17759,10 @@ type PartsEngine = {
|
|
|
17759
17759
|
sourceComponent: AnySourceComponent;
|
|
17760
17760
|
footprinterString?: string;
|
|
17761
17761
|
}) => Promise<SupplierPartNumbers> | SupplierPartNumbers;
|
|
17762
|
+
fetchPartCircuitJson?: (params: {
|
|
17763
|
+
supplierPartNumber?: string;
|
|
17764
|
+
manufacturerPartNumber?: string;
|
|
17765
|
+
}) => Promise<AnyCircuitElement[] | undefined> | AnyCircuitElement[] | undefined;
|
|
17762
17766
|
};
|
|
17763
17767
|
interface PcbRouteCache {
|
|
17764
17768
|
pcbTraces: PcbTrace[];
|
|
@@ -54180,20 +54184,7 @@ declare const solderjumperProps: z.ZodObject<{
|
|
|
54180
54184
|
bridged?: boolean | undefined;
|
|
54181
54185
|
}>;
|
|
54182
54186
|
|
|
54183
|
-
interface ConnectorProps extends
|
|
54184
|
-
manufacturerPartNumber?: string;
|
|
54185
|
-
pinLabels?: Record<number | SchematicPinLabel, SchematicPinLabel | SchematicPinLabel[]>;
|
|
54186
|
-
schPinStyle?: SchematicPinStyle;
|
|
54187
|
-
schPinSpacing?: number | string;
|
|
54188
|
-
schWidth?: number | string;
|
|
54189
|
-
schHeight?: number | string;
|
|
54190
|
-
schDirection?: "left" | "right";
|
|
54191
|
-
schPortArrangement?: SchematicPortArrangement;
|
|
54192
|
-
/**
|
|
54193
|
-
* Groups of pins that are internally connected
|
|
54194
|
-
* e.g., [["1","2"], ["2","3"]]
|
|
54195
|
-
*/
|
|
54196
|
-
internallyConnectedPins?: (string | number)[][];
|
|
54187
|
+
interface ConnectorProps extends ChipPropsSU {
|
|
54197
54188
|
/**
|
|
54198
54189
|
* Connector standard, e.g. usb_c, m2
|
|
54199
54190
|
*/
|
|
@@ -57555,39 +57546,135 @@ declare const connectorProps: z.ZodObject<{
|
|
|
57555
57546
|
mfn: z.ZodOptional<z.ZodString>;
|
|
57556
57547
|
} & {
|
|
57557
57548
|
manufacturerPartNumber: z.ZodOptional<z.ZodString>;
|
|
57558
|
-
pinLabels: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.
|
|
57559
|
-
|
|
57560
|
-
|
|
57561
|
-
|
|
57562
|
-
|
|
57563
|
-
|
|
57564
|
-
|
|
57565
|
-
|
|
57566
|
-
|
|
57567
|
-
|
|
57549
|
+
pinLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>;
|
|
57550
|
+
showPinAliases: z.ZodOptional<z.ZodBoolean>;
|
|
57551
|
+
pcbPinLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
57552
|
+
internallyConnectedPins: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">, "many">>;
|
|
57553
|
+
externallyConnectedPins: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
57554
|
+
schPinArrangement: z.ZodOptional<z.ZodObject<{
|
|
57555
|
+
leftSize: z.ZodOptional<z.ZodNumber>;
|
|
57556
|
+
topSize: z.ZodOptional<z.ZodNumber>;
|
|
57557
|
+
rightSize: z.ZodOptional<z.ZodNumber>;
|
|
57558
|
+
bottomSize: z.ZodOptional<z.ZodNumber>;
|
|
57559
|
+
leftPinCount: z.ZodOptional<z.ZodNumber>;
|
|
57560
|
+
rightPinCount: z.ZodOptional<z.ZodNumber>;
|
|
57561
|
+
topPinCount: z.ZodOptional<z.ZodNumber>;
|
|
57562
|
+
bottomPinCount: z.ZodOptional<z.ZodNumber>;
|
|
57563
|
+
leftSide: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
|
|
57564
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
57565
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
57566
|
+
}, "strip", z.ZodTypeAny, {
|
|
57567
|
+
pins: (string | number)[];
|
|
57568
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
57569
|
+
}, {
|
|
57570
|
+
pins: (string | number)[];
|
|
57571
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
57572
|
+
}>, z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">]>, {
|
|
57573
|
+
pins: (string | number)[];
|
|
57574
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
57575
|
+
}, (string | number)[] | {
|
|
57576
|
+
pins: (string | number)[];
|
|
57577
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
57578
|
+
}>>;
|
|
57579
|
+
rightSide: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
|
|
57580
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
57581
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
57582
|
+
}, "strip", z.ZodTypeAny, {
|
|
57583
|
+
pins: (string | number)[];
|
|
57584
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
57585
|
+
}, {
|
|
57586
|
+
pins: (string | number)[];
|
|
57587
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
57588
|
+
}>, z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">]>, {
|
|
57589
|
+
pins: (string | number)[];
|
|
57590
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
57591
|
+
}, (string | number)[] | {
|
|
57592
|
+
pins: (string | number)[];
|
|
57593
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
57594
|
+
}>>;
|
|
57595
|
+
topSide: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
|
|
57596
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
57597
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
57598
|
+
}, "strip", z.ZodTypeAny, {
|
|
57599
|
+
pins: (string | number)[];
|
|
57600
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
57601
|
+
}, {
|
|
57602
|
+
pins: (string | number)[];
|
|
57603
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
57604
|
+
}>, z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">]>, {
|
|
57605
|
+
pins: (string | number)[];
|
|
57606
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
57607
|
+
}, (string | number)[] | {
|
|
57608
|
+
pins: (string | number)[];
|
|
57609
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
57610
|
+
}>>;
|
|
57611
|
+
bottomSide: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
|
|
57612
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
57613
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
57614
|
+
}, "strip", z.ZodTypeAny, {
|
|
57615
|
+
pins: (string | number)[];
|
|
57616
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
57617
|
+
}, {
|
|
57618
|
+
pins: (string | number)[];
|
|
57619
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
57620
|
+
}>, z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">]>, {
|
|
57621
|
+
pins: (string | number)[];
|
|
57622
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
57623
|
+
}, (string | number)[] | {
|
|
57624
|
+
pins: (string | number)[];
|
|
57625
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
57626
|
+
}>>;
|
|
57568
57627
|
}, "strip", z.ZodTypeAny, {
|
|
57569
|
-
|
|
57570
|
-
|
|
57571
|
-
|
|
57572
|
-
|
|
57573
|
-
|
|
57574
|
-
|
|
57575
|
-
|
|
57576
|
-
|
|
57628
|
+
leftSize?: number | undefined;
|
|
57629
|
+
topSize?: number | undefined;
|
|
57630
|
+
rightSize?: number | undefined;
|
|
57631
|
+
bottomSize?: number | undefined;
|
|
57632
|
+
leftSide?: {
|
|
57633
|
+
pins: (string | number)[];
|
|
57634
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
57635
|
+
} | undefined;
|
|
57636
|
+
topSide?: {
|
|
57637
|
+
pins: (string | number)[];
|
|
57638
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
57639
|
+
} | undefined;
|
|
57640
|
+
rightSide?: {
|
|
57641
|
+
pins: (string | number)[];
|
|
57642
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
57643
|
+
} | undefined;
|
|
57644
|
+
bottomSide?: {
|
|
57645
|
+
pins: (string | number)[];
|
|
57646
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
57647
|
+
} | undefined;
|
|
57648
|
+
leftPinCount?: number | undefined;
|
|
57649
|
+
rightPinCount?: number | undefined;
|
|
57650
|
+
topPinCount?: number | undefined;
|
|
57651
|
+
bottomPinCount?: number | undefined;
|
|
57577
57652
|
}, {
|
|
57578
|
-
|
|
57579
|
-
|
|
57580
|
-
|
|
57581
|
-
|
|
57582
|
-
|
|
57583
|
-
|
|
57584
|
-
|
|
57585
|
-
|
|
57586
|
-
|
|
57587
|
-
|
|
57588
|
-
|
|
57589
|
-
|
|
57590
|
-
|
|
57653
|
+
leftSize?: number | undefined;
|
|
57654
|
+
topSize?: number | undefined;
|
|
57655
|
+
rightSize?: number | undefined;
|
|
57656
|
+
bottomSize?: number | undefined;
|
|
57657
|
+
leftSide?: (string | number)[] | {
|
|
57658
|
+
pins: (string | number)[];
|
|
57659
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
57660
|
+
} | undefined;
|
|
57661
|
+
topSide?: (string | number)[] | {
|
|
57662
|
+
pins: (string | number)[];
|
|
57663
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
57664
|
+
} | undefined;
|
|
57665
|
+
rightSide?: (string | number)[] | {
|
|
57666
|
+
pins: (string | number)[];
|
|
57667
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
57668
|
+
} | undefined;
|
|
57669
|
+
bottomSide?: (string | number)[] | {
|
|
57670
|
+
pins: (string | number)[];
|
|
57671
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
57672
|
+
} | undefined;
|
|
57673
|
+
leftPinCount?: number | undefined;
|
|
57674
|
+
rightPinCount?: number | undefined;
|
|
57675
|
+
topPinCount?: number | undefined;
|
|
57676
|
+
bottomPinCount?: number | undefined;
|
|
57677
|
+
}>>;
|
|
57591
57678
|
schPortArrangement: z.ZodOptional<z.ZodObject<{
|
|
57592
57679
|
leftSize: z.ZodOptional<z.ZodNumber>;
|
|
57593
57680
|
topSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -57712,7 +57799,50 @@ declare const connectorProps: z.ZodObject<{
|
|
|
57712
57799
|
topPinCount?: number | undefined;
|
|
57713
57800
|
bottomPinCount?: number | undefined;
|
|
57714
57801
|
}>>;
|
|
57715
|
-
|
|
57802
|
+
pinCompatibleVariants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
57803
|
+
manufacturerPartNumber: z.ZodOptional<z.ZodString>;
|
|
57804
|
+
supplierPartNumber: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
57805
|
+
}, "strip", z.ZodTypeAny, {
|
|
57806
|
+
manufacturerPartNumber?: string | undefined;
|
|
57807
|
+
supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
57808
|
+
}, {
|
|
57809
|
+
manufacturerPartNumber?: string | undefined;
|
|
57810
|
+
supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
57811
|
+
}>, "many">>;
|
|
57812
|
+
schPinStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
57813
|
+
marginLeft: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
57814
|
+
marginRight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
57815
|
+
marginTop: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
57816
|
+
marginBottom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
57817
|
+
leftMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
57818
|
+
rightMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
57819
|
+
topMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
57820
|
+
bottomMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
57821
|
+
}, "strip", z.ZodTypeAny, {
|
|
57822
|
+
marginLeft?: number | undefined;
|
|
57823
|
+
marginRight?: number | undefined;
|
|
57824
|
+
marginTop?: number | undefined;
|
|
57825
|
+
marginBottom?: number | undefined;
|
|
57826
|
+
leftMargin?: number | undefined;
|
|
57827
|
+
rightMargin?: number | undefined;
|
|
57828
|
+
topMargin?: number | undefined;
|
|
57829
|
+
bottomMargin?: number | undefined;
|
|
57830
|
+
}, {
|
|
57831
|
+
marginLeft?: string | number | undefined;
|
|
57832
|
+
marginRight?: string | number | undefined;
|
|
57833
|
+
marginTop?: string | number | undefined;
|
|
57834
|
+
marginBottom?: string | number | undefined;
|
|
57835
|
+
leftMargin?: string | number | undefined;
|
|
57836
|
+
rightMargin?: string | number | undefined;
|
|
57837
|
+
topMargin?: string | number | undefined;
|
|
57838
|
+
bottomMargin?: string | number | undefined;
|
|
57839
|
+
}>>>;
|
|
57840
|
+
schPinSpacing: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
57841
|
+
schWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
57842
|
+
schHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
57843
|
+
noSchematicRepresentation: z.ZodOptional<z.ZodBoolean>;
|
|
57844
|
+
connections: z.ZodOptional<z.ZodPipeline<z.ZodType<Partial<Record<string, string | string[] | readonly string[]>>, z.ZodTypeDef, Partial<Record<string, string | string[] | readonly string[]>>>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>>;
|
|
57845
|
+
} & {
|
|
57716
57846
|
standard: z.ZodOptional<z.ZodEnum<["usb_c", "m2"]>>;
|
|
57717
57847
|
}, "strip", z.ZodTypeAny, {
|
|
57718
57848
|
name: string;
|
|
@@ -58290,6 +58420,33 @@ declare const connectorProps: z.ZodObject<{
|
|
|
58290
58420
|
obstructsWithinBounds?: boolean | undefined;
|
|
58291
58421
|
mfn?: string | undefined;
|
|
58292
58422
|
manufacturerPartNumber?: string | undefined;
|
|
58423
|
+
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
58424
|
+
schPinArrangement?: {
|
|
58425
|
+
leftSize?: number | undefined;
|
|
58426
|
+
topSize?: number | undefined;
|
|
58427
|
+
rightSize?: number | undefined;
|
|
58428
|
+
bottomSize?: number | undefined;
|
|
58429
|
+
leftSide?: {
|
|
58430
|
+
pins: (string | number)[];
|
|
58431
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
58432
|
+
} | undefined;
|
|
58433
|
+
topSide?: {
|
|
58434
|
+
pins: (string | number)[];
|
|
58435
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
58436
|
+
} | undefined;
|
|
58437
|
+
rightSide?: {
|
|
58438
|
+
pins: (string | number)[];
|
|
58439
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
58440
|
+
} | undefined;
|
|
58441
|
+
bottomSide?: {
|
|
58442
|
+
pins: (string | number)[];
|
|
58443
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
58444
|
+
} | undefined;
|
|
58445
|
+
leftPinCount?: number | undefined;
|
|
58446
|
+
rightPinCount?: number | undefined;
|
|
58447
|
+
topPinCount?: number | undefined;
|
|
58448
|
+
bottomPinCount?: number | undefined;
|
|
58449
|
+
} | undefined;
|
|
58293
58450
|
schPinSpacing?: number | undefined;
|
|
58294
58451
|
schPinStyle?: Record<string, {
|
|
58295
58452
|
marginLeft?: number | undefined;
|
|
@@ -58303,8 +58460,11 @@ declare const connectorProps: z.ZodObject<{
|
|
|
58303
58460
|
}> | undefined;
|
|
58304
58461
|
schWidth?: number | undefined;
|
|
58305
58462
|
schHeight?: number | undefined;
|
|
58306
|
-
pinLabels?: Record<string |
|
|
58463
|
+
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
58464
|
+
showPinAliases?: boolean | undefined;
|
|
58465
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
58307
58466
|
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
58467
|
+
externallyConnectedPins?: string[][] | undefined;
|
|
58308
58468
|
schPortArrangement?: {
|
|
58309
58469
|
leftSize?: number | undefined;
|
|
58310
58470
|
topSize?: number | undefined;
|
|
@@ -58331,7 +58491,11 @@ declare const connectorProps: z.ZodObject<{
|
|
|
58331
58491
|
topPinCount?: number | undefined;
|
|
58332
58492
|
bottomPinCount?: number | undefined;
|
|
58333
58493
|
} | undefined;
|
|
58334
|
-
|
|
58494
|
+
pinCompatibleVariants?: {
|
|
58495
|
+
manufacturerPartNumber?: string | undefined;
|
|
58496
|
+
supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
58497
|
+
}[] | undefined;
|
|
58498
|
+
noSchematicRepresentation?: boolean | undefined;
|
|
58335
58499
|
standard?: "usb_c" | "m2" | undefined;
|
|
58336
58500
|
}, {
|
|
58337
58501
|
name: string;
|
|
@@ -58911,6 +59075,33 @@ declare const connectorProps: z.ZodObject<{
|
|
|
58911
59075
|
obstructsWithinBounds?: boolean | undefined;
|
|
58912
59076
|
mfn?: string | undefined;
|
|
58913
59077
|
manufacturerPartNumber?: string | undefined;
|
|
59078
|
+
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
59079
|
+
schPinArrangement?: {
|
|
59080
|
+
leftSize?: number | undefined;
|
|
59081
|
+
topSize?: number | undefined;
|
|
59082
|
+
rightSize?: number | undefined;
|
|
59083
|
+
bottomSize?: number | undefined;
|
|
59084
|
+
leftSide?: (string | number)[] | {
|
|
59085
|
+
pins: (string | number)[];
|
|
59086
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
59087
|
+
} | undefined;
|
|
59088
|
+
topSide?: (string | number)[] | {
|
|
59089
|
+
pins: (string | number)[];
|
|
59090
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
59091
|
+
} | undefined;
|
|
59092
|
+
rightSide?: (string | number)[] | {
|
|
59093
|
+
pins: (string | number)[];
|
|
59094
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
59095
|
+
} | undefined;
|
|
59096
|
+
bottomSide?: (string | number)[] | {
|
|
59097
|
+
pins: (string | number)[];
|
|
59098
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
59099
|
+
} | undefined;
|
|
59100
|
+
leftPinCount?: number | undefined;
|
|
59101
|
+
rightPinCount?: number | undefined;
|
|
59102
|
+
topPinCount?: number | undefined;
|
|
59103
|
+
bottomPinCount?: number | undefined;
|
|
59104
|
+
} | undefined;
|
|
58914
59105
|
schPinSpacing?: string | number | undefined;
|
|
58915
59106
|
schPinStyle?: Record<string, {
|
|
58916
59107
|
marginLeft?: string | number | undefined;
|
|
@@ -58924,8 +59115,11 @@ declare const connectorProps: z.ZodObject<{
|
|
|
58924
59115
|
}> | undefined;
|
|
58925
59116
|
schWidth?: string | number | undefined;
|
|
58926
59117
|
schHeight?: string | number | undefined;
|
|
58927
|
-
pinLabels?: Record<string |
|
|
59118
|
+
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
59119
|
+
showPinAliases?: boolean | undefined;
|
|
59120
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
58928
59121
|
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
59122
|
+
externallyConnectedPins?: string[][] | undefined;
|
|
58929
59123
|
schPortArrangement?: {
|
|
58930
59124
|
leftSize?: number | undefined;
|
|
58931
59125
|
topSize?: number | undefined;
|
|
@@ -58952,7 +59146,11 @@ declare const connectorProps: z.ZodObject<{
|
|
|
58952
59146
|
topPinCount?: number | undefined;
|
|
58953
59147
|
bottomPinCount?: number | undefined;
|
|
58954
59148
|
} | undefined;
|
|
58955
|
-
|
|
59149
|
+
pinCompatibleVariants?: {
|
|
59150
|
+
manufacturerPartNumber?: string | undefined;
|
|
59151
|
+
supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
59152
|
+
}[] | undefined;
|
|
59153
|
+
noSchematicRepresentation?: boolean | undefined;
|
|
58956
59154
|
standard?: "usb_c" | "m2" | undefined;
|
|
58957
59155
|
}>;
|
|
58958
59156
|
|