circuit-json 0.0.298 → 0.0.299
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 +20 -0
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -2973,6 +2973,8 @@ declare const pcb_via: z.ZodObject<{
|
|
|
2973
2973
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2974
2974
|
}>, "many">;
|
|
2975
2975
|
pcb_trace_id: z.ZodOptional<z.ZodString>;
|
|
2976
|
+
net_is_assignable: z.ZodOptional<z.ZodBoolean>;
|
|
2977
|
+
net_assigned: z.ZodOptional<z.ZodBoolean>;
|
|
2976
2978
|
}, "strip", z.ZodTypeAny, {
|
|
2977
2979
|
x: number;
|
|
2978
2980
|
y: number;
|
|
@@ -2986,6 +2988,8 @@ declare const pcb_via: z.ZodObject<{
|
|
|
2986
2988
|
pcb_group_id?: string | undefined;
|
|
2987
2989
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2988
2990
|
pcb_trace_id?: string | undefined;
|
|
2991
|
+
net_is_assignable?: boolean | undefined;
|
|
2992
|
+
net_assigned?: boolean | undefined;
|
|
2989
2993
|
}, {
|
|
2990
2994
|
x: string | number;
|
|
2991
2995
|
y: string | number;
|
|
@@ -3005,6 +3009,8 @@ declare const pcb_via: z.ZodObject<{
|
|
|
3005
3009
|
} | undefined;
|
|
3006
3010
|
pcb_trace_id?: string | undefined;
|
|
3007
3011
|
pcb_via_id?: string | undefined;
|
|
3012
|
+
net_is_assignable?: boolean | undefined;
|
|
3013
|
+
net_assigned?: boolean | undefined;
|
|
3008
3014
|
}>;
|
|
3009
3015
|
type PcbViaInput = z.input<typeof pcb_via>;
|
|
3010
3016
|
/**
|
|
@@ -3025,6 +3031,8 @@ interface PcbVia {
|
|
|
3025
3031
|
to_layer?: LayerRef;
|
|
3026
3032
|
layers: LayerRef[];
|
|
3027
3033
|
pcb_trace_id?: string;
|
|
3034
|
+
net_is_assignable?: boolean;
|
|
3035
|
+
net_assigned?: boolean;
|
|
3028
3036
|
}
|
|
3029
3037
|
/**
|
|
3030
3038
|
* @deprecated use PcbVia
|
|
@@ -14849,6 +14857,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14849
14857
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
14850
14858
|
}>, "many">;
|
|
14851
14859
|
pcb_trace_id: z.ZodOptional<z.ZodString>;
|
|
14860
|
+
net_is_assignable: z.ZodOptional<z.ZodBoolean>;
|
|
14861
|
+
net_assigned: z.ZodOptional<z.ZodBoolean>;
|
|
14852
14862
|
}, "strip", z.ZodTypeAny, {
|
|
14853
14863
|
x: number;
|
|
14854
14864
|
y: number;
|
|
@@ -14862,6 +14872,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14862
14872
|
pcb_group_id?: string | undefined;
|
|
14863
14873
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
14864
14874
|
pcb_trace_id?: string | undefined;
|
|
14875
|
+
net_is_assignable?: boolean | undefined;
|
|
14876
|
+
net_assigned?: boolean | undefined;
|
|
14865
14877
|
}, {
|
|
14866
14878
|
x: string | number;
|
|
14867
14879
|
y: string | number;
|
|
@@ -14881,6 +14893,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14881
14893
|
} | undefined;
|
|
14882
14894
|
pcb_trace_id?: string | undefined;
|
|
14883
14895
|
pcb_via_id?: string | undefined;
|
|
14896
|
+
net_is_assignable?: boolean | undefined;
|
|
14897
|
+
net_assigned?: boolean | undefined;
|
|
14884
14898
|
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
14885
14899
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
14886
14900
|
shape: z.ZodLiteral<"circle">;
|
|
@@ -22350,6 +22364,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22350
22364
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
22351
22365
|
}>, "many">;
|
|
22352
22366
|
pcb_trace_id: z.ZodOptional<z.ZodString>;
|
|
22367
|
+
net_is_assignable: z.ZodOptional<z.ZodBoolean>;
|
|
22368
|
+
net_assigned: z.ZodOptional<z.ZodBoolean>;
|
|
22353
22369
|
}, "strip", z.ZodTypeAny, {
|
|
22354
22370
|
x: number;
|
|
22355
22371
|
y: number;
|
|
@@ -22363,6 +22379,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22363
22379
|
pcb_group_id?: string | undefined;
|
|
22364
22380
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
22365
22381
|
pcb_trace_id?: string | undefined;
|
|
22382
|
+
net_is_assignable?: boolean | undefined;
|
|
22383
|
+
net_assigned?: boolean | undefined;
|
|
22366
22384
|
}, {
|
|
22367
22385
|
x: string | number;
|
|
22368
22386
|
y: string | number;
|
|
@@ -22382,6 +22400,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22382
22400
|
} | undefined;
|
|
22383
22401
|
pcb_trace_id?: string | undefined;
|
|
22384
22402
|
pcb_via_id?: string | undefined;
|
|
22403
|
+
net_is_assignable?: boolean | undefined;
|
|
22404
|
+
net_assigned?: boolean | undefined;
|
|
22385
22405
|
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
22386
22406
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
22387
22407
|
shape: z.ZodLiteral<"circle">;
|
package/dist/index.mjs
CHANGED
|
@@ -1828,7 +1828,9 @@ var pcb_via = z82.object({
|
|
|
1828
1828
|
/** @deprecated */
|
|
1829
1829
|
to_layer: layer_ref.optional(),
|
|
1830
1830
|
layers: z82.array(layer_ref),
|
|
1831
|
-
pcb_trace_id: z82.string().optional()
|
|
1831
|
+
pcb_trace_id: z82.string().optional(),
|
|
1832
|
+
net_is_assignable: z82.boolean().optional(),
|
|
1833
|
+
net_assigned: z82.boolean().optional()
|
|
1832
1834
|
}).describe("Defines a via on the PCB");
|
|
1833
1835
|
expectTypesMatch(true);
|
|
1834
1836
|
|