Add Pipelines models in server (#182)
* Hide workspace and refresh token from schema * Add pipe models and migrations * Add seeds * Update FE graphql schema
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class CommentThreadCountAggregate {
|
||||
@ -16,7 +17,7 @@ export class CommentThreadCountAggregate {
|
||||
@Field(() => Int, { nullable: false })
|
||||
deletedAt!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
@HideField()
|
||||
workspaceId!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { CommentThreadCountAggregate } from './comment-thread-count-aggregate.output';
|
||||
import { CommentThreadMinAggregate } from './comment-thread-min-aggregate.output';
|
||||
import { CommentThreadMaxAggregate } from './comment-thread-max-aggregate.output';
|
||||
@ -18,7 +19,7 @@ export class CommentThreadGroupBy {
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => CommentThreadCountAggregate, { nullable: true })
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class CommentThreadMaxAggregate {
|
||||
@ -15,6 +16,6 @@ export class CommentThreadMaxAggregate {
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
@HideField()
|
||||
workspaceId?: string;
|
||||
}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class CommentThreadMinAggregate {
|
||||
@ -15,6 +16,6 @@ export class CommentThreadMinAggregate {
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
@HideField()
|
||||
workspaceId?: string;
|
||||
}
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { ID } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { CommentThreadTarget } from '../comment-thread-target/comment-thread-target.model';
|
||||
import { Comment } from '../comment/comment.model';
|
||||
import { Workspace } from '../workspace/workspace.model';
|
||||
@ -20,7 +21,7 @@ export class CommentThread {
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt!: Date | null;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => [CommentThreadTarget], { nullable: true })
|
||||
@ -29,7 +30,7 @@ export class CommentThread {
|
||||
@Field(() => [Comment], { nullable: true })
|
||||
comments?: Array<Comment>;
|
||||
|
||||
@Field(() => Workspace, { nullable: false })
|
||||
@HideField()
|
||||
workspace?: Workspace;
|
||||
|
||||
@Field(() => CommentThreadCount, { nullable: false })
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class CommentCountAggregate {
|
||||
@ -25,7 +26,7 @@ export class CommentCountAggregate {
|
||||
@Field(() => Int, { nullable: false })
|
||||
commentThreadId!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
@HideField()
|
||||
workspaceId!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { CommentCountAggregate } from './comment-count-aggregate.output';
|
||||
import { CommentMinAggregate } from './comment-min-aggregate.output';
|
||||
import { CommentMaxAggregate } from './comment-max-aggregate.output';
|
||||
@ -27,7 +28,7 @@ export class CommentGroupBy {
|
||||
@Field(() => String, { nullable: false })
|
||||
commentThreadId!: string;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => CommentCountAggregate, { nullable: true })
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class CommentMaxAggregate {
|
||||
@ -24,6 +25,6 @@ export class CommentMaxAggregate {
|
||||
@Field(() => String, { nullable: true })
|
||||
commentThreadId?: string;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
@HideField()
|
||||
workspaceId?: string;
|
||||
}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class CommentMinAggregate {
|
||||
@ -24,6 +25,6 @@ export class CommentMinAggregate {
|
||||
@Field(() => String, { nullable: true })
|
||||
commentThreadId?: string;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
@HideField()
|
||||
workspaceId?: string;
|
||||
}
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { ID } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { User } from '../user/user.model';
|
||||
import { CommentThread } from '../comment-thread/comment-thread.model';
|
||||
import { Workspace } from '../workspace/workspace.model';
|
||||
@ -28,7 +29,7 @@ export class Comment {
|
||||
@Field(() => String, { nullable: false })
|
||||
commentThreadId!: string;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => User, { nullable: false })
|
||||
@ -37,6 +38,6 @@ export class Comment {
|
||||
@Field(() => CommentThread, { nullable: false })
|
||||
commentThread?: CommentThread;
|
||||
|
||||
@Field(() => Workspace, { nullable: false })
|
||||
@HideField()
|
||||
workspace?: Workspace;
|
||||
}
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class CompanyCountAggregate {
|
||||
@ -31,7 +32,7 @@ export class CompanyCountAggregate {
|
||||
@Field(() => Int, { nullable: false })
|
||||
accountOwnerId!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
@HideField()
|
||||
workspaceId!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { CompanyCountAggregate } from './company-count-aggregate.output';
|
||||
import { CompanyAvgAggregate } from './company-avg-aggregate.output';
|
||||
import { CompanySumAggregate } from './company-sum-aggregate.output';
|
||||
@ -36,7 +37,7 @@ export class CompanyGroupBy {
|
||||
@Field(() => String, { nullable: true })
|
||||
accountOwnerId?: string;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => CompanyCountAggregate, { nullable: true })
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class CompanyMaxAggregate {
|
||||
@ -31,6 +32,6 @@ export class CompanyMaxAggregate {
|
||||
@Field(() => String, { nullable: true })
|
||||
accountOwnerId?: string;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
@HideField()
|
||||
workspaceId?: string;
|
||||
}
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class CompanyMinAggregate {
|
||||
@ -31,6 +32,6 @@ export class CompanyMinAggregate {
|
||||
@Field(() => String, { nullable: true })
|
||||
accountOwnerId?: string;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
@HideField()
|
||||
workspaceId?: string;
|
||||
}
|
||||
|
||||
@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { ID } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { User } from '../user/user.model';
|
||||
import { Person } from '../person/person.model';
|
||||
import { Workspace } from '../workspace/workspace.model';
|
||||
@ -36,7 +37,7 @@ export class Company {
|
||||
@Field(() => String, { nullable: true })
|
||||
accountOwnerId!: string | null;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => User, { nullable: true })
|
||||
@ -45,7 +46,7 @@ export class Company {
|
||||
@Field(() => [Person], { nullable: true })
|
||||
people?: Array<Person>;
|
||||
|
||||
@Field(() => Workspace, { nullable: false })
|
||||
@HideField()
|
||||
workspace?: Workspace;
|
||||
|
||||
@Field(() => CompanyCount, { nullable: false })
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class PersonCountAggregate {
|
||||
@ -34,7 +35,7 @@ export class PersonCountAggregate {
|
||||
@Field(() => Int, { nullable: false })
|
||||
companyId!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
@HideField()
|
||||
workspaceId!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { PersonCountAggregate } from './person-count-aggregate.output';
|
||||
import { PersonMinAggregate } from './person-min-aggregate.output';
|
||||
import { PersonMaxAggregate } from './person-max-aggregate.output';
|
||||
@ -36,7 +37,7 @@ export class PersonGroupBy {
|
||||
@Field(() => String, { nullable: true })
|
||||
companyId?: string;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => PersonCountAggregate, { nullable: true })
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class PersonMaxAggregate {
|
||||
@ -33,6 +34,6 @@ export class PersonMaxAggregate {
|
||||
@Field(() => String, { nullable: true })
|
||||
companyId?: string;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
@HideField()
|
||||
workspaceId?: string;
|
||||
}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class PersonMinAggregate {
|
||||
@ -33,6 +34,6 @@ export class PersonMinAggregate {
|
||||
@Field(() => String, { nullable: true })
|
||||
companyId?: string;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
@HideField()
|
||||
workspaceId?: string;
|
||||
}
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { ID } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { Company } from '../company/company.model';
|
||||
import { Workspace } from '../workspace/workspace.model';
|
||||
|
||||
@ -36,12 +37,12 @@ export class Person {
|
||||
@Field(() => String, { nullable: true })
|
||||
companyId!: string | null;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => Company, { nullable: true })
|
||||
company?: Company | null;
|
||||
|
||||
@Field(() => Workspace, { nullable: false })
|
||||
@HideField()
|
||||
workspace?: Workspace;
|
||||
}
|
||||
|
||||
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCountAggregate } from './pipeline-association-count-aggregate.output';
|
||||
import { PipelineAssociationMinAggregate } from './pipeline-association-min-aggregate.output';
|
||||
import { PipelineAssociationMaxAggregate } from './pipeline-association-max-aggregate.output';
|
||||
|
||||
@ObjectType()
|
||||
export class AggregatePipelineAssociation {
|
||||
@Field(() => PipelineAssociationCountAggregate, { nullable: true })
|
||||
_count?: PipelineAssociationCountAggregate;
|
||||
|
||||
@Field(() => PipelineAssociationMinAggregate, { nullable: true })
|
||||
_min?: PipelineAssociationMinAggregate;
|
||||
|
||||
@Field(() => PipelineAssociationMaxAggregate, { nullable: true })
|
||||
_max?: PipelineAssociationMaxAggregate;
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCreateManyInput } from './pipeline-association-create-many.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class CreateManyPipelineAssociationArgs {
|
||||
@Field(() => [PipelineAssociationCreateManyInput], { nullable: false })
|
||||
@Type(() => PipelineAssociationCreateManyInput)
|
||||
data!: Array<PipelineAssociationCreateManyInput>;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
skipDuplicates?: boolean;
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCreateInput } from './pipeline-association-create.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class CreateOnePipelineAssociationArgs {
|
||||
@Field(() => PipelineAssociationCreateInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationCreateInput)
|
||||
data!: PipelineAssociationCreateInput;
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereInput } from './pipeline-association-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class DeleteManyPipelineAssociationArgs {
|
||||
@Field(() => PipelineAssociationWhereInput, { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereInput)
|
||||
where?: PipelineAssociationWhereInput;
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class DeleteOnePipelineAssociationArgs {
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
where!: PipelineAssociationWhereUniqueInput;
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereInput } from './pipeline-association-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationOrderByWithRelationInput } from './pipeline-association-order-by-with-relation.input';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineAssociationScalarFieldEnum } from './pipeline-association-scalar-field.enum';
|
||||
|
||||
@ArgsType()
|
||||
export class FindFirstPipelineAssociationOrThrowArgs {
|
||||
@Field(() => PipelineAssociationWhereInput, { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereInput)
|
||||
where?: PipelineAssociationWhereInput;
|
||||
|
||||
@Field(() => [PipelineAssociationOrderByWithRelationInput], {
|
||||
nullable: true,
|
||||
})
|
||||
orderBy?: Array<PipelineAssociationOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: true })
|
||||
cursor?: PipelineAssociationWhereUniqueInput;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
skip?: number;
|
||||
|
||||
@Field(() => [PipelineAssociationScalarFieldEnum], { nullable: true })
|
||||
distinct?: Array<keyof typeof PipelineAssociationScalarFieldEnum>;
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereInput } from './pipeline-association-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationOrderByWithRelationInput } from './pipeline-association-order-by-with-relation.input';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineAssociationScalarFieldEnum } from './pipeline-association-scalar-field.enum';
|
||||
|
||||
@ArgsType()
|
||||
export class FindFirstPipelineAssociationArgs {
|
||||
@Field(() => PipelineAssociationWhereInput, { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereInput)
|
||||
where?: PipelineAssociationWhereInput;
|
||||
|
||||
@Field(() => [PipelineAssociationOrderByWithRelationInput], {
|
||||
nullable: true,
|
||||
})
|
||||
orderBy?: Array<PipelineAssociationOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: true })
|
||||
cursor?: PipelineAssociationWhereUniqueInput;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
skip?: number;
|
||||
|
||||
@Field(() => [PipelineAssociationScalarFieldEnum], { nullable: true })
|
||||
distinct?: Array<keyof typeof PipelineAssociationScalarFieldEnum>;
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereInput } from './pipeline-association-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationOrderByWithRelationInput } from './pipeline-association-order-by-with-relation.input';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineAssociationScalarFieldEnum } from './pipeline-association-scalar-field.enum';
|
||||
|
||||
@ArgsType()
|
||||
export class FindManyPipelineAssociationArgs {
|
||||
@Field(() => PipelineAssociationWhereInput, { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereInput)
|
||||
where?: PipelineAssociationWhereInput;
|
||||
|
||||
@Field(() => [PipelineAssociationOrderByWithRelationInput], {
|
||||
nullable: true,
|
||||
})
|
||||
orderBy?: Array<PipelineAssociationOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: true })
|
||||
cursor?: PipelineAssociationWhereUniqueInput;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
skip?: number;
|
||||
|
||||
@Field(() => [PipelineAssociationScalarFieldEnum], { nullable: true })
|
||||
distinct?: Array<keyof typeof PipelineAssociationScalarFieldEnum>;
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class FindUniquePipelineAssociationOrThrowArgs {
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
where!: PipelineAssociationWhereUniqueInput;
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class FindUniquePipelineAssociationArgs {
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
where!: PipelineAssociationWhereUniqueInput;
|
||||
}
|
||||
@ -0,0 +1,40 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereInput } from './pipeline-association-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationOrderByWithRelationInput } from './pipeline-association-order-by-with-relation.input';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCountAggregateInput } from './pipeline-association-count-aggregate.input';
|
||||
import { PipelineAssociationMinAggregateInput } from './pipeline-association-min-aggregate.input';
|
||||
import { PipelineAssociationMaxAggregateInput } from './pipeline-association-max-aggregate.input';
|
||||
|
||||
@ArgsType()
|
||||
export class PipelineAssociationAggregateArgs {
|
||||
@Field(() => PipelineAssociationWhereInput, { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereInput)
|
||||
where?: PipelineAssociationWhereInput;
|
||||
|
||||
@Field(() => [PipelineAssociationOrderByWithRelationInput], {
|
||||
nullable: true,
|
||||
})
|
||||
orderBy?: Array<PipelineAssociationOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: true })
|
||||
cursor?: PipelineAssociationWhereUniqueInput;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
skip?: number;
|
||||
|
||||
@Field(() => PipelineAssociationCountAggregateInput, { nullable: true })
|
||||
_count?: PipelineAssociationCountAggregateInput;
|
||||
|
||||
@Field(() => PipelineAssociationMinAggregateInput, { nullable: true })
|
||||
_min?: PipelineAssociationMinAggregateInput;
|
||||
|
||||
@Field(() => PipelineAssociationMaxAggregateInput, { nullable: true })
|
||||
_max?: PipelineAssociationMaxAggregateInput;
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCountAggregateInput {
|
||||
@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;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
pipelineStageId?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
associableType?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
associableId?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
_all?: true;
|
||||
}
|
||||
@ -0,0 +1,33 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class PipelineAssociationCountAggregate {
|
||||
@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;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
pipelineStageId!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
associableType!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
associableId!: number;
|
||||
|
||||
@Field(() => Int, { nullable: false })
|
||||
_all!: number;
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCountOrderByAggregateInput {
|
||||
@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;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
pipelineStageId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
associableType?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
associableId?: keyof typeof SortOrder;
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCreateManyPipelineInput } from './pipeline-association-create-many-pipeline.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCreateManyPipelineInputEnvelope {
|
||||
@Field(() => [PipelineAssociationCreateManyPipelineInput], {
|
||||
nullable: false,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateManyPipelineInput)
|
||||
data!: Array<PipelineAssociationCreateManyPipelineInput>;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
skipDuplicates?: boolean;
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCreateManyPipelineStageInput } from './pipeline-association-create-many-pipeline-stage.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCreateManyPipelineStageInputEnvelope {
|
||||
@Field(() => [PipelineAssociationCreateManyPipelineStageInput], {
|
||||
nullable: false,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateManyPipelineStageInput)
|
||||
data!: Array<PipelineAssociationCreateManyPipelineStageInput>;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
skipDuplicates?: boolean;
|
||||
}
|
||||
@ -0,0 +1,27 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCreateManyPipelineStageInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
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;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: false })
|
||||
associableType!: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
associableId!: string;
|
||||
}
|
||||
@ -0,0 +1,27 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCreateManyPipelineInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
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;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: false })
|
||||
associableType!: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
associableId!: string;
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCreateManyInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
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;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
pipelineStageId!: string;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: false })
|
||||
associableType!: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
associableId!: string;
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCreateWithoutPipelineStageInput } from './pipeline-association-create-without-pipeline-stage.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationCreateOrConnectWithoutPipelineStageInput } from './pipeline-association-create-or-connect-without-pipeline-stage.input';
|
||||
import { PipelineAssociationCreateManyPipelineStageInputEnvelope } from './pipeline-association-create-many-pipeline-stage-input-envelope.input';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCreateNestedManyWithoutPipelineStageInput {
|
||||
@Field(() => [PipelineAssociationCreateWithoutPipelineStageInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateWithoutPipelineStageInput)
|
||||
create?: Array<PipelineAssociationCreateWithoutPipelineStageInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationCreateOrConnectWithoutPipelineStageInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateOrConnectWithoutPipelineStageInput)
|
||||
connectOrCreate?: Array<PipelineAssociationCreateOrConnectWithoutPipelineStageInput>;
|
||||
|
||||
@Field(() => PipelineAssociationCreateManyPipelineStageInputEnvelope, {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateManyPipelineStageInputEnvelope)
|
||||
createMany?: PipelineAssociationCreateManyPipelineStageInputEnvelope;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
connect?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCreateWithoutPipelineInput } from './pipeline-association-create-without-pipeline.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationCreateOrConnectWithoutPipelineInput } from './pipeline-association-create-or-connect-without-pipeline.input';
|
||||
import { PipelineAssociationCreateManyPipelineInputEnvelope } from './pipeline-association-create-many-pipeline-input-envelope.input';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCreateNestedManyWithoutPipelineInput {
|
||||
@Field(() => [PipelineAssociationCreateWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateWithoutPipelineInput)
|
||||
create?: Array<PipelineAssociationCreateWithoutPipelineInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationCreateOrConnectWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateOrConnectWithoutPipelineInput)
|
||||
connectOrCreate?: Array<PipelineAssociationCreateOrConnectWithoutPipelineInput>;
|
||||
|
||||
@Field(() => PipelineAssociationCreateManyPipelineInputEnvelope, {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateManyPipelineInputEnvelope)
|
||||
createMany?: PipelineAssociationCreateManyPipelineInputEnvelope;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
connect?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationCreateWithoutPipelineStageInput } from './pipeline-association-create-without-pipeline-stage.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCreateOrConnectWithoutPipelineStageInput {
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
where!: PipelineAssociationWhereUniqueInput;
|
||||
|
||||
@Field(() => PipelineAssociationCreateWithoutPipelineStageInput, {
|
||||
nullable: false,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateWithoutPipelineStageInput)
|
||||
create!: PipelineAssociationCreateWithoutPipelineStageInput;
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationCreateWithoutPipelineInput } from './pipeline-association-create-without-pipeline.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCreateOrConnectWithoutPipelineInput {
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
where!: PipelineAssociationWhereUniqueInput;
|
||||
|
||||
@Field(() => PipelineAssociationCreateWithoutPipelineInput, {
|
||||
nullable: false,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateWithoutPipelineInput)
|
||||
create!: PipelineAssociationCreateWithoutPipelineInput;
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
import { PipelineCreateNestedOneWithoutPipelineAssociationsInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-associations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCreateWithoutPipelineStageInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: false })
|
||||
associableType!: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
associableId!: string;
|
||||
|
||||
@Field(() => PipelineCreateNestedOneWithoutPipelineAssociationsInput, {
|
||||
nullable: false,
|
||||
})
|
||||
pipeline!: PipelineCreateNestedOneWithoutPipelineAssociationsInput;
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
import { PipelineStageCreateNestedOneWithoutPipelineAssociationsInput } from '../pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-associations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCreateWithoutPipelineInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: false })
|
||||
associableType!: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
associableId!: string;
|
||||
|
||||
@Field(() => PipelineStageCreateNestedOneWithoutPipelineAssociationsInput, {
|
||||
nullable: false,
|
||||
})
|
||||
pipelineStage!: PipelineStageCreateNestedOneWithoutPipelineAssociationsInput;
|
||||
}
|
||||
@ -0,0 +1,36 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
import { PipelineCreateNestedOneWithoutPipelineAssociationsInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-associations.input';
|
||||
import { PipelineStageCreateNestedOneWithoutPipelineAssociationsInput } from '../pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-associations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationCreateInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: false })
|
||||
associableType!: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
associableId!: string;
|
||||
|
||||
@Field(() => PipelineCreateNestedOneWithoutPipelineAssociationsInput, {
|
||||
nullable: false,
|
||||
})
|
||||
pipeline!: PipelineCreateNestedOneWithoutPipelineAssociationsInput;
|
||||
|
||||
@Field(() => PipelineStageCreateNestedOneWithoutPipelineAssociationsInput, {
|
||||
nullable: false,
|
||||
})
|
||||
pipelineStage!: PipelineStageCreateNestedOneWithoutPipelineAssociationsInput;
|
||||
}
|
||||
@ -0,0 +1,46 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereInput } from './pipeline-association-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationOrderByWithAggregationInput } from './pipeline-association-order-by-with-aggregation.input';
|
||||
import { PipelineAssociationScalarFieldEnum } from './pipeline-association-scalar-field.enum';
|
||||
import { PipelineAssociationScalarWhereWithAggregatesInput } from './pipeline-association-scalar-where-with-aggregates.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCountAggregateInput } from './pipeline-association-count-aggregate.input';
|
||||
import { PipelineAssociationMinAggregateInput } from './pipeline-association-min-aggregate.input';
|
||||
import { PipelineAssociationMaxAggregateInput } from './pipeline-association-max-aggregate.input';
|
||||
|
||||
@ArgsType()
|
||||
export class PipelineAssociationGroupByArgs {
|
||||
@Field(() => PipelineAssociationWhereInput, { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereInput)
|
||||
where?: PipelineAssociationWhereInput;
|
||||
|
||||
@Field(() => [PipelineAssociationOrderByWithAggregationInput], {
|
||||
nullable: true,
|
||||
})
|
||||
orderBy?: Array<PipelineAssociationOrderByWithAggregationInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationScalarFieldEnum], { nullable: false })
|
||||
by!: Array<keyof typeof PipelineAssociationScalarFieldEnum>;
|
||||
|
||||
@Field(() => PipelineAssociationScalarWhereWithAggregatesInput, {
|
||||
nullable: true,
|
||||
})
|
||||
having?: PipelineAssociationScalarWhereWithAggregatesInput;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
skip?: number;
|
||||
|
||||
@Field(() => PipelineAssociationCountAggregateInput, { nullable: true })
|
||||
_count?: PipelineAssociationCountAggregateInput;
|
||||
|
||||
@Field(() => PipelineAssociationMinAggregateInput, { nullable: true })
|
||||
_min?: PipelineAssociationMinAggregateInput;
|
||||
|
||||
@Field(() => PipelineAssociationMaxAggregateInput, { nullable: true })
|
||||
_max?: PipelineAssociationMaxAggregateInput;
|
||||
}
|
||||
@ -0,0 +1,42 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
import { PipelineAssociationCountAggregate } from './pipeline-association-count-aggregate.output';
|
||||
import { PipelineAssociationMinAggregate } from './pipeline-association-min-aggregate.output';
|
||||
import { PipelineAssociationMaxAggregate } from './pipeline-association-max-aggregate.output';
|
||||
|
||||
@ObjectType()
|
||||
export class PipelineAssociationGroupBy {
|
||||
@Field(() => String, { nullable: false })
|
||||
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;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
pipelineStageId!: string;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: false })
|
||||
associableType!: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
associableId!: string;
|
||||
|
||||
@Field(() => PipelineAssociationCountAggregate, { nullable: true })
|
||||
_count?: PipelineAssociationCountAggregate;
|
||||
|
||||
@Field(() => PipelineAssociationMinAggregate, { nullable: true })
|
||||
_min?: PipelineAssociationMinAggregate;
|
||||
|
||||
@Field(() => PipelineAssociationMaxAggregate, { nullable: true })
|
||||
_max?: PipelineAssociationMaxAggregate;
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereInput } from './pipeline-association-where.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationListRelationFilter {
|
||||
@Field(() => PipelineAssociationWhereInput, { nullable: true })
|
||||
every?: PipelineAssociationWhereInput;
|
||||
|
||||
@Field(() => PipelineAssociationWhereInput, { nullable: true })
|
||||
some?: PipelineAssociationWhereInput;
|
||||
|
||||
@Field(() => PipelineAssociationWhereInput, { nullable: true })
|
||||
none?: PipelineAssociationWhereInput;
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationMaxAggregateInput {
|
||||
@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;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
pipelineStageId?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
associableType?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
associableId?: true;
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
|
||||
@ObjectType()
|
||||
export class PipelineAssociationMaxAggregate {
|
||||
@Field(() => String, { nullable: true })
|
||||
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;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
pipelineStageId?: string;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: true })
|
||||
associableType?: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
associableId?: string;
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationMaxOrderByAggregateInput {
|
||||
@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;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
pipelineStageId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
associableType?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
associableId?: keyof typeof SortOrder;
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationMinAggregateInput {
|
||||
@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;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
pipelineStageId?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
associableType?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
associableId?: true;
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
|
||||
@ObjectType()
|
||||
export class PipelineAssociationMinAggregate {
|
||||
@Field(() => String, { nullable: true })
|
||||
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;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
pipelineStageId?: string;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: true })
|
||||
associableType?: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: true })
|
||||
associableId?: string;
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationMinOrderByAggregateInput {
|
||||
@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;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
pipelineStageId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
associableType?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
associableId?: keyof typeof SortOrder;
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationOrderByRelationAggregateInput {
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
_count?: keyof typeof SortOrder;
|
||||
}
|
||||
@ -0,0 +1,44 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
import { PipelineAssociationCountOrderByAggregateInput } from './pipeline-association-count-order-by-aggregate.input';
|
||||
import { PipelineAssociationMaxOrderByAggregateInput } from './pipeline-association-max-order-by-aggregate.input';
|
||||
import { PipelineAssociationMinOrderByAggregateInput } from './pipeline-association-min-order-by-aggregate.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationOrderByWithAggregationInput {
|
||||
@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;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
pipelineStageId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
associableType?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
associableId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => PipelineAssociationCountOrderByAggregateInput, {
|
||||
nullable: true,
|
||||
})
|
||||
_count?: PipelineAssociationCountOrderByAggregateInput;
|
||||
|
||||
@Field(() => PipelineAssociationMaxOrderByAggregateInput, { nullable: true })
|
||||
_max?: PipelineAssociationMaxOrderByAggregateInput;
|
||||
|
||||
@Field(() => PipelineAssociationMinOrderByAggregateInput, { nullable: true })
|
||||
_min?: PipelineAssociationMinOrderByAggregateInput;
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
import { PipelineOrderByWithRelationInput } from '../pipeline/pipeline-order-by-with-relation.input';
|
||||
import { PipelineStageOrderByWithRelationInput } from '../pipeline-stage/pipeline-stage-order-by-with-relation.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationOrderByWithRelationInput {
|
||||
@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;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
pipelineStageId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
associableType?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
associableId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => PipelineOrderByWithRelationInput, { nullable: true })
|
||||
pipeline?: PipelineOrderByWithRelationInput;
|
||||
|
||||
@Field(() => PipelineStageOrderByWithRelationInput, { nullable: true })
|
||||
pipelineStage?: PipelineStageOrderByWithRelationInput;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
import { registerEnumType } from '@nestjs/graphql';
|
||||
|
||||
export enum PipelineAssociationScalarFieldEnum {
|
||||
id = 'id',
|
||||
createdAt = 'createdAt',
|
||||
updatedAt = 'updatedAt',
|
||||
deletedAt = 'deletedAt',
|
||||
pipelineId = 'pipelineId',
|
||||
pipelineStageId = 'pipelineStageId',
|
||||
associableType = 'associableType',
|
||||
associableId = 'associableId',
|
||||
}
|
||||
|
||||
registerEnumType(PipelineAssociationScalarFieldEnum, {
|
||||
name: 'PipelineAssociationScalarFieldEnum',
|
||||
description: undefined,
|
||||
});
|
||||
@ -0,0 +1,50 @@
|
||||
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 { EnumPipelineAssociableTypeWithAggregatesFilter } from '../prisma/enum-pipeline-associable-type-with-aggregates-filter.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationScalarWhereWithAggregatesInput {
|
||||
@Field(() => [PipelineAssociationScalarWhereWithAggregatesInput], {
|
||||
nullable: true,
|
||||
})
|
||||
AND?: Array<PipelineAssociationScalarWhereWithAggregatesInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationScalarWhereWithAggregatesInput], {
|
||||
nullable: true,
|
||||
})
|
||||
OR?: Array<PipelineAssociationScalarWhereWithAggregatesInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationScalarWhereWithAggregatesInput], {
|
||||
nullable: true,
|
||||
})
|
||||
NOT?: Array<PipelineAssociationScalarWhereWithAggregatesInput>;
|
||||
|
||||
@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;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, { nullable: true })
|
||||
pipelineStageId?: StringWithAggregatesFilter;
|
||||
|
||||
@Field(() => EnumPipelineAssociableTypeWithAggregatesFilter, {
|
||||
nullable: true,
|
||||
})
|
||||
associableType?: EnumPipelineAssociableTypeWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, { nullable: true })
|
||||
associableId?: StringWithAggregatesFilter;
|
||||
}
|
||||
@ -0,0 +1,42 @@
|
||||
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 { EnumPipelineAssociableTypeFilter } from '../prisma/enum-pipeline-associable-type-filter.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationScalarWhereInput {
|
||||
@Field(() => [PipelineAssociationScalarWhereInput], { nullable: true })
|
||||
AND?: Array<PipelineAssociationScalarWhereInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationScalarWhereInput], { nullable: true })
|
||||
OR?: Array<PipelineAssociationScalarWhereInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationScalarWhereInput], { nullable: true })
|
||||
NOT?: Array<PipelineAssociationScalarWhereInput>;
|
||||
|
||||
@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;
|
||||
|
||||
@Field(() => StringFilter, { nullable: true })
|
||||
pipelineStageId?: StringFilter;
|
||||
|
||||
@Field(() => EnumPipelineAssociableTypeFilter, { nullable: true })
|
||||
associableType?: EnumPipelineAssociableTypeFilter;
|
||||
|
||||
@Field(() => StringFilter, { nullable: true })
|
||||
associableId?: StringFilter;
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCreateWithoutPipelineStageInput } from './pipeline-association-create-without-pipeline-stage.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationCreateOrConnectWithoutPipelineStageInput } from './pipeline-association-create-or-connect-without-pipeline-stage.input';
|
||||
import { PipelineAssociationCreateManyPipelineStageInputEnvelope } from './pipeline-association-create-many-pipeline-stage-input-envelope.input';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUncheckedCreateNestedManyWithoutPipelineStageInput {
|
||||
@Field(() => [PipelineAssociationCreateWithoutPipelineStageInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateWithoutPipelineStageInput)
|
||||
create?: Array<PipelineAssociationCreateWithoutPipelineStageInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationCreateOrConnectWithoutPipelineStageInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateOrConnectWithoutPipelineStageInput)
|
||||
connectOrCreate?: Array<PipelineAssociationCreateOrConnectWithoutPipelineStageInput>;
|
||||
|
||||
@Field(() => PipelineAssociationCreateManyPipelineStageInputEnvelope, {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateManyPipelineStageInputEnvelope)
|
||||
createMany?: PipelineAssociationCreateManyPipelineStageInputEnvelope;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
connect?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCreateWithoutPipelineInput } from './pipeline-association-create-without-pipeline.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationCreateOrConnectWithoutPipelineInput } from './pipeline-association-create-or-connect-without-pipeline.input';
|
||||
import { PipelineAssociationCreateManyPipelineInputEnvelope } from './pipeline-association-create-many-pipeline-input-envelope.input';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUncheckedCreateNestedManyWithoutPipelineInput {
|
||||
@Field(() => [PipelineAssociationCreateWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateWithoutPipelineInput)
|
||||
create?: Array<PipelineAssociationCreateWithoutPipelineInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationCreateOrConnectWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateOrConnectWithoutPipelineInput)
|
||||
connectOrCreate?: Array<PipelineAssociationCreateOrConnectWithoutPipelineInput>;
|
||||
|
||||
@Field(() => PipelineAssociationCreateManyPipelineInputEnvelope, {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateManyPipelineInputEnvelope)
|
||||
createMany?: PipelineAssociationCreateManyPipelineInputEnvelope;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
connect?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
}
|
||||
@ -0,0 +1,27 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUncheckedCreateWithoutPipelineStageInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
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;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: false })
|
||||
associableType!: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
associableId!: string;
|
||||
}
|
||||
@ -0,0 +1,27 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUncheckedCreateWithoutPipelineInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
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;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: false })
|
||||
associableType!: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
associableId!: string;
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUncheckedCreateInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
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;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
pipelineStageId!: string;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: false })
|
||||
associableType!: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
associableId!: string;
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
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 { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUncheckedUpdateManyWithoutPipelineAssociationsInput {
|
||||
@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;
|
||||
|
||||
@Field(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, {
|
||||
nullable: true,
|
||||
})
|
||||
associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
associableId?: StringFieldUpdateOperationsInput;
|
||||
}
|
||||
@ -0,0 +1,70 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCreateWithoutPipelineInput } from './pipeline-association-create-without-pipeline.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationCreateOrConnectWithoutPipelineInput } from './pipeline-association-create-or-connect-without-pipeline.input';
|
||||
import { PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput } from './pipeline-association-upsert-with-where-unique-without-pipeline.input';
|
||||
import { PipelineAssociationCreateManyPipelineInputEnvelope } from './pipeline-association-create-many-pipeline-input-envelope.input';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput } from './pipeline-association-update-with-where-unique-without-pipeline.input';
|
||||
import { PipelineAssociationUpdateManyWithWhereWithoutPipelineInput } from './pipeline-association-update-many-with-where-without-pipeline.input';
|
||||
import { PipelineAssociationScalarWhereInput } from './pipeline-association-scalar-where.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUncheckedUpdateManyWithoutPipelineNestedInput {
|
||||
@Field(() => [PipelineAssociationCreateWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateWithoutPipelineInput)
|
||||
create?: Array<PipelineAssociationCreateWithoutPipelineInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationCreateOrConnectWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateOrConnectWithoutPipelineInput)
|
||||
connectOrCreate?: Array<PipelineAssociationCreateOrConnectWithoutPipelineInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput)
|
||||
upsert?: Array<PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput>;
|
||||
|
||||
@Field(() => PipelineAssociationCreateManyPipelineInputEnvelope, {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateManyPipelineInputEnvelope)
|
||||
createMany?: PipelineAssociationCreateManyPipelineInputEnvelope;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
set?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
disconnect?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
delete?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
connect?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput)
|
||||
update?: Array<PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationUpdateManyWithWhereWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationUpdateManyWithWhereWithoutPipelineInput)
|
||||
updateMany?: Array<PipelineAssociationUpdateManyWithWhereWithoutPipelineInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationScalarWhereInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationScalarWhereInput)
|
||||
deleteMany?: Array<PipelineAssociationScalarWhereInput>;
|
||||
}
|
||||
@ -0,0 +1,73 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCreateWithoutPipelineStageInput } from './pipeline-association-create-without-pipeline-stage.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationCreateOrConnectWithoutPipelineStageInput } from './pipeline-association-create-or-connect-without-pipeline-stage.input';
|
||||
import { PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput } from './pipeline-association-upsert-with-where-unique-without-pipeline-stage.input';
|
||||
import { PipelineAssociationCreateManyPipelineStageInputEnvelope } from './pipeline-association-create-many-pipeline-stage-input-envelope.input';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput } from './pipeline-association-update-with-where-unique-without-pipeline-stage.input';
|
||||
import { PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput } from './pipeline-association-update-many-with-where-without-pipeline-stage.input';
|
||||
import { PipelineAssociationScalarWhereInput } from './pipeline-association-scalar-where.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUncheckedUpdateManyWithoutPipelineStageNestedInput {
|
||||
@Field(() => [PipelineAssociationCreateWithoutPipelineStageInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateWithoutPipelineStageInput)
|
||||
create?: Array<PipelineAssociationCreateWithoutPipelineStageInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationCreateOrConnectWithoutPipelineStageInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateOrConnectWithoutPipelineStageInput)
|
||||
connectOrCreate?: Array<PipelineAssociationCreateOrConnectWithoutPipelineStageInput>;
|
||||
|
||||
@Field(
|
||||
() => [PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput],
|
||||
{ nullable: true },
|
||||
)
|
||||
@Type(() => PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput)
|
||||
upsert?: Array<PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput>;
|
||||
|
||||
@Field(() => PipelineAssociationCreateManyPipelineStageInputEnvelope, {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateManyPipelineStageInputEnvelope)
|
||||
createMany?: PipelineAssociationCreateManyPipelineStageInputEnvelope;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
set?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
disconnect?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
delete?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
connect?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(
|
||||
() => [PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput],
|
||||
{ nullable: true },
|
||||
)
|
||||
@Type(() => PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput)
|
||||
update?: Array<PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput>;
|
||||
|
||||
@Field(
|
||||
() => [PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput],
|
||||
{ nullable: true },
|
||||
)
|
||||
@Type(() => PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput)
|
||||
updateMany?: Array<PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationScalarWhereInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationScalarWhereInput)
|
||||
deleteMany?: Array<PipelineAssociationScalarWhereInput>;
|
||||
}
|
||||
@ -0,0 +1,35 @@
|
||||
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 { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUncheckedUpdateManyInput {
|
||||
@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;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
pipelineStageId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, {
|
||||
nullable: true,
|
||||
})
|
||||
associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
associableId?: StringFieldUpdateOperationsInput;
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
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 { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUncheckedUpdateWithoutPipelineStageInput {
|
||||
@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;
|
||||
|
||||
@Field(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, {
|
||||
nullable: true,
|
||||
})
|
||||
associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
associableId?: StringFieldUpdateOperationsInput;
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
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 { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUncheckedUpdateWithoutPipelineInput {
|
||||
@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;
|
||||
|
||||
@Field(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, {
|
||||
nullable: true,
|
||||
})
|
||||
associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
associableId?: StringFieldUpdateOperationsInput;
|
||||
}
|
||||
@ -0,0 +1,35 @@
|
||||
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 { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUncheckedUpdateInput {
|
||||
@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;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
pipelineStageId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, {
|
||||
nullable: true,
|
||||
})
|
||||
associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
associableId?: StringFieldUpdateOperationsInput;
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
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 { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUpdateManyMutationInput {
|
||||
@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(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, {
|
||||
nullable: true,
|
||||
})
|
||||
associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
associableId?: StringFieldUpdateOperationsInput;
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationScalarWhereInput } from './pipeline-association-scalar-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationUpdateManyMutationInput } from './pipeline-association-update-many-mutation.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput {
|
||||
@Field(() => PipelineAssociationScalarWhereInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationScalarWhereInput)
|
||||
where!: PipelineAssociationScalarWhereInput;
|
||||
|
||||
@Field(() => PipelineAssociationUpdateManyMutationInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationUpdateManyMutationInput)
|
||||
data!: PipelineAssociationUpdateManyMutationInput;
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationScalarWhereInput } from './pipeline-association-scalar-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationUpdateManyMutationInput } from './pipeline-association-update-many-mutation.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUpdateManyWithWhereWithoutPipelineInput {
|
||||
@Field(() => PipelineAssociationScalarWhereInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationScalarWhereInput)
|
||||
where!: PipelineAssociationScalarWhereInput;
|
||||
|
||||
@Field(() => PipelineAssociationUpdateManyMutationInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationUpdateManyMutationInput)
|
||||
data!: PipelineAssociationUpdateManyMutationInput;
|
||||
}
|
||||
@ -0,0 +1,70 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCreateWithoutPipelineInput } from './pipeline-association-create-without-pipeline.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationCreateOrConnectWithoutPipelineInput } from './pipeline-association-create-or-connect-without-pipeline.input';
|
||||
import { PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput } from './pipeline-association-upsert-with-where-unique-without-pipeline.input';
|
||||
import { PipelineAssociationCreateManyPipelineInputEnvelope } from './pipeline-association-create-many-pipeline-input-envelope.input';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput } from './pipeline-association-update-with-where-unique-without-pipeline.input';
|
||||
import { PipelineAssociationUpdateManyWithWhereWithoutPipelineInput } from './pipeline-association-update-many-with-where-without-pipeline.input';
|
||||
import { PipelineAssociationScalarWhereInput } from './pipeline-association-scalar-where.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUpdateManyWithoutPipelineNestedInput {
|
||||
@Field(() => [PipelineAssociationCreateWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateWithoutPipelineInput)
|
||||
create?: Array<PipelineAssociationCreateWithoutPipelineInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationCreateOrConnectWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateOrConnectWithoutPipelineInput)
|
||||
connectOrCreate?: Array<PipelineAssociationCreateOrConnectWithoutPipelineInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput)
|
||||
upsert?: Array<PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput>;
|
||||
|
||||
@Field(() => PipelineAssociationCreateManyPipelineInputEnvelope, {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateManyPipelineInputEnvelope)
|
||||
createMany?: PipelineAssociationCreateManyPipelineInputEnvelope;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
set?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
disconnect?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
delete?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
connect?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput)
|
||||
update?: Array<PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationUpdateManyWithWhereWithoutPipelineInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationUpdateManyWithWhereWithoutPipelineInput)
|
||||
updateMany?: Array<PipelineAssociationUpdateManyWithWhereWithoutPipelineInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationScalarWhereInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationScalarWhereInput)
|
||||
deleteMany?: Array<PipelineAssociationScalarWhereInput>;
|
||||
}
|
||||
@ -0,0 +1,73 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationCreateWithoutPipelineStageInput } from './pipeline-association-create-without-pipeline-stage.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationCreateOrConnectWithoutPipelineStageInput } from './pipeline-association-create-or-connect-without-pipeline-stage.input';
|
||||
import { PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput } from './pipeline-association-upsert-with-where-unique-without-pipeline-stage.input';
|
||||
import { PipelineAssociationCreateManyPipelineStageInputEnvelope } from './pipeline-association-create-many-pipeline-stage-input-envelope.input';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput } from './pipeline-association-update-with-where-unique-without-pipeline-stage.input';
|
||||
import { PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput } from './pipeline-association-update-many-with-where-without-pipeline-stage.input';
|
||||
import { PipelineAssociationScalarWhereInput } from './pipeline-association-scalar-where.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUpdateManyWithoutPipelineStageNestedInput {
|
||||
@Field(() => [PipelineAssociationCreateWithoutPipelineStageInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateWithoutPipelineStageInput)
|
||||
create?: Array<PipelineAssociationCreateWithoutPipelineStageInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationCreateOrConnectWithoutPipelineStageInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateOrConnectWithoutPipelineStageInput)
|
||||
connectOrCreate?: Array<PipelineAssociationCreateOrConnectWithoutPipelineStageInput>;
|
||||
|
||||
@Field(
|
||||
() => [PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput],
|
||||
{ nullable: true },
|
||||
)
|
||||
@Type(() => PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput)
|
||||
upsert?: Array<PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput>;
|
||||
|
||||
@Field(() => PipelineAssociationCreateManyPipelineStageInputEnvelope, {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateManyPipelineStageInputEnvelope)
|
||||
createMany?: PipelineAssociationCreateManyPipelineStageInputEnvelope;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
set?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
disconnect?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
delete?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
connect?: Array<PipelineAssociationWhereUniqueInput>;
|
||||
|
||||
@Field(
|
||||
() => [PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput],
|
||||
{ nullable: true },
|
||||
)
|
||||
@Type(() => PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput)
|
||||
update?: Array<PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput>;
|
||||
|
||||
@Field(
|
||||
() => [PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput],
|
||||
{ nullable: true },
|
||||
)
|
||||
@Type(() => PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput)
|
||||
updateMany?: Array<PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationScalarWhereInput], { nullable: true })
|
||||
@Type(() => PipelineAssociationScalarWhereInput)
|
||||
deleteMany?: Array<PipelineAssociationScalarWhereInput>;
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationUpdateWithoutPipelineStageInput } from './pipeline-association-update-without-pipeline-stage.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput {
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
where!: PipelineAssociationWhereUniqueInput;
|
||||
|
||||
@Field(() => PipelineAssociationUpdateWithoutPipelineStageInput, {
|
||||
nullable: false,
|
||||
})
|
||||
@Type(() => PipelineAssociationUpdateWithoutPipelineStageInput)
|
||||
data!: PipelineAssociationUpdateWithoutPipelineStageInput;
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationUpdateWithoutPipelineInput } from './pipeline-association-update-without-pipeline.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput {
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
where!: PipelineAssociationWhereUniqueInput;
|
||||
|
||||
@Field(() => PipelineAssociationUpdateWithoutPipelineInput, {
|
||||
nullable: false,
|
||||
})
|
||||
@Type(() => PipelineAssociationUpdateWithoutPipelineInput)
|
||||
data!: PipelineAssociationUpdateWithoutPipelineInput;
|
||||
}
|
||||
@ -0,0 +1,36 @@
|
||||
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 { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input';
|
||||
import { PipelineUpdateOneRequiredWithoutPipelineAssociationsNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-associations-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUpdateWithoutPipelineStageInput {
|
||||
@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(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, {
|
||||
nullable: true,
|
||||
})
|
||||
associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
associableId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(
|
||||
() => PipelineUpdateOneRequiredWithoutPipelineAssociationsNestedInput,
|
||||
{ nullable: true },
|
||||
)
|
||||
pipeline?: PipelineUpdateOneRequiredWithoutPipelineAssociationsNestedInput;
|
||||
}
|
||||
@ -0,0 +1,36 @@
|
||||
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 { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input';
|
||||
import { PipelineStageUpdateOneRequiredWithoutPipelineAssociationsNestedInput } from '../pipeline-stage/pipeline-stage-update-one-required-without-pipeline-associations-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUpdateWithoutPipelineInput {
|
||||
@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(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, {
|
||||
nullable: true,
|
||||
})
|
||||
associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
associableId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(
|
||||
() => PipelineStageUpdateOneRequiredWithoutPipelineAssociationsNestedInput,
|
||||
{ nullable: true },
|
||||
)
|
||||
pipelineStage?: PipelineStageUpdateOneRequiredWithoutPipelineAssociationsNestedInput;
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
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 { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input';
|
||||
import { PipelineUpdateOneRequiredWithoutPipelineAssociationsNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-associations-nested.input';
|
||||
import { PipelineStageUpdateOneRequiredWithoutPipelineAssociationsNestedInput } from '../pipeline-stage/pipeline-stage-update-one-required-without-pipeline-associations-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUpdateInput {
|
||||
@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(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, {
|
||||
nullable: true,
|
||||
})
|
||||
associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
associableId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(
|
||||
() => PipelineUpdateOneRequiredWithoutPipelineAssociationsNestedInput,
|
||||
{ nullable: true },
|
||||
)
|
||||
pipeline?: PipelineUpdateOneRequiredWithoutPipelineAssociationsNestedInput;
|
||||
|
||||
@Field(
|
||||
() => PipelineStageUpdateOneRequiredWithoutPipelineAssociationsNestedInput,
|
||||
{ nullable: true },
|
||||
)
|
||||
pipelineStage?: PipelineStageUpdateOneRequiredWithoutPipelineAssociationsNestedInput;
|
||||
}
|
||||
@ -0,0 +1,25 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationUpdateWithoutPipelineStageInput } from './pipeline-association-update-without-pipeline-stage.input';
|
||||
import { PipelineAssociationCreateWithoutPipelineStageInput } from './pipeline-association-create-without-pipeline-stage.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput {
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
where!: PipelineAssociationWhereUniqueInput;
|
||||
|
||||
@Field(() => PipelineAssociationUpdateWithoutPipelineStageInput, {
|
||||
nullable: false,
|
||||
})
|
||||
@Type(() => PipelineAssociationUpdateWithoutPipelineStageInput)
|
||||
update!: PipelineAssociationUpdateWithoutPipelineStageInput;
|
||||
|
||||
@Field(() => PipelineAssociationCreateWithoutPipelineStageInput, {
|
||||
nullable: false,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateWithoutPipelineStageInput)
|
||||
create!: PipelineAssociationCreateWithoutPipelineStageInput;
|
||||
}
|
||||
@ -0,0 +1,25 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationUpdateWithoutPipelineInput } from './pipeline-association-update-without-pipeline.input';
|
||||
import { PipelineAssociationCreateWithoutPipelineInput } from './pipeline-association-create-without-pipeline.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput {
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
where!: PipelineAssociationWhereUniqueInput;
|
||||
|
||||
@Field(() => PipelineAssociationUpdateWithoutPipelineInput, {
|
||||
nullable: false,
|
||||
})
|
||||
@Type(() => PipelineAssociationUpdateWithoutPipelineInput)
|
||||
update!: PipelineAssociationUpdateWithoutPipelineInput;
|
||||
|
||||
@Field(() => PipelineAssociationCreateWithoutPipelineInput, {
|
||||
nullable: false,
|
||||
})
|
||||
@Type(() => PipelineAssociationCreateWithoutPipelineInput)
|
||||
create!: PipelineAssociationCreateWithoutPipelineInput;
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationWhereUniqueInput {
|
||||
@Field(() => String, { nullable: true })
|
||||
id?: string;
|
||||
}
|
||||
@ -0,0 +1,50 @@
|
||||
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 { EnumPipelineAssociableTypeFilter } from '../prisma/enum-pipeline-associable-type-filter.input';
|
||||
import { PipelineRelationFilter } from '../pipeline/pipeline-relation-filter.input';
|
||||
import { PipelineStageRelationFilter } from '../pipeline-stage/pipeline-stage-relation-filter.input';
|
||||
|
||||
@InputType()
|
||||
export class PipelineAssociationWhereInput {
|
||||
@Field(() => [PipelineAssociationWhereInput], { nullable: true })
|
||||
AND?: Array<PipelineAssociationWhereInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereInput], { nullable: true })
|
||||
OR?: Array<PipelineAssociationWhereInput>;
|
||||
|
||||
@Field(() => [PipelineAssociationWhereInput], { nullable: true })
|
||||
NOT?: Array<PipelineAssociationWhereInput>;
|
||||
|
||||
@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;
|
||||
|
||||
@Field(() => StringFilter, { nullable: true })
|
||||
pipelineStageId?: StringFilter;
|
||||
|
||||
@Field(() => EnumPipelineAssociableTypeFilter, { nullable: true })
|
||||
associableType?: EnumPipelineAssociableTypeFilter;
|
||||
|
||||
@Field(() => StringFilter, { nullable: true })
|
||||
associableId?: StringFilter;
|
||||
|
||||
@Field(() => PipelineRelationFilter, { nullable: true })
|
||||
pipeline?: PipelineRelationFilter;
|
||||
|
||||
@Field(() => PipelineStageRelationFilter, { nullable: true })
|
||||
pipelineStage?: PipelineStageRelationFilter;
|
||||
}
|
||||
@ -0,0 +1,39 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { ID } from '@nestjs/graphql';
|
||||
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
||||
import { Pipeline } from '../pipeline/pipeline.model';
|
||||
import { PipelineStage } from '../pipeline-stage/pipeline-stage.model';
|
||||
|
||||
@ObjectType()
|
||||
export class PipelineAssociation {
|
||||
@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;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
pipelineStageId!: string;
|
||||
|
||||
@Field(() => PipelineAssociableType, { nullable: false })
|
||||
associableType!: keyof typeof PipelineAssociableType;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
associableId!: string;
|
||||
|
||||
@Field(() => Pipeline, { nullable: false })
|
||||
pipeline?: Pipeline;
|
||||
|
||||
@Field(() => PipelineStage, { nullable: false })
|
||||
pipelineStage?: PipelineStage;
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationUpdateManyMutationInput } from './pipeline-association-update-many-mutation.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationWhereInput } from './pipeline-association-where.input';
|
||||
|
||||
@ArgsType()
|
||||
export class UpdateManyPipelineAssociationArgs {
|
||||
@Field(() => PipelineAssociationUpdateManyMutationInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationUpdateManyMutationInput)
|
||||
data!: PipelineAssociationUpdateManyMutationInput;
|
||||
|
||||
@Field(() => PipelineAssociationWhereInput, { nullable: true })
|
||||
@Type(() => PipelineAssociationWhereInput)
|
||||
where?: PipelineAssociationWhereInput;
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationUpdateInput } from './pipeline-association-update.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
|
||||
@ArgsType()
|
||||
export class UpdateOnePipelineAssociationArgs {
|
||||
@Field(() => PipelineAssociationUpdateInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationUpdateInput)
|
||||
data!: PipelineAssociationUpdateInput;
|
||||
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
where!: PipelineAssociationWhereUniqueInput;
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineAssociationCreateInput } from './pipeline-association-create.input';
|
||||
import { PipelineAssociationUpdateInput } from './pipeline-association-update.input';
|
||||
|
||||
@ArgsType()
|
||||
export class UpsertOnePipelineAssociationArgs {
|
||||
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationWhereUniqueInput)
|
||||
where!: PipelineAssociationWhereUniqueInput;
|
||||
|
||||
@Field(() => PipelineAssociationCreateInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationCreateInput)
|
||||
create!: PipelineAssociationCreateInput;
|
||||
|
||||
@Field(() => PipelineAssociationUpdateInput, { nullable: false })
|
||||
@Type(() => PipelineAssociationUpdateInput)
|
||||
update!: PipelineAssociationUpdateInput;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { PipelineStageCountAggregate } from './pipeline-stage-count-aggregate.output';
|
||||
import { PipelineStageMinAggregate } from './pipeline-stage-min-aggregate.output';
|
||||
import { PipelineStageMaxAggregate } from './pipeline-stage-max-aggregate.output';
|
||||
|
||||
@ObjectType()
|
||||
export class AggregatePipelineStage {
|
||||
@Field(() => PipelineStageCountAggregate, { nullable: true })
|
||||
_count?: PipelineStageCountAggregate;
|
||||
|
||||
@Field(() => PipelineStageMinAggregate, { nullable: true })
|
||||
_min?: PipelineStageMinAggregate;
|
||||
|
||||
@Field(() => PipelineStageMaxAggregate, { nullable: true })
|
||||
_max?: PipelineStageMaxAggregate;
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineStageCreateManyInput } from './pipeline-stage-create-many.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class CreateManyPipelineStageArgs {
|
||||
@Field(() => [PipelineStageCreateManyInput], { nullable: false })
|
||||
@Type(() => PipelineStageCreateManyInput)
|
||||
data!: Array<PipelineStageCreateManyInput>;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
skipDuplicates?: boolean;
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineStageCreateInput } from './pipeline-stage-create.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class CreateOnePipelineStageArgs {
|
||||
@Field(() => PipelineStageCreateInput, { nullable: false })
|
||||
@Type(() => PipelineStageCreateInput)
|
||||
data!: PipelineStageCreateInput;
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineStageWhereInput } from './pipeline-stage-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class DeleteManyPipelineStageArgs {
|
||||
@Field(() => PipelineStageWhereInput, { nullable: true })
|
||||
@Type(() => PipelineStageWhereInput)
|
||||
where?: PipelineStageWhereInput;
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class DeleteOnePipelineStageArgs {
|
||||
@Field(() => PipelineStageWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PipelineStageWhereUniqueInput)
|
||||
where!: PipelineStageWhereUniqueInput;
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineStageWhereInput } from './pipeline-stage-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineStageOrderByWithRelationInput } from './pipeline-stage-order-by-with-relation.input';
|
||||
import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineStageScalarFieldEnum } from './pipeline-stage-scalar-field.enum';
|
||||
|
||||
@ArgsType()
|
||||
export class FindFirstPipelineStageOrThrowArgs {
|
||||
@Field(() => PipelineStageWhereInput, { nullable: true })
|
||||
@Type(() => PipelineStageWhereInput)
|
||||
where?: PipelineStageWhereInput;
|
||||
|
||||
@Field(() => [PipelineStageOrderByWithRelationInput], { nullable: true })
|
||||
orderBy?: Array<PipelineStageOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => PipelineStageWhereUniqueInput, { nullable: true })
|
||||
cursor?: PipelineStageWhereUniqueInput;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
skip?: number;
|
||||
|
||||
@Field(() => [PipelineStageScalarFieldEnum], { nullable: true })
|
||||
distinct?: Array<keyof typeof PipelineStageScalarFieldEnum>;
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineStageWhereInput } from './pipeline-stage-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineStageOrderByWithRelationInput } from './pipeline-stage-order-by-with-relation.input';
|
||||
import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineStageScalarFieldEnum } from './pipeline-stage-scalar-field.enum';
|
||||
|
||||
@ArgsType()
|
||||
export class FindFirstPipelineStageArgs {
|
||||
@Field(() => PipelineStageWhereInput, { nullable: true })
|
||||
@Type(() => PipelineStageWhereInput)
|
||||
where?: PipelineStageWhereInput;
|
||||
|
||||
@Field(() => [PipelineStageOrderByWithRelationInput], { nullable: true })
|
||||
orderBy?: Array<PipelineStageOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => PipelineStageWhereUniqueInput, { nullable: true })
|
||||
cursor?: PipelineStageWhereUniqueInput;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
skip?: number;
|
||||
|
||||
@Field(() => [PipelineStageScalarFieldEnum], { nullable: true })
|
||||
distinct?: Array<keyof typeof PipelineStageScalarFieldEnum>;
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineStageWhereInput } from './pipeline-stage-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PipelineStageOrderByWithRelationInput } from './pipeline-stage-order-by-with-relation.input';
|
||||
import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PipelineStageScalarFieldEnum } from './pipeline-stage-scalar-field.enum';
|
||||
|
||||
@ArgsType()
|
||||
export class FindManyPipelineStageArgs {
|
||||
@Field(() => PipelineStageWhereInput, { nullable: true })
|
||||
@Type(() => PipelineStageWhereInput)
|
||||
where?: PipelineStageWhereInput;
|
||||
|
||||
@Field(() => [PipelineStageOrderByWithRelationInput], { nullable: true })
|
||||
orderBy?: Array<PipelineStageOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => PipelineStageWhereUniqueInput, { nullable: true })
|
||||
cursor?: PipelineStageWhereUniqueInput;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, { nullable: true })
|
||||
skip?: number;
|
||||
|
||||
@Field(() => [PipelineStageScalarFieldEnum], { nullable: true })
|
||||
distinct?: Array<keyof typeof PipelineStageScalarFieldEnum>;
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class FindUniquePipelineStageOrThrowArgs {
|
||||
@Field(() => PipelineStageWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PipelineStageWhereUniqueInput)
|
||||
where!: PipelineStageWhereUniqueInput;
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user