mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-05-15 16:01:33 +00:00
Added AI Assisted Information Provider
This commit is contained in:
parent
6330b71bfb
commit
90d327fdaa
4 changed files with 557 additions and 0 deletions
|
|
@ -46,6 +46,9 @@ enum ProviderCapabilities
|
|||
/** Provider can provide GTIN for a part */
|
||||
case GTIN;
|
||||
|
||||
/** Provider can provide parameters/specifications for a part */
|
||||
case PARAMETERS;
|
||||
|
||||
/**
|
||||
* Get the order index for displaying capabilities in a stable order.
|
||||
* @return int
|
||||
|
|
@ -59,6 +62,7 @@ enum ProviderCapabilities
|
|||
self::PRICE => 4,
|
||||
self::FOOTPRINT => 5,
|
||||
self::GTIN => 6,
|
||||
self::PARAMETERS => 7,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -71,6 +75,7 @@ enum ProviderCapabilities
|
|||
self::DATASHEET => 'datasheet',
|
||||
self::PRICE => 'price',
|
||||
self::GTIN => 'gtin',
|
||||
self::PARAMETERS => 'parameters',
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -83,6 +88,7 @@ enum ProviderCapabilities
|
|||
self::DATASHEET => 'fa-file-alt',
|
||||
self::PRICE => 'fa-money-bill-wave',
|
||||
self::GTIN => 'fa-barcode',
|
||||
self::PARAMETERS => 'fa-list-ul',
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue