mirror of
https://github.com/unraid/api.git
synced 2026-05-06 23:20:30 -05:00
switch ArrayDiskFsType to DiskFsType and add DiskParition type
Signed-off-by: Alexis Tyler <xo@wvvw.me>
This commit is contained in:
@@ -101,7 +101,7 @@ type ArrayDisk {
|
||||
"""Indicates if the disk should be exported as a network share."""
|
||||
exportable: Boolean!
|
||||
"""Indicates the file system detected in partition 1 of the device."""
|
||||
fsType: ArrayDiskFsType
|
||||
fsType: DiskFsType
|
||||
fsColor: ArrayDiskFsColor
|
||||
fsSize: Long
|
||||
fsFree: Long
|
||||
@@ -127,12 +127,6 @@ enum ArrayDiskType {
|
||||
Cache
|
||||
}
|
||||
|
||||
enum ArrayDiskFsType {
|
||||
xfs
|
||||
btrfs
|
||||
vfat
|
||||
}
|
||||
|
||||
enum ArrayDiskFsColor {
|
||||
"""Disk is OK and running"""
|
||||
green_on
|
||||
|
||||
@@ -35,6 +35,20 @@ type Disk {
|
||||
serialNum: String!
|
||||
interfaceType: DiskInterfaceType!
|
||||
smartStatus: DiskSmartStatus!
|
||||
temperature: Long!
|
||||
partitions: [DiskPartition!]
|
||||
}
|
||||
|
||||
type DiskPartition {
|
||||
name: String!
|
||||
fsType: DiskFsType!
|
||||
size: Long!
|
||||
}
|
||||
|
||||
enum DiskFsType {
|
||||
xfs
|
||||
btrfs
|
||||
vfat
|
||||
}
|
||||
|
||||
enum DiskInterfaceType {
|
||||
|
||||
Reference in New Issue
Block a user