@tscircuit/props 0.0.210 → 0.0.211
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 +30 -0
- package/dist/index.d.ts +692 -7
- package/dist/index.js +408 -387
- package/dist/index.js.map +1 -1
- package/lib/components/breakout.ts +25 -0
- package/lib/components/breakoutpoint.ts +17 -0
- package/lib/index.ts +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6175,6 +6175,663 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
6175
6175
|
material?: "fr4" | "fr1" | undefined;
|
|
6176
6176
|
}>;
|
|
6177
6177
|
|
|
6178
|
+
interface BreakoutProps extends Omit<SubcircuitGroupProps, "subcircuit"> {
|
|
6179
|
+
padding?: Distance;
|
|
6180
|
+
paddingLeft?: Distance;
|
|
6181
|
+
paddingRight?: Distance;
|
|
6182
|
+
paddingTop?: Distance;
|
|
6183
|
+
paddingBottom?: Distance;
|
|
6184
|
+
}
|
|
6185
|
+
declare const breakoutProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
6186
|
+
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6187
|
+
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6188
|
+
pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6189
|
+
schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6190
|
+
schY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6191
|
+
schRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6192
|
+
layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
6193
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
6194
|
+
}, "strip", z.ZodTypeAny, {
|
|
6195
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6196
|
+
}, {
|
|
6197
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6198
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6199
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6200
|
+
}>>;
|
|
6201
|
+
footprint: z.ZodOptional<z.ZodType<Footprint, z.ZodTypeDef, Footprint>>;
|
|
6202
|
+
}, {
|
|
6203
|
+
pcbWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6204
|
+
pcbHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6205
|
+
schWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6206
|
+
schHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6207
|
+
pcbLayout: z.ZodOptional<z.ZodObject<{
|
|
6208
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "match-adapt", "none"]>>;
|
|
6209
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
6210
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
6211
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
6212
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
6213
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
6214
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
6215
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
6216
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
6217
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
6218
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
6219
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
6220
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
6221
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
6222
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
6223
|
+
gap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
6224
|
+
width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6225
|
+
height: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6226
|
+
matchAdapt: z.ZodOptional<z.ZodBoolean>;
|
|
6227
|
+
matchAdaptTemplate: z.ZodOptional<z.ZodAny>;
|
|
6228
|
+
}, "strip", z.ZodTypeAny, {
|
|
6229
|
+
grid?: boolean | undefined;
|
|
6230
|
+
flex?: string | boolean | undefined;
|
|
6231
|
+
layoutMode?: "grid" | "flex" | "match-adapt" | "none" | undefined;
|
|
6232
|
+
position?: "absolute" | "relative" | undefined;
|
|
6233
|
+
gridCols?: string | number | undefined;
|
|
6234
|
+
gridRows?: string | number | undefined;
|
|
6235
|
+
gridTemplateRows?: string | undefined;
|
|
6236
|
+
gridTemplateColumns?: string | undefined;
|
|
6237
|
+
gridTemplate?: string | undefined;
|
|
6238
|
+
gridGap?: string | number | undefined;
|
|
6239
|
+
flexDirection?: "row" | "column" | undefined;
|
|
6240
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
6241
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
6242
|
+
flexRow?: boolean | undefined;
|
|
6243
|
+
flexColumn?: boolean | undefined;
|
|
6244
|
+
gap?: string | number | undefined;
|
|
6245
|
+
width?: number | undefined;
|
|
6246
|
+
height?: number | undefined;
|
|
6247
|
+
matchAdapt?: boolean | undefined;
|
|
6248
|
+
matchAdaptTemplate?: any;
|
|
6249
|
+
}, {
|
|
6250
|
+
grid?: boolean | undefined;
|
|
6251
|
+
flex?: string | boolean | undefined;
|
|
6252
|
+
layoutMode?: "grid" | "flex" | "match-adapt" | "none" | undefined;
|
|
6253
|
+
position?: "absolute" | "relative" | undefined;
|
|
6254
|
+
gridCols?: string | number | undefined;
|
|
6255
|
+
gridRows?: string | number | undefined;
|
|
6256
|
+
gridTemplateRows?: string | undefined;
|
|
6257
|
+
gridTemplateColumns?: string | undefined;
|
|
6258
|
+
gridTemplate?: string | undefined;
|
|
6259
|
+
gridGap?: string | number | undefined;
|
|
6260
|
+
flexDirection?: "row" | "column" | undefined;
|
|
6261
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
6262
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
6263
|
+
flexRow?: boolean | undefined;
|
|
6264
|
+
flexColumn?: boolean | undefined;
|
|
6265
|
+
gap?: string | number | undefined;
|
|
6266
|
+
width?: string | number | undefined;
|
|
6267
|
+
height?: string | number | undefined;
|
|
6268
|
+
matchAdapt?: boolean | undefined;
|
|
6269
|
+
matchAdaptTemplate?: any;
|
|
6270
|
+
}>>;
|
|
6271
|
+
schLayout: z.ZodOptional<z.ZodObject<{
|
|
6272
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "match-adapt", "none"]>>;
|
|
6273
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
6274
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
6275
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
6276
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
6277
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
6278
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
6279
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
6280
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
6281
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
6282
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
6283
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
6284
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
6285
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
6286
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
6287
|
+
gap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
6288
|
+
width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6289
|
+
height: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6290
|
+
matchAdapt: z.ZodOptional<z.ZodBoolean>;
|
|
6291
|
+
matchAdaptTemplate: z.ZodOptional<z.ZodAny>;
|
|
6292
|
+
}, "strip", z.ZodTypeAny, {
|
|
6293
|
+
grid?: boolean | undefined;
|
|
6294
|
+
flex?: string | boolean | undefined;
|
|
6295
|
+
layoutMode?: "grid" | "flex" | "match-adapt" | "none" | undefined;
|
|
6296
|
+
position?: "absolute" | "relative" | undefined;
|
|
6297
|
+
gridCols?: string | number | undefined;
|
|
6298
|
+
gridRows?: string | number | undefined;
|
|
6299
|
+
gridTemplateRows?: string | undefined;
|
|
6300
|
+
gridTemplateColumns?: string | undefined;
|
|
6301
|
+
gridTemplate?: string | undefined;
|
|
6302
|
+
gridGap?: string | number | undefined;
|
|
6303
|
+
flexDirection?: "row" | "column" | undefined;
|
|
6304
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
6305
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
6306
|
+
flexRow?: boolean | undefined;
|
|
6307
|
+
flexColumn?: boolean | undefined;
|
|
6308
|
+
gap?: string | number | undefined;
|
|
6309
|
+
width?: number | undefined;
|
|
6310
|
+
height?: number | undefined;
|
|
6311
|
+
matchAdapt?: boolean | undefined;
|
|
6312
|
+
matchAdaptTemplate?: any;
|
|
6313
|
+
}, {
|
|
6314
|
+
grid?: boolean | undefined;
|
|
6315
|
+
flex?: string | boolean | undefined;
|
|
6316
|
+
layoutMode?: "grid" | "flex" | "match-adapt" | "none" | undefined;
|
|
6317
|
+
position?: "absolute" | "relative" | undefined;
|
|
6318
|
+
gridCols?: string | number | undefined;
|
|
6319
|
+
gridRows?: string | number | undefined;
|
|
6320
|
+
gridTemplateRows?: string | undefined;
|
|
6321
|
+
gridTemplateColumns?: string | undefined;
|
|
6322
|
+
gridTemplate?: string | undefined;
|
|
6323
|
+
gridGap?: string | number | undefined;
|
|
6324
|
+
flexDirection?: "row" | "column" | undefined;
|
|
6325
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
6326
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
6327
|
+
flexRow?: boolean | undefined;
|
|
6328
|
+
flexColumn?: boolean | undefined;
|
|
6329
|
+
gap?: string | number | undefined;
|
|
6330
|
+
width?: string | number | undefined;
|
|
6331
|
+
height?: string | number | undefined;
|
|
6332
|
+
matchAdapt?: boolean | undefined;
|
|
6333
|
+
matchAdaptTemplate?: any;
|
|
6334
|
+
}>>;
|
|
6335
|
+
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "flex", "match-adapt", "none"]>>;
|
|
6336
|
+
position: z.ZodOptional<z.ZodEnum<["absolute", "relative"]>>;
|
|
6337
|
+
grid: z.ZodOptional<z.ZodBoolean>;
|
|
6338
|
+
gridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
6339
|
+
gridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
6340
|
+
gridTemplateRows: z.ZodOptional<z.ZodString>;
|
|
6341
|
+
gridTemplateColumns: z.ZodOptional<z.ZodString>;
|
|
6342
|
+
gridTemplate: z.ZodOptional<z.ZodString>;
|
|
6343
|
+
gridGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
6344
|
+
flex: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
6345
|
+
flexDirection: z.ZodOptional<z.ZodEnum<["row", "column"]>>;
|
|
6346
|
+
alignItems: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
6347
|
+
justifyContent: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
6348
|
+
flexRow: z.ZodOptional<z.ZodBoolean>;
|
|
6349
|
+
flexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
6350
|
+
gap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
6351
|
+
width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6352
|
+
height: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6353
|
+
matchAdapt: z.ZodOptional<z.ZodBoolean>;
|
|
6354
|
+
matchAdaptTemplate: z.ZodOptional<z.ZodAny>;
|
|
6355
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6356
|
+
children: z.ZodOptional<z.ZodAny>;
|
|
6357
|
+
key: z.ZodOptional<z.ZodAny>;
|
|
6358
|
+
}>, {
|
|
6359
|
+
layout: z.ZodOptional<z.ZodType<_tscircuit_layout.LayoutBuilder, z.ZodTypeDef, _tscircuit_layout.LayoutBuilder>>;
|
|
6360
|
+
manualEdits: z.ZodOptional<z.ZodObject<{
|
|
6361
|
+
pcb_placements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6362
|
+
selector: z.ZodString;
|
|
6363
|
+
relative_to: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
6364
|
+
center: z.ZodObject<{
|
|
6365
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6366
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6367
|
+
}, "strip", z.ZodTypeAny, {
|
|
6368
|
+
x: number;
|
|
6369
|
+
y: number;
|
|
6370
|
+
}, {
|
|
6371
|
+
x: string | number;
|
|
6372
|
+
y: string | number;
|
|
6373
|
+
}>;
|
|
6374
|
+
}, "strip", z.ZodTypeAny, {
|
|
6375
|
+
selector: string;
|
|
6376
|
+
relative_to: string;
|
|
6377
|
+
center: {
|
|
6378
|
+
x: number;
|
|
6379
|
+
y: number;
|
|
6380
|
+
};
|
|
6381
|
+
}, {
|
|
6382
|
+
selector: string;
|
|
6383
|
+
center: {
|
|
6384
|
+
x: string | number;
|
|
6385
|
+
y: string | number;
|
|
6386
|
+
};
|
|
6387
|
+
relative_to?: string | undefined;
|
|
6388
|
+
}>, "many">>;
|
|
6389
|
+
manual_trace_hints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6390
|
+
pcb_port_selector: z.ZodString;
|
|
6391
|
+
offsets: z.ZodArray<z.ZodObject<{
|
|
6392
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6393
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6394
|
+
via: z.ZodOptional<z.ZodBoolean>;
|
|
6395
|
+
to_layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
6396
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
6397
|
+
}, "strip", z.ZodTypeAny, {
|
|
6398
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6399
|
+
}, {
|
|
6400
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6401
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6402
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6403
|
+
}>>;
|
|
6404
|
+
trace_width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6405
|
+
}, "strip", z.ZodTypeAny, {
|
|
6406
|
+
x: number;
|
|
6407
|
+
y: number;
|
|
6408
|
+
via?: boolean | undefined;
|
|
6409
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
6410
|
+
trace_width?: number | undefined;
|
|
6411
|
+
}, {
|
|
6412
|
+
x: string | number;
|
|
6413
|
+
y: string | number;
|
|
6414
|
+
via?: boolean | undefined;
|
|
6415
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6416
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6417
|
+
} | undefined;
|
|
6418
|
+
trace_width?: string | number | undefined;
|
|
6419
|
+
}>, "many">;
|
|
6420
|
+
}, "strip", z.ZodTypeAny, {
|
|
6421
|
+
pcb_port_selector: string;
|
|
6422
|
+
offsets: {
|
|
6423
|
+
x: number;
|
|
6424
|
+
y: number;
|
|
6425
|
+
via?: boolean | undefined;
|
|
6426
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
6427
|
+
trace_width?: number | undefined;
|
|
6428
|
+
}[];
|
|
6429
|
+
}, {
|
|
6430
|
+
pcb_port_selector: string;
|
|
6431
|
+
offsets: {
|
|
6432
|
+
x: string | number;
|
|
6433
|
+
y: string | number;
|
|
6434
|
+
via?: boolean | undefined;
|
|
6435
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6436
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6437
|
+
} | undefined;
|
|
6438
|
+
trace_width?: string | number | undefined;
|
|
6439
|
+
}[];
|
|
6440
|
+
}>, "many">>;
|
|
6441
|
+
schematic_placements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6442
|
+
selector: z.ZodString;
|
|
6443
|
+
relative_to: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
6444
|
+
center: z.ZodObject<{
|
|
6445
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6446
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6447
|
+
}, "strip", z.ZodTypeAny, {
|
|
6448
|
+
x: number;
|
|
6449
|
+
y: number;
|
|
6450
|
+
}, {
|
|
6451
|
+
x: string | number;
|
|
6452
|
+
y: string | number;
|
|
6453
|
+
}>;
|
|
6454
|
+
}, "strip", z.ZodTypeAny, {
|
|
6455
|
+
selector: string;
|
|
6456
|
+
relative_to: string;
|
|
6457
|
+
center: {
|
|
6458
|
+
x: number;
|
|
6459
|
+
y: number;
|
|
6460
|
+
};
|
|
6461
|
+
}, {
|
|
6462
|
+
selector: string;
|
|
6463
|
+
center: {
|
|
6464
|
+
x: string | number;
|
|
6465
|
+
y: string | number;
|
|
6466
|
+
};
|
|
6467
|
+
relative_to?: string | undefined;
|
|
6468
|
+
}>, "many">>;
|
|
6469
|
+
}, "strip", z.ZodTypeAny, {
|
|
6470
|
+
pcb_placements?: {
|
|
6471
|
+
selector: string;
|
|
6472
|
+
relative_to: string;
|
|
6473
|
+
center: {
|
|
6474
|
+
x: number;
|
|
6475
|
+
y: number;
|
|
6476
|
+
};
|
|
6477
|
+
}[] | undefined;
|
|
6478
|
+
manual_trace_hints?: {
|
|
6479
|
+
pcb_port_selector: string;
|
|
6480
|
+
offsets: {
|
|
6481
|
+
x: number;
|
|
6482
|
+
y: number;
|
|
6483
|
+
via?: boolean | undefined;
|
|
6484
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
6485
|
+
trace_width?: number | undefined;
|
|
6486
|
+
}[];
|
|
6487
|
+
}[] | undefined;
|
|
6488
|
+
schematic_placements?: {
|
|
6489
|
+
selector: string;
|
|
6490
|
+
relative_to: string;
|
|
6491
|
+
center: {
|
|
6492
|
+
x: number;
|
|
6493
|
+
y: number;
|
|
6494
|
+
};
|
|
6495
|
+
}[] | undefined;
|
|
6496
|
+
}, {
|
|
6497
|
+
pcb_placements?: {
|
|
6498
|
+
selector: string;
|
|
6499
|
+
center: {
|
|
6500
|
+
x: string | number;
|
|
6501
|
+
y: string | number;
|
|
6502
|
+
};
|
|
6503
|
+
relative_to?: string | undefined;
|
|
6504
|
+
}[] | undefined;
|
|
6505
|
+
manual_trace_hints?: {
|
|
6506
|
+
pcb_port_selector: string;
|
|
6507
|
+
offsets: {
|
|
6508
|
+
x: string | number;
|
|
6509
|
+
y: string | number;
|
|
6510
|
+
via?: boolean | undefined;
|
|
6511
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6512
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6513
|
+
} | undefined;
|
|
6514
|
+
trace_width?: string | number | undefined;
|
|
6515
|
+
}[];
|
|
6516
|
+
}[] | undefined;
|
|
6517
|
+
schematic_placements?: {
|
|
6518
|
+
selector: string;
|
|
6519
|
+
center: {
|
|
6520
|
+
x: string | number;
|
|
6521
|
+
y: string | number;
|
|
6522
|
+
};
|
|
6523
|
+
relative_to?: string | undefined;
|
|
6524
|
+
}[] | undefined;
|
|
6525
|
+
}>>;
|
|
6526
|
+
schAutoLayoutEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
6527
|
+
schTraceAutoLabelEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
6528
|
+
routingDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
6529
|
+
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6530
|
+
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6531
|
+
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
6532
|
+
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
6533
|
+
autorouter: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
6534
|
+
serverUrl: z.ZodOptional<z.ZodString>;
|
|
6535
|
+
inputFormat: z.ZodOptional<z.ZodEnum<["simplified", "circuit-json"]>>;
|
|
6536
|
+
serverMode: z.ZodOptional<z.ZodEnum<["job", "solve-endpoint"]>>;
|
|
6537
|
+
serverCacheEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
6538
|
+
cache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
6539
|
+
groupMode: z.ZodOptional<z.ZodEnum<["sequential-trace", "subcircuit"]>>;
|
|
6540
|
+
algorithmFn: z.ZodOptional<z.ZodType<(simpleRouteJson: any) => Promise<any>, z.ZodTypeDef, (simpleRouteJson: any) => Promise<any>>>;
|
|
6541
|
+
local: z.ZodOptional<z.ZodBoolean>;
|
|
6542
|
+
}, "strip", z.ZodTypeAny, {
|
|
6543
|
+
serverUrl?: string | undefined;
|
|
6544
|
+
inputFormat?: "simplified" | "circuit-json" | undefined;
|
|
6545
|
+
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
6546
|
+
serverCacheEnabled?: boolean | undefined;
|
|
6547
|
+
cache?: PcbRouteCache | undefined;
|
|
6548
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
6549
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
6550
|
+
local?: boolean | undefined;
|
|
6551
|
+
}, {
|
|
6552
|
+
serverUrl?: string | undefined;
|
|
6553
|
+
inputFormat?: "simplified" | "circuit-json" | undefined;
|
|
6554
|
+
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
6555
|
+
serverCacheEnabled?: boolean | undefined;
|
|
6556
|
+
cache?: PcbRouteCache | undefined;
|
|
6557
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
6558
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
6559
|
+
local?: boolean | undefined;
|
|
6560
|
+
}>, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>>;
|
|
6561
|
+
}>, {
|
|
6562
|
+
padding: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6563
|
+
paddingLeft: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6564
|
+
paddingRight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6565
|
+
paddingTop: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6566
|
+
paddingBottom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6567
|
+
}>, "strip", z.ZodTypeAny, {
|
|
6568
|
+
pcbX?: number | undefined;
|
|
6569
|
+
pcbY?: number | undefined;
|
|
6570
|
+
pcbRotation?: number | undefined;
|
|
6571
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
6572
|
+
schX?: number | undefined;
|
|
6573
|
+
schY?: number | undefined;
|
|
6574
|
+
schRotation?: number | undefined;
|
|
6575
|
+
footprint?: Footprint | undefined;
|
|
6576
|
+
key?: any;
|
|
6577
|
+
name?: string | undefined;
|
|
6578
|
+
children?: any;
|
|
6579
|
+
grid?: boolean | undefined;
|
|
6580
|
+
flex?: string | boolean | undefined;
|
|
6581
|
+
layoutMode?: "grid" | "flex" | "match-adapt" | "none" | undefined;
|
|
6582
|
+
position?: "absolute" | "relative" | undefined;
|
|
6583
|
+
gridCols?: string | number | undefined;
|
|
6584
|
+
gridRows?: string | number | undefined;
|
|
6585
|
+
gridTemplateRows?: string | undefined;
|
|
6586
|
+
gridTemplateColumns?: string | undefined;
|
|
6587
|
+
gridTemplate?: string | undefined;
|
|
6588
|
+
gridGap?: string | number | undefined;
|
|
6589
|
+
flexDirection?: "row" | "column" | undefined;
|
|
6590
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
6591
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
6592
|
+
flexRow?: boolean | undefined;
|
|
6593
|
+
flexColumn?: boolean | undefined;
|
|
6594
|
+
gap?: string | number | undefined;
|
|
6595
|
+
width?: number | undefined;
|
|
6596
|
+
height?: number | undefined;
|
|
6597
|
+
matchAdapt?: boolean | undefined;
|
|
6598
|
+
matchAdaptTemplate?: any;
|
|
6599
|
+
pcbWidth?: number | undefined;
|
|
6600
|
+
pcbHeight?: number | undefined;
|
|
6601
|
+
schWidth?: number | undefined;
|
|
6602
|
+
schHeight?: number | undefined;
|
|
6603
|
+
pcbLayout?: {
|
|
6604
|
+
grid?: boolean | undefined;
|
|
6605
|
+
flex?: string | boolean | undefined;
|
|
6606
|
+
layoutMode?: "grid" | "flex" | "match-adapt" | "none" | undefined;
|
|
6607
|
+
position?: "absolute" | "relative" | undefined;
|
|
6608
|
+
gridCols?: string | number | undefined;
|
|
6609
|
+
gridRows?: string | number | undefined;
|
|
6610
|
+
gridTemplateRows?: string | undefined;
|
|
6611
|
+
gridTemplateColumns?: string | undefined;
|
|
6612
|
+
gridTemplate?: string | undefined;
|
|
6613
|
+
gridGap?: string | number | undefined;
|
|
6614
|
+
flexDirection?: "row" | "column" | undefined;
|
|
6615
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
6616
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
6617
|
+
flexRow?: boolean | undefined;
|
|
6618
|
+
flexColumn?: boolean | undefined;
|
|
6619
|
+
gap?: string | number | undefined;
|
|
6620
|
+
width?: number | undefined;
|
|
6621
|
+
height?: number | undefined;
|
|
6622
|
+
matchAdapt?: boolean | undefined;
|
|
6623
|
+
matchAdaptTemplate?: any;
|
|
6624
|
+
} | undefined;
|
|
6625
|
+
schLayout?: {
|
|
6626
|
+
grid?: boolean | undefined;
|
|
6627
|
+
flex?: string | boolean | undefined;
|
|
6628
|
+
layoutMode?: "grid" | "flex" | "match-adapt" | "none" | undefined;
|
|
6629
|
+
position?: "absolute" | "relative" | undefined;
|
|
6630
|
+
gridCols?: string | number | undefined;
|
|
6631
|
+
gridRows?: string | number | undefined;
|
|
6632
|
+
gridTemplateRows?: string | undefined;
|
|
6633
|
+
gridTemplateColumns?: string | undefined;
|
|
6634
|
+
gridTemplate?: string | undefined;
|
|
6635
|
+
gridGap?: string | number | undefined;
|
|
6636
|
+
flexDirection?: "row" | "column" | undefined;
|
|
6637
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
6638
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
6639
|
+
flexRow?: boolean | undefined;
|
|
6640
|
+
flexColumn?: boolean | undefined;
|
|
6641
|
+
gap?: string | number | undefined;
|
|
6642
|
+
width?: number | undefined;
|
|
6643
|
+
height?: number | undefined;
|
|
6644
|
+
matchAdapt?: boolean | undefined;
|
|
6645
|
+
matchAdaptTemplate?: any;
|
|
6646
|
+
} | undefined;
|
|
6647
|
+
layout?: _tscircuit_layout.LayoutBuilder | undefined;
|
|
6648
|
+
manualEdits?: {
|
|
6649
|
+
pcb_placements?: {
|
|
6650
|
+
selector: string;
|
|
6651
|
+
relative_to: string;
|
|
6652
|
+
center: {
|
|
6653
|
+
x: number;
|
|
6654
|
+
y: number;
|
|
6655
|
+
};
|
|
6656
|
+
}[] | undefined;
|
|
6657
|
+
manual_trace_hints?: {
|
|
6658
|
+
pcb_port_selector: string;
|
|
6659
|
+
offsets: {
|
|
6660
|
+
x: number;
|
|
6661
|
+
y: number;
|
|
6662
|
+
via?: boolean | undefined;
|
|
6663
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
6664
|
+
trace_width?: number | undefined;
|
|
6665
|
+
}[];
|
|
6666
|
+
}[] | undefined;
|
|
6667
|
+
schematic_placements?: {
|
|
6668
|
+
selector: string;
|
|
6669
|
+
relative_to: string;
|
|
6670
|
+
center: {
|
|
6671
|
+
x: number;
|
|
6672
|
+
y: number;
|
|
6673
|
+
};
|
|
6674
|
+
}[] | undefined;
|
|
6675
|
+
} | undefined;
|
|
6676
|
+
routingDisabled?: boolean | undefined;
|
|
6677
|
+
defaultTraceWidth?: number | undefined;
|
|
6678
|
+
minTraceWidth?: number | undefined;
|
|
6679
|
+
pcbRouteCache?: PcbRouteCache | undefined;
|
|
6680
|
+
autorouter?: "sequential-trace" | "subcircuit" | "auto" | "auto-local" | "auto-cloud" | {
|
|
6681
|
+
serverUrl?: string | undefined;
|
|
6682
|
+
inputFormat?: "simplified" | "circuit-json" | undefined;
|
|
6683
|
+
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
6684
|
+
serverCacheEnabled?: boolean | undefined;
|
|
6685
|
+
cache?: PcbRouteCache | undefined;
|
|
6686
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
6687
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
6688
|
+
local?: boolean | undefined;
|
|
6689
|
+
} | undefined;
|
|
6690
|
+
schAutoLayoutEnabled?: boolean | undefined;
|
|
6691
|
+
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
6692
|
+
partsEngine?: PartsEngine | undefined;
|
|
6693
|
+
padding?: number | undefined;
|
|
6694
|
+
paddingLeft?: number | undefined;
|
|
6695
|
+
paddingRight?: number | undefined;
|
|
6696
|
+
paddingTop?: number | undefined;
|
|
6697
|
+
paddingBottom?: number | undefined;
|
|
6698
|
+
}, {
|
|
6699
|
+
pcbX?: string | number | undefined;
|
|
6700
|
+
pcbY?: string | number | undefined;
|
|
6701
|
+
pcbRotation?: string | number | undefined;
|
|
6702
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6703
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6704
|
+
} | undefined;
|
|
6705
|
+
schX?: string | number | undefined;
|
|
6706
|
+
schY?: string | number | undefined;
|
|
6707
|
+
schRotation?: string | number | undefined;
|
|
6708
|
+
footprint?: Footprint | undefined;
|
|
6709
|
+
key?: any;
|
|
6710
|
+
name?: string | undefined;
|
|
6711
|
+
children?: any;
|
|
6712
|
+
grid?: boolean | undefined;
|
|
6713
|
+
flex?: string | boolean | undefined;
|
|
6714
|
+
layoutMode?: "grid" | "flex" | "match-adapt" | "none" | undefined;
|
|
6715
|
+
position?: "absolute" | "relative" | undefined;
|
|
6716
|
+
gridCols?: string | number | undefined;
|
|
6717
|
+
gridRows?: string | number | undefined;
|
|
6718
|
+
gridTemplateRows?: string | undefined;
|
|
6719
|
+
gridTemplateColumns?: string | undefined;
|
|
6720
|
+
gridTemplate?: string | undefined;
|
|
6721
|
+
gridGap?: string | number | undefined;
|
|
6722
|
+
flexDirection?: "row" | "column" | undefined;
|
|
6723
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
6724
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
6725
|
+
flexRow?: boolean | undefined;
|
|
6726
|
+
flexColumn?: boolean | undefined;
|
|
6727
|
+
gap?: string | number | undefined;
|
|
6728
|
+
width?: string | number | undefined;
|
|
6729
|
+
height?: string | number | undefined;
|
|
6730
|
+
matchAdapt?: boolean | undefined;
|
|
6731
|
+
matchAdaptTemplate?: any;
|
|
6732
|
+
pcbWidth?: string | number | undefined;
|
|
6733
|
+
pcbHeight?: string | number | undefined;
|
|
6734
|
+
schWidth?: string | number | undefined;
|
|
6735
|
+
schHeight?: string | number | undefined;
|
|
6736
|
+
pcbLayout?: {
|
|
6737
|
+
grid?: boolean | undefined;
|
|
6738
|
+
flex?: string | boolean | undefined;
|
|
6739
|
+
layoutMode?: "grid" | "flex" | "match-adapt" | "none" | undefined;
|
|
6740
|
+
position?: "absolute" | "relative" | undefined;
|
|
6741
|
+
gridCols?: string | number | undefined;
|
|
6742
|
+
gridRows?: string | number | undefined;
|
|
6743
|
+
gridTemplateRows?: string | undefined;
|
|
6744
|
+
gridTemplateColumns?: string | undefined;
|
|
6745
|
+
gridTemplate?: string | undefined;
|
|
6746
|
+
gridGap?: string | number | undefined;
|
|
6747
|
+
flexDirection?: "row" | "column" | undefined;
|
|
6748
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
6749
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
6750
|
+
flexRow?: boolean | undefined;
|
|
6751
|
+
flexColumn?: boolean | undefined;
|
|
6752
|
+
gap?: string | number | undefined;
|
|
6753
|
+
width?: string | number | undefined;
|
|
6754
|
+
height?: string | number | undefined;
|
|
6755
|
+
matchAdapt?: boolean | undefined;
|
|
6756
|
+
matchAdaptTemplate?: any;
|
|
6757
|
+
} | undefined;
|
|
6758
|
+
schLayout?: {
|
|
6759
|
+
grid?: boolean | undefined;
|
|
6760
|
+
flex?: string | boolean | undefined;
|
|
6761
|
+
layoutMode?: "grid" | "flex" | "match-adapt" | "none" | undefined;
|
|
6762
|
+
position?: "absolute" | "relative" | undefined;
|
|
6763
|
+
gridCols?: string | number | undefined;
|
|
6764
|
+
gridRows?: string | number | undefined;
|
|
6765
|
+
gridTemplateRows?: string | undefined;
|
|
6766
|
+
gridTemplateColumns?: string | undefined;
|
|
6767
|
+
gridTemplate?: string | undefined;
|
|
6768
|
+
gridGap?: string | number | undefined;
|
|
6769
|
+
flexDirection?: "row" | "column" | undefined;
|
|
6770
|
+
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
6771
|
+
justifyContent?: "center" | "start" | "end" | "stretch" | undefined;
|
|
6772
|
+
flexRow?: boolean | undefined;
|
|
6773
|
+
flexColumn?: boolean | undefined;
|
|
6774
|
+
gap?: string | number | undefined;
|
|
6775
|
+
width?: string | number | undefined;
|
|
6776
|
+
height?: string | number | undefined;
|
|
6777
|
+
matchAdapt?: boolean | undefined;
|
|
6778
|
+
matchAdaptTemplate?: any;
|
|
6779
|
+
} | undefined;
|
|
6780
|
+
layout?: _tscircuit_layout.LayoutBuilder | undefined;
|
|
6781
|
+
manualEdits?: {
|
|
6782
|
+
pcb_placements?: {
|
|
6783
|
+
selector: string;
|
|
6784
|
+
center: {
|
|
6785
|
+
x: string | number;
|
|
6786
|
+
y: string | number;
|
|
6787
|
+
};
|
|
6788
|
+
relative_to?: string | undefined;
|
|
6789
|
+
}[] | undefined;
|
|
6790
|
+
manual_trace_hints?: {
|
|
6791
|
+
pcb_port_selector: string;
|
|
6792
|
+
offsets: {
|
|
6793
|
+
x: string | number;
|
|
6794
|
+
y: string | number;
|
|
6795
|
+
via?: boolean | undefined;
|
|
6796
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6797
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6798
|
+
} | undefined;
|
|
6799
|
+
trace_width?: string | number | undefined;
|
|
6800
|
+
}[];
|
|
6801
|
+
}[] | undefined;
|
|
6802
|
+
schematic_placements?: {
|
|
6803
|
+
selector: string;
|
|
6804
|
+
center: {
|
|
6805
|
+
x: string | number;
|
|
6806
|
+
y: string | number;
|
|
6807
|
+
};
|
|
6808
|
+
relative_to?: string | undefined;
|
|
6809
|
+
}[] | undefined;
|
|
6810
|
+
} | undefined;
|
|
6811
|
+
routingDisabled?: boolean | undefined;
|
|
6812
|
+
defaultTraceWidth?: string | number | undefined;
|
|
6813
|
+
minTraceWidth?: string | number | undefined;
|
|
6814
|
+
pcbRouteCache?: PcbRouteCache | undefined;
|
|
6815
|
+
autorouter?: "sequential-trace" | "subcircuit" | "auto" | "auto-local" | "auto-cloud" | {
|
|
6816
|
+
serverUrl?: string | undefined;
|
|
6817
|
+
inputFormat?: "simplified" | "circuit-json" | undefined;
|
|
6818
|
+
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
6819
|
+
serverCacheEnabled?: boolean | undefined;
|
|
6820
|
+
cache?: PcbRouteCache | undefined;
|
|
6821
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
6822
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
6823
|
+
local?: boolean | undefined;
|
|
6824
|
+
} | undefined;
|
|
6825
|
+
schAutoLayoutEnabled?: boolean | undefined;
|
|
6826
|
+
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
6827
|
+
partsEngine?: PartsEngine | undefined;
|
|
6828
|
+
padding?: string | number | undefined;
|
|
6829
|
+
paddingLeft?: string | number | undefined;
|
|
6830
|
+
paddingRight?: string | number | undefined;
|
|
6831
|
+
paddingTop?: string | number | undefined;
|
|
6832
|
+
paddingBottom?: string | number | undefined;
|
|
6833
|
+
}>;
|
|
6834
|
+
|
|
6178
6835
|
type ConnectionTarget = string;
|
|
6179
6836
|
/**
|
|
6180
6837
|
* Defines a mapping of strings to connection paths e.g.
|
|
@@ -20361,6 +21018,34 @@ declare const testpointProps: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<
|
|
|
20361
21018
|
}>;
|
|
20362
21019
|
type InferredTestpointProps = z.input<typeof testpointProps>;
|
|
20363
21020
|
|
|
21021
|
+
interface BreakoutPointProps extends Omit<PcbLayoutProps, "pcbRotation" | "layer"> {
|
|
21022
|
+
connection: string;
|
|
21023
|
+
}
|
|
21024
|
+
declare const breakoutPointProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
21025
|
+
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
21026
|
+
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
21027
|
+
pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
21028
|
+
layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
21029
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
21030
|
+
}, "strip", z.ZodTypeAny, {
|
|
21031
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
21032
|
+
}, {
|
|
21033
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
21034
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
21035
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
21036
|
+
}>>;
|
|
21037
|
+
}, "pcbRotation" | "layer">, {
|
|
21038
|
+
connection: z.ZodString;
|
|
21039
|
+
}>, "strip", z.ZodTypeAny, {
|
|
21040
|
+
connection: string;
|
|
21041
|
+
pcbX?: number | undefined;
|
|
21042
|
+
pcbY?: number | undefined;
|
|
21043
|
+
}, {
|
|
21044
|
+
connection: string;
|
|
21045
|
+
pcbX?: string | number | undefined;
|
|
21046
|
+
pcbY?: string | number | undefined;
|
|
21047
|
+
}>;
|
|
21048
|
+
|
|
20364
21049
|
declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
20365
21050
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
20366
21051
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -20896,12 +21581,12 @@ declare const schematicBoxProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
20896
21581
|
strokeStyle: "solid" | "dashed";
|
|
20897
21582
|
width?: number | undefined;
|
|
20898
21583
|
height?: number | undefined;
|
|
20899
|
-
overlay?: string[] | undefined;
|
|
20900
21584
|
padding?: number | undefined;
|
|
20901
21585
|
paddingLeft?: number | undefined;
|
|
20902
21586
|
paddingRight?: number | undefined;
|
|
20903
21587
|
paddingTop?: number | undefined;
|
|
20904
21588
|
paddingBottom?: number | undefined;
|
|
21589
|
+
overlay?: string[] | undefined;
|
|
20905
21590
|
title?: string | undefined;
|
|
20906
21591
|
titleAnchorPosition?: {
|
|
20907
21592
|
x?: {
|
|
@@ -20920,12 +21605,12 @@ declare const schematicBoxProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
20920
21605
|
schY: string | number;
|
|
20921
21606
|
width?: string | number | undefined;
|
|
20922
21607
|
height?: string | number | undefined;
|
|
20923
|
-
overlay?: string[] | undefined;
|
|
20924
21608
|
padding?: string | number | undefined;
|
|
20925
21609
|
paddingLeft?: string | number | undefined;
|
|
20926
21610
|
paddingRight?: string | number | undefined;
|
|
20927
21611
|
paddingTop?: string | number | undefined;
|
|
20928
21612
|
paddingBottom?: string | number | undefined;
|
|
21613
|
+
overlay?: string[] | undefined;
|
|
20929
21614
|
title?: string | undefined;
|
|
20930
21615
|
titleAnchorPosition?: {
|
|
20931
21616
|
x?: {
|
|
@@ -20950,12 +21635,12 @@ declare const schematicBoxProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
20950
21635
|
strokeStyle: "solid" | "dashed";
|
|
20951
21636
|
width?: number | undefined;
|
|
20952
21637
|
height?: number | undefined;
|
|
20953
|
-
overlay?: string[] | undefined;
|
|
20954
21638
|
padding?: number | undefined;
|
|
20955
21639
|
paddingLeft?: number | undefined;
|
|
20956
21640
|
paddingRight?: number | undefined;
|
|
20957
21641
|
paddingTop?: number | undefined;
|
|
20958
21642
|
paddingBottom?: number | undefined;
|
|
21643
|
+
overlay?: string[] | undefined;
|
|
20959
21644
|
title?: string | undefined;
|
|
20960
21645
|
titleAnchorPosition?: {
|
|
20961
21646
|
x?: {
|
|
@@ -20974,12 +21659,12 @@ declare const schematicBoxProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
20974
21659
|
schY: string | number;
|
|
20975
21660
|
width?: string | number | undefined;
|
|
20976
21661
|
height?: string | number | undefined;
|
|
20977
|
-
overlay?: string[] | undefined;
|
|
20978
21662
|
padding?: string | number | undefined;
|
|
20979
21663
|
paddingLeft?: string | number | undefined;
|
|
20980
21664
|
paddingRight?: string | number | undefined;
|
|
20981
21665
|
paddingTop?: string | number | undefined;
|
|
20982
21666
|
paddingBottom?: string | number | undefined;
|
|
21667
|
+
overlay?: string[] | undefined;
|
|
20983
21668
|
title?: string | undefined;
|
|
20984
21669
|
titleAnchorPosition?: {
|
|
20985
21670
|
x?: {
|
|
@@ -21004,12 +21689,12 @@ declare const schematicBoxProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
21004
21689
|
strokeStyle: "solid" | "dashed";
|
|
21005
21690
|
width?: number | undefined;
|
|
21006
21691
|
height?: number | undefined;
|
|
21007
|
-
overlay?: string[] | undefined;
|
|
21008
21692
|
padding?: number | undefined;
|
|
21009
21693
|
paddingLeft?: number | undefined;
|
|
21010
21694
|
paddingRight?: number | undefined;
|
|
21011
21695
|
paddingTop?: number | undefined;
|
|
21012
21696
|
paddingBottom?: number | undefined;
|
|
21697
|
+
overlay?: string[] | undefined;
|
|
21013
21698
|
title?: string | undefined;
|
|
21014
21699
|
titleAnchorPosition?: {
|
|
21015
21700
|
x?: {
|
|
@@ -21028,12 +21713,12 @@ declare const schematicBoxProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
21028
21713
|
schY: string | number;
|
|
21029
21714
|
width?: string | number | undefined;
|
|
21030
21715
|
height?: string | number | undefined;
|
|
21031
|
-
overlay?: string[] | undefined;
|
|
21032
21716
|
padding?: string | number | undefined;
|
|
21033
21717
|
paddingLeft?: string | number | undefined;
|
|
21034
21718
|
paddingRight?: string | number | undefined;
|
|
21035
21719
|
paddingTop?: string | number | undefined;
|
|
21036
21720
|
paddingBottom?: string | number | undefined;
|
|
21721
|
+
overlay?: string[] | undefined;
|
|
21037
21722
|
title?: string | undefined;
|
|
21038
21723
|
titleAnchorPosition?: {
|
|
21039
21724
|
x?: {
|
|
@@ -21632,4 +22317,4 @@ interface PlatformConfig {
|
|
|
21632
22317
|
}
|
|
21633
22318
|
declare const platformConfig: z.ZodType<PlatformConfig>;
|
|
21634
22319
|
|
|
21635
|
-
export { type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BatteryProps, type BoardProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorPinLabels, type CapacitorProps, type ChipConnections, type ChipPinLabels, type ChipProps, type ChipPropsSU, type CircleCutoutProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConnectionTarget, type Connections, type ConnectorProps, type ConstrainedLayoutProps, type ConstraintProps, type CrystalProps, type CutoutProps, type CutoutPropsInput, type DiodeProps, type Direction, type DirectionAlongEdge, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditPcbGroupLocationEvent, type EditPcbGroupLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditSchematicGroupLocationEvent, type EditSchematicGroupLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNotePathProps, type FabricationNoteTextProps, type Footprint, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type FusePinLabels, type FuseProps, type GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredDiodeProps, type InferredFuseProps, type InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type JumperProps, type LayoutConfig, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualEditsFile, type ManualEditsFileInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type MosfetProps, type NetAliasProps, type NetProps, type NonSubcircuitGroupProps, type OvalPlatedHoleProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillPlatedHoleProps, type PillSmtPadProps, type PillWithRectPadPlatedHoleProps, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinVariant, type PlatedHoleProps, type PlatformConfig, type PolygonCutoutProps, type PolygonSmtPadProps, type PortHints, type PortProps, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectCutoutProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type SchematicBoxProps, type SchematicLineProps, type SchematicPathProps, type SchematicPinArrangement, type SchematicPinArrangementWithPinCounts, type SchematicPinArrangementWithSides, type SchematicPinArrangementWithSizes, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicTextProps, type Selectors, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderPasteProps, type StampboardProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TestpointProps, type TraceHintProps, type TraceProps, type TransistorProps, type ViaProps, autorouterConfig, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleCutoutProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, connectorProps, constrainedLayoutProps, constraintProps, crystalPins, crystalProps, cutoutProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, edit_component_location_event, edit_pcb_component_location_event, edit_pcb_group_location_event, edit_schematic_component_location_event, edit_schematic_group_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, fusePinLabels, fuseProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, layoutConfig, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, netAliasProps, netProps, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, potentiometerProps, powerSourceProps, pushButtonProps, rectCutoutProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicPathProps, schematicPinArrangement, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, testpointProps, traceHintProps, traceProps, transistorPins, transistorProps, viaProps };
|
|
22320
|
+
export { type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BatteryProps, type BoardProps, type BreakoutPointProps, type BreakoutProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorPinLabels, type CapacitorProps, type ChipConnections, type ChipPinLabels, type ChipProps, type ChipPropsSU, type CircleCutoutProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConnectionTarget, type Connections, type ConnectorProps, type ConstrainedLayoutProps, type ConstraintProps, type CrystalProps, type CutoutProps, type CutoutPropsInput, type DiodeProps, type Direction, type DirectionAlongEdge, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditPcbGroupLocationEvent, type EditPcbGroupLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditSchematicGroupLocationEvent, type EditSchematicGroupLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNotePathProps, type FabricationNoteTextProps, type Footprint, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type FusePinLabels, type FuseProps, type GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredDiodeProps, type InferredFuseProps, type InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type JumperProps, type LayoutConfig, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualEditsFile, type ManualEditsFileInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type MosfetProps, type NetAliasProps, type NetProps, type NonSubcircuitGroupProps, type OvalPlatedHoleProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillPlatedHoleProps, type PillSmtPadProps, type PillWithRectPadPlatedHoleProps, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinVariant, type PlatedHoleProps, type PlatformConfig, type PolygonCutoutProps, type PolygonSmtPadProps, type PortHints, type PortProps, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectCutoutProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type SchematicBoxProps, type SchematicLineProps, type SchematicPathProps, type SchematicPinArrangement, type SchematicPinArrangementWithPinCounts, type SchematicPinArrangementWithSides, type SchematicPinArrangementWithSizes, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicTextProps, type Selectors, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderPasteProps, type StampboardProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TestpointProps, type TraceHintProps, type TraceProps, type TransistorProps, type ViaProps, autorouterConfig, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, breakoutPointProps, breakoutProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleCutoutProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, connectorProps, constrainedLayoutProps, constraintProps, crystalPins, crystalProps, cutoutProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, edit_component_location_event, edit_pcb_component_location_event, edit_pcb_group_location_event, edit_schematic_component_location_event, edit_schematic_group_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, fusePinLabels, fuseProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, layoutConfig, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, netAliasProps, netProps, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, potentiometerProps, powerSourceProps, pushButtonProps, rectCutoutProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicPathProps, schematicPinArrangement, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, testpointProps, traceHintProps, traceProps, transistorPins, transistorProps, viaProps };
|