circuit-json 0.0.280 → 0.0.282
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 +1 -0
- package/dist/index.d.mts +30 -0
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2445,6 +2445,7 @@ interface SimulationTransientVoltageGraph {
|
|
|
2445
2445
|
timestamps_ms?: number[]
|
|
2446
2446
|
voltage_levels: number[]
|
|
2447
2447
|
schematic_voltage_probe_id?: string
|
|
2448
|
+
simulation_voltage_probe_id?: string
|
|
2448
2449
|
subcircuit_connectivity_map_key?: string
|
|
2449
2450
|
time_per_step: number
|
|
2450
2451
|
start_time_ms: number
|
package/dist/index.d.mts
CHANGED
|
@@ -1548,6 +1548,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1548
1548
|
width: z.ZodNumber;
|
|
1549
1549
|
height: z.ZodNumber;
|
|
1550
1550
|
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
1551
|
+
corner_radius: z.ZodOptional<z.ZodNumber>;
|
|
1551
1552
|
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
1552
1553
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
1553
1554
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1577,6 +1578,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1577
1578
|
pcb_port_id?: string | undefined;
|
|
1578
1579
|
rect_border_radius?: number | undefined;
|
|
1579
1580
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
1581
|
+
corner_radius?: number | undefined;
|
|
1580
1582
|
}, {
|
|
1581
1583
|
x: string | number;
|
|
1582
1584
|
y: string | number;
|
|
@@ -1595,6 +1597,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1595
1597
|
rect_border_radius?: number | undefined;
|
|
1596
1598
|
pcb_smtpad_id?: string | undefined;
|
|
1597
1599
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
1600
|
+
corner_radius?: number | undefined;
|
|
1598
1601
|
}>, z.ZodObject<{
|
|
1599
1602
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
1600
1603
|
shape: z.ZodLiteral<"rotated_rect">;
|
|
@@ -1606,6 +1609,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1606
1609
|
width: z.ZodNumber;
|
|
1607
1610
|
height: z.ZodNumber;
|
|
1608
1611
|
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
1612
|
+
corner_radius: z.ZodOptional<z.ZodNumber>;
|
|
1609
1613
|
ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1610
1614
|
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
1611
1615
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
@@ -1637,6 +1641,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1637
1641
|
pcb_port_id?: string | undefined;
|
|
1638
1642
|
rect_border_radius?: number | undefined;
|
|
1639
1643
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
1644
|
+
corner_radius?: number | undefined;
|
|
1640
1645
|
}, {
|
|
1641
1646
|
x: string | number;
|
|
1642
1647
|
y: string | number;
|
|
@@ -1656,6 +1661,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1656
1661
|
rect_border_radius?: number | undefined;
|
|
1657
1662
|
pcb_smtpad_id?: string | undefined;
|
|
1658
1663
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
1664
|
+
corner_radius?: number | undefined;
|
|
1659
1665
|
}>, z.ZodObject<{
|
|
1660
1666
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
1661
1667
|
shape: z.ZodLiteral<"rotated_pill">;
|
|
@@ -1870,6 +1876,7 @@ interface PcbSmtPadRect {
|
|
|
1870
1876
|
width: number;
|
|
1871
1877
|
height: number;
|
|
1872
1878
|
rect_border_radius?: number;
|
|
1879
|
+
corner_radius?: number;
|
|
1873
1880
|
layer: LayerRef;
|
|
1874
1881
|
port_hints?: string[];
|
|
1875
1882
|
pcb_component_id?: string;
|
|
@@ -1890,6 +1897,7 @@ interface PcbSmtPadRotatedRect {
|
|
|
1890
1897
|
width: number;
|
|
1891
1898
|
height: number;
|
|
1892
1899
|
rect_border_radius?: number;
|
|
1900
|
+
corner_radius?: number;
|
|
1893
1901
|
ccw_rotation: Rotation;
|
|
1894
1902
|
layer: LayerRef;
|
|
1895
1903
|
port_hints?: string[];
|
|
@@ -11206,6 +11214,7 @@ interface SimulationTransientVoltageGraph {
|
|
|
11206
11214
|
timestamps_ms?: number[];
|
|
11207
11215
|
voltage_levels: number[];
|
|
11208
11216
|
schematic_voltage_probe_id?: string;
|
|
11217
|
+
simulation_voltage_probe_id?: string;
|
|
11209
11218
|
subcircuit_connectivity_map_key?: string;
|
|
11210
11219
|
time_per_step: number;
|
|
11211
11220
|
start_time_ms: number;
|
|
@@ -11219,6 +11228,7 @@ declare const simulation_transient_voltage_graph: z.ZodObject<{
|
|
|
11219
11228
|
timestamps_ms: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
11220
11229
|
voltage_levels: z.ZodArray<z.ZodNumber, "many">;
|
|
11221
11230
|
schematic_voltage_probe_id: z.ZodOptional<z.ZodString>;
|
|
11231
|
+
simulation_voltage_probe_id: z.ZodOptional<z.ZodString>;
|
|
11222
11232
|
subcircuit_connectivity_map_key: z.ZodOptional<z.ZodString>;
|
|
11223
11233
|
time_per_step: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11224
11234
|
start_time_ms: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -11236,6 +11246,7 @@ declare const simulation_transient_voltage_graph: z.ZodObject<{
|
|
|
11236
11246
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
11237
11247
|
schematic_voltage_probe_id?: string | undefined;
|
|
11238
11248
|
timestamps_ms?: number[] | undefined;
|
|
11249
|
+
simulation_voltage_probe_id?: string | undefined;
|
|
11239
11250
|
}, {
|
|
11240
11251
|
type: "simulation_transient_voltage_graph";
|
|
11241
11252
|
simulation_experiment_id: string;
|
|
@@ -11248,6 +11259,7 @@ declare const simulation_transient_voltage_graph: z.ZodObject<{
|
|
|
11248
11259
|
schematic_voltage_probe_id?: string | undefined;
|
|
11249
11260
|
simulation_transient_voltage_graph_id?: string | undefined;
|
|
11250
11261
|
timestamps_ms?: number[] | undefined;
|
|
11262
|
+
simulation_voltage_probe_id?: string | undefined;
|
|
11251
11263
|
}>;
|
|
11252
11264
|
type SimulationTransientVoltageGraphInput = z.input<typeof simulation_transient_voltage_graph>;
|
|
11253
11265
|
|
|
@@ -14412,6 +14424,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14412
14424
|
width: z.ZodNumber;
|
|
14413
14425
|
height: z.ZodNumber;
|
|
14414
14426
|
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
14427
|
+
corner_radius: z.ZodOptional<z.ZodNumber>;
|
|
14415
14428
|
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
14416
14429
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
14417
14430
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -14441,6 +14454,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14441
14454
|
pcb_port_id?: string | undefined;
|
|
14442
14455
|
rect_border_radius?: number | undefined;
|
|
14443
14456
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
14457
|
+
corner_radius?: number | undefined;
|
|
14444
14458
|
}, {
|
|
14445
14459
|
x: string | number;
|
|
14446
14460
|
y: string | number;
|
|
@@ -14459,6 +14473,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14459
14473
|
rect_border_radius?: number | undefined;
|
|
14460
14474
|
pcb_smtpad_id?: string | undefined;
|
|
14461
14475
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
14476
|
+
corner_radius?: number | undefined;
|
|
14462
14477
|
}>, z.ZodObject<{
|
|
14463
14478
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
14464
14479
|
shape: z.ZodLiteral<"rotated_rect">;
|
|
@@ -14470,6 +14485,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14470
14485
|
width: z.ZodNumber;
|
|
14471
14486
|
height: z.ZodNumber;
|
|
14472
14487
|
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
14488
|
+
corner_radius: z.ZodOptional<z.ZodNumber>;
|
|
14473
14489
|
ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
14474
14490
|
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
14475
14491
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
@@ -14501,6 +14517,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14501
14517
|
pcb_port_id?: string | undefined;
|
|
14502
14518
|
rect_border_radius?: number | undefined;
|
|
14503
14519
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
14520
|
+
corner_radius?: number | undefined;
|
|
14504
14521
|
}, {
|
|
14505
14522
|
x: string | number;
|
|
14506
14523
|
y: string | number;
|
|
@@ -14520,6 +14537,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14520
14537
|
rect_border_radius?: number | undefined;
|
|
14521
14538
|
pcb_smtpad_id?: string | undefined;
|
|
14522
14539
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
14540
|
+
corner_radius?: number | undefined;
|
|
14523
14541
|
}>, z.ZodObject<{
|
|
14524
14542
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
14525
14543
|
shape: z.ZodLiteral<"rotated_pill">;
|
|
@@ -18387,6 +18405,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18387
18405
|
timestamps_ms: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
18388
18406
|
voltage_levels: z.ZodArray<z.ZodNumber, "many">;
|
|
18389
18407
|
schematic_voltage_probe_id: z.ZodOptional<z.ZodString>;
|
|
18408
|
+
simulation_voltage_probe_id: z.ZodOptional<z.ZodString>;
|
|
18390
18409
|
subcircuit_connectivity_map_key: z.ZodOptional<z.ZodString>;
|
|
18391
18410
|
time_per_step: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
18392
18411
|
start_time_ms: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -18404,6 +18423,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18404
18423
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
18405
18424
|
schematic_voltage_probe_id?: string | undefined;
|
|
18406
18425
|
timestamps_ms?: number[] | undefined;
|
|
18426
|
+
simulation_voltage_probe_id?: string | undefined;
|
|
18407
18427
|
}, {
|
|
18408
18428
|
type: "simulation_transient_voltage_graph";
|
|
18409
18429
|
simulation_experiment_id: string;
|
|
@@ -18416,6 +18436,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18416
18436
|
schematic_voltage_probe_id?: string | undefined;
|
|
18417
18437
|
simulation_transient_voltage_graph_id?: string | undefined;
|
|
18418
18438
|
timestamps_ms?: number[] | undefined;
|
|
18439
|
+
simulation_voltage_probe_id?: string | undefined;
|
|
18419
18440
|
}>, z.ZodObject<{
|
|
18420
18441
|
type: z.ZodLiteral<"simulation_switch">;
|
|
18421
18442
|
simulation_switch_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -21556,6 +21577,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21556
21577
|
width: z.ZodNumber;
|
|
21557
21578
|
height: z.ZodNumber;
|
|
21558
21579
|
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
21580
|
+
corner_radius: z.ZodOptional<z.ZodNumber>;
|
|
21559
21581
|
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
21560
21582
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
21561
21583
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -21585,6 +21607,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21585
21607
|
pcb_port_id?: string | undefined;
|
|
21586
21608
|
rect_border_radius?: number | undefined;
|
|
21587
21609
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
21610
|
+
corner_radius?: number | undefined;
|
|
21588
21611
|
}, {
|
|
21589
21612
|
x: string | number;
|
|
21590
21613
|
y: string | number;
|
|
@@ -21603,6 +21626,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21603
21626
|
rect_border_radius?: number | undefined;
|
|
21604
21627
|
pcb_smtpad_id?: string | undefined;
|
|
21605
21628
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
21629
|
+
corner_radius?: number | undefined;
|
|
21606
21630
|
}>, z.ZodObject<{
|
|
21607
21631
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
21608
21632
|
shape: z.ZodLiteral<"rotated_rect">;
|
|
@@ -21614,6 +21638,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21614
21638
|
width: z.ZodNumber;
|
|
21615
21639
|
height: z.ZodNumber;
|
|
21616
21640
|
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
21641
|
+
corner_radius: z.ZodOptional<z.ZodNumber>;
|
|
21617
21642
|
ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
21618
21643
|
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
21619
21644
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
@@ -21645,6 +21670,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21645
21670
|
pcb_port_id?: string | undefined;
|
|
21646
21671
|
rect_border_radius?: number | undefined;
|
|
21647
21672
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
21673
|
+
corner_radius?: number | undefined;
|
|
21648
21674
|
}, {
|
|
21649
21675
|
x: string | number;
|
|
21650
21676
|
y: string | number;
|
|
@@ -21664,6 +21690,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21664
21690
|
rect_border_radius?: number | undefined;
|
|
21665
21691
|
pcb_smtpad_id?: string | undefined;
|
|
21666
21692
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
21693
|
+
corner_radius?: number | undefined;
|
|
21667
21694
|
}>, z.ZodObject<{
|
|
21668
21695
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
21669
21696
|
shape: z.ZodLiteral<"rotated_pill">;
|
|
@@ -25531,6 +25558,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
25531
25558
|
timestamps_ms: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
25532
25559
|
voltage_levels: z.ZodArray<z.ZodNumber, "many">;
|
|
25533
25560
|
schematic_voltage_probe_id: z.ZodOptional<z.ZodString>;
|
|
25561
|
+
simulation_voltage_probe_id: z.ZodOptional<z.ZodString>;
|
|
25534
25562
|
subcircuit_connectivity_map_key: z.ZodOptional<z.ZodString>;
|
|
25535
25563
|
time_per_step: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
25536
25564
|
start_time_ms: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -25548,6 +25576,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
25548
25576
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
25549
25577
|
schematic_voltage_probe_id?: string | undefined;
|
|
25550
25578
|
timestamps_ms?: number[] | undefined;
|
|
25579
|
+
simulation_voltage_probe_id?: string | undefined;
|
|
25551
25580
|
}, {
|
|
25552
25581
|
type: "simulation_transient_voltage_graph";
|
|
25553
25582
|
simulation_experiment_id: string;
|
|
@@ -25560,6 +25589,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
25560
25589
|
schematic_voltage_probe_id?: string | undefined;
|
|
25561
25590
|
simulation_transient_voltage_graph_id?: string | undefined;
|
|
25562
25591
|
timestamps_ms?: number[] | undefined;
|
|
25592
|
+
simulation_voltage_probe_id?: string | undefined;
|
|
25563
25593
|
}>, z.ZodObject<{
|
|
25564
25594
|
type: z.ZodLiteral<"simulation_switch">;
|
|
25565
25595
|
simulation_switch_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
package/dist/index.mjs
CHANGED
|
@@ -1473,6 +1473,7 @@ var pcb_smtpad_rect = z71.object({
|
|
|
1473
1473
|
width: z71.number(),
|
|
1474
1474
|
height: z71.number(),
|
|
1475
1475
|
rect_border_radius: z71.number().optional(),
|
|
1476
|
+
corner_radius: z71.number().optional(),
|
|
1476
1477
|
layer: layer_ref,
|
|
1477
1478
|
port_hints: z71.array(z71.string()).optional(),
|
|
1478
1479
|
pcb_component_id: z71.string().optional(),
|
|
@@ -1490,6 +1491,7 @@ var pcb_smtpad_rotated_rect = z71.object({
|
|
|
1490
1491
|
width: z71.number(),
|
|
1491
1492
|
height: z71.number(),
|
|
1492
1493
|
rect_border_radius: z71.number().optional(),
|
|
1494
|
+
corner_radius: z71.number().optional(),
|
|
1493
1495
|
ccw_rotation: rotation,
|
|
1494
1496
|
layer: layer_ref,
|
|
1495
1497
|
port_hints: z71.array(z71.string()).optional(),
|
|
@@ -2593,6 +2595,7 @@ var simulation_transient_voltage_graph = z120.object({
|
|
|
2593
2595
|
timestamps_ms: z120.array(z120.number()).optional(),
|
|
2594
2596
|
voltage_levels: z120.array(z120.number()),
|
|
2595
2597
|
schematic_voltage_probe_id: z120.string().optional(),
|
|
2598
|
+
simulation_voltage_probe_id: z120.string().optional(),
|
|
2596
2599
|
subcircuit_connectivity_map_key: z120.string().optional(),
|
|
2597
2600
|
time_per_step: duration_ms,
|
|
2598
2601
|
start_time_ms: ms,
|