Skip to content

Commit a8e10c2

Browse files
committed
chore: extend node on disks
1 parent 6b09604 commit a8e10c2

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

api/src/unraid-api/graph/resolvers/disks/disks.model.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,7 @@ export class DiskPartition {
5959
}
6060

6161
@ObjectType({ implements: () => Node })
62-
export class Disk implements Node {
63-
@Field(() => PrefixedID, { description: 'The unique identifier of the disk' })
64-
@IsString()
65-
id!: string;
66-
62+
export class Disk extends Node {
6763
@Field(() => String, { description: 'The device path of the disk (e.g. /dev/sdb)' })
6864
@IsString()
6965
device!: string;

0 commit comments

Comments
 (0)