@tscircuit/props 0.0.555 → 0.0.556
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 +17 -0
- package/dist/index.d.ts +129 -2
- package/dist/index.js +125 -112
- package/dist/index.js.map +1 -1
- package/lib/common/layout.ts +11 -1
- package/lib/components/schematic-sheet.ts +18 -0
- package/lib/index.ts +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -439,6 +439,9 @@ var commonComponentProps = commonLayoutProps.merge(supplierProps).extend({
|
|
|
439
439
|
schSectionName: z16.string().optional().describe(
|
|
440
440
|
'This component will be drawn as part of this section e.g. "Power"'
|
|
441
441
|
),
|
|
442
|
+
schSheetName: z16.string().optional().describe(
|
|
443
|
+
'This component will be drawn as part of this sheet e.g. "Main"'
|
|
444
|
+
),
|
|
442
445
|
datasheetUrl: url.optional(),
|
|
443
446
|
cadModel: cadModelProp.optional(),
|
|
444
447
|
kicadFootprintMetadata: kicadFootprintMetadata.optional(),
|
|
@@ -18202,42 +18205,51 @@ expectTypesMatch(
|
|
|
18202
18205
|
true
|
|
18203
18206
|
);
|
|
18204
18207
|
|
|
18208
|
+
// lib/components/schematic-sheet.ts
|
|
18209
|
+
import { z as z117 } from "zod";
|
|
18210
|
+
var schematicSheetProps = z117.object({
|
|
18211
|
+
name: z117.string(),
|
|
18212
|
+
displayName: z117.string(),
|
|
18213
|
+
children: z117.any().optional()
|
|
18214
|
+
});
|
|
18215
|
+
expectTypesMatch(true);
|
|
18216
|
+
|
|
18205
18217
|
// lib/components/copper-text.ts
|
|
18206
18218
|
import { layer_ref as layer_ref10, length as length8 } from "circuit-json";
|
|
18207
|
-
import { z as
|
|
18219
|
+
import { z as z118 } from "zod";
|
|
18208
18220
|
var copperTextProps = pcbLayoutProps.extend({
|
|
18209
|
-
text:
|
|
18221
|
+
text: z118.string(),
|
|
18210
18222
|
anchorAlignment: ninePointAnchor.default("center"),
|
|
18211
|
-
font:
|
|
18223
|
+
font: z118.enum(["tscircuit2024"]).optional(),
|
|
18212
18224
|
fontSize: length8.optional(),
|
|
18213
|
-
layers:
|
|
18214
|
-
knockout:
|
|
18215
|
-
mirrored:
|
|
18225
|
+
layers: z118.array(layer_ref10).optional(),
|
|
18226
|
+
knockout: z118.boolean().optional(),
|
|
18227
|
+
mirrored: z118.boolean().optional()
|
|
18216
18228
|
});
|
|
18217
18229
|
|
|
18218
18230
|
// lib/components/silkscreen-text.ts
|
|
18219
18231
|
import { layer_ref as layer_ref11, length as length9 } from "circuit-json";
|
|
18220
|
-
import { z as
|
|
18232
|
+
import { z as z119 } from "zod";
|
|
18221
18233
|
var silkscreenTextProps = pcbLayoutProps.extend({
|
|
18222
|
-
text:
|
|
18234
|
+
text: z119.string(),
|
|
18223
18235
|
anchorAlignment: ninePointAnchor.default("center"),
|
|
18224
|
-
font:
|
|
18236
|
+
font: z119.enum(["tscircuit2024"]).optional(),
|
|
18225
18237
|
fontSize: length9.optional(),
|
|
18226
18238
|
/**
|
|
18227
18239
|
* If true, text will knock out underlying silkscreen
|
|
18228
18240
|
*/
|
|
18229
|
-
isKnockout:
|
|
18241
|
+
isKnockout: z119.boolean().optional(),
|
|
18230
18242
|
knockoutPadding: length9.optional(),
|
|
18231
18243
|
knockoutPaddingLeft: length9.optional(),
|
|
18232
18244
|
knockoutPaddingRight: length9.optional(),
|
|
18233
18245
|
knockoutPaddingTop: length9.optional(),
|
|
18234
18246
|
knockoutPaddingBottom: length9.optional(),
|
|
18235
|
-
layers:
|
|
18247
|
+
layers: z119.array(layer_ref11).optional()
|
|
18236
18248
|
});
|
|
18237
18249
|
|
|
18238
18250
|
// lib/components/silkscreen-path.ts
|
|
18239
18251
|
import { length as length10, route_hint_point as route_hint_point5 } from "circuit-json";
|
|
18240
|
-
import { z as
|
|
18252
|
+
import { z as z120 } from "zod";
|
|
18241
18253
|
var silkscreenPathProps = pcbLayoutProps.omit({
|
|
18242
18254
|
pcbLeftEdgeX: true,
|
|
18243
18255
|
pcbRightEdgeX: true,
|
|
@@ -18249,7 +18261,7 @@ var silkscreenPathProps = pcbLayoutProps.omit({
|
|
|
18249
18261
|
pcbOffsetY: true,
|
|
18250
18262
|
pcbRotation: true
|
|
18251
18263
|
}).extend({
|
|
18252
|
-
route:
|
|
18264
|
+
route: z120.array(route_hint_point5),
|
|
18253
18265
|
strokeWidth: length10.optional()
|
|
18254
18266
|
});
|
|
18255
18267
|
|
|
@@ -18271,10 +18283,10 @@ var silkscreenLineProps = pcbLayoutProps.omit({
|
|
|
18271
18283
|
|
|
18272
18284
|
// lib/components/silkscreen-rect.ts
|
|
18273
18285
|
import { distance as distance41 } from "circuit-json";
|
|
18274
|
-
import { z as
|
|
18286
|
+
import { z as z121 } from "zod";
|
|
18275
18287
|
var silkscreenRectProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
|
|
18276
|
-
filled:
|
|
18277
|
-
stroke:
|
|
18288
|
+
filled: z121.boolean().default(true).optional(),
|
|
18289
|
+
stroke: z121.enum(["dashed", "solid", "none"]).optional(),
|
|
18278
18290
|
strokeWidth: distance41.optional(),
|
|
18279
18291
|
width: distance41,
|
|
18280
18292
|
height: distance41,
|
|
@@ -18283,10 +18295,10 @@ var silkscreenRectProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
|
|
|
18283
18295
|
|
|
18284
18296
|
// lib/components/silkscreen-circle.ts
|
|
18285
18297
|
import { distance as distance42 } from "circuit-json";
|
|
18286
|
-
import { z as
|
|
18298
|
+
import { z as z122 } from "zod";
|
|
18287
18299
|
var silkscreenCircleProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
|
|
18288
|
-
isFilled:
|
|
18289
|
-
isOutline:
|
|
18300
|
+
isFilled: z122.boolean().optional(),
|
|
18301
|
+
isOutline: z122.boolean().optional(),
|
|
18290
18302
|
strokeWidth: distance42.optional(),
|
|
18291
18303
|
radius: distance42
|
|
18292
18304
|
});
|
|
@@ -18304,63 +18316,63 @@ expectTypesMatch(true);
|
|
|
18304
18316
|
|
|
18305
18317
|
// lib/components/trace-hint.ts
|
|
18306
18318
|
import { distance as distance43, layer_ref as layer_ref12, route_hint_point as route_hint_point6 } from "circuit-json";
|
|
18307
|
-
import { z as
|
|
18308
|
-
var routeHintPointProps =
|
|
18319
|
+
import { z as z124 } from "zod";
|
|
18320
|
+
var routeHintPointProps = z124.object({
|
|
18309
18321
|
x: distance43,
|
|
18310
18322
|
y: distance43,
|
|
18311
|
-
via:
|
|
18323
|
+
via: z124.boolean().optional(),
|
|
18312
18324
|
toLayer: layer_ref12.optional()
|
|
18313
18325
|
});
|
|
18314
|
-
var traceHintProps =
|
|
18315
|
-
for:
|
|
18326
|
+
var traceHintProps = z124.object({
|
|
18327
|
+
for: z124.string().optional().describe(
|
|
18316
18328
|
"Selector for the port you're targeting, not required if you're inside a trace"
|
|
18317
18329
|
),
|
|
18318
|
-
order:
|
|
18330
|
+
order: z124.number().optional(),
|
|
18319
18331
|
offset: route_hint_point6.or(routeHintPointProps).optional(),
|
|
18320
|
-
offsets:
|
|
18321
|
-
traceWidth:
|
|
18332
|
+
offsets: z124.array(route_hint_point6).or(z124.array(routeHintPointProps)).optional(),
|
|
18333
|
+
traceWidth: z124.number().optional()
|
|
18322
18334
|
});
|
|
18323
18335
|
|
|
18324
18336
|
// lib/components/port.ts
|
|
18325
|
-
import { z as
|
|
18337
|
+
import { z as z125 } from "zod";
|
|
18326
18338
|
var portProps = commonLayoutProps.extend({
|
|
18327
|
-
name:
|
|
18328
|
-
pinNumber:
|
|
18329
|
-
schStemLength:
|
|
18330
|
-
aliases:
|
|
18331
|
-
layer:
|
|
18332
|
-
layers:
|
|
18333
|
-
schX:
|
|
18334
|
-
schY:
|
|
18339
|
+
name: z125.string().optional(),
|
|
18340
|
+
pinNumber: z125.number().optional(),
|
|
18341
|
+
schStemLength: z125.number().optional(),
|
|
18342
|
+
aliases: z125.array(z125.string()).optional(),
|
|
18343
|
+
layer: z125.string().optional(),
|
|
18344
|
+
layers: z125.array(z125.string()).optional(),
|
|
18345
|
+
schX: z125.number().optional(),
|
|
18346
|
+
schY: z125.number().optional(),
|
|
18335
18347
|
direction: direction.optional(),
|
|
18336
|
-
connectsTo:
|
|
18348
|
+
connectsTo: z125.string().or(z125.array(z125.string())).optional(),
|
|
18337
18349
|
kicadPinMetadata: kicadPinMetadata.optional(),
|
|
18338
|
-
hasInversionCircle:
|
|
18350
|
+
hasInversionCircle: z125.boolean().optional()
|
|
18339
18351
|
});
|
|
18340
18352
|
|
|
18341
18353
|
// lib/components/pcb-note-text.ts
|
|
18342
18354
|
import { length as length11 } from "circuit-json";
|
|
18343
|
-
import { z as
|
|
18355
|
+
import { z as z126 } from "zod";
|
|
18344
18356
|
var pcbNoteTextProps = pcbLayoutProps.extend({
|
|
18345
|
-
text:
|
|
18346
|
-
anchorAlignment:
|
|
18347
|
-
font:
|
|
18357
|
+
text: z126.string(),
|
|
18358
|
+
anchorAlignment: z126.enum(["center", "top_left", "top_right", "bottom_left", "bottom_right"]).default("center"),
|
|
18359
|
+
font: z126.enum(["tscircuit2024"]).optional(),
|
|
18348
18360
|
fontSize: length11.optional(),
|
|
18349
|
-
color:
|
|
18361
|
+
color: z126.string().optional()
|
|
18350
18362
|
});
|
|
18351
18363
|
expectTypesMatch(true);
|
|
18352
18364
|
|
|
18353
18365
|
// lib/components/pcb-note-rect.ts
|
|
18354
18366
|
import { distance as distance44 } from "circuit-json";
|
|
18355
|
-
import { z as
|
|
18367
|
+
import { z as z127 } from "zod";
|
|
18356
18368
|
var pcbNoteRectProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
|
|
18357
18369
|
width: distance44,
|
|
18358
18370
|
height: distance44,
|
|
18359
18371
|
strokeWidth: distance44.optional(),
|
|
18360
|
-
isFilled:
|
|
18361
|
-
hasStroke:
|
|
18362
|
-
isStrokeDashed:
|
|
18363
|
-
color:
|
|
18372
|
+
isFilled: z127.boolean().optional(),
|
|
18373
|
+
hasStroke: z127.boolean().optional(),
|
|
18374
|
+
isStrokeDashed: z127.boolean().optional(),
|
|
18375
|
+
color: z127.string().optional(),
|
|
18364
18376
|
cornerRadius: distance44.optional()
|
|
18365
18377
|
});
|
|
18366
18378
|
expectTypesMatch(true);
|
|
@@ -18370,7 +18382,7 @@ import {
|
|
|
18370
18382
|
length as length12,
|
|
18371
18383
|
route_hint_point as route_hint_point7
|
|
18372
18384
|
} from "circuit-json";
|
|
18373
|
-
import { z as
|
|
18385
|
+
import { z as z128 } from "zod";
|
|
18374
18386
|
var pcbNotePathProps = pcbLayoutProps.omit({
|
|
18375
18387
|
pcbLeftEdgeX: true,
|
|
18376
18388
|
pcbRightEdgeX: true,
|
|
@@ -18382,15 +18394,15 @@ var pcbNotePathProps = pcbLayoutProps.omit({
|
|
|
18382
18394
|
pcbOffsetY: true,
|
|
18383
18395
|
pcbRotation: true
|
|
18384
18396
|
}).extend({
|
|
18385
|
-
route:
|
|
18397
|
+
route: z128.array(route_hint_point7),
|
|
18386
18398
|
strokeWidth: length12.optional(),
|
|
18387
|
-
color:
|
|
18399
|
+
color: z128.string().optional()
|
|
18388
18400
|
});
|
|
18389
18401
|
expectTypesMatch(true);
|
|
18390
18402
|
|
|
18391
18403
|
// lib/components/pcb-note-line.ts
|
|
18392
18404
|
import { distance as distance45 } from "circuit-json";
|
|
18393
|
-
import { z as
|
|
18405
|
+
import { z as z129 } from "zod";
|
|
18394
18406
|
var pcbNoteLineProps = pcbLayoutProps.omit({
|
|
18395
18407
|
pcbLeftEdgeX: true,
|
|
18396
18408
|
pcbRightEdgeX: true,
|
|
@@ -18407,15 +18419,15 @@ var pcbNoteLineProps = pcbLayoutProps.omit({
|
|
|
18407
18419
|
x2: distance45,
|
|
18408
18420
|
y2: distance45,
|
|
18409
18421
|
strokeWidth: distance45.optional(),
|
|
18410
|
-
color:
|
|
18411
|
-
isDashed:
|
|
18422
|
+
color: z129.string().optional(),
|
|
18423
|
+
isDashed: z129.boolean().optional()
|
|
18412
18424
|
});
|
|
18413
18425
|
expectTypesMatch(true);
|
|
18414
18426
|
|
|
18415
18427
|
// lib/components/pcb-note-dimension.ts
|
|
18416
18428
|
import { distance as distance46, length as length13 } from "circuit-json";
|
|
18417
|
-
import { z as
|
|
18418
|
-
var dimensionTarget2 =
|
|
18429
|
+
import { z as z130 } from "zod";
|
|
18430
|
+
var dimensionTarget2 = z130.union([z130.string(), point]);
|
|
18419
18431
|
var pcbNoteDimensionProps = pcbLayoutProps.omit({
|
|
18420
18432
|
pcbLeftEdgeX: true,
|
|
18421
18433
|
pcbRightEdgeX: true,
|
|
@@ -18429,101 +18441,101 @@ var pcbNoteDimensionProps = pcbLayoutProps.omit({
|
|
|
18429
18441
|
}).extend({
|
|
18430
18442
|
from: dimensionTarget2,
|
|
18431
18443
|
to: dimensionTarget2,
|
|
18432
|
-
text:
|
|
18444
|
+
text: z130.string().optional(),
|
|
18433
18445
|
offset: distance46.optional(),
|
|
18434
|
-
font:
|
|
18446
|
+
font: z130.enum(["tscircuit2024"]).optional(),
|
|
18435
18447
|
fontSize: length13.optional(),
|
|
18436
|
-
color:
|
|
18448
|
+
color: z130.string().optional(),
|
|
18437
18449
|
arrowSize: distance46.optional(),
|
|
18438
|
-
units:
|
|
18439
|
-
outerEdgeToEdge:
|
|
18440
|
-
centerToCenter:
|
|
18441
|
-
innerEdgeToEdge:
|
|
18450
|
+
units: z130.enum(["in", "mm"]).optional(),
|
|
18451
|
+
outerEdgeToEdge: z130.literal(true).optional(),
|
|
18452
|
+
centerToCenter: z130.literal(true).optional(),
|
|
18453
|
+
innerEdgeToEdge: z130.literal(true).optional()
|
|
18442
18454
|
});
|
|
18443
18455
|
expectTypesMatch(
|
|
18444
18456
|
true
|
|
18445
18457
|
);
|
|
18446
18458
|
|
|
18447
18459
|
// lib/platformConfig.ts
|
|
18448
|
-
import { z as
|
|
18449
|
-
var unvalidatedCircuitJson =
|
|
18450
|
-
var footprintLibraryResult =
|
|
18451
|
-
footprintCircuitJson:
|
|
18460
|
+
import { z as z131 } from "zod";
|
|
18461
|
+
var unvalidatedCircuitJson = z131.array(z131.any()).describe("Circuit JSON");
|
|
18462
|
+
var footprintLibraryResult = z131.object({
|
|
18463
|
+
footprintCircuitJson: z131.array(z131.any()),
|
|
18452
18464
|
cadModel: cadModelProp.optional()
|
|
18453
18465
|
});
|
|
18454
|
-
var pathToCircuitJsonFn =
|
|
18455
|
-
|
|
18456
|
-
|
|
18457
|
-
|
|
18458
|
-
).returns(
|
|
18466
|
+
var pathToCircuitJsonFn = z131.function().args(z131.string()).returns(z131.promise(footprintLibraryResult)).or(
|
|
18467
|
+
z131.function().args(
|
|
18468
|
+
z131.string(),
|
|
18469
|
+
z131.object({ resolvedPcbStyle: pcbStyle.optional() }).optional()
|
|
18470
|
+
).returns(z131.promise(footprintLibraryResult))
|
|
18459
18471
|
).describe("A function that takes a path and returns Circuit JSON");
|
|
18460
|
-
var footprintFileParserEntry =
|
|
18461
|
-
loadFromUrl:
|
|
18472
|
+
var footprintFileParserEntry = z131.object({
|
|
18473
|
+
loadFromUrl: z131.function().args(z131.string()).returns(z131.promise(footprintLibraryResult)).describe(
|
|
18462
18474
|
"A function that takes a footprint file URL and returns Circuit JSON"
|
|
18463
18475
|
)
|
|
18464
18476
|
});
|
|
18465
|
-
var spiceEngineSimulationResult =
|
|
18466
|
-
engineVersionString:
|
|
18477
|
+
var spiceEngineSimulationResult = z131.object({
|
|
18478
|
+
engineVersionString: z131.string().optional(),
|
|
18467
18479
|
simulationResultCircuitJson: unvalidatedCircuitJson
|
|
18468
18480
|
});
|
|
18469
|
-
var spiceEngineZod =
|
|
18470
|
-
simulate:
|
|
18481
|
+
var spiceEngineZod = z131.object({
|
|
18482
|
+
simulate: z131.function().args(z131.string()).returns(z131.promise(spiceEngineSimulationResult)).describe(
|
|
18471
18483
|
"A function that takes a SPICE string and returns a simulation result"
|
|
18472
18484
|
)
|
|
18473
18485
|
});
|
|
18474
|
-
var defaultSpiceEngine =
|
|
18486
|
+
var defaultSpiceEngine = z131.custom(
|
|
18475
18487
|
(value) => typeof value === "string"
|
|
18476
18488
|
);
|
|
18477
|
-
var autorouterInstance =
|
|
18478
|
-
run:
|
|
18479
|
-
getOutputSimpleRouteJson:
|
|
18489
|
+
var autorouterInstance = z131.object({
|
|
18490
|
+
run: z131.function().args().returns(z131.promise(z131.unknown())).describe("Run the autorouter"),
|
|
18491
|
+
getOutputSimpleRouteJson: z131.function().args().returns(z131.promise(z131.any())).describe("Get the resulting SimpleRouteJson")
|
|
18480
18492
|
});
|
|
18481
|
-
var autorouterDefinition =
|
|
18482
|
-
createAutorouter:
|
|
18493
|
+
var autorouterDefinition = z131.object({
|
|
18494
|
+
createAutorouter: z131.function().args(z131.any(), z131.any().optional()).returns(z131.union([autorouterInstance, z131.promise(autorouterInstance)])).describe("Create an autorouter instance")
|
|
18483
18495
|
});
|
|
18484
|
-
var platformFetch =
|
|
18485
|
-
var platformConfig =
|
|
18496
|
+
var platformFetch = z131.custom((value) => typeof value === "function").describe("A fetch-like function to use for platform requests");
|
|
18497
|
+
var platformConfig = z131.object({
|
|
18486
18498
|
partsEngine: partsEngine.optional(),
|
|
18487
18499
|
autorouter: autorouterProp.optional(),
|
|
18488
|
-
autorouterMap:
|
|
18500
|
+
autorouterMap: z131.record(z131.string(), autorouterDefinition).optional(),
|
|
18489
18501
|
registryApiUrl: url.optional(),
|
|
18490
18502
|
cloudAutorouterUrl: url.optional(),
|
|
18491
|
-
projectName:
|
|
18503
|
+
projectName: z131.string().optional(),
|
|
18492
18504
|
projectBaseUrl: url.optional(),
|
|
18493
|
-
version:
|
|
18505
|
+
version: z131.string().optional(),
|
|
18494
18506
|
url: url.optional(),
|
|
18495
|
-
printBoardInformationToSilkscreen:
|
|
18496
|
-
includeBoardFiles:
|
|
18507
|
+
printBoardInformationToSilkscreen: z131.boolean().optional(),
|
|
18508
|
+
includeBoardFiles: z131.array(z131.string()).describe(
|
|
18497
18509
|
'The board files to automatically build with "tsci build", defaults to ["**/*.circuit.tsx"]. Can be an array of files or globs'
|
|
18498
18510
|
).optional(),
|
|
18499
|
-
snapshotsDir:
|
|
18511
|
+
snapshotsDir: z131.string().describe(
|
|
18500
18512
|
'The directory where snapshots are stored for "tsci snapshot", defaults to "tests/__snapshots__"'
|
|
18501
18513
|
).optional(),
|
|
18502
18514
|
defaultSpiceEngine: defaultSpiceEngine.optional(),
|
|
18503
|
-
unitPreference:
|
|
18504
|
-
localCacheEngine:
|
|
18505
|
-
pcbDisabled:
|
|
18506
|
-
routingDisabled:
|
|
18507
|
-
schematicDisabled:
|
|
18508
|
-
partsEngineDisabled:
|
|
18509
|
-
drcChecksDisabled:
|
|
18510
|
-
netlistDrcChecksDisabled:
|
|
18511
|
-
routingDrcChecksDisabled:
|
|
18512
|
-
placementDrcChecksDisabled:
|
|
18513
|
-
pinSpecificationDrcChecksDisabled:
|
|
18514
|
-
spiceEngineMap:
|
|
18515
|
-
footprintLibraryMap:
|
|
18516
|
-
|
|
18517
|
-
|
|
18515
|
+
unitPreference: z131.enum(["mm", "in", "mil"]).optional(),
|
|
18516
|
+
localCacheEngine: z131.any().optional(),
|
|
18517
|
+
pcbDisabled: z131.boolean().optional(),
|
|
18518
|
+
routingDisabled: z131.boolean().optional(),
|
|
18519
|
+
schematicDisabled: z131.boolean().optional(),
|
|
18520
|
+
partsEngineDisabled: z131.boolean().optional(),
|
|
18521
|
+
drcChecksDisabled: z131.boolean().optional(),
|
|
18522
|
+
netlistDrcChecksDisabled: z131.boolean().optional(),
|
|
18523
|
+
routingDrcChecksDisabled: z131.boolean().optional(),
|
|
18524
|
+
placementDrcChecksDisabled: z131.boolean().optional(),
|
|
18525
|
+
pinSpecificationDrcChecksDisabled: z131.boolean().optional(),
|
|
18526
|
+
spiceEngineMap: z131.record(z131.string(), spiceEngineZod).optional(),
|
|
18527
|
+
footprintLibraryMap: z131.record(
|
|
18528
|
+
z131.string(),
|
|
18529
|
+
z131.union([
|
|
18518
18530
|
pathToCircuitJsonFn,
|
|
18519
|
-
|
|
18520
|
-
|
|
18521
|
-
|
|
18531
|
+
z131.record(
|
|
18532
|
+
z131.string(),
|
|
18533
|
+
z131.union([unvalidatedCircuitJson, pathToCircuitJsonFn])
|
|
18522
18534
|
)
|
|
18523
18535
|
])
|
|
18524
18536
|
).optional(),
|
|
18525
|
-
footprintFileParserMap:
|
|
18526
|
-
resolveProjectStaticFileImportUrl:
|
|
18537
|
+
footprintFileParserMap: z131.record(z131.string(), footprintFileParserEntry).optional(),
|
|
18538
|
+
resolveProjectStaticFileImportUrl: z131.function().args(z131.string()).returns(z131.promise(z131.string())).describe(
|
|
18527
18539
|
"A function that returns a string URL for static files for the project"
|
|
18528
18540
|
).optional(),
|
|
18529
18541
|
platformFetch: platformFetch.optional()
|
|
@@ -18735,6 +18747,7 @@ export {
|
|
|
18735
18747
|
schematicRectProps,
|
|
18736
18748
|
schematicRowProps,
|
|
18737
18749
|
schematicSectionProps,
|
|
18750
|
+
schematicSheetProps,
|
|
18738
18751
|
schematicSymbolSize,
|
|
18739
18752
|
schematicTableProps,
|
|
18740
18753
|
schematicTextProps,
|