circuit-json 0.0.456 → 0.0.458
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 +32 -0
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -7842,6 +7842,7 @@ declare const pcb_via: z.ZodObject<{
|
|
|
7842
7842
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
7843
7843
|
}>, "many">;
|
|
7844
7844
|
pcb_trace_id: z.ZodOptional<z.ZodString>;
|
|
7845
|
+
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
7845
7846
|
net_is_assignable: z.ZodOptional<z.ZodBoolean>;
|
|
7846
7847
|
net_assigned: z.ZodOptional<z.ZodBoolean>;
|
|
7847
7848
|
is_tented: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -7857,6 +7858,7 @@ declare const pcb_via: z.ZodObject<{
|
|
|
7857
7858
|
subcircuit_id?: string | undefined;
|
|
7858
7859
|
pcb_group_id?: string | undefined;
|
|
7859
7860
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
|
|
7861
|
+
source_trace_id?: string | undefined;
|
|
7860
7862
|
pcb_trace_id?: string | undefined;
|
|
7861
7863
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
7862
7864
|
net_is_assignable?: boolean | undefined;
|
|
@@ -7879,6 +7881,7 @@ declare const pcb_via: z.ZodObject<{
|
|
|
7879
7881
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
|
|
7880
7882
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
7881
7883
|
} | undefined;
|
|
7884
|
+
source_trace_id?: string | undefined;
|
|
7882
7885
|
pcb_trace_id?: string | undefined;
|
|
7883
7886
|
pcb_via_id?: string | undefined;
|
|
7884
7887
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
@@ -7906,6 +7909,7 @@ interface PcbVia {
|
|
|
7906
7909
|
to_layer?: LayerRef;
|
|
7907
7910
|
layers: LayerRef[];
|
|
7908
7911
|
pcb_trace_id?: string;
|
|
7912
|
+
source_trace_id?: string;
|
|
7909
7913
|
net_is_assignable?: boolean;
|
|
7910
7914
|
net_assigned?: boolean;
|
|
7911
7915
|
is_tented?: boolean;
|
|
@@ -10326,6 +10330,7 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
|
10326
10330
|
pcb_keepout_id: z.ZodString;
|
|
10327
10331
|
layers: z.ZodArray<z.ZodString, "many">;
|
|
10328
10332
|
description: z.ZodOptional<z.ZodString>;
|
|
10333
|
+
excluded_pcb_component_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10329
10334
|
}, "strip", z.ZodTypeAny, {
|
|
10330
10335
|
type: "pcb_keepout";
|
|
10331
10336
|
width: number;
|
|
@@ -10340,6 +10345,7 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
|
10340
10345
|
description?: string | undefined;
|
|
10341
10346
|
subcircuit_id?: string | undefined;
|
|
10342
10347
|
pcb_group_id?: string | undefined;
|
|
10348
|
+
excluded_pcb_component_ids?: string[] | undefined;
|
|
10343
10349
|
}, {
|
|
10344
10350
|
type: "pcb_keepout";
|
|
10345
10351
|
width: string | number;
|
|
@@ -10354,6 +10360,7 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
|
10354
10360
|
description?: string | undefined;
|
|
10355
10361
|
subcircuit_id?: string | undefined;
|
|
10356
10362
|
pcb_group_id?: string | undefined;
|
|
10363
|
+
excluded_pcb_component_ids?: string[] | undefined;
|
|
10357
10364
|
}>, z.ZodObject<{
|
|
10358
10365
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
10359
10366
|
shape: z.ZodLiteral<"circle">;
|
|
@@ -10373,6 +10380,7 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
|
10373
10380
|
pcb_keepout_id: z.ZodString;
|
|
10374
10381
|
layers: z.ZodArray<z.ZodString, "many">;
|
|
10375
10382
|
description: z.ZodOptional<z.ZodString>;
|
|
10383
|
+
excluded_pcb_component_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10376
10384
|
}, "strip", z.ZodTypeAny, {
|
|
10377
10385
|
type: "pcb_keepout";
|
|
10378
10386
|
shape: "circle";
|
|
@@ -10386,6 +10394,7 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
|
10386
10394
|
description?: string | undefined;
|
|
10387
10395
|
subcircuit_id?: string | undefined;
|
|
10388
10396
|
pcb_group_id?: string | undefined;
|
|
10397
|
+
excluded_pcb_component_ids?: string[] | undefined;
|
|
10389
10398
|
}, {
|
|
10390
10399
|
type: "pcb_keepout";
|
|
10391
10400
|
shape: "circle";
|
|
@@ -10399,6 +10408,7 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
|
10399
10408
|
description?: string | undefined;
|
|
10400
10409
|
subcircuit_id?: string | undefined;
|
|
10401
10410
|
pcb_group_id?: string | undefined;
|
|
10411
|
+
excluded_pcb_component_ids?: string[] | undefined;
|
|
10402
10412
|
}>]>;
|
|
10403
10413
|
type PCBKeepoutInput = z.input<typeof pcb_keepout>;
|
|
10404
10414
|
interface PCBKeepoutRect {
|
|
@@ -10412,6 +10422,8 @@ interface PCBKeepoutRect {
|
|
|
10412
10422
|
pcb_keepout_id: string;
|
|
10413
10423
|
layers: string[];
|
|
10414
10424
|
description?: string;
|
|
10425
|
+
/** PCB components excluded from keepout DRC enforcement. */
|
|
10426
|
+
excluded_pcb_component_ids?: string[];
|
|
10415
10427
|
}
|
|
10416
10428
|
interface PCBKeepoutCircle {
|
|
10417
10429
|
type: "pcb_keepout";
|
|
@@ -10423,6 +10435,8 @@ interface PCBKeepoutCircle {
|
|
|
10423
10435
|
pcb_keepout_id: string;
|
|
10424
10436
|
layers: string[];
|
|
10425
10437
|
description?: string;
|
|
10438
|
+
/** PCB components excluded from keepout DRC enforcement. */
|
|
10439
|
+
excluded_pcb_component_ids?: string[];
|
|
10426
10440
|
}
|
|
10427
10441
|
type PCBKeepout = PCBKeepoutRect | PCBKeepoutCircle;
|
|
10428
10442
|
|
|
@@ -41316,6 +41330,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
41316
41330
|
pcb_keepout_id: z.ZodString;
|
|
41317
41331
|
layers: z.ZodArray<z.ZodString, "many">;
|
|
41318
41332
|
description: z.ZodOptional<z.ZodString>;
|
|
41333
|
+
excluded_pcb_component_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
41319
41334
|
}, "strip", z.ZodTypeAny, {
|
|
41320
41335
|
type: "pcb_keepout";
|
|
41321
41336
|
width: number;
|
|
@@ -41330,6 +41345,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
41330
41345
|
description?: string | undefined;
|
|
41331
41346
|
subcircuit_id?: string | undefined;
|
|
41332
41347
|
pcb_group_id?: string | undefined;
|
|
41348
|
+
excluded_pcb_component_ids?: string[] | undefined;
|
|
41333
41349
|
}, {
|
|
41334
41350
|
type: "pcb_keepout";
|
|
41335
41351
|
width: string | number;
|
|
@@ -41344,6 +41360,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
41344
41360
|
description?: string | undefined;
|
|
41345
41361
|
subcircuit_id?: string | undefined;
|
|
41346
41362
|
pcb_group_id?: string | undefined;
|
|
41363
|
+
excluded_pcb_component_ids?: string[] | undefined;
|
|
41347
41364
|
}>, z.ZodObject<{
|
|
41348
41365
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
41349
41366
|
shape: z.ZodLiteral<"circle">;
|
|
@@ -41363,6 +41380,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
41363
41380
|
pcb_keepout_id: z.ZodString;
|
|
41364
41381
|
layers: z.ZodArray<z.ZodString, "many">;
|
|
41365
41382
|
description: z.ZodOptional<z.ZodString>;
|
|
41383
|
+
excluded_pcb_component_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
41366
41384
|
}, "strip", z.ZodTypeAny, {
|
|
41367
41385
|
type: "pcb_keepout";
|
|
41368
41386
|
shape: "circle";
|
|
@@ -41376,6 +41394,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
41376
41394
|
description?: string | undefined;
|
|
41377
41395
|
subcircuit_id?: string | undefined;
|
|
41378
41396
|
pcb_group_id?: string | undefined;
|
|
41397
|
+
excluded_pcb_component_ids?: string[] | undefined;
|
|
41379
41398
|
}, {
|
|
41380
41399
|
type: "pcb_keepout";
|
|
41381
41400
|
shape: "circle";
|
|
@@ -41389,6 +41408,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
41389
41408
|
description?: string | undefined;
|
|
41390
41409
|
subcircuit_id?: string | undefined;
|
|
41391
41410
|
pcb_group_id?: string | undefined;
|
|
41411
|
+
excluded_pcb_component_ids?: string[] | undefined;
|
|
41392
41412
|
}>]>, z.ZodObject<{
|
|
41393
41413
|
type: z.ZodLiteral<"pcb_port">;
|
|
41394
41414
|
pcb_port_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -41913,6 +41933,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
41913
41933
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
41914
41934
|
}>, "many">;
|
|
41915
41935
|
pcb_trace_id: z.ZodOptional<z.ZodString>;
|
|
41936
|
+
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
41916
41937
|
net_is_assignable: z.ZodOptional<z.ZodBoolean>;
|
|
41917
41938
|
net_assigned: z.ZodOptional<z.ZodBoolean>;
|
|
41918
41939
|
is_tented: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -41928,6 +41949,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
41928
41949
|
subcircuit_id?: string | undefined;
|
|
41929
41950
|
pcb_group_id?: string | undefined;
|
|
41930
41951
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
|
|
41952
|
+
source_trace_id?: string | undefined;
|
|
41931
41953
|
pcb_trace_id?: string | undefined;
|
|
41932
41954
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
41933
41955
|
net_is_assignable?: boolean | undefined;
|
|
@@ -41950,6 +41972,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
41950
41972
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
|
|
41951
41973
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
41952
41974
|
} | undefined;
|
|
41975
|
+
source_trace_id?: string | undefined;
|
|
41953
41976
|
pcb_trace_id?: string | undefined;
|
|
41954
41977
|
pcb_via_id?: string | undefined;
|
|
41955
41978
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
@@ -61271,6 +61294,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
61271
61294
|
pcb_keepout_id: z.ZodString;
|
|
61272
61295
|
layers: z.ZodArray<z.ZodString, "many">;
|
|
61273
61296
|
description: z.ZodOptional<z.ZodString>;
|
|
61297
|
+
excluded_pcb_component_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
61274
61298
|
}, "strip", z.ZodTypeAny, {
|
|
61275
61299
|
type: "pcb_keepout";
|
|
61276
61300
|
width: number;
|
|
@@ -61285,6 +61309,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
61285
61309
|
description?: string | undefined;
|
|
61286
61310
|
subcircuit_id?: string | undefined;
|
|
61287
61311
|
pcb_group_id?: string | undefined;
|
|
61312
|
+
excluded_pcb_component_ids?: string[] | undefined;
|
|
61288
61313
|
}, {
|
|
61289
61314
|
type: "pcb_keepout";
|
|
61290
61315
|
width: string | number;
|
|
@@ -61299,6 +61324,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
61299
61324
|
description?: string | undefined;
|
|
61300
61325
|
subcircuit_id?: string | undefined;
|
|
61301
61326
|
pcb_group_id?: string | undefined;
|
|
61327
|
+
excluded_pcb_component_ids?: string[] | undefined;
|
|
61302
61328
|
}>, z.ZodObject<{
|
|
61303
61329
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
61304
61330
|
shape: z.ZodLiteral<"circle">;
|
|
@@ -61318,6 +61344,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
61318
61344
|
pcb_keepout_id: z.ZodString;
|
|
61319
61345
|
layers: z.ZodArray<z.ZodString, "many">;
|
|
61320
61346
|
description: z.ZodOptional<z.ZodString>;
|
|
61347
|
+
excluded_pcb_component_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
61321
61348
|
}, "strip", z.ZodTypeAny, {
|
|
61322
61349
|
type: "pcb_keepout";
|
|
61323
61350
|
shape: "circle";
|
|
@@ -61331,6 +61358,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
61331
61358
|
description?: string | undefined;
|
|
61332
61359
|
subcircuit_id?: string | undefined;
|
|
61333
61360
|
pcb_group_id?: string | undefined;
|
|
61361
|
+
excluded_pcb_component_ids?: string[] | undefined;
|
|
61334
61362
|
}, {
|
|
61335
61363
|
type: "pcb_keepout";
|
|
61336
61364
|
shape: "circle";
|
|
@@ -61344,6 +61372,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
61344
61372
|
description?: string | undefined;
|
|
61345
61373
|
subcircuit_id?: string | undefined;
|
|
61346
61374
|
pcb_group_id?: string | undefined;
|
|
61375
|
+
excluded_pcb_component_ids?: string[] | undefined;
|
|
61347
61376
|
}>]>, z.ZodObject<{
|
|
61348
61377
|
type: z.ZodLiteral<"pcb_port">;
|
|
61349
61378
|
pcb_port_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -61868,6 +61897,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
61868
61897
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
61869
61898
|
}>, "many">;
|
|
61870
61899
|
pcb_trace_id: z.ZodOptional<z.ZodString>;
|
|
61900
|
+
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
61871
61901
|
net_is_assignable: z.ZodOptional<z.ZodBoolean>;
|
|
61872
61902
|
net_assigned: z.ZodOptional<z.ZodBoolean>;
|
|
61873
61903
|
is_tented: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -61883,6 +61913,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
61883
61913
|
subcircuit_id?: string | undefined;
|
|
61884
61914
|
pcb_group_id?: string | undefined;
|
|
61885
61915
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
|
|
61916
|
+
source_trace_id?: string | undefined;
|
|
61886
61917
|
pcb_trace_id?: string | undefined;
|
|
61887
61918
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
61888
61919
|
net_is_assignable?: boolean | undefined;
|
|
@@ -61905,6 +61936,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
61905
61936
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
|
|
61906
61937
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
61907
61938
|
} | undefined;
|
|
61939
|
+
source_trace_id?: string | undefined;
|
|
61908
61940
|
pcb_trace_id?: string | undefined;
|
|
61909
61941
|
pcb_via_id?: string | undefined;
|
|
61910
61942
|
subcircuit_connectivity_map_key?: string | undefined;
|
package/dist/index.mjs
CHANGED
|
@@ -2451,6 +2451,7 @@ var pcb_via = z115.object({
|
|
|
2451
2451
|
to_layer: layer_ref.optional(),
|
|
2452
2452
|
layers: z115.array(layer_ref),
|
|
2453
2453
|
pcb_trace_id: z115.string().optional(),
|
|
2454
|
+
source_trace_id: z115.string().optional(),
|
|
2454
2455
|
net_is_assignable: z115.boolean().optional(),
|
|
2455
2456
|
net_assigned: z115.boolean().optional(),
|
|
2456
2457
|
is_tented: z115.boolean().optional()
|
|
@@ -2977,8 +2978,9 @@ var pcb_keepout = z142.object({
|
|
|
2977
2978
|
pcb_keepout_id: z142.string(),
|
|
2978
2979
|
layers: z142.array(z142.string()),
|
|
2979
2980
|
// Specify layers where the keepout applies
|
|
2980
|
-
description: z142.string().optional()
|
|
2981
|
+
description: z142.string().optional(),
|
|
2981
2982
|
// Optional description of the keepout
|
|
2983
|
+
excluded_pcb_component_ids: z142.array(z142.string()).optional()
|
|
2982
2984
|
}).or(
|
|
2983
2985
|
z142.object({
|
|
2984
2986
|
type: z142.literal("pcb_keepout"),
|
|
@@ -2990,8 +2992,9 @@ var pcb_keepout = z142.object({
|
|
|
2990
2992
|
pcb_keepout_id: z142.string(),
|
|
2991
2993
|
layers: z142.array(z142.string()),
|
|
2992
2994
|
// Specify layers where the keepout applies
|
|
2993
|
-
description: z142.string().optional()
|
|
2995
|
+
description: z142.string().optional(),
|
|
2994
2996
|
// Optional description of the keepout
|
|
2997
|
+
excluded_pcb_component_ids: z142.array(z142.string()).optional()
|
|
2995
2998
|
})
|
|
2996
2999
|
);
|
|
2997
3000
|
expectTypesMatch(true);
|