Clean server post refactor to remove Hasura (#156)

* Clean BE post refactor to remove Hasura

* Add server CI
This commit is contained in:
Charles Bochet 2023-05-29 22:42:24 +02:00 committed by GitHub
parent 30d2337462
commit 0f9c6dede7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
474 changed files with 7090 additions and 7202 deletions

View File

@ -1,4 +1,4 @@
name: continous-integration
name: CI Front
on:
push:
jobs:
@ -13,12 +13,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Write .env
run: |
cd front
touch .env
echo "REACT_APP_API_URL: $REACT_APP_API_URL" >> .env
echo "REACT_APP_AUTH_URL: $REACT_APP_AUTH_URL" >> .env
- name: Cache node modules
uses: actions/cache@v2
env:
@ -30,19 +24,25 @@ jobs:
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install Dependencies
- name: Front / Write .env
run: |
cd front
touch .env
echo "REACT_APP_API_URL: $REACT_APP_API_URL" >> .env
echo "REACT_APP_AUTH_URL: $REACT_APP_AUTH_URL" >> .env
- name: Front / Install Dependencies
run: cd front && npm install
- name: Install Playwright
- name: Front / Install Playwright
run: cd front && npx playwright install --with-deps
- name: Run linter
- name: Front / Run linter
run: cd front && npm run lint
- name: Build Storybook
- name: Front / Build Storybook
run: cd front && npm run build-storybook --quiet
- name: Serve Storybook and run storybook tests
- name: Front / Run storybook tests
run: |
cd front && npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"npx http-server storybook-static --silent --port 6006" \
"npm run coverage"
- name: run jest tests
- name: Front / Run jest tests
run: |
cd front && npm run test

30
.github/workflows/ci-server.yaml vendored Normal file
View File

@ -0,0 +1,30 @@
name: CI Server
on:
push:
jobs:
server-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Server / Install Dependencies
run: cd server && npm install
- name: Server / Run linter
run: cd server && npm run lint
- name: Server / Run jest tests
run: |
cd server && npm run test

View File

@ -13,7 +13,7 @@
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"lint": "eslint \"src/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",

View File

@ -8,19 +8,18 @@ import { CompanyMaxAggregate } from './company-max-aggregate.output';
@ObjectType()
export class AggregateCompany {
@Field(() => CompanyCountAggregate, {nullable:true})
@Field(() => CompanyCountAggregate, { nullable: true })
_count?: CompanyCountAggregate;
@Field(() => CompanyAvgAggregate, {nullable:true})
@Field(() => CompanyAvgAggregate, { nullable: true })
_avg?: CompanyAvgAggregate;
@Field(() => CompanySumAggregate, {nullable:true})
@Field(() => CompanySumAggregate, { nullable: true })
_sum?: CompanySumAggregate;
@Field(() => CompanyMinAggregate, {nullable:true})
@Field(() => CompanyMinAggregate, { nullable: true })
_min?: CompanyMinAggregate;
@Field(() => CompanyMaxAggregate, {nullable:true})
@Field(() => CompanyMaxAggregate, { nullable: true })
_max?: CompanyMaxAggregate;
}

View File

@ -13,35 +13,34 @@ import { CompanyMaxAggregateInput } from './company-max-aggregate.input';
@ArgsType()
export class CompanyAggregateArgs {
@Field(() => CompanyWhereInput, {nullable:true})
@Field(() => CompanyWhereInput, { nullable: true })
@Type(() => CompanyWhereInput)
where?: CompanyWhereInput;
@Field(() => [CompanyOrderByWithRelationInput], {nullable:true})
@Field(() => [CompanyOrderByWithRelationInput], { nullable: true })
orderBy?: Array<CompanyOrderByWithRelationInput>;
@Field(() => CompanyWhereUniqueInput, {nullable:true})
@Field(() => CompanyWhereUniqueInput, { nullable: true })
cursor?: CompanyWhereUniqueInput;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
take?: number;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
skip?: number;
@Field(() => CompanyCountAggregateInput, {nullable:true})
@Field(() => CompanyCountAggregateInput, { nullable: true })
_count?: CompanyCountAggregateInput;
@Field(() => CompanyAvgAggregateInput, {nullable:true})
@Field(() => CompanyAvgAggregateInput, { nullable: true })
_avg?: CompanyAvgAggregateInput;
@Field(() => CompanySumAggregateInput, {nullable:true})
@Field(() => CompanySumAggregateInput, { nullable: true })
_sum?: CompanySumAggregateInput;
@Field(() => CompanyMinAggregateInput, {nullable:true})
@Field(() => CompanyMinAggregateInput, { nullable: true })
_min?: CompanyMinAggregateInput;
@Field(() => CompanyMaxAggregateInput, {nullable:true})
@Field(() => CompanyMaxAggregateInput, { nullable: true })
_max?: CompanyMaxAggregateInput;
}

View File

@ -3,7 +3,6 @@ import { InputType } from '@nestjs/graphql';
@InputType()
export class CompanyAvgAggregateInput {
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
employees?: true;
}

View File

@ -4,7 +4,6 @@ import { Float } from '@nestjs/graphql';
@ObjectType()
export class CompanyAvgAggregate {
@Field(() => Float, {nullable:true})
@Field(() => Float, { nullable: true })
employees?: number;
}

View File

@ -4,7 +4,6 @@ import { SortOrder } from '../prisma/sort-order.enum';
@InputType()
export class CompanyAvgOrderByAggregateInput {
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
employees?: keyof typeof SortOrder;
}

View File

@ -4,37 +4,36 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CompanyCountAggregateInput {
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
id?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
createdAt?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
updatedAt?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
deletedAt?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
name?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
domainName?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
address?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
employees?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
accountOwnerId?: true;
@HideField()
workspaceId?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
_all?: true;
}

View File

@ -4,37 +4,36 @@ import { Int } from '@nestjs/graphql';
@ObjectType()
export class CompanyCountAggregate {
@Field(() => Int, {nullable:false})
@Field(() => Int, { nullable: false })
id!: number;
@Field(() => Int, {nullable:false})
@Field(() => Int, { nullable: false })
createdAt!: number;
@Field(() => Int, {nullable:false})
@Field(() => Int, { nullable: false })
updatedAt!: number;
@Field(() => Int, {nullable:false})
@Field(() => Int, { nullable: false })
deletedAt!: number;
@Field(() => Int, {nullable:false})
@Field(() => Int, { nullable: false })
name!: number;
@Field(() => Int, {nullable:false})
@Field(() => Int, { nullable: false })
domainName!: number;
@Field(() => Int, {nullable:false})
@Field(() => Int, { nullable: false })
address!: number;
@Field(() => Int, {nullable:false})
@Field(() => Int, { nullable: false })
employees!: number;
@Field(() => Int, {nullable:false})
@Field(() => Int, { nullable: false })
accountOwnerId!: number;
@Field(() => Int, {nullable:false})
@Field(() => Int, { nullable: false })
workspaceId!: number;
@Field(() => Int, {nullable:false})
@Field(() => Int, { nullable: false })
_all!: number;
}

View File

@ -5,32 +5,31 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CompanyCountOrderByAggregateInput {
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
id?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
name?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
domainName?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
address?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
employees?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
accountOwnerId?: keyof typeof SortOrder;
@HideField()

View File

@ -4,7 +4,6 @@ import { Int } from '@nestjs/graphql';
@ObjectType()
export class CompanyCount {
@Field(() => Int, {nullable:false})
@Field(() => Int, { nullable: false })
people?: number;
}

View File

@ -5,11 +5,10 @@ import { Type } from 'class-transformer';
@InputType()
export class CompanyCreateManyAccountOwnerInputEnvelope {
@Field(() => [CompanyCreateManyAccountOwnerInput], {nullable:false})
@Field(() => [CompanyCreateManyAccountOwnerInput], { nullable: false })
@Type(() => CompanyCreateManyAccountOwnerInput)
data!: Array<CompanyCreateManyAccountOwnerInput>;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
skipDuplicates?: boolean;
}

View File

@ -5,29 +5,28 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CompanyCreateManyAccountOwnerInput {
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
id!: string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
name!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
domainName!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
address!: string;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
employees?: number;
@HideField()

View File

@ -5,11 +5,10 @@ import { Type } from 'class-transformer';
@InputType()
export class CompanyCreateManyWorkspaceInputEnvelope {
@Field(() => [CompanyCreateManyWorkspaceInput], {nullable:false})
@Field(() => [CompanyCreateManyWorkspaceInput], { nullable: false })
@Type(() => CompanyCreateManyWorkspaceInput)
data!: Array<CompanyCreateManyWorkspaceInput>;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
skipDuplicates?: boolean;
}

View File

@ -4,31 +4,30 @@ import { Int } from '@nestjs/graphql';
@InputType()
export class CompanyCreateManyWorkspaceInput {
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
id!: string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
name!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
domainName!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
address!: string;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
employees?: number;
@Field(() => String, {nullable:true})
@Field(() => String, { nullable: true })
accountOwnerId?: string;
}

View File

@ -5,32 +5,31 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CompanyCreateManyInput {
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
id!: string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
name!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
domainName!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
address!: string;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
employees?: number;
@Field(() => String, {nullable:true})
@Field(() => String, { nullable: true })
accountOwnerId?: string;
@HideField()

View File

@ -8,20 +8,21 @@ import { CompanyWhereUniqueInput } from './company-where-unique.input';
@InputType()
export class CompanyCreateNestedManyWithoutAccountOwnerInput {
@Field(() => [CompanyCreateWithoutAccountOwnerInput], {nullable:true})
@Field(() => [CompanyCreateWithoutAccountOwnerInput], { nullable: true })
@Type(() => CompanyCreateWithoutAccountOwnerInput)
create?: Array<CompanyCreateWithoutAccountOwnerInput>;
@Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {nullable:true})
@Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {
nullable: true,
})
@Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput)
connectOrCreate?: Array<CompanyCreateOrConnectWithoutAccountOwnerInput>;
@Field(() => CompanyCreateManyAccountOwnerInputEnvelope, {nullable:true})
@Field(() => CompanyCreateManyAccountOwnerInputEnvelope, { nullable: true })
@Type(() => CompanyCreateManyAccountOwnerInputEnvelope)
createMany?: CompanyCreateManyAccountOwnerInputEnvelope;
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
@Field(() => [CompanyWhereUniqueInput], { nullable: true })
@Type(() => CompanyWhereUniqueInput)
connect?: Array<CompanyWhereUniqueInput>;
}

View File

@ -8,20 +8,21 @@ import { CompanyWhereUniqueInput } from './company-where-unique.input';
@InputType()
export class CompanyCreateNestedManyWithoutWorkspaceInput {
@Field(() => [CompanyCreateWithoutWorkspaceInput], {nullable:true})
@Field(() => [CompanyCreateWithoutWorkspaceInput], { nullable: true })
@Type(() => CompanyCreateWithoutWorkspaceInput)
create?: Array<CompanyCreateWithoutWorkspaceInput>;
@Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {nullable:true})
@Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => CompanyCreateOrConnectWithoutWorkspaceInput)
connectOrCreate?: Array<CompanyCreateOrConnectWithoutWorkspaceInput>;
@Field(() => CompanyCreateManyWorkspaceInputEnvelope, {nullable:true})
@Field(() => CompanyCreateManyWorkspaceInputEnvelope, { nullable: true })
@Type(() => CompanyCreateManyWorkspaceInputEnvelope)
createMany?: CompanyCreateManyWorkspaceInputEnvelope;
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
@Field(() => [CompanyWhereUniqueInput], { nullable: true })
@Type(() => CompanyWhereUniqueInput)
connect?: Array<CompanyWhereUniqueInput>;
}

View File

@ -7,16 +7,15 @@ import { CompanyWhereUniqueInput } from './company-where-unique.input';
@InputType()
export class CompanyCreateNestedOneWithoutPeopleInput {
@Field(() => CompanyCreateWithoutPeopleInput, {nullable:true})
@Field(() => CompanyCreateWithoutPeopleInput, { nullable: true })
@Type(() => CompanyCreateWithoutPeopleInput)
create?: CompanyCreateWithoutPeopleInput;
@Field(() => CompanyCreateOrConnectWithoutPeopleInput, {nullable:true})
@Field(() => CompanyCreateOrConnectWithoutPeopleInput, { nullable: true })
@Type(() => CompanyCreateOrConnectWithoutPeopleInput)
connectOrCreate?: CompanyCreateOrConnectWithoutPeopleInput;
@Field(() => CompanyWhereUniqueInput, {nullable:true})
@Field(() => CompanyWhereUniqueInput, { nullable: true })
@Type(() => CompanyWhereUniqueInput)
connect?: CompanyWhereUniqueInput;
}

View File

@ -6,12 +6,11 @@ import { CompanyCreateWithoutAccountOwnerInput } from './company-create-without-
@InputType()
export class CompanyCreateOrConnectWithoutAccountOwnerInput {
@Field(() => CompanyWhereUniqueInput, {nullable:false})
@Field(() => CompanyWhereUniqueInput, { nullable: false })
@Type(() => CompanyWhereUniqueInput)
where!: CompanyWhereUniqueInput;
@Field(() => CompanyCreateWithoutAccountOwnerInput, {nullable:false})
@Field(() => CompanyCreateWithoutAccountOwnerInput, { nullable: false })
@Type(() => CompanyCreateWithoutAccountOwnerInput)
create!: CompanyCreateWithoutAccountOwnerInput;
}

View File

@ -6,12 +6,11 @@ import { CompanyCreateWithoutPeopleInput } from './company-create-without-people
@InputType()
export class CompanyCreateOrConnectWithoutPeopleInput {
@Field(() => CompanyWhereUniqueInput, {nullable:false})
@Field(() => CompanyWhereUniqueInput, { nullable: false })
@Type(() => CompanyWhereUniqueInput)
where!: CompanyWhereUniqueInput;
@Field(() => CompanyCreateWithoutPeopleInput, {nullable:false})
@Field(() => CompanyCreateWithoutPeopleInput, { nullable: false })
@Type(() => CompanyCreateWithoutPeopleInput)
create!: CompanyCreateWithoutPeopleInput;
}

View File

@ -6,12 +6,11 @@ import { CompanyCreateWithoutWorkspaceInput } from './company-create-without-wor
@InputType()
export class CompanyCreateOrConnectWithoutWorkspaceInput {
@Field(() => CompanyWhereUniqueInput, {nullable:false})
@Field(() => CompanyWhereUniqueInput, { nullable: false })
@Type(() => CompanyWhereUniqueInput)
where!: CompanyWhereUniqueInput;
@Field(() => CompanyCreateWithoutWorkspaceInput, {nullable:false})
@Field(() => CompanyCreateWithoutWorkspaceInput, { nullable: false })
@Type(() => CompanyCreateWithoutWorkspaceInput)
create!: CompanyCreateWithoutWorkspaceInput;
}

View File

