user list added

This commit is contained in:
Anik Ghosh
2022-01-29 20:53:53 +05:30
parent 25c9ce03bd
commit 681ffc65f1
5 changed files with 2685 additions and 7 deletions

View File

@@ -31,3 +31,13 @@ export const UpdateEnvVariables = `
}
}
`;
export const UpdateUser = `
mutation updateUser(
$params: UpdateUserInput!
) {
_update_user(params: $params) {
id
}
}
`;

View File

@@ -42,3 +42,31 @@ export const EnvVariablesQuery = `
}
}
`;
export const UserDetailsQuery = `
query($params: PaginatedInput) {
_users(params: $params) {
pagination {
limit
page
offset
total
}
users {
id
email
email_verified
given_name
family_name
middle_name
nickname
gender
birthdate
phone_number
picture
roles
created_at
}
}
}
`;