@tscircuit/eval 0.0.974 → 0.0.976

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.
@@ -715,6 +715,17 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
715
715
  standard: string;
716
716
  source_missing_manufacturer_part_number_warning_id: string;
717
717
  subcircuit_id?: string | undefined;
718
+ } | {
719
+ message: string;
720
+ type: "source_refdes_convention_warning";
721
+ source_component_id: string;
722
+ warning_type: "source_refdes_convention_warning";
723
+ source_refdes_convention_warning_id: string;
724
+ refdes: string;
725
+ source_component_ftype: string;
726
+ expected_prefixes: string[];
727
+ subcircuit_id?: string | undefined;
728
+ actual_prefix?: string | undefined;
718
729
  } | {
719
730
  message: string;
720
731
  type: "source_i2c_misconfigured_error";
@@ -1085,6 +1096,17 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
1085
1096
  standard: string;
1086
1097
  source_missing_manufacturer_part_number_warning_id: string;
1087
1098
  subcircuit_id?: string | undefined;
1099
+ } | {
1100
+ message: string;
1101
+ type: "source_refdes_convention_warning";
1102
+ source_component_id: string;
1103
+ warning_type: "source_refdes_convention_warning";
1104
+ source_refdes_convention_warning_id: string;
1105
+ refdes: string;
1106
+ source_component_ftype: string;
1107
+ expected_prefixes: string[];
1108
+ subcircuit_id?: string | undefined;
1109
+ actual_prefix?: string | undefined;
1088
1110
  } | {
1089
1111
  message: string;
1090
1112
  type: "source_no_power_pin_defined_warning";
@@ -1126,6 +1148,17 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
1126
1148
  source_component_id?: string | undefined;
1127
1149
  subcircuit_id?: string | undefined;
1128
1150
  is_fatal?: boolean | undefined;
1151
+ } | {
1152
+ message: string;
1153
+ type: "source_part_not_found_warning";
1154
+ warning_type: "source_part_not_found_warning";
1155
+ source_part_not_found_warning_id: string;
1156
+ source_component_id?: string | undefined;
1157
+ subcircuit_id?: string | undefined;
1158
+ supplier_name?: "jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc" | undefined;
1159
+ supplier_part_number?: string | undefined;
1160
+ manufacturer_part_number?: string | undefined;
1161
+ part_name?: string | undefined;
1129
1162
  } | {
1130
1163
  message: string;
1131
1164
  type: "source_i2c_misconfigured_error";
@@ -5242,6 +5275,17 @@ declare const runTscircuitModule: (module: string, opts?: {
5242
5275
  standard: string;
5243
5276
  source_missing_manufacturer_part_number_warning_id: string;
5244
5277
  subcircuit_id?: string | undefined;
5278
+ } | {
5279
+ message: string;
5280
+ type: "source_refdes_convention_warning";
5281
+ source_component_id: string;
5282
+ warning_type: "source_refdes_convention_warning";
5283
+ source_refdes_convention_warning_id: string;
5284
+ refdes: string;
5285
+ source_component_ftype: string;
5286
+ expected_prefixes: string[];
5287
+ subcircuit_id?: string | undefined;
5288
+ actual_prefix?: string | undefined;
5245
5289
  } | {
5246
5290
  message: string;
5247
5291
  type: "source_i2c_misconfigured_error";
@@ -5612,6 +5656,17 @@ declare const runTscircuitModule: (module: string, opts?: {
5612
5656
  standard: string;
5613
5657
  source_missing_manufacturer_part_number_warning_id: string;
5614
5658
  subcircuit_id?: string | undefined;
5659
+ } | {
5660
+ message: string;
5661
+ type: "source_refdes_convention_warning";
5662
+ source_component_id: string;
5663
+ warning_type: "source_refdes_convention_warning";
5664
+ source_refdes_convention_warning_id: string;
5665
+ refdes: string;
5666
+ source_component_ftype: string;
5667
+ expected_prefixes: string[];
5668
+ subcircuit_id?: string | undefined;
5669
+ actual_prefix?: string | undefined;
5615
5670
  } | {
5616
5671
  message: string;
5617
5672
  type: "source_no_power_pin_defined_warning";
@@ -5653,6 +5708,17 @@ declare const runTscircuitModule: (module: string, opts?: {
5653
5708
  source_component_id?: string | undefined;
5654
5709
  subcircuit_id?: string | undefined;
5655
5710
  is_fatal?: boolean | undefined;
5711
+ } | {
5712
+ message: string;
5713
+ type: "source_part_not_found_warning";
5714
+ warning_type: "source_part_not_found_warning";
5715
+ source_part_not_found_warning_id: string;
5716
+ source_component_id?: string | undefined;
5717
+ subcircuit_id?: string | undefined;
5718
+ supplier_name?: "jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc" | undefined;
5719
+ supplier_part_number?: string | undefined;
5720
+ manufacturer_part_number?: string | undefined;
5721
+ part_name?: string | undefined;
5656
5722
  } | {
5657
5723
  message: string;
5658
5724
  type: "source_i2c_misconfigured_error";
@@ -731,6 +731,17 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
731
731
  standard: string;
732
732
  source_missing_manufacturer_part_number_warning_id: string;
733
733
  subcircuit_id?: string | undefined;
734
+ } | {
735
+ message: string;
736
+ type: "source_refdes_convention_warning";
737
+ source_component_id: string;
738
+ warning_type: "source_refdes_convention_warning";
739
+ source_refdes_convention_warning_id: string;
740
+ refdes: string;
741
+ source_component_ftype: string;
742
+ expected_prefixes: string[];
743
+ subcircuit_id?: string | undefined;
744
+ actual_prefix?: string | undefined;
734
745
  } | {
735
746
  message: string;
736
747
  type: "source_i2c_misconfigured_error";
@@ -1101,6 +1112,17 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
1101
1112
  standard: string;
1102
1113
  source_missing_manufacturer_part_number_warning_id: string;
1103
1114
  subcircuit_id?: string | undefined;
1115
+ } | {
1116
+ message: string;
1117
+ type: "source_refdes_convention_warning";
1118
+ source_component_id: string;
1119
+ warning_type: "source_refdes_convention_warning";
1120
+ source_refdes_convention_warning_id: string;
1121
+ refdes: string;
1122
+ source_component_ftype: string;
1123
+ expected_prefixes: string[];
1124
+ subcircuit_id?: string | undefined;
1125
+ actual_prefix?: string | undefined;
1104
1126
  } | {
1105
1127
  message: string;
1106
1128
  type: "source_no_power_pin_defined_warning";
@@ -1142,6 +1164,17 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
1142
1164
  source_component_id?: string | undefined;
1143
1165
  subcircuit_id?: string | undefined;
1144
1166
  is_fatal?: boolean | undefined;
1167
+ } | {
1168
+ message: string;
1169
+ type: "source_part_not_found_warning";
1170
+ warning_type: "source_part_not_found_warning";
1171
+ source_part_not_found_warning_id: string;
1172
+ source_component_id?: string | undefined;
1173
+ subcircuit_id?: string | undefined;
1174
+ supplier_name?: "jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc" | undefined;
1175
+ supplier_part_number?: string | undefined;
1176
+ manufacturer_part_number?: string | undefined;
1177
+ part_name?: string | undefined;
1145
1178
  } | {
1146
1179
  message: string;
1147
1180
  type: "source_i2c_misconfigured_error";
@@ -5258,6 +5291,17 @@ declare const runTscircuitModule: (module: string, opts?: {
5258
5291
  standard: string;
5259
5292
  source_missing_manufacturer_part_number_warning_id: string;
5260
5293
  subcircuit_id?: string | undefined;
5294
+ } | {
5295
+ message: string;
5296
+ type: "source_refdes_convention_warning";
5297
+ source_component_id: string;
5298
+ warning_type: "source_refdes_convention_warning";
5299
+ source_refdes_convention_warning_id: string;
5300
+ refdes: string;
5301
+ source_component_ftype: string;
5302
+ expected_prefixes: string[];
5303
+ subcircuit_id?: string | undefined;
5304
+ actual_prefix?: string | undefined;
5261
5305
  } | {
5262
5306
  message: string;
5263
5307
  type: "source_i2c_misconfigured_error";
@@ -5628,6 +5672,17 @@ declare const runTscircuitModule: (module: string, opts?: {
5628
5672
  standard: string;
5629
5673
  source_missing_manufacturer_part_number_warning_id: string;
5630
5674
  subcircuit_id?: string | undefined;
5675
+ } | {
5676
+ message: string;
5677
+ type: "source_refdes_convention_warning";
5678
+ source_component_id: string;
5679
+ warning_type: "source_refdes_convention_warning";
5680
+ source_refdes_convention_warning_id: string;
5681
+ refdes: string;
5682
+ source_component_ftype: string;
5683
+ expected_prefixes: string[];
5684
+ subcircuit_id?: string | undefined;
5685
+ actual_prefix?: string | undefined;
5631
5686
  } | {
5632
5687
  message: string;
5633
5688
  type: "source_no_power_pin_defined_warning";
@@ -5669,6 +5724,17 @@ declare const runTscircuitModule: (module: string, opts?: {
5669
5724
  source_component_id?: string | undefined;
5670
5725
  subcircuit_id?: string | undefined;
5671
5726
  is_fatal?: boolean | undefined;
5727
+ } | {
5728
+ message: string;
5729
+ type: "source_part_not_found_warning";
5730
+ warning_type: "source_part_not_found_warning";
5731
+ source_part_not_found_warning_id: string;
5732
+ source_component_id?: string | undefined;
5733
+ subcircuit_id?: string | undefined;
5734
+ supplier_name?: "jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc" | undefined;
5735
+ supplier_part_number?: string | undefined;
5736
+ manufacturer_part_number?: string | undefined;
5737
+ part_name?: string | undefined;
5672
5738
  } | {
5673
5739
  message: string;
5674
5740
  type: "source_i2c_misconfigured_error";