@tscircuit/props 0.0.615 → 0.0.617

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 CHANGED
@@ -513,7 +513,8 @@ export interface CapacitorProps<
513
513
  decouplingTo?: string;
514
514
  bypassFor?: string;
515
515
  bypassTo?: string;
516
- maxDecouplingTraceLength?: number;
516
+ /** Maximum allowed PCB trace length between this capacitor and the component it decouples */
517
+ maxDecouplingTraceLength?: number | string;
517
518
  schOrientation?: SchematicOrientation;
518
519
  schSize?: SchematicSymbolSize;
519
520
  connections?: Connections<CapacitorPinLabels>;
@@ -2260,6 +2261,12 @@ export interface PlatformConfig {
2260
2261
  */
2261
2262
  enablePartOrientationAnalysis?: boolean;
2262
2263
 
2264
+ /**
2265
+ * Maximum time, in milliseconds, that an individual PCB pack solver may run.
2266
+ * The timeout is checked between solver steps.
2267
+ */
2268
+ pcbPackSolverTimeoutMs?: number;
2269
+
2263
2270
  registryApiUrl?: string;
2264
2271
 
2265
2272
  cloudAutorouterUrl?: string;
package/dist/index.d.ts CHANGED
@@ -90926,7 +90926,8 @@ interface CapacitorProps<PinLabel extends string = string> extends CommonCompone
90926
90926
  decouplingTo?: string;
90927
90927
  bypassFor?: string;
90928
90928
  bypassTo?: string;
90929
- maxDecouplingTraceLength?: number;
90929
+ /** Maximum allowed PCB trace length between this capacitor and the component it decouples */
90930
+ maxDecouplingTraceLength?: number | string;
90930
90931
  schOrientation?: SchematicOrientation;
90931
90932
  schSize?: SchematicSymbolSize;
90932
90933
  connections?: Connections<CapacitorPinLabels>;
@@ -94299,7 +94300,7 @@ declare const capacitorProps: z.ZodObject<{
94299
94300
  decouplingTo: z.ZodOptional<z.ZodString>;
94300
94301
  bypassFor: z.ZodOptional<z.ZodString>;
94301
94302
  bypassTo: z.ZodOptional<z.ZodString>;
94302
- maxDecouplingTraceLength: z.ZodOptional<z.ZodNumber>;
94303
+ maxDecouplingTraceLength: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
94303
94304
  schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
94304
94305
  schSize: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodEnum<["xs", "sm", "default", "md"]>]>>;
94305
94306
  connections: z.ZodOptional<z.ZodRecord<z.ZodEnum<["pin1", "pin2", "pos", "neg", "anode", "cathode"]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>;
@@ -95484,7 +95485,7 @@ declare const capacitorProps: z.ZodObject<{
95484
95485
  decouplingTo?: string | undefined;
95485
95486
  bypassFor?: string | undefined;
95486
95487
  bypassTo?: string | undefined;
95487
- maxDecouplingTraceLength?: number | undefined;
95488
+ maxDecouplingTraceLength?: string | number | undefined;
95488
95489
  }>;
95489
95490
  declare const capacitorPins: readonly ["pin1", "left", "anode", "pos", "pin2", "right", "cathode", "neg"];
95490
95491
 
@@ -193172,6 +193173,11 @@ interface PlatformConfig {
193172
193173
  * align their semantic pin 1 orientations.
193173
193174
  */
193174
193175
  enablePartOrientationAnalysis?: boolean;
193176
+ /**
193177
+ * Maximum time, in milliseconds, that an individual PCB pack solver may run.
193178
+ * The timeout is checked between solver steps.
193179
+ */
193180
+ pcbPackSolverTimeoutMs?: number;
193175
193181
  registryApiUrl?: string;
193176
193182
  cloudAutorouterUrl?: string;
193177
193183
  projectName?: string;