Show cached passives in the library and match IC PDFs by family MPN.

Decode EIA/Yageo/AVX chip codes into library specs, and find datasheets when the file is stored under the orderable catalog name.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-28 02:27:27 +02:00
co-authored by Cursor
parent 3be7d2fc21
commit 08cbbdc422
11 changed files with 534 additions and 80 deletions
+11
View File
@@ -389,6 +389,15 @@ export interface LibraryPassive {
regex: string;
}
export interface LibraryPassivePart {
mpn: string;
type: "passive_part";
specs_type: string;
subtype: string;
param_count: number;
has_datasheet: boolean;
}
export interface LibrarySimple {
mpn: string;
type: "simple";
@@ -408,6 +417,7 @@ export interface LibraryDatasheet {
export interface LibraryCatalog {
ics: LibraryIC[];
passives: LibraryPassive[];
passive_parts?: LibraryPassivePart[];
simple: LibrarySimple[];
datasheets: LibraryDatasheet[];
}
@@ -606,6 +616,7 @@ export interface AdminSimple {
export interface AdminComponents {
ics: AdminIC[];
passives: AdminPassive[];
passive_parts?: AdminSimple[];
simple: AdminSimple[];
}