circuit-json 0.0.304 → 0.0.306
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 +16 -6
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -3154,6 +3154,7 @@ declare const pcb_via: z.ZodObject<{
|
|
|
3154
3154
|
pcb_via_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3155
3155
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3156
3156
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3157
|
+
subcircuit_connectivity_map_key: z.ZodOptional<z.ZodString>;
|
|
3157
3158
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3158
3159
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3159
3160
|
outer_diameter: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -3203,6 +3204,7 @@ declare const pcb_via: z.ZodObject<{
|
|
|
3203
3204
|
pcb_group_id?: string | undefined;
|
|
3204
3205
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3205
3206
|
pcb_trace_id?: string | undefined;
|
|
3207
|
+
subcircuit_connectivity_map_key?: string | undefined;
|
|
3206
3208
|
net_is_assignable?: boolean | undefined;
|
|
3207
3209
|
net_assigned?: boolean | undefined;
|
|
3208
3210
|
}, {
|
|
@@ -3224,6 +3226,7 @@ declare const pcb_via: z.ZodObject<{
|
|
|
3224
3226
|
} | undefined;
|
|
3225
3227
|
pcb_trace_id?: string | undefined;
|
|
3226
3228
|
pcb_via_id?: string | undefined;
|
|
3229
|
+
subcircuit_connectivity_map_key?: string | undefined;
|
|
3227
3230
|
net_is_assignable?: boolean | undefined;
|
|
3228
3231
|
net_assigned?: boolean | undefined;
|
|
3229
3232
|
}>;
|
|
@@ -3236,6 +3239,7 @@ interface PcbVia {
|
|
|
3236
3239
|
pcb_via_id: string;
|
|
3237
3240
|
pcb_group_id?: string;
|
|
3238
3241
|
subcircuit_id?: string;
|
|
3242
|
+
subcircuit_connectivity_map_key?: string;
|
|
3239
3243
|
x: Distance;
|
|
3240
3244
|
y: Distance;
|
|
3241
3245
|
outer_diameter: Distance;
|
|
@@ -11633,8 +11637,8 @@ declare const source_port: z.ZodObject<{
|
|
|
11633
11637
|
source_component_id?: string | undefined;
|
|
11634
11638
|
subcircuit_id?: string | undefined;
|
|
11635
11639
|
port_hints?: string[] | undefined;
|
|
11636
|
-
source_group_id?: string | undefined;
|
|
11637
11640
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
11641
|
+
source_group_id?: string | undefined;
|
|
11638
11642
|
pin_number?: number | undefined;
|
|
11639
11643
|
}, {
|
|
11640
11644
|
type: "source_port";
|
|
@@ -11643,8 +11647,8 @@ declare const source_port: z.ZodObject<{
|
|
|
11643
11647
|
source_component_id?: string | undefined;
|
|
11644
11648
|
subcircuit_id?: string | undefined;
|
|
11645
11649
|
port_hints?: string[] | undefined;
|
|
11646
|
-
source_group_id?: string | undefined;
|
|
11647
11650
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
11651
|
+
source_group_id?: string | undefined;
|
|
11648
11652
|
pin_number?: number | undefined;
|
|
11649
11653
|
}>;
|
|
11650
11654
|
type SourcePortInput = z.input<typeof source_port>;
|
|
@@ -12139,8 +12143,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12139
12143
|
source_component_id?: string | undefined;
|
|
12140
12144
|
subcircuit_id?: string | undefined;
|
|
12141
12145
|
port_hints?: string[] | undefined;
|
|
12142
|
-
source_group_id?: string | undefined;
|
|
12143
12146
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
12147
|
+
source_group_id?: string | undefined;
|
|
12144
12148
|
pin_number?: number | undefined;
|
|
12145
12149
|
}, {
|
|
12146
12150
|
type: "source_port";
|
|
@@ -12149,8 +12153,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12149
12153
|
source_component_id?: string | undefined;
|
|
12150
12154
|
subcircuit_id?: string | undefined;
|
|
12151
12155
|
port_hints?: string[] | undefined;
|
|
12152
|
-
source_group_id?: string | undefined;
|
|
12153
12156
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
12157
|
+
source_group_id?: string | undefined;
|
|
12154
12158
|
pin_number?: number | undefined;
|
|
12155
12159
|
}>, z.ZodUnion<[z.ZodObject<{
|
|
12156
12160
|
type: z.ZodLiteral<"source_component">;
|
|
@@ -15132,6 +15136,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15132
15136
|
pcb_via_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15133
15137
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
15134
15138
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15139
|
+
subcircuit_connectivity_map_key: z.ZodOptional<z.ZodString>;
|
|
15135
15140
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15136
15141
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15137
15142
|
outer_diameter: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -15179,6 +15184,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15179
15184
|
pcb_group_id?: string | undefined;
|
|
15180
15185
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
15181
15186
|
pcb_trace_id?: string | undefined;
|
|
15187
|
+
subcircuit_connectivity_map_key?: string | undefined;
|
|
15182
15188
|
net_is_assignable?: boolean | undefined;
|
|
15183
15189
|
net_assigned?: boolean | undefined;
|
|
15184
15190
|
}, {
|
|
@@ -15200,6 +15206,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15200
15206
|
} | undefined;
|
|
15201
15207
|
pcb_trace_id?: string | undefined;
|
|
15202
15208
|
pcb_via_id?: string | undefined;
|
|
15209
|
+
subcircuit_connectivity_map_key?: string | undefined;
|
|
15203
15210
|
net_is_assignable?: boolean | undefined;
|
|
15204
15211
|
net_assigned?: boolean | undefined;
|
|
15205
15212
|
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
@@ -19724,8 +19731,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19724
19731
|
source_component_id?: string | undefined;
|
|
19725
19732
|
subcircuit_id?: string | undefined;
|
|
19726
19733
|
port_hints?: string[] | undefined;
|
|
19727
|
-
source_group_id?: string | undefined;
|
|
19728
19734
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
19735
|
+
source_group_id?: string | undefined;
|
|
19729
19736
|
pin_number?: number | undefined;
|
|
19730
19737
|
}, {
|
|
19731
19738
|
type: "source_port";
|
|
@@ -19734,8 +19741,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19734
19741
|
source_component_id?: string | undefined;
|
|
19735
19742
|
subcircuit_id?: string | undefined;
|
|
19736
19743
|
port_hints?: string[] | undefined;
|
|
19737
|
-
source_group_id?: string | undefined;
|
|
19738
19744
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
19745
|
+
source_group_id?: string | undefined;
|
|
19739
19746
|
pin_number?: number | undefined;
|
|
19740
19747
|
}>, z.ZodUnion<[z.ZodObject<{
|
|
19741
19748
|
type: z.ZodLiteral<"source_component">;
|
|
@@ -22717,6 +22724,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22717
22724
|
pcb_via_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
22718
22725
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
22719
22726
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
22727
|
+
subcircuit_connectivity_map_key: z.ZodOptional<z.ZodString>;
|
|
22720
22728
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22721
22729
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22722
22730
|
outer_diameter: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -22764,6 +22772,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22764
22772
|
pcb_group_id?: string | undefined;
|
|
22765
22773
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
22766
22774
|
pcb_trace_id?: string | undefined;
|
|
22775
|
+
subcircuit_connectivity_map_key?: string | undefined;
|
|
22767
22776
|
net_is_assignable?: boolean | undefined;
|
|
22768
22777
|
net_assigned?: boolean | undefined;
|
|
22769
22778
|
}, {
|
|
@@ -22785,6 +22794,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22785
22794
|
} | undefined;
|
|
22786
22795
|
pcb_trace_id?: string | undefined;
|
|
22787
22796
|
pcb_via_id?: string | undefined;
|
|
22797
|
+
subcircuit_connectivity_map_key?: string | undefined;
|
|
22788
22798
|
net_is_assignable?: boolean | undefined;
|
|
22789
22799
|
net_assigned?: boolean | undefined;
|
|
22790
22800
|
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
package/dist/index.mjs
CHANGED
|
@@ -1850,6 +1850,7 @@ var pcb_via = z82.object({
|
|
|
1850
1850
|
pcb_via_id: getZodPrefixedIdWithDefault("pcb_via"),
|
|
1851
1851
|
pcb_group_id: z82.string().optional(),
|
|
1852
1852
|
subcircuit_id: z82.string().optional(),
|
|
1853
|
+
subcircuit_connectivity_map_key: z82.string().optional(),
|
|
1853
1854
|
x: distance,
|
|
1854
1855
|
y: distance,
|
|
1855
1856
|
outer_diameter: distance.default("0.6mm"),
|