@tscircuit/props 0.0.694 → 0.0.695

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.
@@ -12,6 +12,8 @@ export interface AssemblyCableProps {
12
12
  to: string
13
13
  /** Optional USB-C-to-USB-C preset. Omit to infer the cable from its endpoints. */
14
14
  standard?: AssemblyCableStandard
15
+ /** Explicit cable model specification. Omit to infer the cable from its endpoints. */
16
+ model?: string
15
17
  }
16
18
 
17
19
  export const assemblyCableProps = z.object({
@@ -19,6 +21,7 @@ export const assemblyCableProps = z.object({
19
21
  from: z.string().trim().min(1),
20
22
  to: z.string().trim().min(1),
21
23
  standard: z.literal("usb_c").optional(),
24
+ model: z.string().trim().min(1).optional(),
22
25
  })
23
26
 
24
27
  export type AssemblyCablePropsInput = z.input<typeof assemblyCableProps>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.694",
3
+ "version": "0.0.695",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",