fix(workspaces): add filtering to workspace team query (#2586)
* chore(workspaces): add some tests for new filters * fix(workspaces): args style
This commit is contained in:
@@ -3826,6 +3826,11 @@ export type WorkspaceProjectsArgs = {
|
||||
limit?: Scalars['Int']['input'];
|
||||
};
|
||||
|
||||
|
||||
export type WorkspaceTeamArgs = {
|
||||
filter?: InputMaybe<WorkspaceTeamFilter>;
|
||||
};
|
||||
|
||||
export type WorkspaceCollaborator = {
|
||||
__typename?: 'WorkspaceCollaborator';
|
||||
id: Scalars['ID']['output'];
|
||||
@@ -3955,6 +3960,13 @@ export type WorkspaceRoleUpdateInput = {
|
||||
workspaceId: Scalars['String']['input'];
|
||||
};
|
||||
|
||||
export type WorkspaceTeamFilter = {
|
||||
/** Limit team members to provided role */
|
||||
role?: InputMaybe<Scalars['String']['input']>;
|
||||
/** Search for team members by name or email */
|
||||
search?: InputMaybe<Scalars['String']['input']>;
|
||||
};
|
||||
|
||||
export type WorkspaceUpdateInput = {
|
||||
description?: InputMaybe<Scalars['String']['input']>;
|
||||
id: Scalars['String']['input'];
|
||||
|
||||
Reference in New Issue
Block a user