@tscircuit/props 0.0.607 → 0.0.608
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 +7 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/lib/platformConfig.ts +8 -0
- package/package.json +1 -1
package/lib/platformConfig.ts
CHANGED
|
@@ -65,6 +65,13 @@ export interface PlatformConfig {
|
|
|
65
65
|
|
|
66
66
|
autorouterMap?: Record<string, AutorouterDefinition>
|
|
67
67
|
|
|
68
|
+
/**
|
|
69
|
+
* Allows the deprecated sequential_trace and auto_cloud autorouter presets.
|
|
70
|
+
* Defaults to false because these presets are otherwise disabled.
|
|
71
|
+
* Platforms should only enable this temporarily while migrating projects.
|
|
72
|
+
*/
|
|
73
|
+
allowLegacyAutorouters?: boolean
|
|
74
|
+
|
|
68
75
|
// TODO this follows a subset of the localStorage interface
|
|
69
76
|
localCacheEngine?: any
|
|
70
77
|
|
|
@@ -202,6 +209,7 @@ export const platformConfig = z.object({
|
|
|
202
209
|
partsEngine: partsEngine.optional(),
|
|
203
210
|
autorouter: autorouterProp.optional(),
|
|
204
211
|
autorouterMap: z.record(z.string(), autorouterDefinition).optional(),
|
|
212
|
+
allowLegacyAutorouters: z.boolean().optional(),
|
|
205
213
|
registryApiUrl: url.optional(),
|
|
206
214
|
cloudAutorouterUrl: url.optional(),
|
|
207
215
|
projectName: z.string().optional(),
|