@tscircuit/props 0.0.521 → 0.0.523
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 +16 -0
- package/dist/index.d.ts +124 -4
- package/dist/index.js +127 -113
- package/dist/index.js.map +1 -1
- package/lib/common/layout.ts +10 -0
- package/lib/components/port.ts +1 -1
- package/lib/components/schematic-section.ts +20 -0
- package/lib/index.ts +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -436,6 +436,9 @@ var commonComponentProps = commonLayoutProps.merge(supplierProps).extend({
|
|
|
436
436
|
key: z16.any().optional(),
|
|
437
437
|
name: z16.string(),
|
|
438
438
|
displayName: z16.string().optional(),
|
|
439
|
+
schSectionName: z16.string().optional().describe(
|
|
440
|
+
'This component will be drawn as part of this section e.g. "Power"'
|
|
441
|
+
),
|
|
439
442
|
datasheetUrl: url.optional(),
|
|
440
443
|
cadModel: cadModelProp.optional(),
|
|
441
444
|
kicadFootprintMetadata: kicadFootprintMetadata.optional(),
|
|
@@ -18076,42 +18079,52 @@ var schematicCellProps = z111.object({
|
|
|
18076
18079
|
});
|
|
18077
18080
|
expectTypesMatch(true);
|
|
18078
18081
|
|
|
18082
|
+
// lib/components/schematic-section.ts
|
|
18083
|
+
import { z as z112 } from "zod";
|
|
18084
|
+
var schematicSectionProps = z112.object({
|
|
18085
|
+
displayName: z112.string().optional(),
|
|
18086
|
+
name: z112.string()
|
|
18087
|
+
});
|
|
18088
|
+
expectTypesMatch(
|
|
18089
|
+
true
|
|
18090
|
+
);
|
|
18091
|
+
|
|
18079
18092
|
// lib/components/copper-text.ts
|
|
18080
18093
|
import { layer_ref as layer_ref10, length as length8 } from "circuit-json";
|
|
18081
|
-
import { z as
|
|
18094
|
+
import { z as z113 } from "zod";
|
|
18082
18095
|
var copperTextProps = pcbLayoutProps.extend({
|
|
18083
|
-
text:
|
|
18096
|
+
text: z113.string(),
|
|
18084
18097
|
anchorAlignment: ninePointAnchor.default("center"),
|
|
18085
|
-
font:
|
|
18098
|
+
font: z113.enum(["tscircuit2024"]).optional(),
|
|
18086
18099
|
fontSize: length8.optional(),
|
|
18087
|
-
layers:
|
|
18088
|
-
knockout:
|
|
18089
|
-
mirrored:
|
|
18100
|
+
layers: z113.array(layer_ref10).optional(),
|
|
18101
|
+
knockout: z113.boolean().optional(),
|
|
18102
|
+
mirrored: z113.boolean().optional()
|
|
18090
18103
|
});
|
|
18091
18104
|
|
|
18092
18105
|
// lib/components/silkscreen-text.ts
|
|
18093
18106
|
import { layer_ref as layer_ref11, length as length9 } from "circuit-json";
|
|
18094
|
-
import { z as
|
|
18107
|
+
import { z as z114 } from "zod";
|
|
18095
18108
|
var silkscreenTextProps = pcbLayoutProps.extend({
|
|
18096
|
-
text:
|
|
18109
|
+
text: z114.string(),
|
|
18097
18110
|
anchorAlignment: ninePointAnchor.default("center"),
|
|
18098
|
-
font:
|
|
18111
|
+
font: z114.enum(["tscircuit2024"]).optional(),
|
|
18099
18112
|
fontSize: length9.optional(),
|
|
18100
18113
|
/**
|
|
18101
18114
|
* If true, text will knock out underlying silkscreen
|
|
18102
18115
|
*/
|
|
18103
|
-
isKnockout:
|
|
18116
|
+
isKnockout: z114.boolean().optional(),
|
|
18104
18117
|
knockoutPadding: length9.optional(),
|
|
18105
18118
|
knockoutPaddingLeft: length9.optional(),
|
|
18106
18119
|
knockoutPaddingRight: length9.optional(),
|
|
18107
18120
|
knockoutPaddingTop: length9.optional(),
|
|
18108
18121
|
knockoutPaddingBottom: length9.optional(),
|
|
18109
|
-
layers:
|
|
18122
|
+
layers: z114.array(layer_ref11).optional()
|
|
18110
18123
|
});
|
|
18111
18124
|
|
|
18112
18125
|
// lib/components/silkscreen-path.ts
|
|
18113
18126
|
import { length as length10, route_hint_point as route_hint_point5 } from "circuit-json";
|
|
18114
|
-
import { z as
|
|
18127
|
+
import { z as z115 } from "zod";
|
|
18115
18128
|
var silkscreenPathProps = pcbLayoutProps.omit({
|
|
18116
18129
|
pcbLeftEdgeX: true,
|
|
18117
18130
|
pcbRightEdgeX: true,
|
|
@@ -18123,7 +18136,7 @@ var silkscreenPathProps = pcbLayoutProps.omit({
|
|
|
18123
18136
|
pcbOffsetY: true,
|
|
18124
18137
|
pcbRotation: true
|
|
18125
18138
|
}).extend({
|
|
18126
|
-
route:
|
|
18139
|
+
route: z115.array(route_hint_point5),
|
|
18127
18140
|
strokeWidth: length10.optional()
|
|
18128
18141
|
});
|
|
18129
18142
|
|
|
@@ -18145,10 +18158,10 @@ var silkscreenLineProps = pcbLayoutProps.omit({
|
|
|
18145
18158
|
|
|
18146
18159
|
// lib/components/silkscreen-rect.ts
|
|
18147
18160
|
import { distance as distance39 } from "circuit-json";
|
|
18148
|
-
import { z as
|
|
18161
|
+
import { z as z116 } from "zod";
|
|
18149
18162
|
var silkscreenRectProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
|
|
18150
|
-
filled:
|
|
18151
|
-
stroke:
|
|
18163
|
+
filled: z116.boolean().default(true).optional(),
|
|
18164
|
+
stroke: z116.enum(["dashed", "solid", "none"]).optional(),
|
|
18152
18165
|
strokeWidth: distance39.optional(),
|
|
18153
18166
|
width: distance39,
|
|
18154
18167
|
height: distance39,
|
|
@@ -18157,73 +18170,73 @@ var silkscreenRectProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
|
|
|
18157
18170
|
|
|
18158
18171
|
// lib/components/silkscreen-circle.ts
|
|
18159
18172
|
import { distance as distance40 } from "circuit-json";
|
|
18160
|
-
import { z as
|
|
18173
|
+
import { z as z117 } from "zod";
|
|
18161
18174
|
var silkscreenCircleProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
|
|
18162
|
-
isFilled:
|
|
18163
|
-
isOutline:
|
|
18175
|
+
isFilled: z117.boolean().optional(),
|
|
18176
|
+
isOutline: z117.boolean().optional(),
|
|
18164
18177
|
strokeWidth: distance40.optional(),
|
|
18165
18178
|
radius: distance40
|
|
18166
18179
|
});
|
|
18167
18180
|
|
|
18168
18181
|
// lib/components/trace-hint.ts
|
|
18169
18182
|
import { distance as distance41, layer_ref as layer_ref12, route_hint_point as route_hint_point6 } from "circuit-json";
|
|
18170
|
-
import { z as
|
|
18171
|
-
var routeHintPointProps =
|
|
18183
|
+
import { z as z118 } from "zod";
|
|
18184
|
+
var routeHintPointProps = z118.object({
|
|
18172
18185
|
x: distance41,
|
|
18173
18186
|
y: distance41,
|
|
18174
|
-
via:
|
|
18187
|
+
via: z118.boolean().optional(),
|
|
18175
18188
|
toLayer: layer_ref12.optional()
|
|
18176
18189
|
});
|
|
18177
|
-
var traceHintProps =
|
|
18178
|
-
for:
|
|
18190
|
+
var traceHintProps = z118.object({
|
|
18191
|
+
for: z118.string().optional().describe(
|
|
18179
18192
|
"Selector for the port you're targeting, not required if you're inside a trace"
|
|
18180
18193
|
),
|
|
18181
|
-
order:
|
|
18194
|
+
order: z118.number().optional(),
|
|
18182
18195
|
offset: route_hint_point6.or(routeHintPointProps).optional(),
|
|
18183
|
-
offsets:
|
|
18184
|
-
traceWidth:
|
|
18196
|
+
offsets: z118.array(route_hint_point6).or(z118.array(routeHintPointProps)).optional(),
|
|
18197
|
+
traceWidth: z118.number().optional()
|
|
18185
18198
|
});
|
|
18186
18199
|
|
|
18187
18200
|
// lib/components/port.ts
|
|
18188
|
-
import { z as
|
|
18201
|
+
import { z as z119 } from "zod";
|
|
18189
18202
|
var portProps = commonLayoutProps.extend({
|
|
18190
|
-
name:
|
|
18191
|
-
pinNumber:
|
|
18192
|
-
schStemLength:
|
|
18193
|
-
aliases:
|
|
18194
|
-
layer:
|
|
18195
|
-
layers:
|
|
18196
|
-
schX:
|
|
18197
|
-
schY:
|
|
18198
|
-
direction,
|
|
18199
|
-
connectsTo:
|
|
18203
|
+
name: z119.string(),
|
|
18204
|
+
pinNumber: z119.number().optional(),
|
|
18205
|
+
schStemLength: z119.number().optional(),
|
|
18206
|
+
aliases: z119.array(z119.string()).optional(),
|
|
18207
|
+
layer: z119.string().optional(),
|
|
18208
|
+
layers: z119.array(z119.string()).optional(),
|
|
18209
|
+
schX: z119.number().optional(),
|
|
18210
|
+
schY: z119.number().optional(),
|
|
18211
|
+
direction: direction.optional(),
|
|
18212
|
+
connectsTo: z119.string().or(z119.array(z119.string())).optional(),
|
|
18200
18213
|
kicadPinMetadata: kicadPinMetadata.optional(),
|
|
18201
|
-
hasInversionCircle:
|
|
18214
|
+
hasInversionCircle: z119.boolean().optional()
|
|
18202
18215
|
});
|
|
18203
18216
|
|
|
18204
18217
|
// lib/components/pcb-note-text.ts
|
|
18205
18218
|
import { length as length11 } from "circuit-json";
|
|
18206
|
-
import { z as
|
|
18219
|
+
import { z as z120 } from "zod";
|
|
18207
18220
|
var pcbNoteTextProps = pcbLayoutProps.extend({
|
|
18208
|
-
text:
|
|
18209
|
-
anchorAlignment:
|
|
18210
|
-
font:
|
|
18221
|
+
text: z120.string(),
|
|
18222
|
+
anchorAlignment: z120.enum(["center", "top_left", "top_right", "bottom_left", "bottom_right"]).default("center"),
|
|
18223
|
+
font: z120.enum(["tscircuit2024"]).optional(),
|
|
18211
18224
|
fontSize: length11.optional(),
|
|
18212
|
-
color:
|
|
18225
|
+
color: z120.string().optional()
|
|
18213
18226
|
});
|
|
18214
18227
|
expectTypesMatch(true);
|
|
18215
18228
|
|
|
18216
18229
|
// lib/components/pcb-note-rect.ts
|
|
18217
18230
|
import { distance as distance42 } from "circuit-json";
|
|
18218
|
-
import { z as
|
|
18231
|
+
import { z as z121 } from "zod";
|
|
18219
18232
|
var pcbNoteRectProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
|
|
18220
18233
|
width: distance42,
|
|
18221
18234
|
height: distance42,
|
|
18222
18235
|
strokeWidth: distance42.optional(),
|
|
18223
|
-
isFilled:
|
|
18224
|
-
hasStroke:
|
|
18225
|
-
isStrokeDashed:
|
|
18226
|
-
color:
|
|
18236
|
+
isFilled: z121.boolean().optional(),
|
|
18237
|
+
hasStroke: z121.boolean().optional(),
|
|
18238
|
+
isStrokeDashed: z121.boolean().optional(),
|
|
18239
|
+
color: z121.string().optional(),
|
|
18227
18240
|
cornerRadius: distance42.optional()
|
|
18228
18241
|
});
|
|
18229
18242
|
expectTypesMatch(true);
|
|
@@ -18233,7 +18246,7 @@ import {
|
|
|
18233
18246
|
length as length12,
|
|
18234
18247
|
route_hint_point as route_hint_point7
|
|
18235
18248
|
} from "circuit-json";
|
|
18236
|
-
import { z as
|
|
18249
|
+
import { z as z122 } from "zod";
|
|
18237
18250
|
var pcbNotePathProps = pcbLayoutProps.omit({
|
|
18238
18251
|
pcbLeftEdgeX: true,
|
|
18239
18252
|
pcbRightEdgeX: true,
|
|
@@ -18245,15 +18258,15 @@ var pcbNotePathProps = pcbLayoutProps.omit({
|
|
|
18245
18258
|
pcbOffsetY: true,
|
|
18246
18259
|
pcbRotation: true
|
|
18247
18260
|
}).extend({
|
|
18248
|
-
route:
|
|
18261
|
+
route: z122.array(route_hint_point7),
|
|
18249
18262
|
strokeWidth: length12.optional(),
|
|
18250
|
-
color:
|
|
18263
|
+
color: z122.string().optional()
|
|
18251
18264
|
});
|
|
18252
18265
|
expectTypesMatch(true);
|
|
18253
18266
|
|
|
18254
18267
|
// lib/components/pcb-note-line.ts
|
|
18255
18268
|
import { distance as distance43 } from "circuit-json";
|
|
18256
|
-
import { z as
|
|
18269
|
+
import { z as z123 } from "zod";
|
|
18257
18270
|
var pcbNoteLineProps = pcbLayoutProps.omit({
|
|
18258
18271
|
pcbLeftEdgeX: true,
|
|
18259
18272
|
pcbRightEdgeX: true,
|
|
@@ -18270,15 +18283,15 @@ var pcbNoteLineProps = pcbLayoutProps.omit({
|
|
|
18270
18283
|
x2: distance43,
|
|
18271
18284
|
y2: distance43,
|
|
18272
18285
|
strokeWidth: distance43.optional(),
|
|
18273
|
-
color:
|
|
18274
|
-
isDashed:
|
|
18286
|
+
color: z123.string().optional(),
|
|
18287
|
+
isDashed: z123.boolean().optional()
|
|
18275
18288
|
});
|
|
18276
18289
|
expectTypesMatch(true);
|
|
18277
18290
|
|
|
18278
18291
|
// lib/components/pcb-note-dimension.ts
|
|
18279
18292
|
import { distance as distance44, length as length13 } from "circuit-json";
|
|
18280
|
-
import { z as
|
|
18281
|
-
var dimensionTarget2 =
|
|
18293
|
+
import { z as z124 } from "zod";
|
|
18294
|
+
var dimensionTarget2 = z124.union([z124.string(), point]);
|
|
18282
18295
|
var pcbNoteDimensionProps = pcbLayoutProps.omit({
|
|
18283
18296
|
pcbLeftEdgeX: true,
|
|
18284
18297
|
pcbRightEdgeX: true,
|
|
@@ -18292,101 +18305,101 @@ var pcbNoteDimensionProps = pcbLayoutProps.omit({
|
|
|
18292
18305
|
}).extend({
|
|
18293
18306
|
from: dimensionTarget2,
|
|
18294
18307
|
to: dimensionTarget2,
|
|
18295
|
-
text:
|
|
18308
|
+
text: z124.string().optional(),
|
|
18296
18309
|
offset: distance44.optional(),
|
|
18297
|
-
font:
|
|
18310
|
+
font: z124.enum(["tscircuit2024"]).optional(),
|
|
18298
18311
|
fontSize: length13.optional(),
|
|
18299
|
-
color:
|
|
18312
|
+
color: z124.string().optional(),
|
|
18300
18313
|
arrowSize: distance44.optional(),
|
|
18301
|
-
units:
|
|
18302
|
-
outerEdgeToEdge:
|
|
18303
|
-
centerToCenter:
|
|
18304
|
-
innerEdgeToEdge:
|
|
18314
|
+
units: z124.enum(["in", "mm"]).optional(),
|
|
18315
|
+
outerEdgeToEdge: z124.literal(true).optional(),
|
|
18316
|
+
centerToCenter: z124.literal(true).optional(),
|
|
18317
|
+
innerEdgeToEdge: z124.literal(true).optional()
|
|
18305
18318
|
});
|
|
18306
18319
|
expectTypesMatch(
|
|
18307
18320
|
true
|
|
18308
18321
|
);
|
|
18309
18322
|
|
|
18310
18323
|
// lib/platformConfig.ts
|
|
18311
|
-
import { z as
|
|
18312
|
-
var unvalidatedCircuitJson =
|
|
18313
|
-
var footprintLibraryResult =
|
|
18314
|
-
footprintCircuitJson:
|
|
18324
|
+
import { z as z125 } from "zod";
|
|
18325
|
+
var unvalidatedCircuitJson = z125.array(z125.any()).describe("Circuit JSON");
|
|
18326
|
+
var footprintLibraryResult = z125.object({
|
|
18327
|
+
footprintCircuitJson: z125.array(z125.any()),
|
|
18315
18328
|
cadModel: cadModelProp.optional()
|
|
18316
18329
|
});
|
|
18317
|
-
var pathToCircuitJsonFn =
|
|
18318
|
-
|
|
18319
|
-
|
|
18320
|
-
|
|
18321
|
-
).returns(
|
|
18330
|
+
var pathToCircuitJsonFn = z125.function().args(z125.string()).returns(z125.promise(footprintLibraryResult)).or(
|
|
18331
|
+
z125.function().args(
|
|
18332
|
+
z125.string(),
|
|
18333
|
+
z125.object({ resolvedPcbStyle: pcbStyle.optional() }).optional()
|
|
18334
|
+
).returns(z125.promise(footprintLibraryResult))
|
|
18322
18335
|
).describe("A function that takes a path and returns Circuit JSON");
|
|
18323
|
-
var footprintFileParserEntry =
|
|
18324
|
-
loadFromUrl:
|
|
18336
|
+
var footprintFileParserEntry = z125.object({
|
|
18337
|
+
loadFromUrl: z125.function().args(z125.string()).returns(z125.promise(footprintLibraryResult)).describe(
|
|
18325
18338
|
"A function that takes a footprint file URL and returns Circuit JSON"
|
|
18326
18339
|
)
|
|
18327
18340
|
});
|
|
18328
|
-
var spiceEngineSimulationResult =
|
|
18329
|
-
engineVersionString:
|
|
18341
|
+
var spiceEngineSimulationResult = z125.object({
|
|
18342
|
+
engineVersionString: z125.string().optional(),
|
|
18330
18343
|
simulationResultCircuitJson: unvalidatedCircuitJson
|
|
18331
18344
|
});
|
|
18332
|
-
var spiceEngineZod =
|
|
18333
|
-
simulate:
|
|
18345
|
+
var spiceEngineZod = z125.object({
|
|
18346
|
+
simulate: z125.function().args(z125.string()).returns(z125.promise(spiceEngineSimulationResult)).describe(
|
|
18334
18347
|
"A function that takes a SPICE string and returns a simulation result"
|
|
18335
18348
|
)
|
|
18336
18349
|
});
|
|
18337
|
-
var defaultSpiceEngine =
|
|
18350
|
+
var defaultSpiceEngine = z125.custom(
|
|
18338
18351
|
(value) => typeof value === "string"
|
|
18339
18352
|
);
|
|
18340
|
-
var autorouterInstance =
|
|
18341
|
-
run:
|
|
18342
|
-
getOutputSimpleRouteJson:
|
|
18353
|
+
var autorouterInstance = z125.object({
|
|
18354
|
+
run: z125.function().args().returns(z125.promise(z125.unknown())).describe("Run the autorouter"),
|
|
18355
|
+
getOutputSimpleRouteJson: z125.function().args().returns(z125.promise(z125.any())).describe("Get the resulting SimpleRouteJson")
|
|
18343
18356
|
});
|
|
18344
|
-
var autorouterDefinition =
|
|
18345
|
-
createAutorouter:
|
|
18357
|
+
var autorouterDefinition = z125.object({
|
|
18358
|
+
createAutorouter: z125.function().args(z125.any(), z125.any().optional()).returns(z125.union([autorouterInstance, z125.promise(autorouterInstance)])).describe("Create an autorouter instance")
|
|
18346
18359
|
});
|
|
18347
|
-
var platformFetch =
|
|
18348
|
-
var platformConfig =
|
|
18360
|
+
var platformFetch = z125.custom((value) => typeof value === "function").describe("A fetch-like function to use for platform requests");
|
|
18361
|
+
var platformConfig = z125.object({
|
|
18349
18362
|
partsEngine: partsEngine.optional(),
|
|
18350
18363
|
autorouter: autorouterProp.optional(),
|
|
18351
|
-
autorouterMap:
|
|
18364
|
+
autorouterMap: z125.record(z125.string(), autorouterDefinition).optional(),
|
|
18352
18365
|
registryApiUrl: url.optional(),
|
|
18353
18366
|
cloudAutorouterUrl: url.optional(),
|
|
18354
|
-
projectName:
|
|
18367
|
+
projectName: z125.string().optional(),
|
|
18355
18368
|
projectBaseUrl: url.optional(),
|
|
18356
|
-
version:
|
|
18369
|
+
version: z125.string().optional(),
|
|
18357
18370
|
url: url.optional(),
|
|
18358
|
-
printBoardInformationToSilkscreen:
|
|
18359
|
-
includeBoardFiles:
|
|
18371
|
+
printBoardInformationToSilkscreen: z125.boolean().optional(),
|
|
18372
|
+
includeBoardFiles: z125.array(z125.string()).describe(
|
|
18360
18373
|
'The board files to automatically build with "tsci build", defaults to ["**/*.circuit.tsx"]. Can be an array of files or globs'
|
|
18361
18374
|
).optional(),
|
|
18362
|
-
snapshotsDir:
|
|
18375
|
+
snapshotsDir: z125.string().describe(
|
|
18363
18376
|
'The directory where snapshots are stored for "tsci snapshot", defaults to "tests/__snapshots__"'
|
|
18364
18377
|
).optional(),
|
|
18365
18378
|
defaultSpiceEngine: defaultSpiceEngine.optional(),
|
|
18366
|
-
unitPreference:
|
|
18367
|
-
localCacheEngine:
|
|
18368
|
-
pcbDisabled:
|
|
18369
|
-
routingDisabled:
|
|
18370
|
-
schematicDisabled:
|
|
18371
|
-
partsEngineDisabled:
|
|
18372
|
-
drcChecksDisabled:
|
|
18373
|
-
netlistDrcChecksDisabled:
|
|
18374
|
-
routingDrcChecksDisabled:
|
|
18375
|
-
placementDrcChecksDisabled:
|
|
18376
|
-
pinSpecificationDrcChecksDisabled:
|
|
18377
|
-
spiceEngineMap:
|
|
18378
|
-
footprintLibraryMap:
|
|
18379
|
-
|
|
18380
|
-
|
|
18379
|
+
unitPreference: z125.enum(["mm", "in", "mil"]).optional(),
|
|
18380
|
+
localCacheEngine: z125.any().optional(),
|
|
18381
|
+
pcbDisabled: z125.boolean().optional(),
|
|
18382
|
+
routingDisabled: z125.boolean().optional(),
|
|
18383
|
+
schematicDisabled: z125.boolean().optional(),
|
|
18384
|
+
partsEngineDisabled: z125.boolean().optional(),
|
|
18385
|
+
drcChecksDisabled: z125.boolean().optional(),
|
|
18386
|
+
netlistDrcChecksDisabled: z125.boolean().optional(),
|
|
18387
|
+
routingDrcChecksDisabled: z125.boolean().optional(),
|
|
18388
|
+
placementDrcChecksDisabled: z125.boolean().optional(),
|
|
18389
|
+
pinSpecificationDrcChecksDisabled: z125.boolean().optional(),
|
|
18390
|
+
spiceEngineMap: z125.record(z125.string(), spiceEngineZod).optional(),
|
|
18391
|
+
footprintLibraryMap: z125.record(
|
|
18392
|
+
z125.string(),
|
|
18393
|
+
z125.union([
|
|
18381
18394
|
pathToCircuitJsonFn,
|
|
18382
|
-
|
|
18383
|
-
|
|
18384
|
-
|
|
18395
|
+
z125.record(
|
|
18396
|
+
z125.string(),
|
|
18397
|
+
z125.union([unvalidatedCircuitJson, pathToCircuitJsonFn])
|
|
18385
18398
|
)
|
|
18386
18399
|
])
|
|
18387
18400
|
).optional(),
|
|
18388
|
-
footprintFileParserMap:
|
|
18389
|
-
resolveProjectStaticFileImportUrl:
|
|
18401
|
+
footprintFileParserMap: z125.record(z125.string(), footprintFileParserEntry).optional(),
|
|
18402
|
+
resolveProjectStaticFileImportUrl: z125.function().args(z125.string()).returns(z125.promise(z125.string())).describe(
|
|
18390
18403
|
"A function that returns a string URL for static files for the project"
|
|
18391
18404
|
).optional(),
|
|
18392
18405
|
platformFetch: platformFetch.optional()
|
|
@@ -18591,6 +18604,7 @@ export {
|
|
|
18591
18604
|
schematicPortArrangement,
|
|
18592
18605
|
schematicRectProps,
|
|
18593
18606
|
schematicRowProps,
|
|
18607
|
+
schematicSectionProps,
|
|
18594
18608
|
schematicSymbolSize,
|
|
18595
18609
|
schematicTableProps,
|
|
18596
18610
|
schematicTextProps,
|