@tscircuit/props 0.0.525 → 0.0.527
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 -1
- package/dist/index.d.ts +807 -729
- package/dist/index.js +17 -9
- package/dist/index.js.map +1 -1
- package/lib/components/autoroutingphase.ts +8 -2
- package/lib/components/group.ts +33 -20
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16258,6 +16258,17 @@ var border = z36.object({
|
|
|
16258
16258
|
solid: z36.boolean().optional()
|
|
16259
16259
|
});
|
|
16260
16260
|
var pcbAnchorAlignmentAutocomplete = z36.custom((value) => typeof value === "string");
|
|
16261
|
+
var routingTolerances = z36.object({
|
|
16262
|
+
minTraceWidth: length3.optional(),
|
|
16263
|
+
minViaHoleEdgeToViaHoleEdgeClearance: length3.optional(),
|
|
16264
|
+
minViaEdgeToPadEdgeClearance: length3.optional(),
|
|
16265
|
+
minPlatedHoleDrillEdgeToDrillEdgeClearance: length3.optional(),
|
|
16266
|
+
minTraceToPadEdgeClearance: length3.optional(),
|
|
16267
|
+
minPadEdgeToPadEdgeClearance: length3.optional(),
|
|
16268
|
+
minBoardEdgeClearance: length3.optional(),
|
|
16269
|
+
minViaHoleDiameter: length3.optional(),
|
|
16270
|
+
minViaPadDiameter: length3.optional()
|
|
16271
|
+
});
|
|
16261
16272
|
var autorouterConfig = z36.object({
|
|
16262
16273
|
serverUrl: url.optional(),
|
|
16263
16274
|
inputFormat: z36.enum(["simplified", "circuit-json"]).optional(),
|
|
@@ -16278,6 +16289,7 @@ var autorouterConfig = z36.object({
|
|
|
16278
16289
|
"auto_cloud",
|
|
16279
16290
|
"auto_jumper",
|
|
16280
16291
|
"tscircuit_beta",
|
|
16292
|
+
"krt",
|
|
16281
16293
|
"freerouting",
|
|
16282
16294
|
"laser_prefab",
|
|
16283
16295
|
"auto-jumper",
|
|
@@ -16295,6 +16307,7 @@ var autorouterPreset = z36.union([
|
|
|
16295
16307
|
z36.literal("auto_cloud"),
|
|
16296
16308
|
z36.literal("auto_jumper"),
|
|
16297
16309
|
z36.literal("tscircuit_beta"),
|
|
16310
|
+
z36.literal("krt"),
|
|
16298
16311
|
z36.literal("freerouting"),
|
|
16299
16312
|
z36.literal("laser_prefab"),
|
|
16300
16313
|
// Prefabricated PCB with laser copper ablation
|
|
@@ -16408,15 +16421,7 @@ var subcircuitGroupProps = baseGroupProps.extend({
|
|
|
16408
16421
|
routingDisabled: z36.boolean().optional(),
|
|
16409
16422
|
bomDisabled: z36.boolean().optional(),
|
|
16410
16423
|
defaultTraceWidth: length3.optional(),
|
|
16411
|
-
|
|
16412
|
-
minViaHoleEdgeToViaHoleEdgeClearance: length3.optional(),
|
|
16413
|
-
minViaEdgeToPadEdgeClearance: length3.optional(),
|
|
16414
|
-
minPlatedHoleDrillEdgeToDrillEdgeClearance: length3.optional(),
|
|
16415
|
-
minTraceToPadEdgeClearance: length3.optional(),
|
|
16416
|
-
minPadEdgeToPadEdgeClearance: length3.optional(),
|
|
16417
|
-
minBoardEdgeClearance: length3.optional(),
|
|
16418
|
-
minViaHoleDiameter: length3.optional(),
|
|
16419
|
-
minViaPadDiameter: length3.optional(),
|
|
16424
|
+
...routingTolerances.shape,
|
|
16420
16425
|
nominalTraceWidth: length3.optional(),
|
|
16421
16426
|
partsEngine: partsEngine.optional(),
|
|
16422
16427
|
_subcircuitCachingEnabled: z36.boolean().optional(),
|
|
@@ -16445,6 +16450,7 @@ expectTypesMatch(true);
|
|
|
16445
16450
|
expectTypesMatch(true);
|
|
16446
16451
|
expectTypesMatch(true);
|
|
16447
16452
|
expectTypesMatch(true);
|
|
16453
|
+
expectTypesMatch(true);
|
|
16448
16454
|
|
|
16449
16455
|
// lib/components/board.ts
|
|
16450
16456
|
var boardColor = z37.custom((value) => typeof value === "string");
|
|
@@ -17352,6 +17358,7 @@ var autoroutingPhaseProps = z73.object({
|
|
|
17352
17358
|
key: z73.any().optional(),
|
|
17353
17359
|
autorouter: autorouterProp.optional(),
|
|
17354
17360
|
phaseIndex: z73.number().optional(),
|
|
17361
|
+
...routingTolerances.shape,
|
|
17355
17362
|
region: z73.object({
|
|
17356
17363
|
shape: z73.literal("rect").optional(),
|
|
17357
17364
|
minX: z73.number(),
|
|
@@ -18591,6 +18598,7 @@ export {
|
|
|
18591
18598
|
rotatedRectSmtPadProps,
|
|
18592
18599
|
rotationPoint3,
|
|
18593
18600
|
routeHintPointProps,
|
|
18601
|
+
routingTolerances,
|
|
18594
18602
|
schStyle,
|
|
18595
18603
|
schematicArcProps,
|
|
18596
18604
|
schematicBoxProps,
|