@tscircuit/props 0.0.444 → 0.0.445
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 +4 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5674,6 +5674,7 @@ interface AutorouterConfig {
|
|
|
5674
5674
|
serverCacheEnabled?: boolean;
|
|
5675
5675
|
cache?: PcbRouteCache;
|
|
5676
5676
|
traceClearance?: Distance;
|
|
5677
|
+
availableJumperTypes?: Array<"1206x4" | "0603">;
|
|
5677
5678
|
groupMode?: "sequential_trace" | "subcircuit" | /** @deprecated Use "sequential_trace" */ "sequential-trace";
|
|
5678
5679
|
local?: boolean;
|
|
5679
5680
|
algorithmFn?: (simpleRouteJson: any) => Promise<any>;
|
|
@@ -5688,6 +5689,7 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
5688
5689
|
serverCacheEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
5689
5690
|
cache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
5690
5691
|
traceClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5692
|
+
availableJumperTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["1206x4", "0603"]>, "many">>;
|
|
5691
5693
|
groupMode: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "sequential-trace"]>>;
|
|
5692
5694
|
algorithmFn: z.ZodOptional<z.ZodType<(simpleRouteJson: any) => Promise<any>, z.ZodTypeDef, (simpleRouteJson: any) => Promise<any>>>;
|
|
5693
5695
|
preset: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "auto", "auto_local", "auto_cloud", "auto_jumper", "tscircuit_beta", "freerouting", "laser_prefab", "auto-jumper", "sequential-trace", "auto-local", "auto-cloud"]>>;
|
|
@@ -5699,6 +5701,7 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
5699
5701
|
serverCacheEnabled?: boolean | undefined;
|
|
5700
5702
|
cache?: PcbRouteCache | undefined;
|
|
5701
5703
|
traceClearance?: number | undefined;
|
|
5704
|
+
availableJumperTypes?: ("0603" | "1206x4")[] | undefined;
|
|
5702
5705
|
groupMode?: "sequential_trace" | "subcircuit" | "sequential-trace" | undefined;
|
|
5703
5706
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
5704
5707
|
preset?: "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "freerouting" | "laser_prefab" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
|
|
@@ -5710,6 +5713,7 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
5710
5713
|
serverCacheEnabled?: boolean | undefined;
|
|
5711
5714
|
cache?: PcbRouteCache | undefined;
|
|
5712
5715
|
traceClearance?: string | number | undefined;
|
|
5716
|
+
availableJumperTypes?: ("0603" | "1206x4")[] | undefined;
|
|
5713
5717
|
groupMode?: "sequential_trace" | "subcircuit" | "sequential-trace" | undefined;
|
|
5714
5718
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
5715
5719
|
preset?: "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "freerouting" | "laser_prefab" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
|
package/dist/index.js
CHANGED
|
@@ -576,6 +576,7 @@ var autorouterConfig = z30.object({
|
|
|
576
576
|
serverCacheEnabled: z30.boolean().optional(),
|
|
577
577
|
cache: z30.custom((v) => true).optional(),
|
|
578
578
|
traceClearance: length2.optional(),
|
|
579
|
+
availableJumperTypes: z30.array(z30.enum(["1206x4", "0603"])).optional(),
|
|
579
580
|
groupMode: z30.enum(["sequential_trace", "subcircuit", "sequential-trace"]).optional(),
|
|
580
581
|
algorithmFn: z30.custom(
|
|
581
582
|
(v) => typeof v === "function" || v === void 0
|