@tscircuit/props 0.0.430 → 0.0.431

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
@@ -41829,6 +41829,16 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
41829
41829
  x: string | number;
41830
41830
  y: string | number;
41831
41831
  }>, z.ZodString]>, "many">>;
41832
+ pcbPaths: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodObject<{
41833
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
41834
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
41835
+ }, "strip", z.ZodTypeAny, {
41836
+ x: number;
41837
+ y: number;
41838
+ }, {
41839
+ x: string | number;
41840
+ y: string | number;
41841
+ }>, z.ZodString]>, "many">, "many">>;
41832
41842
  pcbStraightLine: z.ZodOptional<z.ZodBoolean>;
41833
41843
  schDisplayLabel: z.ZodOptional<z.ZodString>;
41834
41844
  schStroke: z.ZodOptional<z.ZodString>;
@@ -41867,6 +41877,10 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
41867
41877
  x: number;
41868
41878
  y: number;
41869
41879
  })[] | undefined;
41880
+ pcbPaths?: (string | {
41881
+ x: number;
41882
+ y: number;
41883
+ })[][] | undefined;
41870
41884
  pcbStraightLine?: boolean | undefined;
41871
41885
  schDisplayLabel?: string | undefined;
41872
41886
  schStroke?: string | undefined;
@@ -41898,6 +41912,10 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
41898
41912
  x: string | number;
41899
41913
  y: string | number;
41900
41914
  })[] | undefined;
41915
+ pcbPaths?: (string | {
41916
+ x: string | number;
41917
+ y: string | number;
41918
+ })[][] | undefined;
41901
41919
  pcbStraightLine?: boolean | undefined;
41902
41920
  schDisplayLabel?: string | undefined;
41903
41921
  schStroke?: string | undefined;
@@ -41955,6 +41973,16 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
41955
41973
  x: string | number;
41956
41974
  y: string | number;
41957
41975
  }>, z.ZodString]>, "many">>;
41976
+ pcbPaths: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodObject<{
41977
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
41978
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
41979
+ }, "strip", z.ZodTypeAny, {
41980
+ x: number;
41981
+ y: number;
41982
+ }, {
41983
+ x: string | number;
41984
+ y: string | number;
41985
+ }>, z.ZodString]>, "many">, "many">>;
41958
41986
  pcbStraightLine: z.ZodOptional<z.ZodBoolean>;
41959
41987
  schDisplayLabel: z.ZodOptional<z.ZodString>;
41960
41988
  schStroke: z.ZodOptional<z.ZodString>;
@@ -42001,6 +42029,10 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
42001
42029
  x: number;
42002
42030
  y: number;
42003
42031
  })[] | undefined;
42032
+ pcbPaths?: (string | {
42033
+ x: number;
42034
+ y: number;
42035
+ })[][] | undefined;
42004
42036
  pcbStraightLine?: boolean | undefined;
42005
42037
  schDisplayLabel?: string | undefined;
42006
42038
  schStroke?: string | undefined;
@@ -42035,6 +42067,10 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
42035
42067
  x: string | number;
42036
42068
  y: string | number;
42037
42069
  })[] | undefined;
42070
+ pcbPaths?: (string | {
42071
+ x: string | number;
42072
+ y: string | number;
42073
+ })[][] | undefined;
42038
42074
  pcbStraightLine?: boolean | undefined;
42039
42075
  schDisplayLabel?: string | undefined;
42040
42076
  schStroke?: string | undefined;
package/dist/index.js CHANGED
@@ -1369,6 +1369,7 @@ var portRef = z56.union([
1369
1369
  (v) => Boolean(v.getPortSelector)
1370
1370
  )
1371
1371
  ]);
1372
+ var pcbPath = z56.array(z56.union([point, z56.string()]));
1372
1373
  var baseTraceProps = z56.object({
1373
1374
  key: z56.string().optional(),
1374
1375
  thickness: distance16.optional(),
@@ -1376,7 +1377,8 @@ var baseTraceProps = z56.object({
1376
1377
  schematicRouteHints: z56.array(point).optional(),
1377
1378
  pcbRouteHints: z56.array(route_hint_point2).optional(),
1378
1379
  pcbPathRelativeTo: z56.string().optional(),
1379
- pcbPath: z56.array(z56.union([point, z56.string()])).optional(),
1380
+ pcbPath: pcbPath.optional(),
1381
+ pcbPaths: z56.array(pcbPath).optional(),
1380
1382
  pcbStraightLine: z56.boolean().optional().describe("Draw a straight pcb trace between the connected points"),
1381
1383
  schDisplayLabel: z56.string().optional(),
1382
1384
  schStroke: z56.string().optional(),