circuit-json 0.0.286 → 0.0.287
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 +0 -4
- package/dist/index.d.mts +0 -40
- package/dist/index.mjs +0 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -6247,10 +6247,6 @@ declare const pcb_courtyard_rect: z.ZodObject<{
|
|
|
6247
6247
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6248
6248
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6249
6249
|
layer: z.ZodEnum<["top", "bottom"]>;
|
|
6250
|
-
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6251
|
-
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
6252
|
-
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
6253
|
-
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
6254
6250
|
color: z.ZodOptional<z.ZodString>;
|
|
6255
6251
|
}, "strip", z.ZodTypeAny, {
|
|
6256
6252
|
type: "pcb_courtyard_rect";
|
|
@@ -6262,13 +6258,9 @@ declare const pcb_courtyard_rect: z.ZodObject<{
|
|
|
6262
6258
|
y: number;
|
|
6263
6259
|
};
|
|
6264
6260
|
layer: "top" | "bottom";
|
|
6265
|
-
stroke_width: number;
|
|
6266
6261
|
pcb_courtyard_rect_id: string;
|
|
6267
6262
|
subcircuit_id?: string | undefined;
|
|
6268
6263
|
pcb_group_id?: string | undefined;
|
|
6269
|
-
is_filled?: boolean | undefined;
|
|
6270
|
-
has_stroke?: boolean | undefined;
|
|
6271
|
-
is_stroke_dashed?: boolean | undefined;
|
|
6272
6264
|
color?: string | undefined;
|
|
6273
6265
|
}, {
|
|
6274
6266
|
type: "pcb_courtyard_rect";
|
|
@@ -6282,10 +6274,6 @@ declare const pcb_courtyard_rect: z.ZodObject<{
|
|
|
6282
6274
|
layer: "top" | "bottom";
|
|
6283
6275
|
subcircuit_id?: string | undefined;
|
|
6284
6276
|
pcb_group_id?: string | undefined;
|
|
6285
|
-
stroke_width?: string | number | undefined;
|
|
6286
|
-
is_filled?: boolean | undefined;
|
|
6287
|
-
has_stroke?: boolean | undefined;
|
|
6288
|
-
is_stroke_dashed?: boolean | undefined;
|
|
6289
6277
|
color?: string | undefined;
|
|
6290
6278
|
pcb_courtyard_rect_id?: string | undefined;
|
|
6291
6279
|
}>;
|
|
@@ -6303,10 +6291,6 @@ interface PcbCourtyardRect {
|
|
|
6303
6291
|
width: Length;
|
|
6304
6292
|
height: Length;
|
|
6305
6293
|
layer: VisibleLayer;
|
|
6306
|
-
stroke_width: Length;
|
|
6307
|
-
is_filled?: boolean;
|
|
6308
|
-
has_stroke?: boolean;
|
|
6309
|
-
is_stroke_dashed?: boolean;
|
|
6310
6294
|
color?: string;
|
|
6311
6295
|
}
|
|
6312
6296
|
/**
|
|
@@ -17065,10 +17049,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17065
17049
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
17066
17050
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
17067
17051
|
layer: z.ZodEnum<["top", "bottom"]>;
|
|
17068
|
-
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
17069
|
-
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
17070
|
-
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
17071
|
-
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
17072
17052
|
color: z.ZodOptional<z.ZodString>;
|
|
17073
17053
|
}, "strip", z.ZodTypeAny, {
|
|
17074
17054
|
type: "pcb_courtyard_rect";
|
|
@@ -17080,13 +17060,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17080
17060
|
y: number;
|
|
17081
17061
|
};
|
|
17082
17062
|
layer: "top" | "bottom";
|
|
17083
|
-
stroke_width: number;
|
|
17084
17063
|
pcb_courtyard_rect_id: string;
|
|
17085
17064
|
subcircuit_id?: string | undefined;
|
|
17086
17065
|
pcb_group_id?: string | undefined;
|
|
17087
|
-
is_filled?: boolean | undefined;
|
|
17088
|
-
has_stroke?: boolean | undefined;
|
|
17089
|
-
is_stroke_dashed?: boolean | undefined;
|
|
17090
17066
|
color?: string | undefined;
|
|
17091
17067
|
}, {
|
|
17092
17068
|
type: "pcb_courtyard_rect";
|
|
@@ -17100,10 +17076,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17100
17076
|
layer: "top" | "bottom";
|
|
17101
17077
|
subcircuit_id?: string | undefined;
|
|
17102
17078
|
pcb_group_id?: string | undefined;
|
|
17103
|
-
stroke_width?: string | number | undefined;
|
|
17104
|
-
is_filled?: boolean | undefined;
|
|
17105
|
-
has_stroke?: boolean | undefined;
|
|
17106
|
-
is_stroke_dashed?: boolean | undefined;
|
|
17107
17079
|
color?: string | undefined;
|
|
17108
17080
|
pcb_courtyard_rect_id?: string | undefined;
|
|
17109
17081
|
}>, z.ZodObject<{
|
|
@@ -24294,10 +24266,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
24294
24266
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
24295
24267
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
24296
24268
|
layer: z.ZodEnum<["top", "bottom"]>;
|
|
24297
|
-
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
24298
|
-
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
24299
|
-
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
24300
|
-
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
24301
24269
|
color: z.ZodOptional<z.ZodString>;
|
|
24302
24270
|
}, "strip", z.ZodTypeAny, {
|
|
24303
24271
|
type: "pcb_courtyard_rect";
|
|
@@ -24309,13 +24277,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
24309
24277
|
y: number;
|
|
24310
24278
|
};
|
|
24311
24279
|
layer: "top" | "bottom";
|
|
24312
|
-
stroke_width: number;
|
|
24313
24280
|
pcb_courtyard_rect_id: string;
|
|
24314
24281
|
subcircuit_id?: string | undefined;
|
|
24315
24282
|
pcb_group_id?: string | undefined;
|
|
24316
|
-
is_filled?: boolean | undefined;
|
|
24317
|
-
has_stroke?: boolean | undefined;
|
|
24318
|
-
is_stroke_dashed?: boolean | undefined;
|
|
24319
24283
|
color?: string | undefined;
|
|
24320
24284
|
}, {
|
|
24321
24285
|
type: "pcb_courtyard_rect";
|
|
@@ -24329,10 +24293,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
24329
24293
|
layer: "top" | "bottom";
|
|
24330
24294
|
subcircuit_id?: string | undefined;
|
|
24331
24295
|
pcb_group_id?: string | undefined;
|
|
24332
|
-
stroke_width?: string | number | undefined;
|
|
24333
|
-
is_filled?: boolean | undefined;
|
|
24334
|
-
has_stroke?: boolean | undefined;
|
|
24335
|
-
is_stroke_dashed?: boolean | undefined;
|
|
24336
24296
|
color?: string | undefined;
|
|
24337
24297
|
pcb_courtyard_rect_id?: string | undefined;
|
|
24338
24298
|
}>, z.ZodObject<{
|
package/dist/index.mjs
CHANGED
|
@@ -2493,10 +2493,6 @@ var pcb_courtyard_rect = z117.object({
|
|
|
2493
2493
|
width: length,
|
|
2494
2494
|
height: length,
|
|
2495
2495
|
layer: visible_layer,
|
|
2496
|
-
stroke_width: length.default("0.1mm"),
|
|
2497
|
-
is_filled: z117.boolean().optional(),
|
|
2498
|
-
has_stroke: z117.boolean().optional(),
|
|
2499
|
-
is_stroke_dashed: z117.boolean().optional(),
|
|
2500
2496
|
color: z117.string().optional()
|
|
2501
2497
|
}).describe("Defines a courtyard rectangle on the PCB");
|
|
2502
2498
|
expectTypesMatch(true);
|