Files
api/web/composables/gql/graphql.ts
T
Eli Bosley f5724abffb feat: code first graphql (#1347)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced API capabilities with improved GraphQL interfaces for remote
access, parity checks, notifications, and virtual machine controls.
- Introduction of dynamic remote access settings and refined online
status and service monitoring.
- New `ParityCheckMutationsResolver` for managing parity check
operations through GraphQL.

- **Refactor**
- Consolidated and renamed internal types and schema definitions to
improve consistency and performance.
  - Removed deprecated legacy schemas to streamline the API.
- Updated import paths for various types to reflect new module
structures.

- **Chore**
- Updated environment configurations and test setups to support the new
logging and configuration mechanisms.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-11 15:03:01 -04:00

1819 lines
85 KiB
TypeScript

/* eslint-disable */
import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
export type Maybe<T> = T | null;
export type InputMaybe<T> = Maybe<T>;
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };
export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: { input: string; output: string; }
String: { input: string; output: string; }
Boolean: { input: boolean; output: boolean; }
Int: { input: number; output: number; }
Float: { input: number; output: number; }
/** A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format. */
DateTime: { input: string; output: string; }
/** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
JSON: { input: any; output: any; }
/** The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
JSONObject: { input: any; output: any; }
/** The `Long` scalar type represents 52-bit integers */
Long: { input: number; output: number; }
/** A field whose value conforms to the standard URL format as specified in RFC3986: https://www.ietf.org/rfc/rfc3986.txt. */
URL: { input: URL; output: URL; }
};
export type AccessUrl = {
__typename?: 'AccessUrl';
ipv4?: Maybe<Scalars['URL']['output']>;
ipv6?: Maybe<Scalars['URL']['output']>;
name?: Maybe<Scalars['String']['output']>;
type: UrlType;
};
export type AddPermissionInput = {
actions: Array<Scalars['String']['input']>;
resource: Resource;
};
export type AddRoleForApiKeyInput = {
apiKeyId: Scalars['ID']['input'];
role: Role;
};
export type AllowedOriginInput = {
/** A list of origins allowed to interact with the API */
origins: Array<Scalars['String']['input']>;
};
export type ApiKey = {
__typename?: 'ApiKey';
createdAt: Scalars['String']['output'];
description?: Maybe<Scalars['String']['output']>;
id: Scalars['ID']['output'];
name: Scalars['String']['output'];
permissions: Array<Permission>;
roles: Array<Role>;
};
export type ApiKeyResponse = {
__typename?: 'ApiKeyResponse';
error?: Maybe<Scalars['String']['output']>;
valid: Scalars['Boolean']['output'];
};
export type ApiKeyWithSecret = {
__typename?: 'ApiKeyWithSecret';
createdAt: Scalars['String']['output'];
description?: Maybe<Scalars['String']['output']>;
id: Scalars['ID']['output'];
key: Scalars['String']['output'];
name: Scalars['String']['output'];
permissions: Array<Permission>;
roles: Array<Role>;
};
export type ApiSettingsInput = {
/** The type of WAN access to use for Remote Access */
accessType?: InputMaybe<WanAccessType>;
/** A list of origins allowed to interact with the API */
extraOrigins?: InputMaybe<Array<Scalars['String']['input']>>;
/** The type of port forwarding to use for Remote Access */
forwardType?: InputMaybe<WanForwardType>;
/** The port to use for Remote Access. Not required for UPNP forwardType. Required for STATIC forwardType. Ignored if accessType is DISABLED or forwardType is UPNP. */
port?: InputMaybe<Scalars['Int']['input']>;
/** If true, the GraphQL sandbox will be enabled and available at /graphql. If false, the GraphQL sandbox will be disabled and only the production API will be available. */
sandbox?: InputMaybe<Scalars['Boolean']['input']>;
/** A list of Unique Unraid Account ID's */
ssoUserIds?: InputMaybe<Array<Scalars['String']['input']>>;
};
export type ArrayCapacity = {
__typename?: 'ArrayCapacity';
/** Capacity in number of disks */
disks: Capacity;
/** Capacity in kilobytes */
kilobytes: Capacity;
};
export type ArrayDisk = Node & {
__typename?: 'ArrayDisk';
color?: Maybe<ArrayDiskFsColor>;
/** User comment on disk */
comment?: Maybe<Scalars['String']['output']>;
/** (%) Disk space left for critical */
critical?: Maybe<Scalars['Int']['output']>;
device?: Maybe<Scalars['String']['output']>;
exportable?: Maybe<Scalars['Boolean']['output']>;
/** File format (ex MBR: 4KiB-aligned) */
format?: Maybe<Scalars['String']['output']>;
/** (KB) Free Size on the FS (Not present on Parity type drive) */
fsFree?: Maybe<Scalars['Long']['output']>;
/** (KB) Total Size of the FS (Not present on Parity type drive) */
fsSize?: Maybe<Scalars['Long']['output']>;
/** File system type for the disk */
fsType?: Maybe<Scalars['String']['output']>;
/** (KB) Used Size on the FS (Not present on Parity type drive) */
fsUsed?: Maybe<Scalars['Long']['output']>;
/** Disk identifier, only set for present disks on the system */
id: Scalars['ID']['output'];
/** Array slot number. Parity1 is always 0 and Parity2 is always 29. Array slots will be 1 - 28. Cache slots are 30 - 53. Flash is 54. */
idx: Scalars['Int']['output'];
name?: Maybe<Scalars['String']['output']>;
/** Number of unrecoverable errors reported by the device I/O drivers. Missing data due to unrecoverable array read errors is filled in on-the-fly using parity reconstruct (and we attempt to write this data back to the sector(s) which failed). Any unrecoverable write error results in disabling the disk. */
numErrors?: Maybe<Scalars['Long']['output']>;
/** Count of I/O read requests sent to the device I/O drivers. These statistics may be cleared at any time. */
numReads?: Maybe<Scalars['Long']['output']>;
/** Count of I/O writes requests sent to the device I/O drivers. These statistics may be cleared at any time. */
numWrites?: Maybe<Scalars['Long']['output']>;
/** Is the disk a HDD or SSD. */
rotational?: Maybe<Scalars['Boolean']['output']>;
/** (KB) Disk Size total */
size?: Maybe<Scalars['Long']['output']>;
status?: Maybe<ArrayDiskStatus>;
/** Disk temp - will be NaN if array is not started or DISK_NP */
temp?: Maybe<Scalars['Int']['output']>;
/** ata | nvme | usb | (others) */
transport?: Maybe<Scalars['String']['output']>;
/** Type of Disk - used to differentiate Cache / Flash / Array / Parity */
type: ArrayDiskType;
/** (%) Disk space left to warn */
warning?: Maybe<Scalars['Int']['output']>;
};
export enum ArrayDiskFsColor {
BLUE_BLINK = 'BLUE_BLINK',
BLUE_ON = 'BLUE_ON',
GREEN_BLINK = 'GREEN_BLINK',
GREEN_ON = 'GREEN_ON',
GREY_OFF = 'GREY_OFF',
RED_OFF = 'RED_OFF',
RED_ON = 'RED_ON',
YELLOW_BLINK = 'YELLOW_BLINK',
YELLOW_ON = 'YELLOW_ON'
}
export type ArrayDiskInput = {
/** Disk ID */
id: Scalars['ID']['input'];
/** The slot for the disk */
slot?: InputMaybe<Scalars['Int']['input']>;
};
export enum ArrayDiskStatus {
DISK_DSBL = 'DISK_DSBL',
DISK_DSBL_NEW = 'DISK_DSBL_NEW',
DISK_INVALID = 'DISK_INVALID',
DISK_NEW = 'DISK_NEW',
DISK_NP = 'DISK_NP',
DISK_NP_DSBL = 'DISK_NP_DSBL',
DISK_NP_MISSING = 'DISK_NP_MISSING',
DISK_OK = 'DISK_OK',
DISK_WRONG = 'DISK_WRONG'
}
export enum ArrayDiskType {
CACHE = 'CACHE',
DATA = 'DATA',
FLASH = 'FLASH',
PARITY = 'PARITY'
}
export type ArrayMutations = {
__typename?: 'ArrayMutations';
/** Add new disk to array */
addDiskToArray: UnraidArray;
/** Clear statistics for a disk in the array */
clearArrayDiskStatistics: Scalars['Boolean']['output'];
/** Mount a disk in the array */
mountArrayDisk: ArrayDisk;
/** Remove existing disk from array. NOTE: The array must be stopped before running this otherwise it'll throw an error. */
removeDiskFromArray: UnraidArray;
/** Set array state */
setState: UnraidArray;
/** Unmount a disk from the array */
unmountArrayDisk: ArrayDisk;
};
export type ArrayMutationsAddDiskToArrayArgs = {
input: ArrayDiskInput;
};
export type ArrayMutationsClearArrayDiskStatisticsArgs = {
id: Scalars['String']['input'];
};
export type ArrayMutationsMountArrayDiskArgs = {
id: Scalars['String']['input'];
};
export type ArrayMutationsRemoveDiskFromArrayArgs = {
input: ArrayDiskInput;
};
export type ArrayMutationsSetStateArgs = {
input: ArrayStateInput;
};
export type ArrayMutationsUnmountArrayDiskArgs = {
id: Scalars['String']['input'];
};
export enum ArrayPendingState {
NO_DATA_DISKS = 'NO_DATA_DISKS',
STARTING = 'STARTING',
STOPPING = 'STOPPING',
TOO_MANY_MISSING_DISKS = 'TOO_MANY_MISSING_DISKS'
}
export enum ArrayState {
DISABLE_DISK = 'DISABLE_DISK',
INVALID_EXPANSION = 'INVALID_EXPANSION',
NEW_ARRAY = 'NEW_ARRAY',
NEW_DISK_TOO_SMALL = 'NEW_DISK_TOO_SMALL',
NO_DATA_DISKS = 'NO_DATA_DISKS',
PARITY_NOT_BIGGEST = 'PARITY_NOT_BIGGEST',
RECON_DISK = 'RECON_DISK',
STARTED = 'STARTED',
STOPPED = 'STOPPED',
SWAP_DSBL = 'SWAP_DSBL',
TOO_MANY_MISSING_DISKS = 'TOO_MANY_MISSING_DISKS'
}
export type ArrayStateInput = {
/** Array state */
desiredState: ArrayStateInputState;
};
export enum ArrayStateInputState {
START = 'START',
STOP = 'STOP'
}
export type Baseboard = Node & {
__typename?: 'Baseboard';
assetTag?: Maybe<Scalars['String']['output']>;
id: Scalars['ID']['output'];
manufacturer: Scalars['String']['output'];
model?: Maybe<Scalars['String']['output']>;
serial?: Maybe<Scalars['String']['output']>;
version?: Maybe<Scalars['String']['output']>;
};
export type Capacity = {
__typename?: 'Capacity';
/** Free capacity */
free: Scalars['String']['output'];
/** Total capacity */
total: Scalars['String']['output'];
/** Used capacity */
used: Scalars['String']['output'];
};
export type Case = Node & {
__typename?: 'Case';
base64?: Maybe<Scalars['String']['output']>;
error?: Maybe<Scalars['String']['output']>;
icon?: Maybe<Scalars['String']['output']>;
id: Scalars['ID']['output'];
url?: Maybe<Scalars['String']['output']>;
};
export type Cloud = {
__typename?: 'Cloud';
allowedOrigins: Array<Scalars['String']['output']>;
apiKey: ApiKeyResponse;
cloud: CloudResponse;
error?: Maybe<Scalars['String']['output']>;
minigraphql: MinigraphqlResponse;
relay?: Maybe<RelayResponse>;
};
export type CloudResponse = {
__typename?: 'CloudResponse';
error?: Maybe<Scalars['String']['output']>;
ip?: Maybe<Scalars['String']['output']>;
status: Scalars['String']['output'];
};
export type Config = Node & {
__typename?: 'Config';
error?: Maybe<Scalars['String']['output']>;
id: Scalars['ID']['output'];
valid?: Maybe<Scalars['Boolean']['output']>;
};
/** Possible error states for configuration */
export enum ConfigErrorState {
INELIGIBLE = 'INELIGIBLE',
INVALID = 'INVALID',
NO_KEY_SERVER = 'NO_KEY_SERVER',
UNKNOWN_ERROR = 'UNKNOWN_ERROR',
WITHDRAWN = 'WITHDRAWN'
}
export type Connect = Node & {
__typename?: 'Connect';
/** The status of dynamic remote access */
dynamicRemoteAccess: DynamicRemoteAccessStatus;
/** The unique identifier for the Connect instance */
id: Scalars['ID']['output'];
/** The settings for the Connect instance */
settings: ConnectSettings;
};
export type ConnectSettings = Node & {
__typename?: 'ConnectSettings';
/** The data schema for the Connect settings */
dataSchema: Scalars['JSON']['output'];
/** The unique identifier for the Connect settings */
id: Scalars['ID']['output'];
/** The UI schema for the Connect settings */
uiSchema: Scalars['JSON']['output'];
/** The values for the Connect settings */
values: ConnectSettingsValues;
};
export type ConnectSettingsValues = {
__typename?: 'ConnectSettingsValues';
/** The type of WAN access used for Remote Access */
accessType: WanAccessType;
/** A list of origins allowed to interact with the API */
extraOrigins: Array<Scalars['String']['output']>;
/** The type of port forwarding used for Remote Access */
forwardType?: Maybe<WanForwardType>;
/** The port used for Remote Access */
port?: Maybe<Scalars['Int']['output']>;
/** If true, the GraphQL sandbox is enabled and available at /graphql. If false, the GraphQL sandbox is disabled and only the production API will be available. */
sandbox: Scalars['Boolean']['output'];
/** A list of Unique Unraid Account ID's */
ssoUserIds: Array<Scalars['String']['output']>;
};
export type ConnectSignInInput = {
/** The access token for authentication */
accessToken?: InputMaybe<Scalars['String']['input']>;
/** The API key for authentication */
apiKey: Scalars['String']['input'];
/** The ID token for authentication */
idToken?: InputMaybe<Scalars['String']['input']>;
/** The refresh token for authentication */
refreshToken?: InputMaybe<Scalars['String']['input']>;
/** User information for the sign-in */
userInfo?: InputMaybe<ConnectUserInfoInput>;
};
export type ConnectUserInfoInput = {
/** The avatar URL of the user */
avatar?: InputMaybe<Scalars['String']['input']>;
/** The email address of the user */
email: Scalars['String']['input'];
/** The preferred username of the user */
preferred_username: Scalars['String']['input'];
};
export type ContainerHostConfig = {
__typename?: 'ContainerHostConfig';
networkMode: Scalars['String']['output'];
};
export type ContainerPort = {
__typename?: 'ContainerPort';
ip?: Maybe<Scalars['String']['output']>;
privatePort: Scalars['Int']['output'];
publicPort: Scalars['Int']['output'];
type: ContainerPortType;
};
export enum ContainerPortType {
TCP = 'TCP',
UDP = 'UDP'
}
export enum ContainerState {
EXITED = 'EXITED',
RUNNING = 'RUNNING'
}
export type CreateApiKeyInput = {
description?: InputMaybe<Scalars['String']['input']>;
name: Scalars['String']['input'];
/** This will replace the existing key if one already exists with the same name, otherwise returns the existing key */
overwrite?: InputMaybe<Scalars['Boolean']['input']>;
permissions?: InputMaybe<Array<AddPermissionInput>>;
roles?: InputMaybe<Array<Role>>;
};
export type Devices = Node & {
__typename?: 'Devices';
gpu: Array<Gpu>;
id: Scalars['ID']['output'];
pci: Array<Pci>;
usb: Array<Usb>;
};
export type Disk = {
__typename?: 'Disk';
/** The number of bytes per sector */
bytesPerSector: Scalars['Float']['output'];
/** The device path of the disk (e.g. /dev/sdb) */
device: Scalars['String']['output'];
/** The firmware revision of the disk */
firmwareRevision: Scalars['String']['output'];
/** The unique identifier of the disk */
id: Scalars['String']['output'];
/** The interface type of the disk */
interfaceType: DiskInterfaceType;
/** The model name of the disk */
name: Scalars['String']['output'];
/** The partitions on the disk */
partitions: Array<DiskPartition>;
/** The number of sectors per track */
sectorsPerTrack: Scalars['Float']['output'];
/** The serial number of the disk */
serialNum: Scalars['String']['output'];
/** The total size of the disk in bytes */
size: Scalars['Float']['output'];
/** The SMART status of the disk */
smartStatus: DiskSmartStatus;
/** The current temperature of the disk in Celsius */
temperature?: Maybe<Scalars['Float']['output']>;
/** The total number of cylinders on the disk */
totalCylinders: Scalars['Float']['output'];
/** The total number of heads on the disk */
totalHeads: Scalars['Float']['output'];
/** The total number of sectors on the disk */
totalSectors: Scalars['Float']['output'];
/** The total number of tracks on the disk */
totalTracks: Scalars['Float']['output'];
/** The number of tracks per cylinder */
tracksPerCylinder: Scalars['Float']['output'];
/** The type of disk (e.g. SSD, HDD) */
type: Scalars['String']['output'];
/** The manufacturer of the disk */
vendor: Scalars['String']['output'];
};
/** The type of filesystem on the disk partition */
export enum DiskFsType {
BTRFS = 'BTRFS',
EXT4 = 'EXT4',
NTFS = 'NTFS',
VFAT = 'VFAT',
XFS = 'XFS',
ZFS = 'ZFS'
}
/** The type of interface the disk uses to connect to the system */
export enum DiskInterfaceType {
PCIE = 'PCIE',
SAS = 'SAS',
SATA = 'SATA',
UNKNOWN = 'UNKNOWN',
USB = 'USB'
}
export type DiskPartition = {
__typename?: 'DiskPartition';
/** The filesystem type of the partition */
fsType: DiskFsType;
/** The name of the partition */
name: Scalars['String']['output'];
/** The size of the partition in bytes */
size: Scalars['Float']['output'];
};
/** The SMART (Self-Monitoring, Analysis and Reporting Technology) status of the disk */
export enum DiskSmartStatus {
OK = 'OK',
UNKNOWN = 'UNKNOWN'
}
export type Display = Node & {
__typename?: 'Display';
banner?: Maybe<Scalars['String']['output']>;
case?: Maybe<Case>;
critical?: Maybe<Scalars['Int']['output']>;
dashapps?: Maybe<Scalars['String']['output']>;
date?: Maybe<Scalars['String']['output']>;
hot?: Maybe<Scalars['Int']['output']>;
id: Scalars['ID']['output'];
locale?: Maybe<Scalars['String']['output']>;
max?: Maybe<Scalars['Int']['output']>;
number?: Maybe<Scalars['String']['output']>;
resize?: Maybe<Scalars['Boolean']['output']>;
scale?: Maybe<Scalars['Boolean']['output']>;
tabs?: Maybe<Scalars['Boolean']['output']>;
text?: Maybe<Scalars['Boolean']['output']>;
theme?: Maybe<Theme>;
total?: Maybe<Scalars['Boolean']['output']>;
unit?: Maybe<Temperature>;
usage?: Maybe<Scalars['Boolean']['output']>;
users?: Maybe<Scalars['String']['output']>;
warning?: Maybe<Scalars['Int']['output']>;
wwn?: Maybe<Scalars['Boolean']['output']>;
};
export type Docker = Node & {
__typename?: 'Docker';
containers: Array<DockerContainer>;
id: Scalars['ID']['output'];
networks: Array<DockerNetwork>;
};
export type DockerContainer = {
__typename?: 'DockerContainer';
autoStart: Scalars['Boolean']['output'];
command: Scalars['String']['output'];
created: Scalars['Int']['output'];
hostConfig?: Maybe<ContainerHostConfig>;
id: Scalars['ID']['output'];
image: Scalars['String']['output'];
imageId: Scalars['String']['output'];
labels?: Maybe<Scalars['JSONObject']['output']>;
mounts?: Maybe<Array<Scalars['JSONObject']['output']>>;
names: Array<Scalars['String']['output']>;
networkSettings?: Maybe<Scalars['JSONObject']['output']>;
ports: Array<ContainerPort>;
/** Total size of all the files in the container */
sizeRootFs?: Maybe<Scalars['Int']['output']>;
state: ContainerState;
status: Scalars['String']['output'];
};
export type DockerMutations = {
__typename?: 'DockerMutations';
/** Start a container */
start: DockerContainer;
/** Stop a container */
stop: DockerContainer;
};
export type DockerMutationsStartArgs = {
id: Scalars['String']['input'];
};
export type DockerMutationsStopArgs = {
id: Scalars['String']['input'];
};
export type DockerNetwork = {
__typename?: 'DockerNetwork';
attachable: Scalars['Boolean']['output'];
configFrom: Scalars['JSONObject']['output'];
configOnly: Scalars['Boolean']['output'];
containers: Scalars['JSONObject']['output'];
created: Scalars['String']['output'];
driver: Scalars['String']['output'];
enableIPv6: Scalars['Boolean']['output'];
id: Scalars['ID']['output'];
ingress: Scalars['Boolean']['output'];
internal: Scalars['Boolean']['output'];
ipam: Scalars['JSONObject']['output'];
labels: Scalars['JSONObject']['output'];
name: Scalars['String']['output'];
options: Scalars['JSONObject']['output'];
scope: Scalars['String']['output'];
};
export type DynamicRemoteAccessStatus = {
__typename?: 'DynamicRemoteAccessStatus';
/** The type of dynamic remote access that is enabled */
enabledType: DynamicRemoteAccessType;
/** Any error message associated with the dynamic remote access */
error?: Maybe<Scalars['String']['output']>;
/** The type of dynamic remote access that is currently running */
runningType: DynamicRemoteAccessType;
};
export enum DynamicRemoteAccessType {
DISABLED = 'DISABLED',
STATIC = 'STATIC',
UPNP = 'UPNP'
}
export type EnableDynamicRemoteAccessInput = {
/** Whether to enable or disable dynamic remote access */
enabled: Scalars['Boolean']['input'];
/** The URL for dynamic remote access */
url: Scalars['URL']['input'];
};
export type Flash = Node & {
__typename?: 'Flash';
guid: Scalars['String']['output'];
id: Scalars['ID']['output'];
product: Scalars['String']['output'];
vendor: Scalars['String']['output'];
};
export type Gpu = Node & {
__typename?: 'Gpu';
blacklisted: Scalars['Boolean']['output'];
class: Scalars['String']['output'];
id: Scalars['ID']['output'];
productid: Scalars['String']['output'];
type: Scalars['String']['output'];
typeid: Scalars['String']['output'];
vendorname: Scalars['String']['output'];
};
export type Info = Node & {
__typename?: 'Info';
/** Count of docker containers */
apps: InfoApps;
baseboard: Baseboard;
cpu: InfoCpu;
devices: Devices;
display: Display;
id: Scalars['ID']['output'];
/** Machine ID */
machineId?: Maybe<Scalars['ID']['output']>;
memory: InfoMemory;
os: Os;
system: System;
time: Scalars['DateTime']['output'];
versions: Versions;
};
export type InfoApps = Node & {
__typename?: 'InfoApps';
id: Scalars['ID']['output'];
/** How many docker containers are installed */
installed: Scalars['Int']['output'];
/** How many docker containers are running */
started: Scalars['Int']['output'];
};
export type InfoCpu = Node & {
__typename?: 'InfoCpu';
brand: Scalars['String']['output'];
cache: Scalars['JSON']['output'];
cores: Scalars['Int']['output'];
family: Scalars['String']['output'];
flags: Array<Scalars['String']['output']>;
id: Scalars['ID']['output'];
manufacturer: Scalars['String']['output'];
model: Scalars['String']['output'];
processors: Scalars['Int']['output'];
revision: Scalars['String']['output'];
socket: Scalars['String']['output'];
speed: Scalars['Float']['output'];
speedmax: Scalars['Float']['output'];
speedmin: Scalars['Float']['output'];
stepping: Scalars['Int']['output'];
threads: Scalars['Int']['output'];
vendor: Scalars['String']['output'];
voltage?: Maybe<Scalars['String']['output']>;
};
export type InfoMemory = Node & {
__typename?: 'InfoMemory';
active: Scalars['Int']['output'];
available: Scalars['Int']['output'];
buffcache: Scalars['Int']['output'];
free: Scalars['Int']['output'];
id: Scalars['ID']['output'];
layout: Array<MemoryLayout>;
max: Scalars['Int']['output'];
swapfree: Scalars['Int']['output'];
swaptotal: Scalars['Int']['output'];
swapused: Scalars['Int']['output'];
total: Scalars['Int']['output'];
used: Scalars['Int']['output'];
};
export type KeyFile = {
__typename?: 'KeyFile';
contents?: Maybe<Scalars['String']['output']>;
location?: Maybe<Scalars['String']['output']>;
};
export type LogFile = {
__typename?: 'LogFile';
/** Last modified timestamp */
modifiedAt: Scalars['DateTime']['output'];
/** Name of the log file */
name: Scalars['String']['output'];
/** Full path to the log file */
path: Scalars['String']['output'];
/** Size of the log file in bytes */
size: Scalars['Int']['output'];
};
export type LogFileContent = {
__typename?: 'LogFileContent';
/** Content of the log file */
content: Scalars['String']['output'];
/** Path to the log file */
path: Scalars['String']['output'];
/** Starting line number of the content (1-indexed) */
startLine?: Maybe<Scalars['Int']['output']>;
/** Total number of lines in the file */
totalLines: Scalars['Int']['output'];
};
export type MemoryLayout = {
__typename?: 'MemoryLayout';
bank?: Maybe<Scalars['String']['output']>;
clockSpeed?: Maybe<Scalars['Int']['output']>;
formFactor?: Maybe<Scalars['String']['output']>;
manufacturer?: Maybe<Scalars['String']['output']>;
partNum?: Maybe<Scalars['String']['output']>;
serialNum?: Maybe<Scalars['String']['output']>;
size: Scalars['Int']['output'];
type?: Maybe<Scalars['String']['output']>;
voltageConfigured?: Maybe<Scalars['Int']['output']>;
voltageMax?: Maybe<Scalars['Int']['output']>;
voltageMin?: Maybe<Scalars['Int']['output']>;
};
export enum MinigraphStatus {
CONNECTED = 'CONNECTED',
CONNECTING = 'CONNECTING',
ERROR_RETRYING = 'ERROR_RETRYING',
PING_FAILURE = 'PING_FAILURE',
PRE_INIT = 'PRE_INIT'
}
export type MinigraphqlResponse = {
__typename?: 'MinigraphqlResponse';
error?: Maybe<Scalars['String']['output']>;
status: MinigraphStatus;
timeout?: Maybe<Scalars['Int']['output']>;
};
export type Mutation = {
__typename?: 'Mutation';
addRoleForApiKey: Scalars['Boolean']['output'];
archiveAll: NotificationOverview;
/** Marks a notification as archived. */
archiveNotification: Notification;
archiveNotifications: NotificationOverview;
array: ArrayMutations;
cancelParityCheck: Scalars['JSON']['output'];
connectSignIn: Scalars['Boolean']['output'];
connectSignOut: Scalars['Boolean']['output'];
createApiKey: ApiKeyWithSecret;
/** Creates a new notification record */
createNotification: Notification;
/** Deletes all archived notifications on server. */
deleteArchivedNotifications: NotificationOverview;
deleteNotification: NotificationOverview;
docker: DockerMutations;
enableDynamicRemoteAccess: Scalars['Boolean']['output'];
/** Force stop a virtual machine */
forceStopVm: Scalars['Boolean']['output'];
pauseParityCheck: Scalars['JSON']['output'];
/** Pause a virtual machine */
pauseVm: Scalars['Boolean']['output'];
/** Reboot a virtual machine */
rebootVm: Scalars['Boolean']['output'];
/** Reads each notification to recompute & update the overview. */
recalculateOverview: NotificationOverview;
removeRoleFromApiKey: Scalars['Boolean']['output'];
/** Reset a virtual machine */
resetVm: Scalars['Boolean']['output'];
resumeParityCheck: Scalars['JSON']['output'];
/** Resume a virtual machine */
resumeVm: Scalars['Boolean']['output'];
setAdditionalAllowedOrigins: Array<Scalars['String']['output']>;
setupRemoteAccess: Scalars['Boolean']['output'];
startParityCheck: Scalars['JSON']['output'];
/** Start a virtual machine */
startVm: Scalars['Boolean']['output'];
/** Stop a virtual machine */
stopVm: Scalars['Boolean']['output'];
unarchiveAll: NotificationOverview;
unarchiveNotifications: NotificationOverview;
/** Marks a notification as unread. */
unreadNotification: Notification;
updateApiSettings: ConnectSettingsValues;
};
export type MutationAddRoleForApiKeyArgs = {
input: AddRoleForApiKeyInput;
};
export type MutationArchiveAllArgs = {
importance?: InputMaybe<NotificationImportance>;
};
export type MutationArchiveNotificationArgs = {
id: Scalars['String']['input'];
};
export type MutationArchiveNotificationsArgs = {
ids: Array<Scalars['String']['input']>;
};
export type MutationConnectSignInArgs = {
input: ConnectSignInInput;
};
export type MutationCreateApiKeyArgs = {
input: CreateApiKeyInput;
};
export type MutationCreateNotificationArgs = {
input: NotificationData;
};
export type MutationDeleteNotificationArgs = {
id: Scalars['String']['input'];
type: NotificationType;
};
export type MutationEnableDynamicRemoteAccessArgs = {
input: EnableDynamicRemoteAccessInput;
};
export type MutationForceStopVmArgs = {
id: Scalars['String']['input'];
};
export type MutationPauseVmArgs = {
id: Scalars['String']['input'];
};
export type MutationRebootVmArgs = {
id: Scalars['String']['input'];
};
export type MutationRemoveRoleFromApiKeyArgs = {
input: RemoveRoleFromApiKeyInput;
};
export type MutationResetVmArgs = {
id: Scalars['String']['input'];
};
export type MutationResumeVmArgs = {
id: Scalars['String']['input'];
};
export type MutationSetAdditionalAllowedOriginsArgs = {
input: AllowedOriginInput;
};
export type MutationSetupRemoteAccessArgs = {
input: SetupRemoteAccessInput;
};
export type MutationStartParityCheckArgs = {
correct: Scalars['Boolean']['input'];
};
export type MutationStartVmArgs = {
id: Scalars['String']['input'];
};
export type MutationStopVmArgs = {
id: Scalars['String']['input'];
};
export type MutationUnarchiveAllArgs = {
importance?: InputMaybe<NotificationImportance>;
};
export type MutationUnarchiveNotificationsArgs = {
ids: Array<Scalars['String']['input']>;
};
export type MutationUnreadNotificationArgs = {
id: Scalars['String']['input'];
};
export type MutationUpdateApiSettingsArgs = {
input: ApiSettingsInput;
};
export type Network = Node & {
__typename?: 'Network';
accessUrls?: Maybe<Array<AccessUrl>>;
id: Scalars['ID']['output'];
};
export type Node = {
id: Scalars['ID']['output'];
};
export type Notification = {
__typename?: 'Notification';
description: Scalars['String']['output'];
formattedTimestamp?: Maybe<Scalars['String']['output']>;
id: Scalars['ID']['output'];
importance: NotificationImportance;
link?: Maybe<Scalars['String']['output']>;
subject: Scalars['String']['output'];
/** ISO Timestamp for when the notification occurred */
timestamp?: Maybe<Scalars['String']['output']>;
/** Also known as 'event' */
title: Scalars['String']['output'];
type: NotificationType;
};
export type NotificationCounts = {
__typename?: 'NotificationCounts';
alert: Scalars['Int']['output'];
info: Scalars['Int']['output'];
total: Scalars['Int']['output'];
warning: Scalars['Int']['output'];
};
export type NotificationData = {
description: Scalars['String']['input'];
importance: NotificationImportance;
link?: InputMaybe<Scalars['String']['input']>;
subject: Scalars['String']['input'];
title: Scalars['String']['input'];
};
export type NotificationFilter = {
importance?: InputMaybe<NotificationImportance>;
limit: Scalars['Int']['input'];
offset: Scalars['Int']['input'];
type: NotificationType;
};
export enum NotificationImportance {
ALERT = 'ALERT',
INFO = 'INFO',
WARNING = 'WARNING'
}
export type NotificationOverview = {
__typename?: 'NotificationOverview';
archive: NotificationCounts;
unread: NotificationCounts;
};
export enum NotificationType {
ARCHIVE = 'ARCHIVE',
UNREAD = 'UNREAD'
}
export type Notifications = {
__typename?: 'Notifications';
id: Scalars['ID']['output'];
list: Array<Notification>;
/** A cached overview of the notifications in the system & their severity. */
overview: NotificationOverview;
};
export type NotificationsListArgs = {
filter: NotificationFilter;
};
export type Os = Node & {
__typename?: 'Os';
arch?: Maybe<Scalars['String']['output']>;
build?: Maybe<Scalars['String']['output']>;
codename?: Maybe<Scalars['String']['output']>;
codepage?: Maybe<Scalars['String']['output']>;
distro?: Maybe<Scalars['String']['output']>;
hostname?: Maybe<Scalars['String']['output']>;
id: Scalars['ID']['output'];
kernel?: Maybe<Scalars['String']['output']>;
logofile?: Maybe<Scalars['String']['output']>;
platform?: Maybe<Scalars['String']['output']>;
release?: Maybe<Scalars['String']['output']>;
serial?: Maybe<Scalars['String']['output']>;
uptime?: Maybe<Scalars['String']['output']>;
};
export type Owner = {
__typename?: 'Owner';
avatar: Scalars['String']['output'];
url: Scalars['String']['output'];
username: Scalars['String']['output'];
};
export type ParityCheck = {
__typename?: 'ParityCheck';
/** Whether corrections are being written to parity */
correcting?: Maybe<Scalars['Boolean']['output']>;
/** Date of the parity check */
date?: Maybe<Scalars['DateTime']['output']>;
/** Duration of the parity check in seconds */
duration?: Maybe<Scalars['Int']['output']>;
/** Number of errors during the parity check */
errors?: Maybe<Scalars['Int']['output']>;
/** Whether the parity check is paused */
paused?: Maybe<Scalars['Boolean']['output']>;
/** Progress percentage of the parity check */
progress?: Maybe<Scalars['Int']['output']>;
/** Whether the parity check is running */
running?: Maybe<Scalars['Boolean']['output']>;
/** Speed of the parity check, in MB/s */
speed?: Maybe<Scalars['String']['output']>;
/** Status of the parity check */
status?: Maybe<Scalars['String']['output']>;
};
export type Pci = Node & {
__typename?: 'Pci';
blacklisted?: Maybe<Scalars['String']['output']>;
class?: Maybe<Scalars['String']['output']>;
id: Scalars['ID']['output'];
productid?: Maybe<Scalars['String']['output']>;
productname?: Maybe<Scalars['String']['output']>;
type?: Maybe<Scalars['String']['output']>;
typeid?: Maybe<Scalars['String']['output']>;
vendorid?: Maybe<Scalars['String']['output']>;
vendorname?: Maybe<Scalars['String']['output']>;
};
export type Permission = {
__typename?: 'Permission';
actions: Array<Scalars['String']['output']>;
resource: Resource;
};
export type ProfileModel = {
__typename?: 'ProfileModel';
avatar: Scalars['String']['output'];
url: Scalars['String']['output'];
userId?: Maybe<Scalars['ID']['output']>;
username: Scalars['String']['output'];
};
export type Query = {
__typename?: 'Query';
apiKey?: Maybe<ApiKey>;
apiKeys: Array<ApiKey>;
array: UnraidArray;
cloud: Cloud;
config: Config;
connect: Connect;
disk: Disk;
disks: Array<Disk>;
display: Display;
docker: Docker;
extraAllowedOrigins: Array<Scalars['String']['output']>;
flash: Flash;
info: Info;
logFile: LogFileContent;
logFiles: Array<LogFile>;
me: UserAccount;
network: Network;
/** Get all notifications */
notifications: Notifications;
online: Scalars['Boolean']['output'];
owner: Owner;
parityHistory: Array<ParityCheck>;
registration?: Maybe<Registration>;
remoteAccess: RemoteAccess;
server?: Maybe<Server>;
servers: Array<Server>;
services: Array<Service>;
shares: Array<Share>;
vars: Vars;
vms: Vms;
};
export type QueryApiKeyArgs = {
id: Scalars['String']['input'];
};
export type QueryDiskArgs = {
id: Scalars['String']['input'];
};
export type QueryLogFileArgs = {
lines?: InputMaybe<Scalars['Int']['input']>;
path: Scalars['String']['input'];
startLine?: InputMaybe<Scalars['Int']['input']>;
};
export type Registration = {
__typename?: 'Registration';
expiration?: Maybe<Scalars['String']['output']>;
guid?: Maybe<Scalars['ID']['output']>;
keyFile?: Maybe<KeyFile>;
state?: Maybe<RegistrationState>;
type?: Maybe<RegistrationType>;
updateExpiration?: Maybe<Scalars['String']['output']>;
};
export enum RegistrationState {
BASIC = 'BASIC',
EBLACKLISTED = 'EBLACKLISTED',
EBLACKLISTED1 = 'EBLACKLISTED1',
EBLACKLISTED2 = 'EBLACKLISTED2',
EEXPIRED = 'EEXPIRED',
EGUID = 'EGUID',
EGUID1 = 'EGUID1',
ENOCONN = 'ENOCONN',
ENOFLASH = 'ENOFLASH',
ENOFLASH1 = 'ENOFLASH1',
ENOFLASH2 = 'ENOFLASH2',
ENOFLASH3 = 'ENOFLASH3',
ENOFLASH4 = 'ENOFLASH4',
ENOFLASH5 = 'ENOFLASH5',
ENOFLASH6 = 'ENOFLASH6',
ENOFLASH7 = 'ENOFLASH7',
ENOKEYFILE = 'ENOKEYFILE',
ENOKEYFILE1 = 'ENOKEYFILE1',
ENOKEYFILE2 = 'ENOKEYFILE2',
ETRIAL = 'ETRIAL',
LIFETIME = 'LIFETIME',
PLUS = 'PLUS',
PRO = 'PRO',
STARTER = 'STARTER',
TRIAL = 'TRIAL',
UNLEASHED = 'UNLEASHED'
}
export type RelayResponse = {
__typename?: 'RelayResponse';
error?: Maybe<Scalars['String']['output']>;
status: Scalars['String']['output'];
timeout?: Maybe<Scalars['String']['output']>;
};
export type RemoteAccess = {
__typename?: 'RemoteAccess';
/** The type of WAN access used for Remote Access */
accessType: WanAccessType;
/** The type of port forwarding used for Remote Access */
forwardType?: Maybe<WanForwardType>;
/** The port used for Remote Access */
port?: Maybe<Scalars['Int']['output']>;
};
export type RemoveRoleFromApiKeyInput = {
apiKeyId: Scalars['ID']['input'];
role: Role;
};
/** Available resources for permissions */
export enum Resource {
API_KEY = 'API_KEY',
ARRAY = 'ARRAY',
CLOUD = 'CLOUD',
CONFIG = 'CONFIG',
CONNECT = 'CONNECT',
CONNECT__REMOTE_ACCESS = 'CONNECT__REMOTE_ACCESS',
CUSTOMIZATIONS = 'CUSTOMIZATIONS',
DASHBOARD = 'DASHBOARD',
DISK = 'DISK',
DISPLAY = 'DISPLAY',
DOCKER = 'DOCKER',
FLASH = 'FLASH',
INFO = 'INFO',
LOGS = 'LOGS',
ME = 'ME',
NETWORK = 'NETWORK',
NOTIFICATIONS = 'NOTIFICATIONS',
ONLINE = 'ONLINE',
OS = 'OS',
OWNER = 'OWNER',
PERMISSION = 'PERMISSION',
REGISTRATION = 'REGISTRATION',
SERVERS = 'SERVERS',
SERVICES = 'SERVICES',
SHARE = 'SHARE',
VARS = 'VARS',
VMS = 'VMS',
WELCOME = 'WELCOME'
}
/** Available roles for API keys and users */
export enum Role {
ADMIN = 'ADMIN',
CONNECT = 'CONNECT',
GUEST = 'GUEST'
}
export type Server = {
__typename?: 'Server';
apikey: Scalars['String']['output'];
guid: Scalars['String']['output'];
lanip: Scalars['String']['output'];
localurl: Scalars['String']['output'];
name: Scalars['String']['output'];
owner: ProfileModel;
remoteurl: Scalars['String']['output'];
status: ServerStatus;
wanip: Scalars['String']['output'];
};
export enum ServerStatus {
NEVER_CONNECTED = 'NEVER_CONNECTED',
OFFLINE = 'OFFLINE',
ONLINE = 'ONLINE'
}
export type Service = Node & {
__typename?: 'Service';
id: Scalars['ID']['output'];
name?: Maybe<Scalars['String']['output']>;
online?: Maybe<Scalars['Boolean']['output']>;
uptime?: Maybe<Uptime>;
version?: Maybe<Scalars['String']['output']>;
};
export type SetupRemoteAccessInput = {
/** The type of WAN access to use for Remote Access */
accessType: WanAccessType;
/** The type of port forwarding to use for Remote Access */
forwardType?: InputMaybe<WanForwardType>;
/** The port to use for Remote Access. Not required for UPNP forwardType. Required for STATIC forwardType. Ignored if accessType is DISABLED or forwardType is UPNP. */
port?: InputMaybe<Scalars['Int']['input']>;
};
export type Share = Node & {
__typename?: 'Share';
/** Allocator */
allocator?: Maybe<Scalars['String']['output']>;
/** Is this share cached */
cache?: Maybe<Scalars['Boolean']['output']>;
/** Color */
color?: Maybe<Scalars['String']['output']>;
/** User comment */
comment?: Maybe<Scalars['String']['output']>;
/** COW */
cow?: Maybe<Scalars['String']['output']>;
/** Disks that are excluded from this share */
exclude?: Maybe<Array<Scalars['String']['output']>>;
/** Floor */
floor?: Maybe<Scalars['String']['output']>;
/** (KB) Free space */
free?: Maybe<Scalars['Long']['output']>;
id: Scalars['ID']['output'];
/** Disks that are included in this share */
include?: Maybe<Array<Scalars['String']['output']>>;
/** LUKS status */
luksStatus?: Maybe<Scalars['String']['output']>;
/** Display name */
name?: Maybe<Scalars['String']['output']>;
/** Original name */
nameOrig?: Maybe<Scalars['String']['output']>;
/** (KB) Total size */
size?: Maybe<Scalars['Long']['output']>;
/** Split level */
splitLevel?: Maybe<Scalars['String']['output']>;
/** (KB) Used Size */
used?: Maybe<Scalars['Long']['output']>;
};
export type Subscription = {
__typename?: 'Subscription';
arraySubscription: UnraidArray;
displaySubscription: Display;
infoSubscription: Info;
logFile: LogFileContent;
notificationAdded: Notification;
notificationsOverview: NotificationOverview;
ownerSubscription: Owner;
parityHistorySubscription: ParityCheck;
registrationSubscription: Registration;
serversSubscription: Server;
};
export type SubscriptionLogFileArgs = {
path: Scalars['String']['input'];
};
export type System = Node & {
__typename?: 'System';
id: Scalars['ID']['output'];
manufacturer?: Maybe<Scalars['String']['output']>;
model?: Maybe<Scalars['String']['output']>;
serial?: Maybe<Scalars['String']['output']>;
sku?: Maybe<Scalars['String']['output']>;
uuid?: Maybe<Scalars['String']['output']>;
version?: Maybe<Scalars['String']['output']>;
};
/** Temperature unit (Celsius or Fahrenheit) */
export enum Temperature {
C = 'C',
F = 'F'
}
/** Display theme */
export enum Theme {
WHITE = 'white'
}
export enum UrlType {
DEFAULT = 'DEFAULT',
LAN = 'LAN',
MDNS = 'MDNS',
OTHER = 'OTHER',
WAN = 'WAN',
WIREGUARD = 'WIREGUARD'
}
export type UnraidArray = Node & {
__typename?: 'UnraidArray';
/** Current boot disk */
boot?: Maybe<ArrayDisk>;
/** Caches in the current array */
caches: Array<ArrayDisk>;
/** Current array capacity */
capacity: ArrayCapacity;
/** Data disks in the current array */
disks: Array<ArrayDisk>;
id: Scalars['ID']['output'];
/** Parity disks in the current array */
parities: Array<ArrayDisk>;
/** Array state after this query/mutation */
pendingState?: Maybe<ArrayPendingState>;
/** Array state before this query/mutation */
previousState?: Maybe<ArrayState>;
/** Current array state */
state: ArrayState;
};
export type Uptime = {
__typename?: 'Uptime';
timestamp?: Maybe<Scalars['String']['output']>;
};
export type Usb = {
__typename?: 'Usb';
id: Scalars['ID']['output'];
name?: Maybe<Scalars['String']['output']>;
};
export type UserAccount = {
__typename?: 'UserAccount';
/** A description of the user */
description: Scalars['String']['output'];
/** A unique identifier for the user */
id: Scalars['ID']['output'];
/** The name of the user */
name: Scalars['String']['output'];
/** The permissions of the user */
permissions?: Maybe<Array<Permission>>;
/** The roles of the user */
roles: Array<Role>;
};
export type Vars = Node & {
__typename?: 'Vars';
bindMgt?: Maybe<Scalars['Boolean']['output']>;
cacheNumDevices?: Maybe<Scalars['Int']['output']>;
cacheSbNumDisks?: Maybe<Scalars['Int']['output']>;
comment?: Maybe<Scalars['String']['output']>;
configError?: Maybe<ConfigErrorState>;
configValid?: Maybe<Scalars['Boolean']['output']>;
csrfToken?: Maybe<Scalars['String']['output']>;
defaultFormat?: Maybe<Scalars['String']['output']>;
defaultFsType?: Maybe<Scalars['String']['output']>;
deviceCount?: Maybe<Scalars['Int']['output']>;
domain?: Maybe<Scalars['String']['output']>;
domainLogin?: Maybe<Scalars['String']['output']>;
domainShort?: Maybe<Scalars['String']['output']>;
enableFruit?: Maybe<Scalars['String']['output']>;
flashGuid?: Maybe<Scalars['String']['output']>;
flashProduct?: Maybe<Scalars['String']['output']>;
flashVendor?: Maybe<Scalars['String']['output']>;
/** Percentage from 0 - 100 while upgrading a disk or swapping parity drives */
fsCopyPrcnt?: Maybe<Scalars['Int']['output']>;
fsNumMounted?: Maybe<Scalars['Int']['output']>;
fsNumUnmountable?: Maybe<Scalars['Int']['output']>;
/** Human friendly string of array events happening */
fsProgress?: Maybe<Scalars['String']['output']>;
fsState?: Maybe<Scalars['String']['output']>;
fsUnmountableMask?: Maybe<Scalars['String']['output']>;
fuseDirectio?: Maybe<Scalars['String']['output']>;
fuseDirectioDefault?: Maybe<Scalars['String']['output']>;
fuseDirectioStatus?: Maybe<Scalars['String']['output']>;
fuseRemember?: Maybe<Scalars['String']['output']>;
fuseRememberDefault?: Maybe<Scalars['String']['output']>;
fuseRememberStatus?: Maybe<Scalars['String']['output']>;
hideDotFiles?: Maybe<Scalars['Boolean']['output']>;
id: Scalars['ID']['output'];
joinStatus?: Maybe<Scalars['String']['output']>;
localMaster?: Maybe<Scalars['Boolean']['output']>;
localTld?: Maybe<Scalars['String']['output']>;
luksKeyfile?: Maybe<Scalars['String']['output']>;
maxArraysz?: Maybe<Scalars['Int']['output']>;
maxCachesz?: Maybe<Scalars['Int']['output']>;
mdColor?: Maybe<Scalars['String']['output']>;
mdNumDisabled?: Maybe<Scalars['Int']['output']>;
mdNumDisks?: Maybe<Scalars['Int']['output']>;
mdNumErased?: Maybe<Scalars['Int']['output']>;
mdNumInvalid?: Maybe<Scalars['Int']['output']>;
mdNumMissing?: Maybe<Scalars['Int']['output']>;
mdNumNew?: Maybe<Scalars['Int']['output']>;
mdNumStripes?: Maybe<Scalars['Int']['output']>;
mdNumStripesDefault?: Maybe<Scalars['Int']['output']>;
mdNumStripesStatus?: Maybe<Scalars['String']['output']>;
mdResync?: Maybe<Scalars['Int']['output']>;
mdResyncAction?: Maybe<Scalars['String']['output']>;
mdResyncCorr?: Maybe<Scalars['String']['output']>;
mdResyncDb?: Maybe<Scalars['String']['output']>;
mdResyncDt?: Maybe<Scalars['String']['output']>;
mdResyncPos?: Maybe<Scalars['String']['output']>;
mdResyncSize?: Maybe<Scalars['Int']['output']>;
mdState?: Maybe<Scalars['String']['output']>;
mdSyncThresh?: Maybe<Scalars['Int']['output']>;
mdSyncThreshDefault?: Maybe<Scalars['Int']['output']>;
mdSyncThreshStatus?: Maybe<Scalars['String']['output']>;
mdSyncWindow?: Maybe<Scalars['Int']['output']>;
mdSyncWindowDefault?: Maybe<Scalars['Int']['output']>;
mdSyncWindowStatus?: Maybe<Scalars['String']['output']>;
mdVersion?: Maybe<Scalars['String']['output']>;
mdWriteMethod?: Maybe<Scalars['Int']['output']>;
mdWriteMethodDefault?: Maybe<Scalars['String']['output']>;
mdWriteMethodStatus?: Maybe<Scalars['String']['output']>;
/** Machine hostname */
name?: Maybe<Scalars['String']['output']>;
nrRequests?: Maybe<Scalars['Int']['output']>;
nrRequestsDefault?: Maybe<Scalars['Int']['output']>;
nrRequestsStatus?: Maybe<Scalars['String']['output']>;
/** NTP Server 1 */
ntpServer1?: Maybe<Scalars['String']['output']>;
/** NTP Server 2 */
ntpServer2?: Maybe<Scalars['String']['output']>;
/** NTP Server 3 */
ntpServer3?: Maybe<Scalars['String']['output']>;
/** NTP Server 4 */
ntpServer4?: Maybe<Scalars['String']['output']>;
pollAttributes?: Maybe<Scalars['String']['output']>;
pollAttributesDefault?: Maybe<Scalars['String']['output']>;
pollAttributesStatus?: Maybe<Scalars['String']['output']>;
/** Port for the webui via HTTP */
port?: Maybe<Scalars['Int']['output']>;
portssh?: Maybe<Scalars['Int']['output']>;
/** Port for the webui via HTTPS */
portssl?: Maybe<Scalars['Int']['output']>;
porttelnet?: Maybe<Scalars['Int']['output']>;
queueDepth?: Maybe<Scalars['String']['output']>;
regCheck?: Maybe<Scalars['String']['output']>;
regFile?: Maybe<Scalars['String']['output']>;
regGen?: Maybe<Scalars['String']['output']>;
regGuid?: Maybe<Scalars['String']['output']>;
regState?: Maybe<RegistrationState>;
regTm?: Maybe<Scalars['String']['output']>;
regTm2?: Maybe<Scalars['String']['output']>;
/** Registration owner */
regTo?: Maybe<Scalars['String']['output']>;
regTy?: Maybe<RegistrationType>;
safeMode?: Maybe<Scalars['Boolean']['output']>;
sbClean?: Maybe<Scalars['Boolean']['output']>;
sbEvents?: Maybe<Scalars['Int']['output']>;
sbName?: Maybe<Scalars['String']['output']>;
sbNumDisks?: Maybe<Scalars['Int']['output']>;
sbState?: Maybe<Scalars['String']['output']>;
sbSyncErrs?: Maybe<Scalars['Int']['output']>;
sbSyncExit?: Maybe<Scalars['String']['output']>;
sbSynced?: Maybe<Scalars['Int']['output']>;
sbSynced2?: Maybe<Scalars['Int']['output']>;
sbUpdated?: Maybe<Scalars['String']['output']>;
sbVersion?: Maybe<Scalars['String']['output']>;
security?: Maybe<Scalars['String']['output']>;
/** Total amount shares with AFP enabled */
shareAfpCount?: Maybe<Scalars['Int']['output']>;
shareAfpEnabled?: Maybe<Scalars['Boolean']['output']>;
shareAvahiAfpModel?: Maybe<Scalars['String']['output']>;
shareAvahiAfpName?: Maybe<Scalars['String']['output']>;
shareAvahiEnabled?: Maybe<Scalars['Boolean']['output']>;
shareAvahiSmbModel?: Maybe<Scalars['String']['output']>;
shareAvahiSmbName?: Maybe<Scalars['String']['output']>;
shareCacheEnabled?: Maybe<Scalars['Boolean']['output']>;
shareCacheFloor?: Maybe<Scalars['String']['output']>;
/** Total amount of user shares */
shareCount?: Maybe<Scalars['Int']['output']>;
shareDisk?: Maybe<Scalars['String']['output']>;
shareInitialGroup?: Maybe<Scalars['String']['output']>;
shareInitialOwner?: Maybe<Scalars['String']['output']>;
shareMoverActive?: Maybe<Scalars['Boolean']['output']>;
shareMoverLogging?: Maybe<Scalars['Boolean']['output']>;
shareMoverSchedule?: Maybe<Scalars['String']['output']>;
/** Total amount shares with NFS enabled */
shareNfsCount?: Maybe<Scalars['Int']['output']>;
shareNfsEnabled?: Maybe<Scalars['Boolean']['output']>;
/** Total amount shares with SMB enabled */
shareSmbCount?: Maybe<Scalars['Int']['output']>;
shareSmbEnabled?: Maybe<Scalars['Boolean']['output']>;
shareUser?: Maybe<Scalars['String']['output']>;
shareUserExclude?: Maybe<Scalars['String']['output']>;
shareUserInclude?: Maybe<Scalars['String']['output']>;
shutdownTimeout?: Maybe<Scalars['Int']['output']>;
spindownDelay?: Maybe<Scalars['String']['output']>;
spinupGroups?: Maybe<Scalars['Boolean']['output']>;
startArray?: Maybe<Scalars['Boolean']['output']>;
startMode?: Maybe<Scalars['String']['output']>;
startPage?: Maybe<Scalars['String']['output']>;
sysArraySlots?: Maybe<Scalars['Int']['output']>;
sysCacheSlots?: Maybe<Scalars['Int']['output']>;
sysFlashSlots?: Maybe<Scalars['Int']['output']>;
sysModel?: Maybe<Scalars['String']['output']>;
timeZone?: Maybe<Scalars['String']['output']>;
/** Should a NTP server be used for time sync? */
useNtp?: Maybe<Scalars['Boolean']['output']>;
useSsh?: Maybe<Scalars['Boolean']['output']>;
useSsl?: Maybe<Scalars['Boolean']['output']>;
/** Should telnet be enabled? */
useTelnet?: Maybe<Scalars['Boolean']['output']>;
/** Unraid version */
version?: Maybe<Scalars['String']['output']>;
workgroup?: Maybe<Scalars['String']['output']>;
};
export type Versions = Node & {
__typename?: 'Versions';
apache?: Maybe<Scalars['String']['output']>;
docker?: Maybe<Scalars['String']['output']>;
gcc?: Maybe<Scalars['String']['output']>;
git?: Maybe<Scalars['String']['output']>;
grunt?: Maybe<Scalars['String']['output']>;
gulp?: Maybe<Scalars['String']['output']>;
id: Scalars['ID']['output'];
kernel?: Maybe<Scalars['String']['output']>;
mongodb?: Maybe<Scalars['String']['output']>;
mysql?: Maybe<Scalars['String']['output']>;
nginx?: Maybe<Scalars['String']['output']>;
node?: Maybe<Scalars['String']['output']>;
npm?: Maybe<Scalars['String']['output']>;
openssl?: Maybe<Scalars['String']['output']>;
perl?: Maybe<Scalars['String']['output']>;
php?: Maybe<Scalars['String']['output']>;
pm2?: Maybe<Scalars['String']['output']>;
postfix?: Maybe<Scalars['String']['output']>;
postgresql?: Maybe<Scalars['String']['output']>;
python?: Maybe<Scalars['String']['output']>;
redis?: Maybe<Scalars['String']['output']>;
systemOpenssl?: Maybe<Scalars['String']['output']>;
systemOpensslLib?: Maybe<Scalars['String']['output']>;
tsc?: Maybe<Scalars['String']['output']>;
unraid?: Maybe<Scalars['String']['output']>;
v8?: Maybe<Scalars['String']['output']>;
yarn?: Maybe<Scalars['String']['output']>;
};
export type VmDomain = {
__typename?: 'VmDomain';
/** A friendly name for the vm */
name?: Maybe<Scalars['String']['output']>;
/** Current domain vm state */
state: VmState;
uuid: Scalars['ID']['output'];
};
/** The state of a virtual machine */
export enum VmState {
CRASHED = 'CRASHED',
IDLE = 'IDLE',
NOSTATE = 'NOSTATE',
PAUSED = 'PAUSED',
PMSUSPENDED = 'PMSUSPENDED',
RUNNING = 'RUNNING',
SHUTDOWN = 'SHUTDOWN',
SHUTOFF = 'SHUTOFF'
}
export type Vms = {
__typename?: 'Vms';
domains?: Maybe<Array<VmDomain>>;
id: Scalars['ID']['output'];
};
export enum WanAccessType {
ALWAYS = 'ALWAYS',
DISABLED = 'DISABLED',
DYNAMIC = 'DYNAMIC'
}
export enum WanForwardType {
STATIC = 'STATIC',
UPNP = 'UPNP'
}
export enum RegistrationType {
BASIC = 'BASIC',
INVALID = 'INVALID',
LIFETIME = 'LIFETIME',
PLUS = 'PLUS',
PRO = 'PRO',
STARTER = 'STARTER',
TRIAL = 'TRIAL',
UNLEASHED = 'UNLEASHED'
}
export type GetConnectSettingsFormQueryVariables = Exact<{ [key: string]: never; }>;
export type GetConnectSettingsFormQuery = { __typename?: 'Query', connect: { __typename?: 'Connect', id: string, settings: { __typename?: 'ConnectSettings', id: string, dataSchema: any, uiSchema: any, values: { __typename?: 'ConnectSettingsValues', sandbox: boolean, extraOrigins: Array<string>, accessType: WanAccessType, forwardType?: WanForwardType | null, port?: number | null, ssoUserIds: Array<string> } } } };
export type UpdateConnectSettingsMutationVariables = Exact<{
input: ApiSettingsInput;
}>;
export type UpdateConnectSettingsMutation = { __typename?: 'Mutation', updateApiSettings: { __typename?: 'ConnectSettingsValues', sandbox: boolean, extraOrigins: Array<string>, accessType: WanAccessType, forwardType?: WanForwardType | null, port?: number | null, ssoUserIds: Array<string> } };
export type LogFilesQueryVariables = Exact<{ [key: string]: never; }>;
export type LogFilesQuery = { __typename?: 'Query', logFiles: Array<{ __typename?: 'LogFile', name: string, path: string, size: number, modifiedAt: string }> };
export type LogFileContentQueryVariables = Exact<{
path: Scalars['String']['input'];
lines?: InputMaybe<Scalars['Int']['input']>;
startLine?: InputMaybe<Scalars['Int']['input']>;
}>;
export type LogFileContentQuery = { __typename?: 'Query', logFile: { __typename?: 'LogFileContent', path: string, content: string, totalLines: number, startLine?: number | null } };
export type LogFileSubscriptionSubscriptionVariables = Exact<{
path: Scalars['String']['input'];
}>;
export type LogFileSubscriptionSubscription = { __typename?: 'Subscription', logFile: { __typename?: 'LogFileContent', path: string, content: string, totalLines: number } };
export type NotificationFragmentFragment = { __typename?: 'Notification', id: string, title: string, subject: string, description: string, importance: NotificationImportance, link?: string | null, type: NotificationType, timestamp?: string | null, formattedTimestamp?: string | null } & { ' $fragmentName'?: 'NotificationFragmentFragment' };
export type NotificationCountFragmentFragment = { __typename?: 'NotificationCounts', total: number, info: number, warning: number, alert: number } & { ' $fragmentName'?: 'NotificationCountFragmentFragment' };
export type NotificationsQueryVariables = Exact<{
filter: NotificationFilter;
}>;
export type NotificationsQuery = { __typename?: 'Query', notifications: { __typename?: 'Notifications', id: string, list: Array<(
{ __typename?: 'Notification' }
& { ' $fragmentRefs'?: { 'NotificationFragmentFragment': NotificationFragmentFragment } }
)> } };
export type ArchiveNotificationMutationVariables = Exact<{
id: Scalars['String']['input'];
}>;
export type ArchiveNotificationMutation = { __typename?: 'Mutation', archiveNotification: (
{ __typename?: 'Notification' }
& { ' $fragmentRefs'?: { 'NotificationFragmentFragment': NotificationFragmentFragment } }
) };
export type ArchiveAllNotificationsMutationVariables = Exact<{ [key: string]: never; }>;
export type ArchiveAllNotificationsMutation = { __typename?: 'Mutation', archiveAll: { __typename?: 'NotificationOverview', unread: { __typename?: 'NotificationCounts', total: number }, archive: { __typename?: 'NotificationCounts', info: number, warning: number, alert: number, total: number } } };
export type DeleteNotificationMutationVariables = Exact<{
id: Scalars['String']['input'];
type: NotificationType;
}>;
export type DeleteNotificationMutation = { __typename?: 'Mutation', deleteNotification: { __typename?: 'NotificationOverview', archive: { __typename?: 'NotificationCounts', total: number } } };
export type DeleteAllNotificationsMutationVariables = Exact<{ [key: string]: never; }>;
export type DeleteAllNotificationsMutation = { __typename?: 'Mutation', deleteArchivedNotifications: { __typename?: 'NotificationOverview', archive: { __typename?: 'NotificationCounts', total: number }, unread: { __typename?: 'NotificationCounts', total: number } } };
export type OverviewQueryVariables = Exact<{ [key: string]: never; }>;
export type OverviewQuery = { __typename?: 'Query', notifications: { __typename?: 'Notifications', id: string, overview: { __typename?: 'NotificationOverview', unread: { __typename?: 'NotificationCounts', info: number, warning: number, alert: number, total: number }, archive: { __typename?: 'NotificationCounts', total: number } } } };
export type RecomputeOverviewMutationVariables = Exact<{ [key: string]: never; }>;
export type RecomputeOverviewMutation = { __typename?: 'Mutation', recalculateOverview: { __typename?: 'NotificationOverview', archive: (
{ __typename?: 'NotificationCounts' }
& { ' $fragmentRefs'?: { 'NotificationCountFragmentFragment': NotificationCountFragmentFragment } }
), unread: (
{ __typename?: 'NotificationCounts' }
& { ' $fragmentRefs'?: { 'NotificationCountFragmentFragment': NotificationCountFragmentFragment } }
) } };
export type NotificationAddedSubSubscriptionVariables = Exact<{ [key: string]: never; }>;
export type NotificationAddedSubSubscription = { __typename?: 'Subscription', notificationAdded: (
{ __typename?: 'Notification' }
& { ' $fragmentRefs'?: { 'NotificationFragmentFragment': NotificationFragmentFragment } }
) };
export type NotificationOverviewSubSubscriptionVariables = Exact<{ [key: string]: never; }>;
export type NotificationOverviewSubSubscription = { __typename?: 'Subscription', notificationsOverview: { __typename?: 'NotificationOverview', archive: (
{ __typename?: 'NotificationCounts' }
& { ' $fragmentRefs'?: { 'NotificationCountFragmentFragment': NotificationCountFragmentFragment } }
), unread: (
{ __typename?: 'NotificationCounts' }
& { ' $fragmentRefs'?: { 'NotificationCountFragmentFragment': NotificationCountFragmentFragment } }
) } };
export type ConnectSignInMutationVariables = Exact<{
input: ConnectSignInInput;
}>;
export type ConnectSignInMutation = { __typename?: 'Mutation', connectSignIn: boolean };
export type SignOutMutationVariables = Exact<{ [key: string]: never; }>;
export type SignOutMutation = { __typename?: 'Mutation', connectSignOut: boolean };
export type PartialCloudFragment = { __typename?: 'Cloud', error?: string | null, apiKey: { __typename?: 'ApiKeyResponse', valid: boolean, error?: string | null }, cloud: { __typename?: 'CloudResponse', status: string, error?: string | null }, minigraphql: { __typename?: 'MinigraphqlResponse', status: MinigraphStatus, error?: string | null }, relay?: { __typename?: 'RelayResponse', status: string, error?: string | null } | null } & { ' $fragmentName'?: 'PartialCloudFragment' };
export type ServerStateQueryVariables = Exact<{ [key: string]: never; }>;
export type ServerStateQuery = { __typename?: 'Query', cloud: (
{ __typename?: 'Cloud' }
& { ' $fragmentRefs'?: { 'PartialCloudFragment': PartialCloudFragment } }
), config: { __typename?: 'Config', error?: string | null, valid?: boolean | null }, info: { __typename?: 'Info', os: { __typename?: 'Os', hostname?: string | null } }, owner: { __typename?: 'Owner', avatar: string, username: string }, registration?: { __typename?: 'Registration', state?: RegistrationState | null, expiration?: string | null, updateExpiration?: string | null, keyFile?: { __typename?: 'KeyFile', contents?: string | null } | null } | null, vars: { __typename?: 'Vars', regGen?: string | null, regState?: RegistrationState | null, configError?: ConfigErrorState | null, configValid?: boolean | null } };
export type GetExtraAllowedOriginsQueryVariables = Exact<{ [key: string]: never; }>;
export type GetExtraAllowedOriginsQuery = { __typename?: 'Query', extraAllowedOrigins: Array<string> };
export type GetRemoteAccessQueryVariables = Exact<{ [key: string]: never; }>;
export type GetRemoteAccessQuery = { __typename?: 'Query', remoteAccess: { __typename?: 'RemoteAccess', accessType: WanAccessType, forwardType?: WanForwardType | null, port?: number | null } };
export type SetAdditionalAllowedOriginsMutationVariables = Exact<{
input: AllowedOriginInput;
}>;
export type SetAdditionalAllowedOriginsMutation = { __typename?: 'Mutation', setAdditionalAllowedOrigins: Array<string> };
export type SetupRemoteAccessMutationVariables = Exact<{
input: SetupRemoteAccessInput;
}>;
export type SetupRemoteAccessMutation = { __typename?: 'Mutation', setupRemoteAccess: boolean };
export const NotificationFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NotificationFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Notification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"subject"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"importance"}},{"kind":"Field","name":{"kind":"Name","value":"link"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"formattedTimestamp"}}]}}]} as unknown as DocumentNode<NotificationFragmentFragment, unknown>;
export const NotificationCountFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NotificationCountFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NotificationCounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"info"}},{"kind":"Field","name":{"kind":"Name","value":"warning"}},{"kind":"Field","name":{"kind":"Name","value":"alert"}}]}}]} as unknown as DocumentNode<NotificationCountFragmentFragment, unknown>;
export const PartialCloudFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PartialCloud"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Cloud"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"error"}},{"kind":"Field","name":{"kind":"Name","value":"apiKey"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valid"}},{"kind":"Field","name":{"kind":"Name","value":"error"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cloud"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"error"}}]}},{"kind":"Field","name":{"kind":"Name","value":"minigraphql"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"error"}}]}},{"kind":"Field","name":{"kind":"Name","value":"relay"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"error"}}]}}]}}]} as unknown as DocumentNode<PartialCloudFragment, unknown>;
export const GetConnectSettingsFormDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetConnectSettingsForm"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"connect"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"settings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"dataSchema"}},{"kind":"Field","name":{"kind":"Name","value":"uiSchema"}},{"kind":"Field","name":{"kind":"Name","value":"values"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sandbox"}},{"kind":"Field","name":{"kind":"Name","value":"extraOrigins"}},{"kind":"Field","name":{"kind":"Name","value":"accessType"}},{"kind":"Field","name":{"kind":"Name","value":"forwardType"}},{"kind":"Field","name":{"kind":"Name","value":"port"}},{"kind":"Field","name":{"kind":"Name","value":"ssoUserIds"}}]}}]}}]}}]}}]} as unknown as DocumentNode<GetConnectSettingsFormQuery, GetConnectSettingsFormQueryVariables>;
export const UpdateConnectSettingsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateConnectSettings"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ApiSettingsInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateApiSettings"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sandbox"}},{"kind":"Field","name":{"kind":"Name","value":"extraOrigins"}},{"kind":"Field","name":{"kind":"Name","value":"accessType"}},{"kind":"Field","name":{"kind":"Name","value":"forwardType"}},{"kind":"Field","name":{"kind":"Name","value":"port"}},{"kind":"Field","name":{"kind":"Name","value":"ssoUserIds"}}]}}]}}]} as unknown as DocumentNode<UpdateConnectSettingsMutation, UpdateConnectSettingsMutationVariables>;
export const LogFilesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"LogFiles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"logFiles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"path"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"modifiedAt"}}]}}]}}]} as unknown as DocumentNode<LogFilesQuery, LogFilesQueryVariables>;
export const LogFileContentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"LogFileContent"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"path"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"lines"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"startLine"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"logFile"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"path"},"value":{"kind":"Variable","name":{"kind":"Name","value":"path"}}},{"kind":"Argument","name":{"kind":"Name","value":"lines"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lines"}}},{"kind":"Argument","name":{"kind":"Name","value":"startLine"},"value":{"kind":"Variable","name":{"kind":"Name","value":"startLine"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"path"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"totalLines"}},{"kind":"Field","name":{"kind":"Name","value":"startLine"}}]}}]}}]} as unknown as DocumentNode<LogFileContentQuery, LogFileContentQueryVariables>;
export const LogFileSubscriptionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"LogFileSubscription"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"path"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"logFile"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"path"},"value":{"kind":"Variable","name":{"kind":"Name","value":"path"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"path"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"totalLines"}}]}}]}}]} as unknown as DocumentNode<LogFileSubscriptionSubscription, LogFileSubscriptionSubscriptionVariables>;
export const NotificationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Notifications"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"NotificationFilter"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"notifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"list"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NotificationFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NotificationFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Notification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"subject"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"importance"}},{"kind":"Field","name":{"kind":"Name","value":"link"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"formattedTimestamp"}}]}}]} as unknown as DocumentNode<NotificationsQuery, NotificationsQueryVariables>;
export const ArchiveNotificationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ArchiveNotification"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"archiveNotification"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NotificationFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NotificationFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Notification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"subject"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"importance"}},{"kind":"Field","name":{"kind":"Name","value":"link"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"formattedTimestamp"}}]}}]} as unknown as DocumentNode<ArchiveNotificationMutation, ArchiveNotificationMutationVariables>;
export const ArchiveAllNotificationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ArchiveAllNotifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"archiveAll"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"unread"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}}]}},{"kind":"Field","name":{"kind":"Name","value":"archive"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"info"}},{"kind":"Field","name":{"kind":"Name","value":"warning"}},{"kind":"Field","name":{"kind":"Name","value":"alert"}},{"kind":"Field","name":{"kind":"Name","value":"total"}}]}}]}}]}}]} as unknown as DocumentNode<ArchiveAllNotificationsMutation, ArchiveAllNotificationsMutationVariables>;
export const DeleteNotificationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteNotification"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"type"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"NotificationType"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteNotification"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"type"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"archive"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}}]}}]}}]}}]} as unknown as DocumentNode<DeleteNotificationMutation, DeleteNotificationMutationVariables>;
export const DeleteAllNotificationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteAllNotifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteArchivedNotifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"archive"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unread"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}}]}}]}}]}}]} as unknown as DocumentNode<DeleteAllNotificationsMutation, DeleteAllNotificationsMutationVariables>;
export const OverviewDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Overview"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"notifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"overview"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"unread"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"info"}},{"kind":"Field","name":{"kind":"Name","value":"warning"}},{"kind":"Field","name":{"kind":"Name","value":"alert"}},{"kind":"Field","name":{"kind":"Name","value":"total"}}]}},{"kind":"Field","name":{"kind":"Name","value":"archive"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}}]}}]}}]}}]}}]} as unknown as DocumentNode<OverviewQuery, OverviewQueryVariables>;
export const RecomputeOverviewDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RecomputeOverview"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"recalculateOverview"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"archive"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NotificationCountFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unread"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NotificationCountFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NotificationCountFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NotificationCounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"info"}},{"kind":"Field","name":{"kind":"Name","value":"warning"}},{"kind":"Field","name":{"kind":"Name","value":"alert"}}]}}]} as unknown as DocumentNode<RecomputeOverviewMutation, RecomputeOverviewMutationVariables>;
export const NotificationAddedSubDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"NotificationAddedSub"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"notificationAdded"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NotificationFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NotificationFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Notification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"subject"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"importance"}},{"kind":"Field","name":{"kind":"Name","value":"link"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"formattedTimestamp"}}]}}]} as unknown as DocumentNode<NotificationAddedSubSubscription, NotificationAddedSubSubscriptionVariables>;
export const NotificationOverviewSubDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"NotificationOverviewSub"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"notificationsOverview"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"archive"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NotificationCountFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unread"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NotificationCountFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NotificationCountFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NotificationCounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"info"}},{"kind":"Field","name":{"kind":"Name","value":"warning"}},{"kind":"Field","name":{"kind":"Name","value":"alert"}}]}}]} as unknown as DocumentNode<NotificationOverviewSubSubscription, NotificationOverviewSubSubscriptionVariables>;
export const ConnectSignInDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ConnectSignIn"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ConnectSignInInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"connectSignIn"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}]}]}}]} as unknown as DocumentNode<ConnectSignInMutation, ConnectSignInMutationVariables>;
export const SignOutDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SignOut"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"connectSignOut"}}]}}]} as unknown as DocumentNode<SignOutMutation, SignOutMutationVariables>;
export const ServerStateDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"serverState"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cloud"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PartialCloud"}}]}},{"kind":"Field","name":{"kind":"Name","value":"config"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"error"}},{"kind":"Field","name":{"kind":"Name","value":"valid"}}]}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"os"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hostname"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"avatar"}},{"kind":"Field","name":{"kind":"Name","value":"username"}}]}},{"kind":"Field","name":{"kind":"Name","value":"registration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"expiration"}},{"kind":"Field","name":{"kind":"Name","value":"keyFile"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"contents"}}]}},{"kind":"Field","name":{"kind":"Name","value":"updateExpiration"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vars"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"regGen"}},{"kind":"Field","name":{"kind":"Name","value":"regState"}},{"kind":"Field","name":{"kind":"Name","value":"configError"}},{"kind":"Field","name":{"kind":"Name","value":"configValid"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PartialCloud"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Cloud"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"error"}},{"kind":"Field","name":{"kind":"Name","value":"apiKey"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valid"}},{"kind":"Field","name":{"kind":"Name","value":"error"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cloud"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"error"}}]}},{"kind":"Field","name":{"kind":"Name","value":"minigraphql"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"error"}}]}},{"kind":"Field","name":{"kind":"Name","value":"relay"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"error"}}]}}]}}]} as unknown as DocumentNode<ServerStateQuery, ServerStateQueryVariables>;
export const GetExtraAllowedOriginsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"getExtraAllowedOrigins"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"extraAllowedOrigins"}}]}}]} as unknown as DocumentNode<GetExtraAllowedOriginsQuery, GetExtraAllowedOriginsQueryVariables>;
export const GetRemoteAccessDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"getRemoteAccess"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"remoteAccess"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accessType"}},{"kind":"Field","name":{"kind":"Name","value":"forwardType"}},{"kind":"Field","name":{"kind":"Name","value":"port"}}]}}]}}]} as unknown as DocumentNode<GetRemoteAccessQuery, GetRemoteAccessQueryVariables>;
export const SetAdditionalAllowedOriginsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"setAdditionalAllowedOrigins"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AllowedOriginInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setAdditionalAllowedOrigins"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}]}]}}]} as unknown as DocumentNode<SetAdditionalAllowedOriginsMutation, SetAdditionalAllowedOriginsMutationVariables>;
export const SetupRemoteAccessDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"setupRemoteAccess"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SetupRemoteAccessInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setupRemoteAccess"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}]}]}}]} as unknown as DocumentNode<SetupRemoteAccessMutation, SetupRemoteAccessMutationVariables>;