@ -7,32 +7,31 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CompanyCreateWithoutAccountOwnerInput {
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
id!: string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
name!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
domainName!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
address!: string;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
employees?: number;
@Field(() => PersonCreateNestedManyWithoutCompanyInput, {nullable:true})
@Field(() => PersonCreateNestedManyWithoutCompanyInput, { nullable: true })
people?: PersonCreateNestedManyWithoutCompanyInput;
@HideField()

View File

@ -7,32 +7,31 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CompanyCreateWithoutPeopleInput {
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
id!: string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
name!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
domainName!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
address!: string;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
employees?: number;
@Field(() => UserCreateNestedOneWithoutCompaniesInput, {nullable:true})
@Field(() => UserCreateNestedOneWithoutCompaniesInput, { nullable: true })
accountOwner?: UserCreateNestedOneWithoutCompaniesInput;
@HideField()

View File

@ -6,34 +6,33 @@ import { PersonCreateNestedManyWithoutCompanyInput } from '../person/person-crea
@InputType()
export class CompanyCreateWithoutWorkspaceInput {
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
id!: string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
name!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
domainName!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
address!: string;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
employees?: number;
@Field(() => UserCreateNestedOneWithoutCompaniesInput, {nullable:true})
@Field(() => UserCreateNestedOneWithoutCompaniesInput, { nullable: true })
accountOwner?: UserCreateNestedOneWithoutCompaniesInput;
@Field(() => PersonCreateNestedManyWithoutCompanyInput, {nullable:true})
@Field(() => PersonCreateNestedManyWithoutCompanyInput, { nullable: true })
people?: PersonCreateNestedManyWithoutCompanyInput;
}

View File

@ -8,35 +8,34 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CompanyCreateInput {
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
id!: string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
name!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
domainName!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
address!: string;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
employees?: number;
@Field(() => UserCreateNestedOneWithoutCompaniesInput, {nullable:true})
@Field(() => UserCreateNestedOneWithoutCompaniesInput, { nullable: true })
accountOwner?: UserCreateNestedOneWithoutCompaniesInput;
@Field(() => PersonCreateNestedManyWithoutCompanyInput, {nullable:true})
@Field(() => PersonCreateNestedManyWithoutCompanyInput, { nullable: true })
people?: PersonCreateNestedManyWithoutCompanyInput;
@HideField()

View File

@ -14,38 +14,37 @@ import { CompanyMaxAggregateInput } from './company-max-aggregate.input';
@ArgsType()
export class CompanyGroupByArgs {
@Field(() => CompanyWhereInput, {nullable:true})
@Field(() => CompanyWhereInput, { nullable: true })
@Type(() => CompanyWhereInput)
where?: CompanyWhereInput;
@Field(() => [CompanyOrderByWithAggregationInput], {nullable:true})
@Field(() => [CompanyOrderByWithAggregationInput], { nullable: true })
orderBy?: Array<CompanyOrderByWithAggregationInput>;
@Field(() => [CompanyScalarFieldEnum], {nullable:false})
@Field(() => [CompanyScalarFieldEnum], { nullable: false })
by!: Array<keyof typeof CompanyScalarFieldEnum>;
@Field(() => CompanyScalarWhereWithAggregatesInput, {nullable:true})
@Field(() => CompanyScalarWhereWithAggregatesInput, { nullable: true })
having?: CompanyScalarWhereWithAggregatesInput;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
take?: number;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
skip?: number;
@Field(() => CompanyCountAggregateInput, {nullable:true})
@Field(() => CompanyCountAggregateInput, { nullable: true })
_count?: CompanyCountAggregateInput;
@Field(() => CompanyAvgAggregateInput, {nullable:true})
@Field(() => CompanyAvgAggregateInput, { nullable: true })
_avg?: CompanyAvgAggregateInput;
@Field(() => CompanySumAggregateInput, {nullable:true})
@Field(() => CompanySumAggregateInput, { nullable: true })
_sum?: CompanySumAggregateInput;
@Field(() => CompanyMinAggregateInput, {nullable:true})
@Field(() => CompanyMinAggregateInput, { nullable: true })
_min?: CompanyMinAggregateInput;
@Field(() => CompanyMaxAggregateInput, {nullable:true})
@Field(() => CompanyMaxAggregateInput, { nullable: true })
_max?: CompanyMaxAggregateInput;
}

View File

@ -9,49 +9,48 @@ import { CompanyMaxAggregate } from './company-max-aggregate.output';
@ObjectType()
export class CompanyGroupBy {
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
id!: string;
@Field(() => Date, {nullable:false})
@Field(() => Date, { nullable: false })
createdAt!: Date | string;
@Field(() => Date, {nullable:false})
@Field(() => Date, { nullable: false })
updatedAt!: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
name!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
domainName!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
address!: string;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
employees?: number;
@Field(() => String, {nullable:true})
@Field(() => String, { nullable: true })
accountOwnerId?: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
workspaceId!: string;
@Field(() => CompanyCountAggregate, {nullable:true})
@Field(() => CompanyCountAggregate, { nullable: true })
_count?: CompanyCountAggregate;
@Field(() => CompanyAvgAggregate, {nullable:true})
@Field(() => CompanyAvgAggregate, { nullable: true })
_avg?: CompanyAvgAggregate;
@Field(() => CompanySumAggregate, {nullable:true})
@Field(() => CompanySumAggregate, { nullable: true })
_sum?: CompanySumAggregate;
@Field(() => CompanyMinAggregate, {nullable:true})
@Field(() => CompanyMinAggregate, { nullable: true })
_min?: CompanyMinAggregate;
@Field(() => CompanyMaxAggregate, {nullable:true})
@Field(() => CompanyMaxAggregate, { nullable: true })
_max?: CompanyMaxAggregate;
}

View File

@ -4,13 +4,12 @@ import { CompanyWhereInput } from './company-where.input';
@InputType()
export class CompanyListRelationFilter {
@Field(() => CompanyWhereInput, {nullable:true})
@Field(() => CompanyWhereInput, { nullable: true })
every?: CompanyWhereInput;
@Field(() => CompanyWhereInput, {nullable:true})
@Field(() => CompanyWhereInput, { nullable: true })
some?: CompanyWhereInput;
@Field(() => CompanyWhereInput, {nullable:true})
@Field(() => CompanyWhereInput, { nullable: true })
none?: CompanyWhereInput;
}

View File

@ -4,32 +4,31 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CompanyMaxAggregateInput {
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
id?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
createdAt?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
updatedAt?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
deletedAt?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
name?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
domainName?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
address?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
employees?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
accountOwnerId?: true;
@HideField()

View File

@ -4,34 +4,33 @@ import { Int } from '@nestjs/graphql';
@ObjectType()
export class CompanyMaxAggregate {
@Field(() => String, {nullable:true})
@Field(() => String, { nullable: true })
id?: string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => String, {nullable:true})
@Field(() => String, { nullable: true })
name?: string;
@Field(() => String, {nullable:true})
@Field(() => String, { nullable: true })
domainName?: string;
@Field(() => String, {nullable:true})
@Field(() => String, { nullable: true })
address?: string;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
employees?: number;
@Field(() => String, {nullable:true})
@Field(() => String, { nullable: true })
accountOwnerId?: string;
@Field(() => String, {nullable:true})
@Field(() => String, { nullable: true })
workspaceId?: string;
}

View File

@ -5,32 +5,31 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CompanyMaxOrderByAggregateInput {
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
id?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
name?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
domainName?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
address?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
employees?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
accountOwnerId?: keyof typeof SortOrder;
@HideField()

View File

@ -4,32 +4,31 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CompanyMinAggregateInput {
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
id?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
createdAt?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
updatedAt?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
deletedAt?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
name?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
domainName?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
address?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
employees?: true;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
accountOwnerId?: true;
@HideField()

View File

@ -4,34 +4,33 @@ import { Int } from '@nestjs/graphql';
@ObjectType()
export class CompanyMinAggregate {
@Field(() => String, {nullable:true})
@Field(() => String, { nullable: true })
id?: string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => String, {nullable:true})
@Field(() => String, { nullable: true })
name?: string;
@Field(() => String, {nullable:true})
@Field(() => String, { nullable: true })
domainName?: string;
@Field(() => String, {nullable:true})
@Field(() => String, { nullable: true })
address?: string;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
employees?: number;
@Field(() => String, {nullable:true})
@Field(() => String, { nullable: true })
accountOwnerId?: string;
@Field(() => String, {nullable:true})
@Field(() => String, { nullable: true })
workspaceId?: string;
}

View File

@ -5,32 +5,31 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CompanyMinOrderByAggregateInput {
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
id?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
name?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
domainName?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
address?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
employees?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
accountOwnerId?: keyof typeof SortOrder;
@HideField()

View File

@ -4,7 +4,6 @@ import { SortOrder } from '../prisma/sort-order.enum';
@InputType()
export class CompanyOrderByRelationAggregateInput {
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
_count?: keyof typeof SortOrder;
}

View File

@ -10,49 +10,48 @@ import { CompanySumOrderByAggregateInput } from './company-sum-order-by-aggregat
@InputType()
export class CompanyOrderByWithAggregationInput {
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
id?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
name?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
domainName?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
address?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
employees?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
accountOwnerId?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
@Field(() => CompanyCountOrderByAggregateInput, {nullable:true})
@Field(() => CompanyCountOrderByAggregateInput, { nullable: true })
_count?: CompanyCountOrderByAggregateInput;
@Field(() => CompanyAvgOrderByAggregateInput, {nullable:true})
@Field(() => CompanyAvgOrderByAggregateInput, { nullable: true })
_avg?: CompanyAvgOrderByAggregateInput;
@Field(() => CompanyMaxOrderByAggregateInput, {nullable:true})
@Field(() => CompanyMaxOrderByAggregateInput, { nullable: true })
_max?: CompanyMaxOrderByAggregateInput;
@Field(() => CompanyMinOrderByAggregateInput, {nullable:true})
@Field(() => CompanyMinOrderByAggregateInput, { nullable: true })
_min?: CompanyMinOrderByAggregateInput;
@Field(() => CompanySumOrderByAggregateInput, {nullable:true})
@Field(() => CompanySumOrderByAggregateInput, { nullable: true })
_sum?: CompanySumOrderByAggregateInput;
}

View File

@ -8,41 +8,40 @@ import { WorkspaceOrderByWithRelationInput } from '../workspace/workspace-order-
@InputType()
export class CompanyOrderByWithRelationInput {
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
id?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
name?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
domainName?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
address?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
employees?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
accountOwnerId?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
@Field(() => UserOrderByWithRelationInput, {nullable:true})
@Field(() => UserOrderByWithRelationInput, { nullable: true })
accountOwner?: UserOrderByWithRelationInput;
@Field(() => PersonOrderByRelationAggregateInput, {nullable:true})
@Field(() => PersonOrderByRelationAggregateInput, { nullable: true })
people?: PersonOrderByRelationAggregateInput;
@HideField()

View File

@ -4,10 +4,9 @@ import { CompanyWhereInput } from './company-where.input';
@InputType()
export class CompanyRelationFilter {
@Field(() => CompanyWhereInput, {nullable:true})
@Field(() => CompanyWhereInput, { nullable: true })
is?: CompanyWhereInput;
@Field(() => CompanyWhereInput, {nullable:true})
@Field(() => CompanyWhereInput, { nullable: true })
isNot?: CompanyWhereInput;
}

View File

@ -1,17 +1,19 @@
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"
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 })
registerEnumType(CompanyScalarFieldEnum, {
name: 'CompanyScalarFieldEnum',
description: undefined,
});

View File

@ -9,41 +9,40 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CompanyScalarWhereWithAggregatesInput {
@Field(() => [CompanyScalarWhereWithAggregatesInput], {nullable:true})
@Field(() => [CompanyScalarWhereWithAggregatesInput], { nullable: true })
AND?: Array<CompanyScalarWhereWithAggregatesInput>;
@Field(() => [CompanyScalarWhereWithAggregatesInput], {nullable:true})
@Field(() => [CompanyScalarWhereWithAggregatesInput], { nullable: true })
OR?: Array<CompanyScalarWhereWithAggregatesInput>;
@Field(() => [CompanyScalarWhereWithAggregatesInput], {nullable:true})
@Field(() => [CompanyScalarWhereWithAggregatesInput], { nullable: true })
NOT?: Array<CompanyScalarWhereWithAggregatesInput>;
@Field(() => StringWithAggregatesFilter, {nullable:true})
@Field(() => StringWithAggregatesFilter, { nullable: true })
id?: StringWithAggregatesFilter;
@Field(() => DateTimeWithAggregatesFilter, {nullable:true})
@Field(() => DateTimeWithAggregatesFilter, { nullable: true })
createdAt?: DateTimeWithAggregatesFilter;
@Field(() => DateTimeWithAggregatesFilter, {nullable:true})
@Field(() => DateTimeWithAggregatesFilter, { nullable: true })
updatedAt?: DateTimeWithAggregatesFilter;
@Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true})
@Field(() => DateTimeNullableWithAggregatesFilter, { nullable: true })
deletedAt?: DateTimeNullableWithAggregatesFilter;
@Field(() => StringWithAggregatesFilter, {nullable:true})
@Field(() => StringWithAggregatesFilter, { nullable: true })
name?: StringWithAggregatesFilter;
@Field(() => StringWithAggregatesFilter, {nullable:true})
@Field(() => StringWithAggregatesFilter, { nullable: true })
domainName?: StringWithAggregatesFilter;
@Field(() => StringWithAggregatesFilter, {nullable:true})
@Field(() => StringWithAggregatesFilter, { nullable: true })
address?: StringWithAggregatesFilter;
@Field(() => IntNullableWithAggregatesFilter, {nullable:true})
@Field(() => IntNullableWithAggregatesFilter, { nullable: true })
employees?: IntNullableWithAggregatesFilter;
@Field(() => StringNullableWithAggregatesFilter, {nullable:true})
@Field(() => StringNullableWithAggregatesFilter, { nullable: true })
accountOwnerId?: StringNullableWithAggregatesFilter;
@HideField()

View File

@ -9,41 +9,40 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CompanyScalarWhereInput {
@Field(() => [CompanyScalarWhereInput], {nullable:true})
@Field(() => [CompanyScalarWhereInput], { nullable: true })
AND?: Array<CompanyScalarWhereInput>;
@Field(() => [CompanyScalarWhereInput], {nullable:true})
@Field(() => [CompanyScalarWhereInput], { nullable: true })
OR?: Array<CompanyScalarWhereInput>;
@Field(() => [CompanyScalarWhereInput], {nullable:true})
@Field(() => [CompanyScalarWhereInput], { nullable: true })
NOT?: Array<CompanyScalarWhereInput>;
@Field(() => StringFilter, {nullable:true})
@Field(() => StringFilter, { nullable: true })
id?: StringFilter;
@Field(() => DateTimeFilter, {nullable:true})
@Field(() => DateTimeFilter, { nullable: true })
createdAt?: DateTimeFilter;
@Field(() => DateTimeFilter, {nullable:true})
@Field(() => DateTimeFilter, { nullable: true })
updatedAt?: DateTimeFilter;
@Field(() => DateTimeNullableFilter, {nullable:true})
@Field(() => DateTimeNullableFilter, { nullable: true })
deletedAt?: DateTimeNullableFilter;
@Field(() => StringFilter, {nullable:true})
@Field(() => StringFilter, { nullable: true })
name?: StringFilter;
@Field(() => StringFilter, {nullable:true})
@Field(() => StringFilter, { nullable: true })
domainName?: StringFilter;
@Field(() => StringFilter, {nullable:true})
@Field(() => StringFilter, { nullable: true })
address?: StringFilter;
@Field(() => IntNullableFilter, {nullable:true})
@Field(() => IntNullableFilter, { nullable: true })
employees?: IntNullableFilter;
@Field(() => StringNullableFilter, {nullable:true})
@Field(() => StringNullableFilter, { nullable: true })
accountOwnerId?: StringNullableFilter;
@HideField()

View File

@ -3,7 +3,6 @@ import { InputType } from '@nestjs/graphql';
@InputType()
export class CompanySumAggregateInput {
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
employees?: true;
}

View File

@ -4,7 +4,6 @@ import { Int } from '@nestjs/graphql';
@ObjectType()
export class CompanySumAggregate {
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
employees?: number;
}

View File

@ -4,7 +4,6 @@ import { SortOrder } from '../prisma/sort-order.enum';
@InputType()
export class CompanySumOrderByAggregateInput {
@Field(() => SortOrder, {nullable:true})
@Field(() => SortOrder, { nullable: true })
employees?: keyof typeof SortOrder;
}

View File

@ -8,20 +8,21 @@ import { CompanyWhereUniqueInput } from './company-where-unique.input';
@InputType()
export class CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput {
@Field(() => [CompanyCreateWithoutAccountOwnerInput], {nullable:true})
@Field(() => [CompanyCreateWithoutAccountOwnerInput], { nullable: true })
@Type(() => CompanyCreateWithoutAccountOwnerInput)
create?: Array<CompanyCreateWithoutAccountOwnerInput>;
@Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {nullable:true})
@Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {
nullable: true,
})
@Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput)
connectOrCreate?: Array<CompanyCreateOrConnectWithoutAccountOwnerInput>;
@Field(() => CompanyCreateManyAccountOwnerInputEnvelope, {nullable:true})
@Field(() => CompanyCreateManyAccountOwnerInputEnvelope, { nullable: true })
@Type(() => CompanyCreateManyAccountOwnerInputEnvelope)
createMany?: CompanyCreateManyAccountOwnerInputEnvelope;
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
@Field(() => [CompanyWhereUniqueInput], { nullable: true })
@Type(() => CompanyWhereUniqueInput)
connect?: Array<CompanyWhereUniqueInput>;
}

View File

@ -8,20 +8,21 @@ import { CompanyWhereUniqueInput } from './company-where-unique.input';
@InputType()
export class CompanyUncheckedCreateNestedManyWithoutWorkspaceInput {
@Field(() => [CompanyCreateWithoutWorkspaceInput], {nullable:true})
@Field(() => [CompanyCreateWithoutWorkspaceInput], { nullable: true })
@Type(() => CompanyCreateWithoutWorkspaceInput)
create?: Array<CompanyCreateWithoutWorkspaceInput>;
@Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {nullable:true})
@Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => CompanyCreateOrConnectWithoutWorkspaceInput)
connectOrCreate?: Array<CompanyCreateOrConnectWithoutWorkspaceInput>;
@Field(() => CompanyCreateManyWorkspaceInputEnvelope, {nullable:true})
@Field(() => CompanyCreateManyWorkspaceInputEnvelope, { nullable: true })
@Type(() => CompanyCreateManyWorkspaceInputEnvelope)
createMany?: CompanyCreateManyWorkspaceInputEnvelope;
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
@Field(() => [CompanyWhereUniqueInput], { nullable: true })
@Type(() => CompanyWhereUniqueInput)
connect?: Array<CompanyWhereUniqueInput>;
}

