fix: even more changes to accommodate older GraphQL schema

This commit is contained in:
2026-02-28 16:45:19 +01:00
parent f89ed7275b
commit 88983c6736
18 changed files with 20 additions and 218 deletions

View File

@@ -355,7 +355,6 @@ The project's documentation explicitly compares SSH vs API capabilities:
| Network config | Y | Y | Y | Y | N | N | N |
| Network bandwidth | N | Y | N | Y | N | N | N |
| Registration/license info | Y | Y | Y | N | N | N | N |
| Connect settings | Y | Y | Y | N | N | N | N |
| Unraid variables | Y | Y | Y | N | N | N | N |
| System services status | N | Y | Y | N | N | N | N |
| Flash drive info | N | Y | Y | N | N | Y | N |

View File

@@ -665,7 +665,6 @@ type Query {
servers: [Server!]!
services: [Service!]!
shares: [Share]
unassignedDevices: [UnassignedDevice]
me: Me
user(id: ID!): User
users(input: usersInput): [User!]!
@@ -743,7 +742,6 @@ type Subscription {
service(name: String!): [Service!]
share(id: ID!): Share!
shares: [Share!]
unassignedDevices: [UnassignedDevice!]
me: Me
user(id: ID!): User!
users: [User]!

View File

@@ -698,7 +698,8 @@ type Info implements Node {
}
type MetricsCpu {
used: Float
percentTotal: Float!
cpus: [CPULoad!]!
}
type MetricsMemory {
@@ -715,7 +716,6 @@ type Metrics implements Node {
type Service implements Node {
id: PrefixedID!
name: String
state: String
online: Boolean
uptime: Uptime
version: String
@@ -751,12 +751,6 @@ type Registration implements Node {
updateExpiration: String
}
type ConnectSettings {
status: String
sandbox: Boolean
flashGuid: String
}
type Owner {
username: String!
avatar: String!
@@ -1325,9 +1319,6 @@ type Query {
# Network (used by MCP tool)
network: Network
# Connect (used by MCP tool)
connect: ConnectSettings
}
# ============================================================================