circuit-json 0.0.313 → 0.0.315
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/index.d.mts +270 -2
- package/dist/index.mjs +14 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2593,6 +2593,7 @@ interface SchematicVoltageProbe {
|
|
|
2593
2593
|
type: "schematic_voltage_probe"
|
|
2594
2594
|
schematic_voltage_probe_id: string
|
|
2595
2595
|
source_component_id?: string
|
|
2596
|
+
name?: string
|
|
2596
2597
|
position: Point
|
|
2597
2598
|
schematic_trace_id: string
|
|
2598
2599
|
voltage?: number
|
|
@@ -2686,6 +2687,7 @@ interface SimulationVoltageProbe {
|
|
|
2686
2687
|
type: "simulation_voltage_probe"
|
|
2687
2688
|
simulation_voltage_probe_id: string
|
|
2688
2689
|
source_component_id?: string
|
|
2690
|
+
name?: string
|
|
2689
2691
|
source_port_id?: string
|
|
2690
2692
|
source_net_id?: string
|
|
2691
2693
|
subcircuit_id?: string
|
package/dist/index.d.mts
CHANGED
|
@@ -5384,6 +5384,83 @@ interface PcbCutoutPolygon {
|
|
|
5384
5384
|
shape: "polygon";
|
|
5385
5385
|
points: Point[];
|
|
5386
5386
|
}
|
|
5387
|
+
declare const pcb_cutout_path: z.ZodObject<{
|
|
5388
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
5389
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5390
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
5391
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5392
|
+
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
5393
|
+
pcb_panel_id: z.ZodOptional<z.ZodString>;
|
|
5394
|
+
} & {
|
|
5395
|
+
shape: z.ZodLiteral<"path">;
|
|
5396
|
+
route: z.ZodArray<z.ZodObject<{
|
|
5397
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5398
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5399
|
+
}, "strip", z.ZodTypeAny, {
|
|
5400
|
+
x: number;
|
|
5401
|
+
y: number;
|
|
5402
|
+
}, {
|
|
5403
|
+
x: string | number;
|
|
5404
|
+
y: string | number;
|
|
5405
|
+
}>, "many">;
|
|
5406
|
+
slot_width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5407
|
+
slot_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5408
|
+
space_between_slots: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5409
|
+
slot_corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5410
|
+
}, "strip", z.ZodTypeAny, {
|
|
5411
|
+
type: "pcb_cutout";
|
|
5412
|
+
shape: "path";
|
|
5413
|
+
route: {
|
|
5414
|
+
x: number;
|
|
5415
|
+
y: number;
|
|
5416
|
+
}[];
|
|
5417
|
+
pcb_cutout_id: string;
|
|
5418
|
+
slot_width: number;
|
|
5419
|
+
subcircuit_id?: string | undefined;
|
|
5420
|
+
pcb_group_id?: string | undefined;
|
|
5421
|
+
pcb_board_id?: string | undefined;
|
|
5422
|
+
pcb_panel_id?: string | undefined;
|
|
5423
|
+
slot_length?: number | undefined;
|
|
5424
|
+
space_between_slots?: number | undefined;
|
|
5425
|
+
slot_corner_radius?: number | undefined;
|
|
5426
|
+
}, {
|
|
5427
|
+
type: "pcb_cutout";
|
|
5428
|
+
shape: "path";
|
|
5429
|
+
route: {
|
|
5430
|
+
x: string | number;
|
|
5431
|
+
y: string | number;
|
|
5432
|
+
}[];
|
|
5433
|
+
slot_width: string | number;
|
|
5434
|
+
subcircuit_id?: string | undefined;
|
|
5435
|
+
pcb_group_id?: string | undefined;
|
|
5436
|
+
pcb_board_id?: string | undefined;
|
|
5437
|
+
pcb_panel_id?: string | undefined;
|
|
5438
|
+
pcb_cutout_id?: string | undefined;
|
|
5439
|
+
slot_length?: string | number | undefined;
|
|
5440
|
+
space_between_slots?: string | number | undefined;
|
|
5441
|
+
slot_corner_radius?: string | number | undefined;
|
|
5442
|
+
}>;
|
|
5443
|
+
type PcbCutoutPathInput = z.input<typeof pcb_cutout_path>;
|
|
5444
|
+
/**
|
|
5445
|
+
* Defines a path-based cutout on the PCB, creating slots along the specified path.
|
|
5446
|
+
* When slot_length and space_between_slots are specified, creates a dashed pattern of slots.
|
|
5447
|
+
* When they are omitted, creates a continuous slot along the entire path.
|
|
5448
|
+
* The slot_corner_radius controls the rounding of slot corners (0 = square, slot_width/2 = circle).
|
|
5449
|
+
*/
|
|
5450
|
+
interface PcbCutoutPath {
|
|
5451
|
+
type: "pcb_cutout";
|
|
5452
|
+
pcb_cutout_id: string;
|
|
5453
|
+
pcb_group_id?: string;
|
|
5454
|
+
subcircuit_id?: string;
|
|
5455
|
+
pcb_board_id?: string;
|
|
5456
|
+
pcb_panel_id?: string;
|
|
5457
|
+
shape: "path";
|
|
5458
|
+
route: Point[];
|
|
5459
|
+
slot_width: Length;
|
|
5460
|
+
slot_length?: Length;
|
|
5461
|
+
space_between_slots?: Length;
|
|
5462
|
+
slot_corner_radius?: Length;
|
|
5463
|
+
}
|
|
5387
5464
|
declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
5388
5465
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
5389
5466
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -5525,9 +5602,64 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
5525
5602
|
pcb_board_id?: string | undefined;
|
|
5526
5603
|
pcb_panel_id?: string | undefined;
|
|
5527
5604
|
pcb_cutout_id?: string | undefined;
|
|
5605
|
+
}>, z.ZodObject<{
|
|
5606
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
5607
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5608
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
5609
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5610
|
+
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
5611
|
+
pcb_panel_id: z.ZodOptional<z.ZodString>;
|
|
5612
|
+
} & {
|
|
5613
|
+
shape: z.ZodLiteral<"path">;
|
|
5614
|
+
route: z.ZodArray<z.ZodObject<{
|
|
5615
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5616
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5617
|
+
}, "strip", z.ZodTypeAny, {
|
|
5618
|
+
x: number;
|
|
5619
|
+
y: number;
|
|
5620
|
+
}, {
|
|
5621
|
+
x: string | number;
|
|
5622
|
+
y: string | number;
|
|
5623
|
+
}>, "many">;
|
|
5624
|
+
slot_width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5625
|
+
slot_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5626
|
+
space_between_slots: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5627
|
+
slot_corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5628
|
+
}, "strip", z.ZodTypeAny, {
|
|
5629
|
+
type: "pcb_cutout";
|
|
5630
|
+
shape: "path";
|
|
5631
|
+
route: {
|
|
5632
|
+
x: number;
|
|
5633
|
+
y: number;
|
|
5634
|
+
}[];
|
|
5635
|
+
pcb_cutout_id: string;
|
|
5636
|
+
slot_width: number;
|
|
5637
|
+
subcircuit_id?: string | undefined;
|
|
5638
|
+
pcb_group_id?: string | undefined;
|
|
5639
|
+
pcb_board_id?: string | undefined;
|
|
5640
|
+
pcb_panel_id?: string | undefined;
|
|
5641
|
+
slot_length?: number | undefined;
|
|
5642
|
+
space_between_slots?: number | undefined;
|
|
5643
|
+
slot_corner_radius?: number | undefined;
|
|
5644
|
+
}, {
|
|
5645
|
+
type: "pcb_cutout";
|
|
5646
|
+
shape: "path";
|
|
5647
|
+
route: {
|
|
5648
|
+
x: string | number;
|
|
5649
|
+
y: string | number;
|
|
5650
|
+
}[];
|
|
5651
|
+
slot_width: string | number;
|
|
5652
|
+
subcircuit_id?: string | undefined;
|
|
5653
|
+
pcb_group_id?: string | undefined;
|
|
5654
|
+
pcb_board_id?: string | undefined;
|
|
5655
|
+
pcb_panel_id?: string | undefined;
|
|
5656
|
+
pcb_cutout_id?: string | undefined;
|
|
5657
|
+
slot_length?: string | number | undefined;
|
|
5658
|
+
space_between_slots?: string | number | undefined;
|
|
5659
|
+
slot_corner_radius?: string | number | undefined;
|
|
5528
5660
|
}>]>;
|
|
5529
5661
|
type PcbCutoutInput = z.input<typeof pcb_cutout>;
|
|
5530
|
-
type PcbCutout = PcbCutoutRect | PcbCutoutCircle | PcbCutoutPolygon;
|
|
5662
|
+
type PcbCutout = PcbCutoutRect | PcbCutoutCircle | PcbCutoutPolygon | PcbCutoutPath;
|
|
5531
5663
|
|
|
5532
5664
|
declare const pcb_missing_footprint_error: z.ZodObject<{
|
|
5533
5665
|
type: z.ZodLiteral<"pcb_missing_footprint_error">;
|
|
@@ -8714,6 +8846,7 @@ interface SchematicVoltageProbe {
|
|
|
8714
8846
|
type: "schematic_voltage_probe";
|
|
8715
8847
|
schematic_voltage_probe_id: string;
|
|
8716
8848
|
source_component_id?: string;
|
|
8849
|
+
name?: string;
|
|
8717
8850
|
position: Point;
|
|
8718
8851
|
schematic_trace_id: string;
|
|
8719
8852
|
voltage?: number;
|
|
@@ -8724,6 +8857,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
|
|
|
8724
8857
|
type: z.ZodLiteral<"schematic_voltage_probe">;
|
|
8725
8858
|
schematic_voltage_probe_id: z.ZodString;
|
|
8726
8859
|
source_component_id: z.ZodOptional<z.ZodString>;
|
|
8860
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8727
8861
|
position: z.ZodObject<{
|
|
8728
8862
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8729
8863
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -8746,6 +8880,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
|
|
|
8746
8880
|
y: number;
|
|
8747
8881
|
};
|
|
8748
8882
|
schematic_voltage_probe_id: string;
|
|
8883
|
+
name?: string | undefined;
|
|
8749
8884
|
source_component_id?: string | undefined;
|
|
8750
8885
|
subcircuit_id?: string | undefined;
|
|
8751
8886
|
color?: string | undefined;
|
|
@@ -8758,6 +8893,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
|
|
|
8758
8893
|
y: string | number;
|
|
8759
8894
|
};
|
|
8760
8895
|
schematic_voltage_probe_id: string;
|
|
8896
|
+
name?: string | undefined;
|
|
8761
8897
|
source_component_id?: string | undefined;
|
|
8762
8898
|
subcircuit_id?: string | undefined;
|
|
8763
8899
|
color?: string | undefined;
|
|
@@ -9374,6 +9510,7 @@ declare const simulation_voltage_probe: z.ZodEffects<z.ZodObject<{
|
|
|
9374
9510
|
type: z.ZodLiteral<"simulation_voltage_probe">;
|
|
9375
9511
|
simulation_voltage_probe_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
9376
9512
|
source_component_id: z.ZodOptional<z.ZodString>;
|
|
9513
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9377
9514
|
source_port_id: z.ZodOptional<z.ZodString>;
|
|
9378
9515
|
source_net_id: z.ZodOptional<z.ZodString>;
|
|
9379
9516
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
@@ -9381,6 +9518,7 @@ declare const simulation_voltage_probe: z.ZodEffects<z.ZodObject<{
|
|
|
9381
9518
|
}, "strip", z.ZodTypeAny, {
|
|
9382
9519
|
type: "simulation_voltage_probe";
|
|
9383
9520
|
simulation_voltage_probe_id: string;
|
|
9521
|
+
name?: string | undefined;
|
|
9384
9522
|
source_component_id?: string | undefined;
|
|
9385
9523
|
subcircuit_id?: string | undefined;
|
|
9386
9524
|
source_port_id?: string | undefined;
|
|
@@ -9388,6 +9526,7 @@ declare const simulation_voltage_probe: z.ZodEffects<z.ZodObject<{
|
|
|
9388
9526
|
color?: string | undefined;
|
|
9389
9527
|
}, {
|
|
9390
9528
|
type: "simulation_voltage_probe";
|
|
9529
|
+
name?: string | undefined;
|
|
9391
9530
|
source_component_id?: string | undefined;
|
|
9392
9531
|
subcircuit_id?: string | undefined;
|
|
9393
9532
|
source_port_id?: string | undefined;
|
|
@@ -9397,6 +9536,7 @@ declare const simulation_voltage_probe: z.ZodEffects<z.ZodObject<{
|
|
|
9397
9536
|
}>, {
|
|
9398
9537
|
type: "simulation_voltage_probe";
|
|
9399
9538
|
simulation_voltage_probe_id: string;
|
|
9539
|
+
name?: string | undefined;
|
|
9400
9540
|
source_component_id?: string | undefined;
|
|
9401
9541
|
subcircuit_id?: string | undefined;
|
|
9402
9542
|
source_port_id?: string | undefined;
|
|
@@ -9404,6 +9544,7 @@ declare const simulation_voltage_probe: z.ZodEffects<z.ZodObject<{
|
|
|
9404
9544
|
color?: string | undefined;
|
|
9405
9545
|
}, {
|
|
9406
9546
|
type: "simulation_voltage_probe";
|
|
9547
|
+
name?: string | undefined;
|
|
9407
9548
|
source_component_id?: string | undefined;
|
|
9408
9549
|
subcircuit_id?: string | undefined;
|
|
9409
9550
|
source_port_id?: string | undefined;
|
|
@@ -9419,6 +9560,7 @@ interface SimulationVoltageProbe {
|
|
|
9419
9560
|
type: "simulation_voltage_probe";
|
|
9420
9561
|
simulation_voltage_probe_id: string;
|
|
9421
9562
|
source_component_id?: string;
|
|
9563
|
+
name?: string;
|
|
9422
9564
|
source_port_id?: string;
|
|
9423
9565
|
source_net_id?: string;
|
|
9424
9566
|
subcircuit_id?: string;
|
|
@@ -17910,6 +18052,61 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17910
18052
|
pcb_board_id?: string | undefined;
|
|
17911
18053
|
pcb_panel_id?: string | undefined;
|
|
17912
18054
|
pcb_cutout_id?: string | undefined;
|
|
18055
|
+
}>, z.ZodObject<{
|
|
18056
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
18057
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
18058
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
18059
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
18060
|
+
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
18061
|
+
pcb_panel_id: z.ZodOptional<z.ZodString>;
|
|
18062
|
+
} & {
|
|
18063
|
+
shape: z.ZodLiteral<"path">;
|
|
18064
|
+
route: z.ZodArray<z.ZodObject<{
|
|
18065
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
18066
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
18067
|
+
}, "strip", z.ZodTypeAny, {
|
|
18068
|
+
x: number;
|
|
18069
|
+
y: number;
|
|
18070
|
+
}, {
|
|
18071
|
+
x: string | number;
|
|
18072
|
+
y: string | number;
|
|
18073
|
+
}>, "many">;
|
|
18074
|
+
slot_width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
18075
|
+
slot_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
18076
|
+
space_between_slots: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
18077
|
+
slot_corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
18078
|
+
}, "strip", z.ZodTypeAny, {
|
|
18079
|
+
type: "pcb_cutout";
|
|
18080
|
+
shape: "path";
|
|
18081
|
+
route: {
|
|
18082
|
+
x: number;
|
|
18083
|
+
y: number;
|
|
18084
|
+
}[];
|
|
18085
|
+
pcb_cutout_id: string;
|
|
18086
|
+
slot_width: number;
|
|
18087
|
+
subcircuit_id?: string | undefined;
|
|
18088
|
+
pcb_group_id?: string | undefined;
|
|
18089
|
+
pcb_board_id?: string | undefined;
|
|
18090
|
+
pcb_panel_id?: string | undefined;
|
|
18091
|
+
slot_length?: number | undefined;
|
|
18092
|
+
space_between_slots?: number | undefined;
|
|
18093
|
+
slot_corner_radius?: number | undefined;
|
|
18094
|
+
}, {
|
|
18095
|
+
type: "pcb_cutout";
|
|
18096
|
+
shape: "path";
|
|
18097
|
+
route: {
|
|
18098
|
+
x: string | number;
|
|
18099
|
+
y: string | number;
|
|
18100
|
+
}[];
|
|
18101
|
+
slot_width: string | number;
|
|
18102
|
+
subcircuit_id?: string | undefined;
|
|
18103
|
+
pcb_group_id?: string | undefined;
|
|
18104
|
+
pcb_board_id?: string | undefined;
|
|
18105
|
+
pcb_panel_id?: string | undefined;
|
|
18106
|
+
pcb_cutout_id?: string | undefined;
|
|
18107
|
+
slot_length?: string | number | undefined;
|
|
18108
|
+
space_between_slots?: string | number | undefined;
|
|
18109
|
+
slot_corner_radius?: string | number | undefined;
|
|
17913
18110
|
}>]>, z.ZodObject<{
|
|
17914
18111
|
type: z.ZodLiteral<"pcb_ground_plane">;
|
|
17915
18112
|
pcb_ground_plane_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -19520,6 +19717,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19520
19717
|
type: z.ZodLiteral<"schematic_voltage_probe">;
|
|
19521
19718
|
schematic_voltage_probe_id: z.ZodString;
|
|
19522
19719
|
source_component_id: z.ZodOptional<z.ZodString>;
|
|
19720
|
+
name: z.ZodOptional<z.ZodString>;
|
|
19523
19721
|
position: z.ZodObject<{
|
|
19524
19722
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
19525
19723
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -19542,6 +19740,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19542
19740
|
y: number;
|
|
19543
19741
|
};
|
|
19544
19742
|
schematic_voltage_probe_id: string;
|
|
19743
|
+
name?: string | undefined;
|
|
19545
19744
|
source_component_id?: string | undefined;
|
|
19546
19745
|
subcircuit_id?: string | undefined;
|
|
19547
19746
|
color?: string | undefined;
|
|
@@ -19554,6 +19753,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19554
19753
|
y: string | number;
|
|
19555
19754
|
};
|
|
19556
19755
|
schematic_voltage_probe_id: string;
|
|
19756
|
+
name?: string | undefined;
|
|
19557
19757
|
source_component_id?: string | undefined;
|
|
19558
19758
|
subcircuit_id?: string | undefined;
|
|
19559
19759
|
color?: string | undefined;
|
|
@@ -20055,6 +20255,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20055
20255
|
type: z.ZodLiteral<"simulation_voltage_probe">;
|
|
20056
20256
|
simulation_voltage_probe_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
20057
20257
|
source_component_id: z.ZodOptional<z.ZodString>;
|
|
20258
|
+
name: z.ZodOptional<z.ZodString>;
|
|
20058
20259
|
source_port_id: z.ZodOptional<z.ZodString>;
|
|
20059
20260
|
source_net_id: z.ZodOptional<z.ZodString>;
|
|
20060
20261
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
@@ -20062,6 +20263,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20062
20263
|
}, "strip", z.ZodTypeAny, {
|
|
20063
20264
|
type: "simulation_voltage_probe";
|
|
20064
20265
|
simulation_voltage_probe_id: string;
|
|
20266
|
+
name?: string | undefined;
|
|
20065
20267
|
source_component_id?: string | undefined;
|
|
20066
20268
|
subcircuit_id?: string | undefined;
|
|
20067
20269
|
source_port_id?: string | undefined;
|
|
@@ -20069,6 +20271,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20069
20271
|
color?: string | undefined;
|
|
20070
20272
|
}, {
|
|
20071
20273
|
type: "simulation_voltage_probe";
|
|
20274
|
+
name?: string | undefined;
|
|
20072
20275
|
source_component_id?: string | undefined;
|
|
20073
20276
|
subcircuit_id?: string | undefined;
|
|
20074
20277
|
source_port_id?: string | undefined;
|
|
@@ -20078,6 +20281,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20078
20281
|
}>, {
|
|
20079
20282
|
type: "simulation_voltage_probe";
|
|
20080
20283
|
simulation_voltage_probe_id: string;
|
|
20284
|
+
name?: string | undefined;
|
|
20081
20285
|
source_component_id?: string | undefined;
|
|
20082
20286
|
subcircuit_id?: string | undefined;
|
|
20083
20287
|
source_port_id?: string | undefined;
|
|
@@ -20085,6 +20289,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20085
20289
|
color?: string | undefined;
|
|
20086
20290
|
}, {
|
|
20087
20291
|
type: "simulation_voltage_probe";
|
|
20292
|
+
name?: string | undefined;
|
|
20088
20293
|
source_component_id?: string | undefined;
|
|
20089
20294
|
subcircuit_id?: string | undefined;
|
|
20090
20295
|
source_port_id?: string | undefined;
|
|
@@ -25664,6 +25869,61 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
25664
25869
|
pcb_board_id?: string | undefined;
|
|
25665
25870
|
pcb_panel_id?: string | undefined;
|
|
25666
25871
|
pcb_cutout_id?: string | undefined;
|
|
25872
|
+
}>, z.ZodObject<{
|
|
25873
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
25874
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
25875
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
25876
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
25877
|
+
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
25878
|
+
pcb_panel_id: z.ZodOptional<z.ZodString>;
|
|
25879
|
+
} & {
|
|
25880
|
+
shape: z.ZodLiteral<"path">;
|
|
25881
|
+
route: z.ZodArray<z.ZodObject<{
|
|
25882
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
25883
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
25884
|
+
}, "strip", z.ZodTypeAny, {
|
|
25885
|
+
x: number;
|
|
25886
|
+
y: number;
|
|
25887
|
+
}, {
|
|
25888
|
+
x: string | number;
|
|
25889
|
+
y: string | number;
|
|
25890
|
+
}>, "many">;
|
|
25891
|
+
slot_width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
25892
|
+
slot_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25893
|
+
space_between_slots: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25894
|
+
slot_corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25895
|
+
}, "strip", z.ZodTypeAny, {
|
|
25896
|
+
type: "pcb_cutout";
|
|
25897
|
+
shape: "path";
|
|
25898
|
+
route: {
|
|
25899
|
+
x: number;
|
|
25900
|
+
y: number;
|
|
25901
|
+
}[];
|
|
25902
|
+
pcb_cutout_id: string;
|
|
25903
|
+
slot_width: number;
|
|
25904
|
+
subcircuit_id?: string | undefined;
|
|
25905
|
+
pcb_group_id?: string | undefined;
|
|
25906
|
+
pcb_board_id?: string | undefined;
|
|
25907
|
+
pcb_panel_id?: string | undefined;
|
|
25908
|
+
slot_length?: number | undefined;
|
|
25909
|
+
space_between_slots?: number | undefined;
|
|
25910
|
+
slot_corner_radius?: number | undefined;
|
|
25911
|
+
}, {
|
|
25912
|
+
type: "pcb_cutout";
|
|
25913
|
+
shape: "path";
|
|
25914
|
+
route: {
|
|
25915
|
+
x: string | number;
|
|
25916
|
+
y: string | number;
|
|
25917
|
+
}[];
|
|
25918
|
+
slot_width: string | number;
|
|
25919
|
+
subcircuit_id?: string | undefined;
|
|
25920
|
+
pcb_group_id?: string | undefined;
|
|
25921
|
+
pcb_board_id?: string | undefined;
|
|
25922
|
+
pcb_panel_id?: string | undefined;
|
|
25923
|
+
pcb_cutout_id?: string | undefined;
|
|
25924
|
+
slot_length?: string | number | undefined;
|
|
25925
|
+
space_between_slots?: string | number | undefined;
|
|
25926
|
+
slot_corner_radius?: string | number | undefined;
|
|
25667
25927
|
}>]>, z.ZodObject<{
|
|
25668
25928
|
type: z.ZodLiteral<"pcb_ground_plane">;
|
|
25669
25929
|
pcb_ground_plane_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -27274,6 +27534,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27274
27534
|
type: z.ZodLiteral<"schematic_voltage_probe">;
|
|
27275
27535
|
schematic_voltage_probe_id: z.ZodString;
|
|
27276
27536
|
source_component_id: z.ZodOptional<z.ZodString>;
|
|
27537
|
+
name: z.ZodOptional<z.ZodString>;
|
|
27277
27538
|
position: z.ZodObject<{
|
|
27278
27539
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
27279
27540
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -27296,6 +27557,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27296
27557
|
y: number;
|
|
27297
27558
|
};
|
|
27298
27559
|
schematic_voltage_probe_id: string;
|
|
27560
|
+
name?: string | undefined;
|
|
27299
27561
|
source_component_id?: string | undefined;
|
|
27300
27562
|
subcircuit_id?: string | undefined;
|
|
27301
27563
|
color?: string | undefined;
|
|
@@ -27308,6 +27570,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27308
27570
|
y: string | number;
|
|
27309
27571
|
};
|
|
27310
27572
|
schematic_voltage_probe_id: string;
|
|
27573
|
+
name?: string | undefined;
|
|
27311
27574
|
source_component_id?: string | undefined;
|
|
27312
27575
|
subcircuit_id?: string | undefined;
|
|
27313
27576
|
color?: string | undefined;
|
|
@@ -27809,6 +28072,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27809
28072
|
type: z.ZodLiteral<"simulation_voltage_probe">;
|
|
27810
28073
|
simulation_voltage_probe_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
27811
28074
|
source_component_id: z.ZodOptional<z.ZodString>;
|
|
28075
|
+
name: z.ZodOptional<z.ZodString>;
|
|
27812
28076
|
source_port_id: z.ZodOptional<z.ZodString>;
|
|
27813
28077
|
source_net_id: z.ZodOptional<z.ZodString>;
|
|
27814
28078
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
@@ -27816,6 +28080,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27816
28080
|
}, "strip", z.ZodTypeAny, {
|
|
27817
28081
|
type: "simulation_voltage_probe";
|
|
27818
28082
|
simulation_voltage_probe_id: string;
|
|
28083
|
+
name?: string | undefined;
|
|
27819
28084
|
source_component_id?: string | undefined;
|
|
27820
28085
|
subcircuit_id?: string | undefined;
|
|
27821
28086
|
source_port_id?: string | undefined;
|
|
@@ -27823,6 +28088,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27823
28088
|
color?: string | undefined;
|
|
27824
28089
|
}, {
|
|
27825
28090
|
type: "simulation_voltage_probe";
|
|
28091
|
+
name?: string | undefined;
|
|
27826
28092
|
source_component_id?: string | undefined;
|
|
27827
28093
|
subcircuit_id?: string | undefined;
|
|
27828
28094
|
source_port_id?: string | undefined;
|
|
@@ -27832,6 +28098,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27832
28098
|
}>, {
|
|
27833
28099
|
type: "simulation_voltage_probe";
|
|
27834
28100
|
simulation_voltage_probe_id: string;
|
|
28101
|
+
name?: string | undefined;
|
|
27835
28102
|
source_component_id?: string | undefined;
|
|
27836
28103
|
subcircuit_id?: string | undefined;
|
|
27837
28104
|
source_port_id?: string | undefined;
|
|
@@ -27839,6 +28106,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27839
28106
|
color?: string | undefined;
|
|
27840
28107
|
}, {
|
|
27841
28108
|
type: "simulation_voltage_probe";
|
|
28109
|
+
name?: string | undefined;
|
|
27842
28110
|
source_component_id?: string | undefined;
|
|
27843
28111
|
subcircuit_id?: string | undefined;
|
|
27844
28112
|
source_port_id?: string | undefined;
|
|
@@ -27883,4 +28151,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
|
|
|
27883
28151
|
*/
|
|
27884
28152
|
type CircuitJson = AnyCircuitElement[];
|
|
27885
28153
|
|
|
27886
|
-
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type BRepShape, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExperimentType, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBCopperText, type PCBCourtyardOutline, type PCBCourtyardPolygon, type PCBCourtyardRect, type PCBFabricationNoteDimension, type PCBFabricationNotePath, type PCBFabricationNoteRect, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPanel, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbComponentInvalidLayerError, type PcbComponentInvalidLayerErrorInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCopperText, type PcbCopperTextInput, type PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardPolygon, type PcbCourtyardPolygonInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNoteDimension, type PcbFabricationNoteDimensionInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteRect, type PcbFabricationNoteRectInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircle, type PcbHoleCircleInput, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePill, type PcbHolePillInput, type PcbHolePillWithRectPad, type PcbHoleRect, type PcbHoleRectInput, type PcbHoleRotatedPill, type PcbHoleRotatedPillInput, type PcbHoleRotatedPillWithRectPad, type PcbHoleWithPolygonPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, type PcbNoteDimension, type PcbNoteDimensionInput, type PcbNoteLine, type PcbNoteLineInput, type PcbNotePath, type PcbNotePathInput, type PcbNoteRect, type PcbNoteRectInput, type PcbNoteText, type PcbNoteTextInput, type PcbPanel, type PcbPanelInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaClearanceError, type PcbViaClearanceErrorInput, type PcbViaInput, type Point, type Point3, type PointWithBulge, type Position, type Ring, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicArc, type SchematicArcInput, type SchematicBox, type SchematicBoxInput, type SchematicCircle, type SchematicCircleInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicRect, type SchematicRectInput, type SchematicSheet, type SchematicSheetInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationUnknownExperimentError, type SimulationUnknownExperimentErrorInput, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceBoard, type SourceBoardInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePinout, type SourceSimplePinoutInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceSimpleVoltageProbe, type SourceSimpleVoltageProbeInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type UnknownErrorFindingPart, type UnknownErrorFindingPartInput, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, brep_shape, cad_component, capacitance, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ms, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_component_invalid_layer_error, pcb_component_outside_board_error, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_copper_text, pcb_courtyard_outline, pcb_courtyard_polygon, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_dimension, pcb_fabrication_note_path, pcb_fabrication_note_rect, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_circle_shape, pcb_hole_oval_shape, pcb_hole_pill_shape, pcb_hole_rect_shape, pcb_hole_rotated_pill_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, pcb_note_dimension, pcb_note_line, pcb_note_path, pcb_note_rect, pcb_note_text, pcb_panel, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, pcb_via_clearance_error, point, point3, point_with_bulge, port_arrangement, position, position3, resistance, ring, rotation, route_hint_point, schematic_arc, schematic_box, schematic_circle, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_rect, schematic_sheet, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_experiment, simulation_switch, simulation_transient_voltage_graph, simulation_unknown_experiment_error, simulation_voltage_probe, simulation_voltage_source, size, source_board, source_component_base, source_failed_to_create_component_error, source_group, source_manually_placed_via, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_pinout, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_simple_voltage_probe, source_trace, source_trace_not_connected_error, supplier_name, time, timestamp, unknown_error_finding_part, visible_layer, voltage, wave_shape };
|
|
28154
|
+
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type BRepShape, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExperimentType, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBCopperText, type PCBCourtyardOutline, type PCBCourtyardPolygon, type PCBCourtyardRect, type PCBFabricationNoteDimension, type PCBFabricationNotePath, type PCBFabricationNoteRect, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPanel, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbComponentInvalidLayerError, type PcbComponentInvalidLayerErrorInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCopperText, type PcbCopperTextInput, type PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardPolygon, type PcbCourtyardPolygonInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPath, type PcbCutoutPathInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNoteDimension, type PcbFabricationNoteDimensionInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteRect, type PcbFabricationNoteRectInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircle, type PcbHoleCircleInput, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePill, type PcbHolePillInput, type PcbHolePillWithRectPad, type PcbHoleRect, type PcbHoleRectInput, type PcbHoleRotatedPill, type PcbHoleRotatedPillInput, type PcbHoleRotatedPillWithRectPad, type PcbHoleWithPolygonPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, type PcbNoteDimension, type PcbNoteDimensionInput, type PcbNoteLine, type PcbNoteLineInput, type PcbNotePath, type PcbNotePathInput, type PcbNoteRect, type PcbNoteRectInput, type PcbNoteText, type PcbNoteTextInput, type PcbPanel, type PcbPanelInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaClearanceError, type PcbViaClearanceErrorInput, type PcbViaInput, type Point, type Point3, type PointWithBulge, type Position, type Ring, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicArc, type SchematicArcInput, type SchematicBox, type SchematicBoxInput, type SchematicCircle, type SchematicCircleInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicRect, type SchematicRectInput, type SchematicSheet, type SchematicSheetInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationUnknownExperimentError, type SimulationUnknownExperimentErrorInput, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceBoard, type SourceBoardInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePinout, type SourceSimplePinoutInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceSimpleVoltageProbe, type SourceSimpleVoltageProbeInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type UnknownErrorFindingPart, type UnknownErrorFindingPartInput, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, brep_shape, cad_component, capacitance, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ms, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_component_invalid_layer_error, pcb_component_outside_board_error, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_copper_text, pcb_courtyard_outline, pcb_courtyard_polygon, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_path, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_dimension, pcb_fabrication_note_path, pcb_fabrication_note_rect, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_circle_shape, pcb_hole_oval_shape, pcb_hole_pill_shape, pcb_hole_rect_shape, pcb_hole_rotated_pill_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, pcb_note_dimension, pcb_note_line, pcb_note_path, pcb_note_rect, pcb_note_text, pcb_panel, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, pcb_via_clearance_error, point, point3, point_with_bulge, port_arrangement, position, position3, resistance, ring, rotation, route_hint_point, schematic_arc, schematic_box, schematic_circle, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_rect, schematic_sheet, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_experiment, simulation_switch, simulation_transient_voltage_graph, simulation_unknown_experiment_error, simulation_voltage_probe, simulation_voltage_source, size, source_board, source_component_base, source_failed_to_create_component_error, source_group, source_manually_placed_via, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_pinout, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_simple_voltage_probe, source_trace, source_trace_not_connected_error, supplier_name, time, timestamp, unknown_error_finding_part, visible_layer, voltage, wave_shape };
|
package/dist/index.mjs
CHANGED
|
@@ -1133,6 +1133,7 @@ var schematic_voltage_probe = z61.object({
|
|
|
1133
1133
|
type: z61.literal("schematic_voltage_probe"),
|
|
1134
1134
|
schematic_voltage_probe_id: z61.string(),
|
|
1135
1135
|
source_component_id: z61.string().optional(),
|
|
1136
|
+
name: z61.string().optional(),
|
|
1136
1137
|
position: point,
|
|
1137
1138
|
schematic_trace_id: z61.string(),
|
|
1138
1139
|
voltage: voltage.optional(),
|
|
@@ -2373,10 +2374,20 @@ var pcb_cutout_polygon = pcb_cutout_base.extend({
|
|
|
2373
2374
|
points: z106.array(point)
|
|
2374
2375
|
});
|
|
2375
2376
|
expectTypesMatch(true);
|
|
2377
|
+
var pcb_cutout_path = pcb_cutout_base.extend({
|
|
2378
|
+
shape: z106.literal("path"),
|
|
2379
|
+
route: z106.array(point),
|
|
2380
|
+
slot_width: length,
|
|
2381
|
+
slot_length: length.optional(),
|
|
2382
|
+
space_between_slots: length.optional(),
|
|
2383
|
+
slot_corner_radius: length.optional()
|
|
2384
|
+
});
|
|
2385
|
+
expectTypesMatch(true);
|
|
2376
2386
|
var pcb_cutout = z106.discriminatedUnion("shape", [
|
|
2377
2387
|
pcb_cutout_rect,
|
|
2378
2388
|
pcb_cutout_circle,
|
|
2379
|
-
pcb_cutout_polygon
|
|
2389
|
+
pcb_cutout_polygon,
|
|
2390
|
+
pcb_cutout_path
|
|
2380
2391
|
]).describe("Defines a cutout on the PCB, removing board material.");
|
|
2381
2392
|
expectTypesMatch(true);
|
|
2382
2393
|
|
|
@@ -2830,6 +2841,7 @@ var simulation_voltage_probe = z129.object({
|
|
|
2830
2841
|
"simulation_voltage_probe"
|
|
2831
2842
|
),
|
|
2832
2843
|
source_component_id: z129.string().optional(),
|
|
2844
|
+
name: z129.string().optional(),
|
|
2833
2845
|
source_port_id: z129.string().optional(),
|
|
2834
2846
|
source_net_id: z129.string().optional(),
|
|
2835
2847
|
subcircuit_id: z129.string().optional(),
|
|
@@ -3014,6 +3026,7 @@ export {
|
|
|
3014
3026
|
pcb_courtyard_rect,
|
|
3015
3027
|
pcb_cutout,
|
|
3016
3028
|
pcb_cutout_circle,
|
|
3029
|
+
pcb_cutout_path,
|
|
3017
3030
|
pcb_cutout_polygon,
|
|
3018
3031
|
pcb_cutout_rect,
|
|
3019
3032
|
pcb_fabrication_note_dimension,
|