diff options
| author | Georgios Andreadis <info@gandreadis.com> | 2020-07-02 18:39:28 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-08-24 19:47:21 +0200 |
| commit | f119fc78dda4d1e828dde04f378a63a93e3a0a7e (patch) | |
| tree | bea1eace5d47f21a7ccb835c6a6079bc92e48710 /frontend/src/api/routes/specifications.js | |
| parent | 7f27a6370a0af25e1bf6ff8f46360c6c26c21e0b (diff) | |
Add current progress on frontend port
Diffstat (limited to 'frontend/src/api/routes/specifications.js')
| -rw-r--r-- | frontend/src/api/routes/specifications.js | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/frontend/src/api/routes/specifications.js b/frontend/src/api/routes/specifications.js deleted file mode 100644 index 167fdce5..00000000 --- a/frontend/src/api/routes/specifications.js +++ /dev/null @@ -1,57 +0,0 @@ -import { getAll, getById } from './util' - -export function getAllCoolingItems() { - return getAll('/specifications/cooling-items') -} - -export function getCoolingItem(id) { - return getById('/specifications/cooling-items/{id}', { id }) -} - -export function getAllCPUs() { - return getAll('/specifications/cpus') -} - -export function getCPU(id) { - return getById('/specifications/cpus/{id}', { id }) -} - -export function getAllFailureModels() { - return getAll('/specifications/failure-models') -} - -export function getFailureModel(id) { - return getById('/specifications/failure-models/{id}', { id }) -} - -export function getAllGPUs() { - return getAll('/specifications/gpus') -} - -export function getGPU(id) { - return getById('/specifications/gpus/{id}', { id }) -} - -export function getAllMemories() { - return getAll('/specifications/memories') -} - -export function getMemory(id) { - return getById('/specifications/memories/{id}', { id }) -} - -export function getAllPSUs() { - return getAll('/specifications/psus') -} - -export function getPSU(id) { - return getById('/specifications/psus/{id}', { id }) -} - -export function getAllStorages() { - return getAll('/specifications/storages') -} - -export function getStorage(id) { - return getById('/specifications/storages/{id}', { id }) -} |
