@tscircuit/props 0.0.558 → 0.0.559
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 +6 -6
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +4 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -17864,9 +17864,9 @@ interface AutorouterConfig {
|
|
|
17864
17864
|
groupMode?: "sequential_trace" | "subcircuit" | /** @deprecated Use "sequential_trace" */ "sequential-trace";
|
|
17865
17865
|
local?: boolean;
|
|
17866
17866
|
algorithmFn?: (simpleRouteJson: any) => Promise<any>;
|
|
17867
|
-
preset?: "sequential_trace" | "subcircuit" | "auto" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | /** @deprecated Use "auto_jumper" */ "auto-jumper" | /** @deprecated Use "sequential_trace" */ "sequential-trace" | /** @deprecated Use "auto_local" */ "auto-local" | /** @deprecated Use "auto_cloud" */ "auto-cloud";
|
|
17867
|
+
preset?: "sequential_trace" | "subcircuit" | "default" | "auto" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | /** @deprecated Use "auto_jumper" */ "auto-jumper" | /** @deprecated Use "sequential_trace" */ "sequential-trace" | /** @deprecated Use "auto_local" */ "auto-local" | /** @deprecated Use "auto_cloud" */ "auto-cloud";
|
|
17868
17868
|
}
|
|
17869
|
-
type AutorouterPreset = "sequential_trace" | "subcircuit" | "auto" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | "auto-jumper" | "sequential-trace" | "auto-local" | "auto-cloud";
|
|
17869
|
+
type AutorouterPreset = "sequential_trace" | "subcircuit" | "default" | "auto" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | "auto-jumper" | "sequential-trace" | "auto-local" | "auto-cloud";
|
|
17870
17870
|
type AutorouterProp = AutorouterConfig | AutocompleteString<AutorouterPreset>;
|
|
17871
17871
|
declare const routingTolerances: z.ZodObject<{
|
|
17872
17872
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -17909,7 +17909,7 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
17909
17909
|
availableJumperTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["1206x4", "0603"]>, "many">>;
|
|
17910
17910
|
groupMode: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "sequential-trace"]>>;
|
|
17911
17911
|
algorithmFn: z.ZodOptional<z.ZodType<(simpleRouteJson: any) => Promise<any>, z.ZodTypeDef, (simpleRouteJson: any) => Promise<any>>>;
|
|
17912
|
-
preset: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "auto", "auto_local", "auto_cloud", "auto_jumper", "tscircuit_beta", "krt", "freerouting", "laser_prefab", "auto-jumper", "sequential-trace", "auto-local", "auto-cloud"]>>;
|
|
17912
|
+
preset: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "default", "auto", "auto_local", "auto_cloud", "auto_jumper", "tscircuit_beta", "krt", "freerouting", "laser_prefab", "auto-jumper", "sequential-trace", "auto-local", "auto-cloud"]>>;
|
|
17913
17913
|
local: z.ZodOptional<z.ZodBoolean>;
|
|
17914
17914
|
}, "strip", z.ZodTypeAny, {
|
|
17915
17915
|
serverUrl?: string | undefined;
|
|
@@ -17921,7 +17921,7 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
17921
17921
|
availableJumperTypes?: ("0603" | "1206x4")[] | undefined;
|
|
17922
17922
|
groupMode?: "sequential_trace" | "subcircuit" | "sequential-trace" | undefined;
|
|
17923
17923
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
17924
|
-
preset?: "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
|
|
17924
|
+
preset?: "default" | "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
|
|
17925
17925
|
local?: boolean | undefined;
|
|
17926
17926
|
}, {
|
|
17927
17927
|
serverUrl?: string | undefined;
|
|
@@ -17933,10 +17933,10 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
17933
17933
|
availableJumperTypes?: ("0603" | "1206x4")[] | undefined;
|
|
17934
17934
|
groupMode?: "sequential_trace" | "subcircuit" | "sequential-trace" | undefined;
|
|
17935
17935
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
17936
|
-
preset?: "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
|
|
17936
|
+
preset?: "default" | "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
|
|
17937
17937
|
local?: boolean | undefined;
|
|
17938
17938
|
}>;
|
|
17939
|
-
declare const autorouterPreset: z.ZodUnion<[z.ZodLiteral<"sequential_trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto_local">, z.ZodLiteral<"auto_cloud">, z.ZodLiteral<"auto_jumper">, z.ZodLiteral<"tscircuit_beta">, z.ZodLiteral<"krt">, z.ZodLiteral<"freerouting">, z.ZodLiteral<"laser_prefab">, z.ZodLiteral<"auto-jumper">, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>;
|
|
17939
|
+
declare const autorouterPreset: z.ZodUnion<[z.ZodLiteral<"sequential_trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"default">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto_local">, z.ZodLiteral<"auto_cloud">, z.ZodLiteral<"auto_jumper">, z.ZodLiteral<"tscircuit_beta">, z.ZodLiteral<"krt">, z.ZodLiteral<"freerouting">, z.ZodLiteral<"laser_prefab">, z.ZodLiteral<"auto-jumper">, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>;
|
|
17940
17940
|
declare const autorouterProp: z.ZodType<AutorouterProp>;
|
|
17941
17941
|
declare const autorouterEffortLevel: z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>;
|
|
17942
17942
|
interface SubcircuitGroupProps extends BaseGroupProps, RoutingTolerances {
|
package/dist/index.js
CHANGED
|
@@ -16293,6 +16293,7 @@ var autorouterConfig = z37.object({
|
|
|
16293
16293
|
preset: z37.enum([
|
|
16294
16294
|
"sequential_trace",
|
|
16295
16295
|
"subcircuit",
|
|
16296
|
+
"default",
|
|
16296
16297
|
"auto",
|
|
16297
16298
|
"auto_local",
|
|
16298
16299
|
"auto_cloud",
|
|
@@ -16311,6 +16312,7 @@ var autorouterConfig = z37.object({
|
|
|
16311
16312
|
var autorouterPreset = z37.union([
|
|
16312
16313
|
z37.literal("sequential_trace"),
|
|
16313
16314
|
z37.literal("subcircuit"),
|
|
16315
|
+
z37.literal("default"),
|
|
16314
16316
|
z37.literal("auto"),
|
|
16315
16317
|
z37.literal("auto_local"),
|
|
16316
16318
|
z37.literal("auto_cloud"),
|