@tscircuit/props 0.0.615 → 0.0.616
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 +6 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/lib/platformConfig.ts +7 -0
- package/package.json +1 -1
package/lib/platformConfig.ts
CHANGED
|
@@ -87,6 +87,12 @@ export interface PlatformConfig {
|
|
|
87
87
|
*/
|
|
88
88
|
enablePartOrientationAnalysis?: boolean
|
|
89
89
|
|
|
90
|
+
/**
|
|
91
|
+
* Maximum time, in milliseconds, that an individual PCB pack solver may run.
|
|
92
|
+
* The timeout is checked between solver steps.
|
|
93
|
+
*/
|
|
94
|
+
pcbPackSolverTimeoutMs?: number
|
|
95
|
+
|
|
90
96
|
registryApiUrl?: string
|
|
91
97
|
|
|
92
98
|
cloudAutorouterUrl?: string
|
|
@@ -255,6 +261,7 @@ export const platformConfig = z.object({
|
|
|
255
261
|
unitPreference: z.enum(["mm", "in", "mil"]).optional(),
|
|
256
262
|
localCacheEngine: localCacheEngine.optional(),
|
|
257
263
|
enablePartOrientationAnalysis: z.boolean().optional(),
|
|
264
|
+
pcbPackSolverTimeoutMs: z.number().finite().positive().optional(),
|
|
258
265
|
pcbDisabled: z.boolean().optional(),
|
|
259
266
|
routingDisabled: z.boolean().optional(),
|
|
260
267
|
schematicDisabled: z.boolean().optional(),
|