@tscircuit/props 0.0.484 → 0.0.485
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/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/lib/platformConfig.ts +8 -6
- package/package.json +1 -1
package/lib/platformConfig.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import { z } from "zod"
|
|
2
|
+
import type { AutocompleteString } from "./common/autocomplete"
|
|
3
|
+
import { type CadModelProp, cadModelProp } from "./common/cadModel"
|
|
4
|
+
import { type PcbStyle, pcbStyle } from "./common/pcbStyle"
|
|
5
|
+
import { url } from "./common/url"
|
|
1
6
|
import {
|
|
2
|
-
autorouterProp,
|
|
3
7
|
type AutorouterProp,
|
|
4
8
|
type PartsEngine,
|
|
9
|
+
autorouterProp,
|
|
5
10
|
partsEngine,
|
|
6
11
|
} from "./components/group"
|
|
7
|
-
import type { AutocompleteString } from "./common/autocomplete"
|
|
8
12
|
import { expectTypesMatch } from "./typecheck"
|
|
9
|
-
import { z } from "zod"
|
|
10
|
-
import { type CadModelProp, cadModelProp } from "./common/cadModel"
|
|
11
|
-
import { type PcbStyle, pcbStyle } from "./common/pcbStyle"
|
|
12
|
-
import { url } from "./common/url"
|
|
13
13
|
|
|
14
14
|
export interface FootprintLibraryResult {
|
|
15
15
|
footprintCircuitJson: any[]
|
|
@@ -70,6 +70,7 @@ export interface PlatformConfig {
|
|
|
70
70
|
defaultSpiceEngine?: AutocompleteString<"spicey" | "ngspice">
|
|
71
71
|
|
|
72
72
|
pcbDisabled?: boolean
|
|
73
|
+
routingDisabled?: boolean
|
|
73
74
|
schematicDisabled?: boolean
|
|
74
75
|
partsEngineDisabled?: boolean
|
|
75
76
|
|
|
@@ -198,6 +199,7 @@ export const platformConfig = z.object({
|
|
|
198
199
|
defaultSpiceEngine: defaultSpiceEngine.optional(),
|
|
199
200
|
localCacheEngine: z.any().optional(),
|
|
200
201
|
pcbDisabled: z.boolean().optional(),
|
|
202
|
+
routingDisabled: z.boolean().optional(),
|
|
201
203
|
schematicDisabled: z.boolean().optional(),
|
|
202
204
|
partsEngineDisabled: z.boolean().optional(),
|
|
203
205
|
spiceEngineMap: z.record(z.string(), spiceEngineZod).optional(),
|