circuit-json 0.0.200 → 0.0.202
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/dist/index.d.mts +99 -26
- package/dist/index.mjs +11 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2028,7 +2028,7 @@ type PCBTraceInput = PcbTraceInput;
|
|
|
2028
2028
|
declare const pcb_trace_error: z.ZodObject<{
|
|
2029
2029
|
type: z.ZodLiteral<"pcb_trace_error">;
|
|
2030
2030
|
pcb_trace_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2031
|
-
error_type: z.ZodLiteral<"pcb_trace_error"
|
|
2031
|
+
error_type: z.ZodDefault<z.ZodLiteral<"pcb_trace_error">>;
|
|
2032
2032
|
message: z.ZodString;
|
|
2033
2033
|
center: z.ZodOptional<z.ZodObject<{
|
|
2034
2034
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -2062,7 +2062,6 @@ declare const pcb_trace_error: z.ZodObject<{
|
|
|
2062
2062
|
type: "pcb_trace_error";
|
|
2063
2063
|
source_trace_id: string;
|
|
2064
2064
|
pcb_trace_id: string;
|
|
2065
|
-
error_type: "pcb_trace_error";
|
|
2066
2065
|
pcb_component_ids: string[];
|
|
2067
2066
|
pcb_port_ids: string[];
|
|
2068
2067
|
center?: {
|
|
@@ -2070,6 +2069,7 @@ declare const pcb_trace_error: z.ZodObject<{
|
|
|
2070
2069
|
y: string | number;
|
|
2071
2070
|
} | undefined;
|
|
2072
2071
|
pcb_trace_error_id?: string | undefined;
|
|
2072
|
+
error_type?: "pcb_trace_error" | undefined;
|
|
2073
2073
|
}>;
|
|
2074
2074
|
type PcbTraceErrorInput = z.input<typeof pcb_trace_error>;
|
|
2075
2075
|
/**
|
|
@@ -2094,17 +2094,20 @@ type PCBTraceError = PcbTraceError;
|
|
|
2094
2094
|
declare const pcb_port_not_matched_error: z.ZodObject<{
|
|
2095
2095
|
type: z.ZodLiteral<"pcb_port_not_matched_error">;
|
|
2096
2096
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2097
|
+
error_type: z.ZodDefault<z.ZodLiteral<"pcb_port_not_matched_error">>;
|
|
2097
2098
|
message: z.ZodString;
|
|
2098
2099
|
pcb_component_ids: z.ZodArray<z.ZodString, "many">;
|
|
2099
2100
|
}, "strip", z.ZodTypeAny, {
|
|
2100
2101
|
message: string;
|
|
2101
2102
|
type: "pcb_port_not_matched_error";
|
|
2103
|
+
error_type: "pcb_port_not_matched_error";
|
|
2102
2104
|
pcb_component_ids: string[];
|
|
2103
2105
|
pcb_error_id: string;
|
|
2104
2106
|
}, {
|
|
2105
2107
|
message: string;
|
|
2106
2108
|
type: "pcb_port_not_matched_error";
|
|
2107
2109
|
pcb_component_ids: string[];
|
|
2110
|
+
error_type?: "pcb_port_not_matched_error" | undefined;
|
|
2108
2111
|
pcb_error_id?: string | undefined;
|
|
2109
2112
|
}>;
|
|
2110
2113
|
type PcbPortNotMatchedErrorInput = z.input<typeof pcb_port_not_matched_error>;
|
|
@@ -2114,6 +2117,7 @@ type PcbPortNotMatchedErrorInput = z.input<typeof pcb_port_not_matched_error>;
|
|
|
2114
2117
|
interface PcbPortNotMatchedError {
|
|
2115
2118
|
type: "pcb_port_not_matched_error";
|
|
2116
2119
|
pcb_error_id: string;
|
|
2120
|
+
error_type: "pcb_port_not_matched_error";
|
|
2117
2121
|
message: string;
|
|
2118
2122
|
pcb_component_ids: string[];
|
|
2119
2123
|
}
|
|
@@ -2311,14 +2315,17 @@ type PCBBoard = PcbBoard;
|
|
|
2311
2315
|
declare const pcb_placement_error: z.ZodObject<{
|
|
2312
2316
|
type: z.ZodLiteral<"pcb_placement_error">;
|
|
2313
2317
|
pcb_placement_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2318
|
+
error_type: z.ZodDefault<z.ZodLiteral<"pcb_placement_error">>;
|
|
2314
2319
|
message: z.ZodString;
|
|
2315
2320
|
}, "strip", z.ZodTypeAny, {
|
|
2316
2321
|
message: string;
|
|
2317
2322
|
type: "pcb_placement_error";
|
|
2323
|
+
error_type: "pcb_placement_error";
|
|
2318
2324
|
pcb_placement_error_id: string;
|
|
2319
2325
|
}, {
|
|
2320
2326
|
message: string;
|
|
2321
2327
|
type: "pcb_placement_error";
|
|
2328
|
+
error_type?: "pcb_placement_error" | undefined;
|
|
2322
2329
|
pcb_placement_error_id?: string | undefined;
|
|
2323
2330
|
}>;
|
|
2324
2331
|
type PcbPlacementErrorInput = z.input<typeof pcb_placement_error>;
|
|
@@ -2328,6 +2335,7 @@ type PcbPlacementErrorInput = z.input<typeof pcb_placement_error>;
|
|
|
2328
2335
|
interface PcbPlacementError {
|
|
2329
2336
|
type: "pcb_placement_error";
|
|
2330
2337
|
pcb_placement_error_id: string;
|
|
2338
|
+
error_type: "pcb_placement_error";
|
|
2331
2339
|
message: string;
|
|
2332
2340
|
}
|
|
2333
2341
|
/**
|
|
@@ -3393,7 +3401,7 @@ declare const pcb_missing_footprint_error: z.ZodObject<{
|
|
|
3393
3401
|
pcb_missing_footprint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3394
3402
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3395
3403
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3396
|
-
error_type: z.ZodLiteral<"pcb_missing_footprint_error"
|
|
3404
|
+
error_type: z.ZodDefault<z.ZodLiteral<"pcb_missing_footprint_error">>;
|
|
3397
3405
|
source_component_id: z.ZodString;
|
|
3398
3406
|
message: z.ZodString;
|
|
3399
3407
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3408,9 +3416,9 @@ declare const pcb_missing_footprint_error: z.ZodObject<{
|
|
|
3408
3416
|
message: string;
|
|
3409
3417
|
type: "pcb_missing_footprint_error";
|
|
3410
3418
|
source_component_id: string;
|
|
3411
|
-
error_type: "pcb_missing_footprint_error";
|
|
3412
3419
|
subcircuit_id?: string | undefined;
|
|
3413
3420
|
pcb_group_id?: string | undefined;
|
|
3421
|
+
error_type?: "pcb_missing_footprint_error" | undefined;
|
|
3414
3422
|
pcb_missing_footprint_error_id?: string | undefined;
|
|
3415
3423
|
}>;
|
|
3416
3424
|
type PcbMissingFootprintErrorInput = z.input<typeof pcb_missing_footprint_error>;
|
|
@@ -3504,20 +3512,24 @@ interface PcbGroup {
|
|
|
3504
3512
|
declare const pcb_autorouting_error: z.ZodObject<{
|
|
3505
3513
|
type: z.ZodLiteral<"pcb_autorouting_error">;
|
|
3506
3514
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3515
|
+
error_type: z.ZodDefault<z.ZodLiteral<"pcb_autorouting_error">>;
|
|
3507
3516
|
message: z.ZodString;
|
|
3508
3517
|
}, "strip", z.ZodTypeAny, {
|
|
3509
3518
|
message: string;
|
|
3510
3519
|
type: "pcb_autorouting_error";
|
|
3520
|
+
error_type: "pcb_autorouting_error";
|
|
3511
3521
|
pcb_error_id: string;
|
|
3512
3522
|
}, {
|
|
3513
3523
|
message: string;
|
|
3514
3524
|
type: "pcb_autorouting_error";
|
|
3525
|
+
error_type?: "pcb_autorouting_error" | undefined;
|
|
3515
3526
|
pcb_error_id?: string | undefined;
|
|
3516
3527
|
}>;
|
|
3517
3528
|
type PcbAutoroutingErrorInput = z.input<typeof pcb_autorouting_error>;
|
|
3518
3529
|
interface PcbAutoroutingErrorInterface {
|
|
3519
3530
|
type: "pcb_autorouting_error";
|
|
3520
3531
|
pcb_error_id: string;
|
|
3532
|
+
error_type: "pcb_autorouting_error";
|
|
3521
3533
|
message: string;
|
|
3522
3534
|
}
|
|
3523
3535
|
type PcbAutoroutingError = PcbAutoroutingErrorInterface;
|
|
@@ -3525,6 +3537,7 @@ type PcbAutoroutingError = PcbAutoroutingErrorInterface;
|
|
|
3525
3537
|
declare const pcb_manual_edit_conflict_warning: z.ZodObject<{
|
|
3526
3538
|
type: z.ZodLiteral<"pcb_manual_edit_conflict_warning">;
|
|
3527
3539
|
pcb_manual_edit_conflict_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3540
|
+
warning_type: z.ZodDefault<z.ZodLiteral<"pcb_manual_edit_conflict_warning">>;
|
|
3528
3541
|
message: z.ZodString;
|
|
3529
3542
|
pcb_component_id: z.ZodString;
|
|
3530
3543
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3536,6 +3549,7 @@ declare const pcb_manual_edit_conflict_warning: z.ZodObject<{
|
|
|
3536
3549
|
pcb_component_id: string;
|
|
3537
3550
|
source_component_id: string;
|
|
3538
3551
|
pcb_manual_edit_conflict_warning_id: string;
|
|
3552
|
+
warning_type: "pcb_manual_edit_conflict_warning";
|
|
3539
3553
|
subcircuit_id?: string | undefined;
|
|
3540
3554
|
pcb_group_id?: string | undefined;
|
|
3541
3555
|
}, {
|
|
@@ -3546,6 +3560,7 @@ declare const pcb_manual_edit_conflict_warning: z.ZodObject<{
|
|
|
3546
3560
|
subcircuit_id?: string | undefined;
|
|
3547
3561
|
pcb_group_id?: string | undefined;
|
|
3548
3562
|
pcb_manual_edit_conflict_warning_id?: string | undefined;
|
|
3563
|
+
warning_type?: "pcb_manual_edit_conflict_warning" | undefined;
|
|
3549
3564
|
}>;
|
|
3550
3565
|
type PcbManualEditConflictWarningInput = z.input<typeof pcb_manual_edit_conflict_warning>;
|
|
3551
3566
|
/**
|
|
@@ -3554,6 +3569,7 @@ type PcbManualEditConflictWarningInput = z.input<typeof pcb_manual_edit_conflict
|
|
|
3554
3569
|
interface PcbManualEditConflictWarning {
|
|
3555
3570
|
type: "pcb_manual_edit_conflict_warning";
|
|
3556
3571
|
pcb_manual_edit_conflict_warning_id: string;
|
|
3572
|
+
warning_type: "pcb_manual_edit_conflict_warning";
|
|
3557
3573
|
message: string;
|
|
3558
3574
|
pcb_component_id: string;
|
|
3559
3575
|
pcb_group_id?: string;
|
|
@@ -4558,7 +4574,7 @@ interface SchematicError {
|
|
|
4558
4574
|
declare const schematic_error: z.ZodObject<{
|
|
4559
4575
|
type: z.ZodLiteral<"schematic_error">;
|
|
4560
4576
|
schematic_error_id: z.ZodString;
|
|
4561
|
-
error_type: z.ZodLiteral<"schematic_port_not_found"
|
|
4577
|
+
error_type: z.ZodDefault<z.ZodLiteral<"schematic_port_not_found">>;
|
|
4562
4578
|
message: z.ZodString;
|
|
4563
4579
|
}, "strip", z.ZodTypeAny, {
|
|
4564
4580
|
message: string;
|
|
@@ -4568,20 +4584,22 @@ declare const schematic_error: z.ZodObject<{
|
|
|
4568
4584
|
}, {
|
|
4569
4585
|
message: string;
|
|
4570
4586
|
type: "schematic_error";
|
|
4571
|
-
error_type: "schematic_port_not_found";
|
|
4572
4587
|
schematic_error_id: string;
|
|
4588
|
+
error_type?: "schematic_port_not_found" | undefined;
|
|
4573
4589
|
}>;
|
|
4574
4590
|
type SchematicErrorInput = z.input<typeof schematic_error>;
|
|
4575
4591
|
|
|
4576
4592
|
declare const schematic_layout_error: z.ZodObject<{
|
|
4577
4593
|
type: z.ZodLiteral<"schematic_layout_error">;
|
|
4578
4594
|
schematic_layout_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4595
|
+
error_type: z.ZodDefault<z.ZodLiteral<"schematic_layout_error">>;
|
|
4579
4596
|
message: z.ZodString;
|
|
4580
4597
|
source_group_id: z.ZodString;
|
|
4581
4598
|
schematic_group_id: z.ZodString;
|
|
4582
4599
|
}, "strip", z.ZodTypeAny, {
|
|
4583
4600
|
message: string;
|
|
4584
4601
|
type: "schematic_layout_error";
|
|
4602
|
+
error_type: "schematic_layout_error";
|
|
4585
4603
|
source_group_id: string;
|
|
4586
4604
|
schematic_group_id: string;
|
|
4587
4605
|
schematic_layout_error_id: string;
|
|
@@ -4590,12 +4608,14 @@ declare const schematic_layout_error: z.ZodObject<{
|
|
|
4590
4608
|
type: "schematic_layout_error";
|
|
4591
4609
|
source_group_id: string;
|
|
4592
4610
|
schematic_group_id: string;
|
|
4611
|
+
error_type?: "schematic_layout_error" | undefined;
|
|
4593
4612
|
schematic_layout_error_id?: string | undefined;
|
|
4594
4613
|
}>;
|
|
4595
4614
|
type SchematicLayoutErrorInput = z.input<typeof schematic_layout_error>;
|
|
4596
4615
|
interface SchematicLayoutError {
|
|
4597
4616
|
type: "schematic_layout_error";
|
|
4598
4617
|
schematic_layout_error_id: string;
|
|
4618
|
+
error_type: "schematic_layout_error";
|
|
4599
4619
|
message: string;
|
|
4600
4620
|
source_group_id: string;
|
|
4601
4621
|
schematic_group_id: string;
|
|
@@ -4942,6 +4962,7 @@ type SchematicVoltageProbeInput = z.input<typeof schematic_voltage_probe>;
|
|
|
4942
4962
|
declare const schematic_manual_edit_conflict_warning: z.ZodObject<{
|
|
4943
4963
|
type: z.ZodLiteral<"schematic_manual_edit_conflict_warning">;
|
|
4944
4964
|
schematic_manual_edit_conflict_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4965
|
+
warning_type: z.ZodDefault<z.ZodLiteral<"schematic_manual_edit_conflict_warning">>;
|
|
4945
4966
|
message: z.ZodString;
|
|
4946
4967
|
schematic_component_id: z.ZodString;
|
|
4947
4968
|
schematic_group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -4951,6 +4972,7 @@ declare const schematic_manual_edit_conflict_warning: z.ZodObject<{
|
|
|
4951
4972
|
message: string;
|
|
4952
4973
|
type: "schematic_manual_edit_conflict_warning";
|
|
4953
4974
|
source_component_id: string;
|
|
4975
|
+
warning_type: "schematic_manual_edit_conflict_warning";
|
|
4954
4976
|
schematic_component_id: string;
|
|
4955
4977
|
schematic_manual_edit_conflict_warning_id: string;
|
|
4956
4978
|
subcircuit_id?: string | undefined;
|
|
@@ -4961,6 +4983,7 @@ declare const schematic_manual_edit_conflict_warning: z.ZodObject<{
|
|
|
4961
4983
|
source_component_id: string;
|
|
4962
4984
|
schematic_component_id: string;
|
|
4963
4985
|
subcircuit_id?: string | undefined;
|
|
4986
|
+
warning_type?: "schematic_manual_edit_conflict_warning" | undefined;
|
|
4964
4987
|
schematic_group_id?: string | undefined;
|
|
4965
4988
|
schematic_manual_edit_conflict_warning_id?: string | undefined;
|
|
4966
4989
|
}>;
|
|
@@ -4971,6 +4994,7 @@ type SchematicManualEditConflictWarningInput = z.input<typeof schematic_manual_e
|
|
|
4971
4994
|
interface SchematicManualEditConflictWarning {
|
|
4972
4995
|
type: "schematic_manual_edit_conflict_warning";
|
|
4973
4996
|
schematic_manual_edit_conflict_warning_id: string;
|
|
4997
|
+
warning_type: "schematic_manual_edit_conflict_warning";
|
|
4974
4998
|
message: string;
|
|
4975
4999
|
schematic_component_id: string;
|
|
4976
5000
|
schematic_group_id?: string;
|
|
@@ -6056,7 +6080,7 @@ declare const source_missing_property_error: z.ZodObject<{
|
|
|
6056
6080
|
source_missing_property_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
6057
6081
|
source_component_id: z.ZodString;
|
|
6058
6082
|
property_name: z.ZodString;
|
|
6059
|
-
error_type: z.ZodLiteral<"source_missing_property_error"
|
|
6083
|
+
error_type: z.ZodDefault<z.ZodLiteral<"source_missing_property_error">>;
|
|
6060
6084
|
message: z.ZodString;
|
|
6061
6085
|
}, "strip", z.ZodTypeAny, {
|
|
6062
6086
|
message: string;
|
|
@@ -6069,8 +6093,8 @@ declare const source_missing_property_error: z.ZodObject<{
|
|
|
6069
6093
|
message: string;
|
|
6070
6094
|
type: "source_missing_property_error";
|
|
6071
6095
|
source_component_id: string;
|
|
6072
|
-
error_type: "source_missing_property_error";
|
|
6073
6096
|
property_name: string;
|
|
6097
|
+
error_type?: "source_missing_property_error" | undefined;
|
|
6074
6098
|
source_missing_property_error_id?: string | undefined;
|
|
6075
6099
|
}>;
|
|
6076
6100
|
type SourceMissingPropertyErrorInput = z.input<typeof source_missing_property_error>;
|
|
@@ -6089,6 +6113,7 @@ interface SourceMissingPropertyError {
|
|
|
6089
6113
|
declare const source_failed_to_create_component_error: z.ZodObject<{
|
|
6090
6114
|
type: z.ZodLiteral<"source_failed_to_create_component_error">;
|
|
6091
6115
|
source_failed_to_create_component_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
6116
|
+
error_type: z.ZodDefault<z.ZodLiteral<"source_failed_to_create_component_error">>;
|
|
6092
6117
|
component_name: z.ZodOptional<z.ZodString>;
|
|
6093
6118
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6094
6119
|
parent_source_component_id: z.ZodOptional<z.ZodString>;
|
|
@@ -6116,6 +6141,7 @@ declare const source_failed_to_create_component_error: z.ZodObject<{
|
|
|
6116
6141
|
}, "strip", z.ZodTypeAny, {
|
|
6117
6142
|
message: string;
|
|
6118
6143
|
type: "source_failed_to_create_component_error";
|
|
6144
|
+
error_type: "source_failed_to_create_component_error";
|
|
6119
6145
|
source_failed_to_create_component_error_id: string;
|
|
6120
6146
|
subcircuit_id?: string | undefined;
|
|
6121
6147
|
component_name?: string | undefined;
|
|
@@ -6132,6 +6158,7 @@ declare const source_failed_to_create_component_error: z.ZodObject<{
|
|
|
6132
6158
|
message: string;
|
|
6133
6159
|
type: "source_failed_to_create_component_error";
|
|
6134
6160
|
subcircuit_id?: string | undefined;
|
|
6161
|
+
error_type?: "source_failed_to_create_component_error" | undefined;
|
|
6135
6162
|
source_failed_to_create_component_error_id?: string | undefined;
|
|
6136
6163
|
component_name?: string | undefined;
|
|
6137
6164
|
parent_source_component_id?: string | undefined;
|
|
@@ -6152,6 +6179,7 @@ type SourceFailedToCreateComponentErrorInput = z.input<typeof source_failed_to_c
|
|
|
6152
6179
|
interface SourceFailedToCreateComponentError {
|
|
6153
6180
|
type: "source_failed_to_create_component_error";
|
|
6154
6181
|
source_failed_to_create_component_error_id: string;
|
|
6182
|
+
error_type: "source_failed_to_create_component_error";
|
|
6155
6183
|
message: string;
|
|
6156
6184
|
component_name?: string;
|
|
6157
6185
|
subcircuit_id?: string;
|
|
@@ -6959,7 +6987,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6959
6987
|
source_missing_property_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
6960
6988
|
source_component_id: z.ZodString;
|
|
6961
6989
|
property_name: z.ZodString;
|
|
6962
|
-
error_type: z.ZodLiteral<"source_missing_property_error"
|
|
6990
|
+
error_type: z.ZodDefault<z.ZodLiteral<"source_missing_property_error">>;
|
|
6963
6991
|
message: z.ZodString;
|
|
6964
6992
|
}, "strip", z.ZodTypeAny, {
|
|
6965
6993
|
message: string;
|
|
@@ -6972,12 +7000,13 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6972
7000
|
message: string;
|
|
6973
7001
|
type: "source_missing_property_error";
|
|
6974
7002
|
source_component_id: string;
|
|
6975
|
-
error_type: "source_missing_property_error";
|
|
6976
7003
|
property_name: string;
|
|
7004
|
+
error_type?: "source_missing_property_error" | undefined;
|
|
6977
7005
|
source_missing_property_error_id?: string | undefined;
|
|
6978
7006
|
}>, z.ZodObject<{
|
|
6979
7007
|
type: z.ZodLiteral<"source_failed_to_create_component_error">;
|
|
6980
7008
|
source_failed_to_create_component_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7009
|
+
error_type: z.ZodDefault<z.ZodLiteral<"source_failed_to_create_component_error">>;
|
|
6981
7010
|
component_name: z.ZodOptional<z.ZodString>;
|
|
6982
7011
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6983
7012
|
parent_source_component_id: z.ZodOptional<z.ZodString>;
|
|
@@ -7005,6 +7034,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
7005
7034
|
}, "strip", z.ZodTypeAny, {
|
|
7006
7035
|
message: string;
|
|
7007
7036
|
type: "source_failed_to_create_component_error";
|
|
7037
|
+
error_type: "source_failed_to_create_component_error";
|
|
7008
7038
|
source_failed_to_create_component_error_id: string;
|
|
7009
7039
|
subcircuit_id?: string | undefined;
|
|
7010
7040
|
component_name?: string | undefined;
|
|
@@ -7021,6 +7051,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
7021
7051
|
message: string;
|
|
7022
7052
|
type: "source_failed_to_create_component_error";
|
|
7023
7053
|
subcircuit_id?: string | undefined;
|
|
7054
|
+
error_type?: "source_failed_to_create_component_error" | undefined;
|
|
7024
7055
|
source_failed_to_create_component_error_id?: string | undefined;
|
|
7025
7056
|
component_name?: string | undefined;
|
|
7026
7057
|
parent_source_component_id?: string | undefined;
|
|
@@ -8156,7 +8187,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8156
8187
|
source_missing_property_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
8157
8188
|
source_component_id: z.ZodString;
|
|
8158
8189
|
property_name: z.ZodString;
|
|
8159
|
-
error_type: z.ZodLiteral<"source_missing_property_error"
|
|
8190
|
+
error_type: z.ZodDefault<z.ZodLiteral<"source_missing_property_error">>;
|
|
8160
8191
|
message: z.ZodString;
|
|
8161
8192
|
}, "strip", z.ZodTypeAny, {
|
|
8162
8193
|
message: string;
|
|
@@ -8169,12 +8200,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8169
8200
|
message: string;
|
|
8170
8201
|
type: "source_missing_property_error";
|
|
8171
8202
|
source_component_id: string;
|
|
8172
|
-
error_type: "source_missing_property_error";
|
|
8173
8203
|
property_name: string;
|
|
8204
|
+
error_type?: "source_missing_property_error" | undefined;
|
|
8174
8205
|
source_missing_property_error_id?: string | undefined;
|
|
8175
8206
|
}>, z.ZodObject<{
|
|
8176
8207
|
type: z.ZodLiteral<"source_failed_to_create_component_error">;
|
|
8177
8208
|
source_failed_to_create_component_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
8209
|
+
error_type: z.ZodDefault<z.ZodLiteral<"source_failed_to_create_component_error">>;
|
|
8178
8210
|
component_name: z.ZodOptional<z.ZodString>;
|
|
8179
8211
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8180
8212
|
parent_source_component_id: z.ZodOptional<z.ZodString>;
|
|
@@ -8202,6 +8234,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8202
8234
|
}, "strip", z.ZodTypeAny, {
|
|
8203
8235
|
message: string;
|
|
8204
8236
|
type: "source_failed_to_create_component_error";
|
|
8237
|
+
error_type: "source_failed_to_create_component_error";
|
|
8205
8238
|
source_failed_to_create_component_error_id: string;
|
|
8206
8239
|
subcircuit_id?: string | undefined;
|
|
8207
8240
|
component_name?: string | undefined;
|
|
@@ -8218,6 +8251,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8218
8251
|
message: string;
|
|
8219
8252
|
type: "source_failed_to_create_component_error";
|
|
8220
8253
|
subcircuit_id?: string | undefined;
|
|
8254
|
+
error_type?: "source_failed_to_create_component_error" | undefined;
|
|
8221
8255
|
source_failed_to_create_component_error_id?: string | undefined;
|
|
8222
8256
|
component_name?: string | undefined;
|
|
8223
8257
|
parent_source_component_id?: string | undefined;
|
|
@@ -9080,7 +9114,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9080
9114
|
pcb_missing_footprint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
9081
9115
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
9082
9116
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9083
|
-
error_type: z.ZodLiteral<"pcb_missing_footprint_error"
|
|
9117
|
+
error_type: z.ZodDefault<z.ZodLiteral<"pcb_missing_footprint_error">>;
|
|
9084
9118
|
source_component_id: z.ZodString;
|
|
9085
9119
|
message: z.ZodString;
|
|
9086
9120
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9095,13 +9129,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9095
9129
|
message: string;
|
|
9096
9130
|
type: "pcb_missing_footprint_error";
|
|
9097
9131
|
source_component_id: string;
|
|
9098
|
-
error_type: "pcb_missing_footprint_error";
|
|
9099
9132
|
subcircuit_id?: string | undefined;
|
|
9100
9133
|
pcb_group_id?: string | undefined;
|
|
9134
|
+
error_type?: "pcb_missing_footprint_error" | undefined;
|
|
9101
9135
|
pcb_missing_footprint_error_id?: string | undefined;
|
|
9102
9136
|
}>, z.ZodObject<{
|
|
9103
9137
|
type: z.ZodLiteral<"pcb_manual_edit_conflict_warning">;
|
|
9104
9138
|
pcb_manual_edit_conflict_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
9139
|
+
warning_type: z.ZodDefault<z.ZodLiteral<"pcb_manual_edit_conflict_warning">>;
|
|
9105
9140
|
message: z.ZodString;
|
|
9106
9141
|
pcb_component_id: z.ZodString;
|
|
9107
9142
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -9113,6 +9148,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9113
9148
|
pcb_component_id: string;
|
|
9114
9149
|
source_component_id: string;
|
|
9115
9150
|
pcb_manual_edit_conflict_warning_id: string;
|
|
9151
|
+
warning_type: "pcb_manual_edit_conflict_warning";
|
|
9116
9152
|
subcircuit_id?: string | undefined;
|
|
9117
9153
|
pcb_group_id?: string | undefined;
|
|
9118
9154
|
}, {
|
|
@@ -9123,6 +9159,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9123
9159
|
subcircuit_id?: string | undefined;
|
|
9124
9160
|
pcb_group_id?: string | undefined;
|
|
9125
9161
|
pcb_manual_edit_conflict_warning_id?: string | undefined;
|
|
9162
|
+
warning_type?: "pcb_manual_edit_conflict_warning" | undefined;
|
|
9126
9163
|
}>, z.ZodUnion<[z.ZodObject<{
|
|
9127
9164
|
type: z.ZodLiteral<"pcb_plated_hole">;
|
|
9128
9165
|
shape: z.ZodLiteral<"circle">;
|
|
@@ -10748,7 +10785,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10748
10785
|
}>, z.ZodObject<{
|
|
10749
10786
|
type: z.ZodLiteral<"pcb_trace_error">;
|
|
10750
10787
|
pcb_trace_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10751
|
-
error_type: z.ZodLiteral<"pcb_trace_error"
|
|
10788
|
+
error_type: z.ZodDefault<z.ZodLiteral<"pcb_trace_error">>;
|
|
10752
10789
|
message: z.ZodString;
|
|
10753
10790
|
center: z.ZodOptional<z.ZodObject<{
|
|
10754
10791
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -10782,7 +10819,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10782
10819
|
type: "pcb_trace_error";
|
|
10783
10820
|
source_trace_id: string;
|
|
10784
10821
|
pcb_trace_id: string;
|
|
10785
|
-
error_type: "pcb_trace_error";
|
|
10786
10822
|
pcb_component_ids: string[];
|
|
10787
10823
|
pcb_port_ids: string[];
|
|
10788
10824
|
center?: {
|
|
@@ -10790,32 +10826,39 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10790
10826
|
y: string | number;
|
|
10791
10827
|
} | undefined;
|
|
10792
10828
|
pcb_trace_error_id?: string | undefined;
|
|
10829
|
+
error_type?: "pcb_trace_error" | undefined;
|
|
10793
10830
|
}>, z.ZodObject<{
|
|
10794
10831
|
type: z.ZodLiteral<"pcb_placement_error">;
|
|
10795
10832
|
pcb_placement_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10833
|
+
error_type: z.ZodDefault<z.ZodLiteral<"pcb_placement_error">>;
|
|
10796
10834
|
message: z.ZodString;
|
|
10797
10835
|
}, "strip", z.ZodTypeAny, {
|
|
10798
10836
|
message: string;
|
|
10799
10837
|
type: "pcb_placement_error";
|
|
10838
|
+
error_type: "pcb_placement_error";
|
|
10800
10839
|
pcb_placement_error_id: string;
|
|
10801
10840
|
}, {
|
|
10802
10841
|
message: string;
|
|
10803
10842
|
type: "pcb_placement_error";
|
|
10843
|
+
error_type?: "pcb_placement_error" | undefined;
|
|
10804
10844
|
pcb_placement_error_id?: string | undefined;
|
|
10805
10845
|
}>, z.ZodObject<{
|
|
10806
10846
|
type: z.ZodLiteral<"pcb_port_not_matched_error">;
|
|
10807
10847
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10848
|
+
error_type: z.ZodDefault<z.ZodLiteral<"pcb_port_not_matched_error">>;
|
|
10808
10849
|
message: z.ZodString;
|
|
10809
10850
|
pcb_component_ids: z.ZodArray<z.ZodString, "many">;
|
|
10810
10851
|
}, "strip", z.ZodTypeAny, {
|
|
10811
10852
|
message: string;
|
|
10812
10853
|
type: "pcb_port_not_matched_error";
|
|
10854
|
+
error_type: "pcb_port_not_matched_error";
|
|
10813
10855
|
pcb_component_ids: string[];
|
|
10814
10856
|
pcb_error_id: string;
|
|
10815
10857
|
}, {
|
|
10816
10858
|
message: string;
|
|
10817
10859
|
type: "pcb_port_not_matched_error";
|
|
10818
10860
|
pcb_component_ids: string[];
|
|
10861
|
+
error_type?: "pcb_port_not_matched_error" | undefined;
|
|
10819
10862
|
pcb_error_id?: string | undefined;
|
|
10820
10863
|
}>, z.ZodObject<{
|
|
10821
10864
|
type: z.ZodLiteral<"pcb_fabrication_note_path">;
|
|
@@ -10926,14 +10969,17 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10926
10969
|
}>, z.ZodObject<{
|
|
10927
10970
|
type: z.ZodLiteral<"pcb_autorouting_error">;
|
|
10928
10971
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10972
|
+
error_type: z.ZodDefault<z.ZodLiteral<"pcb_autorouting_error">>;
|
|
10929
10973
|
message: z.ZodString;
|
|
10930
10974
|
}, "strip", z.ZodTypeAny, {
|
|
10931
10975
|
message: string;
|
|
10932
10976
|
type: "pcb_autorouting_error";
|
|
10977
|
+
error_type: "pcb_autorouting_error";
|
|
10933
10978
|
pcb_error_id: string;
|
|
10934
10979
|
}, {
|
|
10935
10980
|
message: string;
|
|
10936
10981
|
type: "pcb_autorouting_error";
|
|
10982
|
+
error_type?: "pcb_autorouting_error" | undefined;
|
|
10937
10983
|
pcb_error_id?: string | undefined;
|
|
10938
10984
|
}>, z.ZodObject<{
|
|
10939
10985
|
type: z.ZodLiteral<"pcb_breakout_point">;
|
|
@@ -11604,7 +11650,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11604
11650
|
}>, z.ZodObject<{
|
|
11605
11651
|
type: z.ZodLiteral<"schematic_error">;
|
|
11606
11652
|
schematic_error_id: z.ZodString;
|
|
11607
|
-
error_type: z.ZodLiteral<"schematic_port_not_found"
|
|
11653
|
+
error_type: z.ZodDefault<z.ZodLiteral<"schematic_port_not_found">>;
|
|
11608
11654
|
message: z.ZodString;
|
|
11609
11655
|
}, "strip", z.ZodTypeAny, {
|
|
11610
11656
|
message: string;
|
|
@@ -11614,17 +11660,19 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11614
11660
|
}, {
|
|
11615
11661
|
message: string;
|
|
11616
11662
|
type: "schematic_error";
|
|
11617
|
-
error_type: "schematic_port_not_found";
|
|
11618
11663
|
schematic_error_id: string;
|
|
11664
|
+
error_type?: "schematic_port_not_found" | undefined;
|
|
11619
11665
|
}>, z.ZodObject<{
|
|
11620
11666
|
type: z.ZodLiteral<"schematic_layout_error">;
|
|
11621
11667
|
schematic_layout_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11668
|
+
error_type: z.ZodDefault<z.ZodLiteral<"schematic_layout_error">>;
|
|
11622
11669
|
message: z.ZodString;
|
|
11623
11670
|
source_group_id: z.ZodString;
|
|
11624
11671
|
schematic_group_id: z.ZodString;
|
|
11625
11672
|
}, "strip", z.ZodTypeAny, {
|
|
11626
11673
|
message: string;
|
|
11627
11674
|
type: "schematic_layout_error";
|
|
11675
|
+
error_type: "schematic_layout_error";
|
|
11628
11676
|
source_group_id: string;
|
|
11629
11677
|
schematic_group_id: string;
|
|
11630
11678
|
schematic_layout_error_id: string;
|
|
@@ -11633,6 +11681,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11633
11681
|
type: "schematic_layout_error";
|
|
11634
11682
|
source_group_id: string;
|
|
11635
11683
|
schematic_group_id: string;
|
|
11684
|
+
error_type?: "schematic_layout_error" | undefined;
|
|
11636
11685
|
schematic_layout_error_id?: string | undefined;
|
|
11637
11686
|
}>, z.ZodObject<{
|
|
11638
11687
|
type: z.ZodLiteral<"schematic_net_label">;
|
|
@@ -11862,6 +11911,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11862
11911
|
}>, z.ZodObject<{
|
|
11863
11912
|
type: z.ZodLiteral<"schematic_manual_edit_conflict_warning">;
|
|
11864
11913
|
schematic_manual_edit_conflict_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11914
|
+
warning_type: z.ZodDefault<z.ZodLiteral<"schematic_manual_edit_conflict_warning">>;
|
|
11865
11915
|
message: z.ZodString;
|
|
11866
11916
|
schematic_component_id: z.ZodString;
|
|
11867
11917
|
schematic_group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -11871,6 +11921,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11871
11921
|
message: string;
|
|
11872
11922
|
type: "schematic_manual_edit_conflict_warning";
|
|
11873
11923
|
source_component_id: string;
|
|
11924
|
+
warning_type: "schematic_manual_edit_conflict_warning";
|
|
11874
11925
|
schematic_component_id: string;
|
|
11875
11926
|
schematic_manual_edit_conflict_warning_id: string;
|
|
11876
11927
|
subcircuit_id?: string | undefined;
|
|
@@ -11881,6 +11932,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11881
11932
|
source_component_id: string;
|
|
11882
11933
|
schematic_component_id: string;
|
|
11883
11934
|
subcircuit_id?: string | undefined;
|
|
11935
|
+
warning_type?: "schematic_manual_edit_conflict_warning" | undefined;
|
|
11884
11936
|
schematic_group_id?: string | undefined;
|
|
11885
11937
|
schematic_manual_edit_conflict_warning_id?: string | undefined;
|
|
11886
11938
|
}>, z.ZodObject<{
|
|
@@ -12900,7 +12952,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12900
12952
|
source_missing_property_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
12901
12953
|
source_component_id: z.ZodString;
|
|
12902
12954
|
property_name: z.ZodString;
|
|
12903
|
-
error_type: z.ZodLiteral<"source_missing_property_error"
|
|
12955
|
+
error_type: z.ZodDefault<z.ZodLiteral<"source_missing_property_error">>;
|
|
12904
12956
|
message: z.ZodString;
|
|
12905
12957
|
}, "strip", z.ZodTypeAny, {
|
|
12906
12958
|
message: string;
|
|
@@ -12913,12 +12965,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12913
12965
|
message: string;
|
|
12914
12966
|
type: "source_missing_property_error";
|
|
12915
12967
|
source_component_id: string;
|
|
12916
|
-
error_type: "source_missing_property_error";
|
|
12917
12968
|
property_name: string;
|
|
12969
|
+
error_type?: "source_missing_property_error" | undefined;
|
|
12918
12970
|
source_missing_property_error_id?: string | undefined;
|
|
12919
12971
|
}>, z.ZodObject<{
|
|
12920
12972
|
type: z.ZodLiteral<"source_failed_to_create_component_error">;
|
|
12921
12973
|
source_failed_to_create_component_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
12974
|
+
error_type: z.ZodDefault<z.ZodLiteral<"source_failed_to_create_component_error">>;
|
|
12922
12975
|
component_name: z.ZodOptional<z.ZodString>;
|
|
12923
12976
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12924
12977
|
parent_source_component_id: z.ZodOptional<z.ZodString>;
|
|
@@ -12946,6 +12999,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12946
12999
|
}, "strip", z.ZodTypeAny, {
|
|
12947
13000
|
message: string;
|
|
12948
13001
|
type: "source_failed_to_create_component_error";
|
|
13002
|
+
error_type: "source_failed_to_create_component_error";
|
|
12949
13003
|
source_failed_to_create_component_error_id: string;
|
|
12950
13004
|
subcircuit_id?: string | undefined;
|
|
12951
13005
|
component_name?: string | undefined;
|
|
@@ -12962,6 +13016,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12962
13016
|
message: string;
|
|
12963
13017
|
type: "source_failed_to_create_component_error";
|
|
12964
13018
|
subcircuit_id?: string | undefined;
|
|
13019
|
+
error_type?: "source_failed_to_create_component_error" | undefined;
|
|
12965
13020
|
source_failed_to_create_component_error_id?: string | undefined;
|
|
12966
13021
|
component_name?: string | undefined;
|
|
12967
13022
|
parent_source_component_id?: string | undefined;
|
|
@@ -13824,7 +13879,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13824
13879
|
pcb_missing_footprint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
13825
13880
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
13826
13881
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13827
|
-
error_type: z.ZodLiteral<"pcb_missing_footprint_error"
|
|
13882
|
+
error_type: z.ZodDefault<z.ZodLiteral<"pcb_missing_footprint_error">>;
|
|
13828
13883
|
source_component_id: z.ZodString;
|
|
13829
13884
|
message: z.ZodString;
|
|
13830
13885
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13839,13 +13894,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13839
13894
|
message: string;
|
|
13840
13895
|
type: "pcb_missing_footprint_error";
|
|
13841
13896
|
source_component_id: string;
|
|
13842
|
-
error_type: "pcb_missing_footprint_error";
|
|
13843
13897
|
subcircuit_id?: string | undefined;
|
|
13844
13898
|
pcb_group_id?: string | undefined;
|
|
13899
|
+
error_type?: "pcb_missing_footprint_error" | undefined;
|
|
13845
13900
|
pcb_missing_footprint_error_id?: string | undefined;
|
|
13846
13901
|
}>, z.ZodObject<{
|
|
13847
13902
|
type: z.ZodLiteral<"pcb_manual_edit_conflict_warning">;
|
|
13848
13903
|
pcb_manual_edit_conflict_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
13904
|
+
warning_type: z.ZodDefault<z.ZodLiteral<"pcb_manual_edit_conflict_warning">>;
|
|
13849
13905
|
message: z.ZodString;
|
|
13850
13906
|
pcb_component_id: z.ZodString;
|
|
13851
13907
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -13857,6 +13913,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13857
13913
|
pcb_component_id: string;
|
|
13858
13914
|
source_component_id: string;
|
|
13859
13915
|
pcb_manual_edit_conflict_warning_id: string;
|
|
13916
|
+
warning_type: "pcb_manual_edit_conflict_warning";
|
|
13860
13917
|
subcircuit_id?: string | undefined;
|
|
13861
13918
|
pcb_group_id?: string | undefined;
|
|
13862
13919
|
}, {
|
|
@@ -13867,6 +13924,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13867
13924
|
subcircuit_id?: string | undefined;
|
|
13868
13925
|
pcb_group_id?: string | undefined;
|
|
13869
13926
|
pcb_manual_edit_conflict_warning_id?: string | undefined;
|
|
13927
|
+
warning_type?: "pcb_manual_edit_conflict_warning" | undefined;
|
|
13870
13928
|
}>, z.ZodUnion<[z.ZodObject<{
|
|
13871
13929
|
type: z.ZodLiteral<"pcb_plated_hole">;
|
|
13872
13930
|
shape: z.ZodLiteral<"circle">;
|
|
@@ -15492,7 +15550,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15492
15550
|
}>, z.ZodObject<{
|
|
15493
15551
|
type: z.ZodLiteral<"pcb_trace_error">;
|
|
15494
15552
|
pcb_trace_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15495
|
-
error_type: z.ZodLiteral<"pcb_trace_error"
|
|
15553
|
+
error_type: z.ZodDefault<z.ZodLiteral<"pcb_trace_error">>;
|
|
15496
15554
|
message: z.ZodString;
|
|
15497
15555
|
center: z.ZodOptional<z.ZodObject<{
|
|
15498
15556
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -15526,7 +15584,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15526
15584
|
type: "pcb_trace_error";
|
|
15527
15585
|
source_trace_id: string;
|
|
15528
15586
|
pcb_trace_id: string;
|
|
15529
|
-
error_type: "pcb_trace_error";
|
|
15530
15587
|
pcb_component_ids: string[];
|
|
15531
15588
|
pcb_port_ids: string[];
|
|
15532
15589
|
center?: {
|
|
@@ -15534,32 +15591,39 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15534
15591
|
y: string | number;
|
|
15535
15592
|
} | undefined;
|
|
15536
15593
|
pcb_trace_error_id?: string | undefined;
|
|
15594
|
+
error_type?: "pcb_trace_error" | undefined;
|
|
15537
15595
|
}>, z.ZodObject<{
|
|
15538
15596
|
type: z.ZodLiteral<"pcb_placement_error">;
|
|
15539
15597
|
pcb_placement_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15598
|
+
error_type: z.ZodDefault<z.ZodLiteral<"pcb_placement_error">>;
|
|
15540
15599
|
message: z.ZodString;
|
|
15541
15600
|
}, "strip", z.ZodTypeAny, {
|
|
15542
15601
|
message: string;
|
|
15543
15602
|
type: "pcb_placement_error";
|
|
15603
|
+
error_type: "pcb_placement_error";
|
|
15544
15604
|
pcb_placement_error_id: string;
|
|
15545
15605
|
}, {
|
|
15546
15606
|
message: string;
|
|
15547
15607
|
type: "pcb_placement_error";
|
|
15608
|
+
error_type?: "pcb_placement_error" | undefined;
|
|
15548
15609
|
pcb_placement_error_id?: string | undefined;
|
|
15549
15610
|
}>, z.ZodObject<{
|
|
15550
15611
|
type: z.ZodLiteral<"pcb_port_not_matched_error">;
|
|
15551
15612
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15613
|
+
error_type: z.ZodDefault<z.ZodLiteral<"pcb_port_not_matched_error">>;
|
|
15552
15614
|
message: z.ZodString;
|
|
15553
15615
|
pcb_component_ids: z.ZodArray<z.ZodString, "many">;
|
|
15554
15616
|
}, "strip", z.ZodTypeAny, {
|
|
15555
15617
|
message: string;
|
|
15556
15618
|
type: "pcb_port_not_matched_error";
|
|
15619
|
+
error_type: "pcb_port_not_matched_error";
|
|
15557
15620
|
pcb_component_ids: string[];
|
|
15558
15621
|
pcb_error_id: string;
|
|
15559
15622
|
}, {
|
|
15560
15623
|
message: string;
|
|
15561
15624
|
type: "pcb_port_not_matched_error";
|
|
15562
15625
|
pcb_component_ids: string[];
|
|
15626
|
+
error_type?: "pcb_port_not_matched_error" | undefined;
|
|
15563
15627
|
pcb_error_id?: string | undefined;
|
|
15564
15628
|
}>, z.ZodObject<{
|
|
15565
15629
|
type: z.ZodLiteral<"pcb_fabrication_note_path">;
|
|
@@ -15670,14 +15734,17 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15670
15734
|
}>, z.ZodObject<{
|
|
15671
15735
|
type: z.ZodLiteral<"pcb_autorouting_error">;
|
|
15672
15736
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15737
|
+
error_type: z.ZodDefault<z.ZodLiteral<"pcb_autorouting_error">>;
|
|
15673
15738
|
message: z.ZodString;
|
|
15674
15739
|
}, "strip", z.ZodTypeAny, {
|
|
15675
15740
|
message: string;
|
|
15676
15741
|
type: "pcb_autorouting_error";
|
|
15742
|
+
error_type: "pcb_autorouting_error";
|
|
15677
15743
|
pcb_error_id: string;
|
|
15678
15744
|
}, {
|
|
15679
15745
|
message: string;
|
|
15680
15746
|
type: "pcb_autorouting_error";
|
|
15747
|
+
error_type?: "pcb_autorouting_error" | undefined;
|
|
15681
15748
|
pcb_error_id?: string | undefined;
|
|
15682
15749
|
}>, z.ZodObject<{
|
|
15683
15750
|
type: z.ZodLiteral<"pcb_breakout_point">;
|
|
@@ -16348,7 +16415,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16348
16415
|
}>, z.ZodObject<{
|
|
16349
16416
|
type: z.ZodLiteral<"schematic_error">;
|
|
16350
16417
|
schematic_error_id: z.ZodString;
|
|
16351
|
-
error_type: z.ZodLiteral<"schematic_port_not_found"
|
|
16418
|
+
error_type: z.ZodDefault<z.ZodLiteral<"schematic_port_not_found">>;
|
|
16352
16419
|
message: z.ZodString;
|
|
16353
16420
|
}, "strip", z.ZodTypeAny, {
|
|
16354
16421
|
message: string;
|
|
@@ -16358,17 +16425,19 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16358
16425
|
}, {
|
|
16359
16426
|
message: string;
|
|
16360
16427
|
type: "schematic_error";
|
|
16361
|
-
error_type: "schematic_port_not_found";
|
|
16362
16428
|
schematic_error_id: string;
|
|
16429
|
+
error_type?: "schematic_port_not_found" | undefined;
|
|
16363
16430
|
}>, z.ZodObject<{
|
|
16364
16431
|
type: z.ZodLiteral<"schematic_layout_error">;
|
|
16365
16432
|
schematic_layout_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
16433
|
+
error_type: z.ZodDefault<z.ZodLiteral<"schematic_layout_error">>;
|
|
16366
16434
|
message: z.ZodString;
|
|
16367
16435
|
source_group_id: z.ZodString;
|
|
16368
16436
|
schematic_group_id: z.ZodString;
|
|
16369
16437
|
}, "strip", z.ZodTypeAny, {
|
|
16370
16438
|
message: string;
|
|
16371
16439
|
type: "schematic_layout_error";
|
|
16440
|
+
error_type: "schematic_layout_error";
|
|
16372
16441
|
source_group_id: string;
|
|
16373
16442
|
schematic_group_id: string;
|
|
16374
16443
|
schematic_layout_error_id: string;
|
|
@@ -16377,6 +16446,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16377
16446
|
type: "schematic_layout_error";
|
|
16378
16447
|
source_group_id: string;
|
|
16379
16448
|
schematic_group_id: string;
|
|
16449
|
+
error_type?: "schematic_layout_error" | undefined;
|
|
16380
16450
|
schematic_layout_error_id?: string | undefined;
|
|
16381
16451
|
}>, z.ZodObject<{
|
|
16382
16452
|
type: z.ZodLiteral<"schematic_net_label">;
|
|
@@ -16606,6 +16676,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16606
16676
|
}>, z.ZodObject<{
|
|
16607
16677
|
type: z.ZodLiteral<"schematic_manual_edit_conflict_warning">;
|
|
16608
16678
|
schematic_manual_edit_conflict_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
16679
|
+
warning_type: z.ZodDefault<z.ZodLiteral<"schematic_manual_edit_conflict_warning">>;
|
|
16609
16680
|
message: z.ZodString;
|
|
16610
16681
|
schematic_component_id: z.ZodString;
|
|
16611
16682
|
schematic_group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -16615,6 +16686,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16615
16686
|
message: string;
|
|
16616
16687
|
type: "schematic_manual_edit_conflict_warning";
|
|
16617
16688
|
source_component_id: string;
|
|
16689
|
+
warning_type: "schematic_manual_edit_conflict_warning";
|
|
16618
16690
|
schematic_component_id: string;
|
|
16619
16691
|
schematic_manual_edit_conflict_warning_id: string;
|
|
16620
16692
|
subcircuit_id?: string | undefined;
|
|
@@ -16625,6 +16697,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16625
16697
|
source_component_id: string;
|
|
16626
16698
|
schematic_component_id: string;
|
|
16627
16699
|
subcircuit_id?: string | undefined;
|
|
16700
|
+
warning_type?: "schematic_manual_edit_conflict_warning" | undefined;
|
|
16628
16701
|
schematic_group_id?: string | undefined;
|
|
16629
16702
|
schematic_manual_edit_conflict_warning_id?: string | undefined;
|
|
16630
16703
|
}>, z.ZodObject<{
|