@tscircuit/props 0.0.399 → 0.0.401

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
@@ -593,6 +593,10 @@ export interface FootprintProps {
593
593
  * "top" and this is most intuitive.
594
594
  */
595
595
  originalLayer?: LayerRef;
596
+ /**
597
+ * Serialized circuit JSON describing a precompiled footprint
598
+ */
599
+ circuitJson?: any[];
596
600
  }
597
601
  ```
598
602
 
package/dist/index.d.ts CHANGED
@@ -36340,6 +36340,10 @@ interface FootprintProps {
36340
36340
  * "top" and this is most intuitive.
36341
36341
  */
36342
36342
  originalLayer?: LayerRef;
36343
+ /**
36344
+ * Serialized circuit JSON describing a precompiled footprint
36345
+ */
36346
+ circuitJson?: any[];
36343
36347
  }
36344
36348
  declare const footprintProps: z.ZodObject<{
36345
36349
  children: z.ZodOptional<z.ZodAny>;
@@ -36352,11 +36356,14 @@ declare const footprintProps: z.ZodObject<{
36352
36356
  }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
36353
36357
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
36354
36358
  }>>>;
36359
+ circuitJson: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
36355
36360
  }, "strip", z.ZodTypeAny, {
36356
36361
  children?: any;
36362
+ circuitJson?: any[] | undefined;
36357
36363
  originalLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
36358
36364
  }, {
36359
36365
  children?: any;
36366
+ circuitJson?: any[] | undefined;
36360
36367
  originalLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
36361
36368
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
36362
36369
  } | undefined;
@@ -58088,6 +58095,7 @@ interface PlatformConfig {
58088
58095
  }) => Promise<FootprintLibraryResult>)>>;
58089
58096
  footprintFileParserMap?: Record<string, FootprintFileParserEntry>;
58090
58097
  resolveProjectStaticFileImportUrl?: (path: string) => Promise<string>;
58098
+ nodeModulesResolver?: (modulePath: string) => Promise<string>;
58091
58099
  }
58092
58100
  declare const platformConfig: z.ZodType<PlatformConfig>;
58093
58101
 
package/dist/index.js CHANGED
@@ -1254,7 +1254,8 @@ import { layer_ref as layer_ref4 } from "circuit-json";
1254
1254
  import { z as z52 } from "zod";
1255
1255
  var footprintProps = z52.object({
1256
1256
  children: z52.any().optional(),
1257
- originalLayer: layer_ref4.default("top").optional()
1257
+ originalLayer: layer_ref4.default("top").optional(),
1258
+ circuitJson: z52.array(z52.any()).optional()
1258
1259
  });
1259
1260
  expectTypesMatch(true);
1260
1261