Skip to content

Commit

Permalink
add pcb_trace_hint_id
Browse files Browse the repository at this point in the history
  • Loading branch information
seveibar committed May 11, 2024
1 parent ab15a13 commit a4c11b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pcb/pcb_trace_hint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ import { route_hint_point } from "./index"

export const pcb_trace_hint = z
.object({
pcb_trace_hint_id: z.string(),
type: z.literal("pcb_trace_hint"),
pcb_port_id: z.string(),
pcb_component_id: z.string(),
route: z.array(route_hint_point),
})
.describe("A hint that was used to generate a PCB trace")
.describe("A hint that can be used to generate a PCB trace")

export type PcbTraceHint = z.infer<typeof pcb_trace_hint>
export type PcbTraceHintInput = z.input<typeof pcb_trace_hint>

0 comments on commit a4c11b0

Please sign in to comment.