@tscircuit/props 0.0.596 → 0.0.597

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
@@ -18150,6 +18150,7 @@ interface AutorouterConfig {
18150
18150
  cache?: PcbRouteCache;
18151
18151
  traceClearance?: Distance;
18152
18152
  availableJumperTypes?: Array<"1206x4" | "0603">;
18153
+ allowViaInPad?: boolean;
18153
18154
  groupMode?: "sequential_trace" | "subcircuit" | /** @deprecated Use "sequential_trace" */ "sequential-trace";
18154
18155
  local?: boolean;
18155
18156
  algorithmFn?: (simpleRouteJson: any) => Promise<any>;
@@ -18196,6 +18197,7 @@ declare const autorouterConfig: z.ZodObject<{
18196
18197
  cache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
18197
18198
  traceClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
18198
18199
  availableJumperTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["1206x4", "0603"]>, "many">>;
18200
+ allowViaInPad: z.ZodOptional<z.ZodBoolean>;
18199
18201
  groupMode: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "sequential-trace"]>>;
18200
18202
  algorithmFn: z.ZodOptional<z.ZodType<(simpleRouteJson: any) => Promise<any>, z.ZodTypeDef, (simpleRouteJson: any) => Promise<any>>>;
18201
18203
  preset: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "default", "auto", "auto_local", "auto_cloud", "auto_jumper", "tscircuit_beta", "krt", "freerouting", "laser_prefab", "single_layer_fanout", "fanout", "auto-jumper", "sequential-trace", "auto-local", "auto-cloud"]>>;
@@ -18208,6 +18210,7 @@ declare const autorouterConfig: z.ZodObject<{
18208
18210
  cache?: PcbRouteCache | undefined;
18209
18211
  traceClearance?: number | undefined;
18210
18212
  availableJumperTypes?: ("0603" | "1206x4")[] | undefined;
18213
+ allowViaInPad?: boolean | undefined;
18211
18214
  groupMode?: "sequential_trace" | "subcircuit" | "sequential-trace" | undefined;
18212
18215
  algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
18213
18216
  preset?: "default" | "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | "single_layer_fanout" | "fanout" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
@@ -18220,6 +18223,7 @@ declare const autorouterConfig: z.ZodObject<{
18220
18223
  cache?: PcbRouteCache | undefined;
18221
18224
  traceClearance?: string | number | undefined;
18222
18225
  availableJumperTypes?: ("0603" | "1206x4")[] | undefined;
18226
+ allowViaInPad?: boolean | undefined;
18223
18227
  groupMode?: "sequential_trace" | "subcircuit" | "sequential-trace" | undefined;
18224
18228
  algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
18225
18229
  preset?: "default" | "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | "single_layer_fanout" | "fanout" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
package/dist/index.js CHANGED
@@ -16353,6 +16353,9 @@ var autorouterConfig = z41.object({
16353
16353
  cache: z41.custom((v) => true).optional(),
16354
16354
  traceClearance: length3.optional(),
16355
16355
  availableJumperTypes: z41.array(z41.enum(["1206x4", "0603"])).optional(),
16356
+ allowViaInPad: z41.boolean().optional().describe(
16357
+ "Allows the autorouter to place vias inside connected pads. Omitted or false keeps via-in-pad routing disabled."
16358
+ ),
16356
16359
  groupMode: z41.enum(["sequential_trace", "subcircuit", "sequential-trace"]).optional(),
16357
16360
  algorithmFn: z41.custom(
16358
16361
  (v) => typeof v === "function" || v === void 0