@tscircuit/props 0.0.700 → 0.0.702

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.
@@ -244,6 +244,13 @@ export interface CommonComponentProps<PinLabel extends string = string>
244
244
  children?: any
245
245
  symbolName?: string
246
246
  doNotPlace?: boolean
247
+ /**
248
+ * Whether this component is surface mounted. True marks it as SMT; false
249
+ * marks it as through hole. Omit to let core infer the mounting style from
250
+ * the footprint. Parsed unchanged, with no aliases or schema conflicts.
251
+ * Core determines solder paste generation, including for plated-hole pads.
252
+ */
253
+ isSmt?: boolean
247
254
  /**
248
255
  * Allows the PCB component to hang off the board (e.g. for USB ports or displays)
249
256
  */
@@ -299,6 +306,12 @@ export const commonComponentProps = commonLayoutProps
299
306
  children: z.any().optional(),
300
307
  symbolName: z.string().optional(),
301
308
  doNotPlace: z.boolean().optional(),
309
+ isSmt: z
310
+ .boolean()
311
+ .optional()
312
+ .describe(
313
+ "Whether this component is surface mounted. True marks it as SMT; false marks it as through hole. Omit to let core infer mounting style from the footprint. Parsed unchanged with no aliases or schema conflicts; core determines solder paste generation, including for plated-hole pads.",
314
+ ),
302
315
  allowOffBoard: z
303
316
  .boolean()
304
317
  .optional()
@@ -117,6 +117,7 @@ export interface PlatformConfig {
117
117
 
118
118
  cloudAutorouterUrl?: string
119
119
 
120
+ jscdnBaseUrl?: string
120
121
  projectName?: string
121
122
  projectBaseUrl?: string
122
123
  version?: string
@@ -294,6 +295,7 @@ export const platformConfig = z.object({
294
295
  allowLegacyAutorouters: z.boolean().optional(),
295
296
  registryApiUrl: url.optional(),
296
297
  cloudAutorouterUrl: url.optional(),
298
+ jscdnBaseUrl: url.optional(),
297
299
  projectName: z.string().optional(),
298
300
  projectBaseUrl: url.optional(),
299
301
  version: z.string().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.700",
3
+ "version": "0.0.702",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",