@tscircuit/props 0.0.493 → 0.0.495
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 +1 -0
- package/dist/index.d.ts +26 -25
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +2 -2
- package/lib/platformConfig.ts +2 -0
- package/package.json +1 -1
package/lib/components/group.ts
CHANGED
|
@@ -424,7 +424,7 @@ export interface SubcircuitGroupProps extends BaseGroupProps {
|
|
|
424
424
|
|
|
425
425
|
autorouter?: AutorouterProp
|
|
426
426
|
autorouterEffortLevel?: "1x" | "2x" | "5x" | "10x" | "100x"
|
|
427
|
-
autorouterVersion?: "v1" | "v2" | "latest"
|
|
427
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "latest"
|
|
428
428
|
|
|
429
429
|
/**
|
|
430
430
|
* Serialized circuit JSON describing a precompiled subcircuit
|
|
@@ -587,7 +587,7 @@ export const subcircuitGroupProps = baseGroupProps.extend({
|
|
|
587
587
|
pcbRouteCache: z.custom<PcbRouteCache>((v) => true).optional(),
|
|
588
588
|
autorouter: autorouterProp.optional(),
|
|
589
589
|
autorouterEffortLevel: autorouterEffortLevel.optional(),
|
|
590
|
-
autorouterVersion: z.enum(["v1", "v2", "latest"]).optional(),
|
|
590
|
+
autorouterVersion: z.enum(["v1", "v2", "v3", "latest"]).optional(),
|
|
591
591
|
square: z.boolean().optional(),
|
|
592
592
|
emptyArea: z.string().optional(),
|
|
593
593
|
filledArea: z.string().optional(),
|
package/lib/platformConfig.ts
CHANGED
|
@@ -79,6 +79,7 @@ export interface PlatformConfig {
|
|
|
79
79
|
netlistDrcChecksDisabled?: boolean
|
|
80
80
|
routingDrcChecksDisabled?: boolean
|
|
81
81
|
placementDrcChecksDisabled?: boolean
|
|
82
|
+
pinSpecificationDrcChecksDisabled?: boolean
|
|
82
83
|
|
|
83
84
|
spiceEngineMap?: Record<string, SpiceEngine>
|
|
84
85
|
|
|
@@ -213,6 +214,7 @@ export const platformConfig = z.object({
|
|
|
213
214
|
netlistDrcChecksDisabled: z.boolean().optional(),
|
|
214
215
|
routingDrcChecksDisabled: z.boolean().optional(),
|
|
215
216
|
placementDrcChecksDisabled: z.boolean().optional(),
|
|
217
|
+
pinSpecificationDrcChecksDisabled: z.boolean().optional(),
|
|
216
218
|
spiceEngineMap: z.record(z.string(), spiceEngineZod).optional(),
|
|
217
219
|
footprintLibraryMap: z
|
|
218
220
|
.record(
|