Skip to content

Commit

Permalink
remove legacy constraint props (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
seveibar authored Sep 5, 2024
1 parent 3ea7664 commit 73a2d04
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,25 +199,6 @@ export const schematicPathProps = z.object({
})
export type SchematicPathProps = z.input<typeof schematicPathProps>

export const constraintProps = z.union([
z.object({
type: z.literal("xdist"),
dist: distance,
left: z.string(),
right: z.string(),
}),
z.object({
type: z.literal("ydist"),
dist: distance,
top: z.string(),
bottom: z.string(),
}),
])
export type ConstraintProps = z.input<typeof constraintProps>

export const constrainedLayoutProps = z.object({})
export type ConstrainedLayoutProps = z.input<typeof constrainedLayoutProps>

export const footprintProps = z.object({})
export type FootprintProps = z.input<typeof footprintProps>

Expand Down

0 comments on commit 73a2d04

Please sign in to comment.