diff --git a/front/src/generated/graphql.tsx b/front/src/generated/graphql.tsx index 74bd17043..11f9373ea 100644 --- a/front/src/generated/graphql.tsx +++ b/front/src/generated/graphql.tsx @@ -1517,7 +1517,6 @@ export type WorkspaceMember = { user: User; userId: Scalars['String']; workspace: Workspace; - workspaceId: Scalars['String']; }; export type CreateCommentMutationVariables = Exact<{ @@ -1633,6 +1632,7 @@ export type UpdateOnePipelineProgressMutationVariables = Exact<{ export type UpdateOnePipelineProgressMutation = { __typename?: 'Mutation', updateOnePipelineProgress?: { __typename?: 'PipelineProgress', id: string } | null }; export type CreateOnePipelineProgressMutationVariables = Exact<{ + uuid: Scalars['String']; entityType: PipelineProgressableType; entityId: Scalars['String']; pipelineId: Scalars['String']; @@ -2298,9 +2298,9 @@ export type UpdateOnePipelineProgressMutationHookResult = ReturnType; export type UpdateOnePipelineProgressMutationOptions = Apollo.BaseMutationOptions; export const CreateOnePipelineProgressDocument = gql` - mutation CreateOnePipelineProgress($entityType: PipelineProgressableType!, $entityId: String!, $pipelineId: String!, $pipelineStageId: String!) { + mutation CreateOnePipelineProgress($uuid: String!, $entityType: PipelineProgressableType!, $entityId: String!, $pipelineId: String!, $pipelineStageId: String!) { createOnePipelineProgress( - data: {progressableType: $entityType, progressableId: $entityId, pipeline: {connect: {id: $pipelineId}}, pipelineStage: {connect: {id: $pipelineStageId}}} + data: {id: $uuid, progressableType: $entityType, progressableId: $entityId, pipeline: {connect: {id: $pipelineId}}, pipelineStage: {connect: {id: $pipelineStageId}}} ) { id } @@ -2321,6 +2321,7 @@ export type CreateOnePipelineProgressMutationFn = Apollo.MutationFunction Company) @@ -59,7 +59,7 @@ export class CompanyResolver { nullable: true, }) @UseGuards(AbilityGuard) - @CheckAbilities(UpdateCommentAbilityHandler) + @CheckAbilities(UpdateCompanyAbilityHandler) async updateOneCompany( @Args() args: UpdateOneCompanyArgs, @PrismaSelector({ modelName: 'Company' })