Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/dev/Unraid.net/myservers.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[api]
version="4.6.6"
version="4.4.1"
extraOrigins="https://google.com,https://test.com"
[local]
sandbox="yes"
Expand Down
30 changes: 30 additions & 0 deletions api/generated-schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
# THIS FILE WAS AUTOMATICALLY GENERATED (DO NOT MODIFY)
# ------------------------------------------------------

"""Directive to document required permissions for fields"""
directive @usePermissions(
"""The action verb required for access"""
action: AuthActionVerb

"""The resource required for access"""
resource: String

"""The possession type required for access"""
possession: AuthPossession
) on FIELD_DEFINITION

type ApiKeyResponse {
valid: Boolean!
error: String
Expand Down Expand Up @@ -1412,6 +1424,8 @@ type Query {
services: [Service!]!
shares: [Share!]!
vars: Vars!

"""Get information about all VMs on the system"""
vms: Vms!
parityHistory: [ParityCheck!]!
array: UnraidArray!
Expand All @@ -1421,6 +1435,7 @@ type Query {
docker: Docker!
disks: [Disk!]!
disk(id: String!): Disk!
health: String!
}

type Mutation {
Expand Down Expand Up @@ -1590,4 +1605,19 @@ type Subscription {
serversSubscription: Server!
parityHistorySubscription: ParityCheck!
arraySubscription: UnraidArray!
}

"""Available authentication action verbs"""
enum AuthActionVerb {
CREATE
UPDATE
DELETE
READ
}

"""Available authentication possession types"""
enum AuthPossession {
ANY
OWN
OWN_ANY
}
241 changes: 0 additions & 241 deletions api/src/unraid-api/graph/directives/auth.directive.spec.ts

This file was deleted.

Loading
Loading