Implement scoping on be (#144)
This commit is contained in:
18
server/src/api/@generated/person/aggregate-person.output.ts
Normal file
18
server/src/api/@generated/person/aggregate-person.output.ts
Normal file
@ -0,0 +1,18 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { PersonCountAggregate } from './person-count-aggregate.output';
|
||||
import { PersonMinAggregate } from './person-min-aggregate.output';
|
||||
import { PersonMaxAggregate } from './person-max-aggregate.output';
|
||||
|
||||
@ObjectType()
|
||||
export class AggregatePerson {
|
||||
|
||||
@Field(() => PersonCountAggregate, {nullable:true})
|
||||
_count?: PersonCountAggregate;
|
||||
|
||||
@Field(() => PersonMinAggregate, {nullable:true})
|
||||
_min?: PersonMinAggregate;
|
||||
|
||||
@Field(() => PersonMaxAggregate, {nullable:true})
|
||||
_max?: PersonMaxAggregate;
|
||||
}
|
||||
15
server/src/api/@generated/person/create-many-person.args.ts
Normal file
15
server/src/api/@generated/person/create-many-person.args.ts
Normal file
@ -0,0 +1,15 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PersonCreateManyInput } from './person-create-many.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class CreateManyPersonArgs {
|
||||
|
||||
@Field(() => [PersonCreateManyInput], {nullable:false})
|
||||
@Type(() => PersonCreateManyInput)
|
||||
data!: Array<PersonCreateManyInput>;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
skipDuplicates?: boolean;
|
||||
}
|
||||
12
server/src/api/@generated/person/create-one-person.args.ts
Normal file
12
server/src/api/@generated/person/create-one-person.args.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PersonCreateInput } from './person-create.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class CreateOnePersonArgs {
|
||||
|
||||
@Field(() => PersonCreateInput, {nullable:false})
|
||||
@Type(() => PersonCreateInput)
|
||||
data!: PersonCreateInput;
|
||||
}
|
||||
12
server/src/api/@generated/person/delete-many-person.args.ts
Normal file
12
server/src/api/@generated/person/delete-many-person.args.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PersonWhereInput } from './person-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class DeleteManyPersonArgs {
|
||||
|
||||
@Field(() => PersonWhereInput, {nullable:true})
|
||||
@Type(() => PersonWhereInput)
|
||||
where?: PersonWhereInput;
|
||||
}
|
||||
12
server/src/api/@generated/person/delete-one-person.args.ts
Normal file
12
server/src/api/@generated/person/delete-one-person.args.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class DeleteOnePersonArgs {
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:false})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
}
|
||||
@ -0,0 +1,31 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PersonWhereInput } from './person-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonOrderByWithRelationInput } from './person-order-by-with-relation.input';
|
||||
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PersonScalarFieldEnum } from './person-scalar-field.enum';
|
||||
|
||||
@ArgsType()
|
||||
export class FindFirstPersonOrThrowArgs {
|
||||
|
||||
@Field(() => PersonWhereInput, {nullable:true})
|
||||
@Type(() => PersonWhereInput)
|
||||
where?: PersonWhereInput;
|
||||
|
||||
@Field(() => [PersonOrderByWithRelationInput], {nullable:true})
|
||||
orderBy?: Array<PersonOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:true})
|
||||
cursor?: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
skip?: number;
|
||||
|
||||
@Field(() => [PersonScalarFieldEnum], {nullable:true})
|
||||
distinct?: Array<keyof typeof PersonScalarFieldEnum>;
|
||||
}
|
||||
31
server/src/api/@generated/person/find-first-person.args.ts
Normal file
31
server/src/api/@generated/person/find-first-person.args.ts
Normal file
@ -0,0 +1,31 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PersonWhereInput } from './person-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonOrderByWithRelationInput } from './person-order-by-with-relation.input';
|
||||
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PersonScalarFieldEnum } from './person-scalar-field.enum';
|
||||
|
||||
@ArgsType()
|
||||
export class FindFirstPersonArgs {
|
||||
|
||||
@Field(() => PersonWhereInput, {nullable:true})
|
||||
@Type(() => PersonWhereInput)
|
||||
where?: PersonWhereInput;
|
||||
|
||||
@Field(() => [PersonOrderByWithRelationInput], {nullable:true})
|
||||
orderBy?: Array<PersonOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:true})
|
||||
cursor?: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
skip?: number;
|
||||
|
||||
@Field(() => [PersonScalarFieldEnum], {nullable:true})
|
||||
distinct?: Array<keyof typeof PersonScalarFieldEnum>;
|
||||
}
|
||||
31
server/src/api/@generated/person/find-many-person.args.ts
Normal file
31
server/src/api/@generated/person/find-many-person.args.ts
Normal file
@ -0,0 +1,31 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PersonWhereInput } from './person-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonOrderByWithRelationInput } from './person-order-by-with-relation.input';
|
||||
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PersonScalarFieldEnum } from './person-scalar-field.enum';
|
||||
|
||||
@ArgsType()
|
||||
export class FindManyPersonArgs {
|
||||
|
||||
@Field(() => PersonWhereInput, {nullable:true})
|
||||
@Type(() => PersonWhereInput)
|
||||
where?: PersonWhereInput;
|
||||
|
||||
@Field(() => [PersonOrderByWithRelationInput], {nullable:true})
|
||||
orderBy?: Array<PersonOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:true})
|
||||
cursor?: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
skip?: number;
|
||||
|
||||
@Field(() => [PersonScalarFieldEnum], {nullable:true})
|
||||
distinct?: Array<keyof typeof PersonScalarFieldEnum>;
|
||||
}
|
||||
@ -0,0 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class FindUniquePersonOrThrowArgs {
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:false})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
}
|
||||
12
server/src/api/@generated/person/find-unique-person.args.ts
Normal file
12
server/src/api/@generated/person/find-unique-person.args.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class FindUniquePersonArgs {
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:false})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
}
|
||||
39
server/src/api/@generated/person/person-aggregate.args.ts
Normal file
39
server/src/api/@generated/person/person-aggregate.args.ts
Normal file
@ -0,0 +1,39 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PersonWhereInput } from './person-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonOrderByWithRelationInput } from './person-order-by-with-relation.input';
|
||||
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PersonCountAggregateInput } from './person-count-aggregate.input';
|
||||
import { PersonMinAggregateInput } from './person-min-aggregate.input';
|
||||
import { PersonMaxAggregateInput } from './person-max-aggregate.input';
|
||||
|
||||
@ArgsType()
|
||||
export class PersonAggregateArgs {
|
||||
|
||||
@Field(() => PersonWhereInput, {nullable:true})
|
||||
@Type(() => PersonWhereInput)
|
||||
where?: PersonWhereInput;
|
||||
|
||||
@Field(() => [PersonOrderByWithRelationInput], {nullable:true})
|
||||
orderBy?: Array<PersonOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:true})
|
||||
cursor?: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
skip?: number;
|
||||
|
||||
@Field(() => PersonCountAggregateInput, {nullable:true})
|
||||
_count?: PersonCountAggregateInput;
|
||||
|
||||
@Field(() => PersonMinAggregateInput, {nullable:true})
|
||||
_min?: PersonMinAggregateInput;
|
||||
|
||||
@Field(() => PersonMaxAggregateInput, {nullable:true})
|
||||
_max?: PersonMaxAggregateInput;
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonCountAggregateInput {
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
id?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
createdAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
updatedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
deletedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
firstname?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
lastname?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
email?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
phone?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
city?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
companyId?: true;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
_all?: true;
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class PersonCountAggregate {
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
id!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
createdAt!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
updatedAt!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
deletedAt!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
firstname!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
lastname!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
email!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
phone!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
city!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
companyId!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
workspaceId!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
_all!: number;
|
||||
}
|
||||
@ -0,0 +1,41 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonCountOrderByAggregateInput {
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
firstname?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
lastname?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
email?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
phone?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
city?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
companyId?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: keyof typeof SortOrder;
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PersonCreateManyCompanyInput } from './person-create-many-company.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@InputType()
|
||||
export class PersonCreateManyCompanyInputEnvelope {
|
||||
|
||||
@Field(() => [PersonCreateManyCompanyInput], {nullable:false})
|
||||
@Type(() => PersonCreateManyCompanyInput)
|
||||
data!: Array<PersonCreateManyCompanyInput>;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
skipDuplicates?: boolean;
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonCreateManyCompanyInput {
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
firstname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
lastname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
phone!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
city!: string;
|
||||
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PersonCreateManyWorkspaceInput } from './person-create-many-workspace.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@InputType()
|
||||
export class PersonCreateManyWorkspaceInputEnvelope {
|
||||
|
||||
@Field(() => [PersonCreateManyWorkspaceInput], {nullable:false})
|
||||
@Type(() => PersonCreateManyWorkspaceInput)
|
||||
data!: Array<PersonCreateManyWorkspaceInput>;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
skipDuplicates?: boolean;
|
||||
}
|
||||
@ -0,0 +1,36 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonCreateManyWorkspaceInput {
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
firstname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
lastname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
phone!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
city!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
companyId?: string;
|
||||
}
|
||||
40
server/src/api/@generated/person/person-create-many.input.ts
Normal file
40
server/src/api/@generated/person/person-create-many.input.ts
Normal file
@ -0,0 +1,40 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonCreateManyInput {
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
firstname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
lastname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
phone!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
city!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
companyId?: string;
|
||||
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
}
|
||||
@ -0,0 +1,27 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PersonCreateWithoutCompanyInput } from './person-create-without-company.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonCreateOrConnectWithoutCompanyInput } from './person-create-or-connect-without-company.input';
|
||||
import { PersonCreateManyCompanyInputEnvelope } from './person-create-many-company-input-envelope.input';
|
||||
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonCreateNestedManyWithoutCompanyInput {
|
||||
|
||||
@Field(() => [PersonCreateWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonCreateWithoutCompanyInput)
|
||||
create?: Array<PersonCreateWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonCreateOrConnectWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonCreateOrConnectWithoutCompanyInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutCompanyInput>;
|
||||
|
||||
@Field(() => PersonCreateManyCompanyInputEnvelope, {nullable:true})
|
||||
@Type(() => PersonCreateManyCompanyInputEnvelope)
|
||||
createMany?: PersonCreateManyCompanyInputEnvelope;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
}
|
||||
@ -0,0 +1,27 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PersonCreateWithoutWorkspaceInput } from './person-create-without-workspace.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonCreateOrConnectWithoutWorkspaceInput } from './person-create-or-connect-without-workspace.input';
|
||||
import { PersonCreateManyWorkspaceInputEnvelope } from './person-create-many-workspace-input-envelope.input';
|
||||
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonCreateNestedManyWithoutWorkspaceInput {
|
||||
|
||||
@Field(() => [PersonCreateWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonCreateWithoutWorkspaceInput)
|
||||
create?: Array<PersonCreateWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonCreateOrConnectWithoutWorkspaceInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => PersonCreateManyWorkspaceInputEnvelope, {nullable:true})
|
||||
@Type(() => PersonCreateManyWorkspaceInputEnvelope)
|
||||
createMany?: PersonCreateManyWorkspaceInputEnvelope;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonCreateWithoutCompanyInput } from './person-create-without-company.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonCreateOrConnectWithoutCompanyInput {
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:false})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => PersonCreateWithoutCompanyInput, {nullable:false})
|
||||
@Type(() => PersonCreateWithoutCompanyInput)
|
||||
create!: PersonCreateWithoutCompanyInput;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonCreateWithoutWorkspaceInput } from './person-create-without-workspace.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonCreateOrConnectWithoutWorkspaceInput {
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:false})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => PersonCreateWithoutWorkspaceInput, {nullable:false})
|
||||
@Type(() => PersonCreateWithoutWorkspaceInput)
|
||||
create!: PersonCreateWithoutWorkspaceInput;
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { WorkspaceCreateNestedOneWithoutPeopleInput } from '../workspace/workspace-create-nested-one-without-people.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonCreateWithoutCompanyInput {
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
firstname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
lastname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
phone!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
city!: string;
|
||||
|
||||
@HideField()
|
||||
workspace!: WorkspaceCreateNestedOneWithoutPeopleInput;
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyCreateNestedOneWithoutPeopleInput } from '../company/company-create-nested-one-without-people.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonCreateWithoutWorkspaceInput {
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
firstname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
lastname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
phone!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
city!: string;
|
||||
|
||||
@Field(() => CompanyCreateNestedOneWithoutPeopleInput, {nullable:true})
|
||||
company?: CompanyCreateNestedOneWithoutPeopleInput;
|
||||
}
|
||||
42
server/src/api/@generated/person/person-create.input.ts
Normal file
42
server/src/api/@generated/person/person-create.input.ts
Normal file
@ -0,0 +1,42 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyCreateNestedOneWithoutPeopleInput } from '../company/company-create-nested-one-without-people.input';
|
||||
import { WorkspaceCreateNestedOneWithoutPeopleInput } from '../workspace/workspace-create-nested-one-without-people.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonCreateInput {
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
firstname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
lastname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
phone!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
city!: string;
|
||||
|
||||
@Field(() => CompanyCreateNestedOneWithoutPeopleInput, {nullable:true})
|
||||
company?: CompanyCreateNestedOneWithoutPeopleInput;
|
||||
|
||||
@HideField()
|
||||
workspace!: WorkspaceCreateNestedOneWithoutPeopleInput;
|
||||
}
|
||||
43
server/src/api/@generated/person/person-group-by.args.ts
Normal file
43
server/src/api/@generated/person/person-group-by.args.ts
Normal file
@ -0,0 +1,43 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PersonWhereInput } from './person-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonOrderByWithAggregationInput } from './person-order-by-with-aggregation.input';
|
||||
import { PersonScalarFieldEnum } from './person-scalar-field.enum';
|
||||
import { PersonScalarWhereWithAggregatesInput } from './person-scalar-where-with-aggregates.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PersonCountAggregateInput } from './person-count-aggregate.input';
|
||||
import { PersonMinAggregateInput } from './person-min-aggregate.input';
|
||||
import { PersonMaxAggregateInput } from './person-max-aggregate.input';
|
||||
|
||||
@ArgsType()
|
||||
export class PersonGroupByArgs {
|
||||
|
||||
@Field(() => PersonWhereInput, {nullable:true})
|
||||
@Type(() => PersonWhereInput)
|
||||
where?: PersonWhereInput;
|
||||
|
||||
@Field(() => [PersonOrderByWithAggregationInput], {nullable:true})
|
||||
orderBy?: Array<PersonOrderByWithAggregationInput>;
|
||||
|
||||
@Field(() => [PersonScalarFieldEnum], {nullable:false})
|
||||
by!: Array<keyof typeof PersonScalarFieldEnum>;
|
||||
|
||||
@Field(() => PersonScalarWhereWithAggregatesInput, {nullable:true})
|
||||
having?: PersonScalarWhereWithAggregatesInput;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
skip?: number;
|
||||
|
||||
@Field(() => PersonCountAggregateInput, {nullable:true})
|
||||
_count?: PersonCountAggregateInput;
|
||||
|
||||
@Field(() => PersonMinAggregateInput, {nullable:true})
|
||||
_min?: PersonMinAggregateInput;
|
||||
|
||||
@Field(() => PersonMaxAggregateInput, {nullable:true})
|
||||
_max?: PersonMaxAggregateInput;
|
||||
}
|
||||
51
server/src/api/@generated/person/person-group-by.output.ts
Normal file
51
server/src/api/@generated/person/person-group-by.output.ts
Normal file
@ -0,0 +1,51 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { PersonCountAggregate } from './person-count-aggregate.output';
|
||||
import { PersonMinAggregate } from './person-min-aggregate.output';
|
||||
import { PersonMaxAggregate } from './person-max-aggregate.output';
|
||||
|
||||
@ObjectType()
|
||||
export class PersonGroupBy {
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, {nullable:false})
|
||||
createdAt!: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:false})
|
||||
updatedAt!: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
firstname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
lastname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
phone!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
city!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
companyId?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => PersonCountAggregate, {nullable:true})
|
||||
_count?: PersonCountAggregate;
|
||||
|
||||
@Field(() => PersonMinAggregate, {nullable:true})
|
||||
_min?: PersonMinAggregate;
|
||||
|
||||
@Field(() => PersonMaxAggregate, {nullable:true})
|
||||
_max?: PersonMaxAggregate;
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PersonWhereInput } from './person-where.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonListRelationFilter {
|
||||
|
||||
@Field(() => PersonWhereInput, {nullable:true})
|
||||
every?: PersonWhereInput;
|
||||
|
||||
@Field(() => PersonWhereInput, {nullable:true})
|
||||
some?: PersonWhereInput;
|
||||
|
||||
@Field(() => PersonWhereInput, {nullable:true})
|
||||
none?: PersonWhereInput;
|
||||
}
|
||||
@ -0,0 +1,40 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonMaxAggregateInput {
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
id?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
createdAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
updatedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
deletedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
firstname?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
lastname?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
email?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
phone?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
city?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
companyId?: true;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: true;
|
||||
}
|
||||
@ -0,0 +1,39 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class PersonMaxAggregate {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
firstname?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
lastname?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
email?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
phone?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
city?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
companyId?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
workspaceId?: string;
|
||||
}
|
||||
@ -0,0 +1,41 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonMaxOrderByAggregateInput {
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
firstname?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
lastname?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
email?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
phone?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
city?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
companyId?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: keyof typeof SortOrder;
|
||||
}
|
||||
@ -0,0 +1,40 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonMinAggregateInput {
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
id?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
createdAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
updatedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
deletedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
firstname?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
lastname?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
email?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
phone?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
city?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
companyId?: true;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: true;
|
||||
}
|
||||
@ -0,0 +1,39 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class PersonMinAggregate {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
id?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
firstname?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
lastname?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
email?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
phone?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
city?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
companyId?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
workspaceId?: string;
|
||||
}
|
||||
@ -0,0 +1,41 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonMinOrderByAggregateInput {
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
firstname?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
lastname?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
email?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
phone?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
city?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
companyId?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: keyof typeof SortOrder;
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
|
||||
@InputType()
|
||||
export class PersonOrderByRelationAggregateInput {
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
_count?: keyof typeof SortOrder;
|
||||
}
|
||||
@ -0,0 +1,53 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { PersonCountOrderByAggregateInput } from './person-count-order-by-aggregate.input';
|
||||
import { PersonMaxOrderByAggregateInput } from './person-max-order-by-aggregate.input';
|
||||
import { PersonMinOrderByAggregateInput } from './person-min-order-by-aggregate.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonOrderByWithAggregationInput {
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
firstname?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
lastname?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
email?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
phone?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
city?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
companyId?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => PersonCountOrderByAggregateInput, {nullable:true})
|
||||
_count?: PersonCountOrderByAggregateInput;
|
||||
|
||||
@Field(() => PersonMaxOrderByAggregateInput, {nullable:true})
|
||||
_max?: PersonMaxOrderByAggregateInput;
|
||||
|
||||
@Field(() => PersonMinOrderByAggregateInput, {nullable:true})
|
||||
_min?: PersonMinOrderByAggregateInput;
|
||||
}
|
||||
@ -0,0 +1,49 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { CompanyOrderByWithRelationInput } from '../company/company-order-by-with-relation.input';
|
||||
import { WorkspaceOrderByWithRelationInput } from '../workspace/workspace-order-by-with-relation.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonOrderByWithRelationInput {
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
id?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
createdAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
updatedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
firstname?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
lastname?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
email?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
phone?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
city?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
companyId?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => CompanyOrderByWithRelationInput, {nullable:true})
|
||||
company?: CompanyOrderByWithRelationInput;
|
||||
|
||||
@HideField()
|
||||
workspace?: WorkspaceOrderByWithRelationInput;
|
||||
}
|
||||
18
server/src/api/@generated/person/person-scalar-field.enum.ts
Normal file
18
server/src/api/@generated/person/person-scalar-field.enum.ts
Normal file
@ -0,0 +1,18 @@
|
||||
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"
|
||||
}
|
||||
|
||||
|
||||
registerEnumType(PersonScalarFieldEnum, { name: 'PersonScalarFieldEnum', description: undefined })
|
||||
@ -0,0 +1,53 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input';
|
||||
import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input';
|
||||
import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input';
|
||||
import { StringNullableWithAggregatesFilter } from '../prisma/string-nullable-with-aggregates-filter.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonScalarWhereWithAggregatesInput {
|
||||
|
||||
@Field(() => [PersonScalarWhereWithAggregatesInput], {nullable:true})
|
||||
AND?: Array<PersonScalarWhereWithAggregatesInput>;
|
||||
|
||||
@Field(() => [PersonScalarWhereWithAggregatesInput], {nullable:true})
|
||||
OR?: Array<PersonScalarWhereWithAggregatesInput>;
|
||||
|
||||
@Field(() => [PersonScalarWhereWithAggregatesInput], {nullable:true})
|
||||
NOT?: Array<PersonScalarWhereWithAggregatesInput>;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
||||
id?: StringWithAggregatesFilter;
|
||||
|
||||
@Field(() => DateTimeWithAggregatesFilter, {nullable:true})
|
||||
createdAt?: DateTimeWithAggregatesFilter;
|
||||
|
||||
@Field(() => DateTimeWithAggregatesFilter, {nullable:true})
|
||||
updatedAt?: DateTimeWithAggregatesFilter;
|
||||
|
||||
@Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true})
|
||||
deletedAt?: DateTimeNullableWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
||||
firstname?: StringWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
||||
lastname?: StringWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
||||
email?: StringWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
||||
phone?: StringWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
||||
city?: StringWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringNullableWithAggregatesFilter, {nullable:true})
|
||||
companyId?: StringNullableWithAggregatesFilter;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringWithAggregatesFilter;
|
||||
}
|
||||
@ -0,0 +1,53 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFilter } from '../prisma/string-filter.input';
|
||||
import { DateTimeFilter } from '../prisma/date-time-filter.input';
|
||||
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
|
||||
import { StringNullableFilter } from '../prisma/string-nullable-filter.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonScalarWhereInput {
|
||||
|
||||
@Field(() => [PersonScalarWhereInput], {nullable:true})
|
||||
AND?: Array<PersonScalarWhereInput>;
|
||||
|
||||
@Field(() => [PersonScalarWhereInput], {nullable:true})
|
||||
OR?: Array<PersonScalarWhereInput>;
|
||||
|
||||
@Field(() => [PersonScalarWhereInput], {nullable:true})
|
||||
NOT?: Array<PersonScalarWhereInput>;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
id?: StringFilter;
|
||||
|
||||
@Field(() => DateTimeFilter, {nullable:true})
|
||||
createdAt?: DateTimeFilter;
|
||||
|
||||
@Field(() => DateTimeFilter, {nullable:true})
|
||||
updatedAt?: DateTimeFilter;
|
||||
|
||||
@Field(() => DateTimeNullableFilter, {nullable:true})
|
||||
deletedAt?: DateTimeNullableFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
firstname?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
lastname?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
email?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
phone?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
city?: StringFilter;
|
||||
|
||||
@Field(() => StringNullableFilter, {nullable:true})
|
||||
companyId?: StringNullableFilter;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringFilter;
|
||||
}
|
||||
@ -0,0 +1,27 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PersonCreateWithoutCompanyInput } from './person-create-without-company.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonCreateOrConnectWithoutCompanyInput } from './person-create-or-connect-without-company.input';
|
||||
import { PersonCreateManyCompanyInputEnvelope } from './person-create-many-company-input-envelope.input';
|
||||
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedCreateNestedManyWithoutCompanyInput {
|
||||
|
||||
@Field(() => [PersonCreateWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonCreateWithoutCompanyInput)
|
||||
create?: Array<PersonCreateWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonCreateOrConnectWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonCreateOrConnectWithoutCompanyInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutCompanyInput>;
|
||||
|
||||
@Field(() => PersonCreateManyCompanyInputEnvelope, {nullable:true})
|
||||
@Type(() => PersonCreateManyCompanyInputEnvelope)
|
||||
createMany?: PersonCreateManyCompanyInputEnvelope;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
}
|
||||
@ -0,0 +1,27 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PersonCreateWithoutWorkspaceInput } from './person-create-without-workspace.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonCreateOrConnectWithoutWorkspaceInput } from './person-create-or-connect-without-workspace.input';
|
||||
import { PersonCreateManyWorkspaceInputEnvelope } from './person-create-many-workspace-input-envelope.input';
|
||||
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedCreateNestedManyWithoutWorkspaceInput {
|
||||
|
||||
@Field(() => [PersonCreateWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonCreateWithoutWorkspaceInput)
|
||||
create?: Array<PersonCreateWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonCreateOrConnectWithoutWorkspaceInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => PersonCreateManyWorkspaceInputEnvelope, {nullable:true})
|
||||
@Type(() => PersonCreateManyWorkspaceInputEnvelope)
|
||||
createMany?: PersonCreateManyWorkspaceInputEnvelope;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedCreateWithoutCompanyInput {
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
firstname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
lastname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
phone!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
city!: string;
|
||||
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
}
|
||||
@ -0,0 +1,36 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedCreateWithoutWorkspaceInput {
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
firstname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
lastname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
phone!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
city!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
companyId?: string;
|
||||
}
|
||||
@ -0,0 +1,40 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedCreateInput {
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
firstname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
lastname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
phone!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
city!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
companyId?: string;
|
||||
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
}
|
||||
@ -0,0 +1,59 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PersonCreateWithoutCompanyInput } from './person-create-without-company.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonCreateOrConnectWithoutCompanyInput } from './person-create-or-connect-without-company.input';
|
||||
import { PersonUpsertWithWhereUniqueWithoutCompanyInput } from './person-upsert-with-where-unique-without-company.input';
|
||||
import { PersonCreateManyCompanyInputEnvelope } from './person-create-many-company-input-envelope.input';
|
||||
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
import { PersonUpdateWithWhereUniqueWithoutCompanyInput } from './person-update-with-where-unique-without-company.input';
|
||||
import { PersonUpdateManyWithWhereWithoutCompanyInput } from './person-update-many-with-where-without-company.input';
|
||||
import { PersonScalarWhereInput } from './person-scalar-where.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedUpdateManyWithoutCompanyNestedInput {
|
||||
|
||||
@Field(() => [PersonCreateWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonCreateWithoutCompanyInput)
|
||||
create?: Array<PersonCreateWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonCreateOrConnectWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonCreateOrConnectWithoutCompanyInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonUpsertWithWhereUniqueWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonUpsertWithWhereUniqueWithoutCompanyInput)
|
||||
upsert?: Array<PersonUpsertWithWhereUniqueWithoutCompanyInput>;
|
||||
|
||||
@Field(() => PersonCreateManyCompanyInputEnvelope, {nullable:true})
|
||||
@Type(() => PersonCreateManyCompanyInputEnvelope)
|
||||
createMany?: PersonCreateManyCompanyInputEnvelope;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
set?: 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)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PersonUpdateWithWhereUniqueWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonUpdateWithWhereUniqueWithoutCompanyInput)
|
||||
update?: Array<PersonUpdateWithWhereUniqueWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonUpdateManyWithWhereWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonUpdateManyWithWhereWithoutCompanyInput)
|
||||
updateMany?: Array<PersonUpdateManyWithWhereWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonScalarWhereInput], {nullable:true})
|
||||
@Type(() => PersonScalarWhereInput)
|
||||
deleteMany?: Array<PersonScalarWhereInput>;
|
||||
}
|
||||
@ -0,0 +1,40 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedUpdateManyWithoutPeopleInput {
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
companyId?: NullableStringFieldUpdateOperationsInput;
|
||||
}
|
||||
@ -0,0 +1,59 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PersonCreateWithoutWorkspaceInput } from './person-create-without-workspace.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonCreateOrConnectWithoutWorkspaceInput } from './person-create-or-connect-without-workspace.input';
|
||||
import { PersonUpsertWithWhereUniqueWithoutWorkspaceInput } from './person-upsert-with-where-unique-without-workspace.input';
|
||||
import { PersonCreateManyWorkspaceInputEnvelope } from './person-create-many-workspace-input-envelope.input';
|
||||
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
import { PersonUpdateWithWhereUniqueWithoutWorkspaceInput } from './person-update-with-where-unique-without-workspace.input';
|
||||
import { PersonUpdateManyWithWhereWithoutWorkspaceInput } from './person-update-many-with-where-without-workspace.input';
|
||||
import { PersonScalarWhereInput } from './person-scalar-where.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedUpdateManyWithoutWorkspaceNestedInput {
|
||||
|
||||
@Field(() => [PersonCreateWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonCreateWithoutWorkspaceInput)
|
||||
create?: Array<PersonCreateWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonCreateOrConnectWithoutWorkspaceInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonUpsertWithWhereUniqueWithoutWorkspaceInput)
|
||||
upsert?: Array<PersonUpsertWithWhereUniqueWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => PersonCreateManyWorkspaceInputEnvelope, {nullable:true})
|
||||
@Type(() => PersonCreateManyWorkspaceInputEnvelope)
|
||||
createMany?: PersonCreateManyWorkspaceInputEnvelope;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
set?: 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)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PersonUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonUpdateWithWhereUniqueWithoutWorkspaceInput)
|
||||
update?: Array<PersonUpdateWithWhereUniqueWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonUpdateManyWithWhereWithoutWorkspaceInput)
|
||||
updateMany?: Array<PersonUpdateManyWithWhereWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonScalarWhereInput], {nullable:true})
|
||||
@Type(() => PersonScalarWhereInput)
|
||||
deleteMany?: Array<PersonScalarWhereInput>;
|
||||
}
|
||||
@ -0,0 +1,44 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedUpdateManyInput {
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
companyId?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringFieldUpdateOperationsInput;
|
||||
}
|
||||
@ -0,0 +1,40 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedUpdateWithoutCompanyInput {
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringFieldUpdateOperationsInput;
|
||||
}
|
||||
@ -0,0 +1,40 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedUpdateWithoutWorkspaceInput {
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
companyId?: NullableStringFieldUpdateOperationsInput;
|
||||
}
|
||||
@ -0,0 +1,44 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedUpdateInput {
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
companyId?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringFieldUpdateOperationsInput;
|
||||
}
|
||||
@ -0,0 +1,36 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonUpdateManyMutationInput {
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PersonScalarWhereInput } from './person-scalar-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonUpdateManyMutationInput } from './person-update-many-mutation.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonUpdateManyWithWhereWithoutCompanyInput {
|
||||
|
||||
@Field(() => PersonScalarWhereInput, {nullable:false})
|
||||
@Type(() => PersonScalarWhereInput)
|
||||
where!: PersonScalarWhereInput;
|
||||
|
||||
@Field(() => PersonUpdateManyMutationInput, {nullable:false})
|
||||
@Type(() => PersonUpdateManyMutationInput)
|
||||
data!: PersonUpdateManyMutationInput;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PersonScalarWhereInput } from './person-scalar-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonUpdateManyMutationInput } from './person-update-many-mutation.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonUpdateManyWithWhereWithoutWorkspaceInput {
|
||||
|
||||
@Field(() => PersonScalarWhereInput, {nullable:false})
|
||||
@Type(() => PersonScalarWhereInput)
|
||||
where!: PersonScalarWhereInput;
|
||||
|
||||
@Field(() => PersonUpdateManyMutationInput, {nullable:false})
|
||||
@Type(() => PersonUpdateManyMutationInput)
|
||||
data!: PersonUpdateManyMutationInput;
|
||||
}
|
||||
@ -0,0 +1,59 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PersonCreateWithoutCompanyInput } from './person-create-without-company.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonCreateOrConnectWithoutCompanyInput } from './person-create-or-connect-without-company.input';
|
||||
import { PersonUpsertWithWhereUniqueWithoutCompanyInput } from './person-upsert-with-where-unique-without-company.input';
|
||||
import { PersonCreateManyCompanyInputEnvelope } from './person-create-many-company-input-envelope.input';
|
||||
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
import { PersonUpdateWithWhereUniqueWithoutCompanyInput } from './person-update-with-where-unique-without-company.input';
|
||||
import { PersonUpdateManyWithWhereWithoutCompanyInput } from './person-update-many-with-where-without-company.input';
|
||||
import { PersonScalarWhereInput } from './person-scalar-where.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonUpdateManyWithoutCompanyNestedInput {
|
||||
|
||||
@Field(() => [PersonCreateWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonCreateWithoutCompanyInput)
|
||||
create?: Array<PersonCreateWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonCreateOrConnectWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonCreateOrConnectWithoutCompanyInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonUpsertWithWhereUniqueWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonUpsertWithWhereUniqueWithoutCompanyInput)
|
||||
upsert?: Array<PersonUpsertWithWhereUniqueWithoutCompanyInput>;
|
||||
|
||||
@Field(() => PersonCreateManyCompanyInputEnvelope, {nullable:true})
|
||||
@Type(() => PersonCreateManyCompanyInputEnvelope)
|
||||
createMany?: PersonCreateManyCompanyInputEnvelope;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
set?: 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)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PersonUpdateWithWhereUniqueWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonUpdateWithWhereUniqueWithoutCompanyInput)
|
||||
update?: Array<PersonUpdateWithWhereUniqueWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonUpdateManyWithWhereWithoutCompanyInput], {nullable:true})
|
||||
@Type(() => PersonUpdateManyWithWhereWithoutCompanyInput)
|
||||
updateMany?: Array<PersonUpdateManyWithWhereWithoutCompanyInput>;
|
||||
|
||||
@Field(() => [PersonScalarWhereInput], {nullable:true})
|
||||
@Type(() => PersonScalarWhereInput)
|
||||
deleteMany?: Array<PersonScalarWhereInput>;
|
||||
}
|
||||
@ -0,0 +1,59 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PersonCreateWithoutWorkspaceInput } from './person-create-without-workspace.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonCreateOrConnectWithoutWorkspaceInput } from './person-create-or-connect-without-workspace.input';
|
||||
import { PersonUpsertWithWhereUniqueWithoutWorkspaceInput } from './person-upsert-with-where-unique-without-workspace.input';
|
||||
import { PersonCreateManyWorkspaceInputEnvelope } from './person-create-many-workspace-input-envelope.input';
|
||||
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
import { PersonUpdateWithWhereUniqueWithoutWorkspaceInput } from './person-update-with-where-unique-without-workspace.input';
|
||||
import { PersonUpdateManyWithWhereWithoutWorkspaceInput } from './person-update-many-with-where-without-workspace.input';
|
||||
import { PersonScalarWhereInput } from './person-scalar-where.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonUpdateManyWithoutWorkspaceNestedInput {
|
||||
|
||||
@Field(() => [PersonCreateWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonCreateWithoutWorkspaceInput)
|
||||
create?: Array<PersonCreateWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonCreateOrConnectWithoutWorkspaceInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonUpsertWithWhereUniqueWithoutWorkspaceInput)
|
||||
upsert?: Array<PersonUpsertWithWhereUniqueWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => PersonCreateManyWorkspaceInputEnvelope, {nullable:true})
|
||||
@Type(() => PersonCreateManyWorkspaceInputEnvelope)
|
||||
createMany?: PersonCreateManyWorkspaceInputEnvelope;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
set?: 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)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
|
||||
@Field(() => [PersonUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonUpdateWithWhereUniqueWithoutWorkspaceInput)
|
||||
update?: Array<PersonUpdateWithWhereUniqueWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonUpdateManyWithWhereWithoutWorkspaceInput)
|
||||
updateMany?: Array<PersonUpdateManyWithWhereWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonScalarWhereInput], {nullable:true})
|
||||
@Type(() => PersonScalarWhereInput)
|
||||
deleteMany?: Array<PersonScalarWhereInput>;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonUpdateWithoutCompanyInput } from './person-update-without-company.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonUpdateWithWhereUniqueWithoutCompanyInput {
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:false})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => PersonUpdateWithoutCompanyInput, {nullable:false})
|
||||
@Type(() => PersonUpdateWithoutCompanyInput)
|
||||
data!: PersonUpdateWithoutCompanyInput;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonUpdateWithoutWorkspaceInput } from './person-update-without-workspace.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonUpdateWithWhereUniqueWithoutWorkspaceInput {
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:false})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => PersonUpdateWithoutWorkspaceInput, {nullable:false})
|
||||
@Type(() => PersonUpdateWithoutWorkspaceInput)
|
||||
data!: PersonUpdateWithoutWorkspaceInput;
|
||||
}
|
||||
@ -0,0 +1,41 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { WorkspaceUpdateOneRequiredWithoutPeopleNestedInput } from '../workspace/workspace-update-one-required-without-people-nested.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonUpdateWithoutCompanyInput {
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspace?: WorkspaceUpdateOneRequiredWithoutPeopleNestedInput;
|
||||
}
|
||||
@ -0,0 +1,40 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { CompanyUpdateOneWithoutPeopleNestedInput } from '../company/company-update-one-without-people-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonUpdateWithoutWorkspaceInput {
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => CompanyUpdateOneWithoutPeopleNestedInput, {nullable:true})
|
||||
company?: CompanyUpdateOneWithoutPeopleNestedInput;
|
||||
}
|
||||
45
server/src/api/@generated/person/person-update.input.ts
Normal file
45
server/src/api/@generated/person/person-update.input.ts
Normal file
@ -0,0 +1,45 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { CompanyUpdateOneWithoutPeopleNestedInput } from '../company/company-update-one-without-people-nested.input';
|
||||
import { WorkspaceUpdateOneRequiredWithoutPeopleNestedInput } from '../workspace/workspace-update-one-required-without-people-nested.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonUpdateInput {
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
firstname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
lastname?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
phone?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
city?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => CompanyUpdateOneWithoutPeopleNestedInput, {nullable:true})
|
||||
company?: CompanyUpdateOneWithoutPeopleNestedInput;
|
||||
|
||||
@HideField()
|
||||
workspace?: WorkspaceUpdateOneRequiredWithoutPeopleNestedInput;
|
||||
}
|
||||
@ -0,0 +1,22 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonUpdateWithoutCompanyInput } from './person-update-without-company.input';
|
||||
import { PersonCreateWithoutCompanyInput } from './person-create-without-company.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonUpsertWithWhereUniqueWithoutCompanyInput {
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:false})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => PersonUpdateWithoutCompanyInput, {nullable:false})
|
||||
@Type(() => PersonUpdateWithoutCompanyInput)
|
||||
update!: PersonUpdateWithoutCompanyInput;
|
||||
|
||||
@Field(() => PersonCreateWithoutCompanyInput, {nullable:false})
|
||||
@Type(() => PersonCreateWithoutCompanyInput)
|
||||
create!: PersonCreateWithoutCompanyInput;
|
||||
}
|
||||
@ -0,0 +1,22 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonUpdateWithoutWorkspaceInput } from './person-update-without-workspace.input';
|
||||
import { PersonCreateWithoutWorkspaceInput } from './person-create-without-workspace.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonUpsertWithWhereUniqueWithoutWorkspaceInput {
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:false})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => PersonUpdateWithoutWorkspaceInput, {nullable:false})
|
||||
@Type(() => PersonUpdateWithoutWorkspaceInput)
|
||||
update!: PersonUpdateWithoutWorkspaceInput;
|
||||
|
||||
@Field(() => PersonCreateWithoutWorkspaceInput, {nullable:false})
|
||||
@Type(() => PersonCreateWithoutWorkspaceInput)
|
||||
create!: PersonCreateWithoutWorkspaceInput;
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonWhereUniqueInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
id?: string;
|
||||
}
|
||||
61
server/src/api/@generated/person/person-where.input.ts
Normal file
61
server/src/api/@generated/person/person-where.input.ts
Normal file
@ -0,0 +1,61 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFilter } from '../prisma/string-filter.input';
|
||||
import { DateTimeFilter } from '../prisma/date-time-filter.input';
|
||||
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
|
||||
import { StringNullableFilter } from '../prisma/string-nullable-filter.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { CompanyRelationFilter } from '../company/company-relation-filter.input';
|
||||
import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonWhereInput {
|
||||
|
||||
@Field(() => [PersonWhereInput], {nullable:true})
|
||||
AND?: Array<PersonWhereInput>;
|
||||
|
||||
@Field(() => [PersonWhereInput], {nullable:true})
|
||||
OR?: Array<PersonWhereInput>;
|
||||
|
||||
@Field(() => [PersonWhereInput], {nullable:true})
|
||||
NOT?: Array<PersonWhereInput>;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
id?: StringFilter;
|
||||
|
||||
@Field(() => DateTimeFilter, {nullable:true})
|
||||
createdAt?: DateTimeFilter;
|
||||
|
||||
@Field(() => DateTimeFilter, {nullable:true})
|
||||
updatedAt?: DateTimeFilter;
|
||||
|
||||
@Field(() => DateTimeNullableFilter, {nullable:true})
|
||||
deletedAt?: DateTimeNullableFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
firstname?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
lastname?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
email?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
phone?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
city?: StringFilter;
|
||||
|
||||
@Field(() => StringNullableFilter, {nullable:true})
|
||||
companyId?: StringNullableFilter;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringFilter;
|
||||
|
||||
@Field(() => CompanyRelationFilter, {nullable:true})
|
||||
company?: CompanyRelationFilter;
|
||||
|
||||
@HideField()
|
||||
workspace?: WorkspaceRelationFilter;
|
||||
}
|
||||
48
server/src/api/@generated/person/person.model.ts
Normal file
48
server/src/api/@generated/person/person.model.ts
Normal file
@ -0,0 +1,48 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { ID } from '@nestjs/graphql';
|
||||
import { Company } from '../company/company.model';
|
||||
import { Workspace } from '../workspace/workspace.model';
|
||||
|
||||
@ObjectType()
|
||||
export class Person {
|
||||
|
||||
@Field(() => ID, {nullable:false})
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, {nullable:false})
|
||||
createdAt!: Date;
|
||||
|
||||
@Field(() => Date, {nullable:false})
|
||||
updatedAt!: Date;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
deletedAt!: Date | null;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
firstname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
lastname!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
email!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
phone!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
city!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
companyId!: string | null;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => Company, {nullable:true})
|
||||
company?: Company | null;
|
||||
|
||||
@Field(() => Workspace, {nullable:false})
|
||||
workspace?: Workspace;
|
||||
}
|
||||
17
server/src/api/@generated/person/update-many-person.args.ts
Normal file
17
server/src/api/@generated/person/update-many-person.args.ts
Normal file
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PersonUpdateManyMutationInput } from './person-update-many-mutation.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonWhereInput } from './person-where.input';
|
||||
|
||||
@ArgsType()
|
||||
export class UpdateManyPersonArgs {
|
||||
|
||||
@Field(() => PersonUpdateManyMutationInput, {nullable:false})
|
||||
@Type(() => PersonUpdateManyMutationInput)
|
||||
data!: PersonUpdateManyMutationInput;
|
||||
|
||||
@Field(() => PersonWhereInput, {nullable:true})
|
||||
@Type(() => PersonWhereInput)
|
||||
where?: PersonWhereInput;
|
||||
}
|
||||
17
server/src/api/@generated/person/update-one-person.args.ts
Normal file
17
server/src/api/@generated/person/update-one-person.args.ts
Normal file
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PersonUpdateInput } from './person-update.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
|
||||
@ArgsType()
|
||||
export class UpdateOnePersonArgs {
|
||||
|
||||
@Field(() => PersonUpdateInput, {nullable:false})
|
||||
@Type(() => PersonUpdateInput)
|
||||
data!: PersonUpdateInput;
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:false})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
}
|
||||
22
server/src/api/@generated/person/upsert-one-person.args.ts
Normal file
22
server/src/api/@generated/person/upsert-one-person.args.ts
Normal file
@ -0,0 +1,22 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonCreateInput } from './person-create.input';
|
||||
import { PersonUpdateInput } from './person-update.input';
|
||||
|
||||
@ArgsType()
|
||||
export class UpsertOnePersonArgs {
|
||||
|
||||
@Field(() => PersonWhereUniqueInput, {nullable:false})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
where!: PersonWhereUniqueInput;
|
||||
|
||||
@Field(() => PersonCreateInput, {nullable:false})
|
||||
@Type(() => PersonCreateInput)
|
||||
create!: PersonCreateInput;
|
||||
|
||||
@Field(() => PersonUpdateInput, {nullable:false})
|
||||
@Type(() => PersonUpdateInput)
|
||||
update!: PersonUpdateInput;
|
||||
}
|
||||
Reference in New Issue
Block a user