@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.
package/dist/index.d.ts CHANGED
@@ -115,21 +115,26 @@ interface AssemblyCableProps {
115
115
  to: string;
116
116
  /** Optional USB-C-to-USB-C preset. Omit to infer the cable from its endpoints. */
117
117
  standard?: AssemblyCableStandard;
118
+ /** Explicit cable model specification. Omit to infer the cable from its endpoints. */
119
+ model?: string;
118
120
  }
119
121
  declare const assemblyCableProps: z.ZodObject<{
120
122
  name: z.ZodString;
121
123
  from: z.ZodString;
122
124
  to: z.ZodString;
123
125
  standard: z.ZodOptional<z.ZodLiteral<"usb_c">>;
126
+ model: z.ZodOptional<z.ZodString>;
124
127
  }, "strip", z.ZodTypeAny, {
125
128
  name: string;
126
129
  from: string;
127
130
  to: string;
131
+ model?: string | undefined;
128
132
  standard?: "usb_c" | undefined;
129
133
  }, {
130
134
  name: string;
131
135
  from: string;
132
136
  to: string;
137
+ model?: string | undefined;
133
138
  standard?: "usb_c" | undefined;
134
139
  }>;
135
140
  type AssemblyCablePropsInput = z.input<typeof assemblyCableProps>;
@@ -12008,15 +12013,18 @@ declare const assemblyProps: {
12008
12013
  from: zod.ZodString;
12009
12014
  to: zod.ZodString;
12010
12015
  standard: zod.ZodOptional<zod.ZodLiteral<"usb_c">>;
12016
+ model: zod.ZodOptional<zod.ZodString>;
12011
12017
  }, "strip", zod.ZodTypeAny, {
12012
12018
  name: string;
12013
12019
  from: string;
12014
12020
  to: string;
12021
+ model?: string | undefined;
12015
12022
  standard?: "usb_c" | undefined;
12016
12023
  }, {
12017
12024
  name: string;
12018
12025
  from: string;
12019
12026
  to: string;
12027
+ model?: string | undefined;
12020
12028
  standard?: "usb_c" | undefined;
12021
12029
  }>;
12022
12030
  readonly device: zod.ZodEffects<zod.ZodObject<{
package/dist/index.js CHANGED
@@ -173,7 +173,8 @@ var assemblyCableProps = z8.object({
173
173
  name: z8.string().trim().min(1),
174
174
  from: z8.string().trim().min(1),
175
175
  to: z8.string().trim().min(1),
176
- standard: z8.literal("usb_c").optional()
176
+ standard: z8.literal("usb_c").optional(),
177
+ model: z8.string().trim().min(1).optional()
177
178
  });
178
179
  expectTypesMatch(true);
179
180