circuit-json 0.0.199 → 0.0.201

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 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;
@@ -4558,7 +4570,7 @@ interface SchematicError {
4558
4570
  declare const schematic_error: z.ZodObject<{
4559
4571
  type: z.ZodLiteral<"schematic_error">;
4560
4572
  schematic_error_id: z.ZodString;
4561
- error_type: z.ZodLiteral<"schematic_port_not_found">;
4573
+ error_type: z.ZodDefault<z.ZodLiteral<"schematic_port_not_found">>;
4562
4574
  message: z.ZodString;
4563
4575
  }, "strip", z.ZodTypeAny, {
4564
4576
  message: string;
@@ -4568,20 +4580,22 @@ declare const schematic_error: z.ZodObject<{
4568
4580
  }, {
4569
4581
  message: string;
4570
4582
  type: "schematic_error";
4571
- error_type: "schematic_port_not_found";
4572
4583
  schematic_error_id: string;
4584
+ error_type?: "schematic_port_not_found" | undefined;
4573
4585
  }>;
4574
4586
  type SchematicErrorInput = z.input<typeof schematic_error>;
4575
4587
 
4576
4588
  declare const schematic_layout_error: z.ZodObject<{
4577
4589
  type: z.ZodLiteral<"schematic_layout_error">;
4578
4590
  schematic_layout_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4591
+ error_type: z.ZodDefault<z.ZodLiteral<"schematic_layout_error">>;
4579
4592
  message: z.ZodString;
4580
4593
  source_group_id: z.ZodString;
4581
4594
  schematic_group_id: z.ZodString;
4582
4595
  }, "strip", z.ZodTypeAny, {
4583
4596
  message: string;
4584
4597
  type: "schematic_layout_error";
4598
+ error_type: "schematic_layout_error";
4585
4599
  source_group_id: string;
4586
4600
  schematic_group_id: string;
4587
4601
  schematic_layout_error_id: string;
@@ -4590,12 +4604,14 @@ declare const schematic_layout_error: z.ZodObject<{
4590
4604
  type: "schematic_layout_error";
4591
4605
  source_group_id: string;
4592
4606
  schematic_group_id: string;
4607
+ error_type?: "schematic_layout_error" | undefined;
4593
4608
  schematic_layout_error_id?: string | undefined;
4594
4609
  }>;
4595
4610
  type SchematicLayoutErrorInput = z.input<typeof schematic_layout_error>;
4596
4611
  interface SchematicLayoutError {
4597
4612
  type: "schematic_layout_error";
4598
4613
  schematic_layout_error_id: string;
4614
+ error_type: "schematic_layout_error";
4599
4615
  message: string;
4600
4616
  source_group_id: string;
4601
4617
  schematic_group_id: string;
@@ -6027,22 +6043,26 @@ interface SourceProjectMetadata {
6027
6043
  type: "source_project_metadata";
6028
6044
  name?: string;
6029
6045
  software_used_string?: string;
6046
+ project_url?: string;
6030
6047
  created_at?: string;
6031
6048
  }
6032
6049
  declare const source_project_metadata: z.ZodObject<{
6033
6050
  type: z.ZodLiteral<"source_project_metadata">;
6034
6051
  name: z.ZodOptional<z.ZodString>;
6035
6052
  software_used_string: z.ZodOptional<z.ZodString>;
6053
+ project_url: z.ZodOptional<z.ZodString>;
6036
6054
  created_at: z.ZodOptional<z.ZodString>;
6037
6055
  }, "strip", z.ZodTypeAny, {
6038
6056
  type: "source_project_metadata";
6039
6057
  name?: string | undefined;
6040
6058
  software_used_string?: string | undefined;
6059
+ project_url?: string | undefined;
6041
6060
  created_at?: string | undefined;
6042
6061
  }, {
6043
6062
  type: "source_project_metadata";
6044
6063
  name?: string | undefined;
6045
6064
  software_used_string?: string | undefined;
6065
+ project_url?: string | undefined;
6046
6066
  created_at?: string | undefined;
6047
6067
  }>;
6048
6068
  type InferredProjectMetadata = z.infer<typeof source_project_metadata>;
@@ -6052,7 +6072,7 @@ declare const source_missing_property_error: z.ZodObject<{
6052
6072
  source_missing_property_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
6053
6073
  source_component_id: z.ZodString;
6054
6074
  property_name: z.ZodString;
6055
- error_type: z.ZodLiteral<"source_missing_property_error">;
6075
+ error_type: z.ZodDefault<z.ZodLiteral<"source_missing_property_error">>;
6056
6076
  message: z.ZodString;
6057
6077
  }, "strip", z.ZodTypeAny, {
6058
6078
  message: string;
@@ -6065,8 +6085,8 @@ declare const source_missing_property_error: z.ZodObject<{
6065
6085
  message: string;
6066
6086
  type: "source_missing_property_error";
6067
6087
  source_component_id: string;
6068
- error_type: "source_missing_property_error";
6069
6088
  property_name: string;
6089
+ error_type?: "source_missing_property_error" | undefined;
6070
6090
  source_missing_property_error_id?: string | undefined;
6071
6091
  }>;
6072
6092
  type SourceMissingPropertyErrorInput = z.input<typeof source_missing_property_error>;
@@ -6085,6 +6105,7 @@ interface SourceMissingPropertyError {
6085
6105
  declare const source_failed_to_create_component_error: z.ZodObject<{
6086
6106
  type: z.ZodLiteral<"source_failed_to_create_component_error">;
6087
6107
  source_failed_to_create_component_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
6108
+ error_type: z.ZodDefault<z.ZodLiteral<"source_failed_to_create_component_error">>;
6088
6109
  component_name: z.ZodOptional<z.ZodString>;
6089
6110
  subcircuit_id: z.ZodOptional<z.ZodString>;
6090
6111
  parent_source_component_id: z.ZodOptional<z.ZodString>;
@@ -6112,6 +6133,7 @@ declare const source_failed_to_create_component_error: z.ZodObject<{
6112
6133
  }, "strip", z.ZodTypeAny, {
6113
6134
  message: string;
6114
6135
  type: "source_failed_to_create_component_error";
6136
+ error_type: "source_failed_to_create_component_error";
6115
6137
  source_failed_to_create_component_error_id: string;
6116
6138
  subcircuit_id?: string | undefined;
6117
6139
  component_name?: string | undefined;
@@ -6128,6 +6150,7 @@ declare const source_failed_to_create_component_error: z.ZodObject<{
6128
6150
  message: string;
6129
6151
  type: "source_failed_to_create_component_error";
6130
6152
  subcircuit_id?: string | undefined;
6153
+ error_type?: "source_failed_to_create_component_error" | undefined;
6131
6154
  source_failed_to_create_component_error_id?: string | undefined;
6132
6155
  component_name?: string | undefined;
6133
6156
  parent_source_component_id?: string | undefined;
@@ -6148,6 +6171,7 @@ type SourceFailedToCreateComponentErrorInput = z.input<typeof source_failed_to_c
6148
6171
  interface SourceFailedToCreateComponentError {
6149
6172
  type: "source_failed_to_create_component_error";
6150
6173
  source_failed_to_create_component_error_id: string;
6174
+ error_type: "source_failed_to_create_component_error";
6151
6175
  message: string;
6152
6176
  component_name?: string;
6153
6177
  subcircuit_id?: string;
@@ -6936,23 +6960,26 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6936
6960
  type: z.ZodLiteral<"source_project_metadata">;
6937
6961
  name: z.ZodOptional<z.ZodString>;
6938
6962
  software_used_string: z.ZodOptional<z.ZodString>;
6963
+ project_url: z.ZodOptional<z.ZodString>;
6939
6964
  created_at: z.ZodOptional<z.ZodString>;
6940
6965
  }, "strip", z.ZodTypeAny, {
6941
6966
  type: "source_project_metadata";
6942
6967
  name?: string | undefined;
6943
6968
  software_used_string?: string | undefined;
6969
+ project_url?: string | undefined;
6944
6970
  created_at?: string | undefined;
6945
6971
  }, {
6946
6972
  type: "source_project_metadata";
6947
6973
  name?: string | undefined;
6948
6974
  software_used_string?: string | undefined;
6975
+ project_url?: string | undefined;
6949
6976
  created_at?: string | undefined;
6950
6977
  }>, z.ZodObject<{
6951
6978
  type: z.ZodLiteral<"source_missing_property_error">;
6952
6979
  source_missing_property_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
6953
6980
  source_component_id: z.ZodString;
6954
6981
  property_name: z.ZodString;
6955
- error_type: z.ZodLiteral<"source_missing_property_error">;
6982
+ error_type: z.ZodDefault<z.ZodLiteral<"source_missing_property_error">>;
6956
6983
  message: z.ZodString;
6957
6984
  }, "strip", z.ZodTypeAny, {
6958
6985
  message: string;
@@ -6965,12 +6992,13 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6965
6992
  message: string;
6966
6993
  type: "source_missing_property_error";
6967
6994
  source_component_id: string;
6968
- error_type: "source_missing_property_error";
6969
6995
  property_name: string;
6996
+ error_type?: "source_missing_property_error" | undefined;
6970
6997
  source_missing_property_error_id?: string | undefined;
6971
6998
  }>, z.ZodObject<{
6972
6999
  type: z.ZodLiteral<"source_failed_to_create_component_error">;
6973
7000
  source_failed_to_create_component_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7001
+ error_type: z.ZodDefault<z.ZodLiteral<"source_failed_to_create_component_error">>;
6974
7002
  component_name: z.ZodOptional<z.ZodString>;
6975
7003
  subcircuit_id: z.ZodOptional<z.ZodString>;
6976
7004
  parent_source_component_id: z.ZodOptional<z.ZodString>;
@@ -6998,6 +7026,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6998
7026
  }, "strip", z.ZodTypeAny, {
6999
7027
  message: string;
7000
7028
  type: "source_failed_to_create_component_error";
7029
+ error_type: "source_failed_to_create_component_error";
7001
7030
  source_failed_to_create_component_error_id: string;
7002
7031
  subcircuit_id?: string | undefined;
7003
7032
  component_name?: string | undefined;
@@ -7014,6 +7043,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
7014
7043
  message: string;
7015
7044
  type: "source_failed_to_create_component_error";
7016
7045
  subcircuit_id?: string | undefined;
7046
+ error_type?: "source_failed_to_create_component_error" | undefined;
7017
7047
  source_failed_to_create_component_error_id?: string | undefined;
7018
7048
  component_name?: string | undefined;
7019
7049
  parent_source_component_id?: string | undefined;
@@ -8130,23 +8160,26 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8130
8160
  type: z.ZodLiteral<"source_project_metadata">;
8131
8161
  name: z.ZodOptional<z.ZodString>;
8132
8162
  software_used_string: z.ZodOptional<z.ZodString>;
8163
+ project_url: z.ZodOptional<z.ZodString>;
8133
8164
  created_at: z.ZodOptional<z.ZodString>;
8134
8165
  }, "strip", z.ZodTypeAny, {
8135
8166
  type: "source_project_metadata";
8136
8167
  name?: string | undefined;
8137
8168
  software_used_string?: string | undefined;
8169
+ project_url?: string | undefined;
8138
8170
  created_at?: string | undefined;
8139
8171
  }, {
8140
8172
  type: "source_project_metadata";
8141
8173
  name?: string | undefined;
8142
8174
  software_used_string?: string | undefined;
8175
+ project_url?: string | undefined;
8143
8176
  created_at?: string | undefined;
8144
8177
  }>, z.ZodObject<{
8145
8178
  type: z.ZodLiteral<"source_missing_property_error">;
8146
8179
  source_missing_property_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8147
8180
  source_component_id: z.ZodString;
8148
8181
  property_name: z.ZodString;
8149
- error_type: z.ZodLiteral<"source_missing_property_error">;
8182
+ error_type: z.ZodDefault<z.ZodLiteral<"source_missing_property_error">>;
8150
8183
  message: z.ZodString;
8151
8184
  }, "strip", z.ZodTypeAny, {
8152
8185
  message: string;
@@ -8159,12 +8192,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8159
8192
  message: string;
8160
8193
  type: "source_missing_property_error";
8161
8194
  source_component_id: string;
8162
- error_type: "source_missing_property_error";
8163
8195
  property_name: string;
8196
+ error_type?: "source_missing_property_error" | undefined;
8164
8197
  source_missing_property_error_id?: string | undefined;
8165
8198
  }>, z.ZodObject<{
8166
8199
  type: z.ZodLiteral<"source_failed_to_create_component_error">;
8167
8200
  source_failed_to_create_component_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8201
+ error_type: z.ZodDefault<z.ZodLiteral<"source_failed_to_create_component_error">>;
8168
8202
  component_name: z.ZodOptional<z.ZodString>;
8169
8203
  subcircuit_id: z.ZodOptional<z.ZodString>;
8170
8204
  parent_source_component_id: z.ZodOptional<z.ZodString>;
@@ -8192,6 +8226,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8192
8226
  }, "strip", z.ZodTypeAny, {
8193
8227
  message: string;
8194
8228
  type: "source_failed_to_create_component_error";
8229
+ error_type: "source_failed_to_create_component_error";
8195
8230
  source_failed_to_create_component_error_id: string;
8196
8231
  subcircuit_id?: string | undefined;
8197
8232
  component_name?: string | undefined;
@@ -8208,6 +8243,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8208
8243
  message: string;
8209
8244
  type: "source_failed_to_create_component_error";
8210
8245
  subcircuit_id?: string | undefined;
8246
+ error_type?: "source_failed_to_create_component_error" | undefined;
8211
8247
  source_failed_to_create_component_error_id?: string | undefined;
8212
8248
  component_name?: string | undefined;
8213
8249
  parent_source_component_id?: string | undefined;
@@ -8936,16 +8972,19 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8936
8972
  type: z.ZodLiteral<"source_project_metadata">;
8937
8973
  name: z.ZodOptional<z.ZodString>;
8938
8974
  software_used_string: z.ZodOptional<z.ZodString>;
8975
+ project_url: z.ZodOptional<z.ZodString>;
8939
8976
  created_at: z.ZodOptional<z.ZodString>;
8940
8977
  }, "strip", z.ZodTypeAny, {
8941
8978
  type: "source_project_metadata";
8942
8979
  name?: string | undefined;
8943
8980
  software_used_string?: string | undefined;
8981
+ project_url?: string | undefined;
8944
8982
  created_at?: string | undefined;
8945
8983
  }, {
8946
8984
  type: "source_project_metadata";
8947
8985
  name?: string | undefined;
8948
8986
  software_used_string?: string | undefined;
8987
+ project_url?: string | undefined;
8949
8988
  created_at?: string | undefined;
8950
8989
  }>, z.ZodObject<{
8951
8990
  type: z.ZodLiteral<"pcb_component">;
@@ -9067,7 +9106,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
9067
9106
  pcb_missing_footprint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9068
9107
  pcb_group_id: z.ZodOptional<z.ZodString>;
9069
9108
  subcircuit_id: z.ZodOptional<z.ZodString>;
9070
- error_type: z.ZodLiteral<"pcb_missing_footprint_error">;
9109
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_missing_footprint_error">>;
9071
9110
  source_component_id: z.ZodString;
9072
9111
  message: z.ZodString;
9073
9112
  }, "strip", z.ZodTypeAny, {
@@ -9082,9 +9121,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
9082
9121
  message: string;
9083
9122
  type: "pcb_missing_footprint_error";
9084
9123
  source_component_id: string;
9085
- error_type: "pcb_missing_footprint_error";
9086
9124
  subcircuit_id?: string | undefined;
9087
9125
  pcb_group_id?: string | undefined;
9126
+ error_type?: "pcb_missing_footprint_error" | undefined;
9088
9127
  pcb_missing_footprint_error_id?: string | undefined;
9089
9128
  }>, z.ZodObject<{
9090
9129
  type: z.ZodLiteral<"pcb_manual_edit_conflict_warning">;
@@ -10735,7 +10774,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10735
10774
  }>, z.ZodObject<{
10736
10775
  type: z.ZodLiteral<"pcb_trace_error">;
10737
10776
  pcb_trace_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10738
- error_type: z.ZodLiteral<"pcb_trace_error">;
10777
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_trace_error">>;
10739
10778
  message: z.ZodString;
10740
10779
  center: z.ZodOptional<z.ZodObject<{
10741
10780
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10769,7 +10808,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10769
10808
  type: "pcb_trace_error";
10770
10809
  source_trace_id: string;
10771
10810
  pcb_trace_id: string;
10772
- error_type: "pcb_trace_error";
10773
10811
  pcb_component_ids: string[];
10774
10812
  pcb_port_ids: string[];
10775
10813
  center?: {
@@ -10777,32 +10815,39 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10777
10815
  y: string | number;
10778
10816
  } | undefined;
10779
10817
  pcb_trace_error_id?: string | undefined;
10818
+ error_type?: "pcb_trace_error" | undefined;
10780
10819
  }>, z.ZodObject<{
10781
10820
  type: z.ZodLiteral<"pcb_placement_error">;
10782
10821
  pcb_placement_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10822
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_placement_error">>;
10783
10823
  message: z.ZodString;
10784
10824
  }, "strip", z.ZodTypeAny, {
10785
10825
  message: string;
10786
10826
  type: "pcb_placement_error";
10827
+ error_type: "pcb_placement_error";
10787
10828
  pcb_placement_error_id: string;
10788
10829
  }, {
10789
10830
  message: string;
10790
10831
  type: "pcb_placement_error";
10832
+ error_type?: "pcb_placement_error" | undefined;
10791
10833
  pcb_placement_error_id?: string | undefined;
10792
10834
  }>, z.ZodObject<{
10793
10835
  type: z.ZodLiteral<"pcb_port_not_matched_error">;
10794
10836
  pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10837
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_port_not_matched_error">>;
10795
10838
  message: z.ZodString;
10796
10839
  pcb_component_ids: z.ZodArray<z.ZodString, "many">;
10797
10840
  }, "strip", z.ZodTypeAny, {
10798
10841
  message: string;
10799
10842
  type: "pcb_port_not_matched_error";
10843
+ error_type: "pcb_port_not_matched_error";
10800
10844
  pcb_component_ids: string[];
10801
10845
  pcb_error_id: string;
10802
10846
  }, {
10803
10847
  message: string;
10804
10848
  type: "pcb_port_not_matched_error";
10805
10849
  pcb_component_ids: string[];
10850
+ error_type?: "pcb_port_not_matched_error" | undefined;
10806
10851
  pcb_error_id?: string | undefined;
10807
10852
  }>, z.ZodObject<{
10808
10853
  type: z.ZodLiteral<"pcb_fabrication_note_path">;
@@ -10913,14 +10958,17 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10913
10958
  }>, z.ZodObject<{
10914
10959
  type: z.ZodLiteral<"pcb_autorouting_error">;
10915
10960
  pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10961
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_autorouting_error">>;
10916
10962
  message: z.ZodString;
10917
10963
  }, "strip", z.ZodTypeAny, {
10918
10964
  message: string;
10919
10965
  type: "pcb_autorouting_error";
10966
+ error_type: "pcb_autorouting_error";
10920
10967
  pcb_error_id: string;
10921
10968
  }, {
10922
10969
  message: string;
10923
10970
  type: "pcb_autorouting_error";
10971
+ error_type?: "pcb_autorouting_error" | undefined;
10924
10972
  pcb_error_id?: string | undefined;
10925
10973
  }>, z.ZodObject<{
10926
10974
  type: z.ZodLiteral<"pcb_breakout_point">;
@@ -11591,7 +11639,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11591
11639
  }>, z.ZodObject<{
11592
11640
  type: z.ZodLiteral<"schematic_error">;
11593
11641
  schematic_error_id: z.ZodString;
11594
- error_type: z.ZodLiteral<"schematic_port_not_found">;
11642
+ error_type: z.ZodDefault<z.ZodLiteral<"schematic_port_not_found">>;
11595
11643
  message: z.ZodString;
11596
11644
  }, "strip", z.ZodTypeAny, {
11597
11645
  message: string;
@@ -11601,17 +11649,19 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11601
11649
  }, {
11602
11650
  message: string;
11603
11651
  type: "schematic_error";
11604
- error_type: "schematic_port_not_found";
11605
11652
  schematic_error_id: string;
11653
+ error_type?: "schematic_port_not_found" | undefined;
11606
11654
  }>, z.ZodObject<{
11607
11655
  type: z.ZodLiteral<"schematic_layout_error">;
11608
11656
  schematic_layout_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11657
+ error_type: z.ZodDefault<z.ZodLiteral<"schematic_layout_error">>;
11609
11658
  message: z.ZodString;
11610
11659
  source_group_id: z.ZodString;
11611
11660
  schematic_group_id: z.ZodString;
11612
11661
  }, "strip", z.ZodTypeAny, {
11613
11662
  message: string;
11614
11663
  type: "schematic_layout_error";
11664
+ error_type: "schematic_layout_error";
11615
11665
  source_group_id: string;
11616
11666
  schematic_group_id: string;
11617
11667
  schematic_layout_error_id: string;
@@ -11620,6 +11670,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11620
11670
  type: "schematic_layout_error";
11621
11671
  source_group_id: string;
11622
11672
  schematic_group_id: string;
11673
+ error_type?: "schematic_layout_error" | undefined;
11623
11674
  schematic_layout_error_id?: string | undefined;
11624
11675
  }>, z.ZodObject<{
11625
11676
  type: z.ZodLiteral<"schematic_net_label">;
@@ -12868,23 +12919,26 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12868
12919
  type: z.ZodLiteral<"source_project_metadata">;
12869
12920
  name: z.ZodOptional<z.ZodString>;
12870
12921
  software_used_string: z.ZodOptional<z.ZodString>;
12922
+ project_url: z.ZodOptional<z.ZodString>;
12871
12923
  created_at: z.ZodOptional<z.ZodString>;
12872
12924
  }, "strip", z.ZodTypeAny, {
12873
12925
  type: "source_project_metadata";
12874
12926
  name?: string | undefined;
12875
12927
  software_used_string?: string | undefined;
12928
+ project_url?: string | undefined;
12876
12929
  created_at?: string | undefined;
12877
12930
  }, {
12878
12931
  type: "source_project_metadata";
12879
12932
  name?: string | undefined;
12880
12933
  software_used_string?: string | undefined;
12934
+ project_url?: string | undefined;
12881
12935
  created_at?: string | undefined;
12882
12936
  }>, z.ZodObject<{
12883
12937
  type: z.ZodLiteral<"source_missing_property_error">;
12884
12938
  source_missing_property_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
12885
12939
  source_component_id: z.ZodString;
12886
12940
  property_name: z.ZodString;
12887
- error_type: z.ZodLiteral<"source_missing_property_error">;
12941
+ error_type: z.ZodDefault<z.ZodLiteral<"source_missing_property_error">>;
12888
12942
  message: z.ZodString;
12889
12943
  }, "strip", z.ZodTypeAny, {
12890
12944
  message: string;
@@ -12897,12 +12951,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12897
12951
  message: string;
12898
12952
  type: "source_missing_property_error";
12899
12953
  source_component_id: string;
12900
- error_type: "source_missing_property_error";
12901
12954
  property_name: string;
12955
+ error_type?: "source_missing_property_error" | undefined;
12902
12956
  source_missing_property_error_id?: string | undefined;
12903
12957
  }>, z.ZodObject<{
12904
12958
  type: z.ZodLiteral<"source_failed_to_create_component_error">;
12905
12959
  source_failed_to_create_component_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
12960
+ error_type: z.ZodDefault<z.ZodLiteral<"source_failed_to_create_component_error">>;
12906
12961
  component_name: z.ZodOptional<z.ZodString>;
12907
12962
  subcircuit_id: z.ZodOptional<z.ZodString>;
12908
12963
  parent_source_component_id: z.ZodOptional<z.ZodString>;
@@ -12930,6 +12985,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12930
12985
  }, "strip", z.ZodTypeAny, {
12931
12986
  message: string;
12932
12987
  type: "source_failed_to_create_component_error";
12988
+ error_type: "source_failed_to_create_component_error";
12933
12989
  source_failed_to_create_component_error_id: string;
12934
12990
  subcircuit_id?: string | undefined;
12935
12991
  component_name?: string | undefined;
@@ -12946,6 +13002,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12946
13002
  message: string;
12947
13003
  type: "source_failed_to_create_component_error";
12948
13004
  subcircuit_id?: string | undefined;
13005
+ error_type?: "source_failed_to_create_component_error" | undefined;
12949
13006
  source_failed_to_create_component_error_id?: string | undefined;
12950
13007
  component_name?: string | undefined;
12951
13008
  parent_source_component_id?: string | undefined;
@@ -13674,16 +13731,19 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13674
13731
  type: z.ZodLiteral<"source_project_metadata">;
13675
13732
  name: z.ZodOptional<z.ZodString>;
13676
13733
  software_used_string: z.ZodOptional<z.ZodString>;
13734
+ project_url: z.ZodOptional<z.ZodString>;
13677
13735
  created_at: z.ZodOptional<z.ZodString>;
13678
13736
  }, "strip", z.ZodTypeAny, {
13679
13737
  type: "source_project_metadata";
13680
13738
  name?: string | undefined;
13681
13739
  software_used_string?: string | undefined;
13740
+ project_url?: string | undefined;
13682
13741
  created_at?: string | undefined;
13683
13742
  }, {
13684
13743
  type: "source_project_metadata";
13685
13744
  name?: string | undefined;
13686
13745
  software_used_string?: string | undefined;
13746
+ project_url?: string | undefined;
13687
13747
  created_at?: string | undefined;
13688
13748
  }>, z.ZodObject<{
13689
13749
  type: z.ZodLiteral<"pcb_component">;
@@ -13805,7 +13865,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13805
13865
  pcb_missing_footprint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13806
13866
  pcb_group_id: z.ZodOptional<z.ZodString>;
13807
13867
  subcircuit_id: z.ZodOptional<z.ZodString>;
13808
- error_type: z.ZodLiteral<"pcb_missing_footprint_error">;
13868
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_missing_footprint_error">>;
13809
13869
  source_component_id: z.ZodString;
13810
13870
  message: z.ZodString;
13811
13871
  }, "strip", z.ZodTypeAny, {
@@ -13820,9 +13880,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13820
13880
  message: string;
13821
13881
  type: "pcb_missing_footprint_error";
13822
13882
  source_component_id: string;
13823
- error_type: "pcb_missing_footprint_error";
13824
13883
  subcircuit_id?: string | undefined;
13825
13884
  pcb_group_id?: string | undefined;
13885
+ error_type?: "pcb_missing_footprint_error" | undefined;
13826
13886
  pcb_missing_footprint_error_id?: string | undefined;
13827
13887
  }>, z.ZodObject<{
13828
13888
  type: z.ZodLiteral<"pcb_manual_edit_conflict_warning">;
@@ -15473,7 +15533,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15473
15533
  }>, z.ZodObject<{
15474
15534
  type: z.ZodLiteral<"pcb_trace_error">;
15475
15535
  pcb_trace_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
15476
- error_type: z.ZodLiteral<"pcb_trace_error">;
15536
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_trace_error">>;
15477
15537
  message: z.ZodString;
15478
15538
  center: z.ZodOptional<z.ZodObject<{
15479
15539
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -15507,7 +15567,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15507
15567
  type: "pcb_trace_error";
15508
15568
  source_trace_id: string;
15509
15569
  pcb_trace_id: string;
15510
- error_type: "pcb_trace_error";
15511
15570
  pcb_component_ids: string[];
15512
15571
  pcb_port_ids: string[];
15513
15572
  center?: {
@@ -15515,32 +15574,39 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15515
15574
  y: string | number;
15516
15575
  } | undefined;
15517
15576
  pcb_trace_error_id?: string | undefined;
15577
+ error_type?: "pcb_trace_error" | undefined;
15518
15578
  }>, z.ZodObject<{
15519
15579
  type: z.ZodLiteral<"pcb_placement_error">;
15520
15580
  pcb_placement_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
15581
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_placement_error">>;
15521
15582
  message: z.ZodString;
15522
15583
  }, "strip", z.ZodTypeAny, {
15523
15584
  message: string;
15524
15585
  type: "pcb_placement_error";
15586
+ error_type: "pcb_placement_error";
15525
15587
  pcb_placement_error_id: string;
15526
15588
  }, {
15527
15589
  message: string;
15528
15590
  type: "pcb_placement_error";
15591
+ error_type?: "pcb_placement_error" | undefined;
15529
15592
  pcb_placement_error_id?: string | undefined;
15530
15593
  }>, z.ZodObject<{
15531
15594
  type: z.ZodLiteral<"pcb_port_not_matched_error">;
15532
15595
  pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
15596
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_port_not_matched_error">>;
15533
15597
  message: z.ZodString;
15534
15598
  pcb_component_ids: z.ZodArray<z.ZodString, "many">;
15535
15599
  }, "strip", z.ZodTypeAny, {
15536
15600
  message: string;
15537
15601
  type: "pcb_port_not_matched_error";
15602
+ error_type: "pcb_port_not_matched_error";
15538
15603
  pcb_component_ids: string[];
15539
15604
  pcb_error_id: string;
15540
15605
  }, {
15541
15606
  message: string;
15542
15607
  type: "pcb_port_not_matched_error";
15543
15608
  pcb_component_ids: string[];
15609
+ error_type?: "pcb_port_not_matched_error" | undefined;
15544
15610
  pcb_error_id?: string | undefined;
15545
15611
  }>, z.ZodObject<{
15546
15612
  type: z.ZodLiteral<"pcb_fabrication_note_path">;
@@ -15651,14 +15717,17 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15651
15717
  }>, z.ZodObject<{
15652
15718
  type: z.ZodLiteral<"pcb_autorouting_error">;
15653
15719
  pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
15720
+ error_type: z.ZodDefault<z.ZodLiteral<"pcb_autorouting_error">>;
15654
15721
  message: z.ZodString;
15655
15722
  }, "strip", z.ZodTypeAny, {
15656
15723
  message: string;
15657
15724
  type: "pcb_autorouting_error";
15725
+ error_type: "pcb_autorouting_error";
15658
15726
  pcb_error_id: string;
15659
15727
  }, {
15660
15728
  message: string;
15661
15729
  type: "pcb_autorouting_error";
15730
+ error_type?: "pcb_autorouting_error" | undefined;
15662
15731
  pcb_error_id?: string | undefined;
15663
15732
  }>, z.ZodObject<{
15664
15733
  type: z.ZodLiteral<"pcb_breakout_point">;
@@ -16329,7 +16398,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16329
16398
  }>, z.ZodObject<{
16330
16399
  type: z.ZodLiteral<"schematic_error">;
16331
16400
  schematic_error_id: z.ZodString;
16332
- error_type: z.ZodLiteral<"schematic_port_not_found">;
16401
+ error_type: z.ZodDefault<z.ZodLiteral<"schematic_port_not_found">>;
16333
16402
  message: z.ZodString;
16334
16403
  }, "strip", z.ZodTypeAny, {
16335
16404
  message: string;
@@ -16339,17 +16408,19 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16339
16408
  }, {
16340
16409
  message: string;
16341
16410
  type: "schematic_error";
16342
- error_type: "schematic_port_not_found";
16343
16411
  schematic_error_id: string;
16412
+ error_type?: "schematic_port_not_found" | undefined;
16344
16413
  }>, z.ZodObject<{
16345
16414
  type: z.ZodLiteral<"schematic_layout_error">;
16346
16415
  schematic_layout_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
16416
+ error_type: z.ZodDefault<z.ZodLiteral<"schematic_layout_error">>;
16347
16417
  message: z.ZodString;
16348
16418
  source_group_id: z.ZodString;
16349
16419
  schematic_group_id: z.ZodString;
16350
16420
  }, "strip", z.ZodTypeAny, {
16351
16421
  message: string;
16352
16422
  type: "schematic_layout_error";
16423
+ error_type: "schematic_layout_error";
16353
16424
  source_group_id: string;
16354
16425
  schematic_group_id: string;
16355
16426
  schematic_layout_error_id: string;
@@ -16358,6 +16429,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16358
16429
  type: "schematic_layout_error";
16359
16430
  source_group_id: string;
16360
16431
  schematic_group_id: string;
16432
+ error_type?: "schematic_layout_error" | undefined;
16361
16433
  schematic_layout_error_id?: string | undefined;
16362
16434
  }>, z.ZodObject<{
16363
16435
  type: z.ZodLiteral<"schematic_net_label">;