@tscircuit/props 0.0.526 → 0.0.527
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
|
@@ -17802,9 +17802,9 @@ interface AutorouterConfig {
|
|
|
17802
17802
|
groupMode?: "sequential_trace" | "subcircuit" | /** @deprecated Use "sequential_trace" */ "sequential-trace";
|
|
17803
17803
|
local?: boolean;
|
|
17804
17804
|
algorithmFn?: (simpleRouteJson: any) => Promise<any>;
|
|
17805
|
-
preset?: "sequential_trace" | "subcircuit" | "auto" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "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";
|
|
17805
|
+
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";
|
|
17806
17806
|
}
|
|
17807
|
-
type AutorouterPreset = "sequential_trace" | "subcircuit" | "auto" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "freerouting" | "laser_prefab" | "auto-jumper" | "sequential-trace" | "auto-local" | "auto-cloud";
|
|
17807
|
+
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";
|
|
17808
17808
|
type AutorouterProp = AutorouterConfig | AutocompleteString<AutorouterPreset>;
|
|
17809
17809
|
declare const routingTolerances: z.ZodObject<{
|
|
17810
17810
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -17847,7 +17847,7 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
17847
17847
|
availableJumperTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["1206x4", "0603"]>, "many">>;
|
|
17848
17848
|
groupMode: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "sequential-trace"]>>;
|
|
17849
17849
|
algorithmFn: z.ZodOptional<z.ZodType<(simpleRouteJson: any) => Promise<any>, z.ZodTypeDef, (simpleRouteJson: any) => Promise<any>>>;
|
|
17850
|
-
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"]>>;
|
|
17850
|
+
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"]>>;
|
|
17851
17851
|
local: z.ZodOptional<z.ZodBoolean>;
|
|
17852
17852
|
}, "strip", z.ZodTypeAny, {
|
|
17853
17853
|
serverUrl?: string | undefined;
|
|
@@ -17859,7 +17859,7 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
17859
17859
|
availableJumperTypes?: ("0603" | "1206x4")[] | undefined;
|
|
17860
17860
|
groupMode?: "sequential_trace" | "subcircuit" | "sequential-trace" | undefined;
|
|
17861
17861
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
17862
|
-
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;
|
|
17862
|
+
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;
|
|
17863
17863
|
local?: boolean | undefined;
|
|
17864
17864
|
}, {
|
|
17865
17865
|
serverUrl?: string | undefined;
|
|
@@ -17871,10 +17871,10 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
17871
17871
|
availableJumperTypes?: ("0603" | "1206x4")[] | undefined;
|
|
17872
17872
|
groupMode?: "sequential_trace" | "subcircuit" | "sequential-trace" | undefined;
|
|
17873
17873
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
17874
|
-
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;
|
|
17874
|
+
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;
|
|
17875
17875
|
local?: boolean | undefined;
|
|
17876
17876
|
}>;
|
|
17877
|
-
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<"freerouting">, z.ZodLiteral<"laser_prefab">, z.ZodLiteral<"auto-jumper">, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>;
|
|
17877
|
+
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">]>;
|
|
17878
17878
|
declare const autorouterProp: z.ZodType<AutorouterProp>;
|
|
17879
17879
|
declare const autorouterEffortLevel: z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>;
|
|
17880
17880
|
interface SubcircuitGroupProps extends BaseGroupProps, RoutingTolerances {
|
package/dist/index.js
CHANGED
|
@@ -16289,6 +16289,7 @@ var autorouterConfig = z36.object({
|
|
|
16289
16289
|
"auto_cloud",
|
|
16290
16290
|
"auto_jumper",
|
|
16291
16291
|
"tscircuit_beta",
|
|
16292
|
+
"krt",
|
|
16292
16293
|
"freerouting",
|
|
16293
16294
|
"laser_prefab",
|
|
16294
16295
|
"auto-jumper",
|
|
@@ -16306,6 +16307,7 @@ var autorouterPreset = z36.union([
|
|
|
16306
16307
|
z36.literal("auto_cloud"),
|
|
16307
16308
|
z36.literal("auto_jumper"),
|
|
16308
16309
|
z36.literal("tscircuit_beta"),
|
|
16310
|
+
z36.literal("krt"),
|
|
16309
16311
|
z36.literal("freerouting"),
|
|
16310
16312
|
z36.literal("laser_prefab"),
|
|
16311
16313
|
// Prefabricated PCB with laser copper ablation
|