View File

@ -6,34 +6,35 @@ import { PersonUncheckedCreateNestedManyWithoutCompanyInput } from '../person/pe
@InputType()
export class CompanyUncheckedCreateWithoutAccountOwnerInput {
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
id!: string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
name!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
domainName!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
address!: string;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
employees?: number;
@HideField()
workspaceId!: string;
@Field(() => PersonUncheckedCreateNestedManyWithoutCompanyInput, {nullable:true})
@Field(() => PersonUncheckedCreateNestedManyWithoutCompanyInput, {
nullable: true,
})
people?: PersonUncheckedCreateNestedManyWithoutCompanyInput;
}

View File

@ -5,32 +5,31 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CompanyUncheckedCreateWithoutPeopleInput {
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
id!: string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
name!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
domainName!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
address!: string;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
employees?: number;
@Field(() => String, {nullable:true})
@Field(() => String, { nullable: true })
accountOwnerId?: string;
@HideField()

View File

@ -5,34 +5,35 @@ import { PersonUncheckedCreateNestedManyWithoutCompanyInput } from '../person/pe
@InputType()
export class CompanyUncheckedCreateWithoutWorkspaceInput {
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
id!: string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
name!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
domainName!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
address!: string;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
employees?: number;
@Field(() => String, {nullable:true})
@Field(() => String, { nullable: true })
accountOwnerId?: string;
@Field(() => PersonUncheckedCreateNestedManyWithoutCompanyInput, {nullable:true})
@Field(() => PersonUncheckedCreateNestedManyWithoutCompanyInput, {
nullable: true,
})
people?: PersonUncheckedCreateNestedManyWithoutCompanyInput;
}

View File

@ -6,37 +6,38 @@ import { PersonUncheckedCreateNestedManyWithoutCompanyInput } from '../person/pe
@InputType()
export class CompanyUncheckedCreateInput {
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
id!: string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
name!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
domainName!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
address!: string;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
employees?: number;
@Field(() => String, {nullable:true})
@Field(() => String, { nullable: true })
accountOwnerId?: string;
@HideField()
workspaceId!: string;
@Field(() => PersonUncheckedCreateNestedManyWithoutCompanyInput, {nullable:true})
@Field(() => PersonUncheckedCreateNestedManyWithoutCompanyInput, {
nullable: true,
})
people?: PersonUncheckedCreateNestedManyWithoutCompanyInput;
}

View File

@ -12,48 +12,55 @@ import { CompanyScalarWhereInput } from './company-scalar-where.input';
@InputType()
export class CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput {
@Field(() => [CompanyCreateWithoutAccountOwnerInput], {nullable:true})
@Field(() => [CompanyCreateWithoutAccountOwnerInput], { nullable: true })
@Type(() => CompanyCreateWithoutAccountOwnerInput)
create?: Array<CompanyCreateWithoutAccountOwnerInput>;
@Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {nullable:true})
@Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {
nullable: true,
})
@Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput)
connectOrCreate?: Array<CompanyCreateOrConnectWithoutAccountOwnerInput>;
@Field(() => [CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput], {nullable:true})
@Field(() => [CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput], {
nullable: true,
})
@Type(() => CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput)
upsert?: Array<CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput>;
@Field(() => CompanyCreateManyAccountOwnerInputEnvelope, {nullable:true})
@Field(() => CompanyCreateManyAccountOwnerInputEnvelope, { nullable: true })
@Type(() => CompanyCreateManyAccountOwnerInputEnvelope)
createMany?: CompanyCreateManyAccountOwnerInputEnvelope;
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
@Field(() => [CompanyWhereUniqueInput], { nullable: true })
@Type(() => CompanyWhereUniqueInput)
set?: Array<CompanyWhereUniqueInput>;
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
@Field(() => [CompanyWhereUniqueInput], { nullable: true })
@Type(() => CompanyWhereUniqueInput)
disconnect?: Array<CompanyWhereUniqueInput>;
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
@Field(() => [CompanyWhereUniqueInput], { nullable: true })
@Type(() => CompanyWhereUniqueInput)
delete?: Array<CompanyWhereUniqueInput>;
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
@Field(() => [CompanyWhereUniqueInput], { nullable: true })
@Type(() => CompanyWhereUniqueInput)
connect?: Array<CompanyWhereUniqueInput>;
@Field(() => [CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput], {nullable:true})
@Field(() => [CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput], {
nullable: true,
})
@Type(() => CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput)
update?: Array<CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput>;
@Field(() => [CompanyUpdateManyWithWhereWithoutAccountOwnerInput], {nullable:true})
@Field(() => [CompanyUpdateManyWithWhereWithoutAccountOwnerInput], {
nullable: true,
})
@Type(() => CompanyUpdateManyWithWhereWithoutAccountOwnerInput)
updateMany?: Array<CompanyUpdateManyWithWhereWithoutAccountOwnerInput>;
@Field(() => [CompanyScalarWhereInput], {nullable:true})
@Field(() => [CompanyScalarWhereInput], { nullable: true })
@Type(() => CompanyScalarWhereInput)
deleteMany?: Array<CompanyScalarWhereInput>;
}

View File

@ -8,29 +8,28 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CompanyUncheckedUpdateManyWithoutCompaniesInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
name?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
domainName?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
address?: StringFieldUpdateOperationsInput;
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableIntFieldUpdateOperationsInput, { nullable: true })
employees?: NullableIntFieldUpdateOperationsInput;
@HideField()

View File

