Implement scoping on be (#144)
This commit is contained in:
@ -0,0 +1,26 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { CompanyCountAggregate } from './company-count-aggregate.output';
|
||||
import { CompanyAvgAggregate } from './company-avg-aggregate.output';
|
||||
import { CompanySumAggregate } from './company-sum-aggregate.output';
|
||||
import { CompanyMinAggregate } from './company-min-aggregate.output';
|
||||
import { CompanyMaxAggregate } from './company-max-aggregate.output';
|
||||
|
||||
@ObjectType()
|
||||
export class AggregateCompany {
|
||||
|
||||
@Field(() => CompanyCountAggregate, {nullable:true})
|
||||
_count?: CompanyCountAggregate;
|
||||
|
||||
@Field(() => CompanyAvgAggregate, {nullable:true})
|
||||
_avg?: CompanyAvgAggregate;
|
||||
|
||||
@Field(() => CompanySumAggregate, {nullable:true})
|
||||
_sum?: CompanySumAggregate;
|
||||
|
||||
@Field(() => CompanyMinAggregate, {nullable:true})
|
||||
_min?: CompanyMinAggregate;
|
||||
|
||||
@Field(() => CompanyMaxAggregate, {nullable:true})
|
||||
_max?: CompanyMaxAggregate;
|
||||
}
|
||||
47
server/src/api/@generated/company/company-aggregate.args.ts
Normal file
47
server/src/api/@generated/company/company-aggregate.args.ts
Normal file
@ -0,0 +1,47 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { CompanyWhereInput } from './company-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyOrderByWithRelationInput } from './company-order-by-with-relation.input';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { CompanyCountAggregateInput } from './company-count-aggregate.input';
|
||||
import { CompanyAvgAggregateInput } from './company-avg-aggregate.input';
|
||||
import { CompanySumAggregateInput } from './company-sum-aggregate.input';
|
||||
import { CompanyMinAggregateInput } from './company-min-aggregate.input';
|
||||
import { CompanyMaxAggregateInput } from './company-max-aggregate.input';
|
||||
|
||||
@ArgsType()
|
||||
export class CompanyAggregateArgs {
|
||||
|
||||
@Field(() => CompanyWhereInput, {nullable:true})
|
||||
@Type(() => CompanyWhereInput)
|
||||
where?: CompanyWhereInput;
|
||||
|
||||
@Field(() => [CompanyOrderByWithRelationInput], {nullable:true})
|
||||
orderBy?: Array<CompanyOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => CompanyWhereUniqueInput, {nullable:true})
|
||||
cursor?: CompanyWhereUniqueInput;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
skip?: number;
|
||||
|
||||
@Field(() => CompanyCountAggregateInput, {nullable:true})
|
||||
_count?: CompanyCountAggregateInput;
|
||||
|
||||
@Field(() => CompanyAvgAggregateInput, {nullable:true})
|
||||
_avg?: CompanyAvgAggregateInput;
|
||||
|
||||
@Field(() => CompanySumAggregateInput, {nullable:true})
|
||||
_sum?: CompanySumAggregateInput;
|
||||
|
||||
@Field(() => CompanyMinAggregateInput, {nullable:true})
|
||||
_min?: CompanyMinAggregateInput;
|
||||
|
||||
@Field(() => CompanyMaxAggregateInput, {nullable:true})
|
||||
_max?: CompanyMaxAggregateInput;
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class CompanyAvgAggregateInput {
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
employees?: true;
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Float } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class CompanyAvgAggregate {
|
||||
|
||||
@Field(() => Float, {nullable:true})
|
||||
employees?: number;
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
|
||||
@InputType()
|
||||
export class CompanyAvgOrderByAggregateInput {
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
employees?: 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 CompanyCountAggregateInput {
|
||||
|
||||
@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})
|
||||
name?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
domainName?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
address?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
employees?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
accountOwnerId?: true;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
_all?: true;
|
||||
}
|
||||
@ -0,0 +1,40 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class CompanyCountAggregate {
|
||||
|
||||
@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})
|
||||
name!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
domainName!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
address!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
employees!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
accountOwnerId!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
workspaceId!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
_all!: number;
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
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 CompanyCountOrderByAggregateInput {
|
||||
|
||||
@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})
|
||||
name?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
domainName?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
address?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
employees?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
accountOwnerId?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: keyof typeof SortOrder;
|
||||
}
|
||||
10
server/src/api/@generated/company/company-count.output.ts
Normal file
10
server/src/api/@generated/company/company-count.output.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class CompanyCount {
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
people?: number;
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyCreateManyAccountOwnerInput } from './company-create-many-account-owner.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@InputType()
|
||||
export class CompanyCreateManyAccountOwnerInputEnvelope {
|
||||
|
||||
@Field(() => [CompanyCreateManyAccountOwnerInput], {nullable:false})
|
||||
@Type(() => CompanyCreateManyAccountOwnerInput)
|
||||
data!: Array<CompanyCreateManyAccountOwnerInput>;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
skipDuplicates?: boolean;
|
||||
}
|
||||
@ -0,0 +1,35 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class CompanyCreateManyAccountOwnerInput {
|
||||
|
||||
@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})
|
||||
name!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
address!: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
employees?: number;
|
||||
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyCreateManyWorkspaceInput } from './company-create-many-workspace.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@InputType()
|
||||
export class CompanyCreateManyWorkspaceInputEnvelope {
|
||||
|
||||
@Field(() => [CompanyCreateManyWorkspaceInput], {nullable:false})
|
||||
@Type(() => CompanyCreateManyWorkspaceInput)
|
||||
data!: Array<CompanyCreateManyWorkspaceInput>;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
skipDuplicates?: boolean;
|
||||
}
|
||||
@ -0,0 +1,34 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class CompanyCreateManyWorkspaceInput {
|
||||
|
||||
@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})
|
||||
name!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
address!: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
employees?: number;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
accountOwnerId?: string;
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class CompanyCreateManyInput {
|
||||
|
||||
@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})
|
||||
name!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
address!: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
employees?: number;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
accountOwnerId?: string;
|
||||
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
}
|
||||
@ -0,0 +1,27 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyCreateWithoutAccountOwnerInput } from './company-create-without-account-owner.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyCreateOrConnectWithoutAccountOwnerInput } from './company-create-or-connect-without-account-owner.input';
|
||||
import { CompanyCreateManyAccountOwnerInputEnvelope } from './company-create-many-account-owner-input-envelope.input';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyCreateNestedManyWithoutAccountOwnerInput {
|
||||
|
||||
@Field(() => [CompanyCreateWithoutAccountOwnerInput], {nullable:true})
|
||||
@Type(() => CompanyCreateWithoutAccountOwnerInput)
|
||||
create?: Array<CompanyCreateWithoutAccountOwnerInput>;
|
||||
|
||||
@Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {nullable:true})
|
||||
@Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput)
|
||||
connectOrCreate?: Array<CompanyCreateOrConnectWithoutAccountOwnerInput>;
|
||||
|
||||
@Field(() => CompanyCreateManyAccountOwnerInputEnvelope, {nullable:true})
|
||||
@Type(() => CompanyCreateManyAccountOwnerInputEnvelope)
|
||||
createMany?: CompanyCreateManyAccountOwnerInputEnvelope;
|
||||
|
||||
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
connect?: Array<CompanyWhereUniqueInput>;
|
||||
}
|
||||
@ -0,0 +1,27 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyCreateWithoutWorkspaceInput } from './company-create-without-workspace.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyCreateOrConnectWithoutWorkspaceInput } from './company-create-or-connect-without-workspace.input';
|
||||
import { CompanyCreateManyWorkspaceInputEnvelope } from './company-create-many-workspace-input-envelope.input';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyCreateNestedManyWithoutWorkspaceInput {
|
||||
|
||||
@Field(() => [CompanyCreateWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => CompanyCreateWithoutWorkspaceInput)
|
||||
create?: Array<CompanyCreateWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => CompanyCreateOrConnectWithoutWorkspaceInput)
|
||||
connectOrCreate?: Array<CompanyCreateOrConnectWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => CompanyCreateManyWorkspaceInputEnvelope, {nullable:true})
|
||||
@Type(() => CompanyCreateManyWorkspaceInputEnvelope)
|
||||
createMany?: CompanyCreateManyWorkspaceInputEnvelope;
|
||||
|
||||
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
connect?: Array<CompanyWhereUniqueInput>;
|
||||
}
|
||||
@ -0,0 +1,22 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyCreateWithoutPeopleInput } from './company-create-without-people.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyCreateOrConnectWithoutPeopleInput } from './company-create-or-connect-without-people.input';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyCreateNestedOneWithoutPeopleInput {
|
||||
|
||||
@Field(() => CompanyCreateWithoutPeopleInput, {nullable:true})
|
||||
@Type(() => CompanyCreateWithoutPeopleInput)
|
||||
create?: CompanyCreateWithoutPeopleInput;
|
||||
|
||||
@Field(() => CompanyCreateOrConnectWithoutPeopleInput, {nullable:true})
|
||||
@Type(() => CompanyCreateOrConnectWithoutPeopleInput)
|
||||
connectOrCreate?: CompanyCreateOrConnectWithoutPeopleInput;
|
||||
|
||||
@Field(() => CompanyWhereUniqueInput, {nullable:true})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
connect?: CompanyWhereUniqueInput;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyCreateWithoutAccountOwnerInput } from './company-create-without-account-owner.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyCreateOrConnectWithoutAccountOwnerInput {
|
||||
|
||||
@Field(() => CompanyWhereUniqueInput, {nullable:false})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
where!: CompanyWhereUniqueInput;
|
||||
|
||||
@Field(() => CompanyCreateWithoutAccountOwnerInput, {nullable:false})
|
||||
@Type(() => CompanyCreateWithoutAccountOwnerInput)
|
||||
create!: CompanyCreateWithoutAccountOwnerInput;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyCreateWithoutPeopleInput } from './company-create-without-people.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyCreateOrConnectWithoutPeopleInput {
|
||||
|
||||
@Field(() => CompanyWhereUniqueInput, {nullable:false})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
where!: CompanyWhereUniqueInput;
|
||||
|
||||
@Field(() => CompanyCreateWithoutPeopleInput, {nullable:false})
|
||||
@Type(() => CompanyCreateWithoutPeopleInput)
|
||||
create!: CompanyCreateWithoutPeopleInput;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyCreateWithoutWorkspaceInput } from './company-create-without-workspace.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyCreateOrConnectWithoutWorkspaceInput {
|
||||
|
||||
@Field(() => CompanyWhereUniqueInput, {nullable:false})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
where!: CompanyWhereUniqueInput;
|
||||
|
||||
@Field(() => CompanyCreateWithoutWorkspaceInput, {nullable:false})
|
||||
@Type(() => CompanyCreateWithoutWorkspaceInput)
|
||||
create!: CompanyCreateWithoutWorkspaceInput;
|
||||
}
|
||||
@ -0,0 +1,40 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PersonCreateNestedManyWithoutCompanyInput } from '../person/person-create-nested-many-without-company.input';
|
||||
import { WorkspaceCreateNestedOneWithoutCompaniesInput } from '../workspace/workspace-create-nested-one-without-companies.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class CompanyCreateWithoutAccountOwnerInput {
|
||||
|
||||
@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})
|
||||
name!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
address!: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
employees?: number;
|
||||
|
||||
@Field(() => PersonCreateNestedManyWithoutCompanyInput, {nullable:true})
|
||||
people?: PersonCreateNestedManyWithoutCompanyInput;
|
||||
|
||||
@HideField()
|
||||
workspace!: WorkspaceCreateNestedOneWithoutCompaniesInput;
|
||||
}
|
||||
@ -0,0 +1,40 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { UserCreateNestedOneWithoutCompaniesInput } from '../user/user-create-nested-one-without-companies.input';
|
||||
import { WorkspaceCreateNestedOneWithoutCompaniesInput } from '../workspace/workspace-create-nested-one-without-companies.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class CompanyCreateWithoutPeopleInput {
|
||||
|
||||
@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})
|
||||
name!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
address!: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
employees?: number;
|
||||
|
||||
@Field(() => UserCreateNestedOneWithoutCompaniesInput, {nullable:true})
|
||||
accountOwner?: UserCreateNestedOneWithoutCompaniesInput;
|
||||
|
||||
@HideField()
|
||||
workspace!: WorkspaceCreateNestedOneWithoutCompaniesInput;
|
||||
}
|
||||
@ -0,0 +1,39 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { UserCreateNestedOneWithoutCompaniesInput } from '../user/user-create-nested-one-without-companies.input';
|
||||
import { PersonCreateNestedManyWithoutCompanyInput } from '../person/person-create-nested-many-without-company.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyCreateWithoutWorkspaceInput {
|
||||
|
||||
@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})
|
||||
name!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
address!: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
employees?: number;
|
||||
|
||||
@Field(() => UserCreateNestedOneWithoutCompaniesInput, {nullable:true})
|
||||
accountOwner?: UserCreateNestedOneWithoutCompaniesInput;
|
||||
|
||||
@Field(() => PersonCreateNestedManyWithoutCompanyInput, {nullable:true})
|
||||
people?: PersonCreateNestedManyWithoutCompanyInput;
|
||||
}
|
||||
44
server/src/api/@generated/company/company-create.input.ts
Normal file
44
server/src/api/@generated/company/company-create.input.ts
Normal file
@ -0,0 +1,44 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { UserCreateNestedOneWithoutCompaniesInput } from '../user/user-create-nested-one-without-companies.input';
|
||||
import { PersonCreateNestedManyWithoutCompanyInput } from '../person/person-create-nested-many-without-company.input';
|
||||
import { WorkspaceCreateNestedOneWithoutCompaniesInput } from '../workspace/workspace-create-nested-one-without-companies.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class CompanyCreateInput {
|
||||
|
||||
@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})
|
||||
name!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
address!: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
employees?: number;
|
||||
|
||||
@Field(() => UserCreateNestedOneWithoutCompaniesInput, {nullable:true})
|
||||
accountOwner?: UserCreateNestedOneWithoutCompaniesInput;
|
||||
|
||||
@Field(() => PersonCreateNestedManyWithoutCompanyInput, {nullable:true})
|
||||
people?: PersonCreateNestedManyWithoutCompanyInput;
|
||||
|
||||
@HideField()
|
||||
workspace!: WorkspaceCreateNestedOneWithoutCompaniesInput;
|
||||
}
|
||||
51
server/src/api/@generated/company/company-group-by.args.ts
Normal file
51
server/src/api/@generated/company/company-group-by.args.ts
Normal file
@ -0,0 +1,51 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { CompanyWhereInput } from './company-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyOrderByWithAggregationInput } from './company-order-by-with-aggregation.input';
|
||||
import { CompanyScalarFieldEnum } from './company-scalar-field.enum';
|
||||
import { CompanyScalarWhereWithAggregatesInput } from './company-scalar-where-with-aggregates.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { CompanyCountAggregateInput } from './company-count-aggregate.input';
|
||||
import { CompanyAvgAggregateInput } from './company-avg-aggregate.input';
|
||||
import { CompanySumAggregateInput } from './company-sum-aggregate.input';
|
||||
import { CompanyMinAggregateInput } from './company-min-aggregate.input';
|
||||
import { CompanyMaxAggregateInput } from './company-max-aggregate.input';
|
||||
|
||||
@ArgsType()
|
||||
export class CompanyGroupByArgs {
|
||||
|
||||
@Field(() => CompanyWhereInput, {nullable:true})
|
||||
@Type(() => CompanyWhereInput)
|
||||
where?: CompanyWhereInput;
|
||||
|
||||
@Field(() => [CompanyOrderByWithAggregationInput], {nullable:true})
|
||||
orderBy?: Array<CompanyOrderByWithAggregationInput>;
|
||||
|
||||
@Field(() => [CompanyScalarFieldEnum], {nullable:false})
|
||||
by!: Array<keyof typeof CompanyScalarFieldEnum>;
|
||||
|
||||
@Field(() => CompanyScalarWhereWithAggregatesInput, {nullable:true})
|
||||
having?: CompanyScalarWhereWithAggregatesInput;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
skip?: number;
|
||||
|
||||
@Field(() => CompanyCountAggregateInput, {nullable:true})
|
||||
_count?: CompanyCountAggregateInput;
|
||||
|
||||
@Field(() => CompanyAvgAggregateInput, {nullable:true})
|
||||
_avg?: CompanyAvgAggregateInput;
|
||||
|
||||
@Field(() => CompanySumAggregateInput, {nullable:true})
|
||||
_sum?: CompanySumAggregateInput;
|
||||
|
||||
@Field(() => CompanyMinAggregateInput, {nullable:true})
|
||||
_min?: CompanyMinAggregateInput;
|
||||
|
||||
@Field(() => CompanyMaxAggregateInput, {nullable:true})
|
||||
_max?: CompanyMaxAggregateInput;
|
||||
}
|
||||
57
server/src/api/@generated/company/company-group-by.output.ts
Normal file
57
server/src/api/@generated/company/company-group-by.output.ts
Normal file
@ -0,0 +1,57 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { CompanyCountAggregate } from './company-count-aggregate.output';
|
||||
import { CompanyAvgAggregate } from './company-avg-aggregate.output';
|
||||
import { CompanySumAggregate } from './company-sum-aggregate.output';
|
||||
import { CompanyMinAggregate } from './company-min-aggregate.output';
|
||||
import { CompanyMaxAggregate } from './company-max-aggregate.output';
|
||||
|
||||
@ObjectType()
|
||||
export class CompanyGroupBy {
|
||||
|
||||
@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})
|
||||
name!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
address!: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
employees?: number;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
accountOwnerId?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => CompanyCountAggregate, {nullable:true})
|
||||
_count?: CompanyCountAggregate;
|
||||
|
||||
@Field(() => CompanyAvgAggregate, {nullable:true})
|
||||
_avg?: CompanyAvgAggregate;
|
||||
|
||||
@Field(() => CompanySumAggregate, {nullable:true})
|
||||
_sum?: CompanySumAggregate;
|
||||
|
||||
@Field(() => CompanyMinAggregate, {nullable:true})
|
||||
_min?: CompanyMinAggregate;
|
||||
|
||||
@Field(() => CompanyMaxAggregate, {nullable:true})
|
||||
_max?: CompanyMaxAggregate;
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyWhereInput } from './company-where.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyListRelationFilter {
|
||||
|
||||
@Field(() => CompanyWhereInput, {nullable:true})
|
||||
every?: CompanyWhereInput;
|
||||
|
||||
@Field(() => CompanyWhereInput, {nullable:true})
|
||||
some?: CompanyWhereInput;
|
||||
|
||||
@Field(() => CompanyWhereInput, {nullable:true})
|
||||
none?: CompanyWhereInput;
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class CompanyMaxAggregateInput {
|
||||
|
||||
@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})
|
||||
name?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
domainName?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
address?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
employees?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
accountOwnerId?: true;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: true;
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class CompanyMaxAggregate {
|
||||
|
||||
@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})
|
||||
name?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
domainName?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
address?: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
employees?: number;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
accountOwnerId?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
workspaceId?: string;
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
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 CompanyMaxOrderByAggregateInput {
|
||||
|
||||
@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})
|
||||
name?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
domainName?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
address?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
employees?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
accountOwnerId?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: keyof typeof SortOrder;
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class CompanyMinAggregateInput {
|
||||
|
||||
@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})
|
||||
name?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
domainName?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
address?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
employees?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
accountOwnerId?: true;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: true;
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class CompanyMinAggregate {
|
||||
|
||||
@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})
|
||||
name?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
domainName?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
address?: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
employees?: number;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
accountOwnerId?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
workspaceId?: string;
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
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 CompanyMinOrderByAggregateInput {
|
||||
|
||||
@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})
|
||||
name?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
domainName?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
address?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
employees?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
accountOwnerId?: 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 CompanyOrderByRelationAggregateInput {
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
_count?: keyof typeof SortOrder;
|
||||
}
|
||||
@ -0,0 +1,58 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { CompanyCountOrderByAggregateInput } from './company-count-order-by-aggregate.input';
|
||||
import { CompanyAvgOrderByAggregateInput } from './company-avg-order-by-aggregate.input';
|
||||
import { CompanyMaxOrderByAggregateInput } from './company-max-order-by-aggregate.input';
|
||||
import { CompanyMinOrderByAggregateInput } from './company-min-order-by-aggregate.input';
|
||||
import { CompanySumOrderByAggregateInput } from './company-sum-order-by-aggregate.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyOrderByWithAggregationInput {
|
||||
|
||||
@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})
|
||||
name?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
domainName?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
address?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
employees?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
accountOwnerId?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => CompanyCountOrderByAggregateInput, {nullable:true})
|
||||
_count?: CompanyCountOrderByAggregateInput;
|
||||
|
||||
@Field(() => CompanyAvgOrderByAggregateInput, {nullable:true})
|
||||
_avg?: CompanyAvgOrderByAggregateInput;
|
||||
|
||||
@Field(() => CompanyMaxOrderByAggregateInput, {nullable:true})
|
||||
_max?: CompanyMaxOrderByAggregateInput;
|
||||
|
||||
@Field(() => CompanyMinOrderByAggregateInput, {nullable:true})
|
||||
_min?: CompanyMinOrderByAggregateInput;
|
||||
|
||||
@Field(() => CompanySumOrderByAggregateInput, {nullable:true})
|
||||
_sum?: CompanySumOrderByAggregateInput;
|
||||
}
|
||||
@ -0,0 +1,50 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { UserOrderByWithRelationInput } from '../user/user-order-by-with-relation.input';
|
||||
import { PersonOrderByRelationAggregateInput } from '../person/person-order-by-relation-aggregate.input';
|
||||
import { WorkspaceOrderByWithRelationInput } from '../workspace/workspace-order-by-with-relation.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyOrderByWithRelationInput {
|
||||
|
||||
@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})
|
||||
name?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
domainName?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
address?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
employees?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
accountOwnerId?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => UserOrderByWithRelationInput, {nullable:true})
|
||||
accountOwner?: UserOrderByWithRelationInput;
|
||||
|
||||
@Field(() => PersonOrderByRelationAggregateInput, {nullable:true})
|
||||
people?: PersonOrderByRelationAggregateInput;
|
||||
|
||||
@HideField()
|
||||
workspace?: WorkspaceOrderByWithRelationInput;
|
||||
}
|
||||
@ -0,0 +1,13 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyWhereInput } from './company-where.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyRelationFilter {
|
||||
|
||||
@Field(() => CompanyWhereInput, {nullable:true})
|
||||
is?: CompanyWhereInput;
|
||||
|
||||
@Field(() => CompanyWhereInput, {nullable:true})
|
||||
isNot?: CompanyWhereInput;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
import { registerEnumType } from '@nestjs/graphql';
|
||||
|
||||
export enum CompanyScalarFieldEnum {
|
||||
id = "id",
|
||||
createdAt = "createdAt",
|
||||
updatedAt = "updatedAt",
|
||||
deletedAt = "deletedAt",
|
||||
name = "name",
|
||||
domainName = "domainName",
|
||||
address = "address",
|
||||
employees = "employees",
|
||||
accountOwnerId = "accountOwnerId",
|
||||
workspaceId = "workspaceId"
|
||||
}
|
||||
|
||||
|
||||
registerEnumType(CompanyScalarFieldEnum, { name: 'CompanyScalarFieldEnum', description: undefined })
|
||||
@ -0,0 +1,51 @@
|
||||
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 { IntNullableWithAggregatesFilter } from '../prisma/int-nullable-with-aggregates-filter.input';
|
||||
import { StringNullableWithAggregatesFilter } from '../prisma/string-nullable-with-aggregates-filter.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class CompanyScalarWhereWithAggregatesInput {
|
||||
|
||||
@Field(() => [CompanyScalarWhereWithAggregatesInput], {nullable:true})
|
||||
AND?: Array<CompanyScalarWhereWithAggregatesInput>;
|
||||
|
||||
@Field(() => [CompanyScalarWhereWithAggregatesInput], {nullable:true})
|
||||
OR?: Array<CompanyScalarWhereWithAggregatesInput>;
|
||||
|
||||
@Field(() => [CompanyScalarWhereWithAggregatesInput], {nullable:true})
|
||||
NOT?: Array<CompanyScalarWhereWithAggregatesInput>;
|
||||
|
||||
@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})
|
||||
name?: StringWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
||||
domainName?: StringWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
||||
address?: StringWithAggregatesFilter;
|
||||
|
||||
@Field(() => IntNullableWithAggregatesFilter, {nullable:true})
|
||||
employees?: IntNullableWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringNullableWithAggregatesFilter, {nullable:true})
|
||||
accountOwnerId?: StringNullableWithAggregatesFilter;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringWithAggregatesFilter;
|
||||
}
|
||||
@ -0,0 +1,51 @@
|
||||
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 { IntNullableFilter } from '../prisma/int-nullable-filter.input';
|
||||
import { StringNullableFilter } from '../prisma/string-nullable-filter.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class CompanyScalarWhereInput {
|
||||
|
||||
@Field(() => [CompanyScalarWhereInput], {nullable:true})
|
||||
AND?: Array<CompanyScalarWhereInput>;
|
||||
|
||||
@Field(() => [CompanyScalarWhereInput], {nullable:true})
|
||||
OR?: Array<CompanyScalarWhereInput>;
|
||||
|
||||
@Field(() => [CompanyScalarWhereInput], {nullable:true})
|
||||
NOT?: Array<CompanyScalarWhereInput>;
|
||||
|
||||
@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})
|
||||
name?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
domainName?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
address?: StringFilter;
|
||||
|
||||
@Field(() => IntNullableFilter, {nullable:true})
|
||||
employees?: IntNullableFilter;
|
||||
|
||||
@Field(() => StringNullableFilter, {nullable:true})
|
||||
accountOwnerId?: StringNullableFilter;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringFilter;
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class CompanySumAggregateInput {
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
employees?: true;
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class CompanySumAggregate {
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
employees?: number;
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
|
||||
@InputType()
|
||||
export class CompanySumOrderByAggregateInput {
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
employees?: keyof typeof SortOrder;
|
||||
}
|
||||
@ -0,0 +1,27 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyCreateWithoutAccountOwnerInput } from './company-create-without-account-owner.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyCreateOrConnectWithoutAccountOwnerInput } from './company-create-or-connect-without-account-owner.input';
|
||||
import { CompanyCreateManyAccountOwnerInputEnvelope } from './company-create-many-account-owner-input-envelope.input';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput {
|
||||
|
||||
@Field(() => [CompanyCreateWithoutAccountOwnerInput], {nullable:true})
|
||||
@Type(() => CompanyCreateWithoutAccountOwnerInput)
|
||||
create?: Array<CompanyCreateWithoutAccountOwnerInput>;
|
||||
|
||||
@Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {nullable:true})
|
||||
@Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput)
|
||||
connectOrCreate?: Array<CompanyCreateOrConnectWithoutAccountOwnerInput>;
|
||||
|
||||
@Field(() => CompanyCreateManyAccountOwnerInputEnvelope, {nullable:true})
|
||||
@Type(() => CompanyCreateManyAccountOwnerInputEnvelope)
|
||||
createMany?: CompanyCreateManyAccountOwnerInputEnvelope;
|
||||
|
||||
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
connect?: Array<CompanyWhereUniqueInput>;
|
||||
}
|
||||
@ -0,0 +1,27 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyCreateWithoutWorkspaceInput } from './company-create-without-workspace.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyCreateOrConnectWithoutWorkspaceInput } from './company-create-or-connect-without-workspace.input';
|
||||
import { CompanyCreateManyWorkspaceInputEnvelope } from './company-create-many-workspace-input-envelope.input';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUncheckedCreateNestedManyWithoutWorkspaceInput {
|
||||
|
||||
@Field(() => [CompanyCreateWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => CompanyCreateWithoutWorkspaceInput)
|
||||
create?: Array<CompanyCreateWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => CompanyCreateOrConnectWithoutWorkspaceInput)
|
||||
connectOrCreate?: Array<CompanyCreateOrConnectWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => CompanyCreateManyWorkspaceInputEnvelope, {nullable:true})
|
||||
@Type(() => CompanyCreateManyWorkspaceInputEnvelope)
|
||||
createMany?: CompanyCreateManyWorkspaceInputEnvelope;
|
||||
|
||||
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
connect?: Array<CompanyWhereUniqueInput>;
|
||||
}
|
||||
@ -0,0 +1,39 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { PersonUncheckedCreateNestedManyWithoutCompanyInput } from '../person/person-unchecked-create-nested-many-without-company.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUncheckedCreateWithoutAccountOwnerInput {
|
||||
|
||||
@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})
|
||||
name!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
address!: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
employees?: number;
|
||||
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => PersonUncheckedCreateNestedManyWithoutCompanyInput, {nullable:true})
|
||||
people?: PersonUncheckedCreateNestedManyWithoutCompanyInput;
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUncheckedCreateWithoutPeopleInput {
|
||||
|
||||
@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})
|
||||
name!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
address!: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
employees?: number;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
accountOwnerId?: string;
|
||||
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { PersonUncheckedCreateNestedManyWithoutCompanyInput } from '../person/person-unchecked-create-nested-many-without-company.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUncheckedCreateWithoutWorkspaceInput {
|
||||
|
||||
@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})
|
||||
name!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
address!: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
employees?: number;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
accountOwnerId?: string;
|
||||
|
||||
@Field(() => PersonUncheckedCreateNestedManyWithoutCompanyInput, {nullable:true})
|
||||
people?: PersonUncheckedCreateNestedManyWithoutCompanyInput;
|
||||
}
|
||||
@ -0,0 +1,42 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { PersonUncheckedCreateNestedManyWithoutCompanyInput } from '../person/person-unchecked-create-nested-many-without-company.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUncheckedCreateInput {
|
||||
|
||||
@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})
|
||||
name!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
address!: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
employees?: number;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
accountOwnerId?: string;
|
||||
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => PersonUncheckedCreateNestedManyWithoutCompanyInput, {nullable:true})
|
||||
people?: PersonUncheckedCreateNestedManyWithoutCompanyInput;
|
||||
}
|
||||
@ -0,0 +1,59 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyCreateWithoutAccountOwnerInput } from './company-create-without-account-owner.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyCreateOrConnectWithoutAccountOwnerInput } from './company-create-or-connect-without-account-owner.input';
|
||||
import { CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput } from './company-upsert-with-where-unique-without-account-owner.input';
|
||||
import { CompanyCreateManyAccountOwnerInputEnvelope } from './company-create-many-account-owner-input-envelope.input';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
import { CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput } from './company-update-with-where-unique-without-account-owner.input';
|
||||
import { CompanyUpdateManyWithWhereWithoutAccountOwnerInput } from './company-update-many-with-where-without-account-owner.input';
|
||||
import { CompanyScalarWhereInput } from './company-scalar-where.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput {
|
||||
|
||||
@Field(() => [CompanyCreateWithoutAccountOwnerInput], {nullable:true})
|
||||
@Type(() => CompanyCreateWithoutAccountOwnerInput)
|
||||
create?: Array<CompanyCreateWithoutAccountOwnerInput>;
|
||||
|
||||
@Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {nullable:true})
|
||||
@Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput)
|
||||
connectOrCreate?: Array<CompanyCreateOrConnectWithoutAccountOwnerInput>;
|
||||
|
||||
@Field(() => [CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput], {nullable:true})
|
||||
@Type(() => CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput)
|
||||
upsert?: Array<CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput>;
|
||||
|
||||
@Field(() => CompanyCreateManyAccountOwnerInputEnvelope, {nullable:true})
|
||||
@Type(() => CompanyCreateManyAccountOwnerInputEnvelope)
|
||||
createMany?: CompanyCreateManyAccountOwnerInputEnvelope;
|
||||
|
||||
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
set?: Array<CompanyWhereUniqueInput>;
|
||||
|
||||
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
disconnect?: Array<CompanyWhereUniqueInput>;
|
||||
|
||||
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
delete?: Array<CompanyWhereUniqueInput>;
|
||||
|
||||
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
connect?: Array<CompanyWhereUniqueInput>;
|
||||
|
||||
@Field(() => [CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput], {nullable:true})
|
||||
@Type(() => CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput)
|
||||
update?: Array<CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput>;
|
||||
|
||||
@Field(() => [CompanyUpdateManyWithWhereWithoutAccountOwnerInput], {nullable:true})
|
||||
@Type(() => CompanyUpdateManyWithWhereWithoutAccountOwnerInput)
|
||||
updateMany?: Array<CompanyUpdateManyWithWhereWithoutAccountOwnerInput>;
|
||||
|
||||
@Field(() => [CompanyScalarWhereInput], {nullable:true})
|
||||
@Type(() => CompanyScalarWhereInput)
|
||||
deleteMany?: Array<CompanyScalarWhereInput>;
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
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 { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUncheckedUpdateManyWithoutCompaniesInput {
|
||||
|
||||
@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})
|
||||
name?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
domainName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
address?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||
employees?: NullableIntFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringFieldUpdateOperationsInput;
|
||||
}
|
||||
@ -0,0 +1,59 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyCreateWithoutWorkspaceInput } from './company-create-without-workspace.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyCreateOrConnectWithoutWorkspaceInput } from './company-create-or-connect-without-workspace.input';
|
||||
import { CompanyUpsertWithWhereUniqueWithoutWorkspaceInput } from './company-upsert-with-where-unique-without-workspace.input';
|
||||
import { CompanyCreateManyWorkspaceInputEnvelope } from './company-create-many-workspace-input-envelope.input';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
import { CompanyUpdateWithWhereUniqueWithoutWorkspaceInput } from './company-update-with-where-unique-without-workspace.input';
|
||||
import { CompanyUpdateManyWithWhereWithoutWorkspaceInput } from './company-update-many-with-where-without-workspace.input';
|
||||
import { CompanyScalarWhereInput } from './company-scalar-where.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput {
|
||||
|
||||
@Field(() => [CompanyCreateWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => CompanyCreateWithoutWorkspaceInput)
|
||||
create?: Array<CompanyCreateWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => CompanyCreateOrConnectWithoutWorkspaceInput)
|
||||
connectOrCreate?: Array<CompanyCreateOrConnectWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [CompanyUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => CompanyUpsertWithWhereUniqueWithoutWorkspaceInput)
|
||||
upsert?: Array<CompanyUpsertWithWhereUniqueWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => CompanyCreateManyWorkspaceInputEnvelope, {nullable:true})
|
||||
@Type(() => CompanyCreateManyWorkspaceInputEnvelope)
|
||||
createMany?: CompanyCreateManyWorkspaceInputEnvelope;
|
||||
|
||||
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
set?: Array<CompanyWhereUniqueInput>;
|
||||
|
||||
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
disconnect?: Array<CompanyWhereUniqueInput>;
|
||||
|
||||
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
delete?: Array<CompanyWhereUniqueInput>;
|
||||
|
||||
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
connect?: Array<CompanyWhereUniqueInput>;
|
||||
|
||||
@Field(() => [CompanyUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => CompanyUpdateWithWhereUniqueWithoutWorkspaceInput)
|
||||
update?: Array<CompanyUpdateWithWhereUniqueWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [CompanyUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => CompanyUpdateManyWithWhereWithoutWorkspaceInput)
|
||||
updateMany?: Array<CompanyUpdateManyWithWhereWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [CompanyScalarWhereInput], {nullable:true})
|
||||
@Type(() => CompanyScalarWhereInput)
|
||||
deleteMany?: Array<CompanyScalarWhereInput>;
|
||||
}
|
||||
@ -0,0 +1,42 @@
|
||||
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 { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||
import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUncheckedUpdateManyInput {
|
||||
|
||||
@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})
|
||||
name?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
domainName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
address?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||
employees?: NullableIntFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
accountOwnerId?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringFieldUpdateOperationsInput;
|
||||
}
|
||||
@ -0,0 +1,42 @@
|
||||
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 { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { PersonUncheckedUpdateManyWithoutCompanyNestedInput } from '../person/person-unchecked-update-many-without-company-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUncheckedUpdateWithoutAccountOwnerInput {
|
||||
|
||||
@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})
|
||||
name?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
domainName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
address?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||
employees?: NullableIntFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => PersonUncheckedUpdateManyWithoutCompanyNestedInput, {nullable:true})
|
||||
people?: PersonUncheckedUpdateManyWithoutCompanyNestedInput;
|
||||
}
|
||||
@ -0,0 +1,42 @@
|
||||
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 { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||
import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUncheckedUpdateWithoutPeopleInput {
|
||||
|
||||
@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})
|
||||
name?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
domainName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
address?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||
employees?: NullableIntFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
accountOwnerId?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringFieldUpdateOperationsInput;
|
||||
}
|
||||
@ -0,0 +1,42 @@
|
||||
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 { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||
import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';
|
||||
import { PersonUncheckedUpdateManyWithoutCompanyNestedInput } from '../person/person-unchecked-update-many-without-company-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUncheckedUpdateWithoutWorkspaceInput {
|
||||
|
||||
@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})
|
||||
name?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
domainName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
address?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||
employees?: NullableIntFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
accountOwnerId?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => PersonUncheckedUpdateManyWithoutCompanyNestedInput, {nullable:true})
|
||||
people?: PersonUncheckedUpdateManyWithoutCompanyNestedInput;
|
||||
}
|
||||
@ -0,0 +1,46 @@
|
||||
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 { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||
import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { PersonUncheckedUpdateManyWithoutCompanyNestedInput } from '../person/person-unchecked-update-many-without-company-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUncheckedUpdateInput {
|
||||
|
||||
@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})
|
||||
name?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
domainName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
address?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||
employees?: NullableIntFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
accountOwnerId?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => PersonUncheckedUpdateManyWithoutCompanyNestedInput, {nullable:true})
|
||||
people?: PersonUncheckedUpdateManyWithoutCompanyNestedInput;
|
||||
}
|
||||
@ -0,0 +1,34 @@
|
||||
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 { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUpdateManyMutationInput {
|
||||
|
||||
@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})
|
||||
name?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
domainName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
address?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||
employees?: NullableIntFieldUpdateOperationsInput;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyScalarWhereInput } from './company-scalar-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyUpdateManyMutationInput } from './company-update-many-mutation.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUpdateManyWithWhereWithoutAccountOwnerInput {
|
||||
|
||||
@Field(() => CompanyScalarWhereInput, {nullable:false})
|
||||
@Type(() => CompanyScalarWhereInput)
|
||||
where!: CompanyScalarWhereInput;
|
||||
|
||||
@Field(() => CompanyUpdateManyMutationInput, {nullable:false})
|
||||
@Type(() => CompanyUpdateManyMutationInput)
|
||||
data!: CompanyUpdateManyMutationInput;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyScalarWhereInput } from './company-scalar-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyUpdateManyMutationInput } from './company-update-many-mutation.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUpdateManyWithWhereWithoutWorkspaceInput {
|
||||
|
||||
@Field(() => CompanyScalarWhereInput, {nullable:false})
|
||||
@Type(() => CompanyScalarWhereInput)
|
||||
where!: CompanyScalarWhereInput;
|
||||
|
||||
@Field(() => CompanyUpdateManyMutationInput, {nullable:false})
|
||||
@Type(() => CompanyUpdateManyMutationInput)
|
||||
data!: CompanyUpdateManyMutationInput;
|
||||
}
|
||||
@ -0,0 +1,59 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyCreateWithoutAccountOwnerInput } from './company-create-without-account-owner.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyCreateOrConnectWithoutAccountOwnerInput } from './company-create-or-connect-without-account-owner.input';
|
||||
import { CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput } from './company-upsert-with-where-unique-without-account-owner.input';
|
||||
import { CompanyCreateManyAccountOwnerInputEnvelope } from './company-create-many-account-owner-input-envelope.input';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
import { CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput } from './company-update-with-where-unique-without-account-owner.input';
|
||||
import { CompanyUpdateManyWithWhereWithoutAccountOwnerInput } from './company-update-many-with-where-without-account-owner.input';
|
||||
import { CompanyScalarWhereInput } from './company-scalar-where.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUpdateManyWithoutAccountOwnerNestedInput {
|
||||
|
||||
@Field(() => [CompanyCreateWithoutAccountOwnerInput], {nullable:true})
|
||||
@Type(() => CompanyCreateWithoutAccountOwnerInput)
|
||||
create?: Array<CompanyCreateWithoutAccountOwnerInput>;
|
||||
|
||||
@Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {nullable:true})
|
||||
@Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput)
|
||||
connectOrCreate?: Array<CompanyCreateOrConnectWithoutAccountOwnerInput>;
|
||||
|
||||
@Field(() => [CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput], {nullable:true})
|
||||
@Type(() => CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput)
|
||||
upsert?: Array<CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput>;
|
||||
|
||||
@Field(() => CompanyCreateManyAccountOwnerInputEnvelope, {nullable:true})
|
||||
@Type(() => CompanyCreateManyAccountOwnerInputEnvelope)
|
||||
createMany?: CompanyCreateManyAccountOwnerInputEnvelope;
|
||||
|
||||
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
set?: Array<CompanyWhereUniqueInput>;
|
||||
|
||||
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
disconnect?: Array<CompanyWhereUniqueInput>;
|
||||
|
||||
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
delete?: Array<CompanyWhereUniqueInput>;
|
||||
|
||||
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
connect?: Array<CompanyWhereUniqueInput>;
|
||||
|
||||
@Field(() => [CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput], {nullable:true})
|
||||
@Type(() => CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput)
|
||||
update?: Array<CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput>;
|
||||
|
||||
@Field(() => [CompanyUpdateManyWithWhereWithoutAccountOwnerInput], {nullable:true})
|
||||
@Type(() => CompanyUpdateManyWithWhereWithoutAccountOwnerInput)
|
||||
updateMany?: Array<CompanyUpdateManyWithWhereWithoutAccountOwnerInput>;
|
||||
|
||||
@Field(() => [CompanyScalarWhereInput], {nullable:true})
|
||||
@Type(() => CompanyScalarWhereInput)
|
||||
deleteMany?: Array<CompanyScalarWhereInput>;
|
||||
}
|
||||
@ -0,0 +1,59 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyCreateWithoutWorkspaceInput } from './company-create-without-workspace.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyCreateOrConnectWithoutWorkspaceInput } from './company-create-or-connect-without-workspace.input';
|
||||
import { CompanyUpsertWithWhereUniqueWithoutWorkspaceInput } from './company-upsert-with-where-unique-without-workspace.input';
|
||||
import { CompanyCreateManyWorkspaceInputEnvelope } from './company-create-many-workspace-input-envelope.input';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
import { CompanyUpdateWithWhereUniqueWithoutWorkspaceInput } from './company-update-with-where-unique-without-workspace.input';
|
||||
import { CompanyUpdateManyWithWhereWithoutWorkspaceInput } from './company-update-many-with-where-without-workspace.input';
|
||||
import { CompanyScalarWhereInput } from './company-scalar-where.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUpdateManyWithoutWorkspaceNestedInput {
|
||||
|
||||
@Field(() => [CompanyCreateWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => CompanyCreateWithoutWorkspaceInput)
|
||||
create?: Array<CompanyCreateWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => CompanyCreateOrConnectWithoutWorkspaceInput)
|
||||
connectOrCreate?: Array<CompanyCreateOrConnectWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [CompanyUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => CompanyUpsertWithWhereUniqueWithoutWorkspaceInput)
|
||||
upsert?: Array<CompanyUpsertWithWhereUniqueWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => CompanyCreateManyWorkspaceInputEnvelope, {nullable:true})
|
||||
@Type(() => CompanyCreateManyWorkspaceInputEnvelope)
|
||||
createMany?: CompanyCreateManyWorkspaceInputEnvelope;
|
||||
|
||||
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
set?: Array<CompanyWhereUniqueInput>;
|
||||
|
||||
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
disconnect?: Array<CompanyWhereUniqueInput>;
|
||||
|
||||
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
delete?: Array<CompanyWhereUniqueInput>;
|
||||
|
||||
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
connect?: Array<CompanyWhereUniqueInput>;
|
||||
|
||||
@Field(() => [CompanyUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => CompanyUpdateWithWhereUniqueWithoutWorkspaceInput)
|
||||
update?: Array<CompanyUpdateWithWhereUniqueWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [CompanyUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => CompanyUpdateManyWithWhereWithoutWorkspaceInput)
|
||||
updateMany?: Array<CompanyUpdateManyWithWhereWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [CompanyScalarWhereInput], {nullable:true})
|
||||
@Type(() => CompanyScalarWhereInput)
|
||||
deleteMany?: Array<CompanyScalarWhereInput>;
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyCreateWithoutPeopleInput } from './company-create-without-people.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyCreateOrConnectWithoutPeopleInput } from './company-create-or-connect-without-people.input';
|
||||
import { CompanyUpsertWithoutPeopleInput } from './company-upsert-without-people.input';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
import { CompanyUpdateWithoutPeopleInput } from './company-update-without-people.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUpdateOneWithoutPeopleNestedInput {
|
||||
|
||||
@Field(() => CompanyCreateWithoutPeopleInput, {nullable:true})
|
||||
@Type(() => CompanyCreateWithoutPeopleInput)
|
||||
create?: CompanyCreateWithoutPeopleInput;
|
||||
|
||||
@Field(() => CompanyCreateOrConnectWithoutPeopleInput, {nullable:true})
|
||||
@Type(() => CompanyCreateOrConnectWithoutPeopleInput)
|
||||
connectOrCreate?: CompanyCreateOrConnectWithoutPeopleInput;
|
||||
|
||||
@Field(() => CompanyUpsertWithoutPeopleInput, {nullable:true})
|
||||
@Type(() => CompanyUpsertWithoutPeopleInput)
|
||||
upsert?: CompanyUpsertWithoutPeopleInput;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
disconnect?: boolean;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
delete?: boolean;
|
||||
|
||||
@Field(() => CompanyWhereUniqueInput, {nullable:true})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
connect?: CompanyWhereUniqueInput;
|
||||
|
||||
@Field(() => CompanyUpdateWithoutPeopleInput, {nullable:true})
|
||||
@Type(() => CompanyUpdateWithoutPeopleInput)
|
||||
update?: CompanyUpdateWithoutPeopleInput;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyUpdateWithoutAccountOwnerInput } from './company-update-without-account-owner.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput {
|
||||
|
||||
@Field(() => CompanyWhereUniqueInput, {nullable:false})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
where!: CompanyWhereUniqueInput;
|
||||
|
||||
@Field(() => CompanyUpdateWithoutAccountOwnerInput, {nullable:false})
|
||||
@Type(() => CompanyUpdateWithoutAccountOwnerInput)
|
||||
data!: CompanyUpdateWithoutAccountOwnerInput;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyUpdateWithoutWorkspaceInput } from './company-update-without-workspace.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUpdateWithWhereUniqueWithoutWorkspaceInput {
|
||||
|
||||
@Field(() => CompanyWhereUniqueInput, {nullable:false})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
where!: CompanyWhereUniqueInput;
|
||||
|
||||
@Field(() => CompanyUpdateWithoutWorkspaceInput, {nullable:false})
|
||||
@Type(() => CompanyUpdateWithoutWorkspaceInput)
|
||||
data!: CompanyUpdateWithoutWorkspaceInput;
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||
import { PersonUpdateManyWithoutCompanyNestedInput } from '../person/person-update-many-without-company-nested.input';
|
||||
import { WorkspaceUpdateOneRequiredWithoutCompaniesNestedInput } from '../workspace/workspace-update-one-required-without-companies-nested.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUpdateWithoutAccountOwnerInput {
|
||||
|
||||
@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})
|
||||
name?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
domainName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
address?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||
employees?: NullableIntFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => PersonUpdateManyWithoutCompanyNestedInput, {nullable:true})
|
||||
people?: PersonUpdateManyWithoutCompanyNestedInput;
|
||||
|
||||
@HideField()
|
||||
workspace?: WorkspaceUpdateOneRequiredWithoutCompaniesNestedInput;
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||
import { UserUpdateOneWithoutCompaniesNestedInput } from '../user/user-update-one-without-companies-nested.input';
|
||||
import { WorkspaceUpdateOneRequiredWithoutCompaniesNestedInput } from '../workspace/workspace-update-one-required-without-companies-nested.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUpdateWithoutPeopleInput {
|
||||
|
||||
@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})
|
||||
name?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
domainName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
address?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||
employees?: NullableIntFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => UserUpdateOneWithoutCompaniesNestedInput, {nullable:true})
|
||||
accountOwner?: UserUpdateOneWithoutCompaniesNestedInput;
|
||||
|
||||
@HideField()
|
||||
workspace?: WorkspaceUpdateOneRequiredWithoutCompaniesNestedInput;
|
||||
}
|
||||
@ -0,0 +1,42 @@
|
||||
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 { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||
import { UserUpdateOneWithoutCompaniesNestedInput } from '../user/user-update-one-without-companies-nested.input';
|
||||
import { PersonUpdateManyWithoutCompanyNestedInput } from '../person/person-update-many-without-company-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUpdateWithoutWorkspaceInput {
|
||||
|
||||
@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})
|
||||
name?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
domainName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
address?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||
employees?: NullableIntFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => UserUpdateOneWithoutCompaniesNestedInput, {nullable:true})
|
||||
accountOwner?: UserUpdateOneWithoutCompaniesNestedInput;
|
||||
|
||||
@Field(() => PersonUpdateManyWithoutCompanyNestedInput, {nullable:true})
|
||||
people?: PersonUpdateManyWithoutCompanyNestedInput;
|
||||
}
|
||||
47
server/src/api/@generated/company/company-update.input.ts
Normal file
47
server/src/api/@generated/company/company-update.input.ts
Normal file
@ -0,0 +1,47 @@
|
||||
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 { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input';
|
||||
import { UserUpdateOneWithoutCompaniesNestedInput } from '../user/user-update-one-without-companies-nested.input';
|
||||
import { PersonUpdateManyWithoutCompanyNestedInput } from '../person/person-update-many-without-company-nested.input';
|
||||
import { WorkspaceUpdateOneRequiredWithoutCompaniesNestedInput } from '../workspace/workspace-update-one-required-without-companies-nested.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUpdateInput {
|
||||
|
||||
@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})
|
||||
name?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
domainName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
address?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
|
||||
employees?: NullableIntFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => UserUpdateOneWithoutCompaniesNestedInput, {nullable:true})
|
||||
accountOwner?: UserUpdateOneWithoutCompaniesNestedInput;
|
||||
|
||||
@Field(() => PersonUpdateManyWithoutCompanyNestedInput, {nullable:true})
|
||||
people?: PersonUpdateManyWithoutCompanyNestedInput;
|
||||
|
||||
@HideField()
|
||||
workspace?: WorkspaceUpdateOneRequiredWithoutCompaniesNestedInput;
|
||||
}
|
||||
@ -0,0 +1,22 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyUpdateWithoutAccountOwnerInput } from './company-update-without-account-owner.input';
|
||||
import { CompanyCreateWithoutAccountOwnerInput } from './company-create-without-account-owner.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput {
|
||||
|
||||
@Field(() => CompanyWhereUniqueInput, {nullable:false})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
where!: CompanyWhereUniqueInput;
|
||||
|
||||
@Field(() => CompanyUpdateWithoutAccountOwnerInput, {nullable:false})
|
||||
@Type(() => CompanyUpdateWithoutAccountOwnerInput)
|
||||
update!: CompanyUpdateWithoutAccountOwnerInput;
|
||||
|
||||
@Field(() => CompanyCreateWithoutAccountOwnerInput, {nullable:false})
|
||||
@Type(() => CompanyCreateWithoutAccountOwnerInput)
|
||||
create!: CompanyCreateWithoutAccountOwnerInput;
|
||||
}
|
||||
@ -0,0 +1,22 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyUpdateWithoutWorkspaceInput } from './company-update-without-workspace.input';
|
||||
import { CompanyCreateWithoutWorkspaceInput } from './company-create-without-workspace.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUpsertWithWhereUniqueWithoutWorkspaceInput {
|
||||
|
||||
@Field(() => CompanyWhereUniqueInput, {nullable:false})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
where!: CompanyWhereUniqueInput;
|
||||
|
||||
@Field(() => CompanyUpdateWithoutWorkspaceInput, {nullable:false})
|
||||
@Type(() => CompanyUpdateWithoutWorkspaceInput)
|
||||
update!: CompanyUpdateWithoutWorkspaceInput;
|
||||
|
||||
@Field(() => CompanyCreateWithoutWorkspaceInput, {nullable:false})
|
||||
@Type(() => CompanyCreateWithoutWorkspaceInput)
|
||||
create!: CompanyCreateWithoutWorkspaceInput;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyUpdateWithoutPeopleInput } from './company-update-without-people.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyCreateWithoutPeopleInput } from './company-create-without-people.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyUpsertWithoutPeopleInput {
|
||||
|
||||
@Field(() => CompanyUpdateWithoutPeopleInput, {nullable:false})
|
||||
@Type(() => CompanyUpdateWithoutPeopleInput)
|
||||
update!: CompanyUpdateWithoutPeopleInput;
|
||||
|
||||
@Field(() => CompanyCreateWithoutPeopleInput, {nullable:false})
|
||||
@Type(() => CompanyCreateWithoutPeopleInput)
|
||||
create!: CompanyCreateWithoutPeopleInput;
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class CompanyWhereUniqueInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
id?: string;
|
||||
}
|
||||
63
server/src/api/@generated/company/company-where.input.ts
Normal file
63
server/src/api/@generated/company/company-where.input.ts
Normal file
@ -0,0 +1,63 @@
|
||||
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 { IntNullableFilter } from '../prisma/int-nullable-filter.input';
|
||||
import { StringNullableFilter } from '../prisma/string-nullable-filter.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { UserRelationFilter } from '../user/user-relation-filter.input';
|
||||
import { PersonListRelationFilter } from '../person/person-list-relation-filter.input';
|
||||
import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter.input';
|
||||
|
||||
@InputType()
|
||||
export class CompanyWhereInput {
|
||||
|
||||
@Field(() => [CompanyWhereInput], {nullable:true})
|
||||
AND?: Array<CompanyWhereInput>;
|
||||
|
||||
@Field(() => [CompanyWhereInput], {nullable:true})
|
||||
OR?: Array<CompanyWhereInput>;
|
||||
|
||||
@Field(() => [CompanyWhereInput], {nullable:true})
|
||||
NOT?: Array<CompanyWhereInput>;
|
||||
|
||||
@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})
|
||||
name?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
domainName?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
address?: StringFilter;
|
||||
|
||||
@Field(() => IntNullableFilter, {nullable:true})
|
||||
employees?: IntNullableFilter;
|
||||
|
||||
@Field(() => StringNullableFilter, {nullable:true})
|
||||
accountOwnerId?: StringNullableFilter;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringFilter;
|
||||
|
||||
@Field(() => UserRelationFilter, {nullable:true})
|
||||
accountOwner?: UserRelationFilter;
|
||||
|
||||
@Field(() => PersonListRelationFilter, {nullable:true})
|
||||
people?: PersonListRelationFilter;
|
||||
|
||||
@HideField()
|
||||
workspace?: WorkspaceRelationFilter;
|
||||
}
|
||||
54
server/src/api/@generated/company/company.model.ts
Normal file
54
server/src/api/@generated/company/company.model.ts
Normal file
@ -0,0 +1,54 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { ID } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { User } from '../user/user.model';
|
||||
import { Person } from '../person/person.model';
|
||||
import { Workspace } from '../workspace/workspace.model';
|
||||
import { CompanyCount } from './company-count.output';
|
||||
|
||||
@ObjectType()
|
||||
export class Company {
|
||||
|
||||
@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})
|
||||
name!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
address!: string;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
employees!: number | null;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
accountOwnerId!: string | null;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => User, {nullable:true})
|
||||
accountOwner?: User | null;
|
||||
|
||||
@Field(() => [Person], {nullable:true})
|
||||
people?: Array<Person>;
|
||||
|
||||
@Field(() => Workspace, {nullable:false})
|
||||
workspace?: Workspace;
|
||||
|
||||
@Field(() => CompanyCount, {nullable:false})
|
||||
_count?: CompanyCount;
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { CompanyCreateManyInput } from './company-create-many.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class CreateManyCompanyArgs {
|
||||
|
||||
@Field(() => [CompanyCreateManyInput], {nullable:false})
|
||||
@Type(() => CompanyCreateManyInput)
|
||||
data!: Array<CompanyCreateManyInput>;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
skipDuplicates?: boolean;
|
||||
}
|
||||
12
server/src/api/@generated/company/create-one-company.args.ts
Normal file
12
server/src/api/@generated/company/create-one-company.args.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { CompanyCreateInput } from './company-create.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class CreateOneCompanyArgs {
|
||||
|
||||
@Field(() => CompanyCreateInput, {nullable:false})
|
||||
@Type(() => CompanyCreateInput)
|
||||
data!: CompanyCreateInput;
|
||||
}
|
||||
@ -0,0 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { CompanyWhereInput } from './company-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class DeleteManyCompanyArgs {
|
||||
|
||||
@Field(() => CompanyWhereInput, {nullable:true})
|
||||
@Type(() => CompanyWhereInput)
|
||||
where?: CompanyWhereInput;
|
||||
}
|
||||
12
server/src/api/@generated/company/delete-one-company.args.ts
Normal file
12
server/src/api/@generated/company/delete-one-company.args.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class DeleteOneCompanyArgs {
|
||||
|
||||
@Field(() => CompanyWhereUniqueInput, {nullable:false})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
where!: CompanyWhereUniqueInput;
|
||||
}
|
||||
@ -0,0 +1,31 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { CompanyWhereInput } from './company-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyOrderByWithRelationInput } from './company-order-by-with-relation.input';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { CompanyScalarFieldEnum } from './company-scalar-field.enum';
|
||||
|
||||
@ArgsType()
|
||||
export class FindFirstCompanyOrThrowArgs {
|
||||
|
||||
@Field(() => CompanyWhereInput, {nullable:true})
|
||||
@Type(() => CompanyWhereInput)
|
||||
where?: CompanyWhereInput;
|
||||
|
||||
@Field(() => [CompanyOrderByWithRelationInput], {nullable:true})
|
||||
orderBy?: Array<CompanyOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => CompanyWhereUniqueInput, {nullable:true})
|
||||
cursor?: CompanyWhereUniqueInput;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
skip?: number;
|
||||
|
||||
@Field(() => [CompanyScalarFieldEnum], {nullable:true})
|
||||
distinct?: Array<keyof typeof CompanyScalarFieldEnum>;
|
||||
}
|
||||
31
server/src/api/@generated/company/find-first-company.args.ts
Normal file
31
server/src/api/@generated/company/find-first-company.args.ts
Normal file
@ -0,0 +1,31 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { CompanyWhereInput } from './company-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyOrderByWithRelationInput } from './company-order-by-with-relation.input';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { CompanyScalarFieldEnum } from './company-scalar-field.enum';
|
||||
|
||||
@ArgsType()
|
||||
export class FindFirstCompanyArgs {
|
||||
|
||||
@Field(() => CompanyWhereInput, {nullable:true})
|
||||
@Type(() => CompanyWhereInput)
|
||||
where?: CompanyWhereInput;
|
||||
|
||||
@Field(() => [CompanyOrderByWithRelationInput], {nullable:true})
|
||||
orderBy?: Array<CompanyOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => CompanyWhereUniqueInput, {nullable:true})
|
||||
cursor?: CompanyWhereUniqueInput;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
skip?: number;
|
||||
|
||||
@Field(() => [CompanyScalarFieldEnum], {nullable:true})
|
||||
distinct?: Array<keyof typeof CompanyScalarFieldEnum>;
|
||||
}
|
||||
31
server/src/api/@generated/company/find-many-company.args.ts
Normal file
31
server/src/api/@generated/company/find-many-company.args.ts
Normal file
@ -0,0 +1,31 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { CompanyWhereInput } from './company-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyOrderByWithRelationInput } from './company-order-by-with-relation.input';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { CompanyScalarFieldEnum } from './company-scalar-field.enum';
|
||||
|
||||
@ArgsType()
|
||||
export class FindManyCompanyArgs {
|
||||
|
||||
@Field(() => CompanyWhereInput, {nullable:true})
|
||||
@Type(() => CompanyWhereInput)
|
||||
where?: CompanyWhereInput;
|
||||
|
||||
@Field(() => [CompanyOrderByWithRelationInput], {nullable:true})
|
||||
orderBy?: Array<CompanyOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => CompanyWhereUniqueInput, {nullable:true})
|
||||
cursor?: CompanyWhereUniqueInput;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
skip?: number;
|
||||
|
||||
@Field(() => [CompanyScalarFieldEnum], {nullable:true})
|
||||
distinct?: Array<keyof typeof CompanyScalarFieldEnum>;
|
||||
}
|
||||
@ -0,0 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class FindUniqueCompanyOrThrowArgs {
|
||||
|
||||
@Field(() => CompanyWhereUniqueInput, {nullable:false})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
where!: CompanyWhereUniqueInput;
|
||||
}
|
||||
@ -0,0 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class FindUniqueCompanyArgs {
|
||||
|
||||
@Field(() => CompanyWhereUniqueInput, {nullable:false})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
where!: CompanyWhereUniqueInput;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { CompanyUpdateManyMutationInput } from './company-update-many-mutation.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyWhereInput } from './company-where.input';
|
||||
|
||||
@ArgsType()
|
||||
export class UpdateManyCompanyArgs {
|
||||
|
||||
@Field(() => CompanyUpdateManyMutationInput, {nullable:false})
|
||||
@Type(() => CompanyUpdateManyMutationInput)
|
||||
data!: CompanyUpdateManyMutationInput;
|
||||
|
||||
@Field(() => CompanyWhereInput, {nullable:true})
|
||||
@Type(() => CompanyWhereInput)
|
||||
where?: CompanyWhereInput;
|
||||
}
|
||||
17
server/src/api/@generated/company/update-one-company.args.ts
Normal file
17
server/src/api/@generated/company/update-one-company.args.ts
Normal file
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { CompanyUpdateInput } from './company-update.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
|
||||
@ArgsType()
|
||||
export class UpdateOneCompanyArgs {
|
||||
|
||||
@Field(() => CompanyUpdateInput, {nullable:false})
|
||||
@Type(() => CompanyUpdateInput)
|
||||
data!: CompanyUpdateInput;
|
||||
|
||||
@Field(() => CompanyWhereUniqueInput, {nullable:false})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
where!: CompanyWhereUniqueInput;
|
||||
}
|
||||
22
server/src/api/@generated/company/upsert-one-company.args.ts
Normal file
22
server/src/api/@generated/company/upsert-one-company.args.ts
Normal file
@ -0,0 +1,22 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CompanyCreateInput } from './company-create.input';
|
||||
import { CompanyUpdateInput } from './company-update.input';
|
||||
|
||||
@ArgsType()
|
||||
export class UpsertOneCompanyArgs {
|
||||
|
||||
@Field(() => CompanyWhereUniqueInput, {nullable:false})
|
||||
@Type(() => CompanyWhereUniqueInput)
|
||||
where!: CompanyWhereUniqueInput;
|
||||
|
||||
@Field(() => CompanyCreateInput, {nullable:false})
|
||||
@Type(() => CompanyCreateInput)
|
||||
create!: CompanyCreateInput;
|
||||
|
||||
@Field(() => CompanyUpdateInput, {nullable:false})
|
||||
@Type(() => CompanyUpdateInput)
|
||||
update!: CompanyUpdateInput;
|
||||
}
|
||||
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;
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user