Skip to content

Commit

Permalink
Update schema.gql
Browse files Browse the repository at this point in the history
Regression introduced by #567.
  • Loading branch information
johnnyomair committed Dec 2, 2024
1 parent 81bd295 commit dcd053c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions api/schema.gql
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# THIS FILE WAS AUTOMATICALLY GENERATED (DO NOT MODIFY)
# ------------------------------------------------------

type User {
type UserPermissionsUser {
id: String!
name: String!
email: String!
Expand All @@ -26,7 +26,7 @@ type CurrentUser {
email: String!
permissions: [CurrentUserPermission!]!
impersonated: Boolean
authenticatedUser: User
authenticatedUser: UserPermissionsUser
permissionsForScope(scope: JSONObject!): [String!]!
}

Expand Down Expand Up @@ -123,8 +123,8 @@ type FilenameResponse {
isOccupied: Boolean!
}

type PaginatedUserList {
nodes: [User!]!
type UserPermissionPaginatedUserList {
nodes: [UserPermissionsUser!]!
totalCount: Int!
}

Expand Down Expand Up @@ -344,8 +344,8 @@ input RedirectScopeInput {

type Query {
currentUser: CurrentUser!
userPermissionsUserById(id: String!): User!
userPermissionsUsers(offset: Int! = 0, limit: Int! = 25, search: String, filter: UserFilter, sort: [UserSort!]): PaginatedUserList!
userPermissionsUserById(id: String!): UserPermissionsUser!
userPermissionsUsers(offset: Int! = 0, limit: Int! = 25, search: String, filter: UserPermissionsUserFilter, sort: [UserPermissionsUserSort!]): UserPermissionPaginatedUserList!
userPermissionsPermissionList(userId: String!): [UserPermission!]!
userPermissionsPermission(id: ID!, userId: String): UserPermission!
userPermissionsAvailablePermissions: [String!]!
Expand Down Expand Up @@ -379,12 +379,12 @@ type Query {
footer(scope: FooterScopeInput!): Footer
}

input UserFilter {
input UserPermissionsUserFilter {
name: StringFilter
email: StringFilter
status: StringFilter
and: [UserFilter!]
or: [UserFilter!]
and: [UserPermissionsUserFilter!]
or: [UserPermissionsUserFilter!]
}

input StringFilter {
Expand All @@ -395,12 +395,12 @@ input StringFilter {
notEqual: String
}

input UserSort {
field: UserSortField!
input UserPermissionsUserSort {
field: UserPermissionsUserSortField!
direction: SortDirection! = ASC
}

enum UserSortField {
enum UserPermissionsUserSortField {
name
email
status
Expand Down

0 comments on commit dcd053c

Please sign in to comment.