@ -12,48 +12,55 @@ import { CompanyScalarWhereInput } from './company-scalar-where.input';
@InputType()
export class CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput {
@Field(() => [CompanyCreateWithoutWorkspaceInput], {nullable:true})
@Field(() => [CompanyCreateWithoutWorkspaceInput], { nullable: true })
@Type(() => CompanyCreateWithoutWorkspaceInput)
create?: Array<CompanyCreateWithoutWorkspaceInput>;
@Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {nullable:true})
@Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => CompanyCreateOrConnectWithoutWorkspaceInput)
connectOrCreate?: Array<CompanyCreateOrConnectWithoutWorkspaceInput>;
@Field(() => [CompanyUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true})
@Field(() => [CompanyUpsertWithWhereUniqueWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => CompanyUpsertWithWhereUniqueWithoutWorkspaceInput)
upsert?: Array<CompanyUpsertWithWhereUniqueWithoutWorkspaceInput>;
@Field(() => CompanyCreateManyWorkspaceInputEnvelope, {nullable:true})
@Field(() => CompanyCreateManyWorkspaceInputEnvelope, { nullable: true })
@Type(() => CompanyCreateManyWorkspaceInputEnvelope)
createMany?: CompanyCreateManyWorkspaceInputEnvelope;
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
@Field(() => [CompanyWhereUniqueInput], { nullable: true })
@Type(() => CompanyWhereUniqueInput)
set?: Array<CompanyWhereUniqueInput>;
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
@Field(() => [CompanyWhereUniqueInput], { nullable: true })
@Type(() => CompanyWhereUniqueInput)
disconnect?: Array<CompanyWhereUniqueInput>;
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
@Field(() => [CompanyWhereUniqueInput], { nullable: true })
@Type(() => CompanyWhereUniqueInput)
delete?: Array<CompanyWhereUniqueInput>;
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
@Field(() => [CompanyWhereUniqueInput], { nullable: true })
@Type(() => CompanyWhereUniqueInput)
connect?: Array<CompanyWhereUniqueInput>;
@Field(() => [CompanyUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true})
@Field(() => [CompanyUpdateWithWhereUniqueWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => CompanyUpdateWithWhereUniqueWithoutWorkspaceInput)
update?: Array<CompanyUpdateWithWhereUniqueWithoutWorkspaceInput>;
@Field(() => [CompanyUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true})
@Field(() => [CompanyUpdateManyWithWhereWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => CompanyUpdateManyWithWhereWithoutWorkspaceInput)
updateMany?: Array<CompanyUpdateManyWithWhereWithoutWorkspaceInput>;
@Field(() => [CompanyScalarWhereInput], {nullable:true})
@Field(() => [CompanyScalarWhereInput], { nullable: true })
@Type(() => CompanyScalarWhereInput)
deleteMany?: Array<CompanyScalarWhereInput>;
}

View File

@ -9,32 +9,31 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CompanyUncheckedUpdateManyInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
name?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
domainName?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
address?: StringFieldUpdateOperationsInput;
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableIntFieldUpdateOperationsInput, { nullable: true })
employees?: NullableIntFieldUpdateOperationsInput;
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true })
accountOwnerId?: NullableStringFieldUpdateOperationsInput;
@HideField()

View File

@ -9,34 +9,35 @@ import { PersonUncheckedUpdateManyWithoutCompanyNestedInput } from '../person/pe
@InputType()
export class CompanyUncheckedUpdateWithoutAccountOwnerInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
name?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
domainName?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
address?: StringFieldUpdateOperationsInput;
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableIntFieldUpdateOperationsInput, { nullable: true })
employees?: NullableIntFieldUpdateOperationsInput;
@HideField()
workspaceId?: StringFieldUpdateOperationsInput;
@Field(() => PersonUncheckedUpdateManyWithoutCompanyNestedInput, {nullable:true})
@Field(() => PersonUncheckedUpdateManyWithoutCompanyNestedInput, {
nullable: true,
})
people?: PersonUncheckedUpdateManyWithoutCompanyNestedInput;
}

View File

@ -9,32 +9,31 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CompanyUncheckedUpdateWithoutPeopleInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
name?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
domainName?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
address?: StringFieldUpdateOperationsInput;
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableIntFieldUpdateOperationsInput, { nullable: true })
employees?: NullableIntFieldUpdateOperationsInput;
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true })
accountOwnerId?: NullableStringFieldUpdateOperationsInput;
@HideField()

View File

@ -9,34 +9,35 @@ import { PersonUncheckedUpdateManyWithoutCompanyNestedInput } from '../person/pe
@InputType()
export class CompanyUncheckedUpdateWithoutWorkspaceInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
name?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
domainName?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
address?: StringFieldUpdateOperationsInput;
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableIntFieldUpdateOperationsInput, { nullable: true })
employees?: NullableIntFieldUpdateOperationsInput;
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true })
accountOwnerId?: NullableStringFieldUpdateOperationsInput;
@Field(() => PersonUncheckedUpdateManyWithoutCompanyNestedInput, {nullable:true})
@Field(() => PersonUncheckedUpdateManyWithoutCompanyNestedInput, {
nullable: true,
})
people?: PersonUncheckedUpdateManyWithoutCompanyNestedInput;
}

View File

@ -10,37 +10,38 @@ import { PersonUncheckedUpdateManyWithoutCompanyNestedInput } from '../person/pe
@InputType()
export class CompanyUncheckedUpdateInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
name?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
domainName?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
address?: StringFieldUpdateOperationsInput;
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableIntFieldUpdateOperationsInput, { nullable: true })
employees?: NullableIntFieldUpdateOperationsInput;
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true })
accountOwnerId?: NullableStringFieldUpdateOperationsInput;
@HideField()
workspaceId?: StringFieldUpdateOperationsInput;
@Field(() => PersonUncheckedUpdateManyWithoutCompanyNestedInput, {nullable:true})
@Field(() => PersonUncheckedUpdateManyWithoutCompanyNestedInput, {
nullable: true,
})
people?: PersonUncheckedUpdateManyWithoutCompanyNestedInput;
}

View File

@ -7,28 +7,27 @@ import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-fi
@InputType()
export class CompanyUpdateManyMutationInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
name?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
domainName?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
address?: StringFieldUpdateOperationsInput;
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableIntFieldUpdateOperationsInput, { nullable: true })
employees?: NullableIntFieldUpdateOperationsInput;
}

View File

@ -6,12 +6,11 @@ import { CompanyUpdateManyMutationInput } from './company-update-many-mutation.i
@InputType()
export class CompanyUpdateManyWithWhereWithoutAccountOwnerInput {
@Field(() => CompanyScalarWhereInput, {nullable:false})
@Field(() => CompanyScalarWhereInput, { nullable: false })
@Type(() => CompanyScalarWhereInput)
where!: CompanyScalarWhereInput;
@Field(() => CompanyUpdateManyMutationInput, {nullable:false})
@Field(() => CompanyUpdateManyMutationInput, { nullable: false })
@Type(() => CompanyUpdateManyMutationInput)
data!: CompanyUpdateManyMutationInput;
}

View File

@ -6,12 +6,11 @@ import { CompanyUpdateManyMutationInput } from './company-update-many-mutation.i
@InputType()
export class CompanyUpdateManyWithWhereWithoutWorkspaceInput {
@Field(() => CompanyScalarWhereInput, {nullable:false})
@Field(() => CompanyScalarWhereInput, { nullable: false })
@Type(() => CompanyScalarWhereInput)
where!: CompanyScalarWhereInput;
@Field(() => CompanyUpdateManyMutationInput, {nullable:false})
@Field(() => CompanyUpdateManyMutationInput, { nullable: false })
@Type(() => CompanyUpdateManyMutationInput)
data!: CompanyUpdateManyMutationInput;
}

View File

@ -12,48 +12,55 @@ import { CompanyScalarWhereInput } from './company-scalar-where.input';
@InputType()
export class CompanyUpdateManyWithoutAccountOwnerNestedInput {
@Field(() => [CompanyCreateWithoutAccountOwnerInput], {nullable:true})
@Field(() => [CompanyCreateWithoutAccountOwnerInput], { nullable: true })
@Type(() => CompanyCreateWithoutAccountOwnerInput)
create?: Array<CompanyCreateWithoutAccountOwnerInput>;
@Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {nullable:true})
@Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {
nullable: true,
})
@Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput)
connectOrCreate?: Array<CompanyCreateOrConnectWithoutAccountOwnerInput>;
@Field(() => [CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput], {nullable:true})
@Field(() => [CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput], {
nullable: true,
})
@Type(() => CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput)
upsert?: Array<CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput>;
@Field(() => CompanyCreateManyAccountOwnerInputEnvelope, {nullable:true})
@Field(() => CompanyCreateManyAccountOwnerInputEnvelope, { nullable: true })
@Type(() => CompanyCreateManyAccountOwnerInputEnvelope)
createMany?: CompanyCreateManyAccountOwnerInputEnvelope;
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
@Field(() => [CompanyWhereUniqueInput], { nullable: true })
@Type(() => CompanyWhereUniqueInput)
set?: Array<CompanyWhereUniqueInput>;
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
@Field(() => [CompanyWhereUniqueInput], { nullable: true })
@Type(() => CompanyWhereUniqueInput)
disconnect?: Array<CompanyWhereUniqueInput>;
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
@Field(() => [CompanyWhereUniqueInput], { nullable: true })
@Type(() => CompanyWhereUniqueInput)
delete?: Array<CompanyWhereUniqueInput>;
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
@Field(() => [CompanyWhereUniqueInput], { nullable: true })
@Type(() => CompanyWhereUniqueInput)
connect?: Array<CompanyWhereUniqueInput>;
@Field(() => [CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput], {nullable:true})
@Field(() => [CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput], {
nullable: true,
})
@Type(() => CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput)
update?: Array<CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput>;
@Field(() => [CompanyUpdateManyWithWhereWithoutAccountOwnerInput], {nullable:true})
@Field(() => [CompanyUpdateManyWithWhereWithoutAccountOwnerInput], {
nullable: true,
})
@Type(() => CompanyUpdateManyWithWhereWithoutAccountOwnerInput)
updateMany?: Array<CompanyUpdateManyWithWhereWithoutAccountOwnerInput>;
@Field(() => [CompanyScalarWhereInput], {nullable:true})
@Field(() => [CompanyScalarWhereInput], { nullable: true })
@Type(() => CompanyScalarWhereInput)
deleteMany?: Array<CompanyScalarWhereInput>;
}

