@tscircuit/props 0.0.500 → 0.0.502

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/README.md CHANGED
@@ -388,23 +388,7 @@ export interface ChipPropsSU<
388
388
  ### ConnectorProps `<connector />`
389
389
 
390
390
  ```ts
391
- export interface ConnectorProps extends CommonComponentProps {
392
- manufacturerPartNumber?: string;
393
- pinLabels?: Record<
394
- number | SchematicPinLabel,
395
- SchematicPinLabel | SchematicPinLabel[]
396
- >;
397
- schPinStyle?: SchematicPinStyle;
398
- schPinSpacing?: number | string;
399
- schWidth?: number | string;
400
- schHeight?: number | string;
401
- schDirection?: "left" | "right";
402
- schPortArrangement?: SchematicPortArrangement;
403
- /**
404
- * Groups of pins that are internally connected
405
- * e.g., [["1","2"], ["2","3"]]
406
- */
407
- internallyConnectedPins?: (string | number)[][];
391
+ export interface ConnectorProps extends ChipPropsSU {
408
392
  /**
409
393
  * Connector standard, e.g. usb_c, m2
410
394
  */
package/dist/index.d.ts CHANGED
@@ -17833,7 +17833,7 @@ interface SubcircuitGroupProps extends BaseGroupProps {
17833
17833
  pcbRouteCache?: PcbRouteCache;
17834
17834
  autorouter?: AutorouterProp;
17835
17835
  autorouterEffortLevel?: "1x" | "2x" | "5x" | "10x" | "100x";
17836
- autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "latest";
17836
+ autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest";
17837
17837
  /**
17838
17838
  * Serialized circuit JSON describing a precompiled subcircuit
17839
17839
  */
@@ -19684,7 +19684,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
19684
19684
  pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
19685
19685
  autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
19686
19686
  autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
19687
- autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "latest"]>>;
19687
+ autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "latest"]>>;
19688
19688
  square: z.ZodOptional<z.ZodBoolean>;
19689
19689
  emptyArea: z.ZodOptional<z.ZodString>;
19690
19690
  filledArea: z.ZodOptional<z.ZodString>;
@@ -19999,7 +19999,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
19999
19999
  pcbRouteCache?: PcbRouteCache | undefined;
20000
20000
  autorouter?: AutorouterProp | undefined;
20001
20001
  autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
20002
- autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "latest" | undefined;
20002
+ autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
20003
20003
  square?: boolean | undefined;
20004
20004
  emptyArea?: string | undefined;
20005
20005
  filledArea?: string | undefined;
@@ -20310,7 +20310,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
20310
20310
  pcbRouteCache?: PcbRouteCache | undefined;
20311
20311
  autorouter?: AutorouterProp | undefined;
20312
20312
  autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
20313
- autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "latest" | undefined;
20313
+ autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
20314
20314
  square?: boolean | undefined;
20315
20315
  emptyArea?: string | undefined;
20316
20316
  filledArea?: string | undefined;
@@ -21057,7 +21057,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
21057
21057
  pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
21058
21058
  autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
21059
21059
  autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
21060
- autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "latest"]>>;
21060
+ autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "latest"]>>;
21061
21061
  square: z.ZodOptional<z.ZodBoolean>;
21062
21062
  emptyArea: z.ZodOptional<z.ZodString>;
21063
21063
  filledArea: z.ZodOptional<z.ZodString>;
@@ -21375,7 +21375,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
21375
21375
  pcbRouteCache?: PcbRouteCache | undefined;
21376
21376
  autorouter?: AutorouterProp | undefined;
21377
21377
  autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
21378
- autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "latest" | undefined;
21378
+ autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
21379
21379
  square?: boolean | undefined;
21380
21380
  emptyArea?: string | undefined;
21381
21381
  filledArea?: string | undefined;
@@ -21687,7 +21687,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
21687
21687
  pcbRouteCache?: PcbRouteCache | undefined;
21688
21688
  autorouter?: AutorouterProp | undefined;
21689
21689
  autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
21690
- autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "latest" | undefined;
21690
+ autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
21691
21691
  square?: boolean | undefined;
21692
21692
  emptyArea?: string | undefined;
21693
21693
  filledArea?: string | undefined;
@@ -23514,7 +23514,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
23514
23514
  pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
23515
23515
  autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
23516
23516
  autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
23517
- autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "latest"]>>;
23517
+ autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "latest"]>>;
23518
23518
  square: z.ZodOptional<z.ZodBoolean>;
23519
23519
  emptyArea: z.ZodOptional<z.ZodString>;
23520
23520
  filledArea: z.ZodOptional<z.ZodString>;
@@ -23832,7 +23832,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
23832
23832
  pcbRouteCache?: PcbRouteCache | undefined;
23833
23833
  autorouter?: AutorouterProp | undefined;
23834
23834
  autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
23835
- autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "latest" | undefined;
23835
+ autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
23836
23836
  square?: boolean | undefined;
23837
23837
  emptyArea?: string | undefined;
23838
23838
  filledArea?: string | undefined;
@@ -24144,7 +24144,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
24144
24144
  pcbRouteCache?: PcbRouteCache | undefined;
24145
24145
  autorouter?: AutorouterProp | undefined;
24146
24146
  autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
24147
- autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "latest" | undefined;
24147
+ autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
24148
24148
  square?: boolean | undefined;
24149
24149
  emptyArea?: string | undefined;
24150
24150
  filledArea?: string | undefined;
@@ -24922,7 +24922,7 @@ declare const boardProps: z.ZodObject<Omit<{
24922
24922
  pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
24923
24923
  autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
24924
24924
  autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
24925
- autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "latest"]>>;
24925
+ autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "latest"]>>;
24926
24926
  square: z.ZodOptional<z.ZodBoolean>;
24927
24927
  emptyArea: z.ZodOptional<z.ZodString>;
24928
24928
  filledArea: z.ZodOptional<z.ZodString>;
@@ -25266,7 +25266,7 @@ declare const boardProps: z.ZodObject<Omit<{
25266
25266
  pcbRouteCache?: PcbRouteCache | undefined;
25267
25267
  autorouter?: AutorouterProp | undefined;
25268
25268
  autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
25269
- autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "latest" | undefined;
25269
+ autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
25270
25270
  square?: boolean | undefined;
25271
25271
  emptyArea?: string | undefined;
25272
25272
  filledArea?: string | undefined;
@@ -25593,7 +25593,7 @@ declare const boardProps: z.ZodObject<Omit<{
25593
25593
  pcbRouteCache?: PcbRouteCache | undefined;
25594
25594
  autorouter?: AutorouterProp | undefined;
25595
25595
  autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
25596
- autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "latest" | undefined;
25596
+ autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
25597
25597
  square?: boolean | undefined;
25598
25598
  emptyArea?: string | undefined;
25599
25599
  filledArea?: string | undefined;
@@ -28657,7 +28657,7 @@ declare const breakoutProps: z.ZodObject<{
28657
28657
  pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
28658
28658
  autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
28659
28659
  autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
28660
- autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "latest"]>>;
28660
+ autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "latest"]>>;
28661
28661
  square: z.ZodOptional<z.ZodBoolean>;
28662
28662
  emptyArea: z.ZodOptional<z.ZodString>;
28663
28663
  filledArea: z.ZodOptional<z.ZodString>;
@@ -28978,7 +28978,7 @@ declare const breakoutProps: z.ZodObject<{
28978
28978
  pcbRouteCache?: PcbRouteCache | undefined;
28979
28979
  autorouter?: AutorouterProp | undefined;
28980
28980
  autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
28981
- autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "latest" | undefined;
28981
+ autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
28982
28982
  square?: boolean | undefined;
28983
28983
  emptyArea?: string | undefined;
28984
28984
  filledArea?: string | undefined;
@@ -29289,7 +29289,7 @@ declare const breakoutProps: z.ZodObject<{
29289
29289
  pcbRouteCache?: PcbRouteCache | undefined;
29290
29290
  autorouter?: AutorouterProp | undefined;
29291
29291
  autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
29292
- autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "latest" | undefined;
29292
+ autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
29293
29293
  square?: boolean | undefined;
29294
29294
  emptyArea?: string | undefined;
29295
29295
  filledArea?: string | undefined;
@@ -54184,20 +54184,7 @@ declare const solderjumperProps: z.ZodObject<{
54184
54184
  bridged?: boolean | undefined;
54185
54185
  }>;
54186
54186
 
54187
- interface ConnectorProps extends CommonComponentProps {
54188
- manufacturerPartNumber?: string;
54189
- pinLabels?: Record<number | SchematicPinLabel, SchematicPinLabel | SchematicPinLabel[]>;
54190
- schPinStyle?: SchematicPinStyle;
54191
- schPinSpacing?: number | string;
54192
- schWidth?: number | string;
54193
- schHeight?: number | string;
54194
- schDirection?: "left" | "right";
54195
- schPortArrangement?: SchematicPortArrangement;
54196
- /**
54197
- * Groups of pins that are internally connected
54198
- * e.g., [["1","2"], ["2","3"]]
54199
- */
54200
- internallyConnectedPins?: (string | number)[][];
54187
+ interface ConnectorProps extends ChipPropsSU {
54201
54188
  /**
54202
54189
  * Connector standard, e.g. usb_c, m2
54203
54190
  */
@@ -57559,39 +57546,135 @@ declare const connectorProps: z.ZodObject<{
57559
57546
  mfn: z.ZodOptional<z.ZodString>;
57560
57547
  } & {
57561
57548
  manufacturerPartNumber: z.ZodOptional<z.ZodString>;
57562
- pinLabels: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodNumber, z.ZodString]>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
57563
- schPinStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
57564
- marginLeft: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
57565
- marginRight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
57566
- marginTop: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
57567
- marginBottom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
57568
- leftMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
57569
- rightMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
57570
- topMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
57571
- bottomMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
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
+ }>>;
57572
57627
  }, "strip", z.ZodTypeAny, {
57573
- marginLeft?: number | undefined;
57574
- marginRight?: number | undefined;
57575
- marginTop?: number | undefined;
57576
- marginBottom?: number | undefined;
57577
- leftMargin?: number | undefined;
57578
- rightMargin?: number | undefined;
57579
- topMargin?: number | undefined;
57580
- bottomMargin?: number | undefined;
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;
57581
57652
  }, {
57582
- marginLeft?: string | number | undefined;
57583
- marginRight?: string | number | undefined;
57584
- marginTop?: string | number | undefined;
57585
- marginBottom?: string | number | undefined;
57586
- leftMargin?: string | number | undefined;
57587
- rightMargin?: string | number | undefined;
57588
- topMargin?: string | number | undefined;
57589
- bottomMargin?: string | number | undefined;
57590
- }>>>;
57591
- schPinSpacing: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
57592
- schWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
57593
- schHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
57594
- schDirection: z.ZodOptional<z.ZodEnum<["left", "right"]>>;
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
+ }>>;
57595
57678
  schPortArrangement: z.ZodOptional<z.ZodObject<{
57596
57679
  leftSize: z.ZodOptional<z.ZodNumber>;
57597
57680
  topSize: z.ZodOptional<z.ZodNumber>;
@@ -57716,7 +57799,50 @@ declare const connectorProps: z.ZodObject<{
57716
57799
  topPinCount?: number | undefined;
57717
57800
  bottomPinCount?: number | undefined;
57718
57801
  }>>;
57719
- internallyConnectedPins: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">, "many">>;
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
+ } & {
57720
57846
  standard: z.ZodOptional<z.ZodEnum<["usb_c", "m2"]>>;
57721
57847
  }, "strip", z.ZodTypeAny, {
57722
57848
  name: string;
@@ -58294,6 +58420,33 @@ declare const connectorProps: z.ZodObject<{
58294
58420
  obstructsWithinBounds?: boolean | undefined;
58295
58421
  mfn?: string | undefined;
58296
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;
58297
58450
  schPinSpacing?: number | undefined;
58298
58451
  schPinStyle?: Record<string, {
58299
58452
  marginLeft?: number | undefined;
@@ -58307,8 +58460,11 @@ declare const connectorProps: z.ZodObject<{
58307
58460
  }> | undefined;
58308
58461
  schWidth?: number | undefined;
58309
58462
  schHeight?: number | undefined;
58310
- pinLabels?: Record<string | number, string | string[]> | undefined;
58463
+ pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
58464
+ showPinAliases?: boolean | undefined;
58465
+ pcbPinLabels?: Record<string, string> | undefined;
58311
58466
  internallyConnectedPins?: (string | number)[][] | undefined;
58467
+ externallyConnectedPins?: string[][] | undefined;
58312
58468
  schPortArrangement?: {
58313
58469
  leftSize?: number | undefined;
58314
58470
  topSize?: number | undefined;
@@ -58335,7 +58491,11 @@ declare const connectorProps: z.ZodObject<{
58335
58491
  topPinCount?: number | undefined;
58336
58492
  bottomPinCount?: number | undefined;
58337
58493
  } | undefined;
58338
- schDirection?: "left" | "right" | undefined;
58494
+ pinCompatibleVariants?: {
58495
+ manufacturerPartNumber?: string | undefined;
58496
+ supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
58497
+ }[] | undefined;
58498
+ noSchematicRepresentation?: boolean | undefined;
58339
58499
  standard?: "usb_c" | "m2" | undefined;
58340
58500
  }, {
58341
58501
  name: string;
@@ -58915,6 +59075,33 @@ declare const connectorProps: z.ZodObject<{
58915
59075
  obstructsWithinBounds?: boolean | undefined;
58916
59076
  mfn?: string | undefined;
58917
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;
58918
59105
  schPinSpacing?: string | number | undefined;
58919
59106
  schPinStyle?: Record<string, {
58920
59107
  marginLeft?: string | number | undefined;
@@ -58928,8 +59115,11 @@ declare const connectorProps: z.ZodObject<{
58928
59115
  }> | undefined;
58929
59116
  schWidth?: string | number | undefined;
58930
59117
  schHeight?: string | number | undefined;
58931
- pinLabels?: Record<string | number, string | string[]> | undefined;
59118
+ pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
59119
+ showPinAliases?: boolean | undefined;
59120
+ pcbPinLabels?: Record<string, string> | undefined;
58932
59121
  internallyConnectedPins?: (string | number)[][] | undefined;
59122
+ externallyConnectedPins?: string[][] | undefined;
58933
59123
  schPortArrangement?: {
58934
59124
  leftSize?: number | undefined;
58935
59125
  topSize?: number | undefined;
@@ -58956,7 +59146,11 @@ declare const connectorProps: z.ZodObject<{
58956
59146
  topPinCount?: number | undefined;
58957
59147
  bottomPinCount?: number | undefined;
58958
59148
  } | undefined;
58959
- schDirection?: "left" | "right" | undefined;
59149
+ pinCompatibleVariants?: {
59150
+ manufacturerPartNumber?: string | undefined;
59151
+ supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
59152
+ }[] | undefined;
59153
+ noSchematicRepresentation?: boolean | undefined;
58960
59154
  standard?: "usb_c" | "m2" | undefined;
58961
59155
  }>;
58962
59156
 
@@ -88881,7 +89075,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
88881
89075
  pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
88882
89076
  autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
88883
89077
  autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
88884
- autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "latest"]>>;
89078
+ autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "latest"]>>;
88885
89079
  square: z.ZodOptional<z.ZodBoolean>;
88886
89080
  emptyArea: z.ZodOptional<z.ZodString>;
88887
89081
  filledArea: z.ZodOptional<z.ZodString>;
@@ -89240,7 +89434,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
89240
89434
  pcbRouteCache?: PcbRouteCache | undefined;
89241
89435
  autorouter?: AutorouterProp | undefined;
89242
89436
  autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
89243
- autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "latest" | undefined;
89437
+ autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
89244
89438
  square?: boolean | undefined;
89245
89439
  emptyArea?: string | undefined;
89246
89440
  filledArea?: string | undefined;
@@ -89577,7 +89771,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
89577
89771
  pcbRouteCache?: PcbRouteCache | undefined;
89578
89772
  autorouter?: AutorouterProp | undefined;
89579
89773
  autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
89580
- autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "latest" | undefined;
89774
+ autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
89581
89775
  square?: boolean | undefined;
89582
89776
  emptyArea?: string | undefined;
89583
89777
  filledArea?: string | undefined;
@@ -108542,7 +108736,7 @@ declare const mountedboardProps: z.ZodObject<{
108542
108736
  pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
108543
108737
  autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
108544
108738
  autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
108545
- autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "latest"]>>;
108739
+ autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "latest"]>>;
108546
108740
  square: z.ZodOptional<z.ZodBoolean>;
108547
108741
  emptyArea: z.ZodOptional<z.ZodString>;
108548
108742
  filledArea: z.ZodOptional<z.ZodString>;
@@ -109002,7 +109196,7 @@ declare const mountedboardProps: z.ZodObject<{
109002
109196
  pcbRouteCache?: PcbRouteCache | undefined;
109003
109197
  autorouter?: AutorouterProp | undefined;
109004
109198
  autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
109005
- autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "latest" | undefined;
109199
+ autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
109006
109200
  square?: boolean | undefined;
109007
109201
  emptyArea?: string | undefined;
109008
109202
  filledArea?: string | undefined;
@@ -109352,7 +109546,7 @@ declare const mountedboardProps: z.ZodObject<{
109352
109546
  pcbRouteCache?: PcbRouteCache | undefined;
109353
109547
  autorouter?: AutorouterProp | undefined;
109354
109548
  autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
109355
- autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "latest" | undefined;
109549
+ autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
109356
109550
  square?: boolean | undefined;
109357
109551
  emptyArea?: string | undefined;
109358
109552
  filledArea?: string | undefined;
@@ -120039,7 +120233,7 @@ declare const subcircuitProps: z.ZodObject<{
120039
120233
  pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
120040
120234
  autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
120041
120235
  autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
120042
- autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "latest"]>>;
120236
+ autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "latest"]>>;
120043
120237
  square: z.ZodOptional<z.ZodBoolean>;
120044
120238
  emptyArea: z.ZodOptional<z.ZodString>;
120045
120239
  filledArea: z.ZodOptional<z.ZodString>;
@@ -120354,7 +120548,7 @@ declare const subcircuitProps: z.ZodObject<{
120354
120548
  pcbRouteCache?: PcbRouteCache | undefined;
120355
120549
  autorouter?: AutorouterProp | undefined;
120356
120550
  autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
120357
- autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "latest" | undefined;
120551
+ autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
120358
120552
  square?: boolean | undefined;
120359
120553
  emptyArea?: string | undefined;
120360
120554
  filledArea?: string | undefined;
@@ -120665,7 +120859,7 @@ declare const subcircuitProps: z.ZodObject<{
120665
120859
  pcbRouteCache?: PcbRouteCache | undefined;
120666
120860
  autorouter?: AutorouterProp | undefined;
120667
120861
  autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
120668
- autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "latest" | undefined;
120862
+ autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
120669
120863
  square?: boolean | undefined;
120670
120864
  emptyArea?: string | undefined;
120671
120865
  filledArea?: string | undefined;