circuit-json 0.0.517 → 0.0.518
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 +4 -0
- package/dist/index.d.mts +22 -0
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2068,6 +2068,10 @@ interface PcbFabricationNotePath {
|
|
|
2068
2068
|
route: Point[]
|
|
2069
2069
|
stroke_width: Length
|
|
2070
2070
|
color?: string
|
|
2071
|
+
/** Fill the route as a closed polygon using color. Defaults to false. */
|
|
2072
|
+
is_filled?: boolean
|
|
2073
|
+
/** Draw the outline using stroke_width and color. Defaults to true. */
|
|
2074
|
+
has_stroke?: boolean
|
|
2071
2075
|
}
|
|
2072
2076
|
```
|
|
2073
2077
|
|
package/dist/index.d.mts
CHANGED
|
@@ -12260,6 +12260,8 @@ declare const pcb_fabrication_note_path: z.ZodObject<{
|
|
|
12260
12260
|
}>, "many">;
|
|
12261
12261
|
stroke_width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12262
12262
|
color: z.ZodOptional<z.ZodString>;
|
|
12263
|
+
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
12264
|
+
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
12263
12265
|
}, "strip", z.ZodTypeAny, {
|
|
12264
12266
|
type: "pcb_fabrication_note_path";
|
|
12265
12267
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
@@ -12271,6 +12273,8 @@ declare const pcb_fabrication_note_path: z.ZodObject<{
|
|
|
12271
12273
|
stroke_width: number;
|
|
12272
12274
|
pcb_fabrication_note_path_id: string;
|
|
12273
12275
|
subcircuit_id?: string | undefined;
|
|
12276
|
+
is_filled?: boolean | undefined;
|
|
12277
|
+
has_stroke?: boolean | undefined;
|
|
12274
12278
|
color?: string | undefined;
|
|
12275
12279
|
}, {
|
|
12276
12280
|
type: "pcb_fabrication_note_path";
|
|
@@ -12284,6 +12288,8 @@ declare const pcb_fabrication_note_path: z.ZodObject<{
|
|
|
12284
12288
|
}[];
|
|
12285
12289
|
stroke_width: string | number;
|
|
12286
12290
|
subcircuit_id?: string | undefined;
|
|
12291
|
+
is_filled?: boolean | undefined;
|
|
12292
|
+
has_stroke?: boolean | undefined;
|
|
12287
12293
|
color?: string | undefined;
|
|
12288
12294
|
pcb_fabrication_note_path_id?: string | undefined;
|
|
12289
12295
|
}>;
|
|
@@ -12300,6 +12306,10 @@ interface PcbFabricationNotePath {
|
|
|
12300
12306
|
route: Point[];
|
|
12301
12307
|
stroke_width: Length;
|
|
12302
12308
|
color?: string;
|
|
12309
|
+
/** Fill the route as a closed polygon using color. Defaults to false. */
|
|
12310
|
+
is_filled?: boolean;
|
|
12311
|
+
/** Draw the outline using stroke_width and color. Defaults to true. */
|
|
12312
|
+
has_stroke?: boolean;
|
|
12303
12313
|
}
|
|
12304
12314
|
/**
|
|
12305
12315
|
* @deprecated use PcbFabricationNotePath
|
|
@@ -50689,6 +50699,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
50689
50699
|
}>, "many">;
|
|
50690
50700
|
stroke_width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
50691
50701
|
color: z.ZodOptional<z.ZodString>;
|
|
50702
|
+
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
50703
|
+
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
50692
50704
|
}, "strip", z.ZodTypeAny, {
|
|
50693
50705
|
type: "pcb_fabrication_note_path";
|
|
50694
50706
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
@@ -50700,6 +50712,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
50700
50712
|
stroke_width: number;
|
|
50701
50713
|
pcb_fabrication_note_path_id: string;
|
|
50702
50714
|
subcircuit_id?: string | undefined;
|
|
50715
|
+
is_filled?: boolean | undefined;
|
|
50716
|
+
has_stroke?: boolean | undefined;
|
|
50703
50717
|
color?: string | undefined;
|
|
50704
50718
|
}, {
|
|
50705
50719
|
type: "pcb_fabrication_note_path";
|
|
@@ -50713,6 +50727,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
50713
50727
|
}[];
|
|
50714
50728
|
stroke_width: string | number;
|
|
50715
50729
|
subcircuit_id?: string | undefined;
|
|
50730
|
+
is_filled?: boolean | undefined;
|
|
50731
|
+
has_stroke?: boolean | undefined;
|
|
50716
50732
|
color?: string | undefined;
|
|
50717
50733
|
pcb_fabrication_note_path_id?: string | undefined;
|
|
50718
50734
|
}>, z.ZodObject<{
|
|
@@ -73269,6 +73285,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
73269
73285
|
}>, "many">;
|
|
73270
73286
|
stroke_width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
73271
73287
|
color: z.ZodOptional<z.ZodString>;
|
|
73288
|
+
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
73289
|
+
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
73272
73290
|
}, "strip", z.ZodTypeAny, {
|
|
73273
73291
|
type: "pcb_fabrication_note_path";
|
|
73274
73292
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
@@ -73280,6 +73298,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
73280
73298
|
stroke_width: number;
|
|
73281
73299
|
pcb_fabrication_note_path_id: string;
|
|
73282
73300
|
subcircuit_id?: string | undefined;
|
|
73301
|
+
is_filled?: boolean | undefined;
|
|
73302
|
+
has_stroke?: boolean | undefined;
|
|
73283
73303
|
color?: string | undefined;
|
|
73284
73304
|
}, {
|
|
73285
73305
|
type: "pcb_fabrication_note_path";
|
|
@@ -73293,6 +73313,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
73293
73313
|
}[];
|
|
73294
73314
|
stroke_width: string | number;
|
|
73295
73315
|
subcircuit_id?: string | undefined;
|
|
73316
|
+
is_filled?: boolean | undefined;
|
|
73317
|
+
has_stroke?: boolean | undefined;
|
|
73296
73318
|
color?: string | undefined;
|
|
73297
73319
|
pcb_fabrication_note_path_id?: string | undefined;
|
|
73298
73320
|
}>, z.ZodObject<{
|
package/dist/index.mjs
CHANGED
|
@@ -3489,7 +3489,9 @@ var pcb_fabrication_note_path = z154.object({
|
|
|
3489
3489
|
layer: layer_ref,
|
|
3490
3490
|
route: z154.array(point),
|
|
3491
3491
|
stroke_width: length,
|
|
3492
|
-
color: z154.string().optional()
|
|
3492
|
+
color: z154.string().optional(),
|
|
3493
|
+
is_filled: z154.boolean().optional(),
|
|
3494
|
+
has_stroke: z154.boolean().optional()
|
|
3493
3495
|
}).describe(
|
|
3494
3496
|
"Defines a fabrication path on the PCB for fabricators or assemblers"
|
|
3495
3497
|
);
|