@tscircuit/props 0.0.572 → 0.0.574

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.
@@ -329,8 +329,6 @@ export interface RoutingTolerances {
329
329
 
330
330
  export interface AutorouterConfig {
331
331
  serverUrl?: string
332
- cacheServerUrl?: string
333
- shouldUploadToCache?: boolean
334
332
  inputFormat?: "simplified" | "circuit-json"
335
333
  serverMode?: "job" | "solve-endpoint"
336
334
  serverCacheEnabled?: boolean
@@ -400,8 +398,6 @@ export const routingTolerances = z.object({
400
398
 
401
399
  export const autorouterConfig = z.object({
402
400
  serverUrl: url.optional(),
403
- cacheServerUrl: url.optional(),
404
- shouldUploadToCache: z.boolean().optional(),
405
401
  inputFormat: z.enum(["simplified", "circuit-json"]).optional(),
406
402
  serverMode: z.enum(["job", "solve-endpoint"]).optional(),
407
403
  serverCacheEnabled: z.boolean().optional(),
@@ -21,12 +21,21 @@ export interface MosfetProps<PinLabel extends string = string>
21
21
  extends CommonComponentProps<PinLabel> {
22
22
  channelType: "n" | "p"
23
23
  mosfetMode: "enhancement" | "depletion"
24
+ /** The side of the schematic symbol where the drain port is placed. */
25
+ symbolDrainSide?: "left" | "right" | "top" | "bottom"
26
+ /** The side of the schematic symbol where the source port is placed. */
27
+ symbolSourceSide?: "left" | "right" | "top" | "bottom"
28
+ /** The side of the schematic symbol where the gate port is placed. */
29
+ symbolGateSide?: "left" | "right" | "top" | "bottom"
24
30
  connections?: Connections<MosfetPinLabels>
25
31
  }
26
32
 
27
33
  export const mosfetProps = commonComponentProps.extend({
28
34
  channelType: z.enum(["n", "p"]),
29
35
  mosfetMode: z.enum(["enhancement", "depletion"]),
36
+ symbolDrainSide: z.enum(["left", "right", "top", "bottom"]).optional(),
37
+ symbolSourceSide: z.enum(["left", "right", "top", "bottom"]).optional(),
38
+ symbolGateSide: z.enum(["left", "right", "top", "bottom"]).optional(),
30
39
  connections: createConnectionsProp(mosfetPins).optional(),
31
40
  })
32
41
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.572",
3
+ "version": "0.0.574",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",