Clean server post refactor to remove Hasura (#156)
* Clean BE post refactor to remove Hasura * Add server CI
This commit is contained in:
@ -6,13 +6,12 @@ import { PersonMaxAggregate } from './person-max-aggregate.output';
|
||||
|
||||
@ObjectType()
|
||||
export class AggregatePerson {
|
||||
@Field(() => PersonCountAggregate, { nullable: true })
|
||||
_count?: PersonCountAggregate;
|
||||
|
||||
@Field(() => PersonCountAggregate, {nullable:true})
|
||||
_count?: PersonCountAggregate;
|
||||
@Field(() => PersonMinAggregate, { nullable: true })
|
||||
_min?: PersonMinAggregate;
|
||||
|
||||
@Field(() => PersonMinAggregate, {nullable:true})
|
||||
_min?: PersonMinAggregate;
|
||||
|
||||
@Field(() => PersonMaxAggregate, {nullable:true})
|
||||
_max?: PersonMaxAggregate;
|
||||
@Field(() => PersonMaxAggregate, { nullable: true })
|
||||
_max?: PersonMaxAggregate;
|
||||
}
|
||||
|
||||
@ -5,11 +5,10 @@ import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class CreateManyPersonArgs {
|
||||
@Field(() => [PersonCreateManyInput], { nullable: false })
|
||||
@Type(() => PersonCreateManyInput)
|
||||
data!: Array<PersonCreateManyInput>;
|
||||
|
||||
@Field(() => [PersonCreateManyInput], {nullable:false})
|
||||
@Type(() => PersonCreateManyInput)
|
||||
data!: Array<PersonCreateManyInput>;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
skipDuplicates?: boolean;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
skipDuplicates?: boolean;
|
||||
}
|
||||
|
||||
@ -5,8 +5,7 @@ import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class CreateOnePersonArgs {
|
||||
|
||||
@Field(() => PersonCreateInput, {nullable:false})
|
||||
@Type(() => PersonCreateInput)
|
||||
data!: PersonCreateInput;
|
||||
@Field(() => PersonCreateInput, { nullable: false })
|
||||
@Type(() => PersonCreateInput)
|
||||
data!: PersonCreateInput;
|
||||
}
|
||||
|
||||
@ -5,8 +5,7 @@ import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class DeleteManyPersonArgs {
|
||||
|
||||
@Field(() => PersonWhereInput, {nullable:true})
|
||||
@Type(() => PersonWhereInput)
|
||||
where?: PersonWhereInput;
|
||||
@Field(() => PersonWhereInput, { nullable: true })
|
||||
@Type(() => PersonWhereInput)
|
||||
where?: PersonWhereInput;
|
||||
}
|
||||
|
||||
@ -5,8 +5,7 @@ import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class DeleteOnePersonArgs {
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:false})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
@Field(() => PersonWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
}
|
||||
|
||||
@ -9,23 +9,22 @@ import { PersonScalarFieldEnum } from './person-scalar-field.enum';
|
||||
|
||||
@ArgsType()
|
||||
export class FindFirstPersonOrThrowArgs {
|
||||
@Field(() => PersonWhereInput, { nullable: true })
|
||||
@Type(() => PersonWhereInput)
|
||||
where?: PersonWhereInput;
|
||||
|
||||
@Field(() => PersonWhereInput, {nullable:true})
|
||||
@Type(() => PersonWhereInput)
|
||||
where?: PersonWhereInput;
|
||||
@Field(() => [PersonOrderByWithRelationInput], { nullable: true })
|
||||
orderBy?: Array<PersonOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => [PersonOrderByWithRelationInput], {nullable:true})
|
||||
orderBy?: Array<PersonOrderByWithRelationInput>;
|
||||
@Field(() => PersonWhereUniqueInput, { nullable: true })
|
||||
cursor?: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:true})
|
||||
cursor?: PersonWhereUniqueInput;
|
||||
@Field(() => Int, { nullable: true })
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
take?: number;
|
||||
@Field(() => Int, { nullable: true })
|
||||
skip?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
skip?: number;
|
||||
|
||||
@Field(() => [PersonScalarFieldEnum], {nullable:true})
|
||||
distinct?: Array<keyof typeof PersonScalarFieldEnum>;
|
||||
@Field(() => [PersonScalarFieldEnum], { nullable: true })
|
||||
distinct?: Array<keyof typeof PersonScalarFieldEnum>;
|
||||
}
|
||||
|
||||
@ -9,23 +9,22 @@ import { PersonScalarFieldEnum } from './person-scalar-field.enum';
|
||||
|
||||
@ArgsType()
|
||||
export class FindFirstPersonArgs {
|
||||
@Field(() => PersonWhereInput, { nullable: true })
|
||||
@Type(() => PersonWhereInput)
|
||||
where?: PersonWhereInput;
|
||||
|
||||
@Field(() => PersonWhereInput, {nullable:true})
|
||||
@Type(() => PersonWhereInput)
|
||||
where?: PersonWhereInput;
|
||||
@Field(() => [PersonOrderByWithRelationInput], { nullable: true })
|
||||
orderBy?: Array<PersonOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => [PersonOrderByWithRelationInput], {nullable:true})
|
||||
orderBy?: Array<PersonOrderByWithRelationInput>;
|
||||
@Field(() => PersonWhereUniqueInput, { nullable: true })
|
||||
cursor?: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:true})
|
||||
cursor?: PersonWhereUniqueInput;
|
||||
@Field(() => Int, { nullable: true })
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
take?: number;
|
||||
@Field(() => Int, { nullable: true })
|
||||
skip?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
skip?: number;
|
||||
|
||||
@Field(() => [PersonScalarFieldEnum], {nullable:true})
|
||||
distinct?: Array<keyof typeof PersonScalarFieldEnum>;
|
||||
@Field(() => [PersonScalarFieldEnum], { nullable: true })
|
||||
distinct?: Array<keyof typeof PersonScalarFieldEnum>;
|
||||
}
|
||||
|
||||
@ -9,23 +9,22 @@ import { PersonScalarFieldEnum } from './person-scalar-field.enum';
|
||||
|
||||
@ArgsType()
|
||||
export class FindManyPersonArgs {
|
||||
@Field(() => PersonWhereInput, { nullable: true })
|
||||
@Type(() => PersonWhereInput)
|
||||
where?: PersonWhereInput;
|
||||
|
||||
@Field(() => PersonWhereInput, {nullable:true})
|
||||
@Type(() => PersonWhereInput)
|
||||
where?: PersonWhereInput;
|
||||
@Field(() => [PersonOrderByWithRelationInput], { nullable: true })
|
||||
orderBy?: Array<PersonOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => [PersonOrderByWithRelationInput], {nullable:true})
|
||||
orderBy?: Array<PersonOrderByWithRelationInput>;
|
||||
@Field(() => PersonWhereUniqueInput, { nullable: true })
|
||||
cursor?: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:true})
|
||||
cursor?: PersonWhereUniqueInput;
|
||||
@Field(() => Int, { nullable: true })
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
take?: number;
|
||||
@Field(() => Int, { nullable: true })
|
||||
skip?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
skip?: number;
|
||||
|
||||
@Field(() => [PersonScalarFieldEnum], {nullable:true})
|
||||
distinct?: Array<keyof typeof PersonScalarFieldEnum>;
|
||||
@Field(() => [PersonScalarFieldEnum], { nullable: true })
|
||||
distinct?: Array<keyof typeof PersonScalarFieldEnum>;
|
||||
}
|
||||
|
||||
@ -5,8 +5,7 @@ import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class FindUniquePersonOrThrowArgs {
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:false})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
@Field(() => PersonWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
}
|
||||
|
||||
@ -5,8 +5,7 @@ import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class FindUniquePersonArgs {
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:false})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
@Field(() => PersonWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
}
|
||||
|
||||
@ -11,29 +11,28 @@ import { PersonMaxAggregateInput } from './person-max-aggregate.input';
|
||||
|
||||
@ArgsType()
|
||||
export class PersonAggregateArgs {
|
||||
@Field(() => PersonWhereInput, { nullable: true })
|
||||
@Type(() => PersonWhereInput)
|
||||
where?: PersonWhereInput;
|
||||
|
||||
@Field(() => PersonWhereInput, {nullable:true})
|
||||
@Type(() => PersonWhereInput)
|
||||
where?: PersonWhereInput;
|
||||
@Field(() => [PersonOrderByWithRelationInput], { nullable: true })
|
||||
orderBy?: Array<PersonOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => [PersonOrderByWithRelationInput], {nullable:true})
|
||||
orderBy?: Array<PersonOrderByWithRelationInput>;
|
||||
@Field(() => PersonWhereUniqueInput, { nullable: true })
|
||||
cursor?: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:true})
|
||||
cursor?: PersonWhereUniqueInput;
|
||||
@Field(() => Int, { nullable: true })
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
take?: number;
|
||||
@Field(() => Int, { nullable: true })
|
||||
skip?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
skip?: number;
|
||||
@Field(() => PersonCountAggregateInput, { nullable: true })
|
||||
_count?: PersonCountAggregateInput;
|
||||
|
||||
@Field(() => PersonCountAggregateInput, {nullable:true})
|
||||
_count?: PersonCountAggregateInput;
|
||||
@Field(() => PersonMinAggregateInput, { nullable: true })
|
||||
_min?: PersonMinAggregateInput;
|
||||
|
||||
@Field(() => PersonMinAggregateInput, {nullable:true})
|
||||
_min?: PersonMinAggregateInput;
|
||||
|
||||
@Field(() => PersonMaxAggregateInput, {nullable:true})
|
||||
_max?: PersonMaxAggregateInput;
|
||||
@Field(() => PersonMaxAggregateInput, { nullable: true })
|
||||
_max?: PersonMaxAggregateInput;
|
||||
}
|
||||
|
||||
@ -4,40 +4,39 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonCountAggregateInput {
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
id?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
id?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
createdAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
createdAt?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
updatedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
updatedAt?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
deletedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
deletedAt?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
firstname?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
firstname?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
lastname?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
lastname?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
email?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
email?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
phone?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
phone?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
city?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
city?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
companyId?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
companyId?: true;
|
||||
@HideField()
|
||||
workspaceId?: true;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
_all?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
_all?: true;
|
||||
}
|
||||
|
||||
@ -4,40 +4,39 @@ import { Int } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class PersonCountAggregate {
|
||||
@Field(() => Int, { nullable: false })
|
||||
id!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
id!: number;
|
||||
@Field(() => Int, { nullable: false })
|
||||
createdAt!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
createdAt!: number;
|
||||
@Field(() => Int, { nullable: false })
|
||||
updatedAt!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
updatedAt!: number;
|
||||
@Field(() => Int, { nullable: false })
|
||||
deletedAt!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
deletedAt!: number;
|
||||
@Field(() => Int, { nullable: false })
|
||||
firstname!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
firstname!: number;
|
||||
@Field(() => Int, { nullable: false })
|
||||
lastname!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
lastname!: number;
|
||||
@Field(() => Int, { nullable: false })
|
||||
email!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
email!: number;
|
||||
@Field(() => Int, { nullable: false })
|
||||
phone!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
phone!: number;
|
||||
@Field(() => Int, { nullable: false })
|
||||
city!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
city!: number;
|
||||
@Field(() => Int, { nullable: false })
|
||||
companyId!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
companyId!: number;
|
||||
@Field(() => Int, { nullable: false })
|
||||
workspaceId!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
workspaceId!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
_all!: number;
|
||||
@Field(() => Int, { nullable: false })
|
||||
_all!: number;
|
||||
}
|
||||
|
||||
@ -5,37 +5,36 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonCountOrderByAggregateInput {
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
firstname?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
firstname?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
lastname?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
lastname?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
email?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
email?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
phone?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
phone?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
city?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
city?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
companyId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
companyId?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: keyof typeof SortOrder;
|
||||
@HideField()
|
||||
workspaceId?: keyof typeof SortOrder;
|
||||
}
|
||||
|
||||
@ -5,11 +5,10 @@ import { Type } from 'class-transformer';
|
||||
|
||||
@InputType()
|
||||
export class PersonCreateManyCompanyInputEnvelope {
|
||||
@Field(() => [PersonCreateManyCompanyInput], { nullable: false })
|
||||
@Type(() => PersonCreateManyCompanyInput)
|
||||
data!: Array<PersonCreateManyCompanyInput>;
|
||||
|
||||
@Field(() => [PersonCreateManyCompanyInput], {nullable:false})
|
||||
@Type(() => PersonCreateManyCompanyInput)
|
||||
data!: Array<PersonCreateManyCompanyInput>;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
skipDuplicates?: boolean;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
skipDuplicates?: boolean;
|
||||
}
|
||||
|
||||
@ -4,34 +4,33 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonCreateManyCompanyInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
id!: string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
@Field(() => String, { nullable: false })
|
||||
firstname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
firstname!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
lastname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
lastname!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
phone!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
phone!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
city!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
city!: string;
|
||||
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
}
|
||||
|
||||
@ -5,11 +5,10 @@ import { Type } from 'class-transformer';
|
||||
|
||||
@InputType()
|
||||
export class PersonCreateManyWorkspaceInputEnvelope {
|
||||
@Field(() => [PersonCreateManyWorkspaceInput], { nullable: false })
|
||||
@Type(() => PersonCreateManyWorkspaceInput)
|
||||
data!: Array<PersonCreateManyWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonCreateManyWorkspaceInput], {nullable:false})
|
||||
@Type(() => PersonCreateManyWorkspaceInput)
|
||||
data!: Array<PersonCreateManyWorkspaceInput>;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
skipDuplicates?: boolean;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
skipDuplicates?: boolean;
|
||||
}
|
||||
|
||||
@ -3,34 +3,33 @@ import { InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonCreateManyWorkspaceInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
id!: string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
@Field(() => String, { nullable: false })
|
||||
firstname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
firstname!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
lastname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
lastname!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
phone!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
phone!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
city!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
city!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
companyId?: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
companyId?: string;
|
||||
}
|
||||
|
||||
@ -4,37 +4,36 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonCreateManyInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
id!: string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
@Field(() => String, { nullable: false })
|
||||
firstname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
firstname!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
lastname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
lastname!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
phone!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
phone!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
city!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
city!: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
companyId?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
companyId?: string;
|
||||
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
}
|
||||
|
||||
@ -8,20 +8,19 @@ import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonCreateNestedManyWithoutCompanyInput {
|
||||
@Field(() => [PersonCreateWithoutCompanyInput], { nullable: true })
|
||||
@Type(() => PersonCreateWithoutCompanyInput)
|
||||
create?: Array<PersonCreateWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonCreateWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonCreateWithoutCompanyInput)
|
||||
create?: Array<PersonCreateWithoutCompanyInput>;
|
||||
@Field(() => [PersonCreateOrConnectWithoutCompanyInput], { nullable: true })
|
||||
@Type(() => PersonCreateOrConnectWithoutCompanyInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonCreateOrConnectWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonCreateOrConnectWithoutCompanyInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutCompanyInput>;
|
||||
@Field(() => PersonCreateManyCompanyInputEnvelope, { nullable: true })
|
||||
@Type(() => PersonCreateManyCompanyInputEnvelope)
|
||||
createMany?: PersonCreateManyCompanyInputEnvelope;
|
||||
|
||||
@Field(() => PersonCreateManyCompanyInputEnvelope, {nullable:true})
|
||||
@Type(() => PersonCreateManyCompanyInputEnvelope)
|
||||
createMany?: PersonCreateManyCompanyInputEnvelope;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
@Field(() => [PersonWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
}
|
||||
|
||||
@ -8,20 +8,19 @@ import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonCreateNestedManyWithoutWorkspaceInput {
|
||||
@Field(() => [PersonCreateWithoutWorkspaceInput], { nullable: true })
|
||||
@Type(() => PersonCreateWithoutWorkspaceInput)
|
||||
create?: Array<PersonCreateWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonCreateWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonCreateWithoutWorkspaceInput)
|
||||
create?: Array<PersonCreateWithoutWorkspaceInput>;
|
||||
@Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], { nullable: true })
|
||||
@Type(() => PersonCreateOrConnectWithoutWorkspaceInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonCreateOrConnectWithoutWorkspaceInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutWorkspaceInput>;
|
||||
@Field(() => PersonCreateManyWorkspaceInputEnvelope, { nullable: true })
|
||||
@Type(() => PersonCreateManyWorkspaceInputEnvelope)
|
||||
createMany?: PersonCreateManyWorkspaceInputEnvelope;
|
||||
|
||||
@Field(() => PersonCreateManyWorkspaceInputEnvelope, {nullable:true})
|
||||
@Type(() => PersonCreateManyWorkspaceInputEnvelope)
|
||||
createMany?: PersonCreateManyWorkspaceInputEnvelope;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
@Field(() => [PersonWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
}
|
||||
|
||||
@ -6,12 +6,11 @@ import { PersonCreateWithoutCompanyInput } from './person-create-without-company
|
||||
|
||||
@InputType()
|
||||
export class PersonCreateOrConnectWithoutCompanyInput {
|
||||
@Field(() => PersonWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:false})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => PersonCreateWithoutCompanyInput, {nullable:false})
|
||||
@Type(() => PersonCreateWithoutCompanyInput)
|
||||
create!: PersonCreateWithoutCompanyInput;
|
||||
@Field(() => PersonCreateWithoutCompanyInput, { nullable: false })
|
||||
@Type(() => PersonCreateWithoutCompanyInput)
|
||||
create!: PersonCreateWithoutCompanyInput;
|
||||
}
|
||||
|
||||
@ -6,12 +6,11 @@ import { PersonCreateWithoutWorkspaceInput } from './person-create-without-works
|
||||
|
||||
@InputType()
|
||||
export class PersonCreateOrConnectWithoutWorkspaceInput {
|
||||
@Field(() => PersonWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:false})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => PersonCreateWithoutWorkspaceInput, {nullable:false})
|
||||
@Type(() => PersonCreateWithoutWorkspaceInput)
|
||||
create!: PersonCreateWithoutWorkspaceInput;
|
||||
@Field(() => PersonCreateWithoutWorkspaceInput, { nullable: false })
|
||||
@Type(() => PersonCreateWithoutWorkspaceInput)
|
||||
create!: PersonCreateWithoutWorkspaceInput;
|
||||
}
|
||||
|
||||
@ -5,34 +5,33 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonCreateWithoutCompanyInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
id!: string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
@Field(() => String, { nullable: false })
|
||||
firstname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
firstname!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
lastname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
lastname!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
phone!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
phone!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
city!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
city!: string;
|
||||
|
||||
@HideField()
|
||||
workspace!: WorkspaceCreateNestedOneWithoutPeopleInput;
|
||||
@HideField()
|
||||
workspace!: WorkspaceCreateNestedOneWithoutPeopleInput;
|
||||
}
|
||||
|
||||
@ -4,34 +4,33 @@ import { CompanyCreateNestedOneWithoutPeopleInput } from '../company/company-cre
|
||||
|
||||
@InputType()
|
||||
export class PersonCreateWithoutWorkspaceInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
id!: string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
@Field(() => String, { nullable: false })
|
||||
firstname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
firstname!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
lastname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
lastname!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
phone!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
phone!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
city!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
city!: string;
|
||||
|
||||
@Field(() => CompanyCreateNestedOneWithoutPeopleInput, {nullable:true})
|
||||
company?: CompanyCreateNestedOneWithoutPeopleInput;
|
||||
@Field(() => CompanyCreateNestedOneWithoutPeopleInput, { nullable: true })
|
||||
company?: CompanyCreateNestedOneWithoutPeopleInput;
|
||||
}
|
||||
|
||||
@ -6,37 +6,36 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonCreateInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
id!: string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
@Field(() => String, { nullable: false })
|
||||
firstname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
firstname!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
lastname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
lastname!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
phone!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
phone!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
city!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
city!: string;
|
||||
@Field(() => CompanyCreateNestedOneWithoutPeopleInput, { nullable: true })
|
||||
company?: CompanyCreateNestedOneWithoutPeopleInput;
|
||||
|
||||
@Field(() => CompanyCreateNestedOneWithoutPeopleInput, {nullable:true})
|
||||
company?: CompanyCreateNestedOneWithoutPeopleInput;
|
||||
|
||||
@HideField()
|
||||
workspace!: WorkspaceCreateNestedOneWithoutPeopleInput;
|
||||
@HideField()
|
||||
workspace!: WorkspaceCreateNestedOneWithoutPeopleInput;
|
||||
}
|
||||
|
||||
@ -12,32 +12,31 @@ import { PersonMaxAggregateInput } from './person-max-aggregate.input';
|
||||
|
||||
@ArgsType()
|
||||
export class PersonGroupByArgs {
|
||||
@Field(() => PersonWhereInput, { nullable: true })
|
||||
@Type(() => PersonWhereInput)
|
||||
where?: PersonWhereInput;
|
||||
|
||||
@Field(() => PersonWhereInput, {nullable:true})
|
||||
@Type(() => PersonWhereInput)
|
||||
where?: PersonWhereInput;
|
||||
@Field(() => [PersonOrderByWithAggregationInput], { nullable: true })
|
||||
orderBy?: Array<PersonOrderByWithAggregationInput>;
|
||||
|
||||
@Field(() => [PersonOrderByWithAggregationInput], {nullable:true})
|
||||
orderBy?: Array<PersonOrderByWithAggregationInput>;
|
||||
@Field(() => [PersonScalarFieldEnum], { nullable: false })
|
||||
by!: Array<keyof typeof PersonScalarFieldEnum>;
|
||||
|
||||
@Field(() => [PersonScalarFieldEnum], {nullable:false})
|
||||
by!: Array<keyof typeof PersonScalarFieldEnum>;
|
||||
@Field(() => PersonScalarWhereWithAggregatesInput, { nullable: true })
|
||||
having?: PersonScalarWhereWithAggregatesInput;
|
||||
|
||||
@Field(() => PersonScalarWhereWithAggregatesInput, {nullable:true})
|
||||
having?: PersonScalarWhereWithAggregatesInput;
|
||||
@Field(() => Int, { nullable: true })
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
take?: number;
|
||||
@Field(() => Int, { nullable: true })
|
||||
skip?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
skip?: number;
|
||||
@Field(() => PersonCountAggregateInput, { nullable: true })
|
||||
_count?: PersonCountAggregateInput;
|
||||
|
||||
@Field(() => PersonCountAggregateInput, {nullable:true})
|
||||
_count?: PersonCountAggregateInput;
|
||||
@Field(() => PersonMinAggregateInput, { nullable: true })
|
||||
_min?: PersonMinAggregateInput;
|
||||
|
||||
@Field(() => PersonMinAggregateInput, {nullable:true})
|
||||
_min?: PersonMinAggregateInput;
|
||||
|
||||
@Field(() => PersonMaxAggregateInput, {nullable:true})
|
||||
_max?: PersonMaxAggregateInput;
|
||||
@Field(() => PersonMaxAggregateInput, { nullable: true })
|
||||
_max?: PersonMaxAggregateInput;
|
||||
}
|
||||
|
||||
@ -6,46 +6,45 @@ import { PersonMaxAggregate } from './person-max-aggregate.output';
|
||||
|
||||
@ObjectType()
|
||||
export class PersonGroupBy {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
id!: string;
|
||||
@Field(() => Date, { nullable: false })
|
||||
createdAt!: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:false})
|
||||
createdAt!: Date | string;
|
||||
@Field(() => Date, { nullable: false })
|
||||
updatedAt!: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:false})
|
||||
updatedAt!: Date | string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
@Field(() => String, { nullable: false })
|
||||
firstname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
firstname!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
lastname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
lastname!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
phone!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
phone!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
city!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
city!: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
companyId?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
companyId?: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
workspaceId!: string;
|
||||
@Field(() => PersonCountAggregate, { nullable: true })
|
||||
_count?: PersonCountAggregate;
|
||||
|
||||
@Field(() => PersonCountAggregate, {nullable:true})
|
||||
_count?: PersonCountAggregate;
|
||||
@Field(() => PersonMinAggregate, { nullable: true })
|
||||
_min?: PersonMinAggregate;
|
||||
|
||||
@Field(() => PersonMinAggregate, {nullable:true})
|
||||
_min?: PersonMinAggregate;
|
||||
|
||||
@Field(() => PersonMaxAggregate, {nullable:true})
|
||||
_max?: PersonMaxAggregate;
|
||||
@Field(() => PersonMaxAggregate, { nullable: true })
|
||||
_max?: PersonMaxAggregate;
|
||||
}
|
||||
|
||||
@ -4,13 +4,12 @@ import { PersonWhereInput } from './person-where.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonListRelationFilter {
|
||||
@Field(() => PersonWhereInput, { nullable: true })
|
||||
every?: PersonWhereInput;
|
||||
|
||||
@Field(() => PersonWhereInput, {nullable:true})
|
||||
every?: PersonWhereInput;
|
||||
@Field(() => PersonWhereInput, { nullable: true })
|
||||
some?: PersonWhereInput;
|
||||
|
||||
@Field(() => PersonWhereInput, {nullable:true})
|
||||
some?: PersonWhereInput;
|
||||
|
||||
@Field(() => PersonWhereInput, {nullable:true})
|
||||
none?: PersonWhereInput;
|
||||
@Field(() => PersonWhereInput, { nullable: true })
|
||||
none?: PersonWhereInput;
|
||||
}
|
||||
|
||||
@ -4,37 +4,36 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonMaxAggregateInput {
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
id?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
id?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
createdAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
createdAt?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
updatedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
updatedAt?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
deletedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
deletedAt?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
firstname?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
firstname?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
lastname?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
lastname?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
email?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
email?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
phone?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
phone?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
city?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
city?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
companyId?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
companyId?: true;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: true;
|
||||
@HideField()
|
||||
workspaceId?: true;
|
||||
}
|
||||
|
||||
@ -3,37 +3,36 @@ import { ObjectType } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class PersonMaxAggregate {
|
||||
@Field(() => String, { nullable: true })
|
||||
id?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
id?: string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
@Field(() => String, { nullable: true })
|
||||
firstname?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
firstname?: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
lastname?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
lastname?: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
email?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
email?: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
phone?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
phone?: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
city?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
city?: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
companyId?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
companyId?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
workspaceId?: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
workspaceId?: string;
|
||||
}
|
||||
|
||||
@ -5,37 +5,36 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonMaxOrderByAggregateInput {
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
firstname?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
firstname?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
lastname?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
lastname?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
email?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
email?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
phone?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
phone?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
city?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
city?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
companyId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
companyId?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: keyof typeof SortOrder;
|
||||
@HideField()
|
||||
workspaceId?: keyof typeof SortOrder;
|
||||
}
|
||||
|
||||
@ -4,37 +4,36 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonMinAggregateInput {
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
id?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
id?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
createdAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
createdAt?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
updatedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
updatedAt?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
deletedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
deletedAt?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
firstname?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
firstname?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
lastname?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
lastname?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
email?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
email?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
phone?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
phone?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
city?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
city?: true;
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
companyId?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
companyId?: true;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: true;
|
||||
@HideField()
|
||||
workspaceId?: true;
|
||||
}
|
||||
|
||||
@ -3,37 +3,36 @@ import { ObjectType } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class PersonMinAggregate {
|
||||
@Field(() => String, { nullable: true })
|
||||
id?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
id?: string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
@Field(() => String, { nullable: true })
|
||||
firstname?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
firstname?: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
lastname?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
lastname?: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
email?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
email?: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
phone?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
phone?: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
city?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
city?: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
companyId?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
companyId?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
workspaceId?: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
workspaceId?: string;
|
||||
}
|
||||
|
||||
@ -5,37 +5,36 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonMinOrderByAggregateInput {
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
firstname?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
firstname?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
lastname?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
lastname?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
email?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
email?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
phone?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
phone?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
city?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
city?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
companyId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
companyId?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: keyof typeof SortOrder;
|
||||
@HideField()
|
||||
workspaceId?: keyof typeof SortOrder;
|
||||
}
|
||||
|
||||
@ -4,7 +4,6 @@ import { SortOrder } from '../prisma/sort-order.enum';
|
||||
|
||||
@InputType()
|
||||
export class PersonOrderByRelationAggregateInput {
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
_count?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
_count?: keyof typeof SortOrder;
|
||||
}
|
||||
|
||||
@ -8,46 +8,45 @@ import { PersonMinOrderByAggregateInput } from './person-min-order-by-aggregate.
|
||||
|
||||
@InputType()
|
||||
export class PersonOrderByWithAggregationInput {
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
firstname?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
firstname?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
lastname?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
lastname?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
email?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
email?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
phone?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
phone?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
city?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
city?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
companyId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
companyId?: keyof typeof SortOrder;
|
||||
@HideField()
|
||||
workspaceId?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: keyof typeof SortOrder;
|
||||
@Field(() => PersonCountOrderByAggregateInput, { nullable: true })
|
||||
_count?: PersonCountOrderByAggregateInput;
|
||||
|
||||
@Field(() => PersonCountOrderByAggregateInput, {nullable:true})
|
||||
_count?: PersonCountOrderByAggregateInput;
|
||||
@Field(() => PersonMaxOrderByAggregateInput, { nullable: true })
|
||||
_max?: PersonMaxOrderByAggregateInput;
|
||||
|
||||
@Field(() => PersonMaxOrderByAggregateInput, {nullable:true})
|
||||
_max?: PersonMaxOrderByAggregateInput;
|
||||
|
||||
@Field(() => PersonMinOrderByAggregateInput, {nullable:true})
|
||||
_min?: PersonMinOrderByAggregateInput;
|
||||
@Field(() => PersonMinOrderByAggregateInput, { nullable: true })
|
||||
_min?: PersonMinOrderByAggregateInput;
|
||||
}
|
||||
|
||||
@ -7,43 +7,42 @@ import { WorkspaceOrderByWithRelationInput } from '../workspace/workspace-order-
|
||||
|
||||
@InputType()
|
||||
export class PersonOrderByWithRelationInput {
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
firstname?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
firstname?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
lastname?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
lastname?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
email?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
email?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
phone?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
phone?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
city?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
city?: keyof typeof SortOrder;
|
||||
@Field(() => SortOrder, { nullable: true })
|
||||
companyId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
companyId?: keyof typeof SortOrder;
|
||||
@HideField()
|
||||
workspaceId?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: keyof typeof SortOrder;
|
||||
@Field(() => CompanyOrderByWithRelationInput, { nullable: true })
|
||||
company?: CompanyOrderByWithRelationInput;
|
||||
|
||||
@Field(() => CompanyOrderByWithRelationInput, {nullable:true})
|
||||
company?: CompanyOrderByWithRelationInput;
|
||||
|
||||
@HideField()
|
||||
workspace?: WorkspaceOrderByWithRelationInput;
|
||||
@HideField()
|
||||
workspace?: WorkspaceOrderByWithRelationInput;
|
||||
}
|
||||
|
||||
@ -1,18 +1,20 @@
|
||||
import { registerEnumType } from '@nestjs/graphql';
|
||||
|
||||
export enum PersonScalarFieldEnum {
|
||||
id = "id",
|
||||
createdAt = "createdAt",
|
||||
updatedAt = "updatedAt",
|
||||
deletedAt = "deletedAt",
|
||||
firstname = "firstname",
|
||||
lastname = "lastname",
|
||||
email = "email",
|
||||
phone = "phone",
|
||||
city = "city",
|
||||
companyId = "companyId",
|
||||
workspaceId = "workspaceId"
|
||||
id = 'id',
|
||||
createdAt = 'createdAt',
|
||||
updatedAt = 'updatedAt',
|
||||
deletedAt = 'deletedAt',
|
||||
firstname = 'firstname',
|
||||
lastname = 'lastname',
|
||||
email = 'email',
|
||||
phone = 'phone',
|
||||
city = 'city',
|
||||
companyId = 'companyId',
|
||||
workspaceId = 'workspaceId',
|
||||
}
|
||||
|
||||
|
||||
registerEnumType(PersonScalarFieldEnum, { name: 'PersonScalarFieldEnum', description: undefined })
|
||||
registerEnumType(PersonScalarFieldEnum, {
|
||||
name: 'PersonScalarFieldEnum',
|
||||
description: undefined,
|
||||
});
|
||||
|
||||
@ -8,46 +8,45 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonScalarWhereWithAggregatesInput {
|
||||
@Field(() => [PersonScalarWhereWithAggregatesInput], { nullable: true })
|
||||
AND?: Array<PersonScalarWhereWithAggregatesInput>;
|
||||
|
||||
@Field(() => [PersonScalarWhereWithAggregatesInput], {nullable:true})
|
||||
AND?: Array<PersonScalarWhereWithAggregatesInput>;
|
||||
@Field(() => [PersonScalarWhereWithAggregatesInput], { nullable: true })
|
||||
OR?: Array<PersonScalarWhereWithAggregatesInput>;
|
||||
|
||||
@Field(() => [PersonScalarWhereWithAggregatesInput], {nullable:true})
|
||||
OR?: Array<PersonScalarWhereWithAggregatesInput>;
|
||||
@Field(() => [PersonScalarWhereWithAggregatesInput], { nullable: true })
|
||||
NOT?: Array<PersonScalarWhereWithAggregatesInput>;
|
||||
|
||||
@Field(() => [PersonScalarWhereWithAggregatesInput], {nullable:true})
|
||||
NOT?: Array<PersonScalarWhereWithAggregatesInput>;
|
||||
@Field(() => StringWithAggregatesFilter, { nullable: true })
|
||||
id?: StringWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
||||
id?: StringWithAggregatesFilter;
|
||||
@Field(() => DateTimeWithAggregatesFilter, { nullable: true })
|
||||
createdAt?: DateTimeWithAggregatesFilter;
|
||||
|
||||
@Field(() => DateTimeWithAggregatesFilter, {nullable:true})
|
||||
createdAt?: DateTimeWithAggregatesFilter;
|
||||
@Field(() => DateTimeWithAggregatesFilter, { nullable: true })
|
||||
updatedAt?: DateTimeWithAggregatesFilter;
|
||||
|
||||
@Field(() => DateTimeWithAggregatesFilter, {nullable:true})
|
||||
updatedAt?: DateTimeWithAggregatesFilter;
|
||||
@Field(() => DateTimeNullableWithAggregatesFilter, { nullable: true })
|
||||
deletedAt?: DateTimeNullableWithAggregatesFilter;
|
||||
|
||||
@Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true})
|
||||
deletedAt?: DateTimeNullableWithAggregatesFilter;
|
||||
@Field(() => StringWithAggregatesFilter, { nullable: true })
|
||||
firstname?: StringWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
||||
firstname?: StringWithAggregatesFilter;
|
||||
@Field(() => StringWithAggregatesFilter, { nullable: true })
|
||||
lastname?: StringWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
||||
lastname?: StringWithAggregatesFilter;
|
||||
@Field(() => StringWithAggregatesFilter, { nullable: true })
|
||||
email?: StringWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
||||
email?: StringWithAggregatesFilter;
|
||||
@Field(() => StringWithAggregatesFilter, { nullable: true })
|
||||
phone?: StringWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
||||
phone?: StringWithAggregatesFilter;
|
||||
@Field(() => StringWithAggregatesFilter, { nullable: true })
|
||||
city?: StringWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
||||
city?: StringWithAggregatesFilter;
|
||||
@Field(() => StringNullableWithAggregatesFilter, { nullable: true })
|
||||
companyId?: StringNullableWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringNullableWithAggregatesFilter, {nullable:true})
|
||||
companyId?: StringNullableWithAggregatesFilter;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringWithAggregatesFilter;
|
||||
@HideField()
|
||||
workspaceId?: StringWithAggregatesFilter;
|
||||
}
|
||||
|
||||
@ -8,46 +8,45 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonScalarWhereInput {
|
||||
@Field(() => [PersonScalarWhereInput], { nullable: true })
|
||||
AND?: Array<PersonScalarWhereInput>;
|
||||
|
||||
@Field(() => [PersonScalarWhereInput], {nullable:true})
|
||||
AND?: Array<PersonScalarWhereInput>;
|
||||
@Field(() => [PersonScalarWhereInput], { nullable: true })
|
||||
OR?: Array<PersonScalarWhereInput>;
|
||||
|
||||
@Field(() => [PersonScalarWhereInput], {nullable:true})
|
||||
OR?: Array<PersonScalarWhereInput>;
|
||||
@Field(() => [PersonScalarWhereInput], { nullable: true })
|
||||
NOT?: Array<PersonScalarWhereInput>;
|
||||
|
||||
@Field(() => [PersonScalarWhereInput], {nullable:true})
|
||||
NOT?: Array<PersonScalarWhereInput>;
|
||||
@Field(() => StringFilter, { nullable: true })
|
||||
id?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
id?: StringFilter;
|
||||
@Field(() => DateTimeFilter, { nullable: true })
|
||||
createdAt?: DateTimeFilter;
|
||||
|
||||
@Field(() => DateTimeFilter, {nullable:true})
|
||||
createdAt?: DateTimeFilter;
|
||||
@Field(() => DateTimeFilter, { nullable: true })
|
||||
updatedAt?: DateTimeFilter;
|
||||
|
||||
@Field(() => DateTimeFilter, {nullable:true})
|
||||
updatedAt?: DateTimeFilter;
|
||||
@Field(() => DateTimeNullableFilter, { nullable: true })
|
||||
deletedAt?: DateTimeNullableFilter;
|
||||
|
||||
@Field(() => DateTimeNullableFilter, {nullable:true})
|
||||
deletedAt?: DateTimeNullableFilter;
|
||||
@Field(() => StringFilter, { nullable: true })
|
||||
firstname?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
firstname?: StringFilter;
|
||||
@Field(() => StringFilter, { nullable: true })
|
||||
lastname?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
lastname?: StringFilter;
|
||||
@Field(() => StringFilter, { nullable: true })
|
||||
email?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
email?: StringFilter;
|
||||
@Field(() => StringFilter, { nullable: true })
|
||||
phone?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
phone?: StringFilter;
|
||||
@Field(() => StringFilter, { nullable: true })
|
||||
city?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
city?: StringFilter;
|
||||
@Field(() => StringNullableFilter, { nullable: true })
|
||||
companyId?: StringNullableFilter;
|
||||
|
||||
@Field(() => StringNullableFilter, {nullable:true})
|
||||
companyId?: StringNullableFilter;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringFilter;
|
||||
@HideField()
|
||||
workspaceId?: StringFilter;
|
||||
}
|
||||
|
||||
@ -8,20 +8,19 @@ import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedCreateNestedManyWithoutCompanyInput {
|
||||
@Field(() => [PersonCreateWithoutCompanyInput], { nullable: true })
|
||||
@Type(() => PersonCreateWithoutCompanyInput)
|
||||
create?: Array<PersonCreateWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonCreateWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonCreateWithoutCompanyInput)
|
||||
create?: Array<PersonCreateWithoutCompanyInput>;
|
||||
@Field(() => [PersonCreateOrConnectWithoutCompanyInput], { nullable: true })
|
||||
@Type(() => PersonCreateOrConnectWithoutCompanyInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonCreateOrConnectWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonCreateOrConnectWithoutCompanyInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutCompanyInput>;
|
||||
@Field(() => PersonCreateManyCompanyInputEnvelope, { nullable: true })
|
||||
@Type(() => PersonCreateManyCompanyInputEnvelope)
|
||||
createMany?: PersonCreateManyCompanyInputEnvelope;
|
||||
|
||||
@Field(() => PersonCreateManyCompanyInputEnvelope, {nullable:true})
|
||||
@Type(() => PersonCreateManyCompanyInputEnvelope)
|
||||
createMany?: PersonCreateManyCompanyInputEnvelope;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
@Field(() => [PersonWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
}
|
||||
|
||||
@ -8,20 +8,19 @@ import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedCreateNestedManyWithoutWorkspaceInput {
|
||||
@Field(() => [PersonCreateWithoutWorkspaceInput], { nullable: true })
|
||||
@Type(() => PersonCreateWithoutWorkspaceInput)
|
||||
create?: Array<PersonCreateWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonCreateWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonCreateWithoutWorkspaceInput)
|
||||
create?: Array<PersonCreateWithoutWorkspaceInput>;
|
||||
@Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], { nullable: true })
|
||||
@Type(() => PersonCreateOrConnectWithoutWorkspaceInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonCreateOrConnectWithoutWorkspaceInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutWorkspaceInput>;
|
||||
@Field(() => PersonCreateManyWorkspaceInputEnvelope, { nullable: true })
|
||||
@Type(() => PersonCreateManyWorkspaceInputEnvelope)
|
||||
createMany?: PersonCreateManyWorkspaceInputEnvelope;
|
||||
|
||||
@Field(() => PersonCreateManyWorkspaceInputEnvelope, {nullable:true})
|
||||
@Type(() => PersonCreateManyWorkspaceInputEnvelope)
|
||||
createMany?: PersonCreateManyWorkspaceInputEnvelope;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
@Field(() => [PersonWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
}
|
||||
|
||||
@ -4,34 +4,33 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedCreateWithoutCompanyInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
id!: string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
@Field(() => String, { nullable: false })
|
||||
firstname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
firstname!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
lastname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
lastname!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
phone!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
phone!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
city!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
city!: string;
|
||||
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
}
|
||||
|
||||
@ -3,34 +3,33 @@ import { InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedCreateWithoutWorkspaceInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
id!: string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
@Field(() => String, { nullable: false })
|
||||
firstname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
firstname!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
lastname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
lastname!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
phone!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
phone!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
city!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
city!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
companyId?: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
companyId?: string;
|
||||
}
|
||||
|
||||
@ -4,37 +4,36 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedCreateInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
id!: string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
@Field(() => String, { nullable: false })
|
||||
firstname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
firstname!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
lastname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
lastname!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
phone!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
phone!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
city!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
city!: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
companyId?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
companyId?: string;
|
||||
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
}
|
||||
|
||||
@ -12,48 +12,53 @@ import { PersonScalarWhereInput } from './person-scalar-where.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedUpdateManyWithoutCompanyNestedInput {
|
||||
@Field(() => [PersonCreateWithoutCompanyInput], { nullable: true })
|
||||
@Type(() => PersonCreateWithoutCompanyInput)
|
||||
create?: Array<PersonCreateWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonCreateWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonCreateWithoutCompanyInput)
|
||||
create?: Array<PersonCreateWithoutCompanyInput>;
|
||||
@Field(() => [PersonCreateOrConnectWithoutCompanyInput], { nullable: true })
|
||||
@Type(() => PersonCreateOrConnectWithoutCompanyInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonCreateOrConnectWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonCreateOrConnectWithoutCompanyInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutCompanyInput>;
|
||||
@Field(() => [PersonUpsertWithWhereUniqueWithoutCompanyInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PersonUpsertWithWhereUniqueWithoutCompanyInput)
|
||||
upsert?: Array<PersonUpsertWithWhereUniqueWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonUpsertWithWhereUniqueWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonUpsertWithWhereUniqueWithoutCompanyInput)
|
||||
upsert?: Array<PersonUpsertWithWhereUniqueWithoutCompanyInput>;
|
||||
@Field(() => PersonCreateManyCompanyInputEnvelope, { nullable: true })
|
||||
@Type(() => PersonCreateManyCompanyInputEnvelope)
|
||||
createMany?: PersonCreateManyCompanyInputEnvelope;
|
||||
|
||||
@Field(() => PersonCreateManyCompanyInputEnvelope, {nullable:true})
|
||||
@Type(() => PersonCreateManyCompanyInputEnvelope)
|
||||
createMany?: PersonCreateManyCompanyInputEnvelope;
|
||||
@Field(() => [PersonWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
set?: Array<PersonWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
set?: Array<PersonWhereUniqueInput>;
|
||||
@Field(() => [PersonWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
disconnect?: Array<PersonWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
disconnect?: Array<PersonWhereUniqueInput>;
|
||||
@Field(() => [PersonWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
delete?: Array<PersonWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
delete?: Array<PersonWhereUniqueInput>;
|
||||
@Field(() => [PersonWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
@Field(() => [PersonUpdateWithWhereUniqueWithoutCompanyInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PersonUpdateWithWhereUniqueWithoutCompanyInput)
|
||||
update?: Array<PersonUpdateWithWhereUniqueWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonUpdateWithWhereUniqueWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonUpdateWithWhereUniqueWithoutCompanyInput)
|
||||
update?: Array<PersonUpdateWithWhereUniqueWithoutCompanyInput>;
|
||||
@Field(() => [PersonUpdateManyWithWhereWithoutCompanyInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PersonUpdateManyWithWhereWithoutCompanyInput)
|
||||
updateMany?: Array<PersonUpdateManyWithWhereWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonUpdateManyWithWhereWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonUpdateManyWithWhereWithoutCompanyInput)
|
||||
updateMany?: Array<PersonUpdateManyWithWhereWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonScalarWhereInput], {nullable:true})
|
||||
@Type(() => PersonScalarWhereInput)
|
||||
deleteMany?: Array<PersonScalarWhereInput>;
|
||||
@Field(() => [PersonScalarWhereInput], { nullable: true })
|
||||
@Type(() => PersonScalarWhereInput)
|
||||
deleteMany?: Array<PersonScalarWhereInput>;
|
||||
}
|
||||
|
||||
@ -7,34 +7,33 @@ import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-str
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedUpdateManyWithoutPeopleInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
companyId?: NullableStringFieldUpdateOperationsInput;
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true })
|
||||
companyId?: NullableStringFieldUpdateOperationsInput;
|
||||
}
|
||||
|
||||
@ -12,48 +12,53 @@ import { PersonScalarWhereInput } from './person-scalar-where.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedUpdateManyWithoutWorkspaceNestedInput {
|
||||
@Field(() => [PersonCreateWithoutWorkspaceInput], { nullable: true })
|
||||
@Type(() => PersonCreateWithoutWorkspaceInput)
|
||||
create?: Array<PersonCreateWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonCreateWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonCreateWithoutWorkspaceInput)
|
||||
create?: Array<PersonCreateWithoutWorkspaceInput>;
|
||||
@Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], { nullable: true })
|
||||
@Type(() => PersonCreateOrConnectWithoutWorkspaceInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonCreateOrConnectWithoutWorkspaceInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutWorkspaceInput>;
|
||||
@Field(() => [PersonUpsertWithWhereUniqueWithoutWorkspaceInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PersonUpsertWithWhereUniqueWithoutWorkspaceInput)
|
||||
upsert?: Array<PersonUpsertWithWhereUniqueWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonUpsertWithWhereUniqueWithoutWorkspaceInput)
|
||||
upsert?: Array<PersonUpsertWithWhereUniqueWithoutWorkspaceInput>;
|
||||
@Field(() => PersonCreateManyWorkspaceInputEnvelope, { nullable: true })
|
||||
@Type(() => PersonCreateManyWorkspaceInputEnvelope)
|
||||
createMany?: PersonCreateManyWorkspaceInputEnvelope;
|
||||
|
||||
@Field(() => PersonCreateManyWorkspaceInputEnvelope, {nullable:true})
|
||||
@Type(() => PersonCreateManyWorkspaceInputEnvelope)
|
||||
createMany?: PersonCreateManyWorkspaceInputEnvelope;
|
||||
@Field(() => [PersonWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
set?: Array<PersonWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
set?: Array<PersonWhereUniqueInput>;
|
||||
@Field(() => [PersonWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
disconnect?: Array<PersonWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
disconnect?: Array<PersonWhereUniqueInput>;
|
||||
@Field(() => [PersonWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
delete?: Array<PersonWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
delete?: Array<PersonWhereUniqueInput>;
|
||||
@Field(() => [PersonWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
@Field(() => [PersonUpdateWithWhereUniqueWithoutWorkspaceInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PersonUpdateWithWhereUniqueWithoutWorkspaceInput)
|
||||
update?: Array<PersonUpdateWithWhereUniqueWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonUpdateWithWhereUniqueWithoutWorkspaceInput)
|
||||
update?: Array<PersonUpdateWithWhereUniqueWithoutWorkspaceInput>;
|
||||
@Field(() => [PersonUpdateManyWithWhereWithoutWorkspaceInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PersonUpdateManyWithWhereWithoutWorkspaceInput)
|
||||
updateMany?: Array<PersonUpdateManyWithWhereWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonUpdateManyWithWhereWithoutWorkspaceInput)
|
||||
updateMany?: Array<PersonUpdateManyWithWhereWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonScalarWhereInput], {nullable:true})
|
||||
@Type(() => PersonScalarWhereInput)
|
||||
deleteMany?: Array<PersonScalarWhereInput>;
|
||||
@Field(() => [PersonScalarWhereInput], { nullable: true })
|
||||
@Type(() => PersonScalarWhereInput)
|
||||
deleteMany?: Array<PersonScalarWhereInput>;
|
||||
}
|
||||
|
||||
@ -8,37 +8,36 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedUpdateManyInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true })
|
||||
companyId?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
companyId?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringFieldUpdateOperationsInput;
|
||||
@HideField()
|
||||
workspaceId?: StringFieldUpdateOperationsInput;
|
||||
}
|
||||
|
||||
@ -7,34 +7,33 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedUpdateWithoutCompanyInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringFieldUpdateOperationsInput;
|
||||
@HideField()
|
||||
workspaceId?: StringFieldUpdateOperationsInput;
|
||||
}
|
||||
|
||||
@ -7,34 +7,33 @@ import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-str
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedUpdateWithoutWorkspaceInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
companyId?: NullableStringFieldUpdateOperationsInput;
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true })
|
||||
companyId?: NullableStringFieldUpdateOperationsInput;
|
||||
}
|
||||
|
||||
@ -8,37 +8,36 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedUpdateInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true })
|
||||
companyId?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
companyId?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringFieldUpdateOperationsInput;
|
||||
@HideField()
|
||||
workspaceId?: StringFieldUpdateOperationsInput;
|
||||
}
|
||||
|
||||
@ -6,31 +6,30 @@ import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-d
|
||||
|
||||
@InputType()
|
||||
export class PersonUpdateManyMutationInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
}
|
||||
|
||||
@ -6,12 +6,11 @@ import { PersonUpdateManyMutationInput } from './person-update-many-mutation.inp
|
||||
|
||||
@InputType()
|
||||
export class PersonUpdateManyWithWhereWithoutCompanyInput {
|
||||
@Field(() => PersonScalarWhereInput, { nullable: false })
|
||||
@Type(() => PersonScalarWhereInput)
|
||||
where!: PersonScalarWhereInput;
|
||||
|
||||
@Field(() => PersonScalarWhereInput, {nullable:false})
|
||||
@Type(() => PersonScalarWhereInput)
|
||||
where!: PersonScalarWhereInput;
|
||||
|
||||
@Field(() => PersonUpdateManyMutationInput, {nullable:false})
|
||||
@Type(() => PersonUpdateManyMutationInput)
|
||||
data!: PersonUpdateManyMutationInput;
|
||||
@Field(() => PersonUpdateManyMutationInput, { nullable: false })
|
||||
@Type(() => PersonUpdateManyMutationInput)
|
||||
data!: PersonUpdateManyMutationInput;
|
||||
}
|
||||
|
||||
@ -6,12 +6,11 @@ import { PersonUpdateManyMutationInput } from './person-update-many-mutation.inp
|
||||
|
||||
@InputType()
|
||||
export class PersonUpdateManyWithWhereWithoutWorkspaceInput {
|
||||
@Field(() => PersonScalarWhereInput, { nullable: false })
|
||||
@Type(() => PersonScalarWhereInput)
|
||||
where!: PersonScalarWhereInput;
|
||||
|
||||
@Field(() => PersonScalarWhereInput, {nullable:false})
|
||||
@Type(() => PersonScalarWhereInput)
|
||||
where!: PersonScalarWhereInput;
|
||||
|
||||
@Field(() => PersonUpdateManyMutationInput, {nullable:false})
|
||||
@Type(() => PersonUpdateManyMutationInput)
|
||||
data!: PersonUpdateManyMutationInput;
|
||||
@Field(() => PersonUpdateManyMutationInput, { nullable: false })
|
||||
@Type(() => PersonUpdateManyMutationInput)
|
||||
data!: PersonUpdateManyMutationInput;
|
||||
}
|
||||
|
||||
@ -12,48 +12,53 @@ import { PersonScalarWhereInput } from './person-scalar-where.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonUpdateManyWithoutCompanyNestedInput {
|
||||
@Field(() => [PersonCreateWithoutCompanyInput], { nullable: true })
|
||||
@Type(() => PersonCreateWithoutCompanyInput)
|
||||
create?: Array<PersonCreateWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonCreateWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonCreateWithoutCompanyInput)
|
||||
create?: Array<PersonCreateWithoutCompanyInput>;
|
||||
@Field(() => [PersonCreateOrConnectWithoutCompanyInput], { nullable: true })
|
||||
@Type(() => PersonCreateOrConnectWithoutCompanyInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonCreateOrConnectWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonCreateOrConnectWithoutCompanyInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutCompanyInput>;
|
||||
@Field(() => [PersonUpsertWithWhereUniqueWithoutCompanyInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PersonUpsertWithWhereUniqueWithoutCompanyInput)
|
||||
upsert?: Array<PersonUpsertWithWhereUniqueWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonUpsertWithWhereUniqueWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonUpsertWithWhereUniqueWithoutCompanyInput)
|
||||
upsert?: Array<PersonUpsertWithWhereUniqueWithoutCompanyInput>;
|
||||
@Field(() => PersonCreateManyCompanyInputEnvelope, { nullable: true })
|
||||
@Type(() => PersonCreateManyCompanyInputEnvelope)
|
||||
createMany?: PersonCreateManyCompanyInputEnvelope;
|
||||
|
||||
@Field(() => PersonCreateManyCompanyInputEnvelope, {nullable:true})
|
||||
@Type(() => PersonCreateManyCompanyInputEnvelope)
|
||||
createMany?: PersonCreateManyCompanyInputEnvelope;
|
||||
@Field(() => [PersonWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
set?: Array<PersonWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
set?: Array<PersonWhereUniqueInput>;
|
||||
@Field(() => [PersonWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
disconnect?: Array<PersonWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
disconnect?: Array<PersonWhereUniqueInput>;
|
||||
@Field(() => [PersonWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
delete?: Array<PersonWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
delete?: Array<PersonWhereUniqueInput>;
|
||||
@Field(() => [PersonWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
@Field(() => [PersonUpdateWithWhereUniqueWithoutCompanyInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PersonUpdateWithWhereUniqueWithoutCompanyInput)
|
||||
update?: Array<PersonUpdateWithWhereUniqueWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonUpdateWithWhereUniqueWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonUpdateWithWhereUniqueWithoutCompanyInput)
|
||||
update?: Array<PersonUpdateWithWhereUniqueWithoutCompanyInput>;
|
||||
@Field(() => [PersonUpdateManyWithWhereWithoutCompanyInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PersonUpdateManyWithWhereWithoutCompanyInput)
|
||||
updateMany?: Array<PersonUpdateManyWithWhereWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonUpdateManyWithWhereWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonUpdateManyWithWhereWithoutCompanyInput)
|
||||
updateMany?: Array<PersonUpdateManyWithWhereWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonScalarWhereInput], {nullable:true})
|
||||
@Type(() => PersonScalarWhereInput)
|
||||
deleteMany?: Array<PersonScalarWhereInput>;
|
||||
@Field(() => [PersonScalarWhereInput], { nullable: true })
|
||||
@Type(() => PersonScalarWhereInput)
|
||||
deleteMany?: Array<PersonScalarWhereInput>;
|
||||
}
|
||||
|
||||
@ -12,48 +12,53 @@ import { PersonScalarWhereInput } from './person-scalar-where.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonUpdateManyWithoutWorkspaceNestedInput {
|
||||
@Field(() => [PersonCreateWithoutWorkspaceInput], { nullable: true })
|
||||
@Type(() => PersonCreateWithoutWorkspaceInput)
|
||||
create?: Array<PersonCreateWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonCreateWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonCreateWithoutWorkspaceInput)
|
||||
create?: Array<PersonCreateWithoutWorkspaceInput>;
|
||||
@Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], { nullable: true })
|
||||
@Type(() => PersonCreateOrConnectWithoutWorkspaceInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonCreateOrConnectWithoutWorkspaceInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutWorkspaceInput>;
|
||||
@Field(() => [PersonUpsertWithWhereUniqueWithoutWorkspaceInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PersonUpsertWithWhereUniqueWithoutWorkspaceInput)
|
||||
upsert?: Array<PersonUpsertWithWhereUniqueWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonUpsertWithWhereUniqueWithoutWorkspaceInput)
|
||||
upsert?: Array<PersonUpsertWithWhereUniqueWithoutWorkspaceInput>;
|
||||
@Field(() => PersonCreateManyWorkspaceInputEnvelope, { nullable: true })
|
||||
@Type(() => PersonCreateManyWorkspaceInputEnvelope)
|
||||
createMany?: PersonCreateManyWorkspaceInputEnvelope;
|
||||
|
||||
@Field(() => PersonCreateManyWorkspaceInputEnvelope, {nullable:true})
|
||||
@Type(() => PersonCreateManyWorkspaceInputEnvelope)
|
||||
createMany?: PersonCreateManyWorkspaceInputEnvelope;
|
||||
@Field(() => [PersonWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
set?: Array<PersonWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
set?: Array<PersonWhereUniqueInput>;
|
||||
@Field(() => [PersonWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
disconnect?: Array<PersonWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
disconnect?: Array<PersonWhereUniqueInput>;
|
||||
@Field(() => [PersonWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
delete?: Array<PersonWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
delete?: Array<PersonWhereUniqueInput>;
|
||||
@Field(() => [PersonWhereUniqueInput], { nullable: true })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
@Field(() => [PersonUpdateWithWhereUniqueWithoutWorkspaceInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PersonUpdateWithWhereUniqueWithoutWorkspaceInput)
|
||||
update?: Array<PersonUpdateWithWhereUniqueWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonUpdateWithWhereUniqueWithoutWorkspaceInput)
|
||||
update?: Array<PersonUpdateWithWhereUniqueWithoutWorkspaceInput>;
|
||||
@Field(() => [PersonUpdateManyWithWhereWithoutWorkspaceInput], {
|
||||
nullable: true,
|
||||
})
|
||||
@Type(() => PersonUpdateManyWithWhereWithoutWorkspaceInput)
|
||||
updateMany?: Array<PersonUpdateManyWithWhereWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonUpdateManyWithWhereWithoutWorkspaceInput)
|
||||
updateMany?: Array<PersonUpdateManyWithWhereWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonScalarWhereInput], {nullable:true})
|
||||
@Type(() => PersonScalarWhereInput)
|
||||
deleteMany?: Array<PersonScalarWhereInput>;
|
||||
@Field(() => [PersonScalarWhereInput], { nullable: true })
|
||||
@Type(() => PersonScalarWhereInput)
|
||||
deleteMany?: Array<PersonScalarWhereInput>;
|
||||
}
|
||||
|
||||
@ -6,12 +6,11 @@ import { PersonUpdateWithoutCompanyInput } from './person-update-without-company
|
||||
|
||||
@InputType()
|
||||
export class PersonUpdateWithWhereUniqueWithoutCompanyInput {
|
||||
@Field(() => PersonWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:false})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => PersonUpdateWithoutCompanyInput, {nullable:false})
|
||||
@Type(() => PersonUpdateWithoutCompanyInput)
|
||||
data!: PersonUpdateWithoutCompanyInput;
|
||||
@Field(() => PersonUpdateWithoutCompanyInput, { nullable: false })
|
||||
@Type(() => PersonUpdateWithoutCompanyInput)
|
||||
data!: PersonUpdateWithoutCompanyInput;
|
||||
}
|
||||
|
||||
@ -6,12 +6,11 @@ import { PersonUpdateWithoutWorkspaceInput } from './person-update-without-works
|
||||
|
||||
@InputType()
|
||||
export class PersonUpdateWithWhereUniqueWithoutWorkspaceInput {
|
||||
@Field(() => PersonWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:false})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => PersonUpdateWithoutWorkspaceInput, {nullable:false})
|
||||
@Type(() => PersonUpdateWithoutWorkspaceInput)
|
||||
data!: PersonUpdateWithoutWorkspaceInput;
|
||||
@Field(() => PersonUpdateWithoutWorkspaceInput, { nullable: false })
|
||||
@Type(() => PersonUpdateWithoutWorkspaceInput)
|
||||
data!: PersonUpdateWithoutWorkspaceInput;
|
||||
}
|
||||
|
||||
@ -8,34 +8,33 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonUpdateWithoutCompanyInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspace?: WorkspaceUpdateOneRequiredWithoutPeopleNestedInput;
|
||||
@HideField()
|
||||
workspace?: WorkspaceUpdateOneRequiredWithoutPeopleNestedInput;
|
||||
}
|
||||
|
||||
@ -7,34 +7,33 @@ import { CompanyUpdateOneWithoutPeopleNestedInput } from '../company/company-upd
|
||||
|
||||
@InputType()
|
||||
export class PersonUpdateWithoutWorkspaceInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => CompanyUpdateOneWithoutPeopleNestedInput, {nullable:true})
|
||||
company?: CompanyUpdateOneWithoutPeopleNestedInput;
|
||||
@Field(() => CompanyUpdateOneWithoutPeopleNestedInput, { nullable: true })
|
||||
company?: CompanyUpdateOneWithoutPeopleNestedInput;
|
||||
}
|
||||
|
||||
@ -9,37 +9,36 @@ import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonUpdateInput {
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
@Field(() => CompanyUpdateOneWithoutPeopleNestedInput, { nullable: true })
|
||||
company?: CompanyUpdateOneWithoutPeopleNestedInput;
|
||||
|
||||
@Field(() => CompanyUpdateOneWithoutPeopleNestedInput, {nullable:true})
|
||||
company?: CompanyUpdateOneWithoutPeopleNestedInput;
|
||||
|
||||
@HideField()
|
||||
workspace?: WorkspaceUpdateOneRequiredWithoutPeopleNestedInput;
|
||||
@HideField()
|
||||
workspace?: WorkspaceUpdateOneRequiredWithoutPeopleNestedInput;
|
||||
}
|
||||
|
||||
@ -7,16 +7,15 @@ import { PersonCreateWithoutCompanyInput } from './person-create-without-company
|
||||
|
||||
@InputType()
|
||||
export class PersonUpsertWithWhereUniqueWithoutCompanyInput {
|
||||
@Field(() => PersonWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:false})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
@Field(() => PersonUpdateWithoutCompanyInput, { nullable: false })
|
||||
@Type(() => PersonUpdateWithoutCompanyInput)
|
||||
update!: PersonUpdateWithoutCompanyInput;
|
||||
|
||||
@Field(() => PersonUpdateWithoutCompanyInput, {nullable:false})
|
||||
@Type(() => PersonUpdateWithoutCompanyInput)
|
||||
update!: PersonUpdateWithoutCompanyInput;
|
||||
|
||||
@Field(() => PersonCreateWithoutCompanyInput, {nullable:false})
|
||||
@Type(() => PersonCreateWithoutCompanyInput)
|
||||
create!: PersonCreateWithoutCompanyInput;
|
||||
@Field(() => PersonCreateWithoutCompanyInput, { nullable: false })
|
||||
@Type(() => PersonCreateWithoutCompanyInput)
|
||||
create!: PersonCreateWithoutCompanyInput;
|
||||
}
|
||||
|
||||
@ -7,16 +7,15 @@ import { PersonCreateWithoutWorkspaceInput } from './person-create-without-works
|
||||
|
||||
@InputType()
|
||||
export class PersonUpsertWithWhereUniqueWithoutWorkspaceInput {
|
||||
@Field(() => PersonWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:false})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
@Field(() => PersonUpdateWithoutWorkspaceInput, { nullable: false })
|
||||
@Type(() => PersonUpdateWithoutWorkspaceInput)
|
||||
update!: PersonUpdateWithoutWorkspaceInput;
|
||||
|
||||
@Field(() => PersonUpdateWithoutWorkspaceInput, {nullable:false})
|
||||
@Type(() => PersonUpdateWithoutWorkspaceInput)
|
||||
update!: PersonUpdateWithoutWorkspaceInput;
|
||||
|
||||
@Field(() => PersonCreateWithoutWorkspaceInput, {nullable:false})
|
||||
@Type(() => PersonCreateWithoutWorkspaceInput)
|
||||
create!: PersonCreateWithoutWorkspaceInput;
|
||||
@Field(() => PersonCreateWithoutWorkspaceInput, { nullable: false })
|
||||
@Type(() => PersonCreateWithoutWorkspaceInput)
|
||||
create!: PersonCreateWithoutWorkspaceInput;
|
||||
}
|
||||
|
||||
@ -3,7 +3,6 @@ import { InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonWhereUniqueInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
id?: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
id?: string;
|
||||
}
|
||||
|
||||
@ -10,52 +10,51 @@ import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter.
|
||||
|
||||
@InputType()
|
||||
export class PersonWhereInput {
|
||||
@Field(() => [PersonWhereInput], { nullable: true })
|
||||
AND?: Array<PersonWhereInput>;
|
||||
|
||||
@Field(() => [PersonWhereInput], {nullable:true})
|
||||
AND?: Array<PersonWhereInput>;
|
||||
@Field(() => [PersonWhereInput], { nullable: true })
|
||||
OR?: Array<PersonWhereInput>;
|
||||
|
||||
@Field(() => [PersonWhereInput], {nullable:true})
|
||||
OR?: Array<PersonWhereInput>;
|
||||
@Field(() => [PersonWhereInput], { nullable: true })
|
||||
NOT?: Array<PersonWhereInput>;
|
||||
|
||||
@Field(() => [PersonWhereInput], {nullable:true})
|
||||
NOT?: Array<PersonWhereInput>;
|
||||
@Field(() => StringFilter, { nullable: true })
|
||||
id?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
id?: StringFilter;
|
||||
@Field(() => DateTimeFilter, { nullable: true })
|
||||
createdAt?: DateTimeFilter;
|
||||
|
||||
@Field(() => DateTimeFilter, {nullable:true})
|
||||
createdAt?: DateTimeFilter;
|
||||
@Field(() => DateTimeFilter, { nullable: true })
|
||||
updatedAt?: DateTimeFilter;
|
||||
|
||||
@Field(() => DateTimeFilter, {nullable:true})
|
||||
updatedAt?: DateTimeFilter;
|
||||
@Field(() => DateTimeNullableFilter, { nullable: true })
|
||||
deletedAt?: DateTimeNullableFilter;
|
||||
|
||||
@Field(() => DateTimeNullableFilter, {nullable:true})
|
||||
deletedAt?: DateTimeNullableFilter;
|
||||
@Field(() => StringFilter, { nullable: true })
|
||||
firstname?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
firstname?: StringFilter;
|
||||
@Field(() => StringFilter, { nullable: true })
|
||||
lastname?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
lastname?: StringFilter;
|
||||
@Field(() => StringFilter, { nullable: true })
|
||||
email?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
email?: StringFilter;
|
||||
@Field(() => StringFilter, { nullable: true })
|
||||
phone?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
phone?: StringFilter;
|
||||
@Field(() => StringFilter, { nullable: true })
|
||||
city?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
city?: StringFilter;
|
||||
@Field(() => StringNullableFilter, { nullable: true })
|
||||
companyId?: StringNullableFilter;
|
||||
|
||||
@Field(() => StringNullableFilter, {nullable:true})
|
||||
companyId?: StringNullableFilter;
|
||||
@HideField()
|
||||
workspaceId?: StringFilter;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringFilter;
|
||||
@Field(() => CompanyRelationFilter, { nullable: true })
|
||||
company?: CompanyRelationFilter;
|
||||
|
||||
@Field(() => CompanyRelationFilter, {nullable:true})
|
||||
company?: CompanyRelationFilter;
|
||||
|
||||
@HideField()
|
||||
workspace?: WorkspaceRelationFilter;
|
||||
@HideField()
|
||||
workspace?: WorkspaceRelationFilter;
|
||||
}
|
||||
|
||||
@ -6,43 +6,42 @@ import { Workspace } from '../workspace/workspace.model';
|
||||
|
||||
@ObjectType()
|
||||
export class Person {
|
||||
@Field(() => ID, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => ID, {nullable:false})
|
||||
id!: string;
|
||||
@Field(() => Date, { nullable: false })
|
||||
createdAt!: Date;
|
||||
|
||||
@Field(() => Date, {nullable:false})
|
||||
createdAt!: Date;
|
||||
@Field(() => Date, { nullable: false })
|
||||
updatedAt!: Date;
|
||||
|
||||
@Field(() => Date, {nullable:false})
|
||||
updatedAt!: Date;
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt!: Date | null;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt!: Date | null;
|
||||
@Field(() => String, { nullable: false })
|
||||
firstname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
firstname!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
lastname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
lastname!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
phone!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
phone!: string;
|
||||
@Field(() => String, { nullable: false })
|
||||
city!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
city!: string;
|
||||
@Field(() => String, { nullable: true })
|
||||
companyId!: string | null;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
companyId!: string | null;
|
||||
@Field(() => String, { nullable: false })
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
workspaceId!: string;
|
||||
@Field(() => Company, { nullable: true })
|
||||
company?: Company | null;
|
||||
|
||||
@Field(() => Company, {nullable:true})
|
||||
company?: Company | null;
|
||||
|
||||
@Field(() => Workspace, {nullable:false})
|
||||
workspace?: Workspace;
|
||||
@Field(() => Workspace, { nullable: false })
|
||||
workspace?: Workspace;
|
||||
}
|
||||
|
||||
@ -6,12 +6,11 @@ import { PersonWhereInput } from './person-where.input';
|
||||
|
||||
@ArgsType()
|
||||
export class UpdateManyPersonArgs {
|
||||
@Field(() => PersonUpdateManyMutationInput, { nullable: false })
|
||||
@Type(() => PersonUpdateManyMutationInput)
|
||||
data!: PersonUpdateManyMutationInput;
|
||||
|
||||
@Field(() => PersonUpdateManyMutationInput, {nullable:false})
|
||||
@Type(() => PersonUpdateManyMutationInput)
|
||||
data!: PersonUpdateManyMutationInput;
|
||||
|
||||
@Field(() => PersonWhereInput, {nullable:true})
|
||||
@Type(() => PersonWhereInput)
|
||||
where?: PersonWhereInput;
|
||||
@Field(() => PersonWhereInput, { nullable: true })
|
||||
@Type(() => PersonWhereInput)
|
||||
where?: PersonWhereInput;
|
||||
}
|
||||
|
||||
@ -6,12 +6,11 @@ import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
|
||||
@ArgsType()
|
||||
export class UpdateOnePersonArgs {
|
||||
@Field(() => PersonUpdateInput, { nullable: false })
|
||||
@Type(() => PersonUpdateInput)
|
||||
data!: PersonUpdateInput;
|
||||
|
||||
@Field(() => PersonUpdateInput, {nullable:false})
|
||||
@Type(() => PersonUpdateInput)
|
||||
data!: PersonUpdateInput;
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:false})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
@Field(() => PersonWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
}
|
||||
|
||||
@ -7,16 +7,15 @@ import { PersonUpdateInput } from './person-update.input';
|
||||
|
||||
@ArgsType()
|
||||
export class UpsertOnePersonArgs {
|
||||
@Field(() => PersonWhereUniqueInput, { nullable: false })
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:false})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
@Field(() => PersonCreateInput, { nullable: false })
|
||||
@Type(() => PersonCreateInput)
|
||||
create!: PersonCreateInput;
|
||||
|
||||
@Field(() => PersonCreateInput, {nullable:false})
|
||||
@Type(() => PersonCreateInput)
|
||||
create!: PersonCreateInput;
|
||||
|
||||
@Field(() => PersonUpdateInput, {nullable:false})
|
||||
@Type(() => PersonUpdateInput)
|
||||
update!: PersonUpdateInput;
|
||||
@Field(() => PersonUpdateInput, { nullable: false })
|
||||
@Type(() => PersonUpdateInput)
|
||||
update!: PersonUpdateInput;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user