feat: clean prisma file, add validation, add prisma editor (#472)
This commit is contained in:
@ -2,12 +2,15 @@ import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineProgressCreateManyInput } from './pipeline-progress-create-many.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { ValidateNested } from 'class-validator';
|
||||
|
||||
@ArgsType()
|
||||
export class CreateManyPipelineProgressArgs {
|
||||
|
||||
@Field(() => [PipelineProgressCreateManyInput], {nullable:false})
|
||||
@Type(() => PipelineProgressCreateManyInput)
|
||||
@ValidateNested({each: true})
|
||||
@Type(() => PipelineProgressCreateManyInput)
|
||||
data!: Array<PipelineProgressCreateManyInput>;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
|
||||
@ -2,11 +2,14 @@ import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineProgressCreateInput } from './pipeline-progress-create.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { ValidateNested } from 'class-validator';
|
||||
|
||||
@ArgsType()
|
||||
export class CreateOnePipelineProgressArgs {
|
||||
|
||||
@Field(() => PipelineProgressCreateInput, {nullable:false})
|
||||
@Type(() => PipelineProgressCreateInput)
|
||||
@ValidateNested({each: true})
|
||||
@Type(() => PipelineProgressCreateInput)
|
||||
data!: PipelineProgressCreateInput;
|
||||
}
|
||||
|
||||
@ -8,15 +8,6 @@ export class PipelineProgressCountAggregateInput {
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
id?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
createdAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
updatedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
deletedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
pipelineId?: true;
|
||||
|
||||
@ -32,6 +23,15 @@ export class PipelineProgressCountAggregateInput {
|
||||
@HideField()
|
||||
workspaceId?: true;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
createdAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
updatedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
_all?: true;
|
||||
}
|
||||
|
||||
@ -9,15 +9,6 @@ export class PipelineProgressCountAggregate {
|
||||
@Field(() => Int, {nullable:false})
|
||||
id!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
createdAt!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
updatedAt!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
deletedAt!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
pipelineId!: number;
|
||||
|
||||
@ -33,6 +24,15 @@ export class PipelineProgressCountAggregate {
|
||||
@HideField()
|
||||
workspaceId!: number;
|
||||
|
||||
@HideField()
|
||||
deletedAt!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
createdAt!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
updatedAt!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
_all!: number;
|
||||
}
|
||||
|
||||
@ -9,15 +9,6 @@ export class PipelineProgressCountOrderByAggregateInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
pipelineId?: keyof typeof SortOrder;
|
||||
|
||||
@ -32,4 +23,13 @@ export class PipelineProgressCountOrderByAggregateInput {
|
||||
|
||||
@HideField()
|
||||
workspaceId?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ -7,17 +8,10 @@ import { HideField } from '@nestjs/graphql';
|
||||
export class PipelineProgressCreateManyPipelineStageInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
pipelineId!: string;
|
||||
|
||||
@ -29,4 +23,13 @@ export class PipelineProgressCreateManyPipelineStageInput {
|
||||
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ -7,17 +8,10 @@ import { HideField } from '@nestjs/graphql';
|
||||
export class PipelineProgressCreateManyPipelineInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
pipelineStageId!: string;
|
||||
|
||||
@ -29,4 +23,13 @@ export class PipelineProgressCreateManyPipelineInput {
|
||||
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
}
|
||||
|
||||
@ -1,22 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressCreateManyWorkspaceInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
pipelineId!: string;
|
||||
|
||||
@ -28,4 +23,13 @@ export class PipelineProgressCreateManyWorkspaceInput {
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
progressableId!: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ -7,17 +8,10 @@ import { HideField } from '@nestjs/graphql';
|
||||
export class PipelineProgressCreateManyInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
pipelineId!: string;
|
||||
|
||||
@ -32,4 +26,13 @@ export class PipelineProgressCreateManyInput {
|
||||
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
}
|
||||
|
||||
@ -1,31 +1,34 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { PipelineCreateNestedOneWithoutPipelineProgressesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-progresses.input';
|
||||
import { WorkspaceCreateNestedOneWithoutPipelineProgressesInput } from '../workspace/workspace-create-nested-one-without-pipeline-progresses.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressCreateWithoutPipelineStageInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => PipelineProgressableType, {nullable:false})
|
||||
progressableType!: keyof typeof PipelineProgressableType;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
progressableId!: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => PipelineCreateNestedOneWithoutPipelineProgressesInput, {nullable:false})
|
||||
pipeline!: PipelineCreateNestedOneWithoutPipelineProgressesInput;
|
||||
|
||||
|
||||
@ -1,31 +1,34 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { PipelineStageCreateNestedOneWithoutPipelineProgressesInput } from '../pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-progresses.input';
|
||||
import { WorkspaceCreateNestedOneWithoutPipelineProgressesInput } from '../workspace/workspace-create-nested-one-without-pipeline-progresses.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressCreateWithoutPipelineInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => PipelineProgressableType, {nullable:false})
|
||||
progressableType!: keyof typeof PipelineProgressableType;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
progressableId!: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => PipelineStageCreateNestedOneWithoutPipelineProgressesInput, {nullable:false})
|
||||
pipelineStage!: PipelineStageCreateNestedOneWithoutPipelineProgressesInput;
|
||||
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { PipelineCreateNestedOneWithoutPipelineProgressesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-progresses.input';
|
||||
import { PipelineStageCreateNestedOneWithoutPipelineProgressesInput } from '../pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-progresses.input';
|
||||
|
||||
@ -8,23 +10,25 @@ import { PipelineStageCreateNestedOneWithoutPipelineProgressesInput } from '../p
|
||||
export class PipelineProgressCreateWithoutWorkspaceInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => PipelineProgressableType, {nullable:false})
|
||||
progressableType!: keyof typeof PipelineProgressableType;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
progressableId!: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => PipelineCreateNestedOneWithoutPipelineProgressesInput, {nullable:false})
|
||||
pipeline!: PipelineCreateNestedOneWithoutPipelineProgressesInput;
|
||||
|
||||
|
||||
@ -1,32 +1,35 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { PipelineCreateNestedOneWithoutPipelineProgressesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-progresses.input';
|
||||
import { PipelineStageCreateNestedOneWithoutPipelineProgressesInput } from '../pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-progresses.input';
|
||||
import { WorkspaceCreateNestedOneWithoutPipelineProgressesInput } from '../workspace/workspace-create-nested-one-without-pipeline-progresses.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressCreateInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => PipelineProgressableType, {nullable:false})
|
||||
progressableType!: keyof typeof PipelineProgressableType;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
progressableId!: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => PipelineCreateNestedOneWithoutPipelineProgressesInput, {nullable:false})
|
||||
pipeline!: PipelineCreateNestedOneWithoutPipelineProgressesInput;
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { PipelineProgressCountAggregate } from './pipeline-progress-count-aggregate.output';
|
||||
@ -10,17 +11,10 @@ import { PipelineProgressMaxAggregate } from './pipeline-progress-max-aggregate.
|
||||
export class PipelineProgressGroupBy {
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, {nullable:false})
|
||||
createdAt!: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:false})
|
||||
updatedAt!: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
pipelineId!: string;
|
||||
|
||||
@ -36,6 +30,15 @@ export class PipelineProgressGroupBy {
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:false})
|
||||
createdAt!: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:false})
|
||||
updatedAt!: Date | string;
|
||||
|
||||
@Field(() => PipelineProgressCountAggregate, {nullable:true})
|
||||
_count?: PipelineProgressCountAggregate;
|
||||
|
||||
|
||||
@ -8,15 +8,6 @@ export class PipelineProgressMaxAggregateInput {
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
id?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
createdAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
updatedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
deletedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
pipelineId?: true;
|
||||
|
||||
@ -31,4 +22,13 @@ export class PipelineProgressMaxAggregateInput {
|
||||
|
||||
@HideField()
|
||||
workspaceId?: true;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
createdAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
updatedAt?: true;
|
||||
}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ -7,17 +8,10 @@ import { HideField } from '@nestjs/graphql';
|
||||
export class PipelineProgressMaxAggregate {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
pipelineId?: string;
|
||||
|
||||
@ -32,4 +26,13 @@ export class PipelineProgressMaxAggregate {
|
||||
|
||||
@HideField()
|
||||
workspaceId?: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
}
|
||||
|
||||
@ -9,15 +9,6 @@ export class PipelineProgressMaxOrderByAggregateInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
pipelineId?: keyof typeof SortOrder;
|
||||
|
||||
@ -32,4 +23,13 @@ export class PipelineProgressMaxOrderByAggregateInput {
|
||||
|
||||
@HideField()
|
||||
workspaceId?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
}
|
||||
|
||||
@ -8,15 +8,6 @@ export class PipelineProgressMinAggregateInput {
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
id?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
createdAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
updatedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
deletedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
pipelineId?: true;
|
||||
|
||||
@ -31,4 +22,13 @@ export class PipelineProgressMinAggregateInput {
|
||||
|
||||
@HideField()
|
||||
workspaceId?: true;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
createdAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
updatedAt?: true;
|
||||
}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ -7,17 +8,10 @@ import { HideField } from '@nestjs/graphql';
|
||||
export class PipelineProgressMinAggregate {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
pipelineId?: string;
|
||||
|
||||
@ -32,4 +26,13 @@ export class PipelineProgressMinAggregate {
|
||||
|
||||
@HideField()
|
||||
workspaceId?: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
}
|
||||
|
||||
@ -9,15 +9,6 @@ export class PipelineProgressMinOrderByAggregateInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
pipelineId?: keyof typeof SortOrder;
|
||||
|
||||
@ -32,4 +23,13 @@ export class PipelineProgressMinOrderByAggregateInput {
|
||||
|
||||
@HideField()
|
||||
workspaceId?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
}
|
||||
|
||||
@ -12,15 +12,6 @@ export class PipelineProgressOrderByWithAggregationInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
pipelineId?: keyof typeof SortOrder;
|
||||
|
||||
@ -36,6 +27,15 @@ export class PipelineProgressOrderByWithAggregationInput {
|
||||
@HideField()
|
||||
workspaceId?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => PipelineProgressCountOrderByAggregateInput, {nullable:true})
|
||||
_count?: PipelineProgressCountOrderByAggregateInput;
|
||||
|
||||
|
||||
@ -12,15 +12,6 @@ export class PipelineProgressOrderByWithRelationInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
pipelineId?: keyof typeof SortOrder;
|
||||
|
||||
@ -36,6 +27,15 @@ export class PipelineProgressOrderByWithRelationInput {
|
||||
@HideField()
|
||||
workspaceId?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => PipelineOrderByWithRelationInput, {nullable:true})
|
||||
pipeline?: PipelineOrderByWithRelationInput;
|
||||
|
||||
|
||||
@ -2,14 +2,14 @@ import { registerEnumType } from '@nestjs/graphql';
|
||||
|
||||
export enum PipelineProgressScalarFieldEnum {
|
||||
id = "id",
|
||||
createdAt = "createdAt",
|
||||
updatedAt = "updatedAt",
|
||||
deletedAt = "deletedAt",
|
||||
pipelineId = "pipelineId",
|
||||
pipelineStageId = "pipelineStageId",
|
||||
progressableType = "progressableType",
|
||||
progressableId = "progressableId",
|
||||
workspaceId = "workspaceId"
|
||||
workspaceId = "workspaceId",
|
||||
deletedAt = "deletedAt",
|
||||
createdAt = "createdAt",
|
||||
updatedAt = "updatedAt"
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input';
|
||||
import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input';
|
||||
import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input';
|
||||
import { EnumPipelineProgressableTypeWithAggregatesFilter } from '../prisma/enum-pipeline-progressable-type-with-aggregates-filter.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input';
|
||||
import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressScalarWhereWithAggregatesInput {
|
||||
@ -21,15 +21,6 @@ export class PipelineProgressScalarWhereWithAggregatesInput {
|
||||
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
||||
id?: StringWithAggregatesFilter;
|
||||
|
||||
@Field(() => DateTimeWithAggregatesFilter, {nullable:true})
|
||||
createdAt?: DateTimeWithAggregatesFilter;
|
||||
|
||||
@Field(() => DateTimeWithAggregatesFilter, {nullable:true})
|
||||
updatedAt?: DateTimeWithAggregatesFilter;
|
||||
|
||||
@Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true})
|
||||
deletedAt?: DateTimeNullableWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
||||
pipelineId?: StringWithAggregatesFilter;
|
||||
|
||||
@ -44,4 +35,13 @@ export class PipelineProgressScalarWhereWithAggregatesInput {
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringWithAggregatesFilter;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: DateTimeNullableWithAggregatesFilter;
|
||||
|
||||
@Field(() => DateTimeWithAggregatesFilter, {nullable:true})
|
||||
createdAt?: DateTimeWithAggregatesFilter;
|
||||
|
||||
@Field(() => DateTimeWithAggregatesFilter, {nullable:true})
|
||||
updatedAt?: DateTimeWithAggregatesFilter;
|
||||
}
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFilter } from '../prisma/string-filter.input';
|
||||
import { DateTimeFilter } from '../prisma/date-time-filter.input';
|
||||
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
|
||||
import { EnumPipelineProgressableTypeFilter } from '../prisma/enum-pipeline-progressable-type-filter.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
|
||||
import { DateTimeFilter } from '../prisma/date-time-filter.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressScalarWhereInput {
|
||||
@ -21,15 +21,6 @@ export class PipelineProgressScalarWhereInput {
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
id?: StringFilter;
|
||||
|
||||
@Field(() => DateTimeFilter, {nullable:true})
|
||||
createdAt?: DateTimeFilter;
|
||||
|
||||
@Field(() => DateTimeFilter, {nullable:true})
|
||||
updatedAt?: DateTimeFilter;
|
||||
|
||||
@Field(() => DateTimeNullableFilter, {nullable:true})
|
||||
deletedAt?: DateTimeNullableFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
pipelineId?: StringFilter;
|
||||
|
||||
@ -44,4 +35,13 @@ export class PipelineProgressScalarWhereInput {
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringFilter;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: DateTimeNullableFilter;
|
||||
|
||||
@Field(() => DateTimeFilter, {nullable:true})
|
||||
createdAt?: DateTimeFilter;
|
||||
|
||||
@Field(() => DateTimeFilter, {nullable:true})
|
||||
updatedAt?: DateTimeFilter;
|
||||
}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ -7,17 +8,10 @@ import { HideField } from '@nestjs/graphql';
|
||||
export class PipelineProgressUncheckedCreateWithoutPipelineStageInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
pipelineId!: string;
|
||||
|
||||
@ -29,4 +23,13 @@ export class PipelineProgressUncheckedCreateWithoutPipelineStageInput {
|
||||
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ -7,17 +8,10 @@ import { HideField } from '@nestjs/graphql';
|
||||
export class PipelineProgressUncheckedCreateWithoutPipelineInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
pipelineStageId!: string;
|
||||
|
||||
@ -29,4 +23,13 @@ export class PipelineProgressUncheckedCreateWithoutPipelineInput {
|
||||
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
}
|
||||
|
||||
@ -1,22 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressUncheckedCreateWithoutWorkspaceInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
pipelineId!: string;
|
||||
|
||||
@ -28,4 +23,13 @@ export class PipelineProgressUncheckedCreateWithoutWorkspaceInput {
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
progressableId!: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ -7,17 +8,10 @@ import { HideField } from '@nestjs/graphql';
|
||||
export class PipelineProgressUncheckedCreateInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
pipelineId!: string;
|
||||
|
||||
@ -32,4 +26,13 @@ export class PipelineProgressUncheckedCreateInput {
|
||||
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
}
|
||||
|
||||
@ -1,9 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressUncheckedUpdateManyWithoutPipelineProgressesInput {
|
||||
@ -11,15 +12,6 @@ export class PipelineProgressUncheckedUpdateManyWithoutPipelineProgressesInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
pipelineId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@ -31,4 +23,13 @@ export class PipelineProgressUncheckedUpdateManyWithoutPipelineProgressesInput {
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
progressableId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
}
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressUncheckedUpdateManyInput {
|
||||
@ -12,15 +12,6 @@ export class PipelineProgressUncheckedUpdateManyInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
pipelineId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@ -35,4 +26,13 @@ export class PipelineProgressUncheckedUpdateManyInput {
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
}
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressUncheckedUpdateWithoutPipelineStageInput {
|
||||
@ -12,15 +12,6 @@ export class PipelineProgressUncheckedUpdateWithoutPipelineStageInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
pipelineId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@ -32,4 +23,13 @@ export class PipelineProgressUncheckedUpdateWithoutPipelineStageInput {
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
}
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressUncheckedUpdateWithoutPipelineInput {
|
||||
@ -12,15 +12,6 @@ export class PipelineProgressUncheckedUpdateWithoutPipelineInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
pipelineStageId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@ -32,4 +23,13 @@ export class PipelineProgressUncheckedUpdateWithoutPipelineInput {
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
}
|
||||
|
||||
@ -1,9 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressUncheckedUpdateWithoutWorkspaceInput {
|
||||
@ -11,15 +12,6 @@ export class PipelineProgressUncheckedUpdateWithoutWorkspaceInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
pipelineId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@ -31,4 +23,13 @@ export class PipelineProgressUncheckedUpdateWithoutWorkspaceInput {
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
progressableId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
}
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressUncheckedUpdateInput {
|
||||
@ -12,15 +12,6 @@ export class PipelineProgressUncheckedUpdateInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
pipelineId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@ -35,4 +26,13 @@ export class PipelineProgressUncheckedUpdateInput {
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
}
|
||||
|
||||
@ -1,9 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressUpdateManyMutationInput {
|
||||
@ -11,18 +12,18 @@ export class PipelineProgressUpdateManyMutationInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true})
|
||||
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
progressableId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
}
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-progresses-nested.input';
|
||||
import { WorkspaceUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../workspace/workspace-update-one-required-without-pipeline-progresses-nested.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressUpdateWithoutPipelineStageInput {
|
||||
@ -14,21 +14,21 @@ export class PipelineProgressUpdateWithoutPipelineStageInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true})
|
||||
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
progressableId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput, {nullable:true})
|
||||
pipeline?: PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput;
|
||||
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../pipeline-stage/pipeline-stage-update-one-required-without-pipeline-progresses-nested.input';
|
||||
import { WorkspaceUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../workspace/workspace-update-one-required-without-pipeline-progresses-nested.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressUpdateWithoutPipelineInput {
|
||||
@ -14,21 +14,21 @@ export class PipelineProgressUpdateWithoutPipelineInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true})
|
||||
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
progressableId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput, {nullable:true})
|
||||
pipelineStage?: PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput;
|
||||
|
||||
|
||||
@ -1,9 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-progresses-nested.input';
|
||||
import { PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../pipeline-stage/pipeline-stage-update-one-required-without-pipeline-progresses-nested.input';
|
||||
|
||||
@ -13,21 +14,21 @@ export class PipelineProgressUpdateWithoutWorkspaceInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true})
|
||||
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
progressableId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput, {nullable:true})
|
||||
pipeline?: PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput;
|
||||
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-progresses-nested.input';
|
||||
import { PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../pipeline-stage/pipeline-stage-update-one-required-without-pipeline-progresses-nested.input';
|
||||
import { WorkspaceUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../workspace/workspace-update-one-required-without-pipeline-progresses-nested.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressUpdateInput {
|
||||
@ -15,21 +15,21 @@ export class PipelineProgressUpdateInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {nullable:true})
|
||||
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
progressableId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput, {nullable:true})
|
||||
pipeline?: PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput;
|
||||
|
||||
|
||||
@ -1,9 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressWhereUniqueInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
}
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFilter } from '../prisma/string-filter.input';
|
||||
import { DateTimeFilter } from '../prisma/date-time-filter.input';
|
||||
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
|
||||
import { EnumPipelineProgressableTypeFilter } from '../prisma/enum-pipeline-progressable-type-filter.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
|
||||
import { DateTimeFilter } from '../prisma/date-time-filter.input';
|
||||
import { PipelineRelationFilter } from '../pipeline/pipeline-relation-filter.input';
|
||||
import { PipelineStageRelationFilter } from '../pipeline-stage/pipeline-stage-relation-filter.input';
|
||||
import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter.input';
|
||||
@ -24,15 +24,6 @@ export class PipelineProgressWhereInput {
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
id?: StringFilter;
|
||||
|
||||
@Field(() => DateTimeFilter, {nullable:true})
|
||||
createdAt?: DateTimeFilter;
|
||||
|
||||
@Field(() => DateTimeFilter, {nullable:true})
|
||||
updatedAt?: DateTimeFilter;
|
||||
|
||||
@Field(() => DateTimeNullableFilter, {nullable:true})
|
||||
deletedAt?: DateTimeNullableFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
pipelineId?: StringFilter;
|
||||
|
||||
@ -48,6 +39,15 @@ export class PipelineProgressWhereInput {
|
||||
@HideField()
|
||||
workspaceId?: StringFilter;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: DateTimeNullableFilter;
|
||||
|
||||
@Field(() => DateTimeFilter, {nullable:true})
|
||||
createdAt?: DateTimeFilter;
|
||||
|
||||
@Field(() => DateTimeFilter, {nullable:true})
|
||||
updatedAt?: DateTimeFilter;
|
||||
|
||||
@Field(() => PipelineRelationFilter, {nullable:true})
|
||||
pipeline?: PipelineRelationFilter;
|
||||
|
||||
|
||||
@ -13,15 +13,6 @@ export class PipelineProgress {
|
||||
@Field(() => ID, {nullable:false})
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, {nullable:false})
|
||||
createdAt!: Date;
|
||||
|
||||
@Field(() => Date, {nullable:false})
|
||||
updatedAt!: Date;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt!: Date | null;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
pipelineId!: string;
|
||||
|
||||
@ -37,6 +28,15 @@ export class PipelineProgress {
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt!: Date | null;
|
||||
|
||||
@Field(() => Date, {nullable:false})
|
||||
createdAt!: Date;
|
||||
|
||||
@Field(() => Date, {nullable:false})
|
||||
updatedAt!: Date;
|
||||
|
||||
@Field(() => Pipeline, {nullable:false})
|
||||
pipeline?: Pipeline;
|
||||
|
||||
|
||||
@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineProgressUpdateManyMutationInput } from './pipeline-progress-update-many-mutation.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { ValidateNested } from 'class-validator';
|
||||
import { PipelineProgressWhereInput } from './pipeline-progress-where.input';
|
||||
|
||||
@ArgsType()
|
||||
@ -9,6 +10,8 @@ export class UpdateManyPipelineProgressArgs {
|
||||
|
||||
@Field(() => PipelineProgressUpdateManyMutationInput, {nullable:false})
|
||||
@Type(() => PipelineProgressUpdateManyMutationInput)
|
||||
@ValidateNested({each: true})
|
||||
@Type(() => PipelineProgressUpdateManyMutationInput)
|
||||
data!: PipelineProgressUpdateManyMutationInput;
|
||||
|
||||
@Field(() => PipelineProgressWhereInput, {nullable:true})
|
||||
|
||||
@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineProgressUpdateInput } from './pipeline-progress-update.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { ValidateNested } from 'class-validator';
|
||||
import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input';
|
||||
|
||||
@ArgsType()
|
||||
@ -9,6 +10,8 @@ export class UpdateOnePipelineProgressArgs {
|
||||
|
||||
@Field(() => PipelineProgressUpdateInput, {nullable:false})
|
||||
@Type(() => PipelineProgressUpdateInput)
|
||||
@ValidateNested({each: true})
|
||||
@Type(() => PipelineProgressUpdateInput)
|
||||
data!: PipelineProgressUpdateInput;
|
||||
|
||||
@Field(() => PipelineProgressWhereUniqueInput, {nullable:false})
|
||||
|
||||
Reference in New Issue
Block a user