mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-12 11:24:31 +02:00
Added basic possibilty to create parts based on infoProviders
This commit is contained in:
parent
538476be99
commit
716a56979d
12 changed files with 476 additions and 25 deletions
|
@ -24,6 +24,7 @@ declare(strict_types=1);
|
|||
namespace App\Services\InfoProviderSystem\Providers;
|
||||
|
||||
use App\Entity\Parts\ManufacturingStatus;
|
||||
use App\Services\InfoProviderSystem\DTOs\PartDetailDTO;
|
||||
use App\Services\InfoProviderSystem\DTOs\SearchResultDTO;
|
||||
use Symfony\Contracts\HttpClient\HttpClientInterface;
|
||||
|
||||
|
@ -118,4 +119,9 @@ class DigikeyProvider implements InfoProviderInterface
|
|||
default => ManufacturingStatus::NOT_SET,
|
||||
};
|
||||
}
|
||||
|
||||
public function getDetails(string $id): PartDetailDTO
|
||||
{
|
||||
// TODO: Implement getDetails() method.
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue