circuit-json 0.0.261 → 0.0.262
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 +20 -20
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -2277,7 +2277,7 @@ declare const pcb_trace: z.ZodObject<{
|
|
|
2277
2277
|
route_order_index: z.ZodOptional<z.ZodNumber>;
|
|
2278
2278
|
should_round_corners: z.ZodOptional<z.ZodBoolean>;
|
|
2279
2279
|
trace_length: z.ZodOptional<z.ZodNumber>;
|
|
2280
|
-
|
|
2280
|
+
highlight_color: z.ZodOptional<z.ZodString>;
|
|
2281
2281
|
route: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
2282
2282
|
route_type: z.ZodLiteral<"wire">;
|
|
2283
2283
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -2365,7 +2365,7 @@ declare const pcb_trace: z.ZodObject<{
|
|
|
2365
2365
|
route_order_index?: number | undefined;
|
|
2366
2366
|
should_round_corners?: boolean | undefined;
|
|
2367
2367
|
trace_length?: number | undefined;
|
|
2368
|
-
|
|
2368
|
+
highlight_color?: string | undefined;
|
|
2369
2369
|
}, {
|
|
2370
2370
|
type: "pcb_trace";
|
|
2371
2371
|
route: ({
|
|
@@ -2396,7 +2396,7 @@ declare const pcb_trace: z.ZodObject<{
|
|
|
2396
2396
|
route_order_index?: number | undefined;
|
|
2397
2397
|
should_round_corners?: boolean | undefined;
|
|
2398
2398
|
trace_length?: number | undefined;
|
|
2399
|
-
|
|
2399
|
+
highlight_color?: string | undefined;
|
|
2400
2400
|
}>;
|
|
2401
2401
|
type PcbTraceInput = z.input<typeof pcb_trace>;
|
|
2402
2402
|
interface PcbTraceRoutePointWire {
|
|
@@ -2438,7 +2438,7 @@ interface PcbTrace {
|
|
|
2438
2438
|
route_thickness_mode?: "constant" | "interpolated";
|
|
2439
2439
|
should_round_corners?: boolean;
|
|
2440
2440
|
trace_length?: number;
|
|
2441
|
-
|
|
2441
|
+
highlight_color?: string;
|
|
2442
2442
|
route: Array<PcbTraceRoutePoint>;
|
|
2443
2443
|
}
|
|
2444
2444
|
/**
|
|
@@ -2668,15 +2668,15 @@ declare const pcb_net: z.ZodObject<{
|
|
|
2668
2668
|
type: z.ZodLiteral<"pcb_net">;
|
|
2669
2669
|
pcb_net_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2670
2670
|
source_net_id: z.ZodOptional<z.ZodString>;
|
|
2671
|
-
|
|
2671
|
+
highlight_color: z.ZodOptional<z.ZodString>;
|
|
2672
2672
|
}, "strip", z.ZodTypeAny, {
|
|
2673
2673
|
type: "pcb_net";
|
|
2674
2674
|
pcb_net_id: string;
|
|
2675
|
-
|
|
2675
|
+
highlight_color?: string | undefined;
|
|
2676
2676
|
source_net_id?: string | undefined;
|
|
2677
2677
|
}, {
|
|
2678
2678
|
type: "pcb_net";
|
|
2679
|
-
|
|
2679
|
+
highlight_color?: string | undefined;
|
|
2680
2680
|
pcb_net_id?: string | undefined;
|
|
2681
2681
|
source_net_id?: string | undefined;
|
|
2682
2682
|
}>;
|
|
@@ -2688,7 +2688,7 @@ interface PcbNet {
|
|
|
2688
2688
|
type: "pcb_net";
|
|
2689
2689
|
pcb_net_id: string;
|
|
2690
2690
|
source_net_id?: string;
|
|
2691
|
-
|
|
2691
|
+
highlight_color?: string;
|
|
2692
2692
|
}
|
|
2693
2693
|
|
|
2694
2694
|
declare const pcb_via: z.ZodObject<{
|
|
@@ -12766,15 +12766,15 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12766
12766
|
type: z.ZodLiteral<"pcb_net">;
|
|
12767
12767
|
pcb_net_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
12768
12768
|
source_net_id: z.ZodOptional<z.ZodString>;
|
|
12769
|
-
|
|
12769
|
+
highlight_color: z.ZodOptional<z.ZodString>;
|
|
12770
12770
|
}, "strip", z.ZodTypeAny, {
|
|
12771
12771
|
type: "pcb_net";
|
|
12772
12772
|
pcb_net_id: string;
|
|
12773
|
-
|
|
12773
|
+
highlight_color?: string | undefined;
|
|
12774
12774
|
source_net_id?: string | undefined;
|
|
12775
12775
|
}, {
|
|
12776
12776
|
type: "pcb_net";
|
|
12777
|
-
|
|
12777
|
+
highlight_color?: string | undefined;
|
|
12778
12778
|
pcb_net_id?: string | undefined;
|
|
12779
12779
|
source_net_id?: string | undefined;
|
|
12780
12780
|
}>, z.ZodObject<{
|
|
@@ -12849,7 +12849,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12849
12849
|
route_order_index: z.ZodOptional<z.ZodNumber>;
|
|
12850
12850
|
should_round_corners: z.ZodOptional<z.ZodBoolean>;
|
|
12851
12851
|
trace_length: z.ZodOptional<z.ZodNumber>;
|
|
12852
|
-
|
|
12852
|
+
highlight_color: z.ZodOptional<z.ZodString>;
|
|
12853
12853
|
route: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
12854
12854
|
route_type: z.ZodLiteral<"wire">;
|
|
12855
12855
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -12937,7 +12937,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12937
12937
|
route_order_index?: number | undefined;
|
|
12938
12938
|
should_round_corners?: boolean | undefined;
|
|
12939
12939
|
trace_length?: number | undefined;
|
|
12940
|
-
|
|
12940
|
+
highlight_color?: string | undefined;
|
|
12941
12941
|
}, {
|
|
12942
12942
|
type: "pcb_trace";
|
|
12943
12943
|
route: ({
|
|
@@ -12968,7 +12968,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12968
12968
|
route_order_index?: number | undefined;
|
|
12969
12969
|
should_round_corners?: boolean | undefined;
|
|
12970
12970
|
trace_length?: number | undefined;
|
|
12971
|
-
|
|
12971
|
+
highlight_color?: string | undefined;
|
|
12972
12972
|
}>, z.ZodObject<{
|
|
12973
12973
|
type: z.ZodLiteral<"pcb_via">;
|
|
12974
12974
|
pcb_via_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -19137,15 +19137,15 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19137
19137
|
type: z.ZodLiteral<"pcb_net">;
|
|
19138
19138
|
pcb_net_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
19139
19139
|
source_net_id: z.ZodOptional<z.ZodString>;
|
|
19140
|
-
|
|
19140
|
+
highlight_color: z.ZodOptional<z.ZodString>;
|
|
19141
19141
|
}, "strip", z.ZodTypeAny, {
|
|
19142
19142
|
type: "pcb_net";
|
|
19143
19143
|
pcb_net_id: string;
|
|
19144
|
-
|
|
19144
|
+
highlight_color?: string | undefined;
|
|
19145
19145
|
source_net_id?: string | undefined;
|
|
19146
19146
|
}, {
|
|
19147
19147
|
type: "pcb_net";
|
|
19148
|
-
|
|
19148
|
+
highlight_color?: string | undefined;
|
|
19149
19149
|
pcb_net_id?: string | undefined;
|
|
19150
19150
|
source_net_id?: string | undefined;
|
|
19151
19151
|
}>, z.ZodObject<{
|
|
@@ -19220,7 +19220,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19220
19220
|
route_order_index: z.ZodOptional<z.ZodNumber>;
|
|
19221
19221
|
should_round_corners: z.ZodOptional<z.ZodBoolean>;
|
|
19222
19222
|
trace_length: z.ZodOptional<z.ZodNumber>;
|
|
19223
|
-
|
|
19223
|
+
highlight_color: z.ZodOptional<z.ZodString>;
|
|
19224
19224
|
route: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
19225
19225
|
route_type: z.ZodLiteral<"wire">;
|
|
19226
19226
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -19308,7 +19308,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19308
19308
|
route_order_index?: number | undefined;
|
|
19309
19309
|
should_round_corners?: boolean | undefined;
|
|
19310
19310
|
trace_length?: number | undefined;
|
|
19311
|
-
|
|
19311
|
+
highlight_color?: string | undefined;
|
|
19312
19312
|
}, {
|
|
19313
19313
|
type: "pcb_trace";
|
|
19314
19314
|
route: ({
|
|
@@ -19339,7 +19339,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19339
19339
|
route_order_index?: number | undefined;
|
|
19340
19340
|
should_round_corners?: boolean | undefined;
|
|
19341
19341
|
trace_length?: number | undefined;
|
|
19342
|
-
|
|
19342
|
+
highlight_color?: string | undefined;
|
|
19343
19343
|
}>, z.ZodObject<{
|
|
19344
19344
|
type: z.ZodLiteral<"pcb_via">;
|
|
19345
19345
|
pcb_via_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
package/dist/index.mjs
CHANGED
|
@@ -1641,7 +1641,7 @@ var pcb_trace = z73.object({
|
|
|
1641
1641
|
route_order_index: z73.number().optional(),
|
|
1642
1642
|
should_round_corners: z73.boolean().optional(),
|
|
1643
1643
|
trace_length: z73.number().optional(),
|
|
1644
|
-
|
|
1644
|
+
highlight_color: z73.string().optional(),
|
|
1645
1645
|
route: z73.array(pcb_trace_route_point)
|
|
1646
1646
|
}).describe("Defines a trace on the PCB");
|
|
1647
1647
|
expectTypesMatch(true);
|
|
@@ -1717,7 +1717,7 @@ var pcb_net = z78.object({
|
|
|
1717
1717
|
type: z78.literal("pcb_net"),
|
|
1718
1718
|
pcb_net_id: getZodPrefixedIdWithDefault("pcb_net"),
|
|
1719
1719
|
source_net_id: z78.string().optional(),
|
|
1720
|
-
|
|
1720
|
+
highlight_color: z78.string().optional()
|
|
1721
1721
|
}).describe("Defines a net on the PCB");
|
|
1722
1722
|
expectTypesMatch(true);
|
|
1723
1723
|
|