@tscircuit/props 0.0.479 → 0.0.480

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.js CHANGED
@@ -30,6 +30,10 @@ import {
30
30
  rotation as rotation2,
31
31
  supplier_name
32
32
  } from "circuit-json";
33
+ import { z as z15 } from "zod";
34
+
35
+ // lib/common/cadModel.ts
36
+ import { z as z6 } from "zod";
33
37
 
34
38
  // lib/common/distance.ts
35
39
  import { distance as baseDistance, length } from "circuit-json";
@@ -38,12 +42,6 @@ var calcString = z3.string().regex(/^calc\(.*\)$/);
38
42
  var distance = baseDistance;
39
43
  var pcbCoordinate = calcString.or(baseDistance);
40
44
 
41
- // lib/common/layout.ts
42
- import { z as z15 } from "zod";
43
-
44
- // lib/common/cadModel.ts
45
- import { z as z6 } from "zod";
46
-
47
45
  // lib/common/point3.ts
48
46
  import { distance as distance2 } from "circuit-json";
49
47
  import { z as z4 } from "zod";
@@ -386,7 +384,25 @@ var pinAttributeMap = z15.object({
386
384
  doNotConnect: z15.boolean().optional(),
387
385
  includeInBoardPinout: z15.boolean().optional(),
388
386
  highlightColor: z15.string().optional(),
389
- mustBeConnected: z15.boolean().optional()
387
+ mustBeConnected: z15.boolean().optional(),
388
+ isI2cSda: z15.boolean().optional(),
389
+ isI2cScl: z15.boolean().optional(),
390
+ isSpiMosi: z15.boolean().optional(),
391
+ isSpiMiso: z15.boolean().optional(),
392
+ isSpiSck: z15.boolean().optional(),
393
+ isSpiCs: z15.boolean().optional(),
394
+ isUartTx: z15.boolean().optional(),
395
+ isUartRx: z15.boolean().optional(),
396
+ canUseInternalPullup: z15.boolean().optional(),
397
+ isUsingInternalPullup: z15.boolean().optional(),
398
+ needsExternalPullup: z15.boolean().optional(),
399
+ canUseInternalPulldown: z15.boolean().optional(),
400
+ isUsingInternalPulldown: z15.boolean().optional(),
401
+ needsExternalPulldown: z15.boolean().optional(),
402
+ canUseOpenDrain: z15.boolean().optional(),
403
+ isUsingOpenDrain: z15.boolean().optional(),
404
+ canUsePushPull: z15.boolean().optional(),
405
+ isUsingPushPull: z15.boolean().optional()
390
406
  });
391
407
  expectTypesMatch(true);
392
408
  var commonComponentProps = commonLayoutProps.merge(supplierProps).extend({