@tscircuit/props 0.0.188 → 0.0.189
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +437 -3
- package/dist/index.js +239 -220
- package/dist/index.js.map +1 -1
- package/lib/components/fuse.ts +56 -0
- package/lib/index.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -8204,6 +8204,440 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
|
|
|
8204
8204
|
pinCount?: 2 | 3 | undefined;
|
|
8205
8205
|
}>;
|
|
8206
8206
|
|
|
8207
|
+
/**
|
|
8208
|
+
* Pin labels for fuse component
|
|
8209
|
+
*/
|
|
8210
|
+
declare const fusePinLabels: readonly ["pin1", "pin2"];
|
|
8211
|
+
type FusePinLabels = (typeof fusePinLabels)[number];
|
|
8212
|
+
interface FuseProps extends CommonComponentProps {
|
|
8213
|
+
/**
|
|
8214
|
+
* Current rating of the fuse in amperes
|
|
8215
|
+
*/
|
|
8216
|
+
currentRating: number | string;
|
|
8217
|
+
/**
|
|
8218
|
+
* Voltage rating of the fuse
|
|
8219
|
+
*/
|
|
8220
|
+
voltageRating?: number | string;
|
|
8221
|
+
/**
|
|
8222
|
+
* Whether to show ratings on schematic
|
|
8223
|
+
*/
|
|
8224
|
+
schShowRatings?: boolean;
|
|
8225
|
+
/**
|
|
8226
|
+
* Connections to other components
|
|
8227
|
+
*/
|
|
8228
|
+
connections?: Connections<FusePinLabels>;
|
|
8229
|
+
}
|
|
8230
|
+
/**
|
|
8231
|
+
* Schema for validating fuse props
|
|
8232
|
+
*/
|
|
8233
|
+
declare const fuseProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
8234
|
+
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8235
|
+
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8236
|
+
pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8237
|
+
schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8238
|
+
schY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8239
|
+
schRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8240
|
+
layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
8241
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
8242
|
+
}, "strip", z.ZodTypeAny, {
|
|
8243
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8244
|
+
}, {
|
|
8245
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8246
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
8247
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8248
|
+
}>>;
|
|
8249
|
+
footprint: z.ZodOptional<z.ZodType<Footprint, z.ZodTypeDef, Footprint>>;
|
|
8250
|
+
}, {
|
|
8251
|
+
supplierPartNumbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
8252
|
+
}>, {
|
|
8253
|
+
key: z.ZodOptional<z.ZodAny>;
|
|
8254
|
+
name: z.ZodString;
|
|
8255
|
+
cadModel: z.ZodOptional<z.ZodUnion<[z.ZodNull, z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
|
|
8256
|
+
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
8257
|
+
x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
8258
|
+
y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
8259
|
+
z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
8260
|
+
}, "strip", z.ZodTypeAny, {
|
|
8261
|
+
x: string | number;
|
|
8262
|
+
y: string | number;
|
|
8263
|
+
z: string | number;
|
|
8264
|
+
}, {
|
|
8265
|
+
x: string | number;
|
|
8266
|
+
y: string | number;
|
|
8267
|
+
z: string | number;
|
|
8268
|
+
}>]>>;
|
|
8269
|
+
positionOffset: z.ZodOptional<z.ZodObject<{
|
|
8270
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8271
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8272
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8273
|
+
}, "strip", z.ZodTypeAny, {
|
|
8274
|
+
x: number;
|
|
8275
|
+
y: number;
|
|
8276
|
+
z: number;
|
|
8277
|
+
}, {
|
|
8278
|
+
x: string | number;
|
|
8279
|
+
y: string | number;
|
|
8280
|
+
z: string | number;
|
|
8281
|
+
}>>;
|
|
8282
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
8283
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8284
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8285
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8286
|
+
}, "strip", z.ZodTypeAny, {
|
|
8287
|
+
x: number;
|
|
8288
|
+
y: number;
|
|
8289
|
+
z: number;
|
|
8290
|
+
}, {
|
|
8291
|
+
x: string | number;
|
|
8292
|
+
y: string | number;
|
|
8293
|
+
z: string | number;
|
|
8294
|
+
}>>;
|
|
8295
|
+
}, {
|
|
8296
|
+
stlUrl: z.ZodString;
|
|
8297
|
+
}>, "strip", z.ZodTypeAny, {
|
|
8298
|
+
stlUrl: string;
|
|
8299
|
+
rotationOffset?: number | {
|
|
8300
|
+
x: string | number;
|
|
8301
|
+
y: string | number;
|
|
8302
|
+
z: string | number;
|
|
8303
|
+
} | undefined;
|
|
8304
|
+
positionOffset?: {
|
|
8305
|
+
x: number;
|
|
8306
|
+
y: number;
|
|
8307
|
+
z: number;
|
|
8308
|
+
} | undefined;
|
|
8309
|
+
size?: {
|
|
8310
|
+
x: number;
|
|
8311
|
+
y: number;
|
|
8312
|
+
z: number;
|
|
8313
|
+
} | undefined;
|
|
8314
|
+
}, {
|
|
8315
|
+
stlUrl: string;
|
|
8316
|
+
rotationOffset?: number | {
|
|
8317
|
+
x: string | number;
|
|
8318
|
+
y: string | number;
|
|
8319
|
+
z: string | number;
|
|
8320
|
+
} | undefined;
|
|
8321
|
+
positionOffset?: {
|
|
8322
|
+
x: string | number;
|
|
8323
|
+
y: string | number;
|
|
8324
|
+
z: string | number;
|
|
8325
|
+
} | undefined;
|
|
8326
|
+
size?: {
|
|
8327
|
+
x: string | number;
|
|
8328
|
+
y: string | number;
|
|
8329
|
+
z: string | number;
|
|
8330
|
+
} | undefined;
|
|
8331
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
8332
|
+
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
8333
|
+
x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
8334
|
+
y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
8335
|
+
z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
8336
|
+
}, "strip", z.ZodTypeAny, {
|
|
8337
|
+
x: string | number;
|
|
8338
|
+
y: string | number;
|
|
8339
|
+
z: string | number;
|
|
8340
|
+
}, {
|
|
8341
|
+
x: string | number;
|
|
8342
|
+
y: string | number;
|
|
8343
|
+
z: string | number;
|
|
8344
|
+
}>]>>;
|
|
8345
|
+
positionOffset: z.ZodOptional<z.ZodObject<{
|
|
8346
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8347
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8348
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8349
|
+
}, "strip", z.ZodTypeAny, {
|
|
8350
|
+
x: number;
|
|
8351
|
+
y: number;
|
|
8352
|
+
z: number;
|
|
8353
|
+
}, {
|
|
8354
|
+
x: string | number;
|
|
8355
|
+
y: string | number;
|
|
8356
|
+
z: string | number;
|
|
8357
|
+
}>>;
|
|
8358
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
8359
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8360
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8361
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8362
|
+
}, "strip", z.ZodTypeAny, {
|
|
8363
|
+
x: number;
|
|
8364
|
+
y: number;
|
|
8365
|
+
z: number;
|
|
8366
|
+
}, {
|
|
8367
|
+
x: string | number;
|
|
8368
|
+
y: string | number;
|
|
8369
|
+
z: string | number;
|
|
8370
|
+
}>>;
|
|
8371
|
+
}, {
|
|
8372
|
+
objUrl: z.ZodString;
|
|
8373
|
+
mtlUrl: z.ZodOptional<z.ZodString>;
|
|
8374
|
+
}>, "strip", z.ZodTypeAny, {
|
|
8375
|
+
objUrl: string;
|
|
8376
|
+
rotationOffset?: number | {
|
|
8377
|
+
x: string | number;
|
|
8378
|
+
y: string | number;
|
|
8379
|
+
z: string | number;
|
|
8380
|
+
} | undefined;
|
|
8381
|
+
positionOffset?: {
|
|
8382
|
+
x: number;
|
|
8383
|
+
y: number;
|
|
8384
|
+
z: number;
|
|
8385
|
+
} | undefined;
|
|
8386
|
+
size?: {
|
|
8387
|
+
x: number;
|
|
8388
|
+
y: number;
|
|
8389
|
+
z: number;
|
|
8390
|
+
} | undefined;
|
|
8391
|
+
mtlUrl?: string | undefined;
|
|
8392
|
+
}, {
|
|
8393
|
+
objUrl: string;
|
|
8394
|
+
rotationOffset?: number | {
|
|
8395
|
+
x: string | number;
|
|
8396
|
+
y: string | number;
|
|
8397
|
+
z: string | number;
|
|
8398
|
+
} | undefined;
|
|
8399
|
+
positionOffset?: {
|
|
8400
|
+
x: string | number;
|
|
8401
|
+
y: string | number;
|
|
8402
|
+
z: string | number;
|
|
8403
|
+
} | undefined;
|
|
8404
|
+
size?: {
|
|
8405
|
+
x: string | number;
|
|
8406
|
+
y: string | number;
|
|
8407
|
+
z: string | number;
|
|
8408
|
+
} | undefined;
|
|
8409
|
+
mtlUrl?: string | undefined;
|
|
8410
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
8411
|
+
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
8412
|
+
x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
8413
|
+
y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
8414
|
+
z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
8415
|
+
}, "strip", z.ZodTypeAny, {
|
|
8416
|
+
x: string | number;
|
|
8417
|
+
y: string | number;
|
|
8418
|
+
z: string | number;
|
|
8419
|
+
}, {
|
|
8420
|
+
x: string | number;
|
|
8421
|
+
y: string | number;
|
|
8422
|
+
z: string | number;
|
|
8423
|
+
}>]>>;
|
|
8424
|
+
positionOffset: z.ZodOptional<z.ZodObject<{
|
|
8425
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8426
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8427
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8428
|
+
}, "strip", z.ZodTypeAny, {
|
|
8429
|
+
x: number;
|
|
8430
|
+
y: number;
|
|
8431
|
+
z: number;
|
|
8432
|
+
}, {
|
|
8433
|
+
x: string | number;
|
|
8434
|
+
y: string | number;
|
|
8435
|
+
z: string | number;
|
|
8436
|
+
}>>;
|
|
8437
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
8438
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8439
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8440
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8441
|
+
}, "strip", z.ZodTypeAny, {
|
|
8442
|
+
x: number;
|
|
8443
|
+
y: number;
|
|
8444
|
+
z: number;
|
|
8445
|
+
}, {
|
|
8446
|
+
x: string | number;
|
|
8447
|
+
y: string | number;
|
|
8448
|
+
z: string | number;
|
|
8449
|
+
}>>;
|
|
8450
|
+
}, {
|
|
8451
|
+
jscad: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
8452
|
+
}>, "strip", z.ZodTypeAny, {
|
|
8453
|
+
jscad: Record<string, any>;
|
|
8454
|
+
rotationOffset?: number | {
|
|
8455
|
+
x: string | number;
|
|
8456
|
+
y: string | number;
|
|
8457
|
+
z: string | number;
|
|
8458
|
+
} | undefined;
|
|
8459
|
+
positionOffset?: {
|
|
8460
|
+
x: number;
|
|
8461
|
+
y: number;
|
|
8462
|
+
z: number;
|
|
8463
|
+
} | undefined;
|
|
8464
|
+
size?: {
|
|
8465
|
+
x: number;
|
|
8466
|
+
y: number;
|
|
8467
|
+
z: number;
|
|
8468
|
+
} | undefined;
|
|
8469
|
+
}, {
|
|
8470
|
+
jscad: Record<string, any>;
|
|
8471
|
+
rotationOffset?: number | {
|
|
8472
|
+
x: string | number;
|
|
8473
|
+
y: string | number;
|
|
8474
|
+
z: string | number;
|
|
8475
|
+
} | undefined;
|
|
8476
|
+
positionOffset?: {
|
|
8477
|
+
x: string | number;
|
|
8478
|
+
y: string | number;
|
|
8479
|
+
z: string | number;
|
|
8480
|
+
} | undefined;
|
|
8481
|
+
size?: {
|
|
8482
|
+
x: string | number;
|
|
8483
|
+
y: string | number;
|
|
8484
|
+
z: string | number;
|
|
8485
|
+
} | undefined;
|
|
8486
|
+
}>]>>;
|
|
8487
|
+
children: z.ZodOptional<z.ZodAny>;
|
|
8488
|
+
symbolName: z.ZodOptional<z.ZodString>;
|
|
8489
|
+
}>, {
|
|
8490
|
+
currentRating: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
8491
|
+
voltageRating: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
8492
|
+
schShowRatings: z.ZodOptional<z.ZodBoolean>;
|
|
8493
|
+
connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>, z.ZodArray<z.ZodString, "many">]>>>;
|
|
8494
|
+
}>, "strip", z.ZodTypeAny, {
|
|
8495
|
+
name: string;
|
|
8496
|
+
currentRating: string | number;
|
|
8497
|
+
pcbX?: number | undefined;
|
|
8498
|
+
pcbY?: number | undefined;
|
|
8499
|
+
pcbRotation?: number | undefined;
|
|
8500
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
8501
|
+
schX?: number | undefined;
|
|
8502
|
+
schY?: number | undefined;
|
|
8503
|
+
schRotation?: number | undefined;
|
|
8504
|
+
footprint?: Footprint | undefined;
|
|
8505
|
+
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8506
|
+
key?: any;
|
|
8507
|
+
cadModel?: string | {
|
|
8508
|
+
stlUrl: string;
|
|
8509
|
+
rotationOffset?: number | {
|
|
8510
|
+
x: string | number;
|
|
8511
|
+
y: string | number;
|
|
8512
|
+
z: string | number;
|
|
8513
|
+
} | undefined;
|
|
8514
|
+
positionOffset?: {
|
|
8515
|
+
x: number;
|
|
8516
|
+
y: number;
|
|
8517
|
+
z: number;
|
|
8518
|
+
} | undefined;
|
|
8519
|
+
size?: {
|
|
8520
|
+
x: number;
|
|
8521
|
+
y: number;
|
|
8522
|
+
z: number;
|
|
8523
|
+
} | undefined;
|
|
8524
|
+
} | {
|
|
8525
|
+
objUrl: string;
|
|
8526
|
+
rotationOffset?: number | {
|
|
8527
|
+
x: string | number;
|
|
8528
|
+
y: string | number;
|
|
8529
|
+
z: string | number;
|
|
8530
|
+
} | undefined;
|
|
8531
|
+
positionOffset?: {
|
|
8532
|
+
x: number;
|
|
8533
|
+
y: number;
|
|
8534
|
+
z: number;
|
|
8535
|
+
} | undefined;
|
|
8536
|
+
size?: {
|
|
8537
|
+
x: number;
|
|
8538
|
+
y: number;
|
|
8539
|
+
z: number;
|
|
8540
|
+
} | undefined;
|
|
8541
|
+
mtlUrl?: string | undefined;
|
|
8542
|
+
} | {
|
|
8543
|
+
jscad: Record<string, any>;
|
|
8544
|
+
rotationOffset?: number | {
|
|
8545
|
+
x: string | number;
|
|
8546
|
+
y: string | number;
|
|
8547
|
+
z: string | number;
|
|
8548
|
+
} | undefined;
|
|
8549
|
+
positionOffset?: {
|
|
8550
|
+
x: number;
|
|
8551
|
+
y: number;
|
|
8552
|
+
z: number;
|
|
8553
|
+
} | undefined;
|
|
8554
|
+
size?: {
|
|
8555
|
+
x: number;
|
|
8556
|
+
y: number;
|
|
8557
|
+
z: number;
|
|
8558
|
+
} | undefined;
|
|
8559
|
+
} | null | undefined;
|
|
8560
|
+
children?: any;
|
|
8561
|
+
symbolName?: string | undefined;
|
|
8562
|
+
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
8563
|
+
voltageRating?: string | number | undefined;
|
|
8564
|
+
schShowRatings?: boolean | undefined;
|
|
8565
|
+
}, {
|
|
8566
|
+
name: string;
|
|
8567
|
+
currentRating: string | number;
|
|
8568
|
+
pcbX?: string | number | undefined;
|
|
8569
|
+
pcbY?: string | number | undefined;
|
|
8570
|
+
pcbRotation?: string | number | undefined;
|
|
8571
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
8572
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8573
|
+
} | undefined;
|
|
8574
|
+
schX?: string | number | undefined;
|
|
8575
|
+
schY?: string | number | undefined;
|
|
8576
|
+
schRotation?: string | number | undefined;
|
|
8577
|
+
footprint?: Footprint | undefined;
|
|
8578
|
+
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8579
|
+
key?: any;
|
|
8580
|
+
cadModel?: string | {
|
|
8581
|
+
stlUrl: string;
|
|
8582
|
+
rotationOffset?: number | {
|
|
8583
|
+
x: string | number;
|
|
8584
|
+
y: string | number;
|
|
8585
|
+
z: string | number;
|
|
8586
|
+
} | undefined;
|
|
8587
|
+
positionOffset?: {
|
|
8588
|
+
x: string | number;
|
|
8589
|
+
y: string | number;
|
|
8590
|
+
z: string | number;
|
|
8591
|
+
} | undefined;
|
|
8592
|
+
size?: {
|
|
8593
|
+
x: string | number;
|
|
8594
|
+
y: string | number;
|
|
8595
|
+
z: string | number;
|
|
8596
|
+
} | undefined;
|
|
8597
|
+
} | {
|
|
8598
|
+
objUrl: string;
|
|
8599
|
+
rotationOffset?: number | {
|
|
8600
|
+
x: string | number;
|
|
8601
|
+
y: string | number;
|
|
8602
|
+
z: string | number;
|
|
8603
|
+
} | undefined;
|
|
8604
|
+
positionOffset?: {
|
|
8605
|
+
x: string | number;
|
|
8606
|
+
y: string | number;
|
|
8607
|
+
z: string | number;
|
|
8608
|
+
} | undefined;
|
|
8609
|
+
size?: {
|
|
8610
|
+
x: string | number;
|
|
8611
|
+
y: string | number;
|
|
8612
|
+
z: string | number;
|
|
8613
|
+
} | undefined;
|
|
8614
|
+
mtlUrl?: string | undefined;
|
|
8615
|
+
} | {
|
|
8616
|
+
jscad: Record<string, any>;
|
|
8617
|
+
rotationOffset?: number | {
|
|
8618
|
+
x: string | number;
|
|
8619
|
+
y: string | number;
|
|
8620
|
+
z: string | number;
|
|
8621
|
+
} | undefined;
|
|
8622
|
+
positionOffset?: {
|
|
8623
|
+
x: string | number;
|
|
8624
|
+
y: string | number;
|
|
8625
|
+
z: string | number;
|
|
8626
|
+
} | undefined;
|
|
8627
|
+
size?: {
|
|
8628
|
+
x: string | number;
|
|
8629
|
+
y: string | number;
|
|
8630
|
+
z: string | number;
|
|
8631
|
+
} | undefined;
|
|
8632
|
+
} | null | undefined;
|
|
8633
|
+
children?: any;
|
|
8634
|
+
symbolName?: string | undefined;
|
|
8635
|
+
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
8636
|
+
voltageRating?: string | number | undefined;
|
|
8637
|
+
schShowRatings?: boolean | undefined;
|
|
8638
|
+
}>;
|
|
8639
|
+
type InferredFuseProps = z.input<typeof fuseProps>;
|
|
8640
|
+
|
|
8207
8641
|
interface CirclePlatedHoleProps extends Omit<PcbLayoutProps, "pcbRotation" | "layer"> {
|
|
8208
8642
|
name?: string;
|
|
8209
8643
|
shape: "circle";
|
|
@@ -11206,8 +11640,8 @@ declare const capacitorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
11206
11640
|
connections: z.ZodOptional<z.ZodRecord<z.ZodEnum<["pin1", "pin2", "pos", "neg", "anode", "cathode"]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>;
|
|
11207
11641
|
}>, "strip", z.ZodTypeAny, {
|
|
11208
11642
|
name: string;
|
|
11209
|
-
capacitance: number;
|
|
11210
11643
|
schShowRatings: boolean;
|
|
11644
|
+
capacitance: number;
|
|
11211
11645
|
polarized: boolean;
|
|
11212
11646
|
pcbX?: number | undefined;
|
|
11213
11647
|
pcbY?: number | undefined;
|
|
@@ -11352,8 +11786,8 @@ declare const capacitorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
11352
11786
|
children?: any;
|
|
11353
11787
|
symbolName?: string | undefined;
|
|
11354
11788
|
connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
11355
|
-
maxVoltageRating?: string | number | undefined;
|
|
11356
11789
|
schShowRatings?: boolean | undefined;
|
|
11790
|
+
maxVoltageRating?: string | number | undefined;
|
|
11357
11791
|
polarized?: boolean | undefined;
|
|
11358
11792
|
decouplingFor?: string | undefined;
|
|
11359
11793
|
decouplingTo?: string | undefined;
|
|
@@ -19071,4 +19505,4 @@ declare const platformConfig: z.ZodObject<{
|
|
|
19071
19505
|
cloudAutorouterUrl?: string | undefined;
|
|
19072
19506
|
}>;
|
|
19073
19507
|
|
|
19074
|
-
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 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 GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredDiodeProps, type InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, 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 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 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, 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, 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, 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, traceHintProps, traceProps, transistorPins, transistorProps, viaProps };
|
|
19508
|
+
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 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 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 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 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, 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, 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, traceHintProps, traceProps, transistorPins, transistorProps, viaProps };
|