Skip to content

Commit

Permalink
feat: Update pcb_keepout schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name (aider) committed Sep 6, 2024
1 parent e8b0786 commit 13c33f4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/pcb/pcb_keepout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ export const pcb_keepout = z
.object({
type: z.literal("pcb_keepout"),
shape: z.literal("rect"),
x: distance,
y: distance,
center: point,
width: distance,
height: distance,
pcb_keepout_id: z.string(),
layer: z.array(z.string()).optional(), // Specify layers where the keepout applies
layers: z.array(z.string()), // Specify layers where the keepout applies
description: z.string().optional(), // Optional description of the keepout
})
.or(
Expand All @@ -21,7 +20,7 @@ export const pcb_keepout = z
center: point,
radius: distance,
pcb_keepout_id: z.string(),
layer: z.array(z.string()).optional(), // Specify layers where the keepout applies
layers: z.array(z.string()), // Specify layers where the keepout applies
description: z.string().optional(), // Optional description of the keepout
}),
)
Expand Down

0 comments on commit 13c33f4

Please sign in to comment.