blob: 167fdce5a738289b4037403f34842270e8c134b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
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 })
}
|