@tscircuit/props 0.0.485 → 0.0.486
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 +3 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/lib/platformConfig.ts +3 -0
- package/package.json +1 -1
package/lib/platformConfig.ts
CHANGED
|
@@ -69,6 +69,8 @@ export interface PlatformConfig {
|
|
|
69
69
|
|
|
70
70
|
defaultSpiceEngine?: AutocompleteString<"spicey" | "ngspice">
|
|
71
71
|
|
|
72
|
+
unitPreference?: "mm" | "in" | "mil"
|
|
73
|
+
|
|
72
74
|
pcbDisabled?: boolean
|
|
73
75
|
routingDisabled?: boolean
|
|
74
76
|
schematicDisabled?: boolean
|
|
@@ -197,6 +199,7 @@ export const platformConfig = z.object({
|
|
|
197
199
|
)
|
|
198
200
|
.optional(),
|
|
199
201
|
defaultSpiceEngine: defaultSpiceEngine.optional(),
|
|
202
|
+
unitPreference: z.enum(["mm", "in", "mil"]).optional(),
|
|
200
203
|
localCacheEngine: z.any().optional(),
|
|
201
204
|
pcbDisabled: z.boolean().optional(),
|
|
202
205
|
routingDisabled: z.boolean().optional(),
|