1
Fork 0

chore: regenerate ui files

This commit is contained in:
jordy2254 2024-04-18 16:07:06 +01:00
parent f763acadda
commit 2d30eced2b
5 changed files with 41 additions and 15 deletions

View File

@ -0,0 +1,18 @@
/* tslint:disable */
/* eslint-disable */
// @generated
// This file was automatically generated and should not be edited.
// ====================================================
// GraphQL query operation: availableRoles
// ====================================================
export interface availableRoles_roles {
__typename: 'Role'
id: string
name: string
}
export interface availableRoles {
roles: availableRoles_roles[]
}

View File

@ -7,14 +7,17 @@
// GraphQL mutation operation: createUser
// ====================================================
export interface createUser_createUser_role {
__typename: 'Role'
id: string
name: string
}
export interface createUser_createUser {
__typename: 'User'
id: string
username: string
/**
* Whether or not the user has admin privileges
*/
admin: boolean
role: createUser_createUser_role
}
export interface createUser {
@ -26,5 +29,5 @@ export interface createUser {
export interface createUserVariables {
username: string
admin: boolean
roleId: string
}

View File

@ -16,18 +16,22 @@ export interface settingsUsersQuery_user_rootAlbums {
filePath: string
}
export interface settingsUsersQuery_user_role {
__typename: 'Role'
id: string
name: string
}
export interface settingsUsersQuery_user {
__typename: 'User'
id: string
username: string
/**
* Whether or not the user has admin privileges
*/
admin: boolean
/**
* Top level albums owned by this user
*/
rootAlbums: settingsUsersQuery_user_rootAlbums[]
role: settingsUsersQuery_user_role
}
export interface settingsUsersQuery {

View File

@ -7,14 +7,18 @@
// GraphQL mutation operation: updateUser
// ====================================================
export interface updateUser_updateUser_role {
__typename: 'Role'
id: string
name: string
}
export interface updateUser_updateUser {
__typename: 'User'
id: string
username: string
/**
* Whether or not the user has admin privileges
*/
admin: boolean
role: updateUser_updateUser_role
}
export interface updateUser {
@ -27,5 +31,5 @@ export interface updateUser {
export interface updateUserVariables {
id: string
username?: string | null
admin?: boolean | null
roleId: string
}

View File

@ -9,9 +9,6 @@
export interface adminQuery_myUser {
__typename: 'User'
/**
* Whether or not the user has admin privileges
*/
admin: boolean
}