circuit-json 0.0.403 → 0.0.404
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/dist/index.d.mts +10 -0
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -8189,6 +8189,7 @@ declare const pcb_silkscreen_circle: z.ZodObject<{
|
|
|
8189
8189
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8190
8190
|
layer: z.ZodEnum<["top", "bottom"]>;
|
|
8191
8191
|
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8192
|
+
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
8192
8193
|
}, "strip", z.ZodTypeAny, {
|
|
8193
8194
|
type: "pcb_silkscreen_circle";
|
|
8194
8195
|
layer: "top" | "bottom";
|
|
@@ -8202,6 +8203,7 @@ declare const pcb_silkscreen_circle: z.ZodObject<{
|
|
|
8202
8203
|
pcb_silkscreen_circle_id: string;
|
|
8203
8204
|
subcircuit_id?: string | undefined;
|
|
8204
8205
|
pcb_group_id?: string | undefined;
|
|
8206
|
+
is_filled?: boolean | undefined;
|
|
8205
8207
|
}, {
|
|
8206
8208
|
type: "pcb_silkscreen_circle";
|
|
8207
8209
|
layer: "top" | "bottom";
|
|
@@ -8214,6 +8216,7 @@ declare const pcb_silkscreen_circle: z.ZodObject<{
|
|
|
8214
8216
|
subcircuit_id?: string | undefined;
|
|
8215
8217
|
pcb_group_id?: string | undefined;
|
|
8216
8218
|
stroke_width?: string | number | undefined;
|
|
8219
|
+
is_filled?: boolean | undefined;
|
|
8217
8220
|
pcb_silkscreen_circle_id?: string | undefined;
|
|
8218
8221
|
}>;
|
|
8219
8222
|
type PcbSilkscreenCircleInput = z.input<typeof pcb_silkscreen_circle>;
|
|
@@ -8230,6 +8233,7 @@ interface PcbSilkscreenCircle {
|
|
|
8230
8233
|
radius: Length;
|
|
8231
8234
|
layer: VisibleLayer;
|
|
8232
8235
|
stroke_width: Length;
|
|
8236
|
+
is_filled?: boolean;
|
|
8233
8237
|
}
|
|
8234
8238
|
|
|
8235
8239
|
declare const pcb_silkscreen_oval: z.ZodObject<{
|
|
@@ -39404,6 +39408,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
39404
39408
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
39405
39409
|
layer: z.ZodEnum<["top", "bottom"]>;
|
|
39406
39410
|
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
39411
|
+
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
39407
39412
|
}, "strip", z.ZodTypeAny, {
|
|
39408
39413
|
type: "pcb_silkscreen_circle";
|
|
39409
39414
|
layer: "top" | "bottom";
|
|
@@ -39417,6 +39422,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
39417
39422
|
pcb_silkscreen_circle_id: string;
|
|
39418
39423
|
subcircuit_id?: string | undefined;
|
|
39419
39424
|
pcb_group_id?: string | undefined;
|
|
39425
|
+
is_filled?: boolean | undefined;
|
|
39420
39426
|
}, {
|
|
39421
39427
|
type: "pcb_silkscreen_circle";
|
|
39422
39428
|
layer: "top" | "bottom";
|
|
@@ -39429,6 +39435,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
39429
39435
|
subcircuit_id?: string | undefined;
|
|
39430
39436
|
pcb_group_id?: string | undefined;
|
|
39431
39437
|
stroke_width?: string | number | undefined;
|
|
39438
|
+
is_filled?: boolean | undefined;
|
|
39432
39439
|
pcb_silkscreen_circle_id?: string | undefined;
|
|
39433
39440
|
}>, z.ZodObject<{
|
|
39434
39441
|
type: z.ZodLiteral<"pcb_silkscreen_oval">;
|
|
@@ -57157,6 +57164,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
57157
57164
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
57158
57165
|
layer: z.ZodEnum<["top", "bottom"]>;
|
|
57159
57166
|
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
57167
|
+
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
57160
57168
|
}, "strip", z.ZodTypeAny, {
|
|
57161
57169
|
type: "pcb_silkscreen_circle";
|
|
57162
57170
|
layer: "top" | "bottom";
|
|
@@ -57170,6 +57178,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
57170
57178
|
pcb_silkscreen_circle_id: string;
|
|
57171
57179
|
subcircuit_id?: string | undefined;
|
|
57172
57180
|
pcb_group_id?: string | undefined;
|
|
57181
|
+
is_filled?: boolean | undefined;
|
|
57173
57182
|
}, {
|
|
57174
57183
|
type: "pcb_silkscreen_circle";
|
|
57175
57184
|
layer: "top" | "bottom";
|
|
@@ -57182,6 +57191,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
57182
57191
|
subcircuit_id?: string | undefined;
|
|
57183
57192
|
pcb_group_id?: string | undefined;
|
|
57184
57193
|
stroke_width?: string | number | undefined;
|
|
57194
|
+
is_filled?: boolean | undefined;
|
|
57185
57195
|
pcb_silkscreen_circle_id?: string | undefined;
|
|
57186
57196
|
}>, z.ZodObject<{
|
|
57187
57197
|
type: z.ZodLiteral<"pcb_silkscreen_oval">;
|
package/dist/index.mjs
CHANGED
|
@@ -2602,7 +2602,8 @@ var pcb_silkscreen_circle = z115.object({
|
|
|
2602
2602
|
center: point,
|
|
2603
2603
|
radius: length,
|
|
2604
2604
|
layer: visible_layer,
|
|
2605
|
-
stroke_width: length.default("1mm")
|
|
2605
|
+
stroke_width: length.default("1mm"),
|
|
2606
|
+
is_filled: z115.boolean().optional()
|
|
2606
2607
|
}).describe("Defines a silkscreen circle on the PCB");
|
|
2607
2608
|
expectTypesMatch(true);
|
|
2608
2609
|
|