circuit-json 0.0.494 → 0.0.495
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 +72 -0
- package/dist/index.mjs +9 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -11079,6 +11079,8 @@ declare const pcb_keepout_outline: z.ZodObject<{
|
|
|
11079
11079
|
description: z.ZodOptional<z.ZodString>;
|
|
11080
11080
|
excluded_pcb_component_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11081
11081
|
warning_only: z.ZodOptional<z.ZodBoolean>;
|
|
11082
|
+
allow_traces: z.ZodOptional<z.ZodBoolean>;
|
|
11083
|
+
allow_placements: z.ZodOptional<z.ZodBoolean>;
|
|
11082
11084
|
}, "strip", z.ZodTypeAny, {
|
|
11083
11085
|
type: "pcb_keepout";
|
|
11084
11086
|
shape: "outline";
|
|
@@ -11094,6 +11096,8 @@ declare const pcb_keepout_outline: z.ZodObject<{
|
|
|
11094
11096
|
pcb_group_id?: string | undefined;
|
|
11095
11097
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
11096
11098
|
warning_only?: boolean | undefined;
|
|
11099
|
+
allow_traces?: boolean | undefined;
|
|
11100
|
+
allow_placements?: boolean | undefined;
|
|
11097
11101
|
}, {
|
|
11098
11102
|
type: "pcb_keepout";
|
|
11099
11103
|
shape: "outline";
|
|
@@ -11109,6 +11113,8 @@ declare const pcb_keepout_outline: z.ZodObject<{
|
|
|
11109
11113
|
pcb_group_id?: string | undefined;
|
|
11110
11114
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
11111
11115
|
warning_only?: boolean | undefined;
|
|
11116
|
+
allow_traces?: boolean | undefined;
|
|
11117
|
+
allow_placements?: boolean | undefined;
|
|
11112
11118
|
}>;
|
|
11113
11119
|
type PcbKeepoutOutlineInput = z.input<typeof pcb_keepout_outline>;
|
|
11114
11120
|
declare const pcb_keepout: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
@@ -11133,6 +11139,8 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
11133
11139
|
description: z.ZodOptional<z.ZodString>;
|
|
11134
11140
|
excluded_pcb_component_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11135
11141
|
warning_only: z.ZodOptional<z.ZodBoolean>;
|
|
11142
|
+
allow_traces: z.ZodOptional<z.ZodBoolean>;
|
|
11143
|
+
allow_placements: z.ZodOptional<z.ZodBoolean>;
|
|
11136
11144
|
}, "strip", z.ZodTypeAny, {
|
|
11137
11145
|
type: "pcb_keepout";
|
|
11138
11146
|
width: number;
|
|
@@ -11149,6 +11157,8 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
11149
11157
|
pcb_group_id?: string | undefined;
|
|
11150
11158
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
11151
11159
|
warning_only?: boolean | undefined;
|
|
11160
|
+
allow_traces?: boolean | undefined;
|
|
11161
|
+
allow_placements?: boolean | undefined;
|
|
11152
11162
|
}, {
|
|
11153
11163
|
type: "pcb_keepout";
|
|
11154
11164
|
width: string | number;
|
|
@@ -11165,6 +11175,8 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
11165
11175
|
pcb_group_id?: string | undefined;
|
|
11166
11176
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
11167
11177
|
warning_only?: boolean | undefined;
|
|
11178
|
+
allow_traces?: boolean | undefined;
|
|
11179
|
+
allow_placements?: boolean | undefined;
|
|
11168
11180
|
}>, z.ZodObject<{
|
|
11169
11181
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
11170
11182
|
shape: z.ZodLiteral<"circle">;
|
|
@@ -11186,6 +11198,8 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
11186
11198
|
description: z.ZodOptional<z.ZodString>;
|
|
11187
11199
|
excluded_pcb_component_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11188
11200
|
warning_only: z.ZodOptional<z.ZodBoolean>;
|
|
11201
|
+
allow_traces: z.ZodOptional<z.ZodBoolean>;
|
|
11202
|
+
allow_placements: z.ZodOptional<z.ZodBoolean>;
|
|
11189
11203
|
}, "strip", z.ZodTypeAny, {
|
|
11190
11204
|
type: "pcb_keepout";
|
|
11191
11205
|
shape: "circle";
|
|
@@ -11201,6 +11215,8 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
11201
11215
|
pcb_group_id?: string | undefined;
|
|
11202
11216
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
11203
11217
|
warning_only?: boolean | undefined;
|
|
11218
|
+
allow_traces?: boolean | undefined;
|
|
11219
|
+
allow_placements?: boolean | undefined;
|
|
11204
11220
|
}, {
|
|
11205
11221
|
type: "pcb_keepout";
|
|
11206
11222
|
shape: "circle";
|
|
@@ -11216,6 +11232,8 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
11216
11232
|
pcb_group_id?: string | undefined;
|
|
11217
11233
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
11218
11234
|
warning_only?: boolean | undefined;
|
|
11235
|
+
allow_traces?: boolean | undefined;
|
|
11236
|
+
allow_placements?: boolean | undefined;
|
|
11219
11237
|
}>]>, z.ZodObject<{
|
|
11220
11238
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
11221
11239
|
shape: z.ZodLiteral<"outline">;
|
|
@@ -11237,6 +11255,8 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
11237
11255
|
description: z.ZodOptional<z.ZodString>;
|
|
11238
11256
|
excluded_pcb_component_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11239
11257
|
warning_only: z.ZodOptional<z.ZodBoolean>;
|
|
11258
|
+
allow_traces: z.ZodOptional<z.ZodBoolean>;
|
|
11259
|
+
allow_placements: z.ZodOptional<z.ZodBoolean>;
|
|
11240
11260
|
}, "strip", z.ZodTypeAny, {
|
|
11241
11261
|
type: "pcb_keepout";
|
|
11242
11262
|
shape: "outline";
|
|
@@ -11252,6 +11272,8 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
11252
11272
|
pcb_group_id?: string | undefined;
|
|
11253
11273
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
11254
11274
|
warning_only?: boolean | undefined;
|
|
11275
|
+
allow_traces?: boolean | undefined;
|
|
11276
|
+
allow_placements?: boolean | undefined;
|
|
11255
11277
|
}, {
|
|
11256
11278
|
type: "pcb_keepout";
|
|
11257
11279
|
shape: "outline";
|
|
@@ -11267,6 +11289,8 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
11267
11289
|
pcb_group_id?: string | undefined;
|
|
11268
11290
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
11269
11291
|
warning_only?: boolean | undefined;
|
|
11292
|
+
allow_traces?: boolean | undefined;
|
|
11293
|
+
allow_placements?: boolean | undefined;
|
|
11270
11294
|
}>]>;
|
|
11271
11295
|
type PCBKeepoutInput = z.input<typeof pcb_keepout>;
|
|
11272
11296
|
interface PCBKeepoutRect {
|
|
@@ -11288,6 +11312,10 @@ interface PCBKeepoutRect {
|
|
|
11288
11312
|
* False or omitted preserves normal enforcement. Component exclusions still apply.
|
|
11289
11313
|
*/
|
|
11290
11314
|
warning_only?: boolean;
|
|
11315
|
+
/** Allow trace crossings without keepout diagnostics; copper pours remain excluded. */
|
|
11316
|
+
allow_traces?: boolean;
|
|
11317
|
+
/** Allow components and their pads/plated holes without keepout diagnostics; copper pours remain excluded. */
|
|
11318
|
+
allow_placements?: boolean;
|
|
11291
11319
|
}
|
|
11292
11320
|
interface PCBKeepoutCircle {
|
|
11293
11321
|
type: "pcb_keepout";
|
|
@@ -11307,6 +11335,10 @@ interface PCBKeepoutCircle {
|
|
|
11307
11335
|
* False or omitted preserves normal enforcement. Component exclusions still apply.
|
|
11308
11336
|
*/
|
|
11309
11337
|
warning_only?: boolean;
|
|
11338
|
+
/** Allow trace crossings without keepout diagnostics; copper pours remain excluded. */
|
|
11339
|
+
allow_traces?: boolean;
|
|
11340
|
+
/** Allow components and their pads/plated holes without keepout diagnostics; copper pours remain excluded. */
|
|
11341
|
+
allow_placements?: boolean;
|
|
11310
11342
|
}
|
|
11311
11343
|
interface PcbKeepoutOutline {
|
|
11312
11344
|
type: "pcb_keepout";
|
|
@@ -11326,6 +11358,10 @@ interface PcbKeepoutOutline {
|
|
|
11326
11358
|
* False or omitted preserves normal enforcement. Component exclusions still apply.
|
|
11327
11359
|
*/
|
|
11328
11360
|
warning_only?: boolean;
|
|
11361
|
+
/** Allow trace crossings without keepout diagnostics; copper pours remain excluded. */
|
|
11362
|
+
allow_traces?: boolean;
|
|
11363
|
+
/** Allow components and their pads/plated holes without keepout diagnostics; copper pours remain excluded. */
|
|
11364
|
+
allow_placements?: boolean;
|
|
11329
11365
|
}
|
|
11330
11366
|
type PCBKeepout = PCBKeepoutRect | PCBKeepoutCircle | PcbKeepoutOutline;
|
|
11331
11367
|
|
|
@@ -43100,6 +43136,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43100
43136
|
description: z.ZodOptional<z.ZodString>;
|
|
43101
43137
|
excluded_pcb_component_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
43102
43138
|
warning_only: z.ZodOptional<z.ZodBoolean>;
|
|
43139
|
+
allow_traces: z.ZodOptional<z.ZodBoolean>;
|
|
43140
|
+
allow_placements: z.ZodOptional<z.ZodBoolean>;
|
|
43103
43141
|
}, "strip", z.ZodTypeAny, {
|
|
43104
43142
|
type: "pcb_keepout";
|
|
43105
43143
|
width: number;
|
|
@@ -43116,6 +43154,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43116
43154
|
pcb_group_id?: string | undefined;
|
|
43117
43155
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
43118
43156
|
warning_only?: boolean | undefined;
|
|
43157
|
+
allow_traces?: boolean | undefined;
|
|
43158
|
+
allow_placements?: boolean | undefined;
|
|
43119
43159
|
}, {
|
|
43120
43160
|
type: "pcb_keepout";
|
|
43121
43161
|
width: string | number;
|
|
@@ -43132,6 +43172,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43132
43172
|
pcb_group_id?: string | undefined;
|
|
43133
43173
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
43134
43174
|
warning_only?: boolean | undefined;
|
|
43175
|
+
allow_traces?: boolean | undefined;
|
|
43176
|
+
allow_placements?: boolean | undefined;
|
|
43135
43177
|
}>, z.ZodObject<{
|
|
43136
43178
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
43137
43179
|
shape: z.ZodLiteral<"circle">;
|
|
@@ -43153,6 +43195,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43153
43195
|
description: z.ZodOptional<z.ZodString>;
|
|
43154
43196
|
excluded_pcb_component_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
43155
43197
|
warning_only: z.ZodOptional<z.ZodBoolean>;
|
|
43198
|
+
allow_traces: z.ZodOptional<z.ZodBoolean>;
|
|
43199
|
+
allow_placements: z.ZodOptional<z.ZodBoolean>;
|
|
43156
43200
|
}, "strip", z.ZodTypeAny, {
|
|
43157
43201
|
type: "pcb_keepout";
|
|
43158
43202
|
shape: "circle";
|
|
@@ -43168,6 +43212,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43168
43212
|
pcb_group_id?: string | undefined;
|
|
43169
43213
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
43170
43214
|
warning_only?: boolean | undefined;
|
|
43215
|
+
allow_traces?: boolean | undefined;
|
|
43216
|
+
allow_placements?: boolean | undefined;
|
|
43171
43217
|
}, {
|
|
43172
43218
|
type: "pcb_keepout";
|
|
43173
43219
|
shape: "circle";
|
|
@@ -43183,6 +43229,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43183
43229
|
pcb_group_id?: string | undefined;
|
|
43184
43230
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
43185
43231
|
warning_only?: boolean | undefined;
|
|
43232
|
+
allow_traces?: boolean | undefined;
|
|
43233
|
+
allow_placements?: boolean | undefined;
|
|
43186
43234
|
}>]>, z.ZodObject<{
|
|
43187
43235
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
43188
43236
|
shape: z.ZodLiteral<"outline">;
|
|
@@ -43204,6 +43252,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43204
43252
|
description: z.ZodOptional<z.ZodString>;
|
|
43205
43253
|
excluded_pcb_component_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
43206
43254
|
warning_only: z.ZodOptional<z.ZodBoolean>;
|
|
43255
|
+
allow_traces: z.ZodOptional<z.ZodBoolean>;
|
|
43256
|
+
allow_placements: z.ZodOptional<z.ZodBoolean>;
|
|
43207
43257
|
}, "strip", z.ZodTypeAny, {
|
|
43208
43258
|
type: "pcb_keepout";
|
|
43209
43259
|
shape: "outline";
|
|
@@ -43219,6 +43269,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43219
43269
|
pcb_group_id?: string | undefined;
|
|
43220
43270
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
43221
43271
|
warning_only?: boolean | undefined;
|
|
43272
|
+
allow_traces?: boolean | undefined;
|
|
43273
|
+
allow_placements?: boolean | undefined;
|
|
43222
43274
|
}, {
|
|
43223
43275
|
type: "pcb_keepout";
|
|
43224
43276
|
shape: "outline";
|
|
@@ -43234,6 +43286,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43234
43286
|
pcb_group_id?: string | undefined;
|
|
43235
43287
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
43236
43288
|
warning_only?: boolean | undefined;
|
|
43289
|
+
allow_traces?: boolean | undefined;
|
|
43290
|
+
allow_placements?: boolean | undefined;
|
|
43237
43291
|
}>]>, z.ZodObject<{
|
|
43238
43292
|
type: z.ZodLiteral<"pcb_keepout_overlap_warning">;
|
|
43239
43293
|
pcb_keepout_overlap_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -63884,6 +63938,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
63884
63938
|
description: z.ZodOptional<z.ZodString>;
|
|
63885
63939
|
excluded_pcb_component_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
63886
63940
|
warning_only: z.ZodOptional<z.ZodBoolean>;
|
|
63941
|
+
allow_traces: z.ZodOptional<z.ZodBoolean>;
|
|
63942
|
+
allow_placements: z.ZodOptional<z.ZodBoolean>;
|
|
63887
63943
|
}, "strip", z.ZodTypeAny, {
|
|
63888
63944
|
type: "pcb_keepout";
|
|
63889
63945
|
width: number;
|
|
@@ -63900,6 +63956,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
63900
63956
|
pcb_group_id?: string | undefined;
|
|
63901
63957
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
63902
63958
|
warning_only?: boolean | undefined;
|
|
63959
|
+
allow_traces?: boolean | undefined;
|
|
63960
|
+
allow_placements?: boolean | undefined;
|
|
63903
63961
|
}, {
|
|
63904
63962
|
type: "pcb_keepout";
|
|
63905
63963
|
width: string | number;
|
|
@@ -63916,6 +63974,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
63916
63974
|
pcb_group_id?: string | undefined;
|
|
63917
63975
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
63918
63976
|
warning_only?: boolean | undefined;
|
|
63977
|
+
allow_traces?: boolean | undefined;
|
|
63978
|
+
allow_placements?: boolean | undefined;
|
|
63919
63979
|
}>, z.ZodObject<{
|
|
63920
63980
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
63921
63981
|
shape: z.ZodLiteral<"circle">;
|
|
@@ -63937,6 +63997,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
63937
63997
|
description: z.ZodOptional<z.ZodString>;
|
|
63938
63998
|
excluded_pcb_component_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
63939
63999
|
warning_only: z.ZodOptional<z.ZodBoolean>;
|
|
64000
|
+
allow_traces: z.ZodOptional<z.ZodBoolean>;
|
|
64001
|
+
allow_placements: z.ZodOptional<z.ZodBoolean>;
|
|
63940
64002
|
}, "strip", z.ZodTypeAny, {
|
|
63941
64003
|
type: "pcb_keepout";
|
|
63942
64004
|
shape: "circle";
|
|
@@ -63952,6 +64014,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
63952
64014
|
pcb_group_id?: string | undefined;
|
|
63953
64015
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
63954
64016
|
warning_only?: boolean | undefined;
|
|
64017
|
+
allow_traces?: boolean | undefined;
|
|
64018
|
+
allow_placements?: boolean | undefined;
|
|
63955
64019
|
}, {
|
|
63956
64020
|
type: "pcb_keepout";
|
|
63957
64021
|
shape: "circle";
|
|
@@ -63967,6 +64031,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
63967
64031
|
pcb_group_id?: string | undefined;
|
|
63968
64032
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
63969
64033
|
warning_only?: boolean | undefined;
|
|
64034
|
+
allow_traces?: boolean | undefined;
|
|
64035
|
+
allow_placements?: boolean | undefined;
|
|
63970
64036
|
}>]>, z.ZodObject<{
|
|
63971
64037
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
63972
64038
|
shape: z.ZodLiteral<"outline">;
|
|
@@ -63988,6 +64054,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
63988
64054
|
description: z.ZodOptional<z.ZodString>;
|
|
63989
64055
|
excluded_pcb_component_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
63990
64056
|
warning_only: z.ZodOptional<z.ZodBoolean>;
|
|
64057
|
+
allow_traces: z.ZodOptional<z.ZodBoolean>;
|
|
64058
|
+
allow_placements: z.ZodOptional<z.ZodBoolean>;
|
|
63991
64059
|
}, "strip", z.ZodTypeAny, {
|
|
63992
64060
|
type: "pcb_keepout";
|
|
63993
64061
|
shape: "outline";
|
|
@@ -64003,6 +64071,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
64003
64071
|
pcb_group_id?: string | undefined;
|
|
64004
64072
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
64005
64073
|
warning_only?: boolean | undefined;
|
|
64074
|
+
allow_traces?: boolean | undefined;
|
|
64075
|
+
allow_placements?: boolean | undefined;
|
|
64006
64076
|
}, {
|
|
64007
64077
|
type: "pcb_keepout";
|
|
64008
64078
|
shape: "outline";
|
|
@@ -64018,6 +64088,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
64018
64088
|
pcb_group_id?: string | undefined;
|
|
64019
64089
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
64020
64090
|
warning_only?: boolean | undefined;
|
|
64091
|
+
allow_traces?: boolean | undefined;
|
|
64092
|
+
allow_placements?: boolean | undefined;
|
|
64021
64093
|
}>]>, z.ZodObject<{
|
|
64022
64094
|
type: z.ZodLiteral<"pcb_keepout_overlap_warning">;
|
|
64023
64095
|
pcb_keepout_overlap_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
package/dist/index.mjs
CHANGED
|
@@ -3295,7 +3295,9 @@ var pcb_keepout_outline = z154.object({
|
|
|
3295
3295
|
layers: z154.array(z154.string()),
|
|
3296
3296
|
description: z154.string().optional(),
|
|
3297
3297
|
excluded_pcb_component_ids: z154.array(z154.string()).optional(),
|
|
3298
|
-
warning_only: z154.boolean().optional()
|
|
3298
|
+
warning_only: z154.boolean().optional(),
|
|
3299
|
+
allow_traces: z154.boolean().optional(),
|
|
3300
|
+
allow_placements: z154.boolean().optional()
|
|
3299
3301
|
});
|
|
3300
3302
|
var pcb_keepout = z154.object({
|
|
3301
3303
|
type: z154.literal("pcb_keepout"),
|
|
@@ -3311,7 +3313,9 @@ var pcb_keepout = z154.object({
|
|
|
3311
3313
|
description: z154.string().optional(),
|
|
3312
3314
|
// Optional description of the keepout
|
|
3313
3315
|
excluded_pcb_component_ids: z154.array(z154.string()).optional(),
|
|
3314
|
-
warning_only: z154.boolean().optional()
|
|
3316
|
+
warning_only: z154.boolean().optional(),
|
|
3317
|
+
allow_traces: z154.boolean().optional(),
|
|
3318
|
+
allow_placements: z154.boolean().optional()
|
|
3315
3319
|
}).or(
|
|
3316
3320
|
z154.object({
|
|
3317
3321
|
type: z154.literal("pcb_keepout"),
|
|
@@ -3326,7 +3330,9 @@ var pcb_keepout = z154.object({
|
|
|
3326
3330
|
description: z154.string().optional(),
|
|
3327
3331
|
// Optional description of the keepout
|
|
3328
3332
|
excluded_pcb_component_ids: z154.array(z154.string()).optional(),
|
|
3329
|
-
warning_only: z154.boolean().optional()
|
|
3333
|
+
warning_only: z154.boolean().optional(),
|
|
3334
|
+
allow_traces: z154.boolean().optional(),
|
|
3335
|
+
allow_placements: z154.boolean().optional()
|
|
3330
3336
|
})
|
|
3331
3337
|
).or(pcb_keepout_outline);
|
|
3332
3338
|
expectTypesMatch(true);
|