circuit-json 0.0.456 → 0.0.457
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 +22 -0
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -10326,6 +10326,7 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
|
10326
10326
|
pcb_keepout_id: z.ZodString;
|
|
10327
10327
|
layers: z.ZodArray<z.ZodString, "many">;
|
|
10328
10328
|
description: z.ZodOptional<z.ZodString>;
|
|
10329
|
+
excluded_pcb_component_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10329
10330
|
}, "strip", z.ZodTypeAny, {
|
|
10330
10331
|
type: "pcb_keepout";
|
|
10331
10332
|
width: number;
|
|
@@ -10340,6 +10341,7 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
|
10340
10341
|
description?: string | undefined;
|
|
10341
10342
|
subcircuit_id?: string | undefined;
|
|
10342
10343
|
pcb_group_id?: string | undefined;
|
|
10344
|
+
excluded_pcb_component_ids?: string[] | undefined;
|
|
10343
10345
|
}, {
|
|
10344
10346
|
type: "pcb_keepout";
|
|
10345
10347
|
width: string | number;
|
|
@@ -10354,6 +10356,7 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
|
10354
10356
|
description?: string | undefined;
|
|
10355
10357
|
subcircuit_id?: string | undefined;
|
|
10356
10358
|
pcb_group_id?: string | undefined;
|
|
10359
|
+
excluded_pcb_component_ids?: string[] | undefined;
|
|
10357
10360
|
}>, z.ZodObject<{
|
|
10358
10361
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
10359
10362
|
shape: z.ZodLiteral<"circle">;
|
|
@@ -10373,6 +10376,7 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
|
10373
10376
|
pcb_keepout_id: z.ZodString;
|
|
10374
10377
|
layers: z.ZodArray<z.ZodString, "many">;
|
|
10375
10378
|
description: z.ZodOptional<z.ZodString>;
|
|
10379
|
+
excluded_pcb_component_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10376
10380
|
}, "strip", z.ZodTypeAny, {
|
|
10377
10381
|
type: "pcb_keepout";
|
|
10378
10382
|
shape: "circle";
|
|
@@ -10386,6 +10390,7 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
|
10386
10390
|
description?: string | undefined;
|
|
10387
10391
|
subcircuit_id?: string | undefined;
|
|
10388
10392
|
pcb_group_id?: string | undefined;
|
|
10393
|
+
excluded_pcb_component_ids?: string[] | undefined;
|
|
10389
10394
|
}, {
|
|
10390
10395
|
type: "pcb_keepout";
|
|
10391
10396
|
shape: "circle";
|
|
@@ -10399,6 +10404,7 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
|
10399
10404
|
description?: string | undefined;
|
|
10400
10405
|
subcircuit_id?: string | undefined;
|
|
10401
10406
|
pcb_group_id?: string | undefined;
|
|
10407
|
+
excluded_pcb_component_ids?: string[] | undefined;
|
|
10402
10408
|
}>]>;
|
|
10403
10409
|
type PCBKeepoutInput = z.input<typeof pcb_keepout>;
|
|
10404
10410
|
interface PCBKeepoutRect {
|
|
@@ -10412,6 +10418,8 @@ interface PCBKeepoutRect {
|
|
|
10412
10418
|
pcb_keepout_id: string;
|
|
10413
10419
|
layers: string[];
|
|
10414
10420
|
description?: string;
|
|
10421
|
+
/** PCB components excluded from keepout DRC enforcement. */
|
|
10422
|
+
excluded_pcb_component_ids?: string[];
|
|
10415
10423
|
}
|
|
10416
10424
|
interface PCBKeepoutCircle {
|
|
10417
10425
|
type: "pcb_keepout";
|
|
@@ -10423,6 +10431,8 @@ interface PCBKeepoutCircle {
|
|
|
10423
10431
|
pcb_keepout_id: string;
|
|
10424
10432
|
layers: string[];
|
|
10425
10433
|
description?: string;
|
|
10434
|
+
/** PCB components excluded from keepout DRC enforcement. */
|
|
10435
|
+
excluded_pcb_component_ids?: string[];
|
|
10426
10436
|
}
|
|
10427
10437
|
type PCBKeepout = PCBKeepoutRect | PCBKeepoutCircle;
|
|
10428
10438
|
|
|
@@ -41316,6 +41326,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
41316
41326
|
pcb_keepout_id: z.ZodString;
|
|
41317
41327
|
layers: z.ZodArray<z.ZodString, "many">;
|
|
41318
41328
|
description: z.ZodOptional<z.ZodString>;
|
|
41329
|
+
excluded_pcb_component_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
41319
41330
|
}, "strip", z.ZodTypeAny, {
|
|
41320
41331
|
type: "pcb_keepout";
|
|
41321
41332
|
width: number;
|
|
@@ -41330,6 +41341,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
41330
41341
|
description?: string | undefined;
|
|
41331
41342
|
subcircuit_id?: string | undefined;
|
|
41332
41343
|
pcb_group_id?: string | undefined;
|
|
41344
|
+
excluded_pcb_component_ids?: string[] | undefined;
|
|
41333
41345
|
}, {
|
|
41334
41346
|
type: "pcb_keepout";
|
|
41335
41347
|
width: string | number;
|
|
@@ -41344,6 +41356,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
41344
41356
|
description?: string | undefined;
|
|
41345
41357
|
subcircuit_id?: string | undefined;
|
|
41346
41358
|
pcb_group_id?: string | undefined;
|
|
41359
|
+
excluded_pcb_component_ids?: string[] | undefined;
|
|
41347
41360
|
}>, z.ZodObject<{
|
|
41348
41361
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
41349
41362
|
shape: z.ZodLiteral<"circle">;
|
|
@@ -41363,6 +41376,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
41363
41376
|
pcb_keepout_id: z.ZodString;
|
|
41364
41377
|
layers: z.ZodArray<z.ZodString, "many">;
|
|
41365
41378
|
description: z.ZodOptional<z.ZodString>;
|
|
41379
|
+
excluded_pcb_component_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
41366
41380
|
}, "strip", z.ZodTypeAny, {
|
|
41367
41381
|
type: "pcb_keepout";
|
|
41368
41382
|
shape: "circle";
|
|
@@ -41376,6 +41390,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
41376
41390
|
description?: string | undefined;
|
|
41377
41391
|
subcircuit_id?: string | undefined;
|
|
41378
41392
|
pcb_group_id?: string | undefined;
|
|
41393
|
+
excluded_pcb_component_ids?: string[] | undefined;
|
|
41379
41394
|
}, {
|
|
41380
41395
|
type: "pcb_keepout";
|
|
41381
41396
|
shape: "circle";
|
|
@@ -41389,6 +41404,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
41389
41404
|
description?: string | undefined;
|
|
41390
41405
|
subcircuit_id?: string | undefined;
|
|
41391
41406
|
pcb_group_id?: string | undefined;
|
|
41407
|
+
excluded_pcb_component_ids?: string[] | undefined;
|
|
41392
41408
|
}>]>, z.ZodObject<{
|
|
41393
41409
|
type: z.ZodLiteral<"pcb_port">;
|
|
41394
41410
|
pcb_port_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -61271,6 +61287,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
61271
61287
|
pcb_keepout_id: z.ZodString;
|
|
61272
61288
|
layers: z.ZodArray<z.ZodString, "many">;
|
|
61273
61289
|
description: z.ZodOptional<z.ZodString>;
|
|
61290
|
+
excluded_pcb_component_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
61274
61291
|
}, "strip", z.ZodTypeAny, {
|
|
61275
61292
|
type: "pcb_keepout";
|
|
61276
61293
|
width: number;
|
|
@@ -61285,6 +61302,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
61285
61302
|
description?: string | undefined;
|
|
61286
61303
|
subcircuit_id?: string | undefined;
|
|
61287
61304
|
pcb_group_id?: string | undefined;
|
|
61305
|
+
excluded_pcb_component_ids?: string[] | undefined;
|
|
61288
61306
|
}, {
|
|
61289
61307
|
type: "pcb_keepout";
|
|
61290
61308
|
width: string | number;
|
|
@@ -61299,6 +61317,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
61299
61317
|
description?: string | undefined;
|
|
61300
61318
|
subcircuit_id?: string | undefined;
|
|
61301
61319
|
pcb_group_id?: string | undefined;
|
|
61320
|
+
excluded_pcb_component_ids?: string[] | undefined;
|
|
61302
61321
|
}>, z.ZodObject<{
|
|
61303
61322
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
61304
61323
|
shape: z.ZodLiteral<"circle">;
|
|
@@ -61318,6 +61337,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
61318
61337
|
pcb_keepout_id: z.ZodString;
|
|
61319
61338
|
layers: z.ZodArray<z.ZodString, "many">;
|
|
61320
61339
|
description: z.ZodOptional<z.ZodString>;
|
|
61340
|
+
excluded_pcb_component_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
61321
61341
|
}, "strip", z.ZodTypeAny, {
|
|
61322
61342
|
type: "pcb_keepout";
|
|
61323
61343
|
shape: "circle";
|
|
@@ -61331,6 +61351,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
61331
61351
|
description?: string | undefined;
|
|
61332
61352
|
subcircuit_id?: string | undefined;
|
|
61333
61353
|
pcb_group_id?: string | undefined;
|
|
61354
|
+
excluded_pcb_component_ids?: string[] | undefined;
|
|
61334
61355
|
}, {
|
|
61335
61356
|
type: "pcb_keepout";
|
|
61336
61357
|
shape: "circle";
|
|
@@ -61344,6 +61365,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
61344
61365
|
description?: string | undefined;
|
|
61345
61366
|
subcircuit_id?: string | undefined;
|
|
61346
61367
|
pcb_group_id?: string | undefined;
|
|
61368
|
+
excluded_pcb_component_ids?: string[] | undefined;
|
|
61347
61369
|
}>]>, z.ZodObject<{
|
|
61348
61370
|
type: z.ZodLiteral<"pcb_port">;
|
|
61349
61371
|
pcb_port_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
package/dist/index.mjs
CHANGED
|
@@ -2977,8 +2977,9 @@ var pcb_keepout = z142.object({
|
|
|
2977
2977
|
pcb_keepout_id: z142.string(),
|
|
2978
2978
|
layers: z142.array(z142.string()),
|
|
2979
2979
|
// Specify layers where the keepout applies
|
|
2980
|
-
description: z142.string().optional()
|
|
2980
|
+
description: z142.string().optional(),
|
|
2981
2981
|
// Optional description of the keepout
|
|
2982
|
+
excluded_pcb_component_ids: z142.array(z142.string()).optional()
|
|
2982
2983
|
}).or(
|
|
2983
2984
|
z142.object({
|
|
2984
2985
|
type: z142.literal("pcb_keepout"),
|
|
@@ -2990,8 +2991,9 @@ var pcb_keepout = z142.object({
|
|
|
2990
2991
|
pcb_keepout_id: z142.string(),
|
|
2991
2992
|
layers: z142.array(z142.string()),
|
|
2992
2993
|
// Specify layers where the keepout applies
|
|
2993
|
-
description: z142.string().optional()
|
|
2994
|
+
description: z142.string().optional(),
|
|
2994
2995
|
// Optional description of the keepout
|
|
2996
|
+
excluded_pcb_component_ids: z142.array(z142.string()).optional()
|
|
2995
2997
|
})
|
|
2996
2998
|
);
|
|
2997
2999
|
expectTypesMatch(true);
|