@tscircuit/props 0.0.298 → 0.0.300

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.js CHANGED
@@ -1720,7 +1720,14 @@ var portProps = commonLayoutProps.extend({
1720
1720
  // lib/platformConfig.ts
1721
1721
  import { z as z85 } from "zod";
1722
1722
  var unvalidatedCircuitJson = z85.array(z85.any()).describe("Circuit JSON");
1723
- var pathToCircuitJsonFn = z85.function().args(z85.string()).returns(z85.promise(z85.object({ footprintCircuitJson: z85.array(z85.any()) }))).describe("A function that takes a path and returns Circuit JSON");
1723
+ var pathToCircuitJsonFn = z85.function().args(z85.string()).returns(
1724
+ z85.promise(
1725
+ z85.object({
1726
+ footprintCircuitJson: z85.array(z85.any()),
1727
+ cadModel: cadModelProp.optional()
1728
+ })
1729
+ )
1730
+ ).describe("A function that takes a path and returns Circuit JSON");
1724
1731
  var platformConfig = z85.object({
1725
1732
  partsEngine: partsEngine.optional(),
1726
1733
  autorouter: autorouterProp.optional(),