@tscircuit/props 0.0.478 → 0.0.479

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.
@@ -61,7 +61,7 @@ export interface PillPlatedHoleProps extends Omit<PcbLayoutProps, "layer"> {
61
61
  }
62
62
 
63
63
  export interface CircularHoleWithRectPlatedProps
64
- extends Omit<PcbLayoutProps, "pcbRotation" | "layer"> {
64
+ extends Omit<PcbLayoutProps, "layer"> {
65
65
  name?: string
66
66
  connectsTo?: string | string[]
67
67
  shape: "circular_hole_with_rect_pad"
@@ -79,7 +79,7 @@ export interface CircularHoleWithRectPlatedProps
79
79
  }
80
80
 
81
81
  export interface PillWithRectPadPlatedHoleProps
82
- extends Omit<PcbLayoutProps, "pcbRotation" | "layer"> {
82
+ extends Omit<PcbLayoutProps, "layer"> {
83
83
  name?: string
84
84
  connectsTo?: string | string[]
85
85
  shape: "pill_hole_with_rect_pad"
@@ -172,7 +172,7 @@ export const platedHoleProps = z
172
172
  solderMaskMargin: distance.optional(),
173
173
  coveredWithSolderMask: z.boolean().optional(),
174
174
  }),
175
- pcbLayoutProps.omit({ pcbRotation: true, layer: true }).extend({
175
+ pcbLayoutProps.omit({ layer: true }).extend({
176
176
  name: z.string().optional(),
177
177
  connectsTo: z.string().or(z.array(z.string())).optional(),
178
178
  shape: z.literal("circular_hole_with_rect_pad"),
@@ -188,7 +188,7 @@ export const platedHoleProps = z
188
188
  solderMaskMargin: distance.optional(),
189
189
  coveredWithSolderMask: z.boolean().optional(),
190
190
  }),
191
- pcbLayoutProps.omit({ pcbRotation: true, layer: true }).extend({
191
+ pcbLayoutProps.omit({ layer: true }).extend({
192
192
  name: z.string().optional(),
193
193
  connectsTo: z.string().or(z.array(z.string())).optional(),
194
194
  shape: z.literal("pill_hole_with_rect_pad"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.478",
3
+ "version": "0.0.479",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",