View File

@ -12,48 +12,55 @@ import { CompanyScalarWhereInput } from './company-scalar-where.input';
@InputType()
export class CompanyUpdateManyWithoutWorkspaceNestedInput {
@Field(() => [CompanyCreateWithoutWorkspaceInput], {nullable:true})
@Field(() => [CompanyCreateWithoutWorkspaceInput], { nullable: true })
@Type(() => CompanyCreateWithoutWorkspaceInput)
create?: Array<CompanyCreateWithoutWorkspaceInput>;
@Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {nullable:true})
@Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => CompanyCreateOrConnectWithoutWorkspaceInput)
connectOrCreate?: Array<CompanyCreateOrConnectWithoutWorkspaceInput>;
@Field(() => [CompanyUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true})
@Field(() => [CompanyUpsertWithWhereUniqueWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => CompanyUpsertWithWhereUniqueWithoutWorkspaceInput)
upsert?: Array<CompanyUpsertWithWhereUniqueWithoutWorkspaceInput>;
@Field(() => CompanyCreateManyWorkspaceInputEnvelope, {nullable:true})
@Field(() => CompanyCreateManyWorkspaceInputEnvelope, { nullable: true })
@Type(() => CompanyCreateManyWorkspaceInputEnvelope)
createMany?: CompanyCreateManyWorkspaceInputEnvelope;
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
@Field(() => [CompanyWhereUniqueInput], { nullable: true })
@Type(() => CompanyWhereUniqueInput)
set?: Array<CompanyWhereUniqueInput>;
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
@Field(() => [CompanyWhereUniqueInput], { nullable: true })
@Type(() => CompanyWhereUniqueInput)
disconnect?: Array<CompanyWhereUniqueInput>;
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
@Field(() => [CompanyWhereUniqueInput], { nullable: true })
@Type(() => CompanyWhereUniqueInput)
delete?: Array<CompanyWhereUniqueInput>;
@Field(() => [CompanyWhereUniqueInput], {nullable:true})
@Field(() => [CompanyWhereUniqueInput], { nullable: true })
@Type(() => CompanyWhereUniqueInput)
connect?: Array<CompanyWhereUniqueInput>;
@Field(() => [CompanyUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true})
@Field(() => [CompanyUpdateWithWhereUniqueWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => CompanyUpdateWithWhereUniqueWithoutWorkspaceInput)
update?: Array<CompanyUpdateWithWhereUniqueWithoutWorkspaceInput>;
@Field(() => [CompanyUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true})
@Field(() => [CompanyUpdateManyWithWhereWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => CompanyUpdateManyWithWhereWithoutWorkspaceInput)
updateMany?: Array<CompanyUpdateManyWithWhereWithoutWorkspaceInput>;
@Field(() => [CompanyScalarWhereInput], {nullable:true})
@Field(() => [CompanyScalarWhereInput], { nullable: true })
@Type(() => CompanyScalarWhereInput)
deleteMany?: Array<CompanyScalarWhereInput>;
}

View File

@ -9,30 +9,29 @@ import { CompanyUpdateWithoutPeopleInput } from './company-update-without-people
@InputType()
export class CompanyUpdateOneWithoutPeopleNestedInput {
@Field(() => CompanyCreateWithoutPeopleInput, {nullable:true})
@Field(() => CompanyCreateWithoutPeopleInput, { nullable: true })
@Type(() => CompanyCreateWithoutPeopleInput)
create?: CompanyCreateWithoutPeopleInput;
@Field(() => CompanyCreateOrConnectWithoutPeopleInput, {nullable:true})
@Field(() => CompanyCreateOrConnectWithoutPeopleInput, { nullable: true })
@Type(() => CompanyCreateOrConnectWithoutPeopleInput)
connectOrCreate?: CompanyCreateOrConnectWithoutPeopleInput;
@Field(() => CompanyUpsertWithoutPeopleInput, {nullable:true})
@Field(() => CompanyUpsertWithoutPeopleInput, { nullable: true })
@Type(() => CompanyUpsertWithoutPeopleInput)
upsert?: CompanyUpsertWithoutPeopleInput;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
disconnect?: boolean;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
delete?: boolean;
@Field(() => CompanyWhereUniqueInput, {nullable:true})
@Field(() => CompanyWhereUniqueInput, { nullable: true })
@Type(() => CompanyWhereUniqueInput)
connect?: CompanyWhereUniqueInput;
@Field(() => CompanyUpdateWithoutPeopleInput, {nullable:true})
@Field(() => CompanyUpdateWithoutPeopleInput, { nullable: true })
@Type(() => CompanyUpdateWithoutPeopleInput)
update?: CompanyUpdateWithoutPeopleInput;
}

View File

@ -6,12 +6,11 @@ import { CompanyUpdateWithoutAccountOwnerInput } from './company-update-without-
@InputType()
export class CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput {
@Field(() => CompanyWhereUniqueInput, {nullable:false})
@Field(() => CompanyWhereUniqueInput, { nullable: false })
@Type(() => CompanyWhereUniqueInput)
where!: CompanyWhereUniqueInput;
@Field(() => CompanyUpdateWithoutAccountOwnerInput, {nullable:false})
@Field(() => CompanyUpdateWithoutAccountOwnerInput, { nullable: false })
@Type(() => CompanyUpdateWithoutAccountOwnerInput)
data!: CompanyUpdateWithoutAccountOwnerInput;
}

View File

@ -6,12 +6,11 @@ import { CompanyUpdateWithoutWorkspaceInput } from './company-update-without-wor
@InputType()
export class CompanyUpdateWithWhereUniqueWithoutWorkspaceInput {
@Field(() => CompanyWhereUniqueInput, {nullable:false})
@Field(() => CompanyWhereUniqueInput, { nullable: false })
@Type(() => CompanyWhereUniqueInput)
where!: CompanyWhereUniqueInput;
@Field(() => CompanyUpdateWithoutWorkspaceInput, {nullable:false})
@Field(() => CompanyUpdateWithoutWorkspaceInput, { nullable: false })
@Type(() => CompanyUpdateWithoutWorkspaceInput)
data!: CompanyUpdateWithoutWorkspaceInput;
}

View File

@ -10,32 +10,31 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CompanyUpdateWithoutAccountOwnerInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
name?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
domainName?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
address?: StringFieldUpdateOperationsInput;
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableIntFieldUpdateOperationsInput, { nullable: true })
employees?: NullableIntFieldUpdateOperationsInput;
@Field(() => PersonUpdateManyWithoutCompanyNestedInput, {nullable:true})
@Field(() => PersonUpdateManyWithoutCompanyNestedInput, { nullable: true })
people?: PersonUpdateManyWithoutCompanyNestedInput;
@HideField()

View File

@ -10,32 +10,31 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CompanyUpdateWithoutPeopleInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
name?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
domainName?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
address?: StringFieldUpdateOperationsInput;
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableIntFieldUpdateOperationsInput, { nullable: true })
employees?: NullableIntFieldUpdateOperationsInput;
@Field(() => UserUpdateOneWithoutCompaniesNestedInput, {nullable:true})
@Field(() => UserUpdateOneWithoutCompaniesNestedInput, { nullable: true })
accountOwner?: UserUpdateOneWithoutCompaniesNestedInput;
@HideField()

View File

@ -9,34 +9,33 @@ import { PersonUpdateManyWithoutCompanyNestedInput } from '../person/person-upda
@InputType()
export class CompanyUpdateWithoutWorkspaceInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
name?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
domainName?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
address?: StringFieldUpdateOperationsInput;
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableIntFieldUpdateOperationsInput, { nullable: true })
employees?: NullableIntFieldUpdateOperationsInput;
@Field(() => UserUpdateOneWithoutCompaniesNestedInput, {nullable:true})
@Field(() => UserUpdateOneWithoutCompaniesNestedInput, { nullable: true })
accountOwner?: UserUpdateOneWithoutCompaniesNestedInput;
@Field(() => PersonUpdateManyWithoutCompanyNestedInput, {nullable:true})
@Field(() => PersonUpdateManyWithoutCompanyNestedInput, { nullable: true })
people?: PersonUpdateManyWithoutCompanyNestedInput;
}

View File

@ -11,35 +11,34 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CompanyUpdateInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
name?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
domainName?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
address?: StringFieldUpdateOperationsInput;
@Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true})
@Field(() => NullableIntFieldUpdateOperationsInput, { nullable: true })
employees?: NullableIntFieldUpdateOperationsInput;
@Field(() => UserUpdateOneWithoutCompaniesNestedInput, {nullable:true})
@Field(() => UserUpdateOneWithoutCompaniesNestedInput, { nullable: true })
accountOwner?: UserUpdateOneWithoutCompaniesNestedInput;
@Field(() => PersonUpdateManyWithoutCompanyNestedInput, {nullable:true})
@Field(() => PersonUpdateManyWithoutCompanyNestedInput, { nullable: true })
people?: PersonUpdateManyWithoutCompanyNestedInput;
@HideField()

View File

@ -7,16 +7,15 @@ import { CompanyCreateWithoutAccountOwnerInput } from './company-create-without-
@InputType()
export class CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput {
@Field(() => CompanyWhereUniqueInput, {nullable:false})
@Field(() => CompanyWhereUniqueInput, { nullable: false })
@Type(() => CompanyWhereUniqueInput)
where!: CompanyWhereUniqueInput;
@Field(() => CompanyUpdateWithoutAccountOwnerInput, {nullable:false})
@Field(() => CompanyUpdateWithoutAccountOwnerInput, { nullable: false })
@Type(() => CompanyUpdateWithoutAccountOwnerInput)
update!: CompanyUpdateWithoutAccountOwnerInput;
@Field(() => CompanyCreateWithoutAccountOwnerInput, {nullable:false})
@Field(() => CompanyCreateWithoutAccountOwnerInput, { nullable: false })
@Type(() => CompanyCreateWithoutAccountOwnerInput)
create!: CompanyCreateWithoutAccountOwnerInput;
}

View File

@ -7,16 +7,15 @@ import { CompanyCreateWithoutWorkspaceInput } from './company-create-without-wor
@InputType()
export class CompanyUpsertWithWhereUniqueWithoutWorkspaceInput {
@Field(() => CompanyWhereUniqueInput, {nullable:false})
@Field(() => CompanyWhereUniqueInput, { nullable: false })
@Type(() => CompanyWhereUniqueInput)
where!: CompanyWhereUniqueInput;
@Field(() => CompanyUpdateWithoutWorkspaceInput, {nullable:false})
@Field(() => CompanyUpdateWithoutWorkspaceInput, { nullable: false })
@Type(() => CompanyUpdateWithoutWorkspaceInput)
update!: CompanyUpdateWithoutWorkspaceInput;
@Field(() => CompanyCreateWithoutWorkspaceInput, {nullable:false})
@Field(() => CompanyCreateWithoutWorkspaceInput, { nullable: false })
@Type(() => CompanyCreateWithoutWorkspaceInput)
create!: CompanyCreateWithoutWorkspaceInput;
}

View File

@ -6,12 +6,11 @@ import { CompanyCreateWithoutPeopleInput } from './company-create-without-people
@InputType()
export class CompanyUpsertWithoutPeopleInput {
@Field(() => CompanyUpdateWithoutPeopleInput, {nullable:false})
@Field(() => CompanyUpdateWithoutPeopleInput, { nullable: false })
@Type(() => CompanyUpdateWithoutPeopleInput)
update!: CompanyUpdateWithoutPeopleInput;
@Field(() => CompanyCreateWithoutPeopleInput, {nullable:false})
@Field(() => CompanyCreateWithoutPeopleInput, { nullable: false })
@Type(() => CompanyCreateWithoutPeopleInput)
create!: CompanyCreateWithoutPeopleInput;
}

View File

@ -3,7 +3,6 @@ import { InputType } from '@nestjs/graphql';
@InputType()
export class CompanyWhereUniqueInput {
@Field(() => String, {nullable:true})
@Field(() => String, { nullable: true })
id?: string;
}

View File

@ -12,50 +12,49 @@ import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter.
@InputType()
export class CompanyWhereInput {
@Field(() => [CompanyWhereInput], {nullable:true})
@Field(() => [CompanyWhereInput], { nullable: true })
AND?: Array<CompanyWhereInput>;
@Field(() => [CompanyWhereInput], {nullable:true})
@Field(() => [CompanyWhereInput], { nullable: true })
OR?: Array<CompanyWhereInput>;
@Field(() => [CompanyWhereInput], {nullable:true})
@Field(() => [CompanyWhereInput], { nullable: true })
NOT?: Array<CompanyWhereInput>;
@Field(() => StringFilter, {nullable:true})
@Field(() => StringFilter, { nullable: true })
id?: StringFilter;
@Field(() => DateTimeFilter, {nullable:true})
@Field(() => DateTimeFilter, { nullable: true })
createdAt?: DateTimeFilter;
@Field(() => DateTimeFilter, {nullable:true})
@Field(() => DateTimeFilter, { nullable: true })
updatedAt?: DateTimeFilter;
@Field(() => DateTimeNullableFilter, {nullable:true})
@Field(() => DateTimeNullableFilter, { nullable: true })
deletedAt?: DateTimeNullableFilter;
@Field(() => StringFilter, {nullable:true})
@Field(() => StringFilter, { nullable: true })
name?: StringFilter;
@Field(() => StringFilter, {nullable:true})
@Field(() => StringFilter, { nullable: true })
domainName?: StringFilter;
@Field(() => StringFilter, {nullable:true})
@Field(() => StringFilter, { nullable: true })
address?: StringFilter;
@Field(() => IntNullableFilter, {nullable:true})
@Field(() => IntNullableFilter, { nullable: true })
employees?: IntNullableFilter;
@Field(() => StringNullableFilter, {nullable:true})
@Field(() => StringNullableFilter, { nullable: true })
accountOwnerId?: StringNullableFilter;
@HideField()
workspaceId?: StringFilter;
@Field(() => UserRelationFilter, {nullable:true})
@Field(() => UserRelationFilter, { nullable: true })
accountOwner?: UserRelationFilter;
@Field(() => PersonListRelationFilter, {nullable:true})
@Field(() => PersonListRelationFilter, { nullable: true })
people?: PersonListRelationFilter;
@HideField()

View File

@ -9,46 +9,45 @@ import { CompanyCount } from './company-count.output';
@ObjectType()
export class Company {
@Field(() => ID, {nullable:false})
@Field(() => ID, { nullable: false })
id!: string;
@Field(() => Date, {nullable:false})
@Field(() => Date, { nullable: false })
createdAt!: Date;
@Field(() => Date, {nullable:false})
@Field(() => Date, { nullable: false })
updatedAt!: Date;
@Field(() => Date, {nullable:true})
@Field(() => Date, { nullable: true })
deletedAt!: Date | null;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
name!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
domainName!: string;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
address!: string;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
employees!: number | null;
@Field(() => String, {nullable:true})
@Field(() => String, { nullable: true })
accountOwnerId!: string | null;
@Field(() => String, {nullable:false})
@Field(() => String, { nullable: false })
workspaceId!: string;
@Field(() => User, {nullable:true})
@Field(() => User, { nullable: true })
accountOwner?: User | null;
@Field(() => [Person], {nullable:true})
@Field(() => [Person], { nullable: true })
people?: Array<Person>;
@Field(() => Workspace, {nullable:false})
@Field(() => Workspace, { nullable: false })
workspace?: Workspace;
@Field(() => CompanyCount, {nullable:false})
@Field(() => CompanyCount, { nullable: false })
_count?: CompanyCount;
}

View File

@ -5,11 +5,10 @@ import { Type } from 'class-transformer';
@ArgsType()
export class CreateManyCompanyArgs {
@Field(() => [CompanyCreateManyInput], {nullable:false})
@Field(() => [CompanyCreateManyInput], { nullable: false })
@Type(() => CompanyCreateManyInput)
data!: Array<CompanyCreateManyInput>;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
skipDuplicates?: boolean;
}

View File

@ -5,8 +5,7 @@ import { Type } from 'class-transformer';
@ArgsType()
export class CreateOneCompanyArgs {
@Field(() => CompanyCreateInput, {nullable:false})
@Field(() => CompanyCreateInput, { nullable: false })
@Type(() => CompanyCreateInput)
data!: CompanyCreateInput;
}

View File

@ -5,8 +5,7 @@ import { Type } from 'class-transformer';
@ArgsType()
export class DeleteManyCompanyArgs {
@Field(() => CompanyWhereInput, {nullable:true})
@Field(() => CompanyWhereInput, { nullable: true })
@Type(() => CompanyWhereInput)
where?: CompanyWhereInput;
}

View File

@ -5,8 +5,7 @@ import { Type } from 'class-transformer';
@ArgsType()
export class DeleteOneCompanyArgs {
@Field(() => CompanyWhereUniqueInput, {nullable:false})
@Field(() => CompanyWhereUniqueInput, { nullable: false })
@Type(() => CompanyWhereUniqueInput)
where!: CompanyWhereUniqueInput;
}

View File

@ -9,23 +9,22 @@ import { CompanyScalarFieldEnum } from './company-scalar-field.enum';
@ArgsType()
export class FindFirstCompanyOrThrowArgs {
@Field(() => CompanyWhereInput, {nullable:true})
@Field(() => CompanyWhereInput, { nullable: true })
@Type(() => CompanyWhereInput)
where?: CompanyWhereInput;
@Field(() => [CompanyOrderByWithRelationInput], {nullable:true})
@Field(() => [CompanyOrderByWithRelationInput], { nullable: true })
orderBy?: Array<CompanyOrderByWithRelationInput>;
@Field(() => CompanyWhereUniqueInput, {nullable:true})
@Field(() => CompanyWhereUniqueInput, { nullable: true })
cursor?: CompanyWhereUniqueInput;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
take?: number;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
skip?: number;
@Field(() => [CompanyScalarFieldEnum], {nullable:true})
@Field(() => [CompanyScalarFieldEnum], { nullable: true })
distinct?: Array<keyof typeof CompanyScalarFieldEnum>;
}

View File

@ -9,23 +9,22 @@ import { CompanyScalarFieldEnum } from './company-scalar-field.enum';
@ArgsType()
export class FindFirstCompanyArgs {
@Field(() => CompanyWhereInput, {nullable:true})
@Field(() => CompanyWhereInput, { nullable: true })
@Type(() => CompanyWhereInput)
where?: CompanyWhereInput;
@Field(() => [CompanyOrderByWithRelationInput], {nullable:true})
@Field(() => [CompanyOrderByWithRelationInput], { nullable: true })
orderBy?: Array<CompanyOrderByWithRelationInput>;
@Field(() => CompanyWhereUniqueInput, {nullable:true})
@Field(() => CompanyWhereUniqueInput, { nullable: true })
cursor?: CompanyWhereUniqueInput;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
take?: number;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
skip?: number;
@Field(() => [CompanyScalarFieldEnum], {nullable:true})
@Field(() => [CompanyScalarFieldEnum], { nullable: true })
distinct?: Array<keyof typeof CompanyScalarFieldEnum>;
}

View File

@ -9,23 +9,22 @@ import { CompanyScalarFieldEnum } from './company-scalar-field.enum';
@ArgsType()
export class FindManyCompanyArgs {
@Field(() => CompanyWhereInput, {nullable:true})
@Field(() => CompanyWhereInput, { nullable: true })
@Type(() => CompanyWhereInput)
where?: CompanyWhereInput;
@Field(() => [CompanyOrderByWithRelationInput], {nullable:true})
@Field(() => [CompanyOrderByWithRelationInput], { nullable: true })
orderBy?: Array<CompanyOrderByWithRelationInput>;
@Field(() => CompanyWhereUniqueInput, {nullable:true})
@Field(() => CompanyWhereUniqueInput, { nullable: true })
cursor?: CompanyWhereUniqueInput;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
take?: number;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
skip?: number;
@Field(() => [CompanyScalarFieldEnum], {nullable:true})
@Field(() => [CompanyScalarFieldEnum], { nullable: true })
distinct?: Array<keyof typeof CompanyScalarFieldEnum>;
}

View File

@ -5,8 +5,7 @@ import { Type } from 'class-transformer';
@ArgsType()
export class FindUniqueCompanyOrThrowArgs {
@Field(() => CompanyWhereUniqueInput, {nullable:false})
@Field(() => CompanyWhereUniqueInput, { nullable: false })
@Type(() => CompanyWhereUniqueInput)
where!: CompanyWhereUniqueInput;
}

View File

@ -5,8 +5,7 @@ import { Type } from 'class-transformer';
@ArgsType()
export class FindUniqueCompanyArgs {
@Field(() => CompanyWhereUniqueInput, {nullable:false})
@Field(() => CompanyWhereUniqueInput, { nullable: false })
@Type(() => CompanyWhereUniqueInput)
where!: CompanyWhereUniqueInput;
}

View File

@ -6,12 +6,11 @@ import { CompanyWhereInput } from './company-where.input';
@ArgsType()
export class UpdateManyCompanyArgs {
@Field(() => CompanyUpdateManyMutationInput, {nullable:false})
@Field(() => CompanyUpdateManyMutationInput, { nullable: false })
@Type(() => CompanyUpdateManyMutationInput)
data!: CompanyUpdateManyMutationInput;
@Field(() => CompanyWhereInput, {nullable:true})
@Field(() => CompanyWhereInput, { nullable: true })
@Type(() => CompanyWhereInput)
where?: CompanyWhereInput;
}

View File

@ -6,12 +6,11 @@ import { CompanyWhereUniqueInput } from './company-where-unique.input';
@ArgsType()
export class UpdateOneCompanyArgs {
@Field(() => CompanyUpdateInput, {nullable:false})
@Field(() => CompanyUpdateInput, { nullable: false })
@Type(() => CompanyUpdateInput)
data!: CompanyUpdateInput;
@Field(() => CompanyWhereUniqueInput, {nullable:false})
@Field(() => CompanyWhereUniqueInput, { nullable: false })
@Type(() => CompanyWhereUniqueInput)
where!: CompanyWhereUniqueInput;
}

View File

@ -7,16 +7,15 @@ import { CompanyUpdateInput } from './company-update.input';
@ArgsType()
export class UpsertOneCompanyArgs {
@Field(() => CompanyWhereUniqueInput, {nullable:false})
@Field(() => CompanyWhereUniqueInput, { nullable: false })
@Type(() => CompanyWhereUniqueInput)
where!: CompanyWhereUniqueInput;
@Field(() => CompanyCreateInput, {nullable:false})
@Field(() => CompanyCreateInput, { nullable: false })
@Type(() => CompanyCreateInput)
create!: CompanyCreateInput;
@Field(() => CompanyUpdateInput, {nullable:false})
@Field(() => CompanyUpdateInput, { nullable: false })
@Type(() => CompanyUpdateInput)
update!: CompanyUpdateInput;
}

View File

@ -6,13 +6,12 @@ import { PersonMaxAggregate } from './person-max-aggregate.output';
@ObjectType()
export class AggregatePerson {
@Field(() => PersonCountAggregate, {nullable:true})
@Field(() => PersonCountAggregate, { nullable: true })
_count?: PersonCountAggregate;
@Field(() => PersonMinAggregate, {nullable:true})
@Field(() => PersonMinAggregate, { nullable: true })
_min?: PersonMinAggregate;
@Field(() => PersonMaxAggregate, {nullable:true})
@Field(() => PersonMaxAggregate, { nullable: true })
_max?: PersonMaxAggregate;
}

View File

@ -5,11 +5,10 @@ import { Type } from 'class-transformer';
@ArgsType()
export class CreateManyPersonArgs {
@Field(() => [PersonCreateManyInput], {nullable:false})
@Field(() => [PersonCreateManyInput], { nullable: false })
@Type(() => PersonCreateManyInput)
data!: Array<PersonCreateManyInput>;
@Field(() => Boolean, {nullable:true})
@Field(() => Boolean, { nullable: true })
skipDuplicates?: boolean;
}

View File

@ -5,8 +5,7 @@ import { Type } from 'class-transformer';
@ArgsType()
export class CreateOnePersonArgs {
@Field(() => PersonCreateInput, {nullable:false})
@Field(() => PersonCreateInput, { nullable: false })
@Type(() => PersonCreateInput)
data!: PersonCreateInput;
}

View File

@ -5,8 +5,7 @@ import { Type } from 'class-transformer';
@ArgsType()
export class DeleteManyPersonArgs {
@Field(() => PersonWhereInput, {nullable:true})
@Field(() => PersonWhereInput, { nullable: true })
@Type(() => PersonWhereInput)
where?: PersonWhereInput;
}

View File

@ -5,8 +5,7 @@ import { Type } from 'class-transformer';
@ArgsType()
export class DeleteOnePersonArgs {
@Field(() => PersonWhereUniqueInput, {nullable:false})
@Field(() => PersonWhereUniqueInput, { nullable: false })
@Type(() => PersonWhereUniqueInput)
where!: PersonWhereUniqueInput;
}

View File

@ -9,23 +9,22 @@ import { PersonScalarFieldEnum } from './person-scalar-field.enum';
@ArgsType()
export class FindFirstPersonOrThrowArgs {
@Field(() => PersonWhereInput, {nullable:true})
@Field(() => PersonWhereInput, { nullable: true })
@Type(() => PersonWhereInput)
where?: PersonWhereInput;
@Field(() => [PersonOrderByWithRelationInput], {nullable:true})
@Field(() => [PersonOrderByWithRelationInput], { nullable: true })
orderBy?: Array<PersonOrderByWithRelationInput>;
@Field(() => PersonWhereUniqueInput, {nullable:true})
@Field(() => PersonWhereUniqueInput, { nullable: true })
cursor?: PersonWhereUniqueInput;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
take?: number;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
skip?: number;
@Field(() => [PersonScalarFieldEnum], {nullable:true})
@Field(() => [PersonScalarFieldEnum], { nullable: true })
distinct?: Array<keyof typeof PersonScalarFieldEnum>;
}

View File

@ -9,23 +9,22 @@ import { PersonScalarFieldEnum } from './person-scalar-field.enum';
@ArgsType()
export class FindFirstPersonArgs {
@Field(() => PersonWhereInput, {nullable:true})
@Field(() => PersonWhereInput, { nullable: true })
@Type(() => PersonWhereInput)
where?: PersonWhereInput;
@Field(() => [PersonOrderByWithRelationInput], {nullable:true})
@Field(() => [PersonOrderByWithRelationInput], { nullable: true })
orderBy?: Array<PersonOrderByWithRelationInput>;
@Field(() => PersonWhereUniqueInput, {nullable:true})
@Field(() => PersonWhereUniqueInput, { nullable: true })
cursor?: PersonWhereUniqueInput;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
take?: number;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
skip?: number;
@Field(() => [PersonScalarFieldEnum], {nullable:true})
@Field(() => [PersonScalarFieldEnum], { nullable: true })
distinct?: Array<keyof typeof PersonScalarFieldEnum>;
}

View File

@ -9,23 +9,22 @@ import { PersonScalarFieldEnum } from './person-scalar-field.enum';
@ArgsType()
export class FindManyPersonArgs {
@Field(() => PersonWhereInput, {nullable:true})
@Field(() => PersonWhereInput, { nullable: true })
@Type(() => PersonWhereInput)
where?: PersonWhereInput;
@Field(() => [PersonOrderByWithRelationInput], {nullable:true})
@Field(() => [PersonOrderByWithRelationInput], { nullable: true })
orderBy?: Array<PersonOrderByWithRelationInput>;
@Field(() => PersonWhereUniqueInput, {nullable:true})
@Field(() => PersonWhereUniqueInput, { nullable: true })
cursor?: PersonWhereUniqueInput;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
take?: number;
@Field(() => Int, {nullable:true})
@Field(() => Int, { nullable: true })
skip?: number;
@Field(() => [PersonScalarFieldEnum], {nullable:true})
@Field(() => [PersonScalarFieldEnum], { nullable: true })
distinct?: Array<keyof typeof PersonScalarFieldEnum>;
}

View File

@ -5,8 +5,7 @@ import { Type } from 'class-transformer';
@ArgsType()
export class FindUniquePersonOrThrowArgs {
@Field(() => PersonWhereUniqueInput, {nullable:false})
@Field(() => PersonWhereUniqueInput, { nullable: false })
@Type(() => PersonWhereUniqueInput)
where!: PersonWhereUniqueInput;
}

View File

@ -5,8 +5,7 @@ import { Type } from 'class-transformer';
@ArgsType()
export class FindUniquePersonArgs {
@Field(() => PersonWhereUniqueInput, {nullable:false})
@Field(() => PersonWhereUniqueInput, { nullable: false })
@Type(() => PersonWhereUniqueInput)
where!: PersonWhereUniqueInput;
}

Some files were not shown because too many files have changed in this diff Show More