Implement scoping on be (#144)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { WorkspaceCountAggregate } from './workspace-count-aggregate.output';
|
||||
import { WorkspaceMinAggregate } from './workspace-min-aggregate.output';
|
||||
import { WorkspaceMaxAggregate } from './workspace-max-aggregate.output';
|
||||
|
||||
@ObjectType()
|
||||
export class AggregateWorkspace {
|
||||
|
||||
@Field(() => WorkspaceCountAggregate, {nullable:true})
|
||||
_count?: WorkspaceCountAggregate;
|
||||
|
||||
@Field(() => WorkspaceMinAggregate, {nullable:true})
|
||||
_min?: WorkspaceMinAggregate;
|
||||
|
||||
@Field(() => WorkspaceMaxAggregate, {nullable:true})
|
||||
_max?: WorkspaceMaxAggregate;
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { WorkspaceCreateManyInput } from './workspace-create-many.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class CreateManyWorkspaceArgs {
|
||||
|
||||
@Field(() => [WorkspaceCreateManyInput], {nullable:false})
|
||||
@Type(() => WorkspaceCreateManyInput)
|
||||
data!: Array<WorkspaceCreateManyInput>;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
skipDuplicates?: boolean;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { WorkspaceCreateInput } from './workspace-create.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class CreateOneWorkspaceArgs {
|
||||
|
||||
@Field(() => WorkspaceCreateInput, {nullable:false})
|
||||
@Type(() => WorkspaceCreateInput)
|
||||
data!: WorkspaceCreateInput;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { WorkspaceWhereInput } from './workspace-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class DeleteManyWorkspaceArgs {
|
||||
|
||||
@Field(() => WorkspaceWhereInput, {nullable:true})
|
||||
@Type(() => WorkspaceWhereInput)
|
||||
where?: WorkspaceWhereInput;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class DeleteOneWorkspaceArgs {
|
||||
|
||||
@Field(() => WorkspaceWhereUniqueInput, {nullable:false})
|
||||
@Type(() => WorkspaceWhereUniqueInput)
|
||||
where!: WorkspaceWhereUniqueInput;
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { WorkspaceWhereInput } from './workspace-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { WorkspaceOrderByWithRelationInput } from './workspace-order-by-with-relation.input';
|
||||
import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { WorkspaceScalarFieldEnum } from './workspace-scalar-field.enum';
|
||||
|
||||
@ArgsType()
|
||||
export class FindFirstWorkspaceOrThrowArgs {
|
||||
|
||||
@Field(() => WorkspaceWhereInput, {nullable:true})
|
||||
@Type(() => WorkspaceWhereInput)
|
||||
where?: WorkspaceWhereInput;
|
||||
|
||||
@Field(() => [WorkspaceOrderByWithRelationInput], {nullable:true})
|
||||
orderBy?: Array<WorkspaceOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => WorkspaceWhereUniqueInput, {nullable:true})
|
||||
cursor?: WorkspaceWhereUniqueInput;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
skip?: number;
|
||||
|
||||
@Field(() => [WorkspaceScalarFieldEnum], {nullable:true})
|
||||
distinct?: Array<keyof typeof WorkspaceScalarFieldEnum>;
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { WorkspaceWhereInput } from './workspace-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { WorkspaceOrderByWithRelationInput } from './workspace-order-by-with-relation.input';
|
||||
import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { WorkspaceScalarFieldEnum } from './workspace-scalar-field.enum';
|
||||
|
||||
@ArgsType()
|
||||
export class FindFirstWorkspaceArgs {
|
||||
|
||||
@Field(() => WorkspaceWhereInput, {nullable:true})
|
||||
@Type(() => WorkspaceWhereInput)
|
||||
where?: WorkspaceWhereInput;
|
||||
|
||||
@Field(() => [WorkspaceOrderByWithRelationInput], {nullable:true})
|
||||
orderBy?: Array<WorkspaceOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => WorkspaceWhereUniqueInput, {nullable:true})
|
||||
cursor?: WorkspaceWhereUniqueInput;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
skip?: number;
|
||||
|
||||
@Field(() => [WorkspaceScalarFieldEnum], {nullable:true})
|
||||
distinct?: Array<keyof typeof WorkspaceScalarFieldEnum>;
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { WorkspaceWhereInput } from './workspace-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { WorkspaceOrderByWithRelationInput } from './workspace-order-by-with-relation.input';
|
||||
import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { WorkspaceScalarFieldEnum } from './workspace-scalar-field.enum';
|
||||
|
||||
@ArgsType()
|
||||
export class FindManyWorkspaceArgs {
|
||||
|
||||
@Field(() => WorkspaceWhereInput, {nullable:true})
|
||||
@Type(() => WorkspaceWhereInput)
|
||||
where?: WorkspaceWhereInput;
|
||||
|
||||
@Field(() => [WorkspaceOrderByWithRelationInput], {nullable:true})
|
||||
orderBy?: Array<WorkspaceOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => WorkspaceWhereUniqueInput, {nullable:true})
|
||||
cursor?: WorkspaceWhereUniqueInput;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
skip?: number;
|
||||
|
||||
@Field(() => [WorkspaceScalarFieldEnum], {nullable:true})
|
||||
distinct?: Array<keyof typeof WorkspaceScalarFieldEnum>;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class FindUniqueWorkspaceOrThrowArgs {
|
||||
|
||||
@Field(() => WorkspaceWhereUniqueInput, {nullable:false})
|
||||
@Type(() => WorkspaceWhereUniqueInput)
|
||||
where!: WorkspaceWhereUniqueInput;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@ArgsType()
|
||||
export class FindUniqueWorkspaceArgs {
|
||||
|
||||
@Field(() => WorkspaceWhereUniqueInput, {nullable:false})
|
||||
@Type(() => WorkspaceWhereUniqueInput)
|
||||
where!: WorkspaceWhereUniqueInput;
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { WorkspaceUpdateManyMutationInput } from './workspace-update-many-mutation.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { WorkspaceWhereInput } from './workspace-where.input';
|
||||
|
||||
@ArgsType()
|
||||
export class UpdateManyWorkspaceArgs {
|
||||
|
||||
@Field(() => WorkspaceUpdateManyMutationInput, {nullable:false})
|
||||
@Type(() => WorkspaceUpdateManyMutationInput)
|
||||
data!: WorkspaceUpdateManyMutationInput;
|
||||
|
||||
@Field(() => WorkspaceWhereInput, {nullable:true})
|
||||
@Type(() => WorkspaceWhereInput)
|
||||
where?: WorkspaceWhereInput;
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { WorkspaceUpdateInput } from './workspace-update.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';
|
||||
|
||||
@ArgsType()
|
||||
export class UpdateOneWorkspaceArgs {
|
||||
|
||||
@Field(() => WorkspaceUpdateInput, {nullable:false})
|
||||
@Type(() => WorkspaceUpdateInput)
|
||||
data!: WorkspaceUpdateInput;
|
||||
|
||||
@Field(() => WorkspaceWhereUniqueInput, {nullable:false})
|
||||
@Type(() => WorkspaceWhereUniqueInput)
|
||||
where!: WorkspaceWhereUniqueInput;
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { WorkspaceCreateInput } from './workspace-create.input';
|
||||
import { WorkspaceUpdateInput } from './workspace-update.input';
|
||||
|
||||
@ArgsType()
|
||||
export class UpsertOneWorkspaceArgs {
|
||||
|
||||
@Field(() => WorkspaceWhereUniqueInput, {nullable:false})
|
||||
@Type(() => WorkspaceWhereUniqueInput)
|
||||
where!: WorkspaceWhereUniqueInput;
|
||||
|
||||
@Field(() => WorkspaceCreateInput, {nullable:false})
|
||||
@Type(() => WorkspaceCreateInput)
|
||||
create!: WorkspaceCreateInput;
|
||||
|
||||
@Field(() => WorkspaceUpdateInput, {nullable:false})
|
||||
@Type(() => WorkspaceUpdateInput)
|
||||
update!: WorkspaceUpdateInput;
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { WorkspaceWhereInput } from './workspace-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { WorkspaceOrderByWithRelationInput } from './workspace-order-by-with-relation.input';
|
||||
import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { WorkspaceCountAggregateInput } from './workspace-count-aggregate.input';
|
||||
import { WorkspaceMinAggregateInput } from './workspace-min-aggregate.input';
|
||||
import { WorkspaceMaxAggregateInput } from './workspace-max-aggregate.input';
|
||||
|
||||
@ArgsType()
|
||||
export class WorkspaceAggregateArgs {
|
||||
|
||||
@Field(() => WorkspaceWhereInput, {nullable:true})
|
||||
@Type(() => WorkspaceWhereInput)
|
||||
where?: WorkspaceWhereInput;
|
||||
|
||||
@Field(() => [WorkspaceOrderByWithRelationInput], {nullable:true})
|
||||
orderBy?: Array<WorkspaceOrderByWithRelationInput>;
|
||||
|
||||
@Field(() => WorkspaceWhereUniqueInput, {nullable:true})
|
||||
cursor?: WorkspaceWhereUniqueInput;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
skip?: number;
|
||||
|
||||
@Field(() => WorkspaceCountAggregateInput, {nullable:true})
|
||||
_count?: WorkspaceCountAggregateInput;
|
||||
|
||||
@Field(() => WorkspaceMinAggregateInput, {nullable:true})
|
||||
_min?: WorkspaceMinAggregateInput;
|
||||
|
||||
@Field(() => WorkspaceMaxAggregateInput, {nullable:true})
|
||||
_max?: WorkspaceMaxAggregateInput;
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceCountAggregateInput {
|
||||
|
||||
@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})
|
||||
domainName?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
displayName?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
_all?: true;
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class WorkspaceCountAggregate {
|
||||
|
||||
@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})
|
||||
domainName!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
displayName!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
_all!: number;
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceCountOrderByAggregateInput {
|
||||
|
||||
@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})
|
||||
domainName?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
displayName?: keyof typeof SortOrder;
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class WorkspaceCount {
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
WorkspaceMember?: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
companies?: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
people?: number;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceCreateManyInput {
|
||||
|
||||
@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})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { WorkspaceCreateWithoutCompaniesInput } from './workspace-create-without-companies.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { WorkspaceCreateOrConnectWithoutCompaniesInput } from './workspace-create-or-connect-without-companies.input';
|
||||
import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceCreateNestedOneWithoutCompaniesInput {
|
||||
|
||||
@Field(() => WorkspaceCreateWithoutCompaniesInput, {nullable:true})
|
||||
@Type(() => WorkspaceCreateWithoutCompaniesInput)
|
||||
create?: WorkspaceCreateWithoutCompaniesInput;
|
||||
|
||||
@Field(() => WorkspaceCreateOrConnectWithoutCompaniesInput, {nullable:true})
|
||||
@Type(() => WorkspaceCreateOrConnectWithoutCompaniesInput)
|
||||
connectOrCreate?: WorkspaceCreateOrConnectWithoutCompaniesInput;
|
||||
|
||||
@Field(() => WorkspaceWhereUniqueInput, {nullable:true})
|
||||
@Type(() => WorkspaceWhereUniqueInput)
|
||||
connect?: WorkspaceWhereUniqueInput;
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { WorkspaceCreateWithoutPeopleInput } from './workspace-create-without-people.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { WorkspaceCreateOrConnectWithoutPeopleInput } from './workspace-create-or-connect-without-people.input';
|
||||
import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceCreateNestedOneWithoutPeopleInput {
|
||||
|
||||
@Field(() => WorkspaceCreateWithoutPeopleInput, {nullable:true})
|
||||
@Type(() => WorkspaceCreateWithoutPeopleInput)
|
||||
create?: WorkspaceCreateWithoutPeopleInput;
|
||||
|
||||
@Field(() => WorkspaceCreateOrConnectWithoutPeopleInput, {nullable:true})
|
||||
@Type(() => WorkspaceCreateOrConnectWithoutPeopleInput)
|
||||
connectOrCreate?: WorkspaceCreateOrConnectWithoutPeopleInput;
|
||||
|
||||
@Field(() => WorkspaceWhereUniqueInput, {nullable:true})
|
||||
@Type(() => WorkspaceWhereUniqueInput)
|
||||
connect?: WorkspaceWhereUniqueInput;
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { WorkspaceCreateWithoutWorkspaceMemberInput } from './workspace-create-without-workspace-member.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { WorkspaceCreateOrConnectWithoutWorkspaceMemberInput } from './workspace-create-or-connect-without-workspace-member.input';
|
||||
import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceCreateNestedOneWithoutWorkspaceMemberInput {
|
||||
|
||||
@Field(() => WorkspaceCreateWithoutWorkspaceMemberInput, {nullable:true})
|
||||
@Type(() => WorkspaceCreateWithoutWorkspaceMemberInput)
|
||||
create?: WorkspaceCreateWithoutWorkspaceMemberInput;
|
||||
|
||||
@Field(() => WorkspaceCreateOrConnectWithoutWorkspaceMemberInput, {nullable:true})
|
||||
@Type(() => WorkspaceCreateOrConnectWithoutWorkspaceMemberInput)
|
||||
connectOrCreate?: WorkspaceCreateOrConnectWithoutWorkspaceMemberInput;
|
||||
|
||||
@Field(() => WorkspaceWhereUniqueInput, {nullable:true})
|
||||
@Type(() => WorkspaceWhereUniqueInput)
|
||||
connect?: WorkspaceWhereUniqueInput;
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { WorkspaceCreateWithoutCompaniesInput } from './workspace-create-without-companies.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceCreateOrConnectWithoutCompaniesInput {
|
||||
|
||||
@Field(() => WorkspaceWhereUniqueInput, {nullable:false})
|
||||
@Type(() => WorkspaceWhereUniqueInput)
|
||||
where!: WorkspaceWhereUniqueInput;
|
||||
|
||||
@Field(() => WorkspaceCreateWithoutCompaniesInput, {nullable:false})
|
||||
@Type(() => WorkspaceCreateWithoutCompaniesInput)
|
||||
create!: WorkspaceCreateWithoutCompaniesInput;
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { WorkspaceCreateWithoutPeopleInput } from './workspace-create-without-people.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceCreateOrConnectWithoutPeopleInput {
|
||||
|
||||
@Field(() => WorkspaceWhereUniqueInput, {nullable:false})
|
||||
@Type(() => WorkspaceWhereUniqueInput)
|
||||
where!: WorkspaceWhereUniqueInput;
|
||||
|
||||
@Field(() => WorkspaceCreateWithoutPeopleInput, {nullable:false})
|
||||
@Type(() => WorkspaceCreateWithoutPeopleInput)
|
||||
create!: WorkspaceCreateWithoutPeopleInput;
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { WorkspaceCreateWithoutWorkspaceMemberInput } from './workspace-create-without-workspace-member.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceCreateOrConnectWithoutWorkspaceMemberInput {
|
||||
|
||||
@Field(() => WorkspaceWhereUniqueInput, {nullable:false})
|
||||
@Type(() => WorkspaceWhereUniqueInput)
|
||||
where!: WorkspaceWhereUniqueInput;
|
||||
|
||||
@Field(() => WorkspaceCreateWithoutWorkspaceMemberInput, {nullable:false})
|
||||
@Type(() => WorkspaceCreateWithoutWorkspaceMemberInput)
|
||||
create!: WorkspaceCreateWithoutWorkspaceMemberInput;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { WorkspaceMemberCreateNestedManyWithoutWorkspaceInput } from '../workspace-member/workspace-member-create-nested-many-without-workspace.input';
|
||||
import { PersonCreateNestedManyWithoutWorkspaceInput } from '../person/person-create-nested-many-without-workspace.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceCreateWithoutCompaniesInput {
|
||||
|
||||
@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})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => WorkspaceMemberCreateNestedManyWithoutWorkspaceInput, {nullable:true})
|
||||
WorkspaceMember?: WorkspaceMemberCreateNestedManyWithoutWorkspaceInput;
|
||||
|
||||
@Field(() => PersonCreateNestedManyWithoutWorkspaceInput, {nullable:true})
|
||||
people?: PersonCreateNestedManyWithoutWorkspaceInput;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { WorkspaceMemberCreateNestedManyWithoutWorkspaceInput } from '../workspace-member/workspace-member-create-nested-many-without-workspace.input';
|
||||
import { CompanyCreateNestedManyWithoutWorkspaceInput } from '../company/company-create-nested-many-without-workspace.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceCreateWithoutPeopleInput {
|
||||
|
||||
@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})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => WorkspaceMemberCreateNestedManyWithoutWorkspaceInput, {nullable:true})
|
||||
WorkspaceMember?: WorkspaceMemberCreateNestedManyWithoutWorkspaceInput;
|
||||
|
||||
@Field(() => CompanyCreateNestedManyWithoutWorkspaceInput, {nullable:true})
|
||||
companies?: CompanyCreateNestedManyWithoutWorkspaceInput;
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyCreateNestedManyWithoutWorkspaceInput } from '../company/company-create-nested-many-without-workspace.input';
|
||||
import { PersonCreateNestedManyWithoutWorkspaceInput } from '../person/person-create-nested-many-without-workspace.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceCreateWithoutWorkspaceMemberInput {
|
||||
|
||||
@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})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => CompanyCreateNestedManyWithoutWorkspaceInput, {nullable:true})
|
||||
companies?: CompanyCreateNestedManyWithoutWorkspaceInput;
|
||||
|
||||
@Field(() => PersonCreateNestedManyWithoutWorkspaceInput, {nullable:true})
|
||||
people?: PersonCreateNestedManyWithoutWorkspaceInput;
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { WorkspaceMemberCreateNestedManyWithoutWorkspaceInput } from '../workspace-member/workspace-member-create-nested-many-without-workspace.input';
|
||||
import { CompanyCreateNestedManyWithoutWorkspaceInput } from '../company/company-create-nested-many-without-workspace.input';
|
||||
import { PersonCreateNestedManyWithoutWorkspaceInput } from '../person/person-create-nested-many-without-workspace.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceCreateInput {
|
||||
|
||||
@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})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => WorkspaceMemberCreateNestedManyWithoutWorkspaceInput, {nullable:true})
|
||||
WorkspaceMember?: WorkspaceMemberCreateNestedManyWithoutWorkspaceInput;
|
||||
|
||||
@Field(() => CompanyCreateNestedManyWithoutWorkspaceInput, {nullable:true})
|
||||
companies?: CompanyCreateNestedManyWithoutWorkspaceInput;
|
||||
|
||||
@Field(() => PersonCreateNestedManyWithoutWorkspaceInput, {nullable:true})
|
||||
people?: PersonCreateNestedManyWithoutWorkspaceInput;
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ArgsType } from '@nestjs/graphql';
|
||||
import { WorkspaceWhereInput } from './workspace-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { WorkspaceOrderByWithAggregationInput } from './workspace-order-by-with-aggregation.input';
|
||||
import { WorkspaceScalarFieldEnum } from './workspace-scalar-field.enum';
|
||||
import { WorkspaceScalarWhereWithAggregatesInput } from './workspace-scalar-where-with-aggregates.input';
|
||||
import { Int } from '@nestjs/graphql';
|
||||
import { WorkspaceCountAggregateInput } from './workspace-count-aggregate.input';
|
||||
import { WorkspaceMinAggregateInput } from './workspace-min-aggregate.input';
|
||||
import { WorkspaceMaxAggregateInput } from './workspace-max-aggregate.input';
|
||||
|
||||
@ArgsType()
|
||||
export class WorkspaceGroupByArgs {
|
||||
|
||||
@Field(() => WorkspaceWhereInput, {nullable:true})
|
||||
@Type(() => WorkspaceWhereInput)
|
||||
where?: WorkspaceWhereInput;
|
||||
|
||||
@Field(() => [WorkspaceOrderByWithAggregationInput], {nullable:true})
|
||||
orderBy?: Array<WorkspaceOrderByWithAggregationInput>;
|
||||
|
||||
@Field(() => [WorkspaceScalarFieldEnum], {nullable:false})
|
||||
by!: Array<keyof typeof WorkspaceScalarFieldEnum>;
|
||||
|
||||
@Field(() => WorkspaceScalarWhereWithAggregatesInput, {nullable:true})
|
||||
having?: WorkspaceScalarWhereWithAggregatesInput;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
take?: number;
|
||||
|
||||
@Field(() => Int, {nullable:true})
|
||||
skip?: number;
|
||||
|
||||
@Field(() => WorkspaceCountAggregateInput, {nullable:true})
|
||||
_count?: WorkspaceCountAggregateInput;
|
||||
|
||||
@Field(() => WorkspaceMinAggregateInput, {nullable:true})
|
||||
_min?: WorkspaceMinAggregateInput;
|
||||
|
||||
@Field(() => WorkspaceMaxAggregateInput, {nullable:true})
|
||||
_max?: WorkspaceMaxAggregateInput;
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { WorkspaceCountAggregate } from './workspace-count-aggregate.output';
|
||||
import { WorkspaceMinAggregate } from './workspace-min-aggregate.output';
|
||||
import { WorkspaceMaxAggregate } from './workspace-max-aggregate.output';
|
||||
|
||||
@ObjectType()
|
||||
export class WorkspaceGroupBy {
|
||||
|
||||
@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})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => WorkspaceCountAggregate, {nullable:true})
|
||||
_count?: WorkspaceCountAggregate;
|
||||
|
||||
@Field(() => WorkspaceMinAggregate, {nullable:true})
|
||||
_min?: WorkspaceMinAggregate;
|
||||
|
||||
@Field(() => WorkspaceMaxAggregate, {nullable:true})
|
||||
_max?: WorkspaceMaxAggregate;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceMaxAggregateInput {
|
||||
|
||||
@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})
|
||||
domainName?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
displayName?: true;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class WorkspaceMaxAggregate {
|
||||
|
||||
@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})
|
||||
domainName?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
displayName?: string;
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceMaxOrderByAggregateInput {
|
||||
|
||||
@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})
|
||||
domainName?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
displayName?: keyof typeof SortOrder;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceMinAggregateInput {
|
||||
|
||||
@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})
|
||||
domainName?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
displayName?: true;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class WorkspaceMinAggregate {
|
||||
|
||||
@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})
|
||||
domainName?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
displayName?: string;
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceMinOrderByAggregateInput {
|
||||
|
||||
@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})
|
||||
domainName?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
displayName?: keyof typeof SortOrder;
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
import { WorkspaceCountOrderByAggregateInput } from './workspace-count-order-by-aggregate.input';
|
||||
import { WorkspaceMaxOrderByAggregateInput } from './workspace-max-order-by-aggregate.input';
|
||||
import { WorkspaceMinOrderByAggregateInput } from './workspace-min-order-by-aggregate.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceOrderByWithAggregationInput {
|
||||
|
||||
@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})
|
||||
domainName?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
displayName?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => WorkspaceCountOrderByAggregateInput, {nullable:true})
|
||||
_count?: WorkspaceCountOrderByAggregateInput;
|
||||
|
||||
@Field(() => WorkspaceMaxOrderByAggregateInput, {nullable:true})
|
||||
_max?: WorkspaceMaxOrderByAggregateInput;
|
||||
|
||||
@Field(() => WorkspaceMinOrderByAggregateInput, {nullable:true})
|
||||
_min?: WorkspaceMinOrderByAggregateInput;
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { SortOrder } from '../prisma/sort-order.enum';
|
||||
import { WorkspaceMemberOrderByRelationAggregateInput } from '../workspace-member/workspace-member-order-by-relation-aggregate.input';
|
||||
import { CompanyOrderByRelationAggregateInput } from '../company/company-order-by-relation-aggregate.input';
|
||||
import { PersonOrderByRelationAggregateInput } from '../person/person-order-by-relation-aggregate.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceOrderByWithRelationInput {
|
||||
|
||||
@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})
|
||||
domainName?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
displayName?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => WorkspaceMemberOrderByRelationAggregateInput, {nullable:true})
|
||||
WorkspaceMember?: WorkspaceMemberOrderByRelationAggregateInput;
|
||||
|
||||
@Field(() => CompanyOrderByRelationAggregateInput, {nullable:true})
|
||||
companies?: CompanyOrderByRelationAggregateInput;
|
||||
|
||||
@Field(() => PersonOrderByRelationAggregateInput, {nullable:true})
|
||||
people?: PersonOrderByRelationAggregateInput;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { WorkspaceWhereInput } from './workspace-where.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceRelationFilter {
|
||||
|
||||
@Field(() => WorkspaceWhereInput, {nullable:true})
|
||||
is?: WorkspaceWhereInput;
|
||||
|
||||
@Field(() => WorkspaceWhereInput, {nullable:true})
|
||||
isNot?: WorkspaceWhereInput;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
import { registerEnumType } from '@nestjs/graphql';
|
||||
|
||||
export enum WorkspaceScalarFieldEnum {
|
||||
id = "id",
|
||||
createdAt = "createdAt",
|
||||
updatedAt = "updatedAt",
|
||||
deletedAt = "deletedAt",
|
||||
domainName = "domainName",
|
||||
displayName = "displayName"
|
||||
}
|
||||
|
||||
|
||||
registerEnumType(WorkspaceScalarFieldEnum, { name: 'WorkspaceScalarFieldEnum', description: undefined })
|
||||
@@ -0,0 +1,36 @@
|
||||
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';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceScalarWhereWithAggregatesInput {
|
||||
|
||||
@Field(() => [WorkspaceScalarWhereWithAggregatesInput], {nullable:true})
|
||||
AND?: Array<WorkspaceScalarWhereWithAggregatesInput>;
|
||||
|
||||
@Field(() => [WorkspaceScalarWhereWithAggregatesInput], {nullable:true})
|
||||
OR?: Array<WorkspaceScalarWhereWithAggregatesInput>;
|
||||
|
||||
@Field(() => [WorkspaceScalarWhereWithAggregatesInput], {nullable:true})
|
||||
NOT?: Array<WorkspaceScalarWhereWithAggregatesInput>;
|
||||
|
||||
@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})
|
||||
domainName?: StringWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringWithAggregatesFilter, {nullable:true})
|
||||
displayName?: StringWithAggregatesFilter;
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput } from '../workspace-member/workspace-member-unchecked-create-nested-many-without-workspace.input';
|
||||
import { PersonUncheckedCreateNestedManyWithoutWorkspaceInput } from '../person/person-unchecked-create-nested-many-without-workspace.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceUncheckedCreateWithoutCompaniesInput {
|
||||
|
||||
@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})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true})
|
||||
WorkspaceMember?: WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||
|
||||
@Field(() => PersonUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true})
|
||||
people?: PersonUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput } from '../workspace-member/workspace-member-unchecked-create-nested-many-without-workspace.input';
|
||||
import { CompanyUncheckedCreateNestedManyWithoutWorkspaceInput } from '../company/company-unchecked-create-nested-many-without-workspace.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceUncheckedCreateWithoutPeopleInput {
|
||||
|
||||
@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})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true})
|
||||
WorkspaceMember?: WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||
|
||||
@Field(() => CompanyUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true})
|
||||
companies?: CompanyUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyUncheckedCreateNestedManyWithoutWorkspaceInput } from '../company/company-unchecked-create-nested-many-without-workspace.input';
|
||||
import { PersonUncheckedCreateNestedManyWithoutWorkspaceInput } from '../person/person-unchecked-create-nested-many-without-workspace.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceUncheckedCreateWithoutWorkspaceMemberInput {
|
||||
|
||||
@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})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => CompanyUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true})
|
||||
companies?: CompanyUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||
|
||||
@Field(() => PersonUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true})
|
||||
people?: PersonUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput } from '../workspace-member/workspace-member-unchecked-create-nested-many-without-workspace.input';
|
||||
import { CompanyUncheckedCreateNestedManyWithoutWorkspaceInput } from '../company/company-unchecked-create-nested-many-without-workspace.input';
|
||||
import { PersonUncheckedCreateNestedManyWithoutWorkspaceInput } from '../person/person-unchecked-create-nested-many-without-workspace.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceUncheckedCreateInput {
|
||||
|
||||
@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})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true})
|
||||
WorkspaceMember?: WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||
|
||||
@Field(() => CompanyUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true})
|
||||
companies?: CompanyUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||
|
||||
@Field(() => PersonUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true})
|
||||
people?: PersonUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceUncheckedUpdateManyInput {
|
||||
|
||||
@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})
|
||||
domainName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
displayName?: StringFieldUpdateOperationsInput;
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../workspace-member/workspace-member-unchecked-update-many-without-workspace-nested.input';
|
||||
import { PersonUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../person/person-unchecked-update-many-without-workspace-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceUncheckedUpdateWithoutCompaniesInput {
|
||||
|
||||
@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})
|
||||
domainName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
displayName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true})
|
||||
WorkspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||
|
||||
@Field(() => PersonUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true})
|
||||
people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../workspace-member/workspace-member-unchecked-update-many-without-workspace-nested.input';
|
||||
import { CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../company/company-unchecked-update-many-without-workspace-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceUncheckedUpdateWithoutPeopleInput {
|
||||
|
||||
@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})
|
||||
domainName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
displayName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true})
|
||||
WorkspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||
|
||||
@Field(() => CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true})
|
||||
companies?: CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../company/company-unchecked-update-many-without-workspace-nested.input';
|
||||
import { PersonUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../person/person-unchecked-update-many-without-workspace-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceUncheckedUpdateWithoutWorkspaceMemberInput {
|
||||
|
||||
@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})
|
||||
domainName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
displayName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true})
|
||||
companies?: CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||
|
||||
@Field(() => PersonUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true})
|
||||
people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
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 { WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../workspace-member/workspace-member-unchecked-update-many-without-workspace-nested.input';
|
||||
import { CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../company/company-unchecked-update-many-without-workspace-nested.input';
|
||||
import { PersonUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../person/person-unchecked-update-many-without-workspace-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceUncheckedUpdateInput {
|
||||
|
||||
@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})
|
||||
domainName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
displayName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true})
|
||||
WorkspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||
|
||||
@Field(() => CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true})
|
||||
companies?: CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||
|
||||
@Field(() => PersonUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true})
|
||||
people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceUpdateManyMutationInput {
|
||||
|
||||
@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})
|
||||
domainName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
displayName?: StringFieldUpdateOperationsInput;
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { WorkspaceCreateWithoutCompaniesInput } from './workspace-create-without-companies.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { WorkspaceCreateOrConnectWithoutCompaniesInput } from './workspace-create-or-connect-without-companies.input';
|
||||
import { WorkspaceUpsertWithoutCompaniesInput } from './workspace-upsert-without-companies.input';
|
||||
import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';
|
||||
import { WorkspaceUpdateWithoutCompaniesInput } from './workspace-update-without-companies.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceUpdateOneRequiredWithoutCompaniesNestedInput {
|
||||
|
||||
@Field(() => WorkspaceCreateWithoutCompaniesInput, {nullable:true})
|
||||
@Type(() => WorkspaceCreateWithoutCompaniesInput)
|
||||
create?: WorkspaceCreateWithoutCompaniesInput;
|
||||
|
||||
@Field(() => WorkspaceCreateOrConnectWithoutCompaniesInput, {nullable:true})
|
||||
@Type(() => WorkspaceCreateOrConnectWithoutCompaniesInput)
|
||||
connectOrCreate?: WorkspaceCreateOrConnectWithoutCompaniesInput;
|
||||
|
||||
@Field(() => WorkspaceUpsertWithoutCompaniesInput, {nullable:true})
|
||||
@Type(() => WorkspaceUpsertWithoutCompaniesInput)
|
||||
upsert?: WorkspaceUpsertWithoutCompaniesInput;
|
||||
|
||||
@Field(() => WorkspaceWhereUniqueInput, {nullable:true})
|
||||
@Type(() => WorkspaceWhereUniqueInput)
|
||||
connect?: WorkspaceWhereUniqueInput;
|
||||
|
||||
@Field(() => WorkspaceUpdateWithoutCompaniesInput, {nullable:true})
|
||||
@Type(() => WorkspaceUpdateWithoutCompaniesInput)
|
||||
update?: WorkspaceUpdateWithoutCompaniesInput;
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { WorkspaceCreateWithoutPeopleInput } from './workspace-create-without-people.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { WorkspaceCreateOrConnectWithoutPeopleInput } from './workspace-create-or-connect-without-people.input';
|
||||
import { WorkspaceUpsertWithoutPeopleInput } from './workspace-upsert-without-people.input';
|
||||
import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';
|
||||
import { WorkspaceUpdateWithoutPeopleInput } from './workspace-update-without-people.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceUpdateOneRequiredWithoutPeopleNestedInput {
|
||||
|
||||
@Field(() => WorkspaceCreateWithoutPeopleInput, {nullable:true})
|
||||
@Type(() => WorkspaceCreateWithoutPeopleInput)
|
||||
create?: WorkspaceCreateWithoutPeopleInput;
|
||||
|
||||
@Field(() => WorkspaceCreateOrConnectWithoutPeopleInput, {nullable:true})
|
||||
@Type(() => WorkspaceCreateOrConnectWithoutPeopleInput)
|
||||
connectOrCreate?: WorkspaceCreateOrConnectWithoutPeopleInput;
|
||||
|
||||
@Field(() => WorkspaceUpsertWithoutPeopleInput, {nullable:true})
|
||||
@Type(() => WorkspaceUpsertWithoutPeopleInput)
|
||||
upsert?: WorkspaceUpsertWithoutPeopleInput;
|
||||
|
||||
@Field(() => WorkspaceWhereUniqueInput, {nullable:true})
|
||||
@Type(() => WorkspaceWhereUniqueInput)
|
||||
connect?: WorkspaceWhereUniqueInput;
|
||||
|
||||
@Field(() => WorkspaceUpdateWithoutPeopleInput, {nullable:true})
|
||||
@Type(() => WorkspaceUpdateWithoutPeopleInput)
|
||||
update?: WorkspaceUpdateWithoutPeopleInput;
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { WorkspaceCreateWithoutWorkspaceMemberInput } from './workspace-create-without-workspace-member.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { WorkspaceCreateOrConnectWithoutWorkspaceMemberInput } from './workspace-create-or-connect-without-workspace-member.input';
|
||||
import { WorkspaceUpsertWithoutWorkspaceMemberInput } from './workspace-upsert-without-workspace-member.input';
|
||||
import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';
|
||||
import { WorkspaceUpdateWithoutWorkspaceMemberInput } from './workspace-update-without-workspace-member.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceUpdateOneRequiredWithoutWorkspaceMemberNestedInput {
|
||||
|
||||
@Field(() => WorkspaceCreateWithoutWorkspaceMemberInput, {nullable:true})
|
||||
@Type(() => WorkspaceCreateWithoutWorkspaceMemberInput)
|
||||
create?: WorkspaceCreateWithoutWorkspaceMemberInput;
|
||||
|
||||
@Field(() => WorkspaceCreateOrConnectWithoutWorkspaceMemberInput, {nullable:true})
|
||||
@Type(() => WorkspaceCreateOrConnectWithoutWorkspaceMemberInput)
|
||||
connectOrCreate?: WorkspaceCreateOrConnectWithoutWorkspaceMemberInput;
|
||||
|
||||
@Field(() => WorkspaceUpsertWithoutWorkspaceMemberInput, {nullable:true})
|
||||
@Type(() => WorkspaceUpsertWithoutWorkspaceMemberInput)
|
||||
upsert?: WorkspaceUpsertWithoutWorkspaceMemberInput;
|
||||
|
||||
@Field(() => WorkspaceWhereUniqueInput, {nullable:true})
|
||||
@Type(() => WorkspaceWhereUniqueInput)
|
||||
connect?: WorkspaceWhereUniqueInput;
|
||||
|
||||
@Field(() => WorkspaceUpdateWithoutWorkspaceMemberInput, {nullable:true})
|
||||
@Type(() => WorkspaceUpdateWithoutWorkspaceMemberInput)
|
||||
update?: WorkspaceUpdateWithoutWorkspaceMemberInput;
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput } from '../workspace-member/workspace-member-update-many-without-workspace-nested.input';
|
||||
import { PersonUpdateManyWithoutWorkspaceNestedInput } from '../person/person-update-many-without-workspace-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceUpdateWithoutCompaniesInput {
|
||||
|
||||
@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})
|
||||
domainName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
displayName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, {nullable:true})
|
||||
WorkspaceMember?: WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput;
|
||||
|
||||
@Field(() => PersonUpdateManyWithoutWorkspaceNestedInput, {nullable:true})
|
||||
people?: PersonUpdateManyWithoutWorkspaceNestedInput;
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput } from '../workspace-member/workspace-member-update-many-without-workspace-nested.input';
|
||||
import { CompanyUpdateManyWithoutWorkspaceNestedInput } from '../company/company-update-many-without-workspace-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceUpdateWithoutPeopleInput {
|
||||
|
||||
@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})
|
||||
domainName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
displayName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, {nullable:true})
|
||||
WorkspaceMember?: WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput;
|
||||
|
||||
@Field(() => CompanyUpdateManyWithoutWorkspaceNestedInput, {nullable:true})
|
||||
companies?: CompanyUpdateManyWithoutWorkspaceNestedInput;
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { CompanyUpdateManyWithoutWorkspaceNestedInput } from '../company/company-update-many-without-workspace-nested.input';
|
||||
import { PersonUpdateManyWithoutWorkspaceNestedInput } from '../person/person-update-many-without-workspace-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceUpdateWithoutWorkspaceMemberInput {
|
||||
|
||||
@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})
|
||||
domainName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
displayName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => CompanyUpdateManyWithoutWorkspaceNestedInput, {nullable:true})
|
||||
companies?: CompanyUpdateManyWithoutWorkspaceNestedInput;
|
||||
|
||||
@Field(() => PersonUpdateManyWithoutWorkspaceNestedInput, {nullable:true})
|
||||
people?: PersonUpdateManyWithoutWorkspaceNestedInput;
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
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 { WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput } from '../workspace-member/workspace-member-update-many-without-workspace-nested.input';
|
||||
import { CompanyUpdateManyWithoutWorkspaceNestedInput } from '../company/company-update-many-without-workspace-nested.input';
|
||||
import { PersonUpdateManyWithoutWorkspaceNestedInput } from '../person/person-update-many-without-workspace-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceUpdateInput {
|
||||
|
||||
@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})
|
||||
domainName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
displayName?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, {nullable:true})
|
||||
WorkspaceMember?: WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput;
|
||||
|
||||
@Field(() => CompanyUpdateManyWithoutWorkspaceNestedInput, {nullable:true})
|
||||
companies?: CompanyUpdateManyWithoutWorkspaceNestedInput;
|
||||
|
||||
@Field(() => PersonUpdateManyWithoutWorkspaceNestedInput, {nullable:true})
|
||||
people?: PersonUpdateManyWithoutWorkspaceNestedInput;
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { WorkspaceUpdateWithoutCompaniesInput } from './workspace-update-without-companies.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { WorkspaceCreateWithoutCompaniesInput } from './workspace-create-without-companies.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceUpsertWithoutCompaniesInput {
|
||||
|
||||
@Field(() => WorkspaceUpdateWithoutCompaniesInput, {nullable:false})
|
||||
@Type(() => WorkspaceUpdateWithoutCompaniesInput)
|
||||
update!: WorkspaceUpdateWithoutCompaniesInput;
|
||||
|
||||
@Field(() => WorkspaceCreateWithoutCompaniesInput, {nullable:false})
|
||||
@Type(() => WorkspaceCreateWithoutCompaniesInput)
|
||||
create!: WorkspaceCreateWithoutCompaniesInput;
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { WorkspaceUpdateWithoutPeopleInput } from './workspace-update-without-people.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { WorkspaceCreateWithoutPeopleInput } from './workspace-create-without-people.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceUpsertWithoutPeopleInput {
|
||||
|
||||
@Field(() => WorkspaceUpdateWithoutPeopleInput, {nullable:false})
|
||||
@Type(() => WorkspaceUpdateWithoutPeopleInput)
|
||||
update!: WorkspaceUpdateWithoutPeopleInput;
|
||||
|
||||
@Field(() => WorkspaceCreateWithoutPeopleInput, {nullable:false})
|
||||
@Type(() => WorkspaceCreateWithoutPeopleInput)
|
||||
create!: WorkspaceCreateWithoutPeopleInput;
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { WorkspaceUpdateWithoutWorkspaceMemberInput } from './workspace-update-without-workspace-member.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { WorkspaceCreateWithoutWorkspaceMemberInput } from './workspace-create-without-workspace-member.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceUpsertWithoutWorkspaceMemberInput {
|
||||
|
||||
@Field(() => WorkspaceUpdateWithoutWorkspaceMemberInput, {nullable:false})
|
||||
@Type(() => WorkspaceUpdateWithoutWorkspaceMemberInput)
|
||||
update!: WorkspaceUpdateWithoutWorkspaceMemberInput;
|
||||
|
||||
@Field(() => WorkspaceCreateWithoutWorkspaceMemberInput, {nullable:false})
|
||||
@Type(() => WorkspaceCreateWithoutWorkspaceMemberInput)
|
||||
create!: WorkspaceCreateWithoutWorkspaceMemberInput;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceWhereUniqueInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
id?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
domainName?: string;
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
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 { WorkspaceMemberListRelationFilter } from '../workspace-member/workspace-member-list-relation-filter.input';
|
||||
import { CompanyListRelationFilter } from '../company/company-list-relation-filter.input';
|
||||
import { PersonListRelationFilter } from '../person/person-list-relation-filter.input';
|
||||
|
||||
@InputType()
|
||||
export class WorkspaceWhereInput {
|
||||
|
||||
@Field(() => [WorkspaceWhereInput], {nullable:true})
|
||||
AND?: Array<WorkspaceWhereInput>;
|
||||
|
||||
@Field(() => [WorkspaceWhereInput], {nullable:true})
|
||||
OR?: Array<WorkspaceWhereInput>;
|
||||
|
||||
@Field(() => [WorkspaceWhereInput], {nullable:true})
|
||||
NOT?: Array<WorkspaceWhereInput>;
|
||||
|
||||
@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})
|
||||
domainName?: StringFilter;
|
||||
|
||||
@Field(() => StringFilter, {nullable:true})
|
||||
displayName?: StringFilter;
|
||||
|
||||
@Field(() => WorkspaceMemberListRelationFilter, {nullable:true})
|
||||
WorkspaceMember?: WorkspaceMemberListRelationFilter;
|
||||
|
||||
@Field(() => CompanyListRelationFilter, {nullable:true})
|
||||
companies?: CompanyListRelationFilter;
|
||||
|
||||
@Field(() => PersonListRelationFilter, {nullable:true})
|
||||
people?: PersonListRelationFilter;
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { ID } from '@nestjs/graphql';
|
||||
import { WorkspaceMember } from '../workspace-member/workspace-member.model';
|
||||
import { Company } from '../company/company.model';
|
||||
import { Person } from '../person/person.model';
|
||||
import { WorkspaceCount } from './workspace-count.output';
|
||||
|
||||
@ObjectType()
|
||||
export class Workspace {
|
||||
|
||||
@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})
|
||||
domainName!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
displayName!: string;
|
||||
|
||||
@Field(() => [WorkspaceMember], {nullable:true})
|
||||
WorkspaceMember?: Array<WorkspaceMember>;
|
||||
|
||||
@Field(() => [Company], {nullable:true})
|
||||
companies?: Array<Company>;
|
||||
|
||||
@Field(() => [Person], {nullable:true})
|
||||
people?: Array<Person>;
|
||||
|
||||
@Field(() => WorkspaceCount, {nullable:false})
|
||||
_count?: WorkspaceCount;
|
||||
}
|
||||
Reference in New Issue
Block a user