@tscircuit/props 0.0.323 → 0.0.325
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 +1636 -189
- package/dist/index.js +135 -132
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +24 -0
- package/lib/components/platedhole.ts +2 -0
- package/lib/components/smtpad.ts +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4698,6 +4698,78 @@ interface ManualEditsFile {
|
|
|
4698
4698
|
}
|
|
4699
4699
|
type ManualEditsFileInput = z.input<typeof manual_edits_file>;
|
|
4700
4700
|
|
|
4701
|
+
type ConnectionTarget = string;
|
|
4702
|
+
/**
|
|
4703
|
+
* Defines a mapping of strings to connection paths e.g.
|
|
4704
|
+
*
|
|
4705
|
+
* const connections: Connections = {
|
|
4706
|
+
* GND: ".U1 > .GND",
|
|
4707
|
+
* VCC: ".U1 > .VCC",
|
|
4708
|
+
* }
|
|
4709
|
+
*
|
|
4710
|
+
* Connections are used as both inputs and outputs. For example, you might
|
|
4711
|
+
* receive connections when using `sel` to select a chip.
|
|
4712
|
+
*
|
|
4713
|
+
* const u1Connections = sel.U1(MyChip)
|
|
4714
|
+
*
|
|
4715
|
+
* You can also define a module with connections like this:
|
|
4716
|
+
*
|
|
4717
|
+
* export const MyModule = (props: { connections: { GND: string, VCC: string } }) => {
|
|
4718
|
+
* return (
|
|
4719
|
+
* <group>
|
|
4720
|
+
* <capacitor name="C1" connections={{
|
|
4721
|
+
* anode: props.connections.GND,
|
|
4722
|
+
* cathode: props.connections.VCC,
|
|
4723
|
+
* }} />
|
|
4724
|
+
* </group>
|
|
4725
|
+
* )
|
|
4726
|
+
* }
|
|
4727
|
+
*/
|
|
4728
|
+
type Connections<PinLabel extends string = string> = Partial<Record<PinLabel, ConnectionTarget | ConnectionTarget[] | readonly ConnectionTarget[]>>;
|
|
4729
|
+
/**
|
|
4730
|
+
* Defines a mapping of strings (usually chip names) to connections e.g.
|
|
4731
|
+
*
|
|
4732
|
+
* const selectors: Selectors = {
|
|
4733
|
+
* U1: { GND: ".U1 > .GND", VCC: ".U1 > .VCC" },
|
|
4734
|
+
* U2: {
|
|
4735
|
+
* GND: ".U2 > .pin1",
|
|
4736
|
+
* VCC: ".U2 > .pin2",
|
|
4737
|
+
* CUSTOM_DATA_1: ".U2 > .pin3",
|
|
4738
|
+
* CUSTOM_DATA_2: ".U2 > .pin4",
|
|
4739
|
+
* },
|
|
4740
|
+
* }
|
|
4741
|
+
*
|
|
4742
|
+
* A user can also use selectors to define the connections, this is helpful when
|
|
4743
|
+
* there's multiple chips in the group.
|
|
4744
|
+
*
|
|
4745
|
+
* ```tsx
|
|
4746
|
+
* const MyModule = (props: {
|
|
4747
|
+
* selectors: {
|
|
4748
|
+
* U1: { GND: string, VCC: string },
|
|
4749
|
+
* R1: { GND: string, VCC: string }
|
|
4750
|
+
* }
|
|
4751
|
+
* }) => {
|
|
4752
|
+
* return (
|
|
4753
|
+
* <group>
|
|
4754
|
+
* <resistor name="R1" connections={{
|
|
4755
|
+
* pin1: props.selectors.R1.GND,
|
|
4756
|
+
* pin2: props.selectors.R1.VCC,
|
|
4757
|
+
* }} />
|
|
4758
|
+
* <capacitor name="C1" connections={{
|
|
4759
|
+
* anode: props.selectors.U1.GND,
|
|
4760
|
+
* cathode: props.selectors.U1.VCC,
|
|
4761
|
+
* }} />
|
|
4762
|
+
* </group>
|
|
4763
|
+
* )
|
|
4764
|
+
* }
|
|
4765
|
+
* ```
|
|
4766
|
+
*
|
|
4767
|
+
* These selectors can also be used with "sel":
|
|
4768
|
+
*
|
|
4769
|
+
* sel.M1(MyModule).U1.GND // ".M1 > .C1 > .anode"
|
|
4770
|
+
*/
|
|
4771
|
+
type Selectors = Record<string, Connections>;
|
|
4772
|
+
|
|
4701
4773
|
declare const layoutConfig: z.ZodObject<{
|
|
4702
4774
|
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "match-adapt", "relative", "none"]>>;
|
|
4703
4775
|
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
@@ -4858,6 +4930,18 @@ interface BaseGroupProps extends CommonLayoutProps, LayoutConfig {
|
|
|
4858
4930
|
* Title to display above this group in the schematic view
|
|
4859
4931
|
*/
|
|
4860
4932
|
schTitle?: string;
|
|
4933
|
+
/**
|
|
4934
|
+
* If true, render this group as a single schematic box
|
|
4935
|
+
*/
|
|
4936
|
+
showAsSchematicBox?: boolean;
|
|
4937
|
+
/**
|
|
4938
|
+
* Mapping of external pin names to internal connection targets
|
|
4939
|
+
*/
|
|
4940
|
+
connections?: Connections;
|
|
4941
|
+
/**
|
|
4942
|
+
* Arrangement for pins when rendered as a schematic box
|
|
4943
|
+
*/
|
|
4944
|
+
schPinArrangement?: SchematicPinArrangement;
|
|
4861
4945
|
pcbWidth?: Distance;
|
|
4862
4946
|
pcbHeight?: Distance;
|
|
4863
4947
|
schWidth?: Distance;
|
|
@@ -5398,6 +5482,108 @@ declare const baseGroupProps: z.ZodObject<{
|
|
|
5398
5482
|
children: z.ZodOptional<z.ZodAny>;
|
|
5399
5483
|
schTitle: z.ZodOptional<z.ZodString>;
|
|
5400
5484
|
key: z.ZodOptional<z.ZodAny>;
|
|
5485
|
+
showAsSchematicBox: z.ZodOptional<z.ZodBoolean>;
|
|
5486
|
+
connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>>;
|
|
5487
|
+
schPinArrangement: z.ZodOptional<z.ZodObject<{
|
|
5488
|
+
leftSize: z.ZodOptional<z.ZodNumber>;
|
|
5489
|
+
topSize: z.ZodOptional<z.ZodNumber>;
|
|
5490
|
+
rightSize: z.ZodOptional<z.ZodNumber>;
|
|
5491
|
+
bottomSize: z.ZodOptional<z.ZodNumber>;
|
|
5492
|
+
leftPinCount: z.ZodOptional<z.ZodNumber>;
|
|
5493
|
+
rightPinCount: z.ZodOptional<z.ZodNumber>;
|
|
5494
|
+
topPinCount: z.ZodOptional<z.ZodNumber>;
|
|
5495
|
+
bottomPinCount: z.ZodOptional<z.ZodNumber>;
|
|
5496
|
+
leftSide: z.ZodOptional<z.ZodObject<{
|
|
5497
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
5498
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
5499
|
+
}, "strip", z.ZodTypeAny, {
|
|
5500
|
+
pins: (string | number)[];
|
|
5501
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5502
|
+
}, {
|
|
5503
|
+
pins: (string | number)[];
|
|
5504
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5505
|
+
}>>;
|
|
5506
|
+
rightSide: z.ZodOptional<z.ZodObject<{
|
|
5507
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
5508
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
5509
|
+
}, "strip", z.ZodTypeAny, {
|
|
5510
|
+
pins: (string | number)[];
|
|
5511
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5512
|
+
}, {
|
|
5513
|
+
pins: (string | number)[];
|
|
5514
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5515
|
+
}>>;
|
|
5516
|
+
topSide: z.ZodOptional<z.ZodObject<{
|
|
5517
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
5518
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
5519
|
+
}, "strip", z.ZodTypeAny, {
|
|
5520
|
+
pins: (string | number)[];
|
|
5521
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5522
|
+
}, {
|
|
5523
|
+
pins: (string | number)[];
|
|
5524
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5525
|
+
}>>;
|
|
5526
|
+
bottomSide: z.ZodOptional<z.ZodObject<{
|
|
5527
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
5528
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
5529
|
+
}, "strip", z.ZodTypeAny, {
|
|
5530
|
+
pins: (string | number)[];
|
|
5531
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5532
|
+
}, {
|
|
5533
|
+
pins: (string | number)[];
|
|
5534
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5535
|
+
}>>;
|
|
5536
|
+
}, "strip", z.ZodTypeAny, {
|
|
5537
|
+
leftSize?: number | undefined;
|
|
5538
|
+
topSize?: number | undefined;
|
|
5539
|
+
rightSize?: number | undefined;
|
|
5540
|
+
bottomSize?: number | undefined;
|
|
5541
|
+
leftSide?: {
|
|
5542
|
+
pins: (string | number)[];
|
|
5543
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5544
|
+
} | undefined;
|
|
5545
|
+
topSide?: {
|
|
5546
|
+
pins: (string | number)[];
|
|
5547
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5548
|
+
} | undefined;
|
|
5549
|
+
rightSide?: {
|
|
5550
|
+
pins: (string | number)[];
|
|
5551
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5552
|
+
} | undefined;
|
|
5553
|
+
bottomSide?: {
|
|
5554
|
+
pins: (string | number)[];
|
|
5555
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5556
|
+
} | undefined;
|
|
5557
|
+
leftPinCount?: number | undefined;
|
|
5558
|
+
rightPinCount?: number | undefined;
|
|
5559
|
+
topPinCount?: number | undefined;
|
|
5560
|
+
bottomPinCount?: number | undefined;
|
|
5561
|
+
}, {
|
|
5562
|
+
leftSize?: number | undefined;
|
|
5563
|
+
topSize?: number | undefined;
|
|
5564
|
+
rightSize?: number | undefined;
|
|
5565
|
+
bottomSize?: number | undefined;
|
|
5566
|
+
leftSide?: {
|
|
5567
|
+
pins: (string | number)[];
|
|
5568
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5569
|
+
} | undefined;
|
|
5570
|
+
topSide?: {
|
|
5571
|
+
pins: (string | number)[];
|
|
5572
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5573
|
+
} | undefined;
|
|
5574
|
+
rightSide?: {
|
|
5575
|
+
pins: (string | number)[];
|
|
5576
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5577
|
+
} | undefined;
|
|
5578
|
+
bottomSide?: {
|
|
5579
|
+
pins: (string | number)[];
|
|
5580
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5581
|
+
} | undefined;
|
|
5582
|
+
leftPinCount?: number | undefined;
|
|
5583
|
+
rightPinCount?: number | undefined;
|
|
5584
|
+
topPinCount?: number | undefined;
|
|
5585
|
+
bottomPinCount?: number | undefined;
|
|
5586
|
+
}>>;
|
|
5401
5587
|
}, "strip", z.ZodTypeAny, {
|
|
5402
5588
|
symbol?: SymbolProp | undefined;
|
|
5403
5589
|
key?: any;
|
|
@@ -5460,6 +5646,34 @@ declare const baseGroupProps: z.ZodObject<{
|
|
|
5460
5646
|
matchAdapt?: boolean | undefined;
|
|
5461
5647
|
matchAdaptTemplate?: any;
|
|
5462
5648
|
schTitle?: string | undefined;
|
|
5649
|
+
showAsSchematicBox?: boolean | undefined;
|
|
5650
|
+
connections?: Record<string, string | readonly string[] | string[] | undefined> | undefined;
|
|
5651
|
+
schPinArrangement?: {
|
|
5652
|
+
leftSize?: number | undefined;
|
|
5653
|
+
topSize?: number | undefined;
|
|
5654
|
+
rightSize?: number | undefined;
|
|
5655
|
+
bottomSize?: number | undefined;
|
|
5656
|
+
leftSide?: {
|
|
5657
|
+
pins: (string | number)[];
|
|
5658
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5659
|
+
} | undefined;
|
|
5660
|
+
topSide?: {
|
|
5661
|
+
pins: (string | number)[];
|
|
5662
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5663
|
+
} | undefined;
|
|
5664
|
+
rightSide?: {
|
|
5665
|
+
pins: (string | number)[];
|
|
5666
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5667
|
+
} | undefined;
|
|
5668
|
+
bottomSide?: {
|
|
5669
|
+
pins: (string | number)[];
|
|
5670
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5671
|
+
} | undefined;
|
|
5672
|
+
leftPinCount?: number | undefined;
|
|
5673
|
+
rightPinCount?: number | undefined;
|
|
5674
|
+
topPinCount?: number | undefined;
|
|
5675
|
+
bottomPinCount?: number | undefined;
|
|
5676
|
+
} | undefined;
|
|
5463
5677
|
pcbWidth?: number | undefined;
|
|
5464
5678
|
pcbHeight?: number | undefined;
|
|
5465
5679
|
schWidth?: number | undefined;
|
|
@@ -5654,6 +5868,34 @@ declare const baseGroupProps: z.ZodObject<{
|
|
|
5654
5868
|
matchAdapt?: boolean | undefined;
|
|
5655
5869
|
matchAdaptTemplate?: any;
|
|
5656
5870
|
schTitle?: string | undefined;
|
|
5871
|
+
showAsSchematicBox?: boolean | undefined;
|
|
5872
|
+
connections?: Record<string, string | readonly string[] | string[] | undefined> | undefined;
|
|
5873
|
+
schPinArrangement?: {
|
|
5874
|
+
leftSize?: number | undefined;
|
|
5875
|
+
topSize?: number | undefined;
|
|
5876
|
+
rightSize?: number | undefined;
|
|
5877
|
+
bottomSize?: number | undefined;
|
|
5878
|
+
leftSide?: {
|
|
5879
|
+
pins: (string | number)[];
|
|
5880
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5881
|
+
} | undefined;
|
|
5882
|
+
topSide?: {
|
|
5883
|
+
pins: (string | number)[];
|
|
5884
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5885
|
+
} | undefined;
|
|
5886
|
+
rightSide?: {
|
|
5887
|
+
pins: (string | number)[];
|
|
5888
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5889
|
+
} | undefined;
|
|
5890
|
+
bottomSide?: {
|
|
5891
|
+
pins: (string | number)[];
|
|
5892
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5893
|
+
} | undefined;
|
|
5894
|
+
leftPinCount?: number | undefined;
|
|
5895
|
+
rightPinCount?: number | undefined;
|
|
5896
|
+
topPinCount?: number | undefined;
|
|
5897
|
+
bottomPinCount?: number | undefined;
|
|
5898
|
+
} | undefined;
|
|
5657
5899
|
pcbWidth?: string | number | undefined;
|
|
5658
5900
|
pcbHeight?: string | number | undefined;
|
|
5659
5901
|
schWidth?: string | number | undefined;
|
|
@@ -6132,6 +6374,108 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
6132
6374
|
children: z.ZodOptional<z.ZodAny>;
|
|
6133
6375
|
schTitle: z.ZodOptional<z.ZodString>;
|
|
6134
6376
|
key: z.ZodOptional<z.ZodAny>;
|
|
6377
|
+
showAsSchematicBox: z.ZodOptional<z.ZodBoolean>;
|
|
6378
|
+
connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>>;
|
|
6379
|
+
schPinArrangement: z.ZodOptional<z.ZodObject<{
|
|
6380
|
+
leftSize: z.ZodOptional<z.ZodNumber>;
|
|
6381
|
+
topSize: z.ZodOptional<z.ZodNumber>;
|
|
6382
|
+
rightSize: z.ZodOptional<z.ZodNumber>;
|
|
6383
|
+
bottomSize: z.ZodOptional<z.ZodNumber>;
|
|
6384
|
+
leftPinCount: z.ZodOptional<z.ZodNumber>;
|
|
6385
|
+
rightPinCount: z.ZodOptional<z.ZodNumber>;
|
|
6386
|
+
topPinCount: z.ZodOptional<z.ZodNumber>;
|
|
6387
|
+
bottomPinCount: z.ZodOptional<z.ZodNumber>;
|
|
6388
|
+
leftSide: z.ZodOptional<z.ZodObject<{
|
|
6389
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
6390
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
6391
|
+
}, "strip", z.ZodTypeAny, {
|
|
6392
|
+
pins: (string | number)[];
|
|
6393
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6394
|
+
}, {
|
|
6395
|
+
pins: (string | number)[];
|
|
6396
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6397
|
+
}>>;
|
|
6398
|
+
rightSide: z.ZodOptional<z.ZodObject<{
|
|
6399
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
6400
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
6401
|
+
}, "strip", z.ZodTypeAny, {
|
|
6402
|
+
pins: (string | number)[];
|
|
6403
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6404
|
+
}, {
|
|
6405
|
+
pins: (string | number)[];
|
|
6406
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6407
|
+
}>>;
|
|
6408
|
+
topSide: z.ZodOptional<z.ZodObject<{
|
|
6409
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
6410
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
6411
|
+
}, "strip", z.ZodTypeAny, {
|
|
6412
|
+
pins: (string | number)[];
|
|
6413
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6414
|
+
}, {
|
|
6415
|
+
pins: (string | number)[];
|
|
6416
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6417
|
+
}>>;
|
|
6418
|
+
bottomSide: z.ZodOptional<z.ZodObject<{
|
|
6419
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
6420
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
6421
|
+
}, "strip", z.ZodTypeAny, {
|
|
6422
|
+
pins: (string | number)[];
|
|
6423
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6424
|
+
}, {
|
|
6425
|
+
pins: (string | number)[];
|
|
6426
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6427
|
+
}>>;
|
|
6428
|
+
}, "strip", z.ZodTypeAny, {
|
|
6429
|
+
leftSize?: number | undefined;
|
|
6430
|
+
topSize?: number | undefined;
|
|
6431
|
+
rightSize?: number | undefined;
|
|
6432
|
+
bottomSize?: number | undefined;
|
|
6433
|
+
leftSide?: {
|
|
6434
|
+
pins: (string | number)[];
|
|
6435
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6436
|
+
} | undefined;
|
|
6437
|
+
topSide?: {
|
|
6438
|
+
pins: (string | number)[];
|
|
6439
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6440
|
+
} | undefined;
|
|
6441
|
+
rightSide?: {
|
|
6442
|
+
pins: (string | number)[];
|
|
6443
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6444
|
+
} | undefined;
|
|
6445
|
+
bottomSide?: {
|
|
6446
|
+
pins: (string | number)[];
|
|
6447
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6448
|
+
} | undefined;
|
|
6449
|
+
leftPinCount?: number | undefined;
|
|
6450
|
+
rightPinCount?: number | undefined;
|
|
6451
|
+
topPinCount?: number | undefined;
|
|
6452
|
+
bottomPinCount?: number | undefined;
|
|
6453
|
+
}, {
|
|
6454
|
+
leftSize?: number | undefined;
|
|
6455
|
+
topSize?: number | undefined;
|
|
6456
|
+
rightSize?: number | undefined;
|
|
6457
|
+
bottomSize?: number | undefined;
|
|
6458
|
+
leftSide?: {
|
|
6459
|
+
pins: (string | number)[];
|
|
6460
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6461
|
+
} | undefined;
|
|
6462
|
+
topSide?: {
|
|
6463
|
+
pins: (string | number)[];
|
|
6464
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6465
|
+
} | undefined;
|
|
6466
|
+
rightSide?: {
|
|
6467
|
+
pins: (string | number)[];
|
|
6468
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6469
|
+
} | undefined;
|
|
6470
|
+
bottomSide?: {
|
|
6471
|
+
pins: (string | number)[];
|
|
6472
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6473
|
+
} | undefined;
|
|
6474
|
+
leftPinCount?: number | undefined;
|
|
6475
|
+
rightPinCount?: number | undefined;
|
|
6476
|
+
topPinCount?: number | undefined;
|
|
6477
|
+
bottomPinCount?: number | undefined;
|
|
6478
|
+
}>>;
|
|
6135
6479
|
} & {
|
|
6136
6480
|
manualEdits: z.ZodOptional<z.ZodObject<{
|
|
6137
6481
|
pcb_placements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -6420,6 +6764,34 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
6420
6764
|
matchAdapt?: boolean | undefined;
|
|
6421
6765
|
matchAdaptTemplate?: any;
|
|
6422
6766
|
schTitle?: string | undefined;
|
|
6767
|
+
showAsSchematicBox?: boolean | undefined;
|
|
6768
|
+
connections?: Record<string, string | readonly string[] | string[] | undefined> | undefined;
|
|
6769
|
+
schPinArrangement?: {
|
|
6770
|
+
leftSize?: number | undefined;
|
|
6771
|
+
topSize?: number | undefined;
|
|
6772
|
+
rightSize?: number | undefined;
|
|
6773
|
+
bottomSize?: number | undefined;
|
|
6774
|
+
leftSide?: {
|
|
6775
|
+
pins: (string | number)[];
|
|
6776
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6777
|
+
} | undefined;
|
|
6778
|
+
topSide?: {
|
|
6779
|
+
pins: (string | number)[];
|
|
6780
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6781
|
+
} | undefined;
|
|
6782
|
+
rightSide?: {
|
|
6783
|
+
pins: (string | number)[];
|
|
6784
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6785
|
+
} | undefined;
|
|
6786
|
+
bottomSide?: {
|
|
6787
|
+
pins: (string | number)[];
|
|
6788
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6789
|
+
} | undefined;
|
|
6790
|
+
leftPinCount?: number | undefined;
|
|
6791
|
+
rightPinCount?: number | undefined;
|
|
6792
|
+
topPinCount?: number | undefined;
|
|
6793
|
+
bottomPinCount?: number | undefined;
|
|
6794
|
+
} | undefined;
|
|
6423
6795
|
pcbWidth?: number | undefined;
|
|
6424
6796
|
pcbHeight?: number | undefined;
|
|
6425
6797
|
schWidth?: number | undefined;
|
|
@@ -6671,6 +7043,34 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
6671
7043
|
matchAdapt?: boolean | undefined;
|
|
6672
7044
|
matchAdaptTemplate?: any;
|
|
6673
7045
|
schTitle?: string | undefined;
|
|
7046
|
+
showAsSchematicBox?: boolean | undefined;
|
|
7047
|
+
connections?: Record<string, string | readonly string[] | string[] | undefined> | undefined;
|
|
7048
|
+
schPinArrangement?: {
|
|
7049
|
+
leftSize?: number | undefined;
|
|
7050
|
+
topSize?: number | undefined;
|
|
7051
|
+
rightSize?: number | undefined;
|
|
7052
|
+
bottomSize?: number | undefined;
|
|
7053
|
+
leftSide?: {
|
|
7054
|
+
pins: (string | number)[];
|
|
7055
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
7056
|
+
} | undefined;
|
|
7057
|
+
topSide?: {
|
|
7058
|
+
pins: (string | number)[];
|
|
7059
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
7060
|
+
} | undefined;
|
|
7061
|
+
rightSide?: {
|
|
7062
|
+
pins: (string | number)[];
|
|
7063
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
7064
|
+
} | undefined;
|
|
7065
|
+
bottomSide?: {
|
|
7066
|
+
pins: (string | number)[];
|
|
7067
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
7068
|
+
} | undefined;
|
|
7069
|
+
leftPinCount?: number | undefined;
|
|
7070
|
+
rightPinCount?: number | undefined;
|
|
7071
|
+
topPinCount?: number | undefined;
|
|
7072
|
+
bottomPinCount?: number | undefined;
|
|
7073
|
+
} | undefined;
|
|
6674
7074
|
pcbWidth?: string | number | undefined;
|
|
6675
7075
|
pcbHeight?: string | number | undefined;
|
|
6676
7076
|
schWidth?: string | number | undefined;
|
|
@@ -7207,6 +7607,108 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
7207
7607
|
children: z.ZodOptional<z.ZodAny>;
|
|
7208
7608
|
schTitle: z.ZodOptional<z.ZodString>;
|
|
7209
7609
|
key: z.ZodOptional<z.ZodAny>;
|
|
7610
|
+
showAsSchematicBox: z.ZodOptional<z.ZodBoolean>;
|
|
7611
|
+
connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>>;
|
|
7612
|
+
schPinArrangement: z.ZodOptional<z.ZodObject<{
|
|
7613
|
+
leftSize: z.ZodOptional<z.ZodNumber>;
|
|
7614
|
+
topSize: z.ZodOptional<z.ZodNumber>;
|
|
7615
|
+
rightSize: z.ZodOptional<z.ZodNumber>;
|
|
7616
|
+
bottomSize: z.ZodOptional<z.ZodNumber>;
|
|
7617
|
+
leftPinCount: z.ZodOptional<z.ZodNumber>;
|
|
7618
|
+
rightPinCount: z.ZodOptional<z.ZodNumber>;
|
|
7619
|
+
topPinCount: z.ZodOptional<z.ZodNumber>;
|
|
7620
|
+
bottomPinCount: z.ZodOptional<z.ZodNumber>;
|
|
7621
|
+
leftSide: z.ZodOptional<z.ZodObject<{
|
|
7622
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
7623
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
7624
|
+
}, "strip", z.ZodTypeAny, {
|
|
7625
|
+
pins: (string | number)[];
|
|
7626
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
7627
|
+
}, {
|
|
7628
|
+
pins: (string | number)[];
|
|
7629
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
7630
|
+
}>>;
|
|
7631
|
+
rightSide: z.ZodOptional<z.ZodObject<{
|
|
7632
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
7633
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
7634
|
+
}, "strip", z.ZodTypeAny, {
|
|
7635
|
+
pins: (string | number)[];
|
|
7636
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
7637
|
+
}, {
|
|
7638
|
+
pins: (string | number)[];
|
|
7639
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
7640
|
+
}>>;
|
|
7641
|
+
topSide: z.ZodOptional<z.ZodObject<{
|
|
7642
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
7643
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
7644
|
+
}, "strip", z.ZodTypeAny, {
|
|
7645
|
+
pins: (string | number)[];
|
|
7646
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
7647
|
+
}, {
|
|
7648
|
+
pins: (string | number)[];
|
|
7649
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
7650
|
+
}>>;
|
|
7651
|
+
bottomSide: z.ZodOptional<z.ZodObject<{
|
|
7652
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
7653
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
7654
|
+
}, "strip", z.ZodTypeAny, {
|
|
7655
|
+
pins: (string | number)[];
|
|
7656
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
7657
|
+
}, {
|
|
7658
|
+
pins: (string | number)[];
|
|
7659
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
7660
|
+
}>>;
|
|
7661
|
+
}, "strip", z.ZodTypeAny, {
|
|
7662
|
+
leftSize?: number | undefined;
|
|
7663
|
+
topSize?: number | undefined;
|
|
7664
|
+
rightSize?: number | undefined;
|
|
7665
|
+
bottomSize?: number | undefined;
|
|
7666
|
+
leftSide?: {
|
|
7667
|
+
pins: (string | number)[];
|
|
7668
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
7669
|
+
} | undefined;
|
|
7670
|
+
topSide?: {
|
|
7671
|
+
pins: (string | number)[];
|
|
7672
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
7673
|
+
} | undefined;
|
|
7674
|
+
rightSide?: {
|
|
7675
|
+
pins: (string | number)[];
|
|
7676
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
7677
|
+
} | undefined;
|
|
7678
|
+
bottomSide?: {
|
|
7679
|
+
pins: (string | number)[];
|
|
7680
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
7681
|
+
} | undefined;
|
|
7682
|
+
leftPinCount?: number | undefined;
|
|
7683
|
+
rightPinCount?: number | undefined;
|
|
7684
|
+
topPinCount?: number | undefined;
|
|
7685
|
+
bottomPinCount?: number | undefined;
|
|
7686
|
+
}, {
|
|
7687
|
+
leftSize?: number | undefined;
|
|
7688
|
+
topSize?: number | undefined;
|
|
7689
|
+
rightSize?: number | undefined;
|
|
7690
|
+
bottomSize?: number | undefined;
|
|
7691
|
+
leftSide?: {
|
|
7692
|
+
pins: (string | number)[];
|
|
7693
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
7694
|
+
} | undefined;
|
|
7695
|
+
topSide?: {
|
|
7696
|
+
pins: (string | number)[];
|
|
7697
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
7698
|
+
} | undefined;
|
|
7699
|
+
rightSide?: {
|
|
7700
|
+
pins: (string | number)[];
|
|
7701
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
7702
|
+
} | undefined;
|
|
7703
|
+
bottomSide?: {
|
|
7704
|
+
pins: (string | number)[];
|
|
7705
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
7706
|
+
} | undefined;
|
|
7707
|
+
leftPinCount?: number | undefined;
|
|
7708
|
+
rightPinCount?: number | undefined;
|
|
7709
|
+
topPinCount?: number | undefined;
|
|
7710
|
+
bottomPinCount?: number | undefined;
|
|
7711
|
+
}>>;
|
|
7210
7712
|
} & {
|
|
7211
7713
|
manualEdits: z.ZodOptional<z.ZodObject<{
|
|
7212
7714
|
pcb_placements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -7498,6 +8000,34 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
7498
8000
|
matchAdapt?: boolean | undefined;
|
|
7499
8001
|
matchAdaptTemplate?: any;
|
|
7500
8002
|
schTitle?: string | undefined;
|
|
8003
|
+
showAsSchematicBox?: boolean | undefined;
|
|
8004
|
+
connections?: Record<string, string | readonly string[] | string[] | undefined> | undefined;
|
|
8005
|
+
schPinArrangement?: {
|
|
8006
|
+
leftSize?: number | undefined;
|
|
8007
|
+
topSize?: number | undefined;
|
|
8008
|
+
rightSize?: number | undefined;
|
|
8009
|
+
bottomSize?: number | undefined;
|
|
8010
|
+
leftSide?: {
|
|
8011
|
+
pins: (string | number)[];
|
|
8012
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
8013
|
+
} | undefined;
|
|
8014
|
+
topSide?: {
|
|
8015
|
+
pins: (string | number)[];
|
|
8016
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
8017
|
+
} | undefined;
|
|
8018
|
+
rightSide?: {
|
|
8019
|
+
pins: (string | number)[];
|
|
8020
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
8021
|
+
} | undefined;
|
|
8022
|
+
bottomSide?: {
|
|
8023
|
+
pins: (string | number)[];
|
|
8024
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
8025
|
+
} | undefined;
|
|
8026
|
+
leftPinCount?: number | undefined;
|
|
8027
|
+
rightPinCount?: number | undefined;
|
|
8028
|
+
topPinCount?: number | undefined;
|
|
8029
|
+
bottomPinCount?: number | undefined;
|
|
8030
|
+
} | undefined;
|
|
7501
8031
|
pcbWidth?: number | undefined;
|
|
7502
8032
|
pcbHeight?: number | undefined;
|
|
7503
8033
|
schWidth?: number | undefined;
|
|
@@ -7750,6 +8280,34 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
7750
8280
|
matchAdapt?: boolean | undefined;
|
|
7751
8281
|
matchAdaptTemplate?: any;
|
|
7752
8282
|
schTitle?: string | undefined;
|
|
8283
|
+
showAsSchematicBox?: boolean | undefined;
|
|
8284
|
+
connections?: Record<string, string | readonly string[] | string[] | undefined> | undefined;
|
|
8285
|
+
schPinArrangement?: {
|
|
8286
|
+
leftSize?: number | undefined;
|
|
8287
|
+
topSize?: number | undefined;
|
|
8288
|
+
rightSize?: number | undefined;
|
|
8289
|
+
bottomSize?: number | undefined;
|
|
8290
|
+
leftSide?: {
|
|
8291
|
+
pins: (string | number)[];
|
|
8292
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
8293
|
+
} | undefined;
|
|
8294
|
+
topSide?: {
|
|
8295
|
+
pins: (string | number)[];
|
|
8296
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
8297
|
+
} | undefined;
|
|
8298
|
+
rightSide?: {
|
|
8299
|
+
pins: (string | number)[];
|
|
8300
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
8301
|
+
} | undefined;
|
|
8302
|
+
bottomSide?: {
|
|
8303
|
+
pins: (string | number)[];
|
|
8304
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
8305
|
+
} | undefined;
|
|
8306
|
+
leftPinCount?: number | undefined;
|
|
8307
|
+
rightPinCount?: number | undefined;
|
|
8308
|
+
topPinCount?: number | undefined;
|
|
8309
|
+
bottomPinCount?: number | undefined;
|
|
8310
|
+
} | undefined;
|
|
7753
8311
|
pcbWidth?: string | number | undefined;
|
|
7754
8312
|
pcbHeight?: string | number | undefined;
|
|
7755
8313
|
schWidth?: string | number | undefined;
|
|
@@ -8289,6 +8847,108 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
8289
8847
|
children: z.ZodOptional<z.ZodAny>;
|
|
8290
8848
|
schTitle: z.ZodOptional<z.ZodString>;
|
|
8291
8849
|
key: z.ZodOptional<z.ZodAny>;
|
|
8850
|
+
showAsSchematicBox: z.ZodOptional<z.ZodBoolean>;
|
|
8851
|
+
connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>>;
|
|
8852
|
+
schPinArrangement: z.ZodOptional<z.ZodObject<{
|
|
8853
|
+
leftSize: z.ZodOptional<z.ZodNumber>;
|
|
8854
|
+
topSize: z.ZodOptional<z.ZodNumber>;
|
|
8855
|
+
rightSize: z.ZodOptional<z.ZodNumber>;
|
|
8856
|
+
bottomSize: z.ZodOptional<z.ZodNumber>;
|
|
8857
|
+
leftPinCount: z.ZodOptional<z.ZodNumber>;
|
|
8858
|
+
rightPinCount: z.ZodOptional<z.ZodNumber>;
|
|
8859
|
+
topPinCount: z.ZodOptional<z.ZodNumber>;
|
|
8860
|
+
bottomPinCount: z.ZodOptional<z.ZodNumber>;
|
|
8861
|
+
leftSide: z.ZodOptional<z.ZodObject<{
|
|
8862
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
8863
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
8864
|
+
}, "strip", z.ZodTypeAny, {
|
|
8865
|
+
pins: (string | number)[];
|
|
8866
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
8867
|
+
}, {
|
|
8868
|
+
pins: (string | number)[];
|
|
8869
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
8870
|
+
}>>;
|
|
8871
|
+
rightSide: z.ZodOptional<z.ZodObject<{
|
|
8872
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
8873
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
8874
|
+
}, "strip", z.ZodTypeAny, {
|
|
8875
|
+
pins: (string | number)[];
|
|
8876
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
8877
|
+
}, {
|
|
8878
|
+
pins: (string | number)[];
|
|
8879
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
8880
|
+
}>>;
|
|
8881
|
+
topSide: z.ZodOptional<z.ZodObject<{
|
|
8882
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
8883
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
8884
|
+
}, "strip", z.ZodTypeAny, {
|
|
8885
|
+
pins: (string | number)[];
|
|
8886
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
8887
|
+
}, {
|
|
8888
|
+
pins: (string | number)[];
|
|
8889
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
8890
|
+
}>>;
|
|
8891
|
+
bottomSide: z.ZodOptional<z.ZodObject<{
|
|
8892
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
8893
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
8894
|
+
}, "strip", z.ZodTypeAny, {
|
|
8895
|
+
pins: (string | number)[];
|
|
8896
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
8897
|
+
}, {
|
|
8898
|
+
pins: (string | number)[];
|
|
8899
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
8900
|
+
}>>;
|
|
8901
|
+
}, "strip", z.ZodTypeAny, {
|
|
8902
|
+
leftSize?: number | undefined;
|
|
8903
|
+
topSize?: number | undefined;
|
|
8904
|
+
rightSize?: number | undefined;
|
|
8905
|
+
bottomSize?: number | undefined;
|
|
8906
|
+
leftSide?: {
|
|
8907
|
+
pins: (string | number)[];
|
|
8908
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
8909
|
+
} | undefined;
|
|
8910
|
+
topSide?: {
|
|
8911
|
+
pins: (string | number)[];
|
|
8912
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
8913
|
+
} | undefined;
|
|
8914
|
+
rightSide?: {
|
|
8915
|
+
pins: (string | number)[];
|
|
8916
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
8917
|
+
} | undefined;
|
|
8918
|
+
bottomSide?: {
|
|
8919
|
+
pins: (string | number)[];
|
|
8920
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
8921
|
+
} | undefined;
|
|
8922
|
+
leftPinCount?: number | undefined;
|
|
8923
|
+
rightPinCount?: number | undefined;
|
|
8924
|
+
topPinCount?: number | undefined;
|
|
8925
|
+
bottomPinCount?: number | undefined;
|
|
8926
|
+
}, {
|
|
8927
|
+
leftSize?: number | undefined;
|
|
8928
|
+
topSize?: number | undefined;
|
|
8929
|
+
rightSize?: number | undefined;
|
|
8930
|
+
bottomSize?: number | undefined;
|
|
8931
|
+
leftSide?: {
|
|
8932
|
+
pins: (string | number)[];
|
|
8933
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
8934
|
+
} | undefined;
|
|
8935
|
+
topSide?: {
|
|
8936
|
+
pins: (string | number)[];
|
|
8937
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
8938
|
+
} | undefined;
|
|
8939
|
+
rightSide?: {
|
|
8940
|
+
pins: (string | number)[];
|
|
8941
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
8942
|
+
} | undefined;
|
|
8943
|
+
bottomSide?: {
|
|
8944
|
+
pins: (string | number)[];
|
|
8945
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
8946
|
+
} | undefined;
|
|
8947
|
+
leftPinCount?: number | undefined;
|
|
8948
|
+
rightPinCount?: number | undefined;
|
|
8949
|
+
topPinCount?: number | undefined;
|
|
8950
|
+
bottomPinCount?: number | undefined;
|
|
8951
|
+
}>>;
|
|
8292
8952
|
} & {
|
|
8293
8953
|
subcircuit: z.ZodOptional<z.ZodLiteral<false>>;
|
|
8294
8954
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8353,6 +9013,34 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
8353
9013
|
matchAdapt?: boolean | undefined;
|
|
8354
9014
|
matchAdaptTemplate?: any;
|
|
8355
9015
|
schTitle?: string | undefined;
|
|
9016
|
+
showAsSchematicBox?: boolean | undefined;
|
|
9017
|
+
connections?: Record<string, string | readonly string[] | string[] | undefined> | undefined;
|
|
9018
|
+
schPinArrangement?: {
|
|
9019
|
+
leftSize?: number | undefined;
|
|
9020
|
+
topSize?: number | undefined;
|
|
9021
|
+
rightSize?: number | undefined;
|
|
9022
|
+
bottomSize?: number | undefined;
|
|
9023
|
+
leftSide?: {
|
|
9024
|
+
pins: (string | number)[];
|
|
9025
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
9026
|
+
} | undefined;
|
|
9027
|
+
topSide?: {
|
|
9028
|
+
pins: (string | number)[];
|
|
9029
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
9030
|
+
} | undefined;
|
|
9031
|
+
rightSide?: {
|
|
9032
|
+
pins: (string | number)[];
|
|
9033
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
9034
|
+
} | undefined;
|
|
9035
|
+
bottomSide?: {
|
|
9036
|
+
pins: (string | number)[];
|
|
9037
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
9038
|
+
} | undefined;
|
|
9039
|
+
leftPinCount?: number | undefined;
|
|
9040
|
+
rightPinCount?: number | undefined;
|
|
9041
|
+
topPinCount?: number | undefined;
|
|
9042
|
+
bottomPinCount?: number | undefined;
|
|
9043
|
+
} | undefined;
|
|
8356
9044
|
pcbWidth?: number | undefined;
|
|
8357
9045
|
pcbHeight?: number | undefined;
|
|
8358
9046
|
schWidth?: number | undefined;
|
|
@@ -8548,6 +9236,34 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
8548
9236
|
matchAdapt?: boolean | undefined;
|
|
8549
9237
|
matchAdaptTemplate?: any;
|
|
8550
9238
|
schTitle?: string | undefined;
|
|
9239
|
+
showAsSchematicBox?: boolean | undefined;
|
|
9240
|
+
connections?: Record<string, string | readonly string[] | string[] | undefined> | undefined;
|
|
9241
|
+
schPinArrangement?: {
|
|
9242
|
+
leftSize?: number | undefined;
|
|
9243
|
+
topSize?: number | undefined;
|
|
9244
|
+
rightSize?: number | undefined;
|
|
9245
|
+
bottomSize?: number | undefined;
|
|
9246
|
+
leftSide?: {
|
|
9247
|
+
pins: (string | number)[];
|
|
9248
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
9249
|
+
} | undefined;
|
|
9250
|
+
topSide?: {
|
|
9251
|
+
pins: (string | number)[];
|
|
9252
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
9253
|
+
} | undefined;
|
|
9254
|
+
rightSide?: {
|
|
9255
|
+
pins: (string | number)[];
|
|
9256
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
9257
|
+
} | undefined;
|
|
9258
|
+
bottomSide?: {
|
|
9259
|
+
pins: (string | number)[];
|
|
9260
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
9261
|
+
} | undefined;
|
|
9262
|
+
leftPinCount?: number | undefined;
|
|
9263
|
+
rightPinCount?: number | undefined;
|
|
9264
|
+
topPinCount?: number | undefined;
|
|
9265
|
+
bottomPinCount?: number | undefined;
|
|
9266
|
+
} | undefined;
|
|
8551
9267
|
pcbWidth?: string | number | undefined;
|
|
8552
9268
|
pcbHeight?: string | number | undefined;
|
|
8553
9269
|
schWidth?: string | number | undefined;
|
|
@@ -9025,6 +9741,108 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
9025
9741
|
children: z.ZodOptional<z.ZodAny>;
|
|
9026
9742
|
schTitle: z.ZodOptional<z.ZodString>;
|
|
9027
9743
|
key: z.ZodOptional<z.ZodAny>;
|
|
9744
|
+
showAsSchematicBox: z.ZodOptional<z.ZodBoolean>;
|
|
9745
|
+
connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>>;
|
|
9746
|
+
schPinArrangement: z.ZodOptional<z.ZodObject<{
|
|
9747
|
+
leftSize: z.ZodOptional<z.ZodNumber>;
|
|
9748
|
+
topSize: z.ZodOptional<z.ZodNumber>;
|
|
9749
|
+
rightSize: z.ZodOptional<z.ZodNumber>;
|
|
9750
|
+
bottomSize: z.ZodOptional<z.ZodNumber>;
|
|
9751
|
+
leftPinCount: z.ZodOptional<z.ZodNumber>;
|
|
9752
|
+
rightPinCount: z.ZodOptional<z.ZodNumber>;
|
|
9753
|
+
topPinCount: z.ZodOptional<z.ZodNumber>;
|
|
9754
|
+
bottomPinCount: z.ZodOptional<z.ZodNumber>;
|
|
9755
|
+
leftSide: z.ZodOptional<z.ZodObject<{
|
|
9756
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
9757
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
9758
|
+
}, "strip", z.ZodTypeAny, {
|
|
9759
|
+
pins: (string | number)[];
|
|
9760
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
9761
|
+
}, {
|
|
9762
|
+
pins: (string | number)[];
|
|
9763
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
9764
|
+
}>>;
|
|
9765
|
+
rightSide: z.ZodOptional<z.ZodObject<{
|
|
9766
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
9767
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
9768
|
+
}, "strip", z.ZodTypeAny, {
|
|
9769
|
+
pins: (string | number)[];
|
|
9770
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
9771
|
+
}, {
|
|
9772
|
+
pins: (string | number)[];
|
|
9773
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
9774
|
+
}>>;
|
|
9775
|
+
topSide: z.ZodOptional<z.ZodObject<{
|
|
9776
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
9777
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
9778
|
+
}, "strip", z.ZodTypeAny, {
|
|
9779
|
+
pins: (string | number)[];
|
|
9780
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
9781
|
+
}, {
|
|
9782
|
+
pins: (string | number)[];
|
|
9783
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
9784
|
+
}>>;
|
|
9785
|
+
bottomSide: z.ZodOptional<z.ZodObject<{
|
|
9786
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
9787
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
9788
|
+
}, "strip", z.ZodTypeAny, {
|
|
9789
|
+
pins: (string | number)[];
|
|
9790
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
9791
|
+
}, {
|
|
9792
|
+
pins: (string | number)[];
|
|
9793
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
9794
|
+
}>>;
|
|
9795
|
+
}, "strip", z.ZodTypeAny, {
|
|
9796
|
+
leftSize?: number | undefined;
|
|
9797
|
+
topSize?: number | undefined;
|
|
9798
|
+
rightSize?: number | undefined;
|
|
9799
|
+
bottomSize?: number | undefined;
|
|
9800
|
+
leftSide?: {
|
|
9801
|
+
pins: (string | number)[];
|
|
9802
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
9803
|
+
} | undefined;
|
|
9804
|
+
topSide?: {
|
|
9805
|
+
pins: (string | number)[];
|
|
9806
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
9807
|
+
} | undefined;
|
|
9808
|
+
rightSide?: {
|
|
9809
|
+
pins: (string | number)[];
|
|
9810
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
9811
|
+
} | undefined;
|
|
9812
|
+
bottomSide?: {
|
|
9813
|
+
pins: (string | number)[];
|
|
9814
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
9815
|
+
} | undefined;
|
|
9816
|
+
leftPinCount?: number | undefined;
|
|
9817
|
+
rightPinCount?: number | undefined;
|
|
9818
|
+
topPinCount?: number | undefined;
|
|
9819
|
+
bottomPinCount?: number | undefined;
|
|
9820
|
+
}, {
|
|
9821
|
+
leftSize?: number | undefined;
|
|
9822
|
+
topSize?: number | undefined;
|
|
9823
|
+
rightSize?: number | undefined;
|
|
9824
|
+
bottomSize?: number | undefined;
|
|
9825
|
+
leftSide?: {
|
|
9826
|
+
pins: (string | number)[];
|
|
9827
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
9828
|
+
} | undefined;
|
|
9829
|
+
topSide?: {
|
|
9830
|
+
pins: (string | number)[];
|
|
9831
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
9832
|
+
} | undefined;
|
|
9833
|
+
rightSide?: {
|
|
9834
|
+
pins: (string | number)[];
|
|
9835
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
9836
|
+
} | undefined;
|
|
9837
|
+
bottomSide?: {
|
|
9838
|
+
pins: (string | number)[];
|
|
9839
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
9840
|
+
} | undefined;
|
|
9841
|
+
leftPinCount?: number | undefined;
|
|
9842
|
+
rightPinCount?: number | undefined;
|
|
9843
|
+
topPinCount?: number | undefined;
|
|
9844
|
+
bottomPinCount?: number | undefined;
|
|
9845
|
+
}>>;
|
|
9028
9846
|
} & {
|
|
9029
9847
|
manualEdits: z.ZodOptional<z.ZodObject<{
|
|
9030
9848
|
pcb_placements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -9316,6 +10134,34 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
9316
10134
|
matchAdapt?: boolean | undefined;
|
|
9317
10135
|
matchAdaptTemplate?: any;
|
|
9318
10136
|
schTitle?: string | undefined;
|
|
10137
|
+
showAsSchematicBox?: boolean | undefined;
|
|
10138
|
+
connections?: Record<string, string | readonly string[] | string[] | undefined> | undefined;
|
|
10139
|
+
schPinArrangement?: {
|
|
10140
|
+
leftSize?: number | undefined;
|
|
10141
|
+
topSize?: number | undefined;
|
|
10142
|
+
rightSize?: number | undefined;
|
|
10143
|
+
bottomSize?: number | undefined;
|
|
10144
|
+
leftSide?: {
|
|
10145
|
+
pins: (string | number)[];
|
|
10146
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
10147
|
+
} | undefined;
|
|
10148
|
+
topSide?: {
|
|
10149
|
+
pins: (string | number)[];
|
|
10150
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
10151
|
+
} | undefined;
|
|
10152
|
+
rightSide?: {
|
|
10153
|
+
pins: (string | number)[];
|
|
10154
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
10155
|
+
} | undefined;
|
|
10156
|
+
bottomSide?: {
|
|
10157
|
+
pins: (string | number)[];
|
|
10158
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
10159
|
+
} | undefined;
|
|
10160
|
+
leftPinCount?: number | undefined;
|
|
10161
|
+
rightPinCount?: number | undefined;
|
|
10162
|
+
topPinCount?: number | undefined;
|
|
10163
|
+
bottomPinCount?: number | undefined;
|
|
10164
|
+
} | undefined;
|
|
9319
10165
|
pcbWidth?: number | undefined;
|
|
9320
10166
|
pcbHeight?: number | undefined;
|
|
9321
10167
|
schWidth?: number | undefined;
|
|
@@ -9568,6 +10414,34 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
9568
10414
|
matchAdapt?: boolean | undefined;
|
|
9569
10415
|
matchAdaptTemplate?: any;
|
|
9570
10416
|
schTitle?: string | undefined;
|
|
10417
|
+
showAsSchematicBox?: boolean | undefined;
|
|
10418
|
+
connections?: Record<string, string | readonly string[] | string[] | undefined> | undefined;
|
|
10419
|
+
schPinArrangement?: {
|
|
10420
|
+
leftSize?: number | undefined;
|
|
10421
|
+
topSize?: number | undefined;
|
|
10422
|
+
rightSize?: number | undefined;
|
|
10423
|
+
bottomSize?: number | undefined;
|
|
10424
|
+
leftSide?: {
|
|
10425
|
+
pins: (string | number)[];
|
|
10426
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
10427
|
+
} | undefined;
|
|
10428
|
+
topSide?: {
|
|
10429
|
+
pins: (string | number)[];
|
|
10430
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
10431
|
+
} | undefined;
|
|
10432
|
+
rightSide?: {
|
|
10433
|
+
pins: (string | number)[];
|
|
10434
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
10435
|
+
} | undefined;
|
|
10436
|
+
bottomSide?: {
|
|
10437
|
+
pins: (string | number)[];
|
|
10438
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
10439
|
+
} | undefined;
|
|
10440
|
+
leftPinCount?: number | undefined;
|
|
10441
|
+
rightPinCount?: number | undefined;
|
|
10442
|
+
topPinCount?: number | undefined;
|
|
10443
|
+
bottomPinCount?: number | undefined;
|
|
10444
|
+
} | undefined;
|
|
9571
10445
|
pcbWidth?: string | number | undefined;
|
|
9572
10446
|
pcbHeight?: string | number | undefined;
|
|
9573
10447
|
schWidth?: string | number | undefined;
|
|
@@ -10111,6 +10985,108 @@ declare const boardProps: z.ZodObject<{
|
|
|
10111
10985
|
children: z.ZodOptional<z.ZodAny>;
|
|
10112
10986
|
schTitle: z.ZodOptional<z.ZodString>;
|
|
10113
10987
|
key: z.ZodOptional<z.ZodAny>;
|
|
10988
|
+
showAsSchematicBox: z.ZodOptional<z.ZodBoolean>;
|
|
10989
|
+
connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>>;
|
|
10990
|
+
schPinArrangement: z.ZodOptional<z.ZodObject<{
|
|
10991
|
+
leftSize: z.ZodOptional<z.ZodNumber>;
|
|
10992
|
+
topSize: z.ZodOptional<z.ZodNumber>;
|
|
10993
|
+
rightSize: z.ZodOptional<z.ZodNumber>;
|
|
10994
|
+
bottomSize: z.ZodOptional<z.ZodNumber>;
|
|
10995
|
+
leftPinCount: z.ZodOptional<z.ZodNumber>;
|
|
10996
|
+
rightPinCount: z.ZodOptional<z.ZodNumber>;
|
|
10997
|
+
topPinCount: z.ZodOptional<z.ZodNumber>;
|
|
10998
|
+
bottomPinCount: z.ZodOptional<z.ZodNumber>;
|
|
10999
|
+
leftSide: z.ZodOptional<z.ZodObject<{
|
|
11000
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
11001
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
11002
|
+
}, "strip", z.ZodTypeAny, {
|
|
11003
|
+
pins: (string | number)[];
|
|
11004
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
11005
|
+
}, {
|
|
11006
|
+
pins: (string | number)[];
|
|
11007
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
11008
|
+
}>>;
|
|
11009
|
+
rightSide: z.ZodOptional<z.ZodObject<{
|
|
11010
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
11011
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
11012
|
+
}, "strip", z.ZodTypeAny, {
|
|
11013
|
+
pins: (string | number)[];
|
|
11014
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
11015
|
+
}, {
|
|
11016
|
+
pins: (string | number)[];
|
|
11017
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
11018
|
+
}>>;
|
|
11019
|
+
topSide: z.ZodOptional<z.ZodObject<{
|
|
11020
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
11021
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
11022
|
+
}, "strip", z.ZodTypeAny, {
|
|
11023
|
+
pins: (string | number)[];
|
|
11024
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
11025
|
+
}, {
|
|
11026
|
+
pins: (string | number)[];
|
|
11027
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
11028
|
+
}>>;
|
|
11029
|
+
bottomSide: z.ZodOptional<z.ZodObject<{
|
|
11030
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
11031
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
11032
|
+
}, "strip", z.ZodTypeAny, {
|
|
11033
|
+
pins: (string | number)[];
|
|
11034
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
11035
|
+
}, {
|
|
11036
|
+
pins: (string | number)[];
|
|
11037
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
11038
|
+
}>>;
|
|
11039
|
+
}, "strip", z.ZodTypeAny, {
|
|
11040
|
+
leftSize?: number | undefined;
|
|
11041
|
+
topSize?: number | undefined;
|
|
11042
|
+
rightSize?: number | undefined;
|
|
11043
|
+
bottomSize?: number | undefined;
|
|
11044
|
+
leftSide?: {
|
|
11045
|
+
pins: (string | number)[];
|
|
11046
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
11047
|
+
} | undefined;
|
|
11048
|
+
topSide?: {
|
|
11049
|
+
pins: (string | number)[];
|
|
11050
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
11051
|
+
} | undefined;
|
|
11052
|
+
rightSide?: {
|
|
11053
|
+
pins: (string | number)[];
|
|
11054
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
11055
|
+
} | undefined;
|
|
11056
|
+
bottomSide?: {
|
|
11057
|
+
pins: (string | number)[];
|
|
11058
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
11059
|
+
} | undefined;
|
|
11060
|
+
leftPinCount?: number | undefined;
|
|
11061
|
+
rightPinCount?: number | undefined;
|
|
11062
|
+
topPinCount?: number | undefined;
|
|
11063
|
+
bottomPinCount?: number | undefined;
|
|
11064
|
+
}, {
|
|
11065
|
+
leftSize?: number | undefined;
|
|
11066
|
+
topSize?: number | undefined;
|
|
11067
|
+
rightSize?: number | undefined;
|
|
11068
|
+
bottomSize?: number | undefined;
|
|
11069
|
+
leftSide?: {
|
|
11070
|
+
pins: (string | number)[];
|
|
11071
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
11072
|
+
} | undefined;
|
|
11073
|
+
topSide?: {
|
|
11074
|
+
pins: (string | number)[];
|
|
11075
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
11076
|
+
} | undefined;
|
|
11077
|
+
rightSide?: {
|
|
11078
|
+
pins: (string | number)[];
|
|
11079
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
11080
|
+
} | undefined;
|
|
11081
|
+
bottomSide?: {
|
|
11082
|
+
pins: (string | number)[];
|
|
11083
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
11084
|
+
} | undefined;
|
|
11085
|
+
leftPinCount?: number | undefined;
|
|
11086
|
+
rightPinCount?: number | undefined;
|
|
11087
|
+
topPinCount?: number | undefined;
|
|
11088
|
+
bottomPinCount?: number | undefined;
|
|
11089
|
+
}>>;
|
|
10114
11090
|
} & {
|
|
10115
11091
|
manualEdits: z.ZodOptional<z.ZodObject<{
|
|
10116
11092
|
pcb_placements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -10405,6 +11381,34 @@ declare const boardProps: z.ZodObject<{
|
|
|
10405
11381
|
matchAdapt?: boolean | undefined;
|
|
10406
11382
|
matchAdaptTemplate?: any;
|
|
10407
11383
|
schTitle?: string | undefined;
|
|
11384
|
+
showAsSchematicBox?: boolean | undefined;
|
|
11385
|
+
connections?: Record<string, string | readonly string[] | string[] | undefined> | undefined;
|
|
11386
|
+
schPinArrangement?: {
|
|
11387
|
+
leftSize?: number | undefined;
|
|
11388
|
+
topSize?: number | undefined;
|
|
11389
|
+
rightSize?: number | undefined;
|
|
11390
|
+
bottomSize?: number | undefined;
|
|
11391
|
+
leftSide?: {
|
|
11392
|
+
pins: (string | number)[];
|
|
11393
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
11394
|
+
} | undefined;
|
|
11395
|
+
topSide?: {
|
|
11396
|
+
pins: (string | number)[];
|
|
11397
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
11398
|
+
} | undefined;
|
|
11399
|
+
rightSide?: {
|
|
11400
|
+
pins: (string | number)[];
|
|
11401
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
11402
|
+
} | undefined;
|
|
11403
|
+
bottomSide?: {
|
|
11404
|
+
pins: (string | number)[];
|
|
11405
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
11406
|
+
} | undefined;
|
|
11407
|
+
leftPinCount?: number | undefined;
|
|
11408
|
+
rightPinCount?: number | undefined;
|
|
11409
|
+
topPinCount?: number | undefined;
|
|
11410
|
+
bottomPinCount?: number | undefined;
|
|
11411
|
+
} | undefined;
|
|
10408
11412
|
pcbWidth?: number | undefined;
|
|
10409
11413
|
pcbHeight?: number | undefined;
|
|
10410
11414
|
schWidth?: number | undefined;
|
|
@@ -10657,6 +11661,34 @@ declare const boardProps: z.ZodObject<{
|
|
|
10657
11661
|
matchAdapt?: boolean | undefined;
|
|
10658
11662
|
matchAdaptTemplate?: any;
|
|
10659
11663
|
schTitle?: string | undefined;
|
|
11664
|
+
showAsSchematicBox?: boolean | undefined;
|
|
11665
|
+
connections?: Record<string, string | readonly string[] | string[] | undefined> | undefined;
|
|
11666
|
+
schPinArrangement?: {
|
|
11667
|
+
leftSize?: number | undefined;
|
|
11668
|
+
topSize?: number | undefined;
|
|
11669
|
+
rightSize?: number | undefined;
|
|
11670
|
+
bottomSize?: number | undefined;
|
|
11671
|
+
leftSide?: {
|
|
11672
|
+
pins: (string | number)[];
|
|
11673
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
11674
|
+
} | undefined;
|
|
11675
|
+
topSide?: {
|
|
11676
|
+
pins: (string | number)[];
|
|
11677
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
11678
|
+
} | undefined;
|
|
11679
|
+
rightSide?: {
|
|
11680
|
+
pins: (string | number)[];
|
|
11681
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
11682
|
+
} | undefined;
|
|
11683
|
+
bottomSide?: {
|
|
11684
|
+
pins: (string | number)[];
|
|
11685
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
11686
|
+
} | undefined;
|
|
11687
|
+
leftPinCount?: number | undefined;
|
|
11688
|
+
rightPinCount?: number | undefined;
|
|
11689
|
+
topPinCount?: number | undefined;
|
|
11690
|
+
bottomPinCount?: number | undefined;
|
|
11691
|
+
} | undefined;
|
|
10660
11692
|
pcbWidth?: string | number | undefined;
|
|
10661
11693
|
pcbHeight?: string | number | undefined;
|
|
10662
11694
|
schWidth?: string | number | undefined;
|
|
@@ -11199,6 +12231,108 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
11199
12231
|
children: z.ZodOptional<z.ZodAny>;
|
|
11200
12232
|
schTitle: z.ZodOptional<z.ZodString>;
|
|
11201
12233
|
key: z.ZodOptional<z.ZodAny>;
|
|
12234
|
+
showAsSchematicBox: z.ZodOptional<z.ZodBoolean>;
|
|
12235
|
+
connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>>;
|
|
12236
|
+
schPinArrangement: z.ZodOptional<z.ZodObject<{
|
|
12237
|
+
leftSize: z.ZodOptional<z.ZodNumber>;
|
|
12238
|
+
topSize: z.ZodOptional<z.ZodNumber>;
|
|
12239
|
+
rightSize: z.ZodOptional<z.ZodNumber>;
|
|
12240
|
+
bottomSize: z.ZodOptional<z.ZodNumber>;
|
|
12241
|
+
leftPinCount: z.ZodOptional<z.ZodNumber>;
|
|
12242
|
+
rightPinCount: z.ZodOptional<z.ZodNumber>;
|
|
12243
|
+
topPinCount: z.ZodOptional<z.ZodNumber>;
|
|
12244
|
+
bottomPinCount: z.ZodOptional<z.ZodNumber>;
|
|
12245
|
+
leftSide: z.ZodOptional<z.ZodObject<{
|
|
12246
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
12247
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
12248
|
+
}, "strip", z.ZodTypeAny, {
|
|
12249
|
+
pins: (string | number)[];
|
|
12250
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
12251
|
+
}, {
|
|
12252
|
+
pins: (string | number)[];
|
|
12253
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
12254
|
+
}>>;
|
|
12255
|
+
rightSide: z.ZodOptional<z.ZodObject<{
|
|
12256
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
12257
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
12258
|
+
}, "strip", z.ZodTypeAny, {
|
|
12259
|
+
pins: (string | number)[];
|
|
12260
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
12261
|
+
}, {
|
|
12262
|
+
pins: (string | number)[];
|
|
12263
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
12264
|
+
}>>;
|
|
12265
|
+
topSide: z.ZodOptional<z.ZodObject<{
|
|
12266
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
12267
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
12268
|
+
}, "strip", z.ZodTypeAny, {
|
|
12269
|
+
pins: (string | number)[];
|
|
12270
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
12271
|
+
}, {
|
|
12272
|
+
pins: (string | number)[];
|
|
12273
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
12274
|
+
}>>;
|
|
12275
|
+
bottomSide: z.ZodOptional<z.ZodObject<{
|
|
12276
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
12277
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
12278
|
+
}, "strip", z.ZodTypeAny, {
|
|
12279
|
+
pins: (string | number)[];
|
|
12280
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
12281
|
+
}, {
|
|
12282
|
+
pins: (string | number)[];
|
|
12283
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
12284
|
+
}>>;
|
|
12285
|
+
}, "strip", z.ZodTypeAny, {
|
|
12286
|
+
leftSize?: number | undefined;
|
|
12287
|
+
topSize?: number | undefined;
|
|
12288
|
+
rightSize?: number | undefined;
|
|
12289
|
+
bottomSize?: number | undefined;
|
|
12290
|
+
leftSide?: {
|
|
12291
|
+
pins: (string | number)[];
|
|
12292
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
12293
|
+
} | undefined;
|
|
12294
|
+
topSide?: {
|
|
12295
|
+
pins: (string | number)[];
|
|
12296
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
12297
|
+
} | undefined;
|
|
12298
|
+
rightSide?: {
|
|
12299
|
+
pins: (string | number)[];
|
|
12300
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
12301
|
+
} | undefined;
|
|
12302
|
+
bottomSide?: {
|
|
12303
|
+
pins: (string | number)[];
|
|
12304
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
12305
|
+
} | undefined;
|
|
12306
|
+
leftPinCount?: number | undefined;
|
|
12307
|
+
rightPinCount?: number | undefined;
|
|
12308
|
+
topPinCount?: number | undefined;
|
|
12309
|
+
bottomPinCount?: number | undefined;
|
|
12310
|
+
}, {
|
|
12311
|
+
leftSize?: number | undefined;
|
|
12312
|
+
topSize?: number | undefined;
|
|
12313
|
+
rightSize?: number | undefined;
|
|
12314
|
+
bottomSize?: number | undefined;
|
|
12315
|
+
leftSide?: {
|
|
12316
|
+
pins: (string | number)[];
|
|
12317
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
12318
|
+
} | undefined;
|
|
12319
|
+
topSide?: {
|
|
12320
|
+
pins: (string | number)[];
|
|
12321
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
12322
|
+
} | undefined;
|
|
12323
|
+
rightSide?: {
|
|
12324
|
+
pins: (string | number)[];
|
|
12325
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
12326
|
+
} | undefined;
|
|
12327
|
+
bottomSide?: {
|
|
12328
|
+
pins: (string | number)[];
|
|
12329
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
12330
|
+
} | undefined;
|
|
12331
|
+
leftPinCount?: number | undefined;
|
|
12332
|
+
rightPinCount?: number | undefined;
|
|
12333
|
+
topPinCount?: number | undefined;
|
|
12334
|
+
bottomPinCount?: number | undefined;
|
|
12335
|
+
}>>;
|
|
11202
12336
|
manualEdits: z.ZodOptional<z.ZodObject<{
|
|
11203
12337
|
pcb_placements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11204
12338
|
selector: z.ZodString;
|
|
@@ -11492,6 +12626,34 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
11492
12626
|
matchAdapt?: boolean | undefined;
|
|
11493
12627
|
matchAdaptTemplate?: any;
|
|
11494
12628
|
schTitle?: string | undefined;
|
|
12629
|
+
showAsSchematicBox?: boolean | undefined;
|
|
12630
|
+
connections?: Record<string, string | readonly string[] | string[] | undefined> | undefined;
|
|
12631
|
+
schPinArrangement?: {
|
|
12632
|
+
leftSize?: number | undefined;
|
|
12633
|
+
topSize?: number | undefined;
|
|
12634
|
+
rightSize?: number | undefined;
|
|
12635
|
+
bottomSize?: number | undefined;
|
|
12636
|
+
leftSide?: {
|
|
12637
|
+
pins: (string | number)[];
|
|
12638
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
12639
|
+
} | undefined;
|
|
12640
|
+
topSide?: {
|
|
12641
|
+
pins: (string | number)[];
|
|
12642
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
12643
|
+
} | undefined;
|
|
12644
|
+
rightSide?: {
|
|
12645
|
+
pins: (string | number)[];
|
|
12646
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
12647
|
+
} | undefined;
|
|
12648
|
+
bottomSide?: {
|
|
12649
|
+
pins: (string | number)[];
|
|
12650
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
12651
|
+
} | undefined;
|
|
12652
|
+
leftPinCount?: number | undefined;
|
|
12653
|
+
rightPinCount?: number | undefined;
|
|
12654
|
+
topPinCount?: number | undefined;
|
|
12655
|
+
bottomPinCount?: number | undefined;
|
|
12656
|
+
} | undefined;
|
|
11495
12657
|
pcbWidth?: number | undefined;
|
|
11496
12658
|
pcbHeight?: number | undefined;
|
|
11497
12659
|
schWidth?: number | undefined;
|
|
@@ -11743,6 +12905,34 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
11743
12905
|
matchAdapt?: boolean | undefined;
|
|
11744
12906
|
matchAdaptTemplate?: any;
|
|
11745
12907
|
schTitle?: string | undefined;
|
|
12908
|
+
showAsSchematicBox?: boolean | undefined;
|
|
12909
|
+
connections?: Record<string, string | readonly string[] | string[] | undefined> | undefined;
|
|
12910
|
+
schPinArrangement?: {
|
|
12911
|
+
leftSize?: number | undefined;
|
|
12912
|
+
topSize?: number | undefined;
|
|
12913
|
+
rightSize?: number | undefined;
|
|
12914
|
+
bottomSize?: number | undefined;
|
|
12915
|
+
leftSide?: {
|
|
12916
|
+
pins: (string | number)[];
|
|
12917
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
12918
|
+
} | undefined;
|
|
12919
|
+
topSide?: {
|
|
12920
|
+
pins: (string | number)[];
|
|
12921
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
12922
|
+
} | undefined;
|
|
12923
|
+
rightSide?: {
|
|
12924
|
+
pins: (string | number)[];
|
|
12925
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
12926
|
+
} | undefined;
|
|
12927
|
+
bottomSide?: {
|
|
12928
|
+
pins: (string | number)[];
|
|
12929
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
12930
|
+
} | undefined;
|
|
12931
|
+
leftPinCount?: number | undefined;
|
|
12932
|
+
rightPinCount?: number | undefined;
|
|
12933
|
+
topPinCount?: number | undefined;
|
|
12934
|
+
bottomPinCount?: number | undefined;
|
|
12935
|
+
} | undefined;
|
|
11746
12936
|
pcbWidth?: string | number | undefined;
|
|
11747
12937
|
pcbHeight?: string | number | undefined;
|
|
11748
12938
|
schWidth?: string | number | undefined;
|
|
@@ -11934,78 +13124,6 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
11934
13124
|
outlineOffsetY?: string | number | undefined;
|
|
11935
13125
|
}>;
|
|
11936
13126
|
|
|
11937
|
-
type ConnectionTarget = string;
|
|
11938
|
-
/**
|
|
11939
|
-
* Defines a mapping of strings to connection paths e.g.
|
|
11940
|
-
*
|
|
11941
|
-
* const connections: Connections = {
|
|
11942
|
-
* GND: ".U1 > .GND",
|
|
11943
|
-
* VCC: ".U1 > .VCC",
|
|
11944
|
-
* }
|
|
11945
|
-
*
|
|
11946
|
-
* Connections are used as both inputs and outputs. For example, you might
|
|
11947
|
-
* receive connections when using `sel` to select a chip.
|
|
11948
|
-
*
|
|
11949
|
-
* const u1Connections = sel.U1(MyChip)
|
|
11950
|
-
*
|
|
11951
|
-
* You can also define a module with connections like this:
|
|
11952
|
-
*
|
|
11953
|
-
* export const MyModule = (props: { connections: { GND: string, VCC: string } }) => {
|
|
11954
|
-
* return (
|
|
11955
|
-
* <group>
|
|
11956
|
-
* <capacitor name="C1" connections={{
|
|
11957
|
-
* anode: props.connections.GND,
|
|
11958
|
-
* cathode: props.connections.VCC,
|
|
11959
|
-
* }} />
|
|
11960
|
-
* </group>
|
|
11961
|
-
* )
|
|
11962
|
-
* }
|
|
11963
|
-
*/
|
|
11964
|
-
type Connections<PinLabel extends string = string> = Partial<Record<PinLabel, ConnectionTarget | ConnectionTarget[] | readonly ConnectionTarget[]>>;
|
|
11965
|
-
/**
|
|
11966
|
-
* Defines a mapping of strings (usually chip names) to connections e.g.
|
|
11967
|
-
*
|
|
11968
|
-
* const selectors: Selectors = {
|
|
11969
|
-
* U1: { GND: ".U1 > .GND", VCC: ".U1 > .VCC" },
|
|
11970
|
-
* U2: {
|
|
11971
|
-
* GND: ".U2 > .pin1",
|
|
11972
|
-
* VCC: ".U2 > .pin2",
|
|
11973
|
-
* CUSTOM_DATA_1: ".U2 > .pin3",
|
|
11974
|
-
* CUSTOM_DATA_2: ".U2 > .pin4",
|
|
11975
|
-
* },
|
|
11976
|
-
* }
|
|
11977
|
-
*
|
|
11978
|
-
* A user can also use selectors to define the connections, this is helpful when
|
|
11979
|
-
* there's multiple chips in the group.
|
|
11980
|
-
*
|
|
11981
|
-
* ```tsx
|
|
11982
|
-
* const MyModule = (props: {
|
|
11983
|
-
* selectors: {
|
|
11984
|
-
* U1: { GND: string, VCC: string },
|
|
11985
|
-
* R1: { GND: string, VCC: string }
|
|
11986
|
-
* }
|
|
11987
|
-
* }) => {
|
|
11988
|
-
* return (
|
|
11989
|
-
* <group>
|
|
11990
|
-
* <resistor name="R1" connections={{
|
|
11991
|
-
* pin1: props.selectors.R1.GND,
|
|
11992
|
-
* pin2: props.selectors.R1.VCC,
|
|
11993
|
-
* }} />
|
|
11994
|
-
* <capacitor name="C1" connections={{
|
|
11995
|
-
* anode: props.selectors.U1.GND,
|
|
11996
|
-
* cathode: props.selectors.U1.VCC,
|
|
11997
|
-
* }} />
|
|
11998
|
-
* </group>
|
|
11999
|
-
* )
|
|
12000
|
-
* }
|
|
12001
|
-
* ```
|
|
12002
|
-
*
|
|
12003
|
-
* These selectors can also be used with "sel":
|
|
12004
|
-
*
|
|
12005
|
-
* sel.M1(MyModule).U1.GND // ".M1 > .C1 > .anode"
|
|
12006
|
-
*/
|
|
12007
|
-
type Selectors = Record<string, Connections>;
|
|
12008
|
-
|
|
12009
13127
|
type PinLabelsProp<PinNumber extends string = string, PinLabel extends string = string> = Record<PinNumber, PinLabel | readonly PinLabel[] | PinLabel[]>;
|
|
12010
13128
|
type PinLabelFromPinLabelMap<PinLabelMap extends PinLabelsProp> = PinLabelMap extends PinLabelsProp<infer PinNumber, infer PinLabel> ? PinLabel : never;
|
|
12011
13129
|
interface PinCompatibleVariant {
|
|
@@ -13120,14 +14238,7 @@ declare const chipProps: z.ZodObject<{
|
|
|
13120
14238
|
children?: any;
|
|
13121
14239
|
symbolName?: string | undefined;
|
|
13122
14240
|
doNotPlace?: boolean | undefined;
|
|
13123
|
-
|
|
13124
|
-
schHeight?: number | undefined;
|
|
13125
|
-
manufacturerPartNumber?: string | undefined;
|
|
13126
|
-
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
13127
|
-
showPinAliases?: boolean | undefined;
|
|
13128
|
-
pcbPinLabels?: Record<string, string> | undefined;
|
|
13129
|
-
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
13130
|
-
externallyConnectedPins?: string[][] | undefined;
|
|
14241
|
+
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
13131
14242
|
schPinArrangement?: {
|
|
13132
14243
|
leftSize?: number | undefined;
|
|
13133
14244
|
topSize?: number | undefined;
|
|
@@ -13154,6 +14265,14 @@ declare const chipProps: z.ZodObject<{
|
|
|
13154
14265
|
topPinCount?: number | undefined;
|
|
13155
14266
|
bottomPinCount?: number | undefined;
|
|
13156
14267
|
} | undefined;
|
|
14268
|
+
schWidth?: number | undefined;
|
|
14269
|
+
schHeight?: number | undefined;
|
|
14270
|
+
manufacturerPartNumber?: string | undefined;
|
|
14271
|
+
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
14272
|
+
showPinAliases?: boolean | undefined;
|
|
14273
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
14274
|
+
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
14275
|
+
externallyConnectedPins?: string[][] | undefined;
|
|
13157
14276
|
schPortArrangement?: {
|
|
13158
14277
|
leftSize?: number | undefined;
|
|
13159
14278
|
topSize?: number | undefined;
|
|
@@ -13196,7 +14315,6 @@ declare const chipProps: z.ZodObject<{
|
|
|
13196
14315
|
}> | undefined;
|
|
13197
14316
|
schPinSpacing?: number | undefined;
|
|
13198
14317
|
noSchematicRepresentation?: boolean | undefined;
|
|
13199
|
-
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
13200
14318
|
}, {
|
|
13201
14319
|
name: string;
|
|
13202
14320
|
symbol?: SymbolProp | undefined;
|
|
@@ -13368,14 +14486,7 @@ declare const chipProps: z.ZodObject<{
|
|
|
13368
14486
|
children?: any;
|
|
13369
14487
|
symbolName?: string | undefined;
|
|
13370
14488
|
doNotPlace?: boolean | undefined;
|
|
13371
|
-
|
|
13372
|
-
schHeight?: string | number | undefined;
|
|
13373
|
-
manufacturerPartNumber?: string | undefined;
|
|
13374
|
-
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
13375
|
-
showPinAliases?: boolean | undefined;
|
|
13376
|
-
pcbPinLabels?: Record<string, string> | undefined;
|
|
13377
|
-
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
13378
|
-
externallyConnectedPins?: string[][] | undefined;
|
|
14489
|
+
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
13379
14490
|
schPinArrangement?: {
|
|
13380
14491
|
leftSize?: number | undefined;
|
|
13381
14492
|
topSize?: number | undefined;
|
|
@@ -13402,6 +14513,14 @@ declare const chipProps: z.ZodObject<{
|
|
|
13402
14513
|
topPinCount?: number | undefined;
|
|
13403
14514
|
bottomPinCount?: number | undefined;
|
|
13404
14515
|
} | undefined;
|
|
14516
|
+
schWidth?: string | number | undefined;
|
|
14517
|
+
schHeight?: string | number | undefined;
|
|
14518
|
+
manufacturerPartNumber?: string | undefined;
|
|
14519
|
+
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
14520
|
+
showPinAliases?: boolean | undefined;
|
|
14521
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
14522
|
+
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
14523
|
+
externallyConnectedPins?: string[][] | undefined;
|
|
13405
14524
|
schPortArrangement?: {
|
|
13406
14525
|
leftSize?: number | undefined;
|
|
13407
14526
|
topSize?: number | undefined;
|
|
@@ -13444,7 +14563,6 @@ declare const chipProps: z.ZodObject<{
|
|
|
13444
14563
|
}> | undefined;
|
|
13445
14564
|
schPinSpacing?: string | number | undefined;
|
|
13446
14565
|
noSchematicRepresentation?: boolean | undefined;
|
|
13447
|
-
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
13448
14566
|
}>;
|
|
13449
14567
|
/**
|
|
13450
14568
|
* @deprecated Use ChipProps instead.
|
|
@@ -14492,14 +15610,7 @@ declare const bugProps: z.ZodObject<{
|
|
|
14492
15610
|
children?: any;
|
|
14493
15611
|
symbolName?: string | undefined;
|
|
14494
15612
|
doNotPlace?: boolean | undefined;
|
|
14495
|
-
|
|
14496
|
-
schHeight?: number | undefined;
|
|
14497
|
-
manufacturerPartNumber?: string | undefined;
|
|
14498
|
-
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
14499
|
-
showPinAliases?: boolean | undefined;
|
|
14500
|
-
pcbPinLabels?: Record<string, string> | undefined;
|
|
14501
|
-
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
14502
|
-
externallyConnectedPins?: string[][] | undefined;
|
|
15613
|
+
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
14503
15614
|
schPinArrangement?: {
|
|
14504
15615
|
leftSize?: number | undefined;
|
|
14505
15616
|
topSize?: number | undefined;
|
|
@@ -14526,6 +15637,14 @@ declare const bugProps: z.ZodObject<{
|
|
|
14526
15637
|
topPinCount?: number | undefined;
|
|
14527
15638
|
bottomPinCount?: number | undefined;
|
|
14528
15639
|
} | undefined;
|
|
15640
|
+
schWidth?: number | undefined;
|
|
15641
|
+
schHeight?: number | undefined;
|
|
15642
|
+
manufacturerPartNumber?: string | undefined;
|
|
15643
|
+
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
15644
|
+
showPinAliases?: boolean | undefined;
|
|
15645
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
15646
|
+
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
15647
|
+
externallyConnectedPins?: string[][] | undefined;
|
|
14529
15648
|
schPortArrangement?: {
|
|
14530
15649
|
leftSize?: number | undefined;
|
|
14531
15650
|
topSize?: number | undefined;
|
|
@@ -14568,7 +15687,6 @@ declare const bugProps: z.ZodObject<{
|
|
|
14568
15687
|
}> | undefined;
|
|
14569
15688
|
schPinSpacing?: number | undefined;
|
|
14570
15689
|
noSchematicRepresentation?: boolean | undefined;
|
|
14571
|
-
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
14572
15690
|
}, {
|
|
14573
15691
|
name: string;
|
|
14574
15692
|
symbol?: SymbolProp | undefined;
|
|
@@ -14740,14 +15858,7 @@ declare const bugProps: z.ZodObject<{
|
|
|
14740
15858
|
children?: any;
|
|
14741
15859
|
symbolName?: string | undefined;
|
|
14742
15860
|
doNotPlace?: boolean | undefined;
|
|
14743
|
-
|
|
14744
|
-
schHeight?: string | number | undefined;
|
|
14745
|
-
manufacturerPartNumber?: string | undefined;
|
|
14746
|
-
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
14747
|
-
showPinAliases?: boolean | undefined;
|
|
14748
|
-
pcbPinLabels?: Record<string, string> | undefined;
|
|
14749
|
-
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
14750
|
-
externallyConnectedPins?: string[][] | undefined;
|
|
15861
|
+
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
14751
15862
|
schPinArrangement?: {
|
|
14752
15863
|
leftSize?: number | undefined;
|
|
14753
15864
|
topSize?: number | undefined;
|
|
@@ -14774,6 +15885,14 @@ declare const bugProps: z.ZodObject<{
|
|
|
14774
15885
|
topPinCount?: number | undefined;
|
|
14775
15886
|
bottomPinCount?: number | undefined;
|
|
14776
15887
|
} | undefined;
|
|
15888
|
+
schWidth?: string | number | undefined;
|
|
15889
|
+
schHeight?: string | number | undefined;
|
|
15890
|
+
manufacturerPartNumber?: string | undefined;
|
|
15891
|
+
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
15892
|
+
showPinAliases?: boolean | undefined;
|
|
15893
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
15894
|
+
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
15895
|
+
externallyConnectedPins?: string[][] | undefined;
|
|
14777
15896
|
schPortArrangement?: {
|
|
14778
15897
|
leftSize?: number | undefined;
|
|
14779
15898
|
topSize?: number | undefined;
|
|
@@ -14816,7 +15935,6 @@ declare const bugProps: z.ZodObject<{
|
|
|
14816
15935
|
}> | undefined;
|
|
14817
15936
|
schPinSpacing?: string | number | undefined;
|
|
14818
15937
|
noSchematicRepresentation?: boolean | undefined;
|
|
14819
|
-
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
14820
15938
|
}>;
|
|
14821
15939
|
type InferredChipProps = z.input<typeof chipProps>;
|
|
14822
15940
|
|
|
@@ -15863,14 +16981,7 @@ declare const pinoutProps: z.ZodObject<{
|
|
|
15863
16981
|
children?: any;
|
|
15864
16982
|
symbolName?: string | undefined;
|
|
15865
16983
|
doNotPlace?: boolean | undefined;
|
|
15866
|
-
|
|
15867
|
-
schHeight?: number | undefined;
|
|
15868
|
-
manufacturerPartNumber?: string | undefined;
|
|
15869
|
-
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
15870
|
-
showPinAliases?: boolean | undefined;
|
|
15871
|
-
pcbPinLabels?: Record<string, string> | undefined;
|
|
15872
|
-
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
15873
|
-
externallyConnectedPins?: string[][] | undefined;
|
|
16984
|
+
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
15874
16985
|
schPinArrangement?: {
|
|
15875
16986
|
leftSize?: number | undefined;
|
|
15876
16987
|
topSize?: number | undefined;
|
|
@@ -15897,6 +17008,14 @@ declare const pinoutProps: z.ZodObject<{
|
|
|
15897
17008
|
topPinCount?: number | undefined;
|
|
15898
17009
|
bottomPinCount?: number | undefined;
|
|
15899
17010
|
} | undefined;
|
|
17011
|
+
schWidth?: number | undefined;
|
|
17012
|
+
schHeight?: number | undefined;
|
|
17013
|
+
manufacturerPartNumber?: string | undefined;
|
|
17014
|
+
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
17015
|
+
showPinAliases?: boolean | undefined;
|
|
17016
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
17017
|
+
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
17018
|
+
externallyConnectedPins?: string[][] | undefined;
|
|
15900
17019
|
schPortArrangement?: {
|
|
15901
17020
|
leftSize?: number | undefined;
|
|
15902
17021
|
topSize?: number | undefined;
|
|
@@ -15939,7 +17058,6 @@ declare const pinoutProps: z.ZodObject<{
|
|
|
15939
17058
|
}> | undefined;
|
|
15940
17059
|
schPinSpacing?: number | undefined;
|
|
15941
17060
|
noSchematicRepresentation?: boolean | undefined;
|
|
15942
|
-
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
15943
17061
|
}, {
|
|
15944
17062
|
name: string;
|
|
15945
17063
|
symbol?: SymbolProp | undefined;
|
|
@@ -16111,14 +17229,7 @@ declare const pinoutProps: z.ZodObject<{
|
|
|
16111
17229
|
children?: any;
|
|
16112
17230
|
symbolName?: string | undefined;
|
|
16113
17231
|
doNotPlace?: boolean | undefined;
|
|
16114
|
-
|
|
16115
|
-
schHeight?: string | number | undefined;
|
|
16116
|
-
manufacturerPartNumber?: string | undefined;
|
|
16117
|
-
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
16118
|
-
showPinAliases?: boolean | undefined;
|
|
16119
|
-
pcbPinLabels?: Record<string, string> | undefined;
|
|
16120
|
-
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
16121
|
-
externallyConnectedPins?: string[][] | undefined;
|
|
17232
|
+
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
16122
17233
|
schPinArrangement?: {
|
|
16123
17234
|
leftSize?: number | undefined;
|
|
16124
17235
|
topSize?: number | undefined;
|
|
@@ -16145,6 +17256,14 @@ declare const pinoutProps: z.ZodObject<{
|
|
|
16145
17256
|
topPinCount?: number | undefined;
|
|
16146
17257
|
bottomPinCount?: number | undefined;
|
|
16147
17258
|
} | undefined;
|
|
17259
|
+
schWidth?: string | number | undefined;
|
|
17260
|
+
schHeight?: string | number | undefined;
|
|
17261
|
+
manufacturerPartNumber?: string | undefined;
|
|
17262
|
+
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
17263
|
+
showPinAliases?: boolean | undefined;
|
|
17264
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
17265
|
+
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
17266
|
+
externallyConnectedPins?: string[][] | undefined;
|
|
16148
17267
|
schPortArrangement?: {
|
|
16149
17268
|
leftSize?: number | undefined;
|
|
16150
17269
|
topSize?: number | undefined;
|
|
@@ -16187,7 +17306,6 @@ declare const pinoutProps: z.ZodObject<{
|
|
|
16187
17306
|
}> | undefined;
|
|
16188
17307
|
schPinSpacing?: string | number | undefined;
|
|
16189
17308
|
noSchematicRepresentation?: boolean | undefined;
|
|
16190
|
-
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
16191
17309
|
}>;
|
|
16192
17310
|
interface PinoutProps<PinLabelMap extends PinLabelsProp | string = string> extends ChipProps<PinLabelMap> {
|
|
16193
17311
|
}
|
|
@@ -17255,12 +18373,7 @@ declare const jumperProps: z.ZodObject<{
|
|
|
17255
18373
|
children?: any;
|
|
17256
18374
|
symbolName?: string | undefined;
|
|
17257
18375
|
doNotPlace?: boolean | undefined;
|
|
17258
|
-
|
|
17259
|
-
schHeight?: number | undefined;
|
|
17260
|
-
manufacturerPartNumber?: string | undefined;
|
|
17261
|
-
pinLabels?: Record<string | number, string | string[]> | undefined;
|
|
17262
|
-
pcbPinLabels?: Record<string, string> | undefined;
|
|
17263
|
-
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
18376
|
+
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
17264
18377
|
schPinArrangement?: {
|
|
17265
18378
|
leftSize?: number | undefined;
|
|
17266
18379
|
topSize?: number | undefined;
|
|
@@ -17287,6 +18400,12 @@ declare const jumperProps: z.ZodObject<{
|
|
|
17287
18400
|
topPinCount?: number | undefined;
|
|
17288
18401
|
bottomPinCount?: number | undefined;
|
|
17289
18402
|
} | undefined;
|
|
18403
|
+
schWidth?: number | undefined;
|
|
18404
|
+
schHeight?: number | undefined;
|
|
18405
|
+
manufacturerPartNumber?: string | undefined;
|
|
18406
|
+
pinLabels?: Record<string | number, string | string[]> | undefined;
|
|
18407
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
18408
|
+
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
17290
18409
|
schPortArrangement?: {
|
|
17291
18410
|
leftSize?: number | undefined;
|
|
17292
18411
|
topSize?: number | undefined;
|
|
@@ -17324,7 +18443,6 @@ declare const jumperProps: z.ZodObject<{
|
|
|
17324
18443
|
bottomMargin?: number | undefined;
|
|
17325
18444
|
}> | undefined;
|
|
17326
18445
|
schPinSpacing?: number | undefined;
|
|
17327
|
-
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
17328
18446
|
schDirection?: "left" | "right" | undefined;
|
|
17329
18447
|
pinCount?: 2 | 3 | undefined;
|
|
17330
18448
|
}, {
|
|
@@ -17498,12 +18616,7 @@ declare const jumperProps: z.ZodObject<{
|
|
|
17498
18616
|
children?: any;
|
|
17499
18617
|
symbolName?: string | undefined;
|
|
17500
18618
|
doNotPlace?: boolean | undefined;
|
|
17501
|
-
|
|
17502
|
-
schHeight?: string | number | undefined;
|
|
17503
|
-
manufacturerPartNumber?: string | undefined;
|
|
17504
|
-
pinLabels?: Record<string | number, string | string[]> | undefined;
|
|
17505
|
-
pcbPinLabels?: Record<string, string> | undefined;
|
|
17506
|
-
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
18619
|
+
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
17507
18620
|
schPinArrangement?: {
|
|
17508
18621
|
leftSize?: number | undefined;
|
|
17509
18622
|
topSize?: number | undefined;
|
|
@@ -17530,6 +18643,12 @@ declare const jumperProps: z.ZodObject<{
|
|
|
17530
18643
|
topPinCount?: number | undefined;
|
|
17531
18644
|
bottomPinCount?: number | undefined;
|
|
17532
18645
|
} | undefined;
|
|
18646
|
+
schWidth?: string | number | undefined;
|
|
18647
|
+
schHeight?: string | number | undefined;
|
|
18648
|
+
manufacturerPartNumber?: string | undefined;
|
|
18649
|
+
pinLabels?: Record<string | number, string | string[]> | undefined;
|
|
18650
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
18651
|
+
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
17533
18652
|
schPortArrangement?: {
|
|
17534
18653
|
leftSize?: number | undefined;
|
|
17535
18654
|
topSize?: number | undefined;
|
|
@@ -17567,7 +18686,6 @@ declare const jumperProps: z.ZodObject<{
|
|
|
17567
18686
|
bottomMargin?: string | number | undefined;
|
|
17568
18687
|
}> | undefined;
|
|
17569
18688
|
schPinSpacing?: string | number | undefined;
|
|
17570
|
-
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
17571
18689
|
schDirection?: "left" | "right" | undefined;
|
|
17572
18690
|
pinCount?: 2 | 3 | undefined;
|
|
17573
18691
|
}>;
|
|
@@ -18617,12 +19735,7 @@ declare const solderjumperProps: z.ZodObject<{
|
|
|
18617
19735
|
children?: any;
|
|
18618
19736
|
symbolName?: string | undefined;
|
|
18619
19737
|
doNotPlace?: boolean | undefined;
|
|
18620
|
-
|
|
18621
|
-
schHeight?: number | undefined;
|
|
18622
|
-
manufacturerPartNumber?: string | undefined;
|
|
18623
|
-
pinLabels?: Record<string | number, string | string[]> | undefined;
|
|
18624
|
-
pcbPinLabels?: Record<string, string> | undefined;
|
|
18625
|
-
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
19738
|
+
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
18626
19739
|
schPinArrangement?: {
|
|
18627
19740
|
leftSize?: number | undefined;
|
|
18628
19741
|
topSize?: number | undefined;
|
|
@@ -18649,6 +19762,12 @@ declare const solderjumperProps: z.ZodObject<{
|
|
|
18649
19762
|
topPinCount?: number | undefined;
|
|
18650
19763
|
bottomPinCount?: number | undefined;
|
|
18651
19764
|
} | undefined;
|
|
19765
|
+
schWidth?: number | undefined;
|
|
19766
|
+
schHeight?: number | undefined;
|
|
19767
|
+
manufacturerPartNumber?: string | undefined;
|
|
19768
|
+
pinLabels?: Record<string | number, string | string[]> | undefined;
|
|
19769
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
19770
|
+
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
18652
19771
|
schPortArrangement?: {
|
|
18653
19772
|
leftSize?: number | undefined;
|
|
18654
19773
|
topSize?: number | undefined;
|
|
@@ -18686,7 +19805,6 @@ declare const solderjumperProps: z.ZodObject<{
|
|
|
18686
19805
|
bottomMargin?: number | undefined;
|
|
18687
19806
|
}> | undefined;
|
|
18688
19807
|
schPinSpacing?: number | undefined;
|
|
18689
|
-
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
18690
19808
|
schDirection?: "left" | "right" | undefined;
|
|
18691
19809
|
pinCount?: 2 | 3 | undefined;
|
|
18692
19810
|
bridgedPins?: string[][] | undefined;
|
|
@@ -18862,12 +19980,7 @@ declare const solderjumperProps: z.ZodObject<{
|
|
|
18862
19980
|
children?: any;
|
|
18863
19981
|
symbolName?: string | undefined;
|
|
18864
19982
|
doNotPlace?: boolean | undefined;
|
|
18865
|
-
|
|
18866
|
-
schHeight?: string | number | undefined;
|
|
18867
|
-
manufacturerPartNumber?: string | undefined;
|
|
18868
|
-
pinLabels?: Record<string | number, string | string[]> | undefined;
|
|
18869
|
-
pcbPinLabels?: Record<string, string> | undefined;
|
|
18870
|
-
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
19983
|
+
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
18871
19984
|
schPinArrangement?: {
|
|
18872
19985
|
leftSize?: number | undefined;
|
|
18873
19986
|
topSize?: number | undefined;
|
|
@@ -18894,6 +20007,12 @@ declare const solderjumperProps: z.ZodObject<{
|
|
|
18894
20007
|
topPinCount?: number | undefined;
|
|
18895
20008
|
bottomPinCount?: number | undefined;
|
|
18896
20009
|
} | undefined;
|
|
20010
|
+
schWidth?: string | number | undefined;
|
|
20011
|
+
schHeight?: string | number | undefined;
|
|
20012
|
+
manufacturerPartNumber?: string | undefined;
|
|
20013
|
+
pinLabels?: Record<string | number, string | string[]> | undefined;
|
|
20014
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
20015
|
+
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
18897
20016
|
schPortArrangement?: {
|
|
18898
20017
|
leftSize?: number | undefined;
|
|
18899
20018
|
topSize?: number | undefined;
|
|
@@ -18931,7 +20050,6 @@ declare const solderjumperProps: z.ZodObject<{
|
|
|
18931
20050
|
bottomMargin?: string | number | undefined;
|
|
18932
20051
|
}> | undefined;
|
|
18933
20052
|
schPinSpacing?: string | number | undefined;
|
|
18934
|
-
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
18935
20053
|
schDirection?: "left" | "right" | undefined;
|
|
18936
20054
|
pinCount?: 2 | 3 | undefined;
|
|
18937
20055
|
bridgedPins?: string[][] | undefined;
|
|
@@ -21202,6 +22320,7 @@ interface CircularHoleWithRectPlatedProps extends Omit<PcbLayoutProps, "pcbRotat
|
|
|
21202
22320
|
holeDiameter: number | string;
|
|
21203
22321
|
rectPadWidth: number | string;
|
|
21204
22322
|
rectPadHeight: number | string;
|
|
22323
|
+
rectBorderRadius?: number | string;
|
|
21205
22324
|
holeShape?: "circle";
|
|
21206
22325
|
padShape?: "rect";
|
|
21207
22326
|
portHints?: PortHints;
|
|
@@ -21474,6 +22593,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
21474
22593
|
holeDiameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
21475
22594
|
rectPadWidth: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
21476
22595
|
rectPadHeight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22596
|
+
rectBorderRadius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
21477
22597
|
holeShape: z.ZodOptional<z.ZodLiteral<"circle">>;
|
|
21478
22598
|
padShape: z.ZodOptional<z.ZodLiteral<"rect">>;
|
|
21479
22599
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
@@ -21498,6 +22618,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
21498
22618
|
name?: string | undefined;
|
|
21499
22619
|
connectsTo?: string | string[] | undefined;
|
|
21500
22620
|
portHints?: (string | number)[] | undefined;
|
|
22621
|
+
rectBorderRadius?: number | undefined;
|
|
21501
22622
|
holeShape?: "circle" | undefined;
|
|
21502
22623
|
padShape?: "rect" | undefined;
|
|
21503
22624
|
pcbHoleOffsetX?: number | undefined;
|
|
@@ -21521,6 +22642,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
21521
22642
|
name?: string | undefined;
|
|
21522
22643
|
connectsTo?: string | string[] | undefined;
|
|
21523
22644
|
portHints?: (string | number)[] | undefined;
|
|
22645
|
+
rectBorderRadius?: string | number | undefined;
|
|
21524
22646
|
holeShape?: "circle" | undefined;
|
|
21525
22647
|
padShape?: "rect" | undefined;
|
|
21526
22648
|
pcbHoleOffsetX?: string | number | undefined;
|
|
@@ -21685,6 +22807,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
21685
22807
|
name?: string | undefined;
|
|
21686
22808
|
connectsTo?: string | string[] | undefined;
|
|
21687
22809
|
portHints?: (string | number)[] | undefined;
|
|
22810
|
+
rectBorderRadius?: number | undefined;
|
|
21688
22811
|
holeShape?: "circle" | undefined;
|
|
21689
22812
|
padShape?: "rect" | undefined;
|
|
21690
22813
|
pcbHoleOffsetX?: number | undefined;
|
|
@@ -21794,6 +22917,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
21794
22917
|
name?: string | undefined;
|
|
21795
22918
|
connectsTo?: string | string[] | undefined;
|
|
21796
22919
|
portHints?: (string | number)[] | undefined;
|
|
22920
|
+
rectBorderRadius?: string | number | undefined;
|
|
21797
22921
|
holeShape?: "circle" | undefined;
|
|
21798
22922
|
padShape?: "rect" | undefined;
|
|
21799
22923
|
pcbHoleOffsetX?: string | number | undefined;
|
|
@@ -24615,8 +25739,8 @@ declare const crystalProps: z.ZodObject<{
|
|
|
24615
25739
|
children?: any;
|
|
24616
25740
|
symbolName?: string | undefined;
|
|
24617
25741
|
doNotPlace?: boolean | undefined;
|
|
24618
|
-
manufacturerPartNumber?: string | undefined;
|
|
24619
25742
|
connections?: Partial<Record<"left" | "right" | "pin1" | "pin2", string | readonly string[] | string[]>> | undefined;
|
|
25743
|
+
manufacturerPartNumber?: string | undefined;
|
|
24620
25744
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
24621
25745
|
pinVariant?: "two_pin" | "four_pin" | undefined;
|
|
24622
25746
|
mpn?: string | undefined;
|
|
@@ -24793,8 +25917,8 @@ declare const crystalProps: z.ZodObject<{
|
|
|
24793
25917
|
children?: any;
|
|
24794
25918
|
symbolName?: string | undefined;
|
|
24795
25919
|
doNotPlace?: boolean | undefined;
|
|
24796
|
-
manufacturerPartNumber?: string | undefined;
|
|
24797
25920
|
connections?: Partial<Record<"left" | "right" | "pin1" | "pin2", string | readonly string[] | string[]>> | undefined;
|
|
25921
|
+
manufacturerPartNumber?: string | undefined;
|
|
24798
25922
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
24799
25923
|
pinVariant?: "two_pin" | "four_pin" | undefined;
|
|
24800
25924
|
mpn?: string | undefined;
|
|
@@ -26140,6 +27264,108 @@ declare const stampboardProps: z.ZodObject<{
|
|
|
26140
27264
|
children: z.ZodOptional<z.ZodAny>;
|
|
26141
27265
|
schTitle: z.ZodOptional<z.ZodString>;
|
|
26142
27266
|
key: z.ZodOptional<z.ZodAny>;
|
|
27267
|
+
showAsSchematicBox: z.ZodOptional<z.ZodBoolean>;
|
|
27268
|
+
connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>>;
|
|
27269
|
+
schPinArrangement: z.ZodOptional<z.ZodObject<{
|
|
27270
|
+
leftSize: z.ZodOptional<z.ZodNumber>;
|
|
27271
|
+
topSize: z.ZodOptional<z.ZodNumber>;
|
|
27272
|
+
rightSize: z.ZodOptional<z.ZodNumber>;
|
|
27273
|
+
bottomSize: z.ZodOptional<z.ZodNumber>;
|
|
27274
|
+
leftPinCount: z.ZodOptional<z.ZodNumber>;
|
|
27275
|
+
rightPinCount: z.ZodOptional<z.ZodNumber>;
|
|
27276
|
+
topPinCount: z.ZodOptional<z.ZodNumber>;
|
|
27277
|
+
bottomPinCount: z.ZodOptional<z.ZodNumber>;
|
|
27278
|
+
leftSide: z.ZodOptional<z.ZodObject<{
|
|
27279
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
27280
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
27281
|
+
}, "strip", z.ZodTypeAny, {
|
|
27282
|
+
pins: (string | number)[];
|
|
27283
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
27284
|
+
}, {
|
|
27285
|
+
pins: (string | number)[];
|
|
27286
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
27287
|
+
}>>;
|
|
27288
|
+
rightSide: z.ZodOptional<z.ZodObject<{
|
|
27289
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
27290
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
27291
|
+
}, "strip", z.ZodTypeAny, {
|
|
27292
|
+
pins: (string | number)[];
|
|
27293
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
27294
|
+
}, {
|
|
27295
|
+
pins: (string | number)[];
|
|
27296
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
27297
|
+
}>>;
|
|
27298
|
+
topSide: z.ZodOptional<z.ZodObject<{
|
|
27299
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
27300
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
27301
|
+
}, "strip", z.ZodTypeAny, {
|
|
27302
|
+
pins: (string | number)[];
|
|
27303
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
27304
|
+
}, {
|
|
27305
|
+
pins: (string | number)[];
|
|
27306
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
27307
|
+
}>>;
|
|
27308
|
+
bottomSide: z.ZodOptional<z.ZodObject<{
|
|
27309
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
27310
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
27311
|
+
}, "strip", z.ZodTypeAny, {
|
|
27312
|
+
pins: (string | number)[];
|
|
27313
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
27314
|
+
}, {
|
|
27315
|
+
pins: (string | number)[];
|
|
27316
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
27317
|
+
}>>;
|
|
27318
|
+
}, "strip", z.ZodTypeAny, {
|
|
27319
|
+
leftSize?: number | undefined;
|
|
27320
|
+
topSize?: number | undefined;
|
|
27321
|
+
rightSize?: number | undefined;
|
|
27322
|
+
bottomSize?: number | undefined;
|
|
27323
|
+
leftSide?: {
|
|
27324
|
+
pins: (string | number)[];
|
|
27325
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
27326
|
+
} | undefined;
|
|
27327
|
+
topSide?: {
|
|
27328
|
+
pins: (string | number)[];
|
|
27329
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
27330
|
+
} | undefined;
|
|
27331
|
+
rightSide?: {
|
|
27332
|
+
pins: (string | number)[];
|
|
27333
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
27334
|
+
} | undefined;
|
|
27335
|
+
bottomSide?: {
|
|
27336
|
+
pins: (string | number)[];
|
|
27337
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
27338
|
+
} | undefined;
|
|
27339
|
+
leftPinCount?: number | undefined;
|
|
27340
|
+
rightPinCount?: number | undefined;
|
|
27341
|
+
topPinCount?: number | undefined;
|
|
27342
|
+
bottomPinCount?: number | undefined;
|
|
27343
|
+
}, {
|
|
27344
|
+
leftSize?: number | undefined;
|
|
27345
|
+
topSize?: number | undefined;
|
|
27346
|
+
rightSize?: number | undefined;
|
|
27347
|
+
bottomSize?: number | undefined;
|
|
27348
|
+
leftSide?: {
|
|
27349
|
+
pins: (string | number)[];
|
|
27350
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
27351
|
+
} | undefined;
|
|
27352
|
+
topSide?: {
|
|
27353
|
+
pins: (string | number)[];
|
|
27354
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
27355
|
+
} | undefined;
|
|
27356
|
+
rightSide?: {
|
|
27357
|
+
pins: (string | number)[];
|
|
27358
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
27359
|
+
} | undefined;
|
|
27360
|
+
bottomSide?: {
|
|
27361
|
+
pins: (string | number)[];
|
|
27362
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
27363
|
+
} | undefined;
|
|
27364
|
+
leftPinCount?: number | undefined;
|
|
27365
|
+
rightPinCount?: number | undefined;
|
|
27366
|
+
topPinCount?: number | undefined;
|
|
27367
|
+
bottomPinCount?: number | undefined;
|
|
27368
|
+
}>>;
|
|
26143
27369
|
} & {
|
|
26144
27370
|
manualEdits: z.ZodOptional<z.ZodObject<{
|
|
26145
27371
|
pcb_placements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -26449,6 +27675,34 @@ declare const stampboardProps: z.ZodObject<{
|
|
|
26449
27675
|
matchAdapt?: boolean | undefined;
|
|
26450
27676
|
matchAdaptTemplate?: any;
|
|
26451
27677
|
schTitle?: string | undefined;
|
|
27678
|
+
showAsSchematicBox?: boolean | undefined;
|
|
27679
|
+
connections?: Record<string, string | readonly string[] | string[] | undefined> | undefined;
|
|
27680
|
+
schPinArrangement?: {
|
|
27681
|
+
leftSize?: number | undefined;
|
|
27682
|
+
topSize?: number | undefined;
|
|
27683
|
+
rightSize?: number | undefined;
|
|
27684
|
+
bottomSize?: number | undefined;
|
|
27685
|
+
leftSide?: {
|
|
27686
|
+
pins: (string | number)[];
|
|
27687
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
27688
|
+
} | undefined;
|
|
27689
|
+
topSide?: {
|
|
27690
|
+
pins: (string | number)[];
|
|
27691
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
27692
|
+
} | undefined;
|
|
27693
|
+
rightSide?: {
|
|
27694
|
+
pins: (string | number)[];
|
|
27695
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
27696
|
+
} | undefined;
|
|
27697
|
+
bottomSide?: {
|
|
27698
|
+
pins: (string | number)[];
|
|
27699
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
27700
|
+
} | undefined;
|
|
27701
|
+
leftPinCount?: number | undefined;
|
|
27702
|
+
rightPinCount?: number | undefined;
|
|
27703
|
+
topPinCount?: number | undefined;
|
|
27704
|
+
bottomPinCount?: number | undefined;
|
|
27705
|
+
} | undefined;
|
|
26452
27706
|
pcbWidth?: number | undefined;
|
|
26453
27707
|
pcbHeight?: number | undefined;
|
|
26454
27708
|
schWidth?: number | undefined;
|
|
@@ -26711,6 +27965,34 @@ declare const stampboardProps: z.ZodObject<{
|
|
|
26711
27965
|
matchAdapt?: boolean | undefined;
|
|
26712
27966
|
matchAdaptTemplate?: any;
|
|
26713
27967
|
schTitle?: string | undefined;
|
|
27968
|
+
showAsSchematicBox?: boolean | undefined;
|
|
27969
|
+
connections?: Record<string, string | readonly string[] | string[] | undefined> | undefined;
|
|
27970
|
+
schPinArrangement?: {
|
|
27971
|
+
leftSize?: number | undefined;
|
|
27972
|
+
topSize?: number | undefined;
|
|
27973
|
+
rightSize?: number | undefined;
|
|
27974
|
+
bottomSize?: number | undefined;
|
|
27975
|
+
leftSide?: {
|
|
27976
|
+
pins: (string | number)[];
|
|
27977
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
27978
|
+
} | undefined;
|
|
27979
|
+
topSide?: {
|
|
27980
|
+
pins: (string | number)[];
|
|
27981
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
27982
|
+
} | undefined;
|
|
27983
|
+
rightSide?: {
|
|
27984
|
+
pins: (string | number)[];
|
|
27985
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
27986
|
+
} | undefined;
|
|
27987
|
+
bottomSide?: {
|
|
27988
|
+
pins: (string | number)[];
|
|
27989
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
27990
|
+
} | undefined;
|
|
27991
|
+
leftPinCount?: number | undefined;
|
|
27992
|
+
rightPinCount?: number | undefined;
|
|
27993
|
+
topPinCount?: number | undefined;
|
|
27994
|
+
bottomPinCount?: number | undefined;
|
|
27995
|
+
} | undefined;
|
|
26714
27996
|
pcbWidth?: string | number | undefined;
|
|
26715
27997
|
pcbHeight?: string | number | undefined;
|
|
26716
27998
|
schWidth?: string | number | undefined;
|
|
@@ -28559,6 +29841,7 @@ interface RectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
28559
29841
|
shape: "rect";
|
|
28560
29842
|
width: Distance;
|
|
28561
29843
|
height: Distance;
|
|
29844
|
+
rectBorderRadius?: Distance;
|
|
28562
29845
|
portHints?: PortHints;
|
|
28563
29846
|
coveredWithSolderMask?: boolean;
|
|
28564
29847
|
}
|
|
@@ -28622,6 +29905,7 @@ declare const rectSmtPadProps: z.ZodObject<Omit<{
|
|
|
28622
29905
|
shape: z.ZodLiteral<"rect">;
|
|
28623
29906
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
28624
29907
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
29908
|
+
rectBorderRadius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
28625
29909
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
28626
29910
|
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
28627
29911
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -28642,6 +29926,7 @@ declare const rectSmtPadProps: z.ZodObject<Omit<{
|
|
|
28642
29926
|
relative?: boolean | undefined;
|
|
28643
29927
|
name?: string | undefined;
|
|
28644
29928
|
portHints?: (string | number)[] | undefined;
|
|
29929
|
+
rectBorderRadius?: number | undefined;
|
|
28645
29930
|
coveredWithSolderMask?: boolean | undefined;
|
|
28646
29931
|
}, {
|
|
28647
29932
|
shape: "rect";
|
|
@@ -28663,6 +29948,7 @@ declare const rectSmtPadProps: z.ZodObject<Omit<{
|
|
|
28663
29948
|
relative?: boolean | undefined;
|
|
28664
29949
|
name?: string | undefined;
|
|
28665
29950
|
portHints?: (string | number)[] | undefined;
|
|
29951
|
+
rectBorderRadius?: string | number | undefined;
|
|
28666
29952
|
coveredWithSolderMask?: boolean | undefined;
|
|
28667
29953
|
}>;
|
|
28668
29954
|
declare const rotatedRectSmtPadProps: z.ZodObject<Omit<{
|
|
@@ -29053,6 +30339,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
29053
30339
|
shape: z.ZodLiteral<"rect">;
|
|
29054
30340
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
29055
30341
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
30342
|
+
rectBorderRadius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
29056
30343
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
29057
30344
|
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
29058
30345
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -29073,6 +30360,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
29073
30360
|
relative?: boolean | undefined;
|
|
29074
30361
|
name?: string | undefined;
|
|
29075
30362
|
portHints?: (string | number)[] | undefined;
|
|
30363
|
+
rectBorderRadius?: number | undefined;
|
|
29076
30364
|
coveredWithSolderMask?: boolean | undefined;
|
|
29077
30365
|
}, {
|
|
29078
30366
|
shape: "rect";
|
|
@@ -29094,6 +30382,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
29094
30382
|
relative?: boolean | undefined;
|
|
29095
30383
|
name?: string | undefined;
|
|
29096
30384
|
portHints?: (string | number)[] | undefined;
|
|
30385
|
+
rectBorderRadius?: string | number | undefined;
|
|
29097
30386
|
coveredWithSolderMask?: boolean | undefined;
|
|
29098
30387
|
}>, z.ZodObject<Omit<{
|
|
29099
30388
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -31979,10 +33268,7 @@ declare const pinHeaderProps: z.ZodObject<{
|
|
|
31979
33268
|
children?: any;
|
|
31980
33269
|
symbolName?: string | undefined;
|
|
31981
33270
|
doNotPlace?: boolean | undefined;
|
|
31982
|
-
|
|
31983
|
-
schHeight?: number | undefined;
|
|
31984
|
-
pinLabels?: string[] | Record<string, string> | undefined;
|
|
31985
|
-
pcbPinLabels?: Record<string, string> | undefined;
|
|
33271
|
+
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
31986
33272
|
schPinArrangement?: {
|
|
31987
33273
|
leftSize?: number | undefined;
|
|
31988
33274
|
topSize?: number | undefined;
|
|
@@ -32009,6 +33295,10 @@ declare const pinHeaderProps: z.ZodObject<{
|
|
|
32009
33295
|
topPinCount?: number | undefined;
|
|
32010
33296
|
bottomPinCount?: number | undefined;
|
|
32011
33297
|
} | undefined;
|
|
33298
|
+
schWidth?: number | undefined;
|
|
33299
|
+
schHeight?: number | undefined;
|
|
33300
|
+
pinLabels?: string[] | Record<string, string> | undefined;
|
|
33301
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
32012
33302
|
schPinStyle?: Record<string, {
|
|
32013
33303
|
marginLeft?: number | undefined;
|
|
32014
33304
|
marginRight?: number | undefined;
|
|
@@ -32020,7 +33310,6 @@ declare const pinHeaderProps: z.ZodObject<{
|
|
|
32020
33310
|
bottomMargin?: number | undefined;
|
|
32021
33311
|
}> | undefined;
|
|
32022
33312
|
schPinSpacing?: number | undefined;
|
|
32023
|
-
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
32024
33313
|
holeDiameter?: number | undefined;
|
|
32025
33314
|
pitch?: number | undefined;
|
|
32026
33315
|
schFacingDirection?: "up" | "down" | "left" | "right" | undefined;
|
|
@@ -32202,11 +33491,7 @@ declare const pinHeaderProps: z.ZodObject<{
|
|
|
32202
33491
|
children?: any;
|
|
32203
33492
|
symbolName?: string | undefined;
|
|
32204
33493
|
doNotPlace?: boolean | undefined;
|
|
32205
|
-
|
|
32206
|
-
schHeight?: string | number | undefined;
|
|
32207
|
-
gender?: "male" | "female" | "unpopulated" | undefined;
|
|
32208
|
-
pinLabels?: string[] | Record<string, string> | undefined;
|
|
32209
|
-
pcbPinLabels?: Record<string, string> | undefined;
|
|
33494
|
+
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
32210
33495
|
schPinArrangement?: {
|
|
32211
33496
|
leftSize?: number | undefined;
|
|
32212
33497
|
topSize?: number | undefined;
|
|
@@ -32233,6 +33518,11 @@ declare const pinHeaderProps: z.ZodObject<{
|
|
|
32233
33518
|
topPinCount?: number | undefined;
|
|
32234
33519
|
bottomPinCount?: number | undefined;
|
|
32235
33520
|
} | undefined;
|
|
33521
|
+
schWidth?: string | number | undefined;
|
|
33522
|
+
schHeight?: string | number | undefined;
|
|
33523
|
+
gender?: "male" | "female" | "unpopulated" | undefined;
|
|
33524
|
+
pinLabels?: string[] | Record<string, string> | undefined;
|
|
33525
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
32236
33526
|
schPinStyle?: Record<string, {
|
|
32237
33527
|
marginLeft?: string | number | undefined;
|
|
32238
33528
|
marginRight?: string | number | undefined;
|
|
@@ -32244,7 +33534,6 @@ declare const pinHeaderProps: z.ZodObject<{
|
|
|
32244
33534
|
bottomMargin?: string | number | undefined;
|
|
32245
33535
|
}> | undefined;
|
|
32246
33536
|
schPinSpacing?: string | number | undefined;
|
|
32247
|
-
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
32248
33537
|
holeDiameter?: string | number | undefined;
|
|
32249
33538
|
pitch?: string | number | undefined;
|
|
32250
33539
|
schFacingDirection?: "up" | "down" | "left" | "right" | undefined;
|
|
@@ -33370,14 +34659,7 @@ declare const pushButtonProps: z.ZodObject<{
|
|
|
33370
34659
|
children?: any;
|
|
33371
34660
|
symbolName?: string | undefined;
|
|
33372
34661
|
doNotPlace?: boolean | undefined;
|
|
33373
|
-
|
|
33374
|
-
schHeight?: number | undefined;
|
|
33375
|
-
manufacturerPartNumber?: string | undefined;
|
|
33376
|
-
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
33377
|
-
showPinAliases?: boolean | undefined;
|
|
33378
|
-
pcbPinLabels?: Record<string, string> | undefined;
|
|
33379
|
-
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
33380
|
-
externallyConnectedPins?: string[][] | undefined;
|
|
34662
|
+
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
33381
34663
|
schPinArrangement?: {
|
|
33382
34664
|
leftSize?: number | undefined;
|
|
33383
34665
|
topSize?: number | undefined;
|
|
@@ -33404,6 +34686,14 @@ declare const pushButtonProps: z.ZodObject<{
|
|
|
33404
34686
|
topPinCount?: number | undefined;
|
|
33405
34687
|
bottomPinCount?: number | undefined;
|
|
33406
34688
|
} | undefined;
|
|
34689
|
+
schWidth?: number | undefined;
|
|
34690
|
+
schHeight?: number | undefined;
|
|
34691
|
+
manufacturerPartNumber?: string | undefined;
|
|
34692
|
+
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
34693
|
+
showPinAliases?: boolean | undefined;
|
|
34694
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
34695
|
+
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
34696
|
+
externallyConnectedPins?: string[][] | undefined;
|
|
33407
34697
|
schPortArrangement?: {
|
|
33408
34698
|
leftSize?: number | undefined;
|
|
33409
34699
|
topSize?: number | undefined;
|
|
@@ -33446,7 +34736,6 @@ declare const pushButtonProps: z.ZodObject<{
|
|
|
33446
34736
|
}> | undefined;
|
|
33447
34737
|
schPinSpacing?: number | undefined;
|
|
33448
34738
|
noSchematicRepresentation?: boolean | undefined;
|
|
33449
|
-
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
33450
34739
|
}, {
|
|
33451
34740
|
name: string;
|
|
33452
34741
|
symbol?: SymbolProp | undefined;
|
|
@@ -33618,14 +34907,7 @@ declare const pushButtonProps: z.ZodObject<{
|
|
|
33618
34907
|
children?: any;
|
|
33619
34908
|
symbolName?: string | undefined;
|
|
33620
34909
|
doNotPlace?: boolean | undefined;
|
|
33621
|
-
|
|
33622
|
-
schHeight?: string | number | undefined;
|
|
33623
|
-
manufacturerPartNumber?: string | undefined;
|
|
33624
|
-
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
33625
|
-
showPinAliases?: boolean | undefined;
|
|
33626
|
-
pcbPinLabels?: Record<string, string> | undefined;
|
|
33627
|
-
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
33628
|
-
externallyConnectedPins?: string[][] | undefined;
|
|
34910
|
+
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
33629
34911
|
schPinArrangement?: {
|
|
33630
34912
|
leftSize?: number | undefined;
|
|
33631
34913
|
topSize?: number | undefined;
|
|
@@ -33652,6 +34934,14 @@ declare const pushButtonProps: z.ZodObject<{
|
|
|
33652
34934
|
topPinCount?: number | undefined;
|
|
33653
34935
|
bottomPinCount?: number | undefined;
|
|
33654
34936
|
} | undefined;
|
|
34937
|
+
schWidth?: string | number | undefined;
|
|
34938
|
+
schHeight?: string | number | undefined;
|
|
34939
|
+
manufacturerPartNumber?: string | undefined;
|
|
34940
|
+
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
34941
|
+
showPinAliases?: boolean | undefined;
|
|
34942
|
+
pcbPinLabels?: Record<string, string> | undefined;
|
|
34943
|
+
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
34944
|
+
externallyConnectedPins?: string[][] | undefined;
|
|
33655
34945
|
schPortArrangement?: {
|
|
33656
34946
|
leftSize?: number | undefined;
|
|
33657
34947
|
topSize?: number | undefined;
|
|
@@ -33694,7 +34984,6 @@ declare const pushButtonProps: z.ZodObject<{
|
|
|
33694
34984
|
}> | undefined;
|
|
33695
34985
|
schPinSpacing?: string | number | undefined;
|
|
33696
34986
|
noSchematicRepresentation?: boolean | undefined;
|
|
33697
|
-
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
33698
34987
|
}>;
|
|
33699
34988
|
|
|
33700
34989
|
type SubcircuitProps = SubcircuitGroupProps;
|
|
@@ -34044,6 +35333,108 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
34044
35333
|
children: z.ZodOptional<z.ZodAny>;
|
|
34045
35334
|
schTitle: z.ZodOptional<z.ZodString>;
|
|
34046
35335
|
key: z.ZodOptional<z.ZodAny>;
|
|
35336
|
+
showAsSchematicBox: z.ZodOptional<z.ZodBoolean>;
|
|
35337
|
+
connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>>;
|
|
35338
|
+
schPinArrangement: z.ZodOptional<z.ZodObject<{
|
|
35339
|
+
leftSize: z.ZodOptional<z.ZodNumber>;
|
|
35340
|
+
topSize: z.ZodOptional<z.ZodNumber>;
|
|
35341
|
+
rightSize: z.ZodOptional<z.ZodNumber>;
|
|
35342
|
+
bottomSize: z.ZodOptional<z.ZodNumber>;
|
|
35343
|
+
leftPinCount: z.ZodOptional<z.ZodNumber>;
|
|
35344
|
+
rightPinCount: z.ZodOptional<z.ZodNumber>;
|
|
35345
|
+
topPinCount: z.ZodOptional<z.ZodNumber>;
|
|
35346
|
+
bottomPinCount: z.ZodOptional<z.ZodNumber>;
|
|
35347
|
+
leftSide: z.ZodOptional<z.ZodObject<{
|
|
35348
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
35349
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
35350
|
+
}, "strip", z.ZodTypeAny, {
|
|
35351
|
+
pins: (string | number)[];
|
|
35352
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
35353
|
+
}, {
|
|
35354
|
+
pins: (string | number)[];
|
|
35355
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
35356
|
+
}>>;
|
|
35357
|
+
rightSide: z.ZodOptional<z.ZodObject<{
|
|
35358
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
35359
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
35360
|
+
}, "strip", z.ZodTypeAny, {
|
|
35361
|
+
pins: (string | number)[];
|
|
35362
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
35363
|
+
}, {
|
|
35364
|
+
pins: (string | number)[];
|
|
35365
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
35366
|
+
}>>;
|
|
35367
|
+
topSide: z.ZodOptional<z.ZodObject<{
|
|
35368
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
35369
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
35370
|
+
}, "strip", z.ZodTypeAny, {
|
|
35371
|
+
pins: (string | number)[];
|
|
35372
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
35373
|
+
}, {
|
|
35374
|
+
pins: (string | number)[];
|
|
35375
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
35376
|
+
}>>;
|
|
35377
|
+
bottomSide: z.ZodOptional<z.ZodObject<{
|
|
35378
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
35379
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
35380
|
+
}, "strip", z.ZodTypeAny, {
|
|
35381
|
+
pins: (string | number)[];
|
|
35382
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
35383
|
+
}, {
|
|
35384
|
+
pins: (string | number)[];
|
|
35385
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
35386
|
+
}>>;
|
|
35387
|
+
}, "strip", z.ZodTypeAny, {
|
|
35388
|
+
leftSize?: number | undefined;
|
|
35389
|
+
topSize?: number | undefined;
|
|
35390
|
+
rightSize?: number | undefined;
|
|
35391
|
+
bottomSize?: number | undefined;
|
|
35392
|
+
leftSide?: {
|
|
35393
|
+
pins: (string | number)[];
|
|
35394
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
35395
|
+
} | undefined;
|
|
35396
|
+
topSide?: {
|
|
35397
|
+
pins: (string | number)[];
|
|
35398
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
35399
|
+
} | undefined;
|
|
35400
|
+
rightSide?: {
|
|
35401
|
+
pins: (string | number)[];
|
|
35402
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
35403
|
+
} | undefined;
|
|
35404
|
+
bottomSide?: {
|
|
35405
|
+
pins: (string | number)[];
|
|
35406
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
35407
|
+
} | undefined;
|
|
35408
|
+
leftPinCount?: number | undefined;
|
|
35409
|
+
rightPinCount?: number | undefined;
|
|
35410
|
+
topPinCount?: number | undefined;
|
|
35411
|
+
bottomPinCount?: number | undefined;
|
|
35412
|
+
}, {
|
|
35413
|
+
leftSize?: number | undefined;
|
|
35414
|
+
topSize?: number | undefined;
|
|
35415
|
+
rightSize?: number | undefined;
|
|
35416
|
+
bottomSize?: number | undefined;
|
|
35417
|
+
leftSide?: {
|
|
35418
|
+
pins: (string | number)[];
|
|
35419
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
35420
|
+
} | undefined;
|
|
35421
|
+
topSide?: {
|
|
35422
|
+
pins: (string | number)[];
|
|
35423
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
35424
|
+
} | undefined;
|
|
35425
|
+
rightSide?: {
|
|
35426
|
+
pins: (string | number)[];
|
|
35427
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
35428
|
+
} | undefined;
|
|
35429
|
+
bottomSide?: {
|
|
35430
|
+
pins: (string | number)[];
|
|
35431
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
35432
|
+
} | undefined;
|
|
35433
|
+
leftPinCount?: number | undefined;
|
|
35434
|
+
rightPinCount?: number | undefined;
|
|
35435
|
+
topPinCount?: number | undefined;
|
|
35436
|
+
bottomPinCount?: number | undefined;
|
|
35437
|
+
}>>;
|
|
34047
35438
|
} & {
|
|
34048
35439
|
manualEdits: z.ZodOptional<z.ZodObject<{
|
|
34049
35440
|
pcb_placements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -34332,6 +35723,34 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
34332
35723
|
matchAdapt?: boolean | undefined;
|
|
34333
35724
|
matchAdaptTemplate?: any;
|
|
34334
35725
|
schTitle?: string | undefined;
|
|
35726
|
+
showAsSchematicBox?: boolean | undefined;
|
|
35727
|
+
connections?: Record<string, string | readonly string[] | string[] | undefined> | undefined;
|
|
35728
|
+
schPinArrangement?: {
|
|
35729
|
+
leftSize?: number | undefined;
|
|
35730
|
+
topSize?: number | undefined;
|
|
35731
|
+
rightSize?: number | undefined;
|
|
35732
|
+
bottomSize?: number | undefined;
|
|
35733
|
+
leftSide?: {
|
|
35734
|
+
pins: (string | number)[];
|
|
35735
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
35736
|
+
} | undefined;
|
|
35737
|
+
topSide?: {
|
|
35738
|
+
pins: (string | number)[];
|
|
35739
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
35740
|
+
} | undefined;
|
|
35741
|
+
rightSide?: {
|
|
35742
|
+
pins: (string | number)[];
|
|
35743
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
35744
|
+
} | undefined;
|
|
35745
|
+
bottomSide?: {
|
|
35746
|
+
pins: (string | number)[];
|
|
35747
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
35748
|
+
} | undefined;
|
|
35749
|
+
leftPinCount?: number | undefined;
|
|
35750
|
+
rightPinCount?: number | undefined;
|
|
35751
|
+
topPinCount?: number | undefined;
|
|
35752
|
+
bottomPinCount?: number | undefined;
|
|
35753
|
+
} | undefined;
|
|
34335
35754
|
pcbWidth?: number | undefined;
|
|
34336
35755
|
pcbHeight?: number | undefined;
|
|
34337
35756
|
schWidth?: number | undefined;
|
|
@@ -34583,6 +36002,34 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
34583
36002
|
matchAdapt?: boolean | undefined;
|
|
34584
36003
|
matchAdaptTemplate?: any;
|
|
34585
36004
|
schTitle?: string | undefined;
|
|
36005
|
+
showAsSchematicBox?: boolean | undefined;
|
|
36006
|
+
connections?: Record<string, string | readonly string[] | string[] | undefined> | undefined;
|
|
36007
|
+
schPinArrangement?: {
|
|
36008
|
+
leftSize?: number | undefined;
|
|
36009
|
+
topSize?: number | undefined;
|
|
36010
|
+
rightSize?: number | undefined;
|
|
36011
|
+
bottomSize?: number | undefined;
|
|
36012
|
+
leftSide?: {
|
|
36013
|
+
pins: (string | number)[];
|
|
36014
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
36015
|
+
} | undefined;
|
|
36016
|
+
topSide?: {
|
|
36017
|
+
pins: (string | number)[];
|
|
36018
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
36019
|
+
} | undefined;
|
|
36020
|
+
rightSide?: {
|
|
36021
|
+
pins: (string | number)[];
|
|
36022
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
36023
|
+
} | undefined;
|
|
36024
|
+
bottomSide?: {
|
|
36025
|
+
pins: (string | number)[];
|
|
36026
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
36027
|
+
} | undefined;
|
|
36028
|
+
leftPinCount?: number | undefined;
|
|
36029
|
+
rightPinCount?: number | undefined;
|
|
36030
|
+
topPinCount?: number | undefined;
|
|
36031
|
+
bottomPinCount?: number | undefined;
|
|
36032
|
+
} | undefined;
|
|
34586
36033
|
pcbWidth?: string | number | undefined;
|
|
34587
36034
|
pcbHeight?: string | number | undefined;
|
|
34588
36035
|
schWidth?: string | number | undefined;
|
|
@@ -40253,9 +41700,9 @@ declare const ledProps: z.ZodObject<{
|
|
|
40253
41700
|
children?: any;
|
|
40254
41701
|
symbolName?: string | undefined;
|
|
40255
41702
|
doNotPlace?: boolean | undefined;
|
|
41703
|
+
connections?: Partial<Record<"left" | "right" | "pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
40256
41704
|
color?: string | undefined;
|
|
40257
41705
|
wavelength?: string | undefined;
|
|
40258
|
-
connections?: Partial<Record<"left" | "right" | "pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
40259
41706
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
40260
41707
|
schDisplayValue?: string | undefined;
|
|
40261
41708
|
laser?: boolean | undefined;
|
|
@@ -40430,9 +41877,9 @@ declare const ledProps: z.ZodObject<{
|
|
|
40430
41877
|
children?: any;
|
|
40431
41878
|
symbolName?: string | undefined;
|
|
40432
41879
|
doNotPlace?: boolean | undefined;
|
|
41880
|
+
connections?: Partial<Record<"left" | "right" | "pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
40433
41881
|
color?: string | undefined;
|
|
40434
41882
|
wavelength?: string | undefined;
|
|
40435
|
-
connections?: Partial<Record<"left" | "right" | "pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
40436
41883
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
40437
41884
|
schDisplayValue?: string | undefined;
|
|
40438
41885
|
laser?: boolean | undefined;
|
|
@@ -45475,9 +46922,9 @@ declare const voltageSourceProps: z.ZodObject<{
|
|
|
45475
46922
|
children?: any;
|
|
45476
46923
|
symbolName?: string | undefined;
|
|
45477
46924
|
doNotPlace?: boolean | undefined;
|
|
46925
|
+
connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
45478
46926
|
voltage?: number | undefined;
|
|
45479
46927
|
frequency?: number | undefined;
|
|
45480
|
-
connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
45481
46928
|
peakToPeakVoltage?: number | undefined;
|
|
45482
46929
|
waveShape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
|
|
45483
46930
|
phase?: number | undefined;
|
|
@@ -45653,9 +47100,9 @@ declare const voltageSourceProps: z.ZodObject<{
|
|
|
45653
47100
|
children?: any;
|
|
45654
47101
|
symbolName?: string | undefined;
|
|
45655
47102
|
doNotPlace?: boolean | undefined;
|
|
47103
|
+
connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
45656
47104
|
voltage?: string | number | undefined;
|
|
45657
47105
|
frequency?: string | number | undefined;
|
|
45658
|
-
connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
45659
47106
|
peakToPeakVoltage?: string | number | undefined;
|
|
45660
47107
|
waveShape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
|
|
45661
47108
|
phase?: string | number | undefined;
|