@tscircuit/props 0.0.636 → 0.0.637
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/README.md +5 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/lib/components/board.ts +11 -0
- package/package.json +1 -1
package/lib/components/board.ts
CHANGED
|
@@ -119,6 +119,11 @@ export interface BoardProps
|
|
|
119
119
|
doubleSidedAssembly?: boolean
|
|
120
120
|
/** Whether vias may be placed inside PCB pads */
|
|
121
121
|
isViaInPadAllowed?: boolean
|
|
122
|
+
/**
|
|
123
|
+
* Whether implicit copper pours should be generated automatically. Defaults
|
|
124
|
+
* to false.
|
|
125
|
+
*/
|
|
126
|
+
automaticPoursEnabled?: boolean
|
|
122
127
|
/** Whether this board should be omitted from the schematic view */
|
|
123
128
|
schematicDisabled?: boolean
|
|
124
129
|
}
|
|
@@ -165,6 +170,12 @@ export const boardProps = subcircuitGroupProps
|
|
|
165
170
|
.describe(
|
|
166
171
|
"Allows intentional via-in-pad designs to pass DRC. Omitted or false keeps via-in-pad disallowed.",
|
|
167
172
|
),
|
|
173
|
+
automaticPoursEnabled: z
|
|
174
|
+
.boolean()
|
|
175
|
+
.default(false)
|
|
176
|
+
.describe(
|
|
177
|
+
"Whether implicit copper pours should be generated automatically. Defaults to false.",
|
|
178
|
+
),
|
|
168
179
|
schematicDisabled: z.boolean().optional(),
|
|
169
180
|
})
|
|
170
181
|
|