circuit-json 0.0.492 → 0.0.493
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 +18 -0
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3061,6 +3061,8 @@ interface PcbVia {
|
|
|
3061
3061
|
/** @deprecated */
|
|
3062
3062
|
to_layer?: LayerRef
|
|
3063
3063
|
layers: LayerRef[]
|
|
3064
|
+
/** PCB ports belonging to this via, including layer ports and aliases. */
|
|
3065
|
+
pcb_port_ids?: string[]
|
|
3064
3066
|
pcb_trace_id?: string
|
|
3065
3067
|
net_is_assignable?: boolean
|
|
3066
3068
|
net_assigned?: boolean
|
package/dist/index.d.mts
CHANGED
|
@@ -8505,6 +8505,8 @@ declare const pcb_via: z.ZodEffects<z.ZodObject<{
|
|
|
8505
8505
|
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
|
|
8506
8506
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
8507
8507
|
}>, "many">;
|
|
8508
|
+
/** PCB ports belonging to this via, including layer ports and aliases. */
|
|
8509
|
+
pcb_port_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8508
8510
|
pcb_trace_id: z.ZodOptional<z.ZodString>;
|
|
8509
8511
|
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
8510
8512
|
source_net_id: z.ZodOptional<z.ZodString>;
|
|
@@ -8530,6 +8532,7 @@ declare const pcb_via: z.ZodEffects<z.ZodObject<{
|
|
|
8530
8532
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
|
|
8531
8533
|
source_trace_id?: string | undefined;
|
|
8532
8534
|
pcb_trace_id?: string | undefined;
|
|
8535
|
+
pcb_port_ids?: string[] | undefined;
|
|
8533
8536
|
source_net_id?: string | undefined;
|
|
8534
8537
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
8535
8538
|
net_is_assignable?: boolean | undefined;
|
|
@@ -8556,6 +8559,7 @@ declare const pcb_via: z.ZodEffects<z.ZodObject<{
|
|
|
8556
8559
|
} | undefined;
|
|
8557
8560
|
source_trace_id?: string | undefined;
|
|
8558
8561
|
pcb_trace_id?: string | undefined;
|
|
8562
|
+
pcb_port_ids?: string[] | undefined;
|
|
8559
8563
|
source_net_id?: string | undefined;
|
|
8560
8564
|
pcb_via_id?: string | undefined;
|
|
8561
8565
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
@@ -8578,6 +8582,7 @@ declare const pcb_via: z.ZodEffects<z.ZodObject<{
|
|
|
8578
8582
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
|
|
8579
8583
|
source_trace_id?: string | undefined;
|
|
8580
8584
|
pcb_trace_id?: string | undefined;
|
|
8585
|
+
pcb_port_ids?: string[] | undefined;
|
|
8581
8586
|
source_net_id?: string | undefined;
|
|
8582
8587
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
8583
8588
|
net_is_assignable?: boolean | undefined;
|
|
@@ -8603,6 +8608,7 @@ declare const pcb_via: z.ZodEffects<z.ZodObject<{
|
|
|
8603
8608
|
} | undefined;
|
|
8604
8609
|
source_trace_id?: string | undefined;
|
|
8605
8610
|
pcb_trace_id?: string | undefined;
|
|
8611
|
+
pcb_port_ids?: string[] | undefined;
|
|
8606
8612
|
source_net_id?: string | undefined;
|
|
8607
8613
|
pcb_via_id?: string | undefined;
|
|
8608
8614
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
@@ -8629,6 +8635,8 @@ interface PcbVia {
|
|
|
8629
8635
|
/** @deprecated */
|
|
8630
8636
|
to_layer?: LayerRef;
|
|
8631
8637
|
layers: LayerRef[];
|
|
8638
|
+
/** PCB ports belonging to this via, including layer ports and aliases. */
|
|
8639
|
+
pcb_port_ids?: string[];
|
|
8632
8640
|
pcb_trace_id?: string;
|
|
8633
8641
|
source_trace_id?: string;
|
|
8634
8642
|
source_net_id?: string;
|
|
@@ -43748,6 +43756,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43748
43756
|
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
|
|
43749
43757
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
43750
43758
|
}>, "many">;
|
|
43759
|
+
pcb_port_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
43751
43760
|
pcb_trace_id: z.ZodOptional<z.ZodString>;
|
|
43752
43761
|
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
43753
43762
|
source_net_id: z.ZodOptional<z.ZodString>;
|
|
@@ -43772,6 +43781,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43772
43781
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
|
|
43773
43782
|
source_trace_id?: string | undefined;
|
|
43774
43783
|
pcb_trace_id?: string | undefined;
|
|
43784
|
+
pcb_port_ids?: string[] | undefined;
|
|
43775
43785
|
source_net_id?: string | undefined;
|
|
43776
43786
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
43777
43787
|
net_is_assignable?: boolean | undefined;
|
|
@@ -43798,6 +43808,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43798
43808
|
} | undefined;
|
|
43799
43809
|
source_trace_id?: string | undefined;
|
|
43800
43810
|
pcb_trace_id?: string | undefined;
|
|
43811
|
+
pcb_port_ids?: string[] | undefined;
|
|
43801
43812
|
source_net_id?: string | undefined;
|
|
43802
43813
|
pcb_via_id?: string | undefined;
|
|
43803
43814
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
@@ -43820,6 +43831,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43820
43831
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
|
|
43821
43832
|
source_trace_id?: string | undefined;
|
|
43822
43833
|
pcb_trace_id?: string | undefined;
|
|
43834
|
+
pcb_port_ids?: string[] | undefined;
|
|
43823
43835
|
source_net_id?: string | undefined;
|
|
43824
43836
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
43825
43837
|
net_is_assignable?: boolean | undefined;
|
|
@@ -43845,6 +43857,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43845
43857
|
} | undefined;
|
|
43846
43858
|
source_trace_id?: string | undefined;
|
|
43847
43859
|
pcb_trace_id?: string | undefined;
|
|
43860
|
+
pcb_port_ids?: string[] | undefined;
|
|
43848
43861
|
source_net_id?: string | undefined;
|
|
43849
43862
|
pcb_via_id?: string | undefined;
|
|
43850
43863
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
@@ -64464,6 +64477,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
64464
64477
|
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
|
|
64465
64478
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
64466
64479
|
}>, "many">;
|
|
64480
|
+
pcb_port_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
64467
64481
|
pcb_trace_id: z.ZodOptional<z.ZodString>;
|
|
64468
64482
|
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
64469
64483
|
source_net_id: z.ZodOptional<z.ZodString>;
|
|
@@ -64488,6 +64502,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
64488
64502
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
|
|
64489
64503
|
source_trace_id?: string | undefined;
|
|
64490
64504
|
pcb_trace_id?: string | undefined;
|
|
64505
|
+
pcb_port_ids?: string[] | undefined;
|
|
64491
64506
|
source_net_id?: string | undefined;
|
|
64492
64507
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
64493
64508
|
net_is_assignable?: boolean | undefined;
|
|
@@ -64514,6 +64529,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
64514
64529
|
} | undefined;
|
|
64515
64530
|
source_trace_id?: string | undefined;
|
|
64516
64531
|
pcb_trace_id?: string | undefined;
|
|
64532
|
+
pcb_port_ids?: string[] | undefined;
|
|
64517
64533
|
source_net_id?: string | undefined;
|
|
64518
64534
|
pcb_via_id?: string | undefined;
|
|
64519
64535
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
@@ -64536,6 +64552,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
64536
64552
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
|
|
64537
64553
|
source_trace_id?: string | undefined;
|
|
64538
64554
|
pcb_trace_id?: string | undefined;
|
|
64555
|
+
pcb_port_ids?: string[] | undefined;
|
|
64539
64556
|
source_net_id?: string | undefined;
|
|
64540
64557
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
64541
64558
|
net_is_assignable?: boolean | undefined;
|
|
@@ -64561,6 +64578,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
64561
64578
|
} | undefined;
|
|
64562
64579
|
source_trace_id?: string | undefined;
|
|
64563
64580
|
pcb_trace_id?: string | undefined;
|
|
64581
|
+
pcb_port_ids?: string[] | undefined;
|
|
64564
64582
|
source_net_id?: string | undefined;
|
|
64565
64583
|
pcb_via_id?: string | undefined;
|
|
64566
64584
|
subcircuit_connectivity_map_key?: string | undefined;
|
package/dist/index.mjs
CHANGED
|
@@ -2749,6 +2749,8 @@ var pcb_via = z127.object({
|
|
|
2749
2749
|
/** @deprecated */
|
|
2750
2750
|
to_layer: layer_ref.optional(),
|
|
2751
2751
|
layers: z127.array(layer_ref),
|
|
2752
|
+
/** PCB ports belonging to this via, including layer ports and aliases. */
|
|
2753
|
+
pcb_port_ids: z127.array(z127.string()).optional(),
|
|
2752
2754
|
pcb_trace_id: z127.string().optional(),
|
|
2753
2755
|
source_trace_id: z127.string().optional(),
|
|
2754
2756
|
source_net_id: z127.string().min(1).optional(),
|