@tscircuit/props 0.0.485 → 0.0.487

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.
@@ -69,10 +69,15 @@ 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
75
77
  partsEngineDisabled?: boolean
78
+ netlistDrcChecksDisabled?: boolean
79
+ routingDrcChecksDisabled?: boolean
80
+ placementDrcChecksDisabled?: boolean
76
81
 
77
82
  spiceEngineMap?: Record<string, SpiceEngine>
78
83
 
@@ -197,11 +202,15 @@ export const platformConfig = z.object({
197
202
  )
198
203
  .optional(),
199
204
  defaultSpiceEngine: defaultSpiceEngine.optional(),
205
+ unitPreference: z.enum(["mm", "in", "mil"]).optional(),
200
206
  localCacheEngine: z.any().optional(),
201
207
  pcbDisabled: z.boolean().optional(),
202
208
  routingDisabled: z.boolean().optional(),
203
209
  schematicDisabled: z.boolean().optional(),
204
210
  partsEngineDisabled: z.boolean().optional(),
211
+ netlistDrcChecksDisabled: z.boolean().optional(),
212
+ routingDrcChecksDisabled: z.boolean().optional(),
213
+ placementDrcChecksDisabled: z.boolean().optional(),
205
214
  spiceEngineMap: z.record(z.string(), spiceEngineZod).optional(),
206
215
  footprintLibraryMap: z
207
216
  .record(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.485",
3
+ "version": "0.0.487",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",