circuit-json 0.0.305 → 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 -1
- package/dist/index.d.mts +16 -16
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2055,7 +2055,7 @@ interface PcbVia {
|
|
|
2055
2055
|
pcb_via_id: string
|
|
2056
2056
|
pcb_group_id?: string
|
|
2057
2057
|
subcircuit_id?: string
|
|
2058
|
-
|
|
2058
|
+
subcircuit_connectivity_map_key?: string
|
|
2059
2059
|
x: Distance
|
|
2060
2060
|
y: Distance
|
|
2061
2061
|
outer_diameter: Distance
|
package/dist/index.d.mts
CHANGED
|
@@ -3154,7 +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
|
-
|
|
3157
|
+
subcircuit_connectivity_map_key: z.ZodOptional<z.ZodString>;
|
|
3158
3158
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3159
3159
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3160
3160
|
outer_diameter: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -3204,7 +3204,7 @@ declare const pcb_via: z.ZodObject<{
|
|
|
3204
3204
|
pcb_group_id?: string | undefined;
|
|
3205
3205
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3206
3206
|
pcb_trace_id?: string | undefined;
|
|
3207
|
-
|
|
3207
|
+
subcircuit_connectivity_map_key?: string | undefined;
|
|
3208
3208
|
net_is_assignable?: boolean | undefined;
|
|
3209
3209
|
net_assigned?: boolean | undefined;
|
|
3210
3210
|
}, {
|
|
@@ -3226,7 +3226,7 @@ declare const pcb_via: z.ZodObject<{
|
|
|
3226
3226
|
} | undefined;
|
|
3227
3227
|
pcb_trace_id?: string | undefined;
|
|
3228
3228
|
pcb_via_id?: string | undefined;
|
|
3229
|
-
|
|
3229
|
+
subcircuit_connectivity_map_key?: string | undefined;
|
|
3230
3230
|
net_is_assignable?: boolean | undefined;
|
|
3231
3231
|
net_assigned?: boolean | undefined;
|
|
3232
3232
|
}>;
|
|
@@ -3239,7 +3239,7 @@ interface PcbVia {
|
|
|
3239
3239
|
pcb_via_id: string;
|
|
3240
3240
|
pcb_group_id?: string;
|
|
3241
3241
|
subcircuit_id?: string;
|
|
3242
|
-
|
|
3242
|
+
subcircuit_connectivity_map_key?: string;
|
|
3243
3243
|
x: Distance;
|
|
3244
3244
|
y: Distance;
|
|
3245
3245
|
outer_diameter: Distance;
|
|
@@ -11637,8 +11637,8 @@ declare const source_port: z.ZodObject<{
|
|
|
11637
11637
|
source_component_id?: string | undefined;
|
|
11638
11638
|
subcircuit_id?: string | undefined;
|
|
11639
11639
|
port_hints?: string[] | undefined;
|
|
11640
|
-
source_group_id?: string | undefined;
|
|
11641
11640
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
11641
|
+
source_group_id?: string | undefined;
|
|
11642
11642
|
pin_number?: number | undefined;
|
|
11643
11643
|
}, {
|
|
11644
11644
|
type: "source_port";
|
|
@@ -11647,8 +11647,8 @@ declare const source_port: z.ZodObject<{
|
|
|
11647
11647
|
source_component_id?: string | undefined;
|
|
11648
11648
|
subcircuit_id?: string | undefined;
|
|
11649
11649
|
port_hints?: string[] | undefined;
|
|
11650
|
-
source_group_id?: string | undefined;
|
|
11651
11650
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
11651
|
+
source_group_id?: string | undefined;
|
|
11652
11652
|
pin_number?: number | undefined;
|
|
11653
11653
|
}>;
|
|
11654
11654
|
type SourcePortInput = z.input<typeof source_port>;
|
|
@@ -12143,8 +12143,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12143
12143
|
source_component_id?: string | undefined;
|
|
12144
12144
|
subcircuit_id?: string | undefined;
|
|
12145
12145
|
port_hints?: string[] | undefined;
|
|
12146
|
-
source_group_id?: string | undefined;
|
|
12147
12146
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
12147
|
+
source_group_id?: string | undefined;
|
|
12148
12148
|
pin_number?: number | undefined;
|
|
12149
12149
|
}, {
|
|
12150
12150
|
type: "source_port";
|
|
@@ -12153,8 +12153,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12153
12153
|
source_component_id?: string | undefined;
|
|
12154
12154
|
subcircuit_id?: string | undefined;
|
|
12155
12155
|
port_hints?: string[] | undefined;
|
|
12156
|
-
source_group_id?: string | undefined;
|
|
12157
12156
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
12157
|
+
source_group_id?: string | undefined;
|
|
12158
12158
|
pin_number?: number | undefined;
|
|
12159
12159
|
}>, z.ZodUnion<[z.ZodObject<{
|
|
12160
12160
|
type: z.ZodLiteral<"source_component">;
|
|
@@ -15136,7 +15136,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15136
15136
|
pcb_via_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15137
15137
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
15138
15138
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15139
|
-
|
|
15139
|
+
subcircuit_connectivity_map_key: z.ZodOptional<z.ZodString>;
|
|
15140
15140
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15141
15141
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15142
15142
|
outer_diameter: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -15184,7 +15184,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15184
15184
|
pcb_group_id?: string | undefined;
|
|
15185
15185
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
15186
15186
|
pcb_trace_id?: string | undefined;
|
|
15187
|
-
|
|
15187
|
+
subcircuit_connectivity_map_key?: string | undefined;
|
|
15188
15188
|
net_is_assignable?: boolean | undefined;
|
|
15189
15189
|
net_assigned?: boolean | undefined;
|
|
15190
15190
|
}, {
|
|
@@ -15206,7 +15206,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15206
15206
|
} | undefined;
|
|
15207
15207
|
pcb_trace_id?: string | undefined;
|
|
15208
15208
|
pcb_via_id?: string | undefined;
|
|
15209
|
-
|
|
15209
|
+
subcircuit_connectivity_map_key?: string | undefined;
|
|
15210
15210
|
net_is_assignable?: boolean | undefined;
|
|
15211
15211
|
net_assigned?: boolean | undefined;
|
|
15212
15212
|
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
@@ -19731,8 +19731,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19731
19731
|
source_component_id?: string | undefined;
|
|
19732
19732
|
subcircuit_id?: string | undefined;
|
|
19733
19733
|
port_hints?: string[] | undefined;
|
|
19734
|
-
source_group_id?: string | undefined;
|
|
19735
19734
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
19735
|
+
source_group_id?: string | undefined;
|
|
19736
19736
|
pin_number?: number | undefined;
|
|
19737
19737
|
}, {
|
|
19738
19738
|
type: "source_port";
|
|
@@ -19741,8 +19741,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19741
19741
|
source_component_id?: string | undefined;
|
|
19742
19742
|
subcircuit_id?: string | undefined;
|
|
19743
19743
|
port_hints?: string[] | undefined;
|
|
19744
|
-
source_group_id?: string | undefined;
|
|
19745
19744
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
19745
|
+
source_group_id?: string | undefined;
|
|
19746
19746
|
pin_number?: number | undefined;
|
|
19747
19747
|
}>, z.ZodUnion<[z.ZodObject<{
|
|
19748
19748
|
type: z.ZodLiteral<"source_component">;
|
|
@@ -22724,7 +22724,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22724
22724
|
pcb_via_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
22725
22725
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
22726
22726
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
22727
|
-
|
|
22727
|
+
subcircuit_connectivity_map_key: z.ZodOptional<z.ZodString>;
|
|
22728
22728
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22729
22729
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22730
22730
|
outer_diameter: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -22772,7 +22772,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22772
22772
|
pcb_group_id?: string | undefined;
|
|
22773
22773
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
22774
22774
|
pcb_trace_id?: string | undefined;
|
|
22775
|
-
|
|
22775
|
+
subcircuit_connectivity_map_key?: string | undefined;
|
|
22776
22776
|
net_is_assignable?: boolean | undefined;
|
|
22777
22777
|
net_assigned?: boolean | undefined;
|
|
22778
22778
|
}, {
|
|
@@ -22794,7 +22794,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22794
22794
|
} | undefined;
|
|
22795
22795
|
pcb_trace_id?: string | undefined;
|
|
22796
22796
|
pcb_via_id?: string | undefined;
|
|
22797
|
-
|
|
22797
|
+
subcircuit_connectivity_map_key?: string | undefined;
|
|
22798
22798
|
net_is_assignable?: boolean | undefined;
|
|
22799
22799
|
net_assigned?: boolean | undefined;
|
|
22800
22800
|
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
package/dist/index.mjs
CHANGED
|
@@ -1850,7 +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
|
-
|
|
1853
|
+
subcircuit_connectivity_map_key: z82.string().optional(),
|
|
1854
1854
|
x: distance,
|
|
1855
1855
|
y: distance,
|
|
1856
1856
|
outer_diameter: distance.default("0.6mm"),
|