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: on:
push: push:
jobs: jobs:
@ -13,12 +13,6 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: "18" 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 - name: Cache node modules
uses: actions/cache@v2 uses: actions/cache@v2
env: env:
@ -30,19 +24,25 @@ jobs:
${{ runner.os }}-build-${{ env.cache-name }}- ${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build- ${{ runner.os }}-build-
${{ runner.os }}- ${{ 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 run: cd front && npm install
- name: Install Playwright - name: Front / Install Playwright
run: cd front && npx playwright install --with-deps run: cd front && npx playwright install --with-deps
- name: Run linter - name: Front / Run linter
run: cd front && npm run lint run: cd front && npm run lint
- name: Build Storybook - name: Front / Build Storybook
run: cd front && npm run build-storybook --quiet run: cd front && npm run build-storybook --quiet
- name: Serve Storybook and run storybook tests - name: Front / Run storybook tests
run: | run: |
cd front && npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \ cd front && npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"npx http-server storybook-static --silent --port 6006" \ "npx http-server storybook-static --silent --port 6006" \
"npm run coverage" "npm run coverage"
- name: run jest tests - name: Front / Run jest tests
run: | run: |
cd front && npm run test 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:dev": "nest start --watch",
"start:debug": "nest start --debug --watch", "start:debug": "nest start --debug --watch",
"start:prod": "node dist/main", "start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", "lint": "eslint \"src/**/*.ts\" --fix",
"test": "jest", "test": "jest",
"test:watch": "jest --watch", "test:watch": "jest --watch",
"test:cov": "jest --coverage", "test:cov": "jest --coverage",

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,17 +1,19 @@
import { registerEnumType } from '@nestjs/graphql'; import { registerEnumType } from '@nestjs/graphql';
export enum CompanyScalarFieldEnum { export enum CompanyScalarFieldEnum {
id = "id", id = 'id',
createdAt = "createdAt", createdAt = 'createdAt',
updatedAt = "updatedAt", updatedAt = 'updatedAt',
deletedAt = "deletedAt", deletedAt = 'deletedAt',
name = "name", name = 'name',
domainName = "domainName", domainName = 'domainName',
address = "address", address = 'address',
employees = "employees", employees = 'employees',
accountOwnerId = "accountOwnerId", accountOwnerId = 'accountOwnerId',
workspaceId = "workspaceId" workspaceId = 'workspaceId',
} }
registerEnumType(CompanyScalarFieldEnum, {
registerEnumType(CompanyScalarFieldEnum, { name: 'CompanyScalarFieldEnum', description: undefined }) name: 'CompanyScalarFieldEnum',
description: undefined,
});

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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