Remove GitlabSaasUsersResponse and merge with GitlabGroupMemberResponse with additional fields

Signed-off-by: Stephen Barry <sbarry@poppulo.com>
This commit is contained in:
Stephen Barry
2023-08-15 12:13:52 +01:00
parent 3d73bafd85
commit fe55b95b13
@@ -60,34 +60,17 @@ export type GitLabGroupMembersResponse = {
data: {
group: {
groupMembers: {
nodes: { user: { id: string } }[];
pageInfo: {
endCursor: string;
hasNextPage: boolean;
};
};
};
};
};
export type GitLabSaasUsersResponse = {
errors: { message: string }[];
data: {
group: {
groupMembers: {
nodes: [
{
user: {
id: string;
username: string;
publicEmail: string;
name: string;
state: string;
webUrl: string;
avatarUrl: string;
};
},
];
nodes: {
user: {
id: string;
username: string;
publicEmail: string;
name: string;
state: string;
webUrl: string;
avatarUrl: string;
};
}[];
pageInfo: {
endCursor: string;
hasNextPage: boolean;