@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/README.md +13 -7
- package/dist/index.d.ts +6 -2
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/lib/common/footprintProp.ts +2 -0
- package/lib/generated/kicad-autocomplete.ts +13809 -0
- package/lib/index.ts +1 -0
- package/lib/platformConfig.ts +17 -3
- package/package.json +1 -1
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(
|
|
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(),
|