@tscircuit/props 0.0.503 → 0.0.504

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
@@ -965,6 +965,7 @@ export interface MountedBoardProps
965
965
  export interface NetProps {
966
966
  name: string;
967
967
  connectsTo?: string | string[];
968
+ routingPhaseIndex?: number | null;
968
969
  highlightColor?: string;
969
970
  isPowerNet?: boolean;
970
971
  isGroundNet?: boolean;
package/dist/index.d.ts CHANGED
@@ -94377,6 +94377,7 @@ declare const capacitorPins: readonly ["pin1", "left", "anode", "pos", "pin2", "
94377
94377
  interface NetProps {
94378
94378
  name: string;
94379
94379
  connectsTo?: string | string[];
94380
+ routingPhaseIndex?: number | null;
94380
94381
  highlightColor?: string;
94381
94382
  isPowerNet?: boolean;
94382
94383
  isGroundNet?: boolean;
@@ -94384,6 +94385,7 @@ interface NetProps {
94384
94385
  declare const netProps: z.ZodObject<{
94385
94386
  name: z.ZodString;
94386
94387
  connectsTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
94388
+ routingPhaseIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94387
94389
  highlightColor: z.ZodOptional<z.ZodString>;
94388
94390
  isPowerNet: z.ZodOptional<z.ZodBoolean>;
94389
94391
  isGroundNet: z.ZodOptional<z.ZodBoolean>;
@@ -94391,12 +94393,14 @@ declare const netProps: z.ZodObject<{
94391
94393
  name: string;
94392
94394
  highlightColor?: string | undefined;
94393
94395
  connectsTo?: string | string[] | undefined;
94396
+ routingPhaseIndex?: number | null | undefined;
94394
94397
  isPowerNet?: boolean | undefined;
94395
94398
  isGroundNet?: boolean | undefined;
94396
94399
  }, {
94397
94400
  name: string;
94398
94401
  highlightColor?: string | undefined;
94399
94402
  connectsTo?: string | string[] | undefined;
94403
+ routingPhaseIndex?: number | null | undefined;
94400
94404
  isPowerNet?: boolean | undefined;
94401
94405
  isGroundNet?: boolean | undefined;
94402
94406
  }>;
@@ -103012,6 +103016,7 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
103012
103016
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
103013
103017
  } | undefined;
103014
103018
  }>, z.ZodString]>, "many">, "many">>;
103019
+ routingPhaseIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
103015
103020
  pcbStraightLine: z.ZodOptional<z.ZodBoolean>;
103016
103021
  schDisplayLabel: z.ZodOptional<z.ZodString>;
103017
103022
  schStroke: z.ZodOptional<z.ZodString>;
@@ -103034,6 +103039,7 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
103034
103039
  width?: number | undefined;
103035
103040
  maxLength?: number | undefined;
103036
103041
  connectsTo?: string | string[] | undefined;
103042
+ routingPhaseIndex?: number | null | undefined;
103037
103043
  schematicRouteHints?: {
103038
103044
  x: number;
103039
103045
  y: number;
@@ -103073,6 +103079,7 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
103073
103079
  width?: string | number | undefined;
103074
103080
  maxLength?: string | number | undefined;
103075
103081
  connectsTo?: string | string[] | undefined;
103082
+ routingPhaseIndex?: number | null | undefined;
103076
103083
  schematicRouteHints?: {
103077
103084
  x: string | number;
103078
103085
  y: string | number;
@@ -103268,6 +103275,7 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
103268
103275
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
103269
103276
  } | undefined;
103270
103277
  }>, z.ZodString]>, "many">, "many">>;
103278
+ routingPhaseIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
103271
103279
  pcbStraightLine: z.ZodOptional<z.ZodBoolean>;
103272
103280
  schDisplayLabel: z.ZodOptional<z.ZodString>;
103273
103281
  schStroke: z.ZodOptional<z.ZodString>;
@@ -103298,6 +103306,7 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
103298
103306
  width?: number | undefined;
103299
103307
  maxLength?: number | undefined;
103300
103308
  connectsTo?: string | string[] | undefined;
103309
+ routingPhaseIndex?: number | null | undefined;
103301
103310
  schematicRouteHints?: {
103302
103311
  x: number;
103303
103312
  y: number;
@@ -103340,6 +103349,7 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
103340
103349
  width?: string | number | undefined;
103341
103350
  maxLength?: string | number | undefined;
103342
103351
  connectsTo?: string | string[] | undefined;
103352
+ routingPhaseIndex?: number | null | undefined;
103343
103353
  schematicRouteHints?: {
103344
103354
  x: string | number;
103345
103355
  y: string | number;
package/dist/index.js CHANGED
@@ -16875,6 +16875,7 @@ import { z as z54 } from "zod";
16875
16875
  var netProps = z54.object({
16876
16876
  name: z54.string(),
16877
16877
  connectsTo: z54.string().or(z54.array(z54.string())).optional(),
16878
+ routingPhaseIndex: z54.number().nullable().optional(),
16878
16879
  highlightColor: z54.string().optional(),
16879
16880
  isPowerNet: z54.boolean().optional(),
16880
16881
  isGroundNet: z54.boolean().optional()
@@ -17150,6 +17151,7 @@ var baseTraceProps = z62.object({
17150
17151
  pcbPathRelativeTo: z62.string().optional(),
17151
17152
  pcbPath: pcbPath.optional(),
17152
17153
  pcbPaths: z62.array(pcbPath).optional(),
17154
+ routingPhaseIndex: z62.number().nullable().optional(),
17153
17155
  pcbStraightLine: z62.boolean().optional().describe("Draw a straight pcb trace between the connected points"),
17154
17156
  schDisplayLabel: z62.string().optional(),
17155
17157
  schStroke: z62.string().optional(),