@tscircuit/props 0.0.290 → 0.0.291
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 +136 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/lib/common/layout.ts +2 -0
- package/package.json +1 -1
package/lib/common/layout.ts
CHANGED
|
@@ -105,6 +105,7 @@ export interface PinAttributeMap {
|
|
|
105
105
|
requiresGround?: boolean
|
|
106
106
|
providesVoltage?: string | number
|
|
107
107
|
requiresVoltage?: string | number
|
|
108
|
+
doNotConnect?: boolean
|
|
108
109
|
}
|
|
109
110
|
|
|
110
111
|
export const pinAttributeMap = z.object({
|
|
@@ -114,6 +115,7 @@ export const pinAttributeMap = z.object({
|
|
|
114
115
|
requiresGround: z.boolean().optional(),
|
|
115
116
|
providesVoltage: z.union([z.string(), z.number()]).optional(),
|
|
116
117
|
requiresVoltage: z.union([z.string(), z.number()]).optional(),
|
|
118
|
+
doNotConnect: z.boolean().optional(),
|
|
117
119
|
})
|
|
118
120
|
|
|
119
121
|
expectTypesMatch<PinAttributeMap, z.input<typeof pinAttributeMap>>(true)
|