circuit-json 0.0.494 → 0.0.496

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.mjs CHANGED
@@ -2744,6 +2744,9 @@ var pcb_via = z127.object({
2744
2744
  y: distance,
2745
2745
  outer_diameter: distance.default("0.6mm"),
2746
2746
  hole_diameter: distance.default("0.25mm"),
2747
+ topmost_drill_layer: layer_ref.optional(),
2748
+ bottommost_drill_layer: layer_ref.optional(),
2749
+ through_hole: z127.boolean().optional(),
2747
2750
  /** @deprecated */
2748
2751
  from_layer: layer_ref.optional(),
2749
2752
  /** @deprecated */
@@ -3295,7 +3298,9 @@ var pcb_keepout_outline = z154.object({
3295
3298
  layers: z154.array(z154.string()),
3296
3299
  description: z154.string().optional(),
3297
3300
  excluded_pcb_component_ids: z154.array(z154.string()).optional(),
3298
- warning_only: z154.boolean().optional()
3301
+ warning_only: z154.boolean().optional(),
3302
+ allow_traces: z154.boolean().optional(),
3303
+ allow_placements: z154.boolean().optional()
3299
3304
  });
3300
3305
  var pcb_keepout = z154.object({
3301
3306
  type: z154.literal("pcb_keepout"),
@@ -3311,7 +3316,9 @@ var pcb_keepout = z154.object({
3311
3316
  description: z154.string().optional(),
3312
3317
  // Optional description of the keepout
3313
3318
  excluded_pcb_component_ids: z154.array(z154.string()).optional(),
3314
- warning_only: z154.boolean().optional()
3319
+ warning_only: z154.boolean().optional(),
3320
+ allow_traces: z154.boolean().optional(),
3321
+ allow_placements: z154.boolean().optional()
3315
3322
  }).or(
3316
3323
  z154.object({
3317
3324
  type: z154.literal("pcb_keepout"),
@@ -3326,7 +3333,9 @@ var pcb_keepout = z154.object({
3326
3333
  description: z154.string().optional(),
3327
3334
  // Optional description of the keepout
3328
3335
  excluded_pcb_component_ids: z154.array(z154.string()).optional(),
3329
- warning_only: z154.boolean().optional()
3336
+ warning_only: z154.boolean().optional(),
3337
+ allow_traces: z154.boolean().optional(),
3338
+ allow_placements: z154.boolean().optional()
3330
3339
  })
3331
3340
  ).or(pcb_keepout_outline);
3332
3341
  expectTypesMatch(true);