circuit-json 0.0.366 → 0.0.368
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.mts +458 -122
- package/dist/index.mjs +1393 -1391
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3319,11 +3319,33 @@ type PCBTrace = PcbTrace;
|
|
|
3319
3319
|
*/
|
|
3320
3320
|
type PCBTraceInput = PcbTraceInput;
|
|
3321
3321
|
|
|
3322
|
+
declare const base_circuit_json_error: z.ZodObject<{
|
|
3323
|
+
error_type: z.ZodString;
|
|
3324
|
+
message: z.ZodString;
|
|
3325
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
3326
|
+
}, "strip", z.ZodTypeAny, {
|
|
3327
|
+
message: string;
|
|
3328
|
+
error_type: string;
|
|
3329
|
+
is_fatal?: boolean | undefined;
|
|
3330
|
+
}, {
|
|
3331
|
+
message: string;
|
|
3332
|
+
error_type: string;
|
|
3333
|
+
is_fatal?: boolean | undefined;
|
|
3334
|
+
}>;
|
|
3335
|
+
type BaseCircuitJsonErrorInput = z.input<typeof base_circuit_json_error>;
|
|
3336
|
+
interface BaseCircuitJsonError {
|
|
3337
|
+
error_type: string;
|
|
3338
|
+
message: string;
|
|
3339
|
+
is_fatal?: boolean;
|
|
3340
|
+
}
|
|
3341
|
+
|
|
3322
3342
|
declare const pcb_trace_error: z.ZodObject<{
|
|
3343
|
+
message: z.ZodString;
|
|
3344
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
3345
|
+
} & {
|
|
3323
3346
|
type: z.ZodLiteral<"pcb_trace_error">;
|
|
3324
3347
|
pcb_trace_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3325
3348
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_trace_error">>;
|
|
3326
|
-
message: z.ZodString;
|
|
3327
3349
|
center: z.ZodOptional<z.ZodObject<{
|
|
3328
3350
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3329
3351
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -3344,8 +3366,8 @@ declare const pcb_trace_error: z.ZodObject<{
|
|
|
3344
3366
|
type: "pcb_trace_error";
|
|
3345
3367
|
source_trace_id: string;
|
|
3346
3368
|
pcb_trace_id: string;
|
|
3347
|
-
pcb_trace_error_id: string;
|
|
3348
3369
|
error_type: "pcb_trace_error";
|
|
3370
|
+
pcb_trace_error_id: string;
|
|
3349
3371
|
pcb_component_ids: string[];
|
|
3350
3372
|
pcb_port_ids: string[];
|
|
3351
3373
|
center?: {
|
|
@@ -3353,6 +3375,7 @@ declare const pcb_trace_error: z.ZodObject<{
|
|
|
3353
3375
|
y: number;
|
|
3354
3376
|
} | undefined;
|
|
3355
3377
|
subcircuit_id?: string | undefined;
|
|
3378
|
+
is_fatal?: boolean | undefined;
|
|
3356
3379
|
}, {
|
|
3357
3380
|
message: string;
|
|
3358
3381
|
type: "pcb_trace_error";
|
|
@@ -3365,18 +3388,18 @@ declare const pcb_trace_error: z.ZodObject<{
|
|
|
3365
3388
|
y: string | number;
|
|
3366
3389
|
} | undefined;
|
|
3367
3390
|
subcircuit_id?: string | undefined;
|
|
3368
|
-
pcb_trace_error_id?: string | undefined;
|
|
3369
3391
|
error_type?: "pcb_trace_error" | undefined;
|
|
3392
|
+
is_fatal?: boolean | undefined;
|
|
3393
|
+
pcb_trace_error_id?: string | undefined;
|
|
3370
3394
|
}>;
|
|
3371
3395
|
type PcbTraceErrorInput = z.input<typeof pcb_trace_error>;
|
|
3372
3396
|
/**
|
|
3373
3397
|
* Defines a trace error on the PCB
|
|
3374
3398
|
*/
|
|
3375
|
-
interface PcbTraceError {
|
|
3399
|
+
interface PcbTraceError extends BaseCircuitJsonError {
|
|
3376
3400
|
type: "pcb_trace_error";
|
|
3377
3401
|
pcb_trace_error_id: string;
|
|
3378
3402
|
error_type: "pcb_trace_error";
|
|
3379
|
-
message: string;
|
|
3380
3403
|
center?: Point;
|
|
3381
3404
|
pcb_trace_id: string;
|
|
3382
3405
|
source_trace_id: string;
|
|
@@ -3390,10 +3413,12 @@ interface PcbTraceError {
|
|
|
3390
3413
|
type PCBTraceError = PcbTraceError;
|
|
3391
3414
|
|
|
3392
3415
|
declare const pcb_trace_missing_error: z.ZodObject<{
|
|
3416
|
+
message: z.ZodString;
|
|
3417
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
3418
|
+
} & {
|
|
3393
3419
|
type: z.ZodLiteral<"pcb_trace_missing_error">;
|
|
3394
3420
|
pcb_trace_missing_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3395
3421
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_trace_missing_error">>;
|
|
3396
|
-
message: z.ZodString;
|
|
3397
3422
|
center: z.ZodOptional<z.ZodObject<{
|
|
3398
3423
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3399
3424
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -3421,6 +3446,7 @@ declare const pcb_trace_missing_error: z.ZodObject<{
|
|
|
3421
3446
|
y: number;
|
|
3422
3447
|
} | undefined;
|
|
3423
3448
|
subcircuit_id?: string | undefined;
|
|
3449
|
+
is_fatal?: boolean | undefined;
|
|
3424
3450
|
}, {
|
|
3425
3451
|
message: string;
|
|
3426
3452
|
type: "pcb_trace_missing_error";
|
|
@@ -3433,17 +3459,17 @@ declare const pcb_trace_missing_error: z.ZodObject<{
|
|
|
3433
3459
|
} | undefined;
|
|
3434
3460
|
subcircuit_id?: string | undefined;
|
|
3435
3461
|
error_type?: "pcb_trace_missing_error" | undefined;
|
|
3462
|
+
is_fatal?: boolean | undefined;
|
|
3436
3463
|
pcb_trace_missing_error_id?: string | undefined;
|
|
3437
3464
|
}>;
|
|
3438
3465
|
type PcbTraceMissingErrorInput = z.input<typeof pcb_trace_missing_error>;
|
|
3439
3466
|
/**
|
|
3440
3467
|
* Defines an error when a source trace has no corresponding PCB trace
|
|
3441
3468
|
*/
|
|
3442
|
-
interface PcbTraceMissingError {
|
|
3469
|
+
interface PcbTraceMissingError extends BaseCircuitJsonError {
|
|
3443
3470
|
type: "pcb_trace_missing_error";
|
|
3444
3471
|
pcb_trace_missing_error_id: string;
|
|
3445
3472
|
error_type: "pcb_trace_missing_error";
|
|
3446
|
-
message: string;
|
|
3447
3473
|
center?: Point;
|
|
3448
3474
|
source_trace_id: string;
|
|
3449
3475
|
pcb_component_ids: string[];
|
|
@@ -3456,10 +3482,12 @@ interface PcbTraceMissingError {
|
|
|
3456
3482
|
type PCBTraceMissingError = PcbTraceMissingError;
|
|
3457
3483
|
|
|
3458
3484
|
declare const pcb_port_not_matched_error: z.ZodObject<{
|
|
3485
|
+
message: z.ZodString;
|
|
3486
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
3487
|
+
} & {
|
|
3459
3488
|
type: z.ZodLiteral<"pcb_port_not_matched_error">;
|
|
3460
3489
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3461
3490
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_port_not_matched_error">>;
|
|
3462
|
-
message: z.ZodString;
|
|
3463
3491
|
pcb_component_ids: z.ZodArray<z.ZodString, "many">;
|
|
3464
3492
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3465
3493
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3469,23 +3497,24 @@ declare const pcb_port_not_matched_error: z.ZodObject<{
|
|
|
3469
3497
|
pcb_component_ids: string[];
|
|
3470
3498
|
pcb_error_id: string;
|
|
3471
3499
|
subcircuit_id?: string | undefined;
|
|
3500
|
+
is_fatal?: boolean | undefined;
|
|
3472
3501
|
}, {
|
|
3473
3502
|
message: string;
|
|
3474
3503
|
type: "pcb_port_not_matched_error";
|
|
3475
3504
|
pcb_component_ids: string[];
|
|
3476
3505
|
subcircuit_id?: string | undefined;
|
|
3477
3506
|
error_type?: "pcb_port_not_matched_error" | undefined;
|
|
3507
|
+
is_fatal?: boolean | undefined;
|
|
3478
3508
|
pcb_error_id?: string | undefined;
|
|
3479
3509
|
}>;
|
|
3480
3510
|
type PcbPortNotMatchedErrorInput = z.input<typeof pcb_port_not_matched_error>;
|
|
3481
3511
|
/**
|
|
3482
3512
|
* Defines a trace error on the PCB where a port is not matched
|
|
3483
3513
|
*/
|
|
3484
|
-
interface PcbPortNotMatchedError {
|
|
3514
|
+
interface PcbPortNotMatchedError extends BaseCircuitJsonError {
|
|
3485
3515
|
type: "pcb_port_not_matched_error";
|
|
3486
3516
|
pcb_error_id: string;
|
|
3487
3517
|
error_type: "pcb_port_not_matched_error";
|
|
3488
|
-
message: string;
|
|
3489
3518
|
pcb_component_ids: string[];
|
|
3490
3519
|
subcircuit_id?: string;
|
|
3491
3520
|
}
|
|
@@ -3495,10 +3524,12 @@ interface PcbPortNotMatchedError {
|
|
|
3495
3524
|
type PCBPortNotMatchedError = PcbPortNotMatchedError;
|
|
3496
3525
|
|
|
3497
3526
|
declare const pcb_port_not_connected_error: z.ZodObject<{
|
|
3527
|
+
message: z.ZodString;
|
|
3528
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
3529
|
+
} & {
|
|
3498
3530
|
type: z.ZodLiteral<"pcb_port_not_connected_error">;
|
|
3499
3531
|
pcb_port_not_connected_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3500
3532
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_port_not_connected_error">>;
|
|
3501
|
-
message: z.ZodString;
|
|
3502
3533
|
pcb_port_ids: z.ZodArray<z.ZodString, "many">;
|
|
3503
3534
|
pcb_component_ids: z.ZodArray<z.ZodString, "many">;
|
|
3504
3535
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3510,6 +3541,7 @@ declare const pcb_port_not_connected_error: z.ZodObject<{
|
|
|
3510
3541
|
pcb_port_ids: string[];
|
|
3511
3542
|
pcb_port_not_connected_error_id: string;
|
|
3512
3543
|
subcircuit_id?: string | undefined;
|
|
3544
|
+
is_fatal?: boolean | undefined;
|
|
3513
3545
|
}, {
|
|
3514
3546
|
message: string;
|
|
3515
3547
|
type: "pcb_port_not_connected_error";
|
|
@@ -3517,17 +3549,17 @@ declare const pcb_port_not_connected_error: z.ZodObject<{
|
|
|
3517
3549
|
pcb_port_ids: string[];
|
|
3518
3550
|
subcircuit_id?: string | undefined;
|
|
3519
3551
|
error_type?: "pcb_port_not_connected_error" | undefined;
|
|
3552
|
+
is_fatal?: boolean | undefined;
|
|
3520
3553
|
pcb_port_not_connected_error_id?: string | undefined;
|
|
3521
3554
|
}>;
|
|
3522
3555
|
type PcbPortNotConnectedErrorInput = z.input<typeof pcb_port_not_connected_error>;
|
|
3523
3556
|
/**
|
|
3524
3557
|
* Defines an error when a pcb port is not connected to any trace
|
|
3525
3558
|
*/
|
|
3526
|
-
interface PcbPortNotConnectedError {
|
|
3559
|
+
interface PcbPortNotConnectedError extends BaseCircuitJsonError {
|
|
3527
3560
|
type: "pcb_port_not_connected_error";
|
|
3528
3561
|
pcb_port_not_connected_error_id: string;
|
|
3529
3562
|
error_type: "pcb_port_not_connected_error";
|
|
3530
|
-
message: string;
|
|
3531
3563
|
pcb_port_ids: string[];
|
|
3532
3564
|
pcb_component_ids: string[];
|
|
3533
3565
|
subcircuit_id?: string;
|
|
@@ -3860,10 +3892,12 @@ type PcbPanelInput = z.input<typeof pcb_panel>;
|
|
|
3860
3892
|
type PCBPanel = PcbPanel;
|
|
3861
3893
|
|
|
3862
3894
|
declare const pcb_placement_error: z.ZodObject<{
|
|
3895
|
+
message: z.ZodString;
|
|
3896
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
3897
|
+
} & {
|
|
3863
3898
|
type: z.ZodLiteral<"pcb_placement_error">;
|
|
3864
3899
|
pcb_placement_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3865
3900
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_placement_error">>;
|
|
3866
|
-
message: z.ZodString;
|
|
3867
3901
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3868
3902
|
}, "strip", z.ZodTypeAny, {
|
|
3869
3903
|
message: string;
|
|
@@ -3871,22 +3905,23 @@ declare const pcb_placement_error: z.ZodObject<{
|
|
|
3871
3905
|
error_type: "pcb_placement_error";
|
|
3872
3906
|
pcb_placement_error_id: string;
|
|
3873
3907
|
subcircuit_id?: string | undefined;
|
|
3908
|
+
is_fatal?: boolean | undefined;
|
|
3874
3909
|
}, {
|
|
3875
3910
|
message: string;
|
|
3876
3911
|
type: "pcb_placement_error";
|
|
3877
3912
|
subcircuit_id?: string | undefined;
|
|
3878
3913
|
error_type?: "pcb_placement_error" | undefined;
|
|
3914
|
+
is_fatal?: boolean | undefined;
|
|
3879
3915
|
pcb_placement_error_id?: string | undefined;
|
|
3880
3916
|
}>;
|
|
3881
3917
|
type PcbPlacementErrorInput = z.input<typeof pcb_placement_error>;
|
|
3882
3918
|
/**
|
|
3883
3919
|
* Defines a placement error on the PCB
|
|
3884
3920
|
*/
|
|
3885
|
-
interface PcbPlacementError {
|
|
3921
|
+
interface PcbPlacementError extends BaseCircuitJsonError {
|
|
3886
3922
|
type: "pcb_placement_error";
|
|
3887
3923
|
pcb_placement_error_id: string;
|
|
3888
3924
|
error_type: "pcb_placement_error";
|
|
3889
|
-
message: string;
|
|
3890
3925
|
subcircuit_id?: string;
|
|
3891
3926
|
}
|
|
3892
3927
|
/**
|
|
@@ -3895,10 +3930,12 @@ interface PcbPlacementError {
|
|
|
3895
3930
|
type PCBPlacementError = PcbPlacementError;
|
|
3896
3931
|
|
|
3897
3932
|
declare const pcb_panelization_placement_error: z.ZodObject<{
|
|
3933
|
+
message: z.ZodString;
|
|
3934
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
3935
|
+
} & {
|
|
3898
3936
|
type: z.ZodLiteral<"pcb_panelization_placement_error">;
|
|
3899
3937
|
pcb_panelization_placement_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3900
3938
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_panelization_placement_error">>;
|
|
3901
|
-
message: z.ZodString;
|
|
3902
3939
|
pcb_panel_id: z.ZodOptional<z.ZodString>;
|
|
3903
3940
|
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
3904
3941
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3908,6 +3945,7 @@ declare const pcb_panelization_placement_error: z.ZodObject<{
|
|
|
3908
3945
|
error_type: "pcb_panelization_placement_error";
|
|
3909
3946
|
pcb_panelization_placement_error_id: string;
|
|
3910
3947
|
subcircuit_id?: string | undefined;
|
|
3948
|
+
is_fatal?: boolean | undefined;
|
|
3911
3949
|
pcb_board_id?: string | undefined;
|
|
3912
3950
|
pcb_panel_id?: string | undefined;
|
|
3913
3951
|
}, {
|
|
@@ -3915,6 +3953,7 @@ declare const pcb_panelization_placement_error: z.ZodObject<{
|
|
|
3915
3953
|
type: "pcb_panelization_placement_error";
|
|
3916
3954
|
subcircuit_id?: string | undefined;
|
|
3917
3955
|
error_type?: "pcb_panelization_placement_error" | undefined;
|
|
3956
|
+
is_fatal?: boolean | undefined;
|
|
3918
3957
|
pcb_board_id?: string | undefined;
|
|
3919
3958
|
pcb_panel_id?: string | undefined;
|
|
3920
3959
|
pcb_panelization_placement_error_id?: string | undefined;
|
|
@@ -3923,11 +3962,10 @@ type PcbPanelizationPlacementErrorInput = z.input<typeof pcb_panelization_placem
|
|
|
3923
3962
|
/**
|
|
3924
3963
|
* Defines a panelization placement error on the PCB
|
|
3925
3964
|
*/
|
|
3926
|
-
interface PcbPanelizationPlacementError {
|
|
3965
|
+
interface PcbPanelizationPlacementError extends BaseCircuitJsonError {
|
|
3927
3966
|
type: "pcb_panelization_placement_error";
|
|
3928
3967
|
pcb_panelization_placement_error_id: string;
|
|
3929
3968
|
error_type: "pcb_panelization_placement_error";
|
|
3930
|
-
message: string;
|
|
3931
3969
|
pcb_panel_id?: string;
|
|
3932
3970
|
pcb_board_id?: string;
|
|
3933
3971
|
subcircuit_id?: string;
|
|
@@ -5506,10 +5544,12 @@ interface PcbNoteDimension {
|
|
|
5506
5544
|
}
|
|
5507
5545
|
|
|
5508
5546
|
declare const pcb_footprint_overlap_error: z.ZodObject<{
|
|
5547
|
+
message: z.ZodString;
|
|
5548
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
5549
|
+
} & {
|
|
5509
5550
|
type: z.ZodLiteral<"pcb_footprint_overlap_error">;
|
|
5510
5551
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5511
5552
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_footprint_overlap_error">>;
|
|
5512
|
-
message: z.ZodString;
|
|
5513
5553
|
pcb_smtpad_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5514
5554
|
pcb_plated_hole_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5515
5555
|
pcb_hole_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -5519,6 +5559,7 @@ declare const pcb_footprint_overlap_error: z.ZodObject<{
|
|
|
5519
5559
|
type: "pcb_footprint_overlap_error";
|
|
5520
5560
|
error_type: "pcb_footprint_overlap_error";
|
|
5521
5561
|
pcb_error_id: string;
|
|
5562
|
+
is_fatal?: boolean | undefined;
|
|
5522
5563
|
pcb_smtpad_ids?: string[] | undefined;
|
|
5523
5564
|
pcb_plated_hole_ids?: string[] | undefined;
|
|
5524
5565
|
pcb_hole_ids?: string[] | undefined;
|
|
@@ -5527,6 +5568,7 @@ declare const pcb_footprint_overlap_error: z.ZodObject<{
|
|
|
5527
5568
|
message: string;
|
|
5528
5569
|
type: "pcb_footprint_overlap_error";
|
|
5529
5570
|
error_type?: "pcb_footprint_overlap_error" | undefined;
|
|
5571
|
+
is_fatal?: boolean | undefined;
|
|
5530
5572
|
pcb_error_id?: string | undefined;
|
|
5531
5573
|
pcb_smtpad_ids?: string[] | undefined;
|
|
5532
5574
|
pcb_plated_hole_ids?: string[] | undefined;
|
|
@@ -5535,11 +5577,10 @@ declare const pcb_footprint_overlap_error: z.ZodObject<{
|
|
|
5535
5577
|
}>;
|
|
5536
5578
|
type PcbFootprintOverlapErrorInput = z.input<typeof pcb_footprint_overlap_error>;
|
|
5537
5579
|
/** Error emitted when a pcb footprint overlaps with another element */
|
|
5538
|
-
interface PcbFootprintOverlapError {
|
|
5580
|
+
interface PcbFootprintOverlapError extends BaseCircuitJsonError {
|
|
5539
5581
|
type: "pcb_footprint_overlap_error";
|
|
5540
5582
|
pcb_error_id: string;
|
|
5541
5583
|
error_type: "pcb_footprint_overlap_error";
|
|
5542
|
-
message: string;
|
|
5543
5584
|
pcb_smtpad_ids?: string[];
|
|
5544
5585
|
pcb_plated_hole_ids?: string[];
|
|
5545
5586
|
pcb_hole_ids?: string[];
|
|
@@ -6142,13 +6183,15 @@ type PcbCutoutInput = z.input<typeof pcb_cutout>;
|
|
|
6142
6183
|
type PcbCutout = PcbCutoutRect | PcbCutoutCircle | PcbCutoutPolygon | PcbCutoutPath;
|
|
6143
6184
|
|
|
6144
6185
|
declare const pcb_missing_footprint_error: z.ZodObject<{
|
|
6186
|
+
message: z.ZodString;
|
|
6187
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
6188
|
+
} & {
|
|
6145
6189
|
type: z.ZodLiteral<"pcb_missing_footprint_error">;
|
|
6146
6190
|
pcb_missing_footprint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
6147
6191
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
6148
6192
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6149
6193
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_missing_footprint_error">>;
|
|
6150
6194
|
source_component_id: z.ZodString;
|
|
6151
|
-
message: z.ZodString;
|
|
6152
6195
|
}, "strip", z.ZodTypeAny, {
|
|
6153
6196
|
message: string;
|
|
6154
6197
|
type: "pcb_missing_footprint_error";
|
|
@@ -6157,6 +6200,7 @@ declare const pcb_missing_footprint_error: z.ZodObject<{
|
|
|
6157
6200
|
pcb_missing_footprint_error_id: string;
|
|
6158
6201
|
subcircuit_id?: string | undefined;
|
|
6159
6202
|
pcb_group_id?: string | undefined;
|
|
6203
|
+
is_fatal?: boolean | undefined;
|
|
6160
6204
|
}, {
|
|
6161
6205
|
message: string;
|
|
6162
6206
|
type: "pcb_missing_footprint_error";
|
|
@@ -6164,20 +6208,20 @@ declare const pcb_missing_footprint_error: z.ZodObject<{
|
|
|
6164
6208
|
subcircuit_id?: string | undefined;
|
|
6165
6209
|
pcb_group_id?: string | undefined;
|
|
6166
6210
|
error_type?: "pcb_missing_footprint_error" | undefined;
|
|
6211
|
+
is_fatal?: boolean | undefined;
|
|
6167
6212
|
pcb_missing_footprint_error_id?: string | undefined;
|
|
6168
6213
|
}>;
|
|
6169
6214
|
type PcbMissingFootprintErrorInput = z.input<typeof pcb_missing_footprint_error>;
|
|
6170
6215
|
/**
|
|
6171
6216
|
* Defines a placement error on the PCB
|
|
6172
6217
|
*/
|
|
6173
|
-
interface PcbMissingFootprintError {
|
|
6218
|
+
interface PcbMissingFootprintError extends BaseCircuitJsonError {
|
|
6174
6219
|
type: "pcb_missing_footprint_error";
|
|
6175
6220
|
pcb_missing_footprint_error_id: string;
|
|
6176
6221
|
pcb_group_id?: string;
|
|
6177
6222
|
subcircuit_id?: string;
|
|
6178
6223
|
error_type: "pcb_missing_footprint_error";
|
|
6179
6224
|
source_component_id: string;
|
|
6180
|
-
message: string;
|
|
6181
6225
|
}
|
|
6182
6226
|
/**
|
|
6183
6227
|
* @deprecated use PcbMissingFootprintError
|
|
@@ -6185,6 +6229,9 @@ interface PcbMissingFootprintError {
|
|
|
6185
6229
|
type PCBMissingFootprintError = PcbMissingFootprintError;
|
|
6186
6230
|
|
|
6187
6231
|
declare const external_footprint_load_error: z.ZodObject<{
|
|
6232
|
+
message: z.ZodString;
|
|
6233
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
6234
|
+
} & {
|
|
6188
6235
|
type: z.ZodLiteral<"external_footprint_load_error">;
|
|
6189
6236
|
external_footprint_load_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
6190
6237
|
pcb_component_id: z.ZodString;
|
|
@@ -6193,7 +6240,6 @@ declare const external_footprint_load_error: z.ZodObject<{
|
|
|
6193
6240
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6194
6241
|
footprinter_string: z.ZodOptional<z.ZodString>;
|
|
6195
6242
|
error_type: z.ZodDefault<z.ZodLiteral<"external_footprint_load_error">>;
|
|
6196
|
-
message: z.ZodString;
|
|
6197
6243
|
}, "strip", z.ZodTypeAny, {
|
|
6198
6244
|
message: string;
|
|
6199
6245
|
type: "external_footprint_load_error";
|
|
@@ -6203,6 +6249,7 @@ declare const external_footprint_load_error: z.ZodObject<{
|
|
|
6203
6249
|
external_footprint_load_error_id: string;
|
|
6204
6250
|
subcircuit_id?: string | undefined;
|
|
6205
6251
|
pcb_group_id?: string | undefined;
|
|
6252
|
+
is_fatal?: boolean | undefined;
|
|
6206
6253
|
footprinter_string?: string | undefined;
|
|
6207
6254
|
}, {
|
|
6208
6255
|
message: string;
|
|
@@ -6212,11 +6259,12 @@ declare const external_footprint_load_error: z.ZodObject<{
|
|
|
6212
6259
|
subcircuit_id?: string | undefined;
|
|
6213
6260
|
pcb_group_id?: string | undefined;
|
|
6214
6261
|
error_type?: "external_footprint_load_error" | undefined;
|
|
6262
|
+
is_fatal?: boolean | undefined;
|
|
6215
6263
|
external_footprint_load_error_id?: string | undefined;
|
|
6216
6264
|
footprinter_string?: string | undefined;
|
|
6217
6265
|
}>;
|
|
6218
6266
|
type ExternalFootprintLoadErrorInput = z.input<typeof external_footprint_load_error>;
|
|
6219
|
-
interface ExternalFootprintLoadError {
|
|
6267
|
+
interface ExternalFootprintLoadError extends BaseCircuitJsonError {
|
|
6220
6268
|
type: "external_footprint_load_error";
|
|
6221
6269
|
external_footprint_load_error_id: string;
|
|
6222
6270
|
pcb_component_id: string;
|
|
@@ -6225,10 +6273,12 @@ interface ExternalFootprintLoadError {
|
|
|
6225
6273
|
subcircuit_id?: string;
|
|
6226
6274
|
footprinter_string?: string;
|
|
6227
6275
|
error_type: "external_footprint_load_error";
|
|
6228
|
-
message: string;
|
|
6229
6276
|
}
|
|
6230
6277
|
|
|
6231
6278
|
declare const circuit_json_footprint_load_error: z.ZodObject<{
|
|
6279
|
+
message: z.ZodString;
|
|
6280
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
6281
|
+
} & {
|
|
6232
6282
|
type: z.ZodLiteral<"circuit_json_footprint_load_error">;
|
|
6233
6283
|
circuit_json_footprint_load_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
6234
6284
|
pcb_component_id: z.ZodString;
|
|
@@ -6236,7 +6286,6 @@ declare const circuit_json_footprint_load_error: z.ZodObject<{
|
|
|
6236
6286
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
6237
6287
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6238
6288
|
error_type: z.ZodDefault<z.ZodLiteral<"circuit_json_footprint_load_error">>;
|
|
6239
|
-
message: z.ZodString;
|
|
6240
6289
|
circuit_json: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
6241
6290
|
}, "strip", z.ZodTypeAny, {
|
|
6242
6291
|
message: string;
|
|
@@ -6247,6 +6296,7 @@ declare const circuit_json_footprint_load_error: z.ZodObject<{
|
|
|
6247
6296
|
circuit_json_footprint_load_error_id: string;
|
|
6248
6297
|
subcircuit_id?: string | undefined;
|
|
6249
6298
|
pcb_group_id?: string | undefined;
|
|
6299
|
+
is_fatal?: boolean | undefined;
|
|
6250
6300
|
circuit_json?: any[] | undefined;
|
|
6251
6301
|
}, {
|
|
6252
6302
|
message: string;
|
|
@@ -6256,11 +6306,12 @@ declare const circuit_json_footprint_load_error: z.ZodObject<{
|
|
|
6256
6306
|
subcircuit_id?: string | undefined;
|
|
6257
6307
|
pcb_group_id?: string | undefined;
|
|
6258
6308
|
error_type?: "circuit_json_footprint_load_error" | undefined;
|
|
6309
|
+
is_fatal?: boolean | undefined;
|
|
6259
6310
|
circuit_json_footprint_load_error_id?: string | undefined;
|
|
6260
6311
|
circuit_json?: any[] | undefined;
|
|
6261
6312
|
}>;
|
|
6262
6313
|
type CircuitJsonFootprintLoadErrorInput = z.input<typeof circuit_json_footprint_load_error>;
|
|
6263
|
-
interface CircuitJsonFootprintLoadError {
|
|
6314
|
+
interface CircuitJsonFootprintLoadError extends BaseCircuitJsonError {
|
|
6264
6315
|
type: "circuit_json_footprint_load_error";
|
|
6265
6316
|
circuit_json_footprint_load_error_id: string;
|
|
6266
6317
|
pcb_component_id: string;
|
|
@@ -6268,7 +6319,6 @@ interface CircuitJsonFootprintLoadError {
|
|
|
6268
6319
|
pcb_group_id?: string;
|
|
6269
6320
|
subcircuit_id?: string;
|
|
6270
6321
|
error_type: "circuit_json_footprint_load_error";
|
|
6271
|
-
message: string;
|
|
6272
6322
|
circuit_json?: any[];
|
|
6273
6323
|
}
|
|
6274
6324
|
|
|
@@ -6433,10 +6483,12 @@ interface PcbGroup {
|
|
|
6433
6483
|
}
|
|
6434
6484
|
|
|
6435
6485
|
declare const pcb_autorouting_error: z.ZodObject<{
|
|
6486
|
+
message: z.ZodString;
|
|
6487
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
6488
|
+
} & {
|
|
6436
6489
|
type: z.ZodLiteral<"pcb_autorouting_error">;
|
|
6437
6490
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
6438
6491
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_autorouting_error">>;
|
|
6439
|
-
message: z.ZodString;
|
|
6440
6492
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6441
6493
|
}, "strip", z.ZodTypeAny, {
|
|
6442
6494
|
message: string;
|
|
@@ -6444,19 +6496,20 @@ declare const pcb_autorouting_error: z.ZodObject<{
|
|
|
6444
6496
|
error_type: "pcb_autorouting_error";
|
|
6445
6497
|
pcb_error_id: string;
|
|
6446
6498
|
subcircuit_id?: string | undefined;
|
|
6499
|
+
is_fatal?: boolean | undefined;
|
|
6447
6500
|
}, {
|
|
6448
6501
|
message: string;
|
|
6449
6502
|
type: "pcb_autorouting_error";
|
|
6450
6503
|
subcircuit_id?: string | undefined;
|
|
6451
6504
|
error_type?: "pcb_autorouting_error" | undefined;
|
|
6505
|
+
is_fatal?: boolean | undefined;
|
|
6452
6506
|
pcb_error_id?: string | undefined;
|
|
6453
6507
|
}>;
|
|
6454
6508
|
type PcbAutoroutingErrorInput = z.input<typeof pcb_autorouting_error>;
|
|
6455
|
-
interface PcbAutoroutingErrorInterface {
|
|
6509
|
+
interface PcbAutoroutingErrorInterface extends BaseCircuitJsonError {
|
|
6456
6510
|
type: "pcb_autorouting_error";
|
|
6457
6511
|
pcb_error_id: string;
|
|
6458
6512
|
error_type: "pcb_autorouting_error";
|
|
6459
|
-
message: string;
|
|
6460
6513
|
subcircuit_id?: string;
|
|
6461
6514
|
}
|
|
6462
6515
|
type PcbAutoroutingError = PcbAutoroutingErrorInterface;
|
|
@@ -7312,10 +7365,12 @@ type PcbCopperPourInput = z.input<typeof pcb_copper_pour>;
|
|
|
7312
7365
|
type PcbCopperPour = PcbCopperPourRect | PcbCopperPourBRep | PcbCopperPourPolygon;
|
|
7313
7366
|
|
|
7314
7367
|
declare const pcb_component_outside_board_error: z.ZodObject<{
|
|
7368
|
+
message: z.ZodString;
|
|
7369
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
7370
|
+
} & {
|
|
7315
7371
|
type: z.ZodLiteral<"pcb_component_outside_board_error">;
|
|
7316
7372
|
pcb_component_outside_board_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7317
7373
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_component_outside_board_error">>;
|
|
7318
|
-
message: z.ZodString;
|
|
7319
7374
|
pcb_component_id: z.ZodString;
|
|
7320
7375
|
pcb_board_id: z.ZodString;
|
|
7321
7376
|
component_center: z.ZodObject<{
|
|
@@ -7365,6 +7420,7 @@ declare const pcb_component_outside_board_error: z.ZodObject<{
|
|
|
7365
7420
|
};
|
|
7366
7421
|
source_component_id?: string | undefined;
|
|
7367
7422
|
subcircuit_id?: string | undefined;
|
|
7423
|
+
is_fatal?: boolean | undefined;
|
|
7368
7424
|
}, {
|
|
7369
7425
|
message: string;
|
|
7370
7426
|
type: "pcb_component_outside_board_error";
|
|
@@ -7383,15 +7439,15 @@ declare const pcb_component_outside_board_error: z.ZodObject<{
|
|
|
7383
7439
|
source_component_id?: string | undefined;
|
|
7384
7440
|
subcircuit_id?: string | undefined;
|
|
7385
7441
|
error_type?: "pcb_component_outside_board_error" | undefined;
|
|
7442
|
+
is_fatal?: boolean | undefined;
|
|
7386
7443
|
pcb_component_outside_board_error_id?: string | undefined;
|
|
7387
7444
|
}>;
|
|
7388
7445
|
type PcbComponentOutsideBoardErrorInput = z.input<typeof pcb_component_outside_board_error>;
|
|
7389
7446
|
/** Error emitted when a PCB component is placed outside the board boundaries */
|
|
7390
|
-
interface PcbComponentOutsideBoardError {
|
|
7447
|
+
interface PcbComponentOutsideBoardError extends BaseCircuitJsonError {
|
|
7391
7448
|
type: "pcb_component_outside_board_error";
|
|
7392
7449
|
pcb_component_outside_board_error_id: string;
|
|
7393
7450
|
error_type: "pcb_component_outside_board_error";
|
|
7394
|
-
message: string;
|
|
7395
7451
|
pcb_component_id: string;
|
|
7396
7452
|
pcb_board_id: string;
|
|
7397
7453
|
component_center: Point;
|
|
@@ -7406,10 +7462,12 @@ interface PcbComponentOutsideBoardError {
|
|
|
7406
7462
|
}
|
|
7407
7463
|
|
|
7408
7464
|
declare const pcb_component_invalid_layer_error: z.ZodObject<{
|
|
7465
|
+
message: z.ZodString;
|
|
7466
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
7467
|
+
} & {
|
|
7409
7468
|
type: z.ZodLiteral<"pcb_component_invalid_layer_error">;
|
|
7410
7469
|
pcb_component_invalid_layer_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7411
7470
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_component_invalid_layer_error">>;
|
|
7412
|
-
message: z.ZodString;
|
|
7413
7471
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
7414
7472
|
source_component_id: z.ZodString;
|
|
7415
7473
|
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
@@ -7431,6 +7489,7 @@ declare const pcb_component_invalid_layer_error: z.ZodObject<{
|
|
|
7431
7489
|
pcb_component_invalid_layer_error_id: string;
|
|
7432
7490
|
pcb_component_id?: string | undefined;
|
|
7433
7491
|
subcircuit_id?: string | undefined;
|
|
7492
|
+
is_fatal?: boolean | undefined;
|
|
7434
7493
|
}, {
|
|
7435
7494
|
message: string;
|
|
7436
7495
|
type: "pcb_component_invalid_layer_error";
|
|
@@ -7441,15 +7500,15 @@ declare const pcb_component_invalid_layer_error: z.ZodObject<{
|
|
|
7441
7500
|
pcb_component_id?: string | undefined;
|
|
7442
7501
|
subcircuit_id?: string | undefined;
|
|
7443
7502
|
error_type?: "pcb_component_invalid_layer_error" | undefined;
|
|
7503
|
+
is_fatal?: boolean | undefined;
|
|
7444
7504
|
pcb_component_invalid_layer_error_id?: string | undefined;
|
|
7445
7505
|
}>;
|
|
7446
7506
|
type PcbComponentInvalidLayerErrorInput = z.input<typeof pcb_component_invalid_layer_error>;
|
|
7447
7507
|
/** Error emitted when a component is placed on an invalid layer (components can only be on 'top' or 'bottom' layers) */
|
|
7448
|
-
interface PcbComponentInvalidLayerError {
|
|
7508
|
+
interface PcbComponentInvalidLayerError extends BaseCircuitJsonError {
|
|
7449
7509
|
type: "pcb_component_invalid_layer_error";
|
|
7450
7510
|
pcb_component_invalid_layer_error_id: string;
|
|
7451
7511
|
error_type: "pcb_component_invalid_layer_error";
|
|
7452
|
-
message: string;
|
|
7453
7512
|
pcb_component_id?: string;
|
|
7454
7513
|
source_component_id: string;
|
|
7455
7514
|
layer: LayerRef;
|
|
@@ -7457,10 +7516,12 @@ interface PcbComponentInvalidLayerError {
|
|
|
7457
7516
|
}
|
|
7458
7517
|
|
|
7459
7518
|
declare const pcb_via_clearance_error: z.ZodObject<{
|
|
7519
|
+
message: z.ZodString;
|
|
7520
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
7521
|
+
} & {
|
|
7460
7522
|
type: z.ZodLiteral<"pcb_via_clearance_error">;
|
|
7461
7523
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7462
7524
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_via_clearance_error">>;
|
|
7463
|
-
message: z.ZodString;
|
|
7464
7525
|
pcb_via_ids: z.ZodArray<z.ZodString, "many">;
|
|
7465
7526
|
minimum_clearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
7466
7527
|
actual_clearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -7482,6 +7543,7 @@ declare const pcb_via_clearance_error: z.ZodObject<{
|
|
|
7482
7543
|
pcb_error_id: string;
|
|
7483
7544
|
pcb_via_ids: string[];
|
|
7484
7545
|
subcircuit_id?: string | undefined;
|
|
7546
|
+
is_fatal?: boolean | undefined;
|
|
7485
7547
|
minimum_clearance?: number | undefined;
|
|
7486
7548
|
actual_clearance?: number | undefined;
|
|
7487
7549
|
pcb_center?: {
|
|
@@ -7494,6 +7556,7 @@ declare const pcb_via_clearance_error: z.ZodObject<{
|
|
|
7494
7556
|
pcb_via_ids: string[];
|
|
7495
7557
|
subcircuit_id?: string | undefined;
|
|
7496
7558
|
error_type?: "pcb_via_clearance_error" | undefined;
|
|
7559
|
+
is_fatal?: boolean | undefined;
|
|
7497
7560
|
pcb_error_id?: string | undefined;
|
|
7498
7561
|
minimum_clearance?: string | number | undefined;
|
|
7499
7562
|
actual_clearance?: string | number | undefined;
|
|
@@ -7504,11 +7567,10 @@ declare const pcb_via_clearance_error: z.ZodObject<{
|
|
|
7504
7567
|
}>;
|
|
7505
7568
|
type PcbViaClearanceErrorInput = z.input<typeof pcb_via_clearance_error>;
|
|
7506
7569
|
/** Error emitted when vias are closer than the allowed clearance */
|
|
7507
|
-
interface PcbViaClearanceError {
|
|
7570
|
+
interface PcbViaClearanceError extends BaseCircuitJsonError {
|
|
7508
7571
|
type: "pcb_via_clearance_error";
|
|
7509
7572
|
pcb_error_id: string;
|
|
7510
7573
|
error_type: "pcb_via_clearance_error";
|
|
7511
|
-
message: string;
|
|
7512
7574
|
pcb_via_ids: string[];
|
|
7513
7575
|
minimum_clearance?: Distance;
|
|
7514
7576
|
actual_clearance?: Distance;
|
|
@@ -7869,6 +7931,7 @@ interface SchematicComponent {
|
|
|
7869
7931
|
center: Point;
|
|
7870
7932
|
source_component_id?: string;
|
|
7871
7933
|
schematic_component_id: string;
|
|
7934
|
+
schematic_symbol_id?: string;
|
|
7872
7935
|
pin_spacing?: number;
|
|
7873
7936
|
pin_styles?: Record<string, {
|
|
7874
7937
|
left_margin?: number;
|
|
@@ -8094,6 +8157,7 @@ declare const schematic_component: z.ZodObject<{
|
|
|
8094
8157
|
}>;
|
|
8095
8158
|
source_component_id: z.ZodOptional<z.ZodString>;
|
|
8096
8159
|
schematic_component_id: z.ZodString;
|
|
8160
|
+
schematic_symbol_id: z.ZodOptional<z.ZodString>;
|
|
8097
8161
|
pin_spacing: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8098
8162
|
pin_styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8099
8163
|
left_margin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -8226,6 +8290,7 @@ declare const schematic_component: z.ZodObject<{
|
|
|
8226
8290
|
source_component_id?: string | undefined;
|
|
8227
8291
|
subcircuit_id?: string | undefined;
|
|
8228
8292
|
source_group_id?: string | undefined;
|
|
8293
|
+
schematic_symbol_id?: string | undefined;
|
|
8229
8294
|
pin_spacing?: number | undefined;
|
|
8230
8295
|
pin_styles?: Record<string, {
|
|
8231
8296
|
left_margin?: number | undefined;
|
|
@@ -8276,6 +8341,7 @@ declare const schematic_component: z.ZodObject<{
|
|
|
8276
8341
|
source_component_id?: string | undefined;
|
|
8277
8342
|
subcircuit_id?: string | undefined;
|
|
8278
8343
|
source_group_id?: string | undefined;
|
|
8344
|
+
schematic_symbol_id?: string | undefined;
|
|
8279
8345
|
pin_spacing?: string | number | undefined;
|
|
8280
8346
|
pin_styles?: Record<string, {
|
|
8281
8347
|
left_margin?: string | number | undefined;
|
|
@@ -8316,6 +8382,26 @@ declare const schematic_component: z.ZodObject<{
|
|
|
8316
8382
|
}>;
|
|
8317
8383
|
type SchematicComponentInput = z.input<typeof schematic_component>;
|
|
8318
8384
|
|
|
8385
|
+
interface SchematicSymbol {
|
|
8386
|
+
type: "schematic_symbol";
|
|
8387
|
+
schematic_symbol_id: string;
|
|
8388
|
+
name?: string;
|
|
8389
|
+
}
|
|
8390
|
+
declare const schematic_symbol: z.ZodObject<{
|
|
8391
|
+
type: z.ZodLiteral<"schematic_symbol">;
|
|
8392
|
+
schematic_symbol_id: z.ZodString;
|
|
8393
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8394
|
+
}, "strip", z.ZodTypeAny, {
|
|
8395
|
+
type: "schematic_symbol";
|
|
8396
|
+
schematic_symbol_id: string;
|
|
8397
|
+
name?: string | undefined;
|
|
8398
|
+
}, {
|
|
8399
|
+
type: "schematic_symbol";
|
|
8400
|
+
schematic_symbol_id: string;
|
|
8401
|
+
name?: string | undefined;
|
|
8402
|
+
}>;
|
|
8403
|
+
type SchematicSymbolInput = z.input<typeof schematic_symbol>;
|
|
8404
|
+
|
|
8319
8405
|
/** Draws a styled line on the schematic */
|
|
8320
8406
|
interface SchematicLine {
|
|
8321
8407
|
type: "schematic_line";
|
|
@@ -8971,18 +9057,19 @@ declare const schematic_net_label: z.ZodObject<{
|
|
|
8971
9057
|
type SchematicNetLabelInput = z.input<typeof schematic_net_label>;
|
|
8972
9058
|
type InferredSchematicNetLabel = z.infer<typeof schematic_net_label>;
|
|
8973
9059
|
|
|
8974
|
-
interface SchematicError {
|
|
9060
|
+
interface SchematicError extends BaseCircuitJsonError {
|
|
8975
9061
|
type: "schematic_error";
|
|
8976
9062
|
schematic_error_id: string;
|
|
8977
9063
|
error_type: "schematic_port_not_found";
|
|
8978
|
-
message: string;
|
|
8979
9064
|
subcircuit_id?: string;
|
|
8980
9065
|
}
|
|
8981
9066
|
declare const schematic_error: z.ZodObject<{
|
|
9067
|
+
message: z.ZodString;
|
|
9068
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
9069
|
+
} & {
|
|
8982
9070
|
type: z.ZodLiteral<"schematic_error">;
|
|
8983
9071
|
schematic_error_id: z.ZodString;
|
|
8984
9072
|
error_type: z.ZodDefault<z.ZodLiteral<"schematic_port_not_found">>;
|
|
8985
|
-
message: z.ZodString;
|
|
8986
9073
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8987
9074
|
}, "strip", z.ZodTypeAny, {
|
|
8988
9075
|
message: string;
|
|
@@ -8990,20 +9077,24 @@ declare const schematic_error: z.ZodObject<{
|
|
|
8990
9077
|
error_type: "schematic_port_not_found";
|
|
8991
9078
|
schematic_error_id: string;
|
|
8992
9079
|
subcircuit_id?: string | undefined;
|
|
9080
|
+
is_fatal?: boolean | undefined;
|
|
8993
9081
|
}, {
|
|
8994
9082
|
message: string;
|
|
8995
9083
|
type: "schematic_error";
|
|
8996
9084
|
schematic_error_id: string;
|
|
8997
9085
|
subcircuit_id?: string | undefined;
|
|
8998
9086
|
error_type?: "schematic_port_not_found" | undefined;
|
|
9087
|
+
is_fatal?: boolean | undefined;
|
|
8999
9088
|
}>;
|
|
9000
9089
|
type SchematicErrorInput = z.input<typeof schematic_error>;
|
|
9001
9090
|
|
|
9002
9091
|
declare const schematic_layout_error: z.ZodObject<{
|
|
9092
|
+
message: z.ZodString;
|
|
9093
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
9094
|
+
} & {
|
|
9003
9095
|
type: z.ZodLiteral<"schematic_layout_error">;
|
|
9004
9096
|
schematic_layout_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
9005
9097
|
error_type: z.ZodDefault<z.ZodLiteral<"schematic_layout_error">>;
|
|
9006
|
-
message: z.ZodString;
|
|
9007
9098
|
source_group_id: z.ZodString;
|
|
9008
9099
|
schematic_group_id: z.ZodString;
|
|
9009
9100
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
@@ -9015,6 +9106,7 @@ declare const schematic_layout_error: z.ZodObject<{
|
|
|
9015
9106
|
schematic_group_id: string;
|
|
9016
9107
|
schematic_layout_error_id: string;
|
|
9017
9108
|
subcircuit_id?: string | undefined;
|
|
9109
|
+
is_fatal?: boolean | undefined;
|
|
9018
9110
|
}, {
|
|
9019
9111
|
message: string;
|
|
9020
9112
|
type: "schematic_layout_error";
|
|
@@ -9022,14 +9114,14 @@ declare const schematic_layout_error: z.ZodObject<{
|
|
|
9022
9114
|
schematic_group_id: string;
|
|
9023
9115
|
subcircuit_id?: string | undefined;
|
|
9024
9116
|
error_type?: "schematic_layout_error" | undefined;
|
|
9117
|
+
is_fatal?: boolean | undefined;
|
|
9025
9118
|
schematic_layout_error_id?: string | undefined;
|
|
9026
9119
|
}>;
|
|
9027
9120
|
type SchematicLayoutErrorInput = z.input<typeof schematic_layout_error>;
|
|
9028
|
-
interface SchematicLayoutError {
|
|
9121
|
+
interface SchematicLayoutError extends BaseCircuitJsonError {
|
|
9029
9122
|
type: "schematic_layout_error";
|
|
9030
9123
|
schematic_layout_error_id: string;
|
|
9031
9124
|
error_type: "schematic_layout_error";
|
|
9032
|
-
message: string;
|
|
9033
9125
|
source_group_id: string;
|
|
9034
9126
|
schematic_group_id: string;
|
|
9035
9127
|
subcircuit_id?: string;
|
|
@@ -10275,10 +10367,12 @@ interface SimulationVoltageProbe {
|
|
|
10275
10367
|
}
|
|
10276
10368
|
|
|
10277
10369
|
declare const simulation_unknown_experiment_error: z.ZodObject<{
|
|
10370
|
+
message: z.ZodString;
|
|
10371
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
10372
|
+
} & {
|
|
10278
10373
|
type: z.ZodLiteral<"simulation_unknown_experiment_error">;
|
|
10279
10374
|
simulation_unknown_experiment_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10280
10375
|
error_type: z.ZodDefault<z.ZodLiteral<"simulation_unknown_experiment_error">>;
|
|
10281
|
-
message: z.ZodString;
|
|
10282
10376
|
simulation_experiment_id: z.ZodOptional<z.ZodString>;
|
|
10283
10377
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10284
10378
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -10287,12 +10381,14 @@ declare const simulation_unknown_experiment_error: z.ZodObject<{
|
|
|
10287
10381
|
error_type: "simulation_unknown_experiment_error";
|
|
10288
10382
|
simulation_unknown_experiment_error_id: string;
|
|
10289
10383
|
subcircuit_id?: string | undefined;
|
|
10384
|
+
is_fatal?: boolean | undefined;
|
|
10290
10385
|
simulation_experiment_id?: string | undefined;
|
|
10291
10386
|
}, {
|
|
10292
10387
|
message: string;
|
|
10293
10388
|
type: "simulation_unknown_experiment_error";
|
|
10294
10389
|
subcircuit_id?: string | undefined;
|
|
10295
10390
|
error_type?: "simulation_unknown_experiment_error" | undefined;
|
|
10391
|
+
is_fatal?: boolean | undefined;
|
|
10296
10392
|
simulation_experiment_id?: string | undefined;
|
|
10297
10393
|
simulation_unknown_experiment_error_id?: string | undefined;
|
|
10298
10394
|
}>;
|
|
@@ -10300,11 +10396,10 @@ type SimulationUnknownExperimentErrorInput = z.input<typeof simulation_unknown_e
|
|
|
10300
10396
|
/**
|
|
10301
10397
|
* An unknown error occurred during the simulation experiment.
|
|
10302
10398
|
*/
|
|
10303
|
-
interface SimulationUnknownExperimentError {
|
|
10399
|
+
interface SimulationUnknownExperimentError extends BaseCircuitJsonError {
|
|
10304
10400
|
type: "simulation_unknown_experiment_error";
|
|
10305
10401
|
simulation_unknown_experiment_error_id: string;
|
|
10306
10402
|
error_type: "simulation_unknown_experiment_error";
|
|
10307
|
-
message: string;
|
|
10308
10403
|
simulation_experiment_id?: string;
|
|
10309
10404
|
subcircuit_id?: string;
|
|
10310
10405
|
}
|
|
@@ -11664,13 +11759,15 @@ declare const source_project_metadata: z.ZodObject<{
|
|
|
11664
11759
|
type InferredProjectMetadata = z.infer<typeof source_project_metadata>;
|
|
11665
11760
|
|
|
11666
11761
|
declare const source_missing_property_error: z.ZodObject<{
|
|
11762
|
+
message: z.ZodString;
|
|
11763
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
11764
|
+
} & {
|
|
11667
11765
|
type: z.ZodLiteral<"source_missing_property_error">;
|
|
11668
11766
|
source_missing_property_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11669
11767
|
source_component_id: z.ZodString;
|
|
11670
11768
|
property_name: z.ZodString;
|
|
11671
11769
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11672
11770
|
error_type: z.ZodDefault<z.ZodLiteral<"source_missing_property_error">>;
|
|
11673
|
-
message: z.ZodString;
|
|
11674
11771
|
}, "strip", z.ZodTypeAny, {
|
|
11675
11772
|
message: string;
|
|
11676
11773
|
type: "source_missing_property_error";
|
|
@@ -11679,6 +11776,7 @@ declare const source_missing_property_error: z.ZodObject<{
|
|
|
11679
11776
|
source_missing_property_error_id: string;
|
|
11680
11777
|
property_name: string;
|
|
11681
11778
|
subcircuit_id?: string | undefined;
|
|
11779
|
+
is_fatal?: boolean | undefined;
|
|
11682
11780
|
}, {
|
|
11683
11781
|
message: string;
|
|
11684
11782
|
type: "source_missing_property_error";
|
|
@@ -11686,30 +11784,32 @@ declare const source_missing_property_error: z.ZodObject<{
|
|
|
11686
11784
|
property_name: string;
|
|
11687
11785
|
subcircuit_id?: string | undefined;
|
|
11688
11786
|
error_type?: "source_missing_property_error" | undefined;
|
|
11787
|
+
is_fatal?: boolean | undefined;
|
|
11689
11788
|
source_missing_property_error_id?: string | undefined;
|
|
11690
11789
|
}>;
|
|
11691
11790
|
type SourceMissingPropertyErrorInput = z.input<typeof source_missing_property_error>;
|
|
11692
11791
|
/**
|
|
11693
11792
|
* The source code is missing a property
|
|
11694
11793
|
*/
|
|
11695
|
-
interface SourceMissingPropertyError {
|
|
11794
|
+
interface SourceMissingPropertyError extends BaseCircuitJsonError {
|
|
11696
11795
|
type: "source_missing_property_error";
|
|
11697
11796
|
source_missing_property_error_id: string;
|
|
11698
11797
|
source_component_id: string;
|
|
11699
11798
|
property_name: string;
|
|
11700
11799
|
subcircuit_id?: string;
|
|
11701
11800
|
error_type: "source_missing_property_error";
|
|
11702
|
-
message: string;
|
|
11703
11801
|
}
|
|
11704
11802
|
|
|
11705
11803
|
declare const source_failed_to_create_component_error: z.ZodObject<{
|
|
11804
|
+
message: z.ZodString;
|
|
11805
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
11806
|
+
} & {
|
|
11706
11807
|
type: z.ZodLiteral<"source_failed_to_create_component_error">;
|
|
11707
11808
|
source_failed_to_create_component_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11708
11809
|
error_type: z.ZodDefault<z.ZodLiteral<"source_failed_to_create_component_error">>;
|
|
11709
11810
|
component_name: z.ZodOptional<z.ZodString>;
|
|
11710
11811
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11711
11812
|
parent_source_component_id: z.ZodOptional<z.ZodString>;
|
|
11712
|
-
message: z.ZodString;
|
|
11713
11813
|
pcb_center: z.ZodOptional<z.ZodObject<{
|
|
11714
11814
|
x: z.ZodOptional<z.ZodNumber>;
|
|
11715
11815
|
y: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11736,6 +11836,7 @@ declare const source_failed_to_create_component_error: z.ZodObject<{
|
|
|
11736
11836
|
error_type: "source_failed_to_create_component_error";
|
|
11737
11837
|
source_failed_to_create_component_error_id: string;
|
|
11738
11838
|
subcircuit_id?: string | undefined;
|
|
11839
|
+
is_fatal?: boolean | undefined;
|
|
11739
11840
|
pcb_center?: {
|
|
11740
11841
|
x?: number | undefined;
|
|
11741
11842
|
y?: number | undefined;
|
|
@@ -11751,6 +11852,7 @@ declare const source_failed_to_create_component_error: z.ZodObject<{
|
|
|
11751
11852
|
type: "source_failed_to_create_component_error";
|
|
11752
11853
|
subcircuit_id?: string | undefined;
|
|
11753
11854
|
error_type?: "source_failed_to_create_component_error" | undefined;
|
|
11855
|
+
is_fatal?: boolean | undefined;
|
|
11754
11856
|
pcb_center?: {
|
|
11755
11857
|
x?: number | undefined;
|
|
11756
11858
|
y?: number | undefined;
|
|
@@ -11768,11 +11870,10 @@ type SourceFailedToCreateComponentErrorInput = z.input<typeof source_failed_to_c
|
|
|
11768
11870
|
* Error emitted when a component fails to be constructed.
|
|
11769
11871
|
* Contains details about the failure and prevents the component from being rendered.
|
|
11770
11872
|
*/
|
|
11771
|
-
interface SourceFailedToCreateComponentError {
|
|
11873
|
+
interface SourceFailedToCreateComponentError extends BaseCircuitJsonError {
|
|
11772
11874
|
type: "source_failed_to_create_component_error";
|
|
11773
11875
|
source_failed_to_create_component_error_id: string;
|
|
11774
11876
|
error_type: "source_failed_to_create_component_error";
|
|
11775
|
-
message: string;
|
|
11776
11877
|
component_name?: string;
|
|
11777
11878
|
subcircuit_id?: string;
|
|
11778
11879
|
parent_source_component_id?: string;
|
|
@@ -11787,10 +11888,12 @@ interface SourceFailedToCreateComponentError {
|
|
|
11787
11888
|
}
|
|
11788
11889
|
|
|
11789
11890
|
declare const source_trace_not_connected_error: z.ZodObject<{
|
|
11891
|
+
message: z.ZodString;
|
|
11892
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
11893
|
+
} & {
|
|
11790
11894
|
type: z.ZodLiteral<"source_trace_not_connected_error">;
|
|
11791
11895
|
source_trace_not_connected_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11792
11896
|
error_type: z.ZodDefault<z.ZodLiteral<"source_trace_not_connected_error">>;
|
|
11793
|
-
message: z.ZodString;
|
|
11794
11897
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11795
11898
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
11796
11899
|
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
@@ -11803,6 +11906,7 @@ declare const source_trace_not_connected_error: z.ZodObject<{
|
|
|
11803
11906
|
source_trace_not_connected_error_id: string;
|
|
11804
11907
|
subcircuit_id?: string | undefined;
|
|
11805
11908
|
source_trace_id?: string | undefined;
|
|
11909
|
+
is_fatal?: boolean | undefined;
|
|
11806
11910
|
source_group_id?: string | undefined;
|
|
11807
11911
|
connected_source_port_ids?: string[] | undefined;
|
|
11808
11912
|
selectors_not_found?: string[] | undefined;
|
|
@@ -11812,6 +11916,7 @@ declare const source_trace_not_connected_error: z.ZodObject<{
|
|
|
11812
11916
|
subcircuit_id?: string | undefined;
|
|
11813
11917
|
source_trace_id?: string | undefined;
|
|
11814
11918
|
error_type?: "source_trace_not_connected_error" | undefined;
|
|
11919
|
+
is_fatal?: boolean | undefined;
|
|
11815
11920
|
source_group_id?: string | undefined;
|
|
11816
11921
|
source_trace_not_connected_error_id?: string | undefined;
|
|
11817
11922
|
connected_source_port_ids?: string[] | undefined;
|
|
@@ -11821,11 +11926,10 @@ type SourceTraceNotConnectedErrorInput = z.input<typeof source_trace_not_connect
|
|
|
11821
11926
|
/**
|
|
11822
11927
|
* Occurs when a source trace selector does not match any ports
|
|
11823
11928
|
*/
|
|
11824
|
-
interface SourceTraceNotConnectedError {
|
|
11929
|
+
interface SourceTraceNotConnectedError extends BaseCircuitJsonError {
|
|
11825
11930
|
type: "source_trace_not_connected_error";
|
|
11826
11931
|
source_trace_not_connected_error_id: string;
|
|
11827
11932
|
error_type: "source_trace_not_connected_error";
|
|
11828
|
-
message: string;
|
|
11829
11933
|
subcircuit_id?: string;
|
|
11830
11934
|
source_group_id?: string;
|
|
11831
11935
|
source_trace_id?: string;
|
|
@@ -13142,13 +13246,15 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
13142
13246
|
project_url?: string | undefined;
|
|
13143
13247
|
created_at?: string | undefined;
|
|
13144
13248
|
}>, z.ZodObject<{
|
|
13249
|
+
message: z.ZodString;
|
|
13250
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
13251
|
+
} & {
|
|
13145
13252
|
type: z.ZodLiteral<"source_missing_property_error">;
|
|
13146
13253
|
source_missing_property_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
13147
13254
|
source_component_id: z.ZodString;
|
|
13148
13255
|
property_name: z.ZodString;
|
|
13149
13256
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13150
13257
|
error_type: z.ZodDefault<z.ZodLiteral<"source_missing_property_error">>;
|
|
13151
|
-
message: z.ZodString;
|
|
13152
13258
|
}, "strip", z.ZodTypeAny, {
|
|
13153
13259
|
message: string;
|
|
13154
13260
|
type: "source_missing_property_error";
|
|
@@ -13157,6 +13263,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
13157
13263
|
source_missing_property_error_id: string;
|
|
13158
13264
|
property_name: string;
|
|
13159
13265
|
subcircuit_id?: string | undefined;
|
|
13266
|
+
is_fatal?: boolean | undefined;
|
|
13160
13267
|
}, {
|
|
13161
13268
|
message: string;
|
|
13162
13269
|
type: "source_missing_property_error";
|
|
@@ -13164,15 +13271,18 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
13164
13271
|
property_name: string;
|
|
13165
13272
|
subcircuit_id?: string | undefined;
|
|
13166
13273
|
error_type?: "source_missing_property_error" | undefined;
|
|
13274
|
+
is_fatal?: boolean | undefined;
|
|
13167
13275
|
source_missing_property_error_id?: string | undefined;
|
|
13168
13276
|
}>, z.ZodObject<{
|
|
13277
|
+
message: z.ZodString;
|
|
13278
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
13279
|
+
} & {
|
|
13169
13280
|
type: z.ZodLiteral<"source_failed_to_create_component_error">;
|
|
13170
13281
|
source_failed_to_create_component_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
13171
13282
|
error_type: z.ZodDefault<z.ZodLiteral<"source_failed_to_create_component_error">>;
|
|
13172
13283
|
component_name: z.ZodOptional<z.ZodString>;
|
|
13173
13284
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13174
13285
|
parent_source_component_id: z.ZodOptional<z.ZodString>;
|
|
13175
|
-
message: z.ZodString;
|
|
13176
13286
|
pcb_center: z.ZodOptional<z.ZodObject<{
|
|
13177
13287
|
x: z.ZodOptional<z.ZodNumber>;
|
|
13178
13288
|
y: z.ZodOptional<z.ZodNumber>;
|
|
@@ -13199,6 +13309,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
13199
13309
|
error_type: "source_failed_to_create_component_error";
|
|
13200
13310
|
source_failed_to_create_component_error_id: string;
|
|
13201
13311
|
subcircuit_id?: string | undefined;
|
|
13312
|
+
is_fatal?: boolean | undefined;
|
|
13202
13313
|
pcb_center?: {
|
|
13203
13314
|
x?: number | undefined;
|
|
13204
13315
|
y?: number | undefined;
|
|
@@ -13214,6 +13325,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
13214
13325
|
type: "source_failed_to_create_component_error";
|
|
13215
13326
|
subcircuit_id?: string | undefined;
|
|
13216
13327
|
error_type?: "source_failed_to_create_component_error" | undefined;
|
|
13328
|
+
is_fatal?: boolean | undefined;
|
|
13217
13329
|
pcb_center?: {
|
|
13218
13330
|
x?: number | undefined;
|
|
13219
13331
|
y?: number | undefined;
|
|
@@ -13226,10 +13338,12 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
13226
13338
|
y?: number | undefined;
|
|
13227
13339
|
} | undefined;
|
|
13228
13340
|
}>, z.ZodObject<{
|
|
13341
|
+
message: z.ZodString;
|
|
13342
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
13343
|
+
} & {
|
|
13229
13344
|
type: z.ZodLiteral<"source_trace_not_connected_error">;
|
|
13230
13345
|
source_trace_not_connected_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
13231
13346
|
error_type: z.ZodDefault<z.ZodLiteral<"source_trace_not_connected_error">>;
|
|
13232
|
-
message: z.ZodString;
|
|
13233
13347
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13234
13348
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13235
13349
|
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
@@ -13242,6 +13356,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
13242
13356
|
source_trace_not_connected_error_id: string;
|
|
13243
13357
|
subcircuit_id?: string | undefined;
|
|
13244
13358
|
source_trace_id?: string | undefined;
|
|
13359
|
+
is_fatal?: boolean | undefined;
|
|
13245
13360
|
source_group_id?: string | undefined;
|
|
13246
13361
|
connected_source_port_ids?: string[] | undefined;
|
|
13247
13362
|
selectors_not_found?: string[] | undefined;
|
|
@@ -13251,6 +13366,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
13251
13366
|
subcircuit_id?: string | undefined;
|
|
13252
13367
|
source_trace_id?: string | undefined;
|
|
13253
13368
|
error_type?: "source_trace_not_connected_error" | undefined;
|
|
13369
|
+
is_fatal?: boolean | undefined;
|
|
13254
13370
|
source_group_id?: string | undefined;
|
|
13255
13371
|
source_trace_not_connected_error_id?: string | undefined;
|
|
13256
13372
|
connected_source_port_ids?: string[] | undefined;
|
|
@@ -13625,10 +13741,12 @@ interface SourceManuallyPlacedVia {
|
|
|
13625
13741
|
}
|
|
13626
13742
|
|
|
13627
13743
|
declare const source_pin_must_be_connected_error: z.ZodObject<{
|
|
13744
|
+
message: z.ZodString;
|
|
13745
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
13746
|
+
} & {
|
|
13628
13747
|
type: z.ZodLiteral<"source_pin_must_be_connected_error">;
|
|
13629
13748
|
source_pin_must_be_connected_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
13630
13749
|
error_type: z.ZodDefault<z.ZodLiteral<"source_pin_must_be_connected_error">>;
|
|
13631
|
-
message: z.ZodString;
|
|
13632
13750
|
source_component_id: z.ZodString;
|
|
13633
13751
|
source_port_id: z.ZodString;
|
|
13634
13752
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
@@ -13640,6 +13758,7 @@ declare const source_pin_must_be_connected_error: z.ZodObject<{
|
|
|
13640
13758
|
error_type: "source_pin_must_be_connected_error";
|
|
13641
13759
|
source_pin_must_be_connected_error_id: string;
|
|
13642
13760
|
subcircuit_id?: string | undefined;
|
|
13761
|
+
is_fatal?: boolean | undefined;
|
|
13643
13762
|
}, {
|
|
13644
13763
|
message: string;
|
|
13645
13764
|
type: "source_pin_must_be_connected_error";
|
|
@@ -13647,27 +13766,29 @@ declare const source_pin_must_be_connected_error: z.ZodObject<{
|
|
|
13647
13766
|
source_port_id: string;
|
|
13648
13767
|
subcircuit_id?: string | undefined;
|
|
13649
13768
|
error_type?: "source_pin_must_be_connected_error" | undefined;
|
|
13769
|
+
is_fatal?: boolean | undefined;
|
|
13650
13770
|
source_pin_must_be_connected_error_id?: string | undefined;
|
|
13651
13771
|
}>;
|
|
13652
13772
|
type SourcePinMustBeConnectedErrorInput = z.input<typeof source_pin_must_be_connected_error>;
|
|
13653
13773
|
/**
|
|
13654
13774
|
* Error emitted when a pin with mustBeConnected attribute is not connected to any trace
|
|
13655
13775
|
*/
|
|
13656
|
-
interface SourcePinMustBeConnectedError {
|
|
13776
|
+
interface SourcePinMustBeConnectedError extends BaseCircuitJsonError {
|
|
13657
13777
|
type: "source_pin_must_be_connected_error";
|
|
13658
13778
|
source_pin_must_be_connected_error_id: string;
|
|
13659
13779
|
error_type: "source_pin_must_be_connected_error";
|
|
13660
|
-
message: string;
|
|
13661
13780
|
source_component_id: string;
|
|
13662
13781
|
source_port_id: string;
|
|
13663
13782
|
subcircuit_id?: string;
|
|
13664
13783
|
}
|
|
13665
13784
|
|
|
13666
13785
|
declare const unknown_error_finding_part: z.ZodObject<{
|
|
13786
|
+
message: z.ZodString;
|
|
13787
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
13788
|
+
} & {
|
|
13667
13789
|
type: z.ZodLiteral<"unknown_error_finding_part">;
|
|
13668
13790
|
unknown_error_finding_part_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
13669
13791
|
error_type: z.ZodDefault<z.ZodLiteral<"unknown_error_finding_part">>;
|
|
13670
|
-
message: z.ZodString;
|
|
13671
13792
|
source_component_id: z.ZodOptional<z.ZodString>;
|
|
13672
13793
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13673
13794
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13677,12 +13798,14 @@ declare const unknown_error_finding_part: z.ZodObject<{
|
|
|
13677
13798
|
unknown_error_finding_part_id: string;
|
|
13678
13799
|
source_component_id?: string | undefined;
|
|
13679
13800
|
subcircuit_id?: string | undefined;
|
|
13801
|
+
is_fatal?: boolean | undefined;
|
|
13680
13802
|
}, {
|
|
13681
13803
|
message: string;
|
|
13682
13804
|
type: "unknown_error_finding_part";
|
|
13683
13805
|
source_component_id?: string | undefined;
|
|
13684
13806
|
subcircuit_id?: string | undefined;
|
|
13685
13807
|
error_type?: "unknown_error_finding_part" | undefined;
|
|
13808
|
+
is_fatal?: boolean | undefined;
|
|
13686
13809
|
unknown_error_finding_part_id?: string | undefined;
|
|
13687
13810
|
}>;
|
|
13688
13811
|
type UnknownErrorFindingPartInput = z.input<typeof unknown_error_finding_part>;
|
|
@@ -13691,11 +13814,10 @@ type UnknownErrorFindingPartInput = z.input<typeof unknown_error_finding_part>;
|
|
|
13691
13814
|
* This includes cases where the API returns HTML instead of JSON,
|
|
13692
13815
|
* network failures, or other unexpected responses.
|
|
13693
13816
|
*/
|
|
13694
|
-
interface UnknownErrorFindingPart {
|
|
13817
|
+
interface UnknownErrorFindingPart extends BaseCircuitJsonError {
|
|
13695
13818
|
type: "unknown_error_finding_part";
|
|
13696
13819
|
unknown_error_finding_part_id: string;
|
|
13697
13820
|
error_type: "unknown_error_finding_part";
|
|
13698
|
-
message: string;
|
|
13699
13821
|
source_component_id?: string;
|
|
13700
13822
|
subcircuit_id?: string;
|
|
13701
13823
|
}
|
|
@@ -15083,13 +15205,15 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15083
15205
|
project_url?: string | undefined;
|
|
15084
15206
|
created_at?: string | undefined;
|
|
15085
15207
|
}>, z.ZodObject<{
|
|
15208
|
+
message: z.ZodString;
|
|
15209
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
15210
|
+
} & {
|
|
15086
15211
|
type: z.ZodLiteral<"source_missing_property_error">;
|
|
15087
15212
|
source_missing_property_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15088
15213
|
source_component_id: z.ZodString;
|
|
15089
15214
|
property_name: z.ZodString;
|
|
15090
15215
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15091
15216
|
error_type: z.ZodDefault<z.ZodLiteral<"source_missing_property_error">>;
|
|
15092
|
-
message: z.ZodString;
|
|
15093
15217
|
}, "strip", z.ZodTypeAny, {
|
|
15094
15218
|
message: string;
|
|
15095
15219
|
type: "source_missing_property_error";
|
|
@@ -15098,6 +15222,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15098
15222
|
source_missing_property_error_id: string;
|
|
15099
15223
|
property_name: string;
|
|
15100
15224
|
subcircuit_id?: string | undefined;
|
|
15225
|
+
is_fatal?: boolean | undefined;
|
|
15101
15226
|
}, {
|
|
15102
15227
|
message: string;
|
|
15103
15228
|
type: "source_missing_property_error";
|
|
@@ -15105,15 +15230,18 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15105
15230
|
property_name: string;
|
|
15106
15231
|
subcircuit_id?: string | undefined;
|
|
15107
15232
|
error_type?: "source_missing_property_error" | undefined;
|
|
15233
|
+
is_fatal?: boolean | undefined;
|
|
15108
15234
|
source_missing_property_error_id?: string | undefined;
|
|
15109
15235
|
}>, z.ZodObject<{
|
|
15236
|
+
message: z.ZodString;
|
|
15237
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
15238
|
+
} & {
|
|
15110
15239
|
type: z.ZodLiteral<"source_failed_to_create_component_error">;
|
|
15111
15240
|
source_failed_to_create_component_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15112
15241
|
error_type: z.ZodDefault<z.ZodLiteral<"source_failed_to_create_component_error">>;
|
|
15113
15242
|
component_name: z.ZodOptional<z.ZodString>;
|
|
15114
15243
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15115
15244
|
parent_source_component_id: z.ZodOptional<z.ZodString>;
|
|
15116
|
-
message: z.ZodString;
|
|
15117
15245
|
pcb_center: z.ZodOptional<z.ZodObject<{
|
|
15118
15246
|
x: z.ZodOptional<z.ZodNumber>;
|
|
15119
15247
|
y: z.ZodOptional<z.ZodNumber>;
|
|
@@ -15140,6 +15268,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15140
15268
|
error_type: "source_failed_to_create_component_error";
|
|
15141
15269
|
source_failed_to_create_component_error_id: string;
|
|
15142
15270
|
subcircuit_id?: string | undefined;
|
|
15271
|
+
is_fatal?: boolean | undefined;
|
|
15143
15272
|
pcb_center?: {
|
|
15144
15273
|
x?: number | undefined;
|
|
15145
15274
|
y?: number | undefined;
|
|
@@ -15155,6 +15284,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15155
15284
|
type: "source_failed_to_create_component_error";
|
|
15156
15285
|
subcircuit_id?: string | undefined;
|
|
15157
15286
|
error_type?: "source_failed_to_create_component_error" | undefined;
|
|
15287
|
+
is_fatal?: boolean | undefined;
|
|
15158
15288
|
pcb_center?: {
|
|
15159
15289
|
x?: number | undefined;
|
|
15160
15290
|
y?: number | undefined;
|
|
@@ -15167,10 +15297,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15167
15297
|
y?: number | undefined;
|
|
15168
15298
|
} | undefined;
|
|
15169
15299
|
}>, z.ZodObject<{
|
|
15300
|
+
message: z.ZodString;
|
|
15301
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
15302
|
+
} & {
|
|
15170
15303
|
type: z.ZodLiteral<"source_trace_not_connected_error">;
|
|
15171
15304
|
source_trace_not_connected_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15172
15305
|
error_type: z.ZodDefault<z.ZodLiteral<"source_trace_not_connected_error">>;
|
|
15173
|
-
message: z.ZodString;
|
|
15174
15306
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15175
15307
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
15176
15308
|
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
@@ -15183,6 +15315,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15183
15315
|
source_trace_not_connected_error_id: string;
|
|
15184
15316
|
subcircuit_id?: string | undefined;
|
|
15185
15317
|
source_trace_id?: string | undefined;
|
|
15318
|
+
is_fatal?: boolean | undefined;
|
|
15186
15319
|
source_group_id?: string | undefined;
|
|
15187
15320
|
connected_source_port_ids?: string[] | undefined;
|
|
15188
15321
|
selectors_not_found?: string[] | undefined;
|
|
@@ -15192,6 +15325,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15192
15325
|
subcircuit_id?: string | undefined;
|
|
15193
15326
|
source_trace_id?: string | undefined;
|
|
15194
15327
|
error_type?: "source_trace_not_connected_error" | undefined;
|
|
15328
|
+
is_fatal?: boolean | undefined;
|
|
15195
15329
|
source_group_id?: string | undefined;
|
|
15196
15330
|
source_trace_not_connected_error_id?: string | undefined;
|
|
15197
15331
|
connected_source_port_ids?: string[] | undefined;
|
|
@@ -16187,10 +16321,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16187
16321
|
project_url?: string | undefined;
|
|
16188
16322
|
created_at?: string | undefined;
|
|
16189
16323
|
}>, z.ZodObject<{
|
|
16324
|
+
message: z.ZodString;
|
|
16325
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
16326
|
+
} & {
|
|
16190
16327
|
type: z.ZodLiteral<"source_trace_not_connected_error">;
|
|
16191
16328
|
source_trace_not_connected_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
16192
16329
|
error_type: z.ZodDefault<z.ZodLiteral<"source_trace_not_connected_error">>;
|
|
16193
|
-
message: z.ZodString;
|
|
16194
16330
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16195
16331
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
16196
16332
|
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
@@ -16203,6 +16339,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16203
16339
|
source_trace_not_connected_error_id: string;
|
|
16204
16340
|
subcircuit_id?: string | undefined;
|
|
16205
16341
|
source_trace_id?: string | undefined;
|
|
16342
|
+
is_fatal?: boolean | undefined;
|
|
16206
16343
|
source_group_id?: string | undefined;
|
|
16207
16344
|
connected_source_port_ids?: string[] | undefined;
|
|
16208
16345
|
selectors_not_found?: string[] | undefined;
|
|
@@ -16212,6 +16349,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16212
16349
|
subcircuit_id?: string | undefined;
|
|
16213
16350
|
source_trace_id?: string | undefined;
|
|
16214
16351
|
error_type?: "source_trace_not_connected_error" | undefined;
|
|
16352
|
+
is_fatal?: boolean | undefined;
|
|
16215
16353
|
source_group_id?: string | undefined;
|
|
16216
16354
|
source_trace_not_connected_error_id?: string | undefined;
|
|
16217
16355
|
connected_source_port_ids?: string[] | undefined;
|
|
@@ -16241,10 +16379,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16241
16379
|
warning_type?: "source_pin_missing_trace_warning" | undefined;
|
|
16242
16380
|
source_pin_missing_trace_warning_id?: string | undefined;
|
|
16243
16381
|
}>, z.ZodObject<{
|
|
16382
|
+
message: z.ZodString;
|
|
16383
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
16384
|
+
} & {
|
|
16244
16385
|
type: z.ZodLiteral<"source_pin_must_be_connected_error">;
|
|
16245
16386
|
source_pin_must_be_connected_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
16246
16387
|
error_type: z.ZodDefault<z.ZodLiteral<"source_pin_must_be_connected_error">>;
|
|
16247
|
-
message: z.ZodString;
|
|
16248
16388
|
source_component_id: z.ZodString;
|
|
16249
16389
|
source_port_id: z.ZodString;
|
|
16250
16390
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
@@ -16256,6 +16396,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16256
16396
|
error_type: "source_pin_must_be_connected_error";
|
|
16257
16397
|
source_pin_must_be_connected_error_id: string;
|
|
16258
16398
|
subcircuit_id?: string | undefined;
|
|
16399
|
+
is_fatal?: boolean | undefined;
|
|
16259
16400
|
}, {
|
|
16260
16401
|
message: string;
|
|
16261
16402
|
type: "source_pin_must_be_connected_error";
|
|
@@ -16263,12 +16404,15 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16263
16404
|
source_port_id: string;
|
|
16264
16405
|
subcircuit_id?: string | undefined;
|
|
16265
16406
|
error_type?: "source_pin_must_be_connected_error" | undefined;
|
|
16407
|
+
is_fatal?: boolean | undefined;
|
|
16266
16408
|
source_pin_must_be_connected_error_id?: string | undefined;
|
|
16267
16409
|
}>, z.ZodObject<{
|
|
16410
|
+
message: z.ZodString;
|
|
16411
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
16412
|
+
} & {
|
|
16268
16413
|
type: z.ZodLiteral<"unknown_error_finding_part">;
|
|
16269
16414
|
unknown_error_finding_part_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
16270
16415
|
error_type: z.ZodDefault<z.ZodLiteral<"unknown_error_finding_part">>;
|
|
16271
|
-
message: z.ZodString;
|
|
16272
16416
|
source_component_id: z.ZodOptional<z.ZodString>;
|
|
16273
16417
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16274
16418
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -16278,12 +16422,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16278
16422
|
unknown_error_finding_part_id: string;
|
|
16279
16423
|
source_component_id?: string | undefined;
|
|
16280
16424
|
subcircuit_id?: string | undefined;
|
|
16425
|
+
is_fatal?: boolean | undefined;
|
|
16281
16426
|
}, {
|
|
16282
16427
|
message: string;
|
|
16283
16428
|
type: "unknown_error_finding_part";
|
|
16284
16429
|
source_component_id?: string | undefined;
|
|
16285
16430
|
subcircuit_id?: string | undefined;
|
|
16286
16431
|
error_type?: "unknown_error_finding_part" | undefined;
|
|
16432
|
+
is_fatal?: boolean | undefined;
|
|
16287
16433
|
unknown_error_finding_part_id?: string | undefined;
|
|
16288
16434
|
}>, z.ZodObject<{
|
|
16289
16435
|
type: z.ZodLiteral<"pcb_component">;
|
|
@@ -16596,13 +16742,15 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16596
16742
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
16597
16743
|
soldermask_margin?: number | undefined;
|
|
16598
16744
|
}>]>, z.ZodObject<{
|
|
16745
|
+
message: z.ZodString;
|
|
16746
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
16747
|
+
} & {
|
|
16599
16748
|
type: z.ZodLiteral<"pcb_missing_footprint_error">;
|
|
16600
16749
|
pcb_missing_footprint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
16601
16750
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
16602
16751
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16603
16752
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_missing_footprint_error">>;
|
|
16604
16753
|
source_component_id: z.ZodString;
|
|
16605
|
-
message: z.ZodString;
|
|
16606
16754
|
}, "strip", z.ZodTypeAny, {
|
|
16607
16755
|
message: string;
|
|
16608
16756
|
type: "pcb_missing_footprint_error";
|
|
@@ -16611,6 +16759,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16611
16759
|
pcb_missing_footprint_error_id: string;
|
|
16612
16760
|
subcircuit_id?: string | undefined;
|
|
16613
16761
|
pcb_group_id?: string | undefined;
|
|
16762
|
+
is_fatal?: boolean | undefined;
|
|
16614
16763
|
}, {
|
|
16615
16764
|
message: string;
|
|
16616
16765
|
type: "pcb_missing_footprint_error";
|
|
@@ -16618,8 +16767,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16618
16767
|
subcircuit_id?: string | undefined;
|
|
16619
16768
|
pcb_group_id?: string | undefined;
|
|
16620
16769
|
error_type?: "pcb_missing_footprint_error" | undefined;
|
|
16770
|
+
is_fatal?: boolean | undefined;
|
|
16621
16771
|
pcb_missing_footprint_error_id?: string | undefined;
|
|
16622
16772
|
}>, z.ZodObject<{
|
|
16773
|
+
message: z.ZodString;
|
|
16774
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
16775
|
+
} & {
|
|
16623
16776
|
type: z.ZodLiteral<"external_footprint_load_error">;
|
|
16624
16777
|
external_footprint_load_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
16625
16778
|
pcb_component_id: z.ZodString;
|
|
@@ -16628,7 +16781,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16628
16781
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16629
16782
|
footprinter_string: z.ZodOptional<z.ZodString>;
|
|
16630
16783
|
error_type: z.ZodDefault<z.ZodLiteral<"external_footprint_load_error">>;
|
|
16631
|
-
message: z.ZodString;
|
|
16632
16784
|
}, "strip", z.ZodTypeAny, {
|
|
16633
16785
|
message: string;
|
|
16634
16786
|
type: "external_footprint_load_error";
|
|
@@ -16638,6 +16790,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16638
16790
|
external_footprint_load_error_id: string;
|
|
16639
16791
|
subcircuit_id?: string | undefined;
|
|
16640
16792
|
pcb_group_id?: string | undefined;
|
|
16793
|
+
is_fatal?: boolean | undefined;
|
|
16641
16794
|
footprinter_string?: string | undefined;
|
|
16642
16795
|
}, {
|
|
16643
16796
|
message: string;
|
|
@@ -16647,9 +16800,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16647
16800
|
subcircuit_id?: string | undefined;
|
|
16648
16801
|
pcb_group_id?: string | undefined;
|
|
16649
16802
|
error_type?: "external_footprint_load_error" | undefined;
|
|
16803
|
+
is_fatal?: boolean | undefined;
|
|
16650
16804
|
external_footprint_load_error_id?: string | undefined;
|
|
16651
16805
|
footprinter_string?: string | undefined;
|
|
16652
16806
|
}>, z.ZodObject<{
|
|
16807
|
+
message: z.ZodString;
|
|
16808
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
16809
|
+
} & {
|
|
16653
16810
|
type: z.ZodLiteral<"circuit_json_footprint_load_error">;
|
|
16654
16811
|
circuit_json_footprint_load_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
16655
16812
|
pcb_component_id: z.ZodString;
|
|
@@ -16657,7 +16814,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16657
16814
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
16658
16815
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16659
16816
|
error_type: z.ZodDefault<z.ZodLiteral<"circuit_json_footprint_load_error">>;
|
|
16660
|
-
message: z.ZodString;
|
|
16661
16817
|
circuit_json: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
16662
16818
|
}, "strip", z.ZodTypeAny, {
|
|
16663
16819
|
message: string;
|
|
@@ -16668,6 +16824,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16668
16824
|
circuit_json_footprint_load_error_id: string;
|
|
16669
16825
|
subcircuit_id?: string | undefined;
|
|
16670
16826
|
pcb_group_id?: string | undefined;
|
|
16827
|
+
is_fatal?: boolean | undefined;
|
|
16671
16828
|
circuit_json?: any[] | undefined;
|
|
16672
16829
|
}, {
|
|
16673
16830
|
message: string;
|
|
@@ -16677,6 +16834,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16677
16834
|
subcircuit_id?: string | undefined;
|
|
16678
16835
|
pcb_group_id?: string | undefined;
|
|
16679
16836
|
error_type?: "circuit_json_footprint_load_error" | undefined;
|
|
16837
|
+
is_fatal?: boolean | undefined;
|
|
16680
16838
|
circuit_json_footprint_load_error_id?: string | undefined;
|
|
16681
16839
|
circuit_json?: any[] | undefined;
|
|
16682
16840
|
}>, z.ZodObject<{
|
|
@@ -19060,10 +19218,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19060
19218
|
ccw_rotation?: string | number | undefined;
|
|
19061
19219
|
pcb_silkscreen_oval_id?: string | undefined;
|
|
19062
19220
|
}>, z.ZodObject<{
|
|
19221
|
+
message: z.ZodString;
|
|
19222
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
19223
|
+
} & {
|
|
19063
19224
|
type: z.ZodLiteral<"pcb_trace_error">;
|
|
19064
19225
|
pcb_trace_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
19065
19226
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_trace_error">>;
|
|
19066
|
-
message: z.ZodString;
|
|
19067
19227
|
center: z.ZodOptional<z.ZodObject<{
|
|
19068
19228
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
19069
19229
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -19084,8 +19244,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19084
19244
|
type: "pcb_trace_error";
|
|
19085
19245
|
source_trace_id: string;
|
|
19086
19246
|
pcb_trace_id: string;
|
|
19087
|
-
pcb_trace_error_id: string;
|
|
19088
19247
|
error_type: "pcb_trace_error";
|
|
19248
|
+
pcb_trace_error_id: string;
|
|
19089
19249
|
pcb_component_ids: string[];
|
|
19090
19250
|
pcb_port_ids: string[];
|
|
19091
19251
|
center?: {
|
|
@@ -19093,6 +19253,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19093
19253
|
y: number;
|
|
19094
19254
|
} | undefined;
|
|
19095
19255
|
subcircuit_id?: string | undefined;
|
|
19256
|
+
is_fatal?: boolean | undefined;
|
|
19096
19257
|
}, {
|
|
19097
19258
|
message: string;
|
|
19098
19259
|
type: "pcb_trace_error";
|
|
@@ -19105,13 +19266,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19105
19266
|
y: string | number;
|
|
19106
19267
|
} | undefined;
|
|
19107
19268
|
subcircuit_id?: string | undefined;
|
|
19108
|
-
pcb_trace_error_id?: string | undefined;
|
|
19109
19269
|
error_type?: "pcb_trace_error" | undefined;
|
|
19270
|
+
is_fatal?: boolean | undefined;
|
|
19271
|
+
pcb_trace_error_id?: string | undefined;
|
|
19110
19272
|
}>, z.ZodObject<{
|
|
19273
|
+
message: z.ZodString;
|
|
19274
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
19275
|
+
} & {
|
|
19111
19276
|
type: z.ZodLiteral<"pcb_trace_missing_error">;
|
|
19112
19277
|
pcb_trace_missing_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
19113
19278
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_trace_missing_error">>;
|
|
19114
|
-
message: z.ZodString;
|
|
19115
19279
|
center: z.ZodOptional<z.ZodObject<{
|
|
19116
19280
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
19117
19281
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -19139,6 +19303,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19139
19303
|
y: number;
|
|
19140
19304
|
} | undefined;
|
|
19141
19305
|
subcircuit_id?: string | undefined;
|
|
19306
|
+
is_fatal?: boolean | undefined;
|
|
19142
19307
|
}, {
|
|
19143
19308
|
message: string;
|
|
19144
19309
|
type: "pcb_trace_missing_error";
|
|
@@ -19151,12 +19316,15 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19151
19316
|
} | undefined;
|
|
19152
19317
|
subcircuit_id?: string | undefined;
|
|
19153
19318
|
error_type?: "pcb_trace_missing_error" | undefined;
|
|
19319
|
+
is_fatal?: boolean | undefined;
|
|
19154
19320
|
pcb_trace_missing_error_id?: string | undefined;
|
|
19155
19321
|
}>, z.ZodObject<{
|
|
19322
|
+
message: z.ZodString;
|
|
19323
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
19324
|
+
} & {
|
|
19156
19325
|
type: z.ZodLiteral<"pcb_placement_error">;
|
|
19157
19326
|
pcb_placement_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
19158
19327
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_placement_error">>;
|
|
19159
|
-
message: z.ZodString;
|
|
19160
19328
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
19161
19329
|
}, "strip", z.ZodTypeAny, {
|
|
19162
19330
|
message: string;
|
|
@@ -19164,17 +19332,21 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19164
19332
|
error_type: "pcb_placement_error";
|
|
19165
19333
|
pcb_placement_error_id: string;
|
|
19166
19334
|
subcircuit_id?: string | undefined;
|
|
19335
|
+
is_fatal?: boolean | undefined;
|
|
19167
19336
|
}, {
|
|
19168
19337
|
message: string;
|
|
19169
19338
|
type: "pcb_placement_error";
|
|
19170
19339
|
subcircuit_id?: string | undefined;
|
|
19171
19340
|
error_type?: "pcb_placement_error" | undefined;
|
|
19341
|
+
is_fatal?: boolean | undefined;
|
|
19172
19342
|
pcb_placement_error_id?: string | undefined;
|
|
19173
19343
|
}>, z.ZodObject<{
|
|
19344
|
+
message: z.ZodString;
|
|
19345
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
19346
|
+
} & {
|
|
19174
19347
|
type: z.ZodLiteral<"pcb_panelization_placement_error">;
|
|
19175
19348
|
pcb_panelization_placement_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
19176
19349
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_panelization_placement_error">>;
|
|
19177
|
-
message: z.ZodString;
|
|
19178
19350
|
pcb_panel_id: z.ZodOptional<z.ZodString>;
|
|
19179
19351
|
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
19180
19352
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
@@ -19184,6 +19356,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19184
19356
|
error_type: "pcb_panelization_placement_error";
|
|
19185
19357
|
pcb_panelization_placement_error_id: string;
|
|
19186
19358
|
subcircuit_id?: string | undefined;
|
|
19359
|
+
is_fatal?: boolean | undefined;
|
|
19187
19360
|
pcb_board_id?: string | undefined;
|
|
19188
19361
|
pcb_panel_id?: string | undefined;
|
|
19189
19362
|
}, {
|
|
@@ -19191,14 +19364,17 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19191
19364
|
type: "pcb_panelization_placement_error";
|
|
19192
19365
|
subcircuit_id?: string | undefined;
|
|
19193
19366
|
error_type?: "pcb_panelization_placement_error" | undefined;
|
|
19367
|
+
is_fatal?: boolean | undefined;
|
|
19194
19368
|
pcb_board_id?: string | undefined;
|
|
19195
19369
|
pcb_panel_id?: string | undefined;
|
|
19196
19370
|
pcb_panelization_placement_error_id?: string | undefined;
|
|
19197
19371
|
}>, z.ZodObject<{
|
|
19372
|
+
message: z.ZodString;
|
|
19373
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
19374
|
+
} & {
|
|
19198
19375
|
type: z.ZodLiteral<"pcb_port_not_matched_error">;
|
|
19199
19376
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
19200
19377
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_port_not_matched_error">>;
|
|
19201
|
-
message: z.ZodString;
|
|
19202
19378
|
pcb_component_ids: z.ZodArray<z.ZodString, "many">;
|
|
19203
19379
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
19204
19380
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -19208,18 +19384,22 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19208
19384
|
pcb_component_ids: string[];
|
|
19209
19385
|
pcb_error_id: string;
|
|
19210
19386
|
subcircuit_id?: string | undefined;
|
|
19387
|
+
is_fatal?: boolean | undefined;
|
|
19211
19388
|
}, {
|
|
19212
19389
|
message: string;
|
|
19213
19390
|
type: "pcb_port_not_matched_error";
|
|
19214
19391
|
pcb_component_ids: string[];
|
|
19215
19392
|
subcircuit_id?: string | undefined;
|
|
19216
19393
|
error_type?: "pcb_port_not_matched_error" | undefined;
|
|
19394
|
+
is_fatal?: boolean | undefined;
|
|
19217
19395
|
pcb_error_id?: string | undefined;
|
|
19218
19396
|
}>, z.ZodObject<{
|
|
19397
|
+
message: z.ZodString;
|
|
19398
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
19399
|
+
} & {
|
|
19219
19400
|
type: z.ZodLiteral<"pcb_port_not_connected_error">;
|
|
19220
19401
|
pcb_port_not_connected_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
19221
19402
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_port_not_connected_error">>;
|
|
19222
|
-
message: z.ZodString;
|
|
19223
19403
|
pcb_port_ids: z.ZodArray<z.ZodString, "many">;
|
|
19224
19404
|
pcb_component_ids: z.ZodArray<z.ZodString, "many">;
|
|
19225
19405
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
@@ -19231,6 +19411,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19231
19411
|
pcb_port_ids: string[];
|
|
19232
19412
|
pcb_port_not_connected_error_id: string;
|
|
19233
19413
|
subcircuit_id?: string | undefined;
|
|
19414
|
+
is_fatal?: boolean | undefined;
|
|
19234
19415
|
}, {
|
|
19235
19416
|
message: string;
|
|
19236
19417
|
type: "pcb_port_not_connected_error";
|
|
@@ -19238,12 +19419,15 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19238
19419
|
pcb_port_ids: string[];
|
|
19239
19420
|
subcircuit_id?: string | undefined;
|
|
19240
19421
|
error_type?: "pcb_port_not_connected_error" | undefined;
|
|
19422
|
+
is_fatal?: boolean | undefined;
|
|
19241
19423
|
pcb_port_not_connected_error_id?: string | undefined;
|
|
19242
19424
|
}>, z.ZodObject<{
|
|
19425
|
+
message: z.ZodString;
|
|
19426
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
19427
|
+
} & {
|
|
19243
19428
|
type: z.ZodLiteral<"pcb_via_clearance_error">;
|
|
19244
19429
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
19245
19430
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_via_clearance_error">>;
|
|
19246
|
-
message: z.ZodString;
|
|
19247
19431
|
pcb_via_ids: z.ZodArray<z.ZodString, "many">;
|
|
19248
19432
|
minimum_clearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
19249
19433
|
actual_clearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -19265,6 +19449,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19265
19449
|
pcb_error_id: string;
|
|
19266
19450
|
pcb_via_ids: string[];
|
|
19267
19451
|
subcircuit_id?: string | undefined;
|
|
19452
|
+
is_fatal?: boolean | undefined;
|
|
19268
19453
|
minimum_clearance?: number | undefined;
|
|
19269
19454
|
actual_clearance?: number | undefined;
|
|
19270
19455
|
pcb_center?: {
|
|
@@ -19277,6 +19462,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19277
19462
|
pcb_via_ids: string[];
|
|
19278
19463
|
subcircuit_id?: string | undefined;
|
|
19279
19464
|
error_type?: "pcb_via_clearance_error" | undefined;
|
|
19465
|
+
is_fatal?: boolean | undefined;
|
|
19280
19466
|
pcb_error_id?: string | undefined;
|
|
19281
19467
|
minimum_clearance?: string | number | undefined;
|
|
19282
19468
|
actual_clearance?: string | number | undefined;
|
|
@@ -19862,10 +20048,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19862
20048
|
arrow_size?: string | number | undefined;
|
|
19863
20049
|
pcb_note_dimension_id?: string | undefined;
|
|
19864
20050
|
}>, z.ZodObject<{
|
|
20051
|
+
message: z.ZodString;
|
|
20052
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
20053
|
+
} & {
|
|
19865
20054
|
type: z.ZodLiteral<"pcb_autorouting_error">;
|
|
19866
20055
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
19867
20056
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_autorouting_error">>;
|
|
19868
|
-
message: z.ZodString;
|
|
19869
20057
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
19870
20058
|
}, "strip", z.ZodTypeAny, {
|
|
19871
20059
|
message: string;
|
|
@@ -19873,17 +20061,21 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19873
20061
|
error_type: "pcb_autorouting_error";
|
|
19874
20062
|
pcb_error_id: string;
|
|
19875
20063
|
subcircuit_id?: string | undefined;
|
|
20064
|
+
is_fatal?: boolean | undefined;
|
|
19876
20065
|
}, {
|
|
19877
20066
|
message: string;
|
|
19878
20067
|
type: "pcb_autorouting_error";
|
|
19879
20068
|
subcircuit_id?: string | undefined;
|
|
19880
20069
|
error_type?: "pcb_autorouting_error" | undefined;
|
|
20070
|
+
is_fatal?: boolean | undefined;
|
|
19881
20071
|
pcb_error_id?: string | undefined;
|
|
19882
20072
|
}>, z.ZodObject<{
|
|
20073
|
+
message: z.ZodString;
|
|
20074
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
20075
|
+
} & {
|
|
19883
20076
|
type: z.ZodLiteral<"pcb_footprint_overlap_error">;
|
|
19884
20077
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
19885
20078
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_footprint_overlap_error">>;
|
|
19886
|
-
message: z.ZodString;
|
|
19887
20079
|
pcb_smtpad_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
19888
20080
|
pcb_plated_hole_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
19889
20081
|
pcb_hole_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -19893,6 +20085,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19893
20085
|
type: "pcb_footprint_overlap_error";
|
|
19894
20086
|
error_type: "pcb_footprint_overlap_error";
|
|
19895
20087
|
pcb_error_id: string;
|
|
20088
|
+
is_fatal?: boolean | undefined;
|
|
19896
20089
|
pcb_smtpad_ids?: string[] | undefined;
|
|
19897
20090
|
pcb_plated_hole_ids?: string[] | undefined;
|
|
19898
20091
|
pcb_hole_ids?: string[] | undefined;
|
|
@@ -19901,6 +20094,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19901
20094
|
message: string;
|
|
19902
20095
|
type: "pcb_footprint_overlap_error";
|
|
19903
20096
|
error_type?: "pcb_footprint_overlap_error" | undefined;
|
|
20097
|
+
is_fatal?: boolean | undefined;
|
|
19904
20098
|
pcb_error_id?: string | undefined;
|
|
19905
20099
|
pcb_smtpad_ids?: string[] | undefined;
|
|
19906
20100
|
pcb_plated_hole_ids?: string[] | undefined;
|
|
@@ -20516,10 +20710,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20516
20710
|
covered_with_solder_mask?: boolean | undefined;
|
|
20517
20711
|
pcb_copper_pour_id?: string | undefined;
|
|
20518
20712
|
}>]>, z.ZodObject<{
|
|
20713
|
+
message: z.ZodString;
|
|
20714
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
20715
|
+
} & {
|
|
20519
20716
|
type: z.ZodLiteral<"pcb_component_outside_board_error">;
|
|
20520
20717
|
pcb_component_outside_board_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
20521
20718
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_component_outside_board_error">>;
|
|
20522
|
-
message: z.ZodString;
|
|
20523
20719
|
pcb_component_id: z.ZodString;
|
|
20524
20720
|
pcb_board_id: z.ZodString;
|
|
20525
20721
|
component_center: z.ZodObject<{
|
|
@@ -20569,6 +20765,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20569
20765
|
};
|
|
20570
20766
|
source_component_id?: string | undefined;
|
|
20571
20767
|
subcircuit_id?: string | undefined;
|
|
20768
|
+
is_fatal?: boolean | undefined;
|
|
20572
20769
|
}, {
|
|
20573
20770
|
message: string;
|
|
20574
20771
|
type: "pcb_component_outside_board_error";
|
|
@@ -20587,12 +20784,15 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20587
20784
|
source_component_id?: string | undefined;
|
|
20588
20785
|
subcircuit_id?: string | undefined;
|
|
20589
20786
|
error_type?: "pcb_component_outside_board_error" | undefined;
|
|
20787
|
+
is_fatal?: boolean | undefined;
|
|
20590
20788
|
pcb_component_outside_board_error_id?: string | undefined;
|
|
20591
20789
|
}>, z.ZodObject<{
|
|
20790
|
+
message: z.ZodString;
|
|
20791
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
20792
|
+
} & {
|
|
20592
20793
|
type: z.ZodLiteral<"pcb_component_invalid_layer_error">;
|
|
20593
20794
|
pcb_component_invalid_layer_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
20594
20795
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_component_invalid_layer_error">>;
|
|
20595
|
-
message: z.ZodString;
|
|
20596
20796
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
20597
20797
|
source_component_id: z.ZodString;
|
|
20598
20798
|
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
@@ -20614,6 +20814,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20614
20814
|
pcb_component_invalid_layer_error_id: string;
|
|
20615
20815
|
pcb_component_id?: string | undefined;
|
|
20616
20816
|
subcircuit_id?: string | undefined;
|
|
20817
|
+
is_fatal?: boolean | undefined;
|
|
20617
20818
|
}, {
|
|
20618
20819
|
message: string;
|
|
20619
20820
|
type: "pcb_component_invalid_layer_error";
|
|
@@ -20624,6 +20825,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20624
20825
|
pcb_component_id?: string | undefined;
|
|
20625
20826
|
subcircuit_id?: string | undefined;
|
|
20626
20827
|
error_type?: "pcb_component_invalid_layer_error" | undefined;
|
|
20828
|
+
is_fatal?: boolean | undefined;
|
|
20627
20829
|
pcb_component_invalid_layer_error_id?: string | undefined;
|
|
20628
20830
|
}>, z.ZodObject<{
|
|
20629
20831
|
type: z.ZodLiteral<"pcb_courtyard_rect">;
|
|
@@ -21063,6 +21265,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21063
21265
|
}>;
|
|
21064
21266
|
source_component_id: z.ZodOptional<z.ZodString>;
|
|
21065
21267
|
schematic_component_id: z.ZodString;
|
|
21268
|
+
schematic_symbol_id: z.ZodOptional<z.ZodString>;
|
|
21066
21269
|
pin_spacing: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
21067
21270
|
pin_styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
21068
21271
|
left_margin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -21195,6 +21398,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21195
21398
|
source_component_id?: string | undefined;
|
|
21196
21399
|
subcircuit_id?: string | undefined;
|
|
21197
21400
|
source_group_id?: string | undefined;
|
|
21401
|
+
schematic_symbol_id?: string | undefined;
|
|
21198
21402
|
pin_spacing?: number | undefined;
|
|
21199
21403
|
pin_styles?: Record<string, {
|
|
21200
21404
|
left_margin?: number | undefined;
|
|
@@ -21245,6 +21449,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21245
21449
|
source_component_id?: string | undefined;
|
|
21246
21450
|
subcircuit_id?: string | undefined;
|
|
21247
21451
|
source_group_id?: string | undefined;
|
|
21452
|
+
schematic_symbol_id?: string | undefined;
|
|
21248
21453
|
pin_spacing?: string | number | undefined;
|
|
21249
21454
|
pin_styles?: Record<string, {
|
|
21250
21455
|
left_margin?: string | number | undefined;
|
|
@@ -21282,6 +21487,18 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21282
21487
|
schematic_group_id?: string | undefined;
|
|
21283
21488
|
is_schematic_group?: boolean | undefined;
|
|
21284
21489
|
is_box_with_pins?: boolean | undefined;
|
|
21490
|
+
}>, z.ZodObject<{
|
|
21491
|
+
type: z.ZodLiteral<"schematic_symbol">;
|
|
21492
|
+
schematic_symbol_id: z.ZodString;
|
|
21493
|
+
name: z.ZodOptional<z.ZodString>;
|
|
21494
|
+
}, "strip", z.ZodTypeAny, {
|
|
21495
|
+
type: "schematic_symbol";
|
|
21496
|
+
schematic_symbol_id: string;
|
|
21497
|
+
name?: string | undefined;
|
|
21498
|
+
}, {
|
|
21499
|
+
type: "schematic_symbol";
|
|
21500
|
+
schematic_symbol_id: string;
|
|
21501
|
+
name?: string | undefined;
|
|
21285
21502
|
}>, z.ZodObject<{
|
|
21286
21503
|
type: z.ZodLiteral<"schematic_port">;
|
|
21287
21504
|
schematic_port_id: z.ZodString;
|
|
@@ -21502,10 +21719,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21502
21719
|
fill_color?: "red" | "blue" | undefined;
|
|
21503
21720
|
stroke_color?: string | undefined;
|
|
21504
21721
|
}>, z.ZodObject<{
|
|
21722
|
+
message: z.ZodString;
|
|
21723
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
21724
|
+
} & {
|
|
21505
21725
|
type: z.ZodLiteral<"schematic_error">;
|
|
21506
21726
|
schematic_error_id: z.ZodString;
|
|
21507
21727
|
error_type: z.ZodDefault<z.ZodLiteral<"schematic_port_not_found">>;
|
|
21508
|
-
message: z.ZodString;
|
|
21509
21728
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
21510
21729
|
}, "strip", z.ZodTypeAny, {
|
|
21511
21730
|
message: string;
|
|
@@ -21513,17 +21732,21 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21513
21732
|
error_type: "schematic_port_not_found";
|
|
21514
21733
|
schematic_error_id: string;
|
|
21515
21734
|
subcircuit_id?: string | undefined;
|
|
21735
|
+
is_fatal?: boolean | undefined;
|
|
21516
21736
|
}, {
|
|
21517
21737
|
message: string;
|
|
21518
21738
|
type: "schematic_error";
|
|
21519
21739
|
schematic_error_id: string;
|
|
21520
21740
|
subcircuit_id?: string | undefined;
|
|
21521
21741
|
error_type?: "schematic_port_not_found" | undefined;
|
|
21742
|
+
is_fatal?: boolean | undefined;
|
|
21522
21743
|
}>, z.ZodObject<{
|
|
21744
|
+
message: z.ZodString;
|
|
21745
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
21746
|
+
} & {
|
|
21523
21747
|
type: z.ZodLiteral<"schematic_layout_error">;
|
|
21524
21748
|
schematic_layout_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
21525
21749
|
error_type: z.ZodDefault<z.ZodLiteral<"schematic_layout_error">>;
|
|
21526
|
-
message: z.ZodString;
|
|
21527
21750
|
source_group_id: z.ZodString;
|
|
21528
21751
|
schematic_group_id: z.ZodString;
|
|
21529
21752
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
@@ -21535,6 +21758,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21535
21758
|
schematic_group_id: string;
|
|
21536
21759
|
schematic_layout_error_id: string;
|
|
21537
21760
|
subcircuit_id?: string | undefined;
|
|
21761
|
+
is_fatal?: boolean | undefined;
|
|
21538
21762
|
}, {
|
|
21539
21763
|
message: string;
|
|
21540
21764
|
type: "schematic_layout_error";
|
|
@@ -21542,6 +21766,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21542
21766
|
schematic_group_id: string;
|
|
21543
21767
|
subcircuit_id?: string | undefined;
|
|
21544
21768
|
error_type?: "schematic_layout_error" | undefined;
|
|
21769
|
+
is_fatal?: boolean | undefined;
|
|
21545
21770
|
schematic_layout_error_id?: string | undefined;
|
|
21546
21771
|
}>, z.ZodObject<{
|
|
21547
21772
|
type: z.ZodLiteral<"schematic_net_label">;
|
|
@@ -22422,10 +22647,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22422
22647
|
reference_input_source_port_id?: string | undefined;
|
|
22423
22648
|
reference_input_source_net_id?: string | undefined;
|
|
22424
22649
|
}>, z.ZodObject<{
|
|
22650
|
+
message: z.ZodString;
|
|
22651
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
22652
|
+
} & {
|
|
22425
22653
|
type: z.ZodLiteral<"simulation_unknown_experiment_error">;
|
|
22426
22654
|
simulation_unknown_experiment_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
22427
22655
|
error_type: z.ZodDefault<z.ZodLiteral<"simulation_unknown_experiment_error">>;
|
|
22428
|
-
message: z.ZodString;
|
|
22429
22656
|
simulation_experiment_id: z.ZodOptional<z.ZodString>;
|
|
22430
22657
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
22431
22658
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -22434,12 +22661,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22434
22661
|
error_type: "simulation_unknown_experiment_error";
|
|
22435
22662
|
simulation_unknown_experiment_error_id: string;
|
|
22436
22663
|
subcircuit_id?: string | undefined;
|
|
22664
|
+
is_fatal?: boolean | undefined;
|
|
22437
22665
|
simulation_experiment_id?: string | undefined;
|
|
22438
22666
|
}, {
|
|
22439
22667
|
message: string;
|
|
22440
22668
|
type: "simulation_unknown_experiment_error";
|
|
22441
22669
|
subcircuit_id?: string | undefined;
|
|
22442
22670
|
error_type?: "simulation_unknown_experiment_error" | undefined;
|
|
22671
|
+
is_fatal?: boolean | undefined;
|
|
22443
22672
|
simulation_experiment_id?: string | undefined;
|
|
22444
22673
|
simulation_unknown_experiment_error_id?: string | undefined;
|
|
22445
22674
|
}>, z.ZodObject<{
|
|
@@ -23687,13 +23916,15 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23687
23916
|
project_url?: string | undefined;
|
|
23688
23917
|
created_at?: string | undefined;
|
|
23689
23918
|
}>, z.ZodObject<{
|
|
23919
|
+
message: z.ZodString;
|
|
23920
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
23921
|
+
} & {
|
|
23690
23922
|
type: z.ZodLiteral<"source_missing_property_error">;
|
|
23691
23923
|
source_missing_property_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
23692
23924
|
source_component_id: z.ZodString;
|
|
23693
23925
|
property_name: z.ZodString;
|
|
23694
23926
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
23695
23927
|
error_type: z.ZodDefault<z.ZodLiteral<"source_missing_property_error">>;
|
|
23696
|
-
message: z.ZodString;
|
|
23697
23928
|
}, "strip", z.ZodTypeAny, {
|
|
23698
23929
|
message: string;
|
|
23699
23930
|
type: "source_missing_property_error";
|
|
@@ -23702,6 +23933,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23702
23933
|
source_missing_property_error_id: string;
|
|
23703
23934
|
property_name: string;
|
|
23704
23935
|
subcircuit_id?: string | undefined;
|
|
23936
|
+
is_fatal?: boolean | undefined;
|
|
23705
23937
|
}, {
|
|
23706
23938
|
message: string;
|
|
23707
23939
|
type: "source_missing_property_error";
|
|
@@ -23709,15 +23941,18 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23709
23941
|
property_name: string;
|
|
23710
23942
|
subcircuit_id?: string | undefined;
|
|
23711
23943
|
error_type?: "source_missing_property_error" | undefined;
|
|
23944
|
+
is_fatal?: boolean | undefined;
|
|
23712
23945
|
source_missing_property_error_id?: string | undefined;
|
|
23713
23946
|
}>, z.ZodObject<{
|
|
23947
|
+
message: z.ZodString;
|
|
23948
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
23949
|
+
} & {
|
|
23714
23950
|
type: z.ZodLiteral<"source_failed_to_create_component_error">;
|
|
23715
23951
|
source_failed_to_create_component_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
23716
23952
|
error_type: z.ZodDefault<z.ZodLiteral<"source_failed_to_create_component_error">>;
|
|
23717
23953
|
component_name: z.ZodOptional<z.ZodString>;
|
|
23718
23954
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
23719
23955
|
parent_source_component_id: z.ZodOptional<z.ZodString>;
|
|
23720
|
-
message: z.ZodString;
|
|
23721
23956
|
pcb_center: z.ZodOptional<z.ZodObject<{
|
|
23722
23957
|
x: z.ZodOptional<z.ZodNumber>;
|
|
23723
23958
|
y: z.ZodOptional<z.ZodNumber>;
|
|
@@ -23744,6 +23979,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23744
23979
|
error_type: "source_failed_to_create_component_error";
|
|
23745
23980
|
source_failed_to_create_component_error_id: string;
|
|
23746
23981
|
subcircuit_id?: string | undefined;
|
|
23982
|
+
is_fatal?: boolean | undefined;
|
|
23747
23983
|
pcb_center?: {
|
|
23748
23984
|
x?: number | undefined;
|
|
23749
23985
|
y?: number | undefined;
|
|
@@ -23759,6 +23995,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23759
23995
|
type: "source_failed_to_create_component_error";
|
|
23760
23996
|
subcircuit_id?: string | undefined;
|
|
23761
23997
|
error_type?: "source_failed_to_create_component_error" | undefined;
|
|
23998
|
+
is_fatal?: boolean | undefined;
|
|
23762
23999
|
pcb_center?: {
|
|
23763
24000
|
x?: number | undefined;
|
|
23764
24001
|
y?: number | undefined;
|
|
@@ -23771,10 +24008,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23771
24008
|
y?: number | undefined;
|
|
23772
24009
|
} | undefined;
|
|
23773
24010
|
}>, z.ZodObject<{
|
|
24011
|
+
message: z.ZodString;
|
|
24012
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
24013
|
+
} & {
|
|
23774
24014
|
type: z.ZodLiteral<"source_trace_not_connected_error">;
|
|
23775
24015
|
source_trace_not_connected_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
23776
24016
|
error_type: z.ZodDefault<z.ZodLiteral<"source_trace_not_connected_error">>;
|
|
23777
|
-
message: z.ZodString;
|
|
23778
24017
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
23779
24018
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
23780
24019
|
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
@@ -23787,6 +24026,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23787
24026
|
source_trace_not_connected_error_id: string;
|
|
23788
24027
|
subcircuit_id?: string | undefined;
|
|
23789
24028
|
source_trace_id?: string | undefined;
|
|
24029
|
+
is_fatal?: boolean | undefined;
|
|
23790
24030
|
source_group_id?: string | undefined;
|
|
23791
24031
|
connected_source_port_ids?: string[] | undefined;
|
|
23792
24032
|
selectors_not_found?: string[] | undefined;
|
|
@@ -23796,6 +24036,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23796
24036
|
subcircuit_id?: string | undefined;
|
|
23797
24037
|
source_trace_id?: string | undefined;
|
|
23798
24038
|
error_type?: "source_trace_not_connected_error" | undefined;
|
|
24039
|
+
is_fatal?: boolean | undefined;
|
|
23799
24040
|
source_group_id?: string | undefined;
|
|
23800
24041
|
source_trace_not_connected_error_id?: string | undefined;
|
|
23801
24042
|
connected_source_port_ids?: string[] | undefined;
|
|
@@ -24791,10 +25032,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
24791
25032
|
project_url?: string | undefined;
|
|
24792
25033
|
created_at?: string | undefined;
|
|
24793
25034
|
}>, z.ZodObject<{
|
|
25035
|
+
message: z.ZodString;
|
|
25036
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
25037
|
+
} & {
|
|
24794
25038
|
type: z.ZodLiteral<"source_trace_not_connected_error">;
|
|
24795
25039
|
source_trace_not_connected_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
24796
25040
|
error_type: z.ZodDefault<z.ZodLiteral<"source_trace_not_connected_error">>;
|
|
24797
|
-
message: z.ZodString;
|
|
24798
25041
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
24799
25042
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
24800
25043
|
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
@@ -24807,6 +25050,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
24807
25050
|
source_trace_not_connected_error_id: string;
|
|
24808
25051
|
subcircuit_id?: string | undefined;
|
|
24809
25052
|
source_trace_id?: string | undefined;
|
|
25053
|
+
is_fatal?: boolean | undefined;
|
|
24810
25054
|
source_group_id?: string | undefined;
|
|
24811
25055
|
connected_source_port_ids?: string[] | undefined;
|
|
24812
25056
|
selectors_not_found?: string[] | undefined;
|
|
@@ -24816,6 +25060,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
24816
25060
|
subcircuit_id?: string | undefined;
|
|
24817
25061
|
source_trace_id?: string | undefined;
|
|
24818
25062
|
error_type?: "source_trace_not_connected_error" | undefined;
|
|
25063
|
+
is_fatal?: boolean | undefined;
|
|
24819
25064
|
source_group_id?: string | undefined;
|
|
24820
25065
|
source_trace_not_connected_error_id?: string | undefined;
|
|
24821
25066
|
connected_source_port_ids?: string[] | undefined;
|
|
@@ -24845,10 +25090,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
24845
25090
|
warning_type?: "source_pin_missing_trace_warning" | undefined;
|
|
24846
25091
|
source_pin_missing_trace_warning_id?: string | undefined;
|
|
24847
25092
|
}>, z.ZodObject<{
|
|
25093
|
+
message: z.ZodString;
|
|
25094
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
25095
|
+
} & {
|
|
24848
25096
|
type: z.ZodLiteral<"source_pin_must_be_connected_error">;
|
|
24849
25097
|
source_pin_must_be_connected_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
24850
25098
|
error_type: z.ZodDefault<z.ZodLiteral<"source_pin_must_be_connected_error">>;
|
|
24851
|
-
message: z.ZodString;
|
|
24852
25099
|
source_component_id: z.ZodString;
|
|
24853
25100
|
source_port_id: z.ZodString;
|
|
24854
25101
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
@@ -24860,6 +25107,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
24860
25107
|
error_type: "source_pin_must_be_connected_error";
|
|
24861
25108
|
source_pin_must_be_connected_error_id: string;
|
|
24862
25109
|
subcircuit_id?: string | undefined;
|
|
25110
|
+
is_fatal?: boolean | undefined;
|
|
24863
25111
|
}, {
|
|
24864
25112
|
message: string;
|
|
24865
25113
|
type: "source_pin_must_be_connected_error";
|
|
@@ -24867,12 +25115,15 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
24867
25115
|
source_port_id: string;
|
|
24868
25116
|
subcircuit_id?: string | undefined;
|
|
24869
25117
|
error_type?: "source_pin_must_be_connected_error" | undefined;
|
|
25118
|
+
is_fatal?: boolean | undefined;
|
|
24870
25119
|
source_pin_must_be_connected_error_id?: string | undefined;
|
|
24871
25120
|
}>, z.ZodObject<{
|
|
25121
|
+
message: z.ZodString;
|
|
25122
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
25123
|
+
} & {
|
|
24872
25124
|
type: z.ZodLiteral<"unknown_error_finding_part">;
|
|
24873
25125
|
unknown_error_finding_part_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
24874
25126
|
error_type: z.ZodDefault<z.ZodLiteral<"unknown_error_finding_part">>;
|
|
24875
|
-
message: z.ZodString;
|
|
24876
25127
|
source_component_id: z.ZodOptional<z.ZodString>;
|
|
24877
25128
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
24878
25129
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -24882,12 +25133,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
24882
25133
|
unknown_error_finding_part_id: string;
|
|
24883
25134
|
source_component_id?: string | undefined;
|
|
24884
25135
|
subcircuit_id?: string | undefined;
|
|
25136
|
+
is_fatal?: boolean | undefined;
|
|
24885
25137
|
}, {
|
|
24886
25138
|
message: string;
|
|
24887
25139
|
type: "unknown_error_finding_part";
|
|
24888
25140
|
source_component_id?: string | undefined;
|
|
24889
25141
|
subcircuit_id?: string | undefined;
|
|
24890
25142
|
error_type?: "unknown_error_finding_part" | undefined;
|
|
25143
|
+
is_fatal?: boolean | undefined;
|
|
24891
25144
|
unknown_error_finding_part_id?: string | undefined;
|
|
24892
25145
|
}>, z.ZodObject<{
|
|
24893
25146
|
type: z.ZodLiteral<"pcb_component">;
|
|
@@ -25200,13 +25453,15 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
25200
25453
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
25201
25454
|
soldermask_margin?: number | undefined;
|
|
25202
25455
|
}>]>, z.ZodObject<{
|
|
25456
|
+
message: z.ZodString;
|
|
25457
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
25458
|
+
} & {
|
|
25203
25459
|
type: z.ZodLiteral<"pcb_missing_footprint_error">;
|
|
25204
25460
|
pcb_missing_footprint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
25205
25461
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
25206
25462
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
25207
25463
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_missing_footprint_error">>;
|
|
25208
25464
|
source_component_id: z.ZodString;
|
|
25209
|
-
message: z.ZodString;
|
|
25210
25465
|
}, "strip", z.ZodTypeAny, {
|
|
25211
25466
|
message: string;
|
|
25212
25467
|
type: "pcb_missing_footprint_error";
|
|
@@ -25215,6 +25470,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
25215
25470
|
pcb_missing_footprint_error_id: string;
|
|
25216
25471
|
subcircuit_id?: string | undefined;
|
|
25217
25472
|
pcb_group_id?: string | undefined;
|
|
25473
|
+
is_fatal?: boolean | undefined;
|
|
25218
25474
|
}, {
|
|
25219
25475
|
message: string;
|
|
25220
25476
|
type: "pcb_missing_footprint_error";
|
|
@@ -25222,8 +25478,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
25222
25478
|
subcircuit_id?: string | undefined;
|
|
25223
25479
|
pcb_group_id?: string | undefined;
|
|
25224
25480
|
error_type?: "pcb_missing_footprint_error" | undefined;
|
|
25481
|
+
is_fatal?: boolean | undefined;
|
|
25225
25482
|
pcb_missing_footprint_error_id?: string | undefined;
|
|
25226
25483
|
}>, z.ZodObject<{
|
|
25484
|
+
message: z.ZodString;
|
|
25485
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
25486
|
+
} & {
|
|
25227
25487
|
type: z.ZodLiteral<"external_footprint_load_error">;
|
|
25228
25488
|
external_footprint_load_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
25229
25489
|
pcb_component_id: z.ZodString;
|
|
@@ -25232,7 +25492,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
25232
25492
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
25233
25493
|
footprinter_string: z.ZodOptional<z.ZodString>;
|
|
25234
25494
|
error_type: z.ZodDefault<z.ZodLiteral<"external_footprint_load_error">>;
|
|
25235
|
-
message: z.ZodString;
|
|
25236
25495
|
}, "strip", z.ZodTypeAny, {
|
|
25237
25496
|
message: string;
|
|
25238
25497
|
type: "external_footprint_load_error";
|
|
@@ -25242,6 +25501,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
25242
25501
|
external_footprint_load_error_id: string;
|
|
25243
25502
|
subcircuit_id?: string | undefined;
|
|
25244
25503
|
pcb_group_id?: string | undefined;
|
|
25504
|
+
is_fatal?: boolean | undefined;
|
|
25245
25505
|
footprinter_string?: string | undefined;
|
|
25246
25506
|
}, {
|
|
25247
25507
|
message: string;
|
|
@@ -25251,9 +25511,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
25251
25511
|
subcircuit_id?: string | undefined;
|
|
25252
25512
|
pcb_group_id?: string | undefined;
|
|
25253
25513
|
error_type?: "external_footprint_load_error" | undefined;
|
|
25514
|
+
is_fatal?: boolean | undefined;
|
|
25254
25515
|
external_footprint_load_error_id?: string | undefined;
|
|
25255
25516
|
footprinter_string?: string | undefined;
|
|
25256
25517
|
}>, z.ZodObject<{
|
|
25518
|
+
message: z.ZodString;
|
|
25519
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
25520
|
+
} & {
|
|
25257
25521
|
type: z.ZodLiteral<"circuit_json_footprint_load_error">;
|
|
25258
25522
|
circuit_json_footprint_load_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
25259
25523
|
pcb_component_id: z.ZodString;
|
|
@@ -25261,7 +25525,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
25261
25525
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
25262
25526
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
25263
25527
|
error_type: z.ZodDefault<z.ZodLiteral<"circuit_json_footprint_load_error">>;
|
|
25264
|
-
message: z.ZodString;
|
|
25265
25528
|
circuit_json: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
25266
25529
|
}, "strip", z.ZodTypeAny, {
|
|
25267
25530
|
message: string;
|
|
@@ -25272,6 +25535,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
25272
25535
|
circuit_json_footprint_load_error_id: string;
|
|
25273
25536
|
subcircuit_id?: string | undefined;
|
|
25274
25537
|
pcb_group_id?: string | undefined;
|
|
25538
|
+
is_fatal?: boolean | undefined;
|
|
25275
25539
|
circuit_json?: any[] | undefined;
|
|
25276
25540
|
}, {
|
|
25277
25541
|
message: string;
|
|
@@ -25281,6 +25545,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
25281
25545
|
subcircuit_id?: string | undefined;
|
|
25282
25546
|
pcb_group_id?: string | undefined;
|
|
25283
25547
|
error_type?: "circuit_json_footprint_load_error" | undefined;
|
|
25548
|
+
is_fatal?: boolean | undefined;
|
|
25284
25549
|
circuit_json_footprint_load_error_id?: string | undefined;
|
|
25285
25550
|
circuit_json?: any[] | undefined;
|
|
25286
25551
|
}>, z.ZodObject<{
|
|
@@ -27664,10 +27929,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27664
27929
|
ccw_rotation?: string | number | undefined;
|
|
27665
27930
|
pcb_silkscreen_oval_id?: string | undefined;
|
|
27666
27931
|
}>, z.ZodObject<{
|
|
27932
|
+
message: z.ZodString;
|
|
27933
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
27934
|
+
} & {
|
|
27667
27935
|
type: z.ZodLiteral<"pcb_trace_error">;
|
|
27668
27936
|
pcb_trace_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
27669
27937
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_trace_error">>;
|
|
27670
|
-
message: z.ZodString;
|
|
27671
27938
|
center: z.ZodOptional<z.ZodObject<{
|
|
27672
27939
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
27673
27940
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -27688,8 +27955,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27688
27955
|
type: "pcb_trace_error";
|
|
27689
27956
|
source_trace_id: string;
|
|
27690
27957
|
pcb_trace_id: string;
|
|
27691
|
-
pcb_trace_error_id: string;
|
|
27692
27958
|
error_type: "pcb_trace_error";
|
|
27959
|
+
pcb_trace_error_id: string;
|
|
27693
27960
|
pcb_component_ids: string[];
|
|
27694
27961
|
pcb_port_ids: string[];
|
|
27695
27962
|
center?: {
|
|
@@ -27697,6 +27964,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27697
27964
|
y: number;
|
|
27698
27965
|
} | undefined;
|
|
27699
27966
|
subcircuit_id?: string | undefined;
|
|
27967
|
+
is_fatal?: boolean | undefined;
|
|
27700
27968
|
}, {
|
|
27701
27969
|
message: string;
|
|
27702
27970
|
type: "pcb_trace_error";
|
|
@@ -27709,13 +27977,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27709
27977
|
y: string | number;
|
|
27710
27978
|
} | undefined;
|
|
27711
27979
|
subcircuit_id?: string | undefined;
|
|
27712
|
-
pcb_trace_error_id?: string | undefined;
|
|
27713
27980
|
error_type?: "pcb_trace_error" | undefined;
|
|
27981
|
+
is_fatal?: boolean | undefined;
|
|
27982
|
+
pcb_trace_error_id?: string | undefined;
|
|
27714
27983
|
}>, z.ZodObject<{
|
|
27984
|
+
message: z.ZodString;
|
|
27985
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
27986
|
+
} & {
|
|
27715
27987
|
type: z.ZodLiteral<"pcb_trace_missing_error">;
|
|
27716
27988
|
pcb_trace_missing_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
27717
27989
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_trace_missing_error">>;
|
|
27718
|
-
message: z.ZodString;
|
|
27719
27990
|
center: z.ZodOptional<z.ZodObject<{
|
|
27720
27991
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
27721
27992
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -27743,6 +28014,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27743
28014
|
y: number;
|
|
27744
28015
|
} | undefined;
|
|
27745
28016
|
subcircuit_id?: string | undefined;
|
|
28017
|
+
is_fatal?: boolean | undefined;
|
|
27746
28018
|
}, {
|
|
27747
28019
|
message: string;
|
|
27748
28020
|
type: "pcb_trace_missing_error";
|
|
@@ -27755,12 +28027,15 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27755
28027
|
} | undefined;
|
|
27756
28028
|
subcircuit_id?: string | undefined;
|
|
27757
28029
|
error_type?: "pcb_trace_missing_error" | undefined;
|
|
28030
|
+
is_fatal?: boolean | undefined;
|
|
27758
28031
|
pcb_trace_missing_error_id?: string | undefined;
|
|
27759
28032
|
}>, z.ZodObject<{
|
|
28033
|
+
message: z.ZodString;
|
|
28034
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
28035
|
+
} & {
|
|
27760
28036
|
type: z.ZodLiteral<"pcb_placement_error">;
|
|
27761
28037
|
pcb_placement_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
27762
28038
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_placement_error">>;
|
|
27763
|
-
message: z.ZodString;
|
|
27764
28039
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
27765
28040
|
}, "strip", z.ZodTypeAny, {
|
|
27766
28041
|
message: string;
|
|
@@ -27768,17 +28043,21 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27768
28043
|
error_type: "pcb_placement_error";
|
|
27769
28044
|
pcb_placement_error_id: string;
|
|
27770
28045
|
subcircuit_id?: string | undefined;
|
|
28046
|
+
is_fatal?: boolean | undefined;
|
|
27771
28047
|
}, {
|
|
27772
28048
|
message: string;
|
|
27773
28049
|
type: "pcb_placement_error";
|
|
27774
28050
|
subcircuit_id?: string | undefined;
|
|
27775
28051
|
error_type?: "pcb_placement_error" | undefined;
|
|
28052
|
+
is_fatal?: boolean | undefined;
|
|
27776
28053
|
pcb_placement_error_id?: string | undefined;
|
|
27777
28054
|
}>, z.ZodObject<{
|
|
28055
|
+
message: z.ZodString;
|
|
28056
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
28057
|
+
} & {
|
|
27778
28058
|
type: z.ZodLiteral<"pcb_panelization_placement_error">;
|
|
27779
28059
|
pcb_panelization_placement_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
27780
28060
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_panelization_placement_error">>;
|
|
27781
|
-
message: z.ZodString;
|
|
27782
28061
|
pcb_panel_id: z.ZodOptional<z.ZodString>;
|
|
27783
28062
|
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
27784
28063
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
@@ -27788,6 +28067,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27788
28067
|
error_type: "pcb_panelization_placement_error";
|
|
27789
28068
|
pcb_panelization_placement_error_id: string;
|
|
27790
28069
|
subcircuit_id?: string | undefined;
|
|
28070
|
+
is_fatal?: boolean | undefined;
|
|
27791
28071
|
pcb_board_id?: string | undefined;
|
|
27792
28072
|
pcb_panel_id?: string | undefined;
|
|
27793
28073
|
}, {
|
|
@@ -27795,14 +28075,17 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27795
28075
|
type: "pcb_panelization_placement_error";
|
|
27796
28076
|
subcircuit_id?: string | undefined;
|
|
27797
28077
|
error_type?: "pcb_panelization_placement_error" | undefined;
|
|
28078
|
+
is_fatal?: boolean | undefined;
|
|
27798
28079
|
pcb_board_id?: string | undefined;
|
|
27799
28080
|
pcb_panel_id?: string | undefined;
|
|
27800
28081
|
pcb_panelization_placement_error_id?: string | undefined;
|
|
27801
28082
|
}>, z.ZodObject<{
|
|
28083
|
+
message: z.ZodString;
|
|
28084
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
28085
|
+
} & {
|
|
27802
28086
|
type: z.ZodLiteral<"pcb_port_not_matched_error">;
|
|
27803
28087
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
27804
28088
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_port_not_matched_error">>;
|
|
27805
|
-
message: z.ZodString;
|
|
27806
28089
|
pcb_component_ids: z.ZodArray<z.ZodString, "many">;
|
|
27807
28090
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
27808
28091
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -27812,18 +28095,22 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27812
28095
|
pcb_component_ids: string[];
|
|
27813
28096
|
pcb_error_id: string;
|
|
27814
28097
|
subcircuit_id?: string | undefined;
|
|
28098
|
+
is_fatal?: boolean | undefined;
|
|
27815
28099
|
}, {
|
|
27816
28100
|
message: string;
|
|
27817
28101
|
type: "pcb_port_not_matched_error";
|
|
27818
28102
|
pcb_component_ids: string[];
|
|
27819
28103
|
subcircuit_id?: string | undefined;
|
|
27820
28104
|
error_type?: "pcb_port_not_matched_error" | undefined;
|
|
28105
|
+
is_fatal?: boolean | undefined;
|
|
27821
28106
|
pcb_error_id?: string | undefined;
|
|
27822
28107
|
}>, z.ZodObject<{
|
|
28108
|
+
message: z.ZodString;
|
|
28109
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
28110
|
+
} & {
|
|
27823
28111
|
type: z.ZodLiteral<"pcb_port_not_connected_error">;
|
|
27824
28112
|
pcb_port_not_connected_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
27825
28113
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_port_not_connected_error">>;
|
|
27826
|
-
message: z.ZodString;
|
|
27827
28114
|
pcb_port_ids: z.ZodArray<z.ZodString, "many">;
|
|
27828
28115
|
pcb_component_ids: z.ZodArray<z.ZodString, "many">;
|
|
27829
28116
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
@@ -27835,6 +28122,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27835
28122
|
pcb_port_ids: string[];
|
|
27836
28123
|
pcb_port_not_connected_error_id: string;
|
|
27837
28124
|
subcircuit_id?: string | undefined;
|
|
28125
|
+
is_fatal?: boolean | undefined;
|
|
27838
28126
|
}, {
|
|
27839
28127
|
message: string;
|
|
27840
28128
|
type: "pcb_port_not_connected_error";
|
|
@@ -27842,12 +28130,15 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27842
28130
|
pcb_port_ids: string[];
|
|
27843
28131
|
subcircuit_id?: string | undefined;
|
|
27844
28132
|
error_type?: "pcb_port_not_connected_error" | undefined;
|
|
28133
|
+
is_fatal?: boolean | undefined;
|
|
27845
28134
|
pcb_port_not_connected_error_id?: string | undefined;
|
|
27846
28135
|
}>, z.ZodObject<{
|
|
28136
|
+
message: z.ZodString;
|
|
28137
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
28138
|
+
} & {
|
|
27847
28139
|
type: z.ZodLiteral<"pcb_via_clearance_error">;
|
|
27848
28140
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
27849
28141
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_via_clearance_error">>;
|
|
27850
|
-
message: z.ZodString;
|
|
27851
28142
|
pcb_via_ids: z.ZodArray<z.ZodString, "many">;
|
|
27852
28143
|
minimum_clearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
27853
28144
|
actual_clearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -27869,6 +28160,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27869
28160
|
pcb_error_id: string;
|
|
27870
28161
|
pcb_via_ids: string[];
|
|
27871
28162
|
subcircuit_id?: string | undefined;
|
|
28163
|
+
is_fatal?: boolean | undefined;
|
|
27872
28164
|
minimum_clearance?: number | undefined;
|
|
27873
28165
|
actual_clearance?: number | undefined;
|
|
27874
28166
|
pcb_center?: {
|
|
@@ -27881,6 +28173,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27881
28173
|
pcb_via_ids: string[];
|
|
27882
28174
|
subcircuit_id?: string | undefined;
|
|
27883
28175
|
error_type?: "pcb_via_clearance_error" | undefined;
|
|
28176
|
+
is_fatal?: boolean | undefined;
|
|
27884
28177
|
pcb_error_id?: string | undefined;
|
|
27885
28178
|
minimum_clearance?: string | number | undefined;
|
|
27886
28179
|
actual_clearance?: string | number | undefined;
|
|
@@ -28466,10 +28759,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
28466
28759
|
arrow_size?: string | number | undefined;
|
|
28467
28760
|
pcb_note_dimension_id?: string | undefined;
|
|
28468
28761
|
}>, z.ZodObject<{
|
|
28762
|
+
message: z.ZodString;
|
|
28763
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
28764
|
+
} & {
|
|
28469
28765
|
type: z.ZodLiteral<"pcb_autorouting_error">;
|
|
28470
28766
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
28471
28767
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_autorouting_error">>;
|
|
28472
|
-
message: z.ZodString;
|
|
28473
28768
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
28474
28769
|
}, "strip", z.ZodTypeAny, {
|
|
28475
28770
|
message: string;
|
|
@@ -28477,17 +28772,21 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
28477
28772
|
error_type: "pcb_autorouting_error";
|
|
28478
28773
|
pcb_error_id: string;
|
|
28479
28774
|
subcircuit_id?: string | undefined;
|
|
28775
|
+
is_fatal?: boolean | undefined;
|
|
28480
28776
|
}, {
|
|
28481
28777
|
message: string;
|
|
28482
28778
|
type: "pcb_autorouting_error";
|
|
28483
28779
|
subcircuit_id?: string | undefined;
|
|
28484
28780
|
error_type?: "pcb_autorouting_error" | undefined;
|
|
28781
|
+
is_fatal?: boolean | undefined;
|
|
28485
28782
|
pcb_error_id?: string | undefined;
|
|
28486
28783
|
}>, z.ZodObject<{
|
|
28784
|
+
message: z.ZodString;
|
|
28785
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
28786
|
+
} & {
|
|
28487
28787
|
type: z.ZodLiteral<"pcb_footprint_overlap_error">;
|
|
28488
28788
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
28489
28789
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_footprint_overlap_error">>;
|
|
28490
|
-
message: z.ZodString;
|
|
28491
28790
|
pcb_smtpad_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
28492
28791
|
pcb_plated_hole_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
28493
28792
|
pcb_hole_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -28497,6 +28796,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
28497
28796
|
type: "pcb_footprint_overlap_error";
|
|
28498
28797
|
error_type: "pcb_footprint_overlap_error";
|
|
28499
28798
|
pcb_error_id: string;
|
|
28799
|
+
is_fatal?: boolean | undefined;
|
|
28500
28800
|
pcb_smtpad_ids?: string[] | undefined;
|
|
28501
28801
|
pcb_plated_hole_ids?: string[] | undefined;
|
|
28502
28802
|
pcb_hole_ids?: string[] | undefined;
|
|
@@ -28505,6 +28805,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
28505
28805
|
message: string;
|
|
28506
28806
|
type: "pcb_footprint_overlap_error";
|
|
28507
28807
|
error_type?: "pcb_footprint_overlap_error" | undefined;
|
|
28808
|
+
is_fatal?: boolean | undefined;
|
|
28508
28809
|
pcb_error_id?: string | undefined;
|
|
28509
28810
|
pcb_smtpad_ids?: string[] | undefined;
|
|
28510
28811
|
pcb_plated_hole_ids?: string[] | undefined;
|
|
@@ -29120,10 +29421,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
29120
29421
|
covered_with_solder_mask?: boolean | undefined;
|
|
29121
29422
|
pcb_copper_pour_id?: string | undefined;
|
|
29122
29423
|
}>]>, z.ZodObject<{
|
|
29424
|
+
message: z.ZodString;
|
|
29425
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
29426
|
+
} & {
|
|
29123
29427
|
type: z.ZodLiteral<"pcb_component_outside_board_error">;
|
|
29124
29428
|
pcb_component_outside_board_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
29125
29429
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_component_outside_board_error">>;
|
|
29126
|
-
message: z.ZodString;
|
|
29127
29430
|
pcb_component_id: z.ZodString;
|
|
29128
29431
|
pcb_board_id: z.ZodString;
|
|
29129
29432
|
component_center: z.ZodObject<{
|
|
@@ -29173,6 +29476,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
29173
29476
|
};
|
|
29174
29477
|
source_component_id?: string | undefined;
|
|
29175
29478
|
subcircuit_id?: string | undefined;
|
|
29479
|
+
is_fatal?: boolean | undefined;
|
|
29176
29480
|
}, {
|
|
29177
29481
|
message: string;
|
|
29178
29482
|
type: "pcb_component_outside_board_error";
|
|
@@ -29191,12 +29495,15 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
29191
29495
|
source_component_id?: string | undefined;
|
|
29192
29496
|
subcircuit_id?: string | undefined;
|
|
29193
29497
|
error_type?: "pcb_component_outside_board_error" | undefined;
|
|
29498
|
+
is_fatal?: boolean | undefined;
|
|
29194
29499
|
pcb_component_outside_board_error_id?: string | undefined;
|
|
29195
29500
|
}>, z.ZodObject<{
|
|
29501
|
+
message: z.ZodString;
|
|
29502
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
29503
|
+
} & {
|
|
29196
29504
|
type: z.ZodLiteral<"pcb_component_invalid_layer_error">;
|
|
29197
29505
|
pcb_component_invalid_layer_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
29198
29506
|
error_type: z.ZodDefault<z.ZodLiteral<"pcb_component_invalid_layer_error">>;
|
|
29199
|
-
message: z.ZodString;
|
|
29200
29507
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
29201
29508
|
source_component_id: z.ZodString;
|
|
29202
29509
|
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
@@ -29218,6 +29525,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
29218
29525
|
pcb_component_invalid_layer_error_id: string;
|
|
29219
29526
|
pcb_component_id?: string | undefined;
|
|
29220
29527
|
subcircuit_id?: string | undefined;
|
|
29528
|
+
is_fatal?: boolean | undefined;
|
|
29221
29529
|
}, {
|
|
29222
29530
|
message: string;
|
|
29223
29531
|
type: "pcb_component_invalid_layer_error";
|
|
@@ -29228,6 +29536,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
29228
29536
|
pcb_component_id?: string | undefined;
|
|
29229
29537
|
subcircuit_id?: string | undefined;
|
|
29230
29538
|
error_type?: "pcb_component_invalid_layer_error" | undefined;
|
|
29539
|
+
is_fatal?: boolean | undefined;
|
|
29231
29540
|
pcb_component_invalid_layer_error_id?: string | undefined;
|
|
29232
29541
|
}>, z.ZodObject<{
|
|
29233
29542
|
type: z.ZodLiteral<"pcb_courtyard_rect">;
|
|
@@ -29667,6 +29976,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
29667
29976
|
}>;
|
|
29668
29977
|
source_component_id: z.ZodOptional<z.ZodString>;
|
|
29669
29978
|
schematic_component_id: z.ZodString;
|
|
29979
|
+
schematic_symbol_id: z.ZodOptional<z.ZodString>;
|
|
29670
29980
|
pin_spacing: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
29671
29981
|
pin_styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
29672
29982
|
left_margin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -29799,6 +30109,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
29799
30109
|
source_component_id?: string | undefined;
|
|
29800
30110
|
subcircuit_id?: string | undefined;
|
|
29801
30111
|
source_group_id?: string | undefined;
|
|
30112
|
+
schematic_symbol_id?: string | undefined;
|
|
29802
30113
|
pin_spacing?: number | undefined;
|
|
29803
30114
|
pin_styles?: Record<string, {
|
|
29804
30115
|
left_margin?: number | undefined;
|
|
@@ -29849,6 +30160,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
29849
30160
|
source_component_id?: string | undefined;
|
|
29850
30161
|
subcircuit_id?: string | undefined;
|
|
29851
30162
|
source_group_id?: string | undefined;
|
|
30163
|
+
schematic_symbol_id?: string | undefined;
|
|
29852
30164
|
pin_spacing?: string | number | undefined;
|
|
29853
30165
|
pin_styles?: Record<string, {
|
|
29854
30166
|
left_margin?: string | number | undefined;
|
|
@@ -29886,6 +30198,18 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
29886
30198
|
schematic_group_id?: string | undefined;
|
|
29887
30199
|
is_schematic_group?: boolean | undefined;
|
|
29888
30200
|
is_box_with_pins?: boolean | undefined;
|
|
30201
|
+
}>, z.ZodObject<{
|
|
30202
|
+
type: z.ZodLiteral<"schematic_symbol">;
|
|
30203
|
+
schematic_symbol_id: z.ZodString;
|
|
30204
|
+
name: z.ZodOptional<z.ZodString>;
|
|
30205
|
+
}, "strip", z.ZodTypeAny, {
|
|
30206
|
+
type: "schematic_symbol";
|
|
30207
|
+
schematic_symbol_id: string;
|
|
30208
|
+
name?: string | undefined;
|
|
30209
|
+
}, {
|
|
30210
|
+
type: "schematic_symbol";
|
|
30211
|
+
schematic_symbol_id: string;
|
|
30212
|
+
name?: string | undefined;
|
|
29889
30213
|
}>, z.ZodObject<{
|
|
29890
30214
|
type: z.ZodLiteral<"schematic_port">;
|
|
29891
30215
|
schematic_port_id: z.ZodString;
|
|
@@ -30106,10 +30430,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
30106
30430
|
fill_color?: "red" | "blue" | undefined;
|
|
30107
30431
|
stroke_color?: string | undefined;
|
|
30108
30432
|
}>, z.ZodObject<{
|
|
30433
|
+
message: z.ZodString;
|
|
30434
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
30435
|
+
} & {
|
|
30109
30436
|
type: z.ZodLiteral<"schematic_error">;
|
|
30110
30437
|
schematic_error_id: z.ZodString;
|
|
30111
30438
|
error_type: z.ZodDefault<z.ZodLiteral<"schematic_port_not_found">>;
|
|
30112
|
-
message: z.ZodString;
|
|
30113
30439
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
30114
30440
|
}, "strip", z.ZodTypeAny, {
|
|
30115
30441
|
message: string;
|
|
@@ -30117,17 +30443,21 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
30117
30443
|
error_type: "schematic_port_not_found";
|
|
30118
30444
|
schematic_error_id: string;
|
|
30119
30445
|
subcircuit_id?: string | undefined;
|
|
30446
|
+
is_fatal?: boolean | undefined;
|
|
30120
30447
|
}, {
|
|
30121
30448
|
message: string;
|
|
30122
30449
|
type: "schematic_error";
|
|
30123
30450
|
schematic_error_id: string;
|
|
30124
30451
|
subcircuit_id?: string | undefined;
|
|
30125
30452
|
error_type?: "schematic_port_not_found" | undefined;
|
|
30453
|
+
is_fatal?: boolean | undefined;
|
|
30126
30454
|
}>, z.ZodObject<{
|
|
30455
|
+
message: z.ZodString;
|
|
30456
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
30457
|
+
} & {
|
|
30127
30458
|
type: z.ZodLiteral<"schematic_layout_error">;
|
|
30128
30459
|
schematic_layout_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
30129
30460
|
error_type: z.ZodDefault<z.ZodLiteral<"schematic_layout_error">>;
|
|
30130
|
-
message: z.ZodString;
|
|
30131
30461
|
source_group_id: z.ZodString;
|
|
30132
30462
|
schematic_group_id: z.ZodString;
|
|
30133
30463
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
@@ -30139,6 +30469,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
30139
30469
|
schematic_group_id: string;
|
|
30140
30470
|
schematic_layout_error_id: string;
|
|
30141
30471
|
subcircuit_id?: string | undefined;
|
|
30472
|
+
is_fatal?: boolean | undefined;
|
|
30142
30473
|
}, {
|
|
30143
30474
|
message: string;
|
|
30144
30475
|
type: "schematic_layout_error";
|
|
@@ -30146,6 +30477,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
30146
30477
|
schematic_group_id: string;
|
|
30147
30478
|
subcircuit_id?: string | undefined;
|
|
30148
30479
|
error_type?: "schematic_layout_error" | undefined;
|
|
30480
|
+
is_fatal?: boolean | undefined;
|
|
30149
30481
|
schematic_layout_error_id?: string | undefined;
|
|
30150
30482
|
}>, z.ZodObject<{
|
|
30151
30483
|
type: z.ZodLiteral<"schematic_net_label">;
|
|
@@ -31026,10 +31358,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
31026
31358
|
reference_input_source_port_id?: string | undefined;
|
|
31027
31359
|
reference_input_source_net_id?: string | undefined;
|
|
31028
31360
|
}>, z.ZodObject<{
|
|
31361
|
+
message: z.ZodString;
|
|
31362
|
+
is_fatal: z.ZodOptional<z.ZodBoolean>;
|
|
31363
|
+
} & {
|
|
31029
31364
|
type: z.ZodLiteral<"simulation_unknown_experiment_error">;
|
|
31030
31365
|
simulation_unknown_experiment_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
31031
31366
|
error_type: z.ZodDefault<z.ZodLiteral<"simulation_unknown_experiment_error">>;
|
|
31032
|
-
message: z.ZodString;
|
|
31033
31367
|
simulation_experiment_id: z.ZodOptional<z.ZodString>;
|
|
31034
31368
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
31035
31369
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -31038,12 +31372,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
31038
31372
|
error_type: "simulation_unknown_experiment_error";
|
|
31039
31373
|
simulation_unknown_experiment_error_id: string;
|
|
31040
31374
|
subcircuit_id?: string | undefined;
|
|
31375
|
+
is_fatal?: boolean | undefined;
|
|
31041
31376
|
simulation_experiment_id?: string | undefined;
|
|
31042
31377
|
}, {
|
|
31043
31378
|
message: string;
|
|
31044
31379
|
type: "simulation_unknown_experiment_error";
|
|
31045
31380
|
subcircuit_id?: string | undefined;
|
|
31046
31381
|
error_type?: "simulation_unknown_experiment_error" | undefined;
|
|
31382
|
+
is_fatal?: boolean | undefined;
|
|
31047
31383
|
simulation_experiment_id?: string | undefined;
|
|
31048
31384
|
simulation_unknown_experiment_error_id?: string | undefined;
|
|
31049
31385
|
}>, z.ZodObject<{
|
|
@@ -31090,4 +31426,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
|
|
|
31090
31426
|
*/
|
|
31091
31427
|
type CircuitJson = AnyCircuitElement[];
|
|
31092
31428
|
|
|
31093
|
-
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type BRepShape, type CadComponent, type CadComponentAnchorAlignment, type CadComponentInput, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExperimentType, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBCopperText, type PCBCourtyardOutline, type PCBCourtyardPolygon, type PCBCourtyardRect, type PCBFabricationNoteDimension, type PCBFabricationNotePath, type PCBFabricationNoteRect, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPanel, type PCBPanelizationPlacementError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbComponentInvalidLayerError, type PcbComponentInvalidLayerErrorInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCopperText, type PcbCopperTextInput, type PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardPolygon, type PcbCourtyardPolygonInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPath, type PcbCutoutPathInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNoteDimension, type PcbFabricationNoteDimensionInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteRect, type PcbFabricationNoteRectInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircle, type PcbHoleCircleInput, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePill, type PcbHolePillInput, type PcbHolePillWithRectPad, type PcbHoleRect, type PcbHoleRectInput, type PcbHoleRotatedPill, type PcbHoleRotatedPillInput, type PcbHoleRotatedPillWithRectPad, type PcbHoleWithPolygonPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, type PcbNoteDimension, type PcbNoteDimensionInput, type PcbNoteLine, type PcbNoteLineInput, type PcbNotePath, type PcbNotePathInput, type PcbNoteRect, type PcbNoteRectInput, type PcbNoteText, type PcbNoteTextInput, type PcbPanel, type PcbPanelInput, type PcbPanelizationPlacementError, type PcbPanelizationPlacementErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRenderLayer, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenPill, type PcbSilkscreenPillDeprecated, type PcbSilkscreenPillInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaClearanceError, type PcbViaClearanceErrorInput, type PcbViaInput, type Point, type Point3, type PointWithBulge, type Position, type Ring, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicArc, type SchematicArcInput, type SchematicBox, type SchematicBoxInput, type SchematicCircle, type SchematicCircleInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicRect, type SchematicRectInput, type SchematicSheet, type SchematicSheetInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcCurrentSource, type SimulationAcCurrentSourceInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationCurrentSource, type SimulationCurrentSourceInput, type SimulationDcCurrentSource, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationOpAmp, type SimulationOpAmpInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationUnknownExperimentError, type SimulationUnknownExperimentErrorInput, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceBoard, type SourceBoardInput, type SourceComponentBase, type SourceComponentInternalConnection, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceInterconnect, type SourceInterconnectInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePinMustBeConnectedError, type SourcePinMustBeConnectedErrorInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleCurrentSource, type SourceSimpleCurrentSourceInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleFiducial, type SourceSimpleFiducialInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimpleOpAmp, type SourceSimpleOpAmpInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePinout, type SourceSimplePinoutInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceSimpleVoltageProbe, type SourceSimpleVoltageProbeInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type UnknownErrorFindingPart, type UnknownErrorFindingPartInput, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, brep_shape, cad_component, capacitance, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ms, ninePointAnchor, pcbRenderLayer, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_component_invalid_layer_error, pcb_component_outside_board_error, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_copper_text, pcb_courtyard_outline, pcb_courtyard_polygon, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_path, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_dimension, pcb_fabrication_note_path, pcb_fabrication_note_rect, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_circle_shape, pcb_hole_oval_shape, pcb_hole_pill_shape, pcb_hole_rect_shape, pcb_hole_rotated_pill_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, pcb_note_dimension, pcb_note_line, pcb_note_path, pcb_note_rect, pcb_note_text, pcb_panel, pcb_panelization_placement_error, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_pill, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, pcb_via_clearance_error, point, point3, point_with_bulge, port_arrangement, position, position3, resistance, ring, rotation, route_hint_point, schematic_arc, schematic_box, schematic_circle, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_rect, schematic_sheet, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_current_source, simulation_ac_voltage_source, simulation_current_source, simulation_dc_current_source, simulation_dc_voltage_source, simulation_experiment, simulation_op_amp, simulation_switch, simulation_transient_voltage_graph, simulation_unknown_experiment_error, simulation_voltage_probe, simulation_voltage_source, size, source_board, source_component_base, source_component_internal_connection, source_failed_to_create_component_error, source_group, source_interconnect, source_manually_placed_via, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_pin_must_be_connected_error, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_current_source, source_simple_diode, source_simple_fiducial, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_op_amp, source_simple_pin_header, source_simple_pinout, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_simple_voltage_probe, source_trace, source_trace_not_connected_error, supplier_name, time, timestamp, unknown_error_finding_part, visible_layer, voltage, wave_shape };
|
|
31429
|
+
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type BRepShape, type BaseCircuitJsonError, type BaseCircuitJsonErrorInput, type CadComponent, type CadComponentAnchorAlignment, type CadComponentInput, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExperimentType, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBCopperText, type PCBCourtyardOutline, type PCBCourtyardPolygon, type PCBCourtyardRect, type PCBFabricationNoteDimension, type PCBFabricationNotePath, type PCBFabricationNoteRect, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPanel, type PCBPanelizationPlacementError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbComponentInvalidLayerError, type PcbComponentInvalidLayerErrorInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCopperText, type PcbCopperTextInput, type PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardPolygon, type PcbCourtyardPolygonInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPath, type PcbCutoutPathInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNoteDimension, type PcbFabricationNoteDimensionInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteRect, type PcbFabricationNoteRectInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircle, type PcbHoleCircleInput, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePill, type PcbHolePillInput, type PcbHolePillWithRectPad, type PcbHoleRect, type PcbHoleRectInput, type PcbHoleRotatedPill, type PcbHoleRotatedPillInput, type PcbHoleRotatedPillWithRectPad, type PcbHoleWithPolygonPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, type PcbNoteDimension, type PcbNoteDimensionInput, type PcbNoteLine, type PcbNoteLineInput, type PcbNotePath, type PcbNotePathInput, type PcbNoteRect, type PcbNoteRectInput, type PcbNoteText, type PcbNoteTextInput, type PcbPanel, type PcbPanelInput, type PcbPanelizationPlacementError, type PcbPanelizationPlacementErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRenderLayer, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenPill, type PcbSilkscreenPillDeprecated, type PcbSilkscreenPillInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaClearanceError, type PcbViaClearanceErrorInput, type PcbViaInput, type Point, type Point3, type PointWithBulge, type Position, type Ring, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicArc, type SchematicArcInput, type SchematicBox, type SchematicBoxInput, type SchematicCircle, type SchematicCircleInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicRect, type SchematicRectInput, type SchematicSheet, type SchematicSheetInput, type SchematicSymbol, type SchematicSymbolInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcCurrentSource, type SimulationAcCurrentSourceInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationCurrentSource, type SimulationCurrentSourceInput, type SimulationDcCurrentSource, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationOpAmp, type SimulationOpAmpInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationUnknownExperimentError, type SimulationUnknownExperimentErrorInput, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceBoard, type SourceBoardInput, type SourceComponentBase, type SourceComponentInternalConnection, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceInterconnect, type SourceInterconnectInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePinMustBeConnectedError, type SourcePinMustBeConnectedErrorInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleCurrentSource, type SourceSimpleCurrentSourceInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleFiducial, type SourceSimpleFiducialInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimpleOpAmp, type SourceSimpleOpAmpInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePinout, type SourceSimplePinoutInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceSimpleVoltageProbe, type SourceSimpleVoltageProbeInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type UnknownErrorFindingPart, type UnknownErrorFindingPartInput, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, base_circuit_json_error, battery_capacity, brep_shape, cad_component, capacitance, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ms, ninePointAnchor, pcbRenderLayer, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_component_invalid_layer_error, pcb_component_outside_board_error, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_copper_text, pcb_courtyard_outline, pcb_courtyard_polygon, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_path, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_dimension, pcb_fabrication_note_path, pcb_fabrication_note_rect, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_circle_shape, pcb_hole_oval_shape, pcb_hole_pill_shape, pcb_hole_rect_shape, pcb_hole_rotated_pill_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, pcb_note_dimension, pcb_note_line, pcb_note_path, pcb_note_rect, pcb_note_text, pcb_panel, pcb_panelization_placement_error, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_pill, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, pcb_via_clearance_error, point, point3, point_with_bulge, port_arrangement, position, position3, resistance, ring, rotation, route_hint_point, schematic_arc, schematic_box, schematic_circle, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_rect, schematic_sheet, schematic_symbol, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_current_source, simulation_ac_voltage_source, simulation_current_source, simulation_dc_current_source, simulation_dc_voltage_source, simulation_experiment, simulation_op_amp, simulation_switch, simulation_transient_voltage_graph, simulation_unknown_experiment_error, simulation_voltage_probe, simulation_voltage_source, size, source_board, source_component_base, source_component_internal_connection, source_failed_to_create_component_error, source_group, source_interconnect, source_manually_placed_via, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_pin_must_be_connected_error, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_current_source, source_simple_diode, source_simple_fiducial, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_op_amp, source_simple_pin_header, source_simple_pinout, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_simple_voltage_probe, source_trace, source_trace_not_connected_error, supplier_name, time, timestamp, unknown_error_finding_part, visible_layer, voltage, wave_shape };
|