Clean server post refactor to remove Hasura (#156)
* Clean BE post refactor to remove Hasura * Add server CI
This commit is contained in:
@ -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
30
.github/workflows/ci-server.yaml
vendored
Normal 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
|
||||||
@ -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",
|
||||||
|
|||||||
@ -8,7 +8,6 @@ import { CompanyMaxAggregate } from './company-max-aggregate.output';
|
|||||||
|
|
||||||
@ObjectType()
|
@ObjectType()
|
||||||
export class AggregateCompany {
|
export class AggregateCompany {
|
||||||
|
|
||||||
@Field(() => CompanyCountAggregate, { nullable: true })
|
@Field(() => CompanyCountAggregate, { nullable: true })
|
||||||
_count?: CompanyCountAggregate;
|
_count?: CompanyCountAggregate;
|
||||||
|
|
||||||
|
|||||||
@ -13,7 +13,6 @@ import { CompanyMaxAggregateInput } from './company-max-aggregate.input';
|
|||||||
|
|
||||||
@ArgsType()
|
@ArgsType()
|
||||||
export class CompanyAggregateArgs {
|
export class CompanyAggregateArgs {
|
||||||
|
|
||||||
@Field(() => CompanyWhereInput, { nullable: true })
|
@Field(() => CompanyWhereInput, { nullable: true })
|
||||||
@Type(() => CompanyWhereInput)
|
@Type(() => CompanyWhereInput)
|
||||||
where?: CompanyWhereInput;
|
where?: CompanyWhereInput;
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,7 +4,6 @@ import { HideField } from '@nestjs/graphql';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyCountAggregateInput {
|
export class CompanyCountAggregateInput {
|
||||||
|
|
||||||
@Field(() => Boolean, { nullable: true })
|
@Field(() => Boolean, { nullable: true })
|
||||||
id?: true;
|
id?: true;
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,6 @@ import { Int } from '@nestjs/graphql';
|
|||||||
|
|
||||||
@ObjectType()
|
@ObjectType()
|
||||||
export class CompanyCountAggregate {
|
export class CompanyCountAggregate {
|
||||||
|
|
||||||
@Field(() => Int, { nullable: false })
|
@Field(() => Int, { nullable: false })
|
||||||
id!: number;
|
id!: number;
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,6 @@ import { HideField } from '@nestjs/graphql';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyCountOrderByAggregateInput {
|
export class CompanyCountOrderByAggregateInput {
|
||||||
|
|
||||||
@Field(() => SortOrder, { nullable: true })
|
@Field(() => SortOrder, { nullable: true })
|
||||||
id?: keyof typeof SortOrder;
|
id?: keyof typeof SortOrder;
|
||||||
|
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,7 +5,6 @@ import { Type } from 'class-transformer';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyCreateManyAccountOwnerInputEnvelope {
|
export class CompanyCreateManyAccountOwnerInputEnvelope {
|
||||||
|
|
||||||
@Field(() => [CompanyCreateManyAccountOwnerInput], { nullable: false })
|
@Field(() => [CompanyCreateManyAccountOwnerInput], { nullable: false })
|
||||||
@Type(() => CompanyCreateManyAccountOwnerInput)
|
@Type(() => CompanyCreateManyAccountOwnerInput)
|
||||||
data!: Array<CompanyCreateManyAccountOwnerInput>;
|
data!: Array<CompanyCreateManyAccountOwnerInput>;
|
||||||
|
|||||||
@ -5,7 +5,6 @@ import { HideField } from '@nestjs/graphql';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyCreateManyAccountOwnerInput {
|
export class CompanyCreateManyAccountOwnerInput {
|
||||||
|
|
||||||
@Field(() => String, { nullable: false })
|
@Field(() => String, { nullable: false })
|
||||||
id!: string;
|
id!: string;
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,6 @@ import { Type } from 'class-transformer';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyCreateManyWorkspaceInputEnvelope {
|
export class CompanyCreateManyWorkspaceInputEnvelope {
|
||||||
|
|
||||||
@Field(() => [CompanyCreateManyWorkspaceInput], { nullable: false })
|
@Field(() => [CompanyCreateManyWorkspaceInput], { nullable: false })
|
||||||
@Type(() => CompanyCreateManyWorkspaceInput)
|
@Type(() => CompanyCreateManyWorkspaceInput)
|
||||||
data!: Array<CompanyCreateManyWorkspaceInput>;
|
data!: Array<CompanyCreateManyWorkspaceInput>;
|
||||||
|
|||||||
@ -4,7 +4,6 @@ import { Int } from '@nestjs/graphql';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyCreateManyWorkspaceInput {
|
export class CompanyCreateManyWorkspaceInput {
|
||||||
|
|
||||||
@Field(() => String, { nullable: false })
|
@Field(() => String, { nullable: false })
|
||||||
id!: string;
|
id!: string;
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,6 @@ import { HideField } from '@nestjs/graphql';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyCreateManyInput {
|
export class CompanyCreateManyInput {
|
||||||
|
|
||||||
@Field(() => String, { nullable: false })
|
@Field(() => String, { nullable: false })
|
||||||
id!: string;
|
id!: string;
|
||||||
|
|
||||||
|
|||||||
@ -8,12 +8,13 @@ import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyCreateNestedManyWithoutAccountOwnerInput {
|
export class CompanyCreateNestedManyWithoutAccountOwnerInput {
|
||||||
|
|
||||||
@Field(() => [CompanyCreateWithoutAccountOwnerInput], { nullable: true })
|
@Field(() => [CompanyCreateWithoutAccountOwnerInput], { nullable: true })
|
||||||
@Type(() => CompanyCreateWithoutAccountOwnerInput)
|
@Type(() => CompanyCreateWithoutAccountOwnerInput)
|
||||||
create?: Array<CompanyCreateWithoutAccountOwnerInput>;
|
create?: Array<CompanyCreateWithoutAccountOwnerInput>;
|
||||||
|
|
||||||
@Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {nullable:true})
|
@Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
@Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput)
|
@Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput)
|
||||||
connectOrCreate?: Array<CompanyCreateOrConnectWithoutAccountOwnerInput>;
|
connectOrCreate?: Array<CompanyCreateOrConnectWithoutAccountOwnerInput>;
|
||||||
|
|
||||||
|
|||||||
@ -8,12 +8,13 @@ import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyCreateNestedManyWithoutWorkspaceInput {
|
export class CompanyCreateNestedManyWithoutWorkspaceInput {
|
||||||
|
|
||||||
@Field(() => [CompanyCreateWithoutWorkspaceInput], { nullable: true })
|
@Field(() => [CompanyCreateWithoutWorkspaceInput], { nullable: true })
|
||||||
@Type(() => CompanyCreateWithoutWorkspaceInput)
|
@Type(() => CompanyCreateWithoutWorkspaceInput)
|
||||||
create?: Array<CompanyCreateWithoutWorkspaceInput>;
|
create?: Array<CompanyCreateWithoutWorkspaceInput>;
|
||||||
|
|
||||||
@Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {nullable:true})
|
@Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
@Type(() => CompanyCreateOrConnectWithoutWorkspaceInput)
|
@Type(() => CompanyCreateOrConnectWithoutWorkspaceInput)
|
||||||
connectOrCreate?: Array<CompanyCreateOrConnectWithoutWorkspaceInput>;
|
connectOrCreate?: Array<CompanyCreateOrConnectWithoutWorkspaceInput>;
|
||||||
|
|
||||||
|
|||||||
@ -7,7 +7,6 @@ import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyCreateNestedOneWithoutPeopleInput {
|
export class CompanyCreateNestedOneWithoutPeopleInput {
|
||||||
|
|
||||||
@Field(() => CompanyCreateWithoutPeopleInput, { nullable: true })
|
@Field(() => CompanyCreateWithoutPeopleInput, { nullable: true })
|
||||||
@Type(() => CompanyCreateWithoutPeopleInput)
|
@Type(() => CompanyCreateWithoutPeopleInput)
|
||||||
create?: CompanyCreateWithoutPeopleInput;
|
create?: CompanyCreateWithoutPeopleInput;
|
||||||
|
|||||||
@ -6,7 +6,6 @@ import { CompanyCreateWithoutAccountOwnerInput } from './company-create-without-
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyCreateOrConnectWithoutAccountOwnerInput {
|
export class CompanyCreateOrConnectWithoutAccountOwnerInput {
|
||||||
|
|
||||||
@Field(() => CompanyWhereUniqueInput, { nullable: false })
|
@Field(() => CompanyWhereUniqueInput, { nullable: false })
|
||||||
@Type(() => CompanyWhereUniqueInput)
|
@Type(() => CompanyWhereUniqueInput)
|
||||||
where!: CompanyWhereUniqueInput;
|
where!: CompanyWhereUniqueInput;
|
||||||
|
|||||||
@ -6,7 +6,6 @@ import { CompanyCreateWithoutPeopleInput } from './company-create-without-people
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyCreateOrConnectWithoutPeopleInput {
|
export class CompanyCreateOrConnectWithoutPeopleInput {
|
||||||
|
|
||||||
@Field(() => CompanyWhereUniqueInput, { nullable: false })
|
@Field(() => CompanyWhereUniqueInput, { nullable: false })
|
||||||
@Type(() => CompanyWhereUniqueInput)
|
@Type(() => CompanyWhereUniqueInput)
|
||||||
where!: CompanyWhereUniqueInput;
|
where!: CompanyWhereUniqueInput;
|
||||||
|
|||||||
@ -6,7 +6,6 @@ import { CompanyCreateWithoutWorkspaceInput } from './company-create-without-wor
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyCreateOrConnectWithoutWorkspaceInput {
|
export class CompanyCreateOrConnectWithoutWorkspaceInput {
|
||||||
|
|
||||||
@Field(() => CompanyWhereUniqueInput, { nullable: false })
|
@Field(() => CompanyWhereUniqueInput, { nullable: false })
|
||||||
@Type(() => CompanyWhereUniqueInput)
|
@Type(() => CompanyWhereUniqueInput)
|
||||||
where!: CompanyWhereUniqueInput;
|
where!: CompanyWhereUniqueInput;
|
||||||
|
|||||||
@ -7,7 +7,6 @@ import { HideField } from '@nestjs/graphql';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyCreateWithoutAccountOwnerInput {
|
export class CompanyCreateWithoutAccountOwnerInput {
|
||||||
|
|
||||||
@Field(() => String, { nullable: false })
|
@Field(() => String, { nullable: false })
|
||||||
id!: string;
|
id!: string;
|
||||||
|
|
||||||
|
|||||||
@ -7,7 +7,6 @@ import { HideField } from '@nestjs/graphql';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyCreateWithoutPeopleInput {
|
export class CompanyCreateWithoutPeopleInput {
|
||||||
|
|
||||||
@Field(() => String, { nullable: false })
|
@Field(() => String, { nullable: false })
|
||||||
id!: string;
|
id!: string;
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,6 @@ import { PersonCreateNestedManyWithoutCompanyInput } from '../person/person-crea
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyCreateWithoutWorkspaceInput {
|
export class CompanyCreateWithoutWorkspaceInput {
|
||||||
|
|
||||||
@Field(() => String, { nullable: false })
|
@Field(() => String, { nullable: false })
|
||||||
id!: string;
|
id!: string;
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,6 @@ import { HideField } from '@nestjs/graphql';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyCreateInput {
|
export class CompanyCreateInput {
|
||||||
|
|
||||||
@Field(() => String, { nullable: false })
|
@Field(() => String, { nullable: false })
|
||||||
id!: string;
|
id!: string;
|
||||||
|
|
||||||
|
|||||||
@ -14,7 +14,6 @@ import { CompanyMaxAggregateInput } from './company-max-aggregate.input';
|
|||||||
|
|
||||||
@ArgsType()
|
@ArgsType()
|
||||||
export class CompanyGroupByArgs {
|
export class CompanyGroupByArgs {
|
||||||
|
|
||||||
@Field(() => CompanyWhereInput, { nullable: true })
|
@Field(() => CompanyWhereInput, { nullable: true })
|
||||||
@Type(() => CompanyWhereInput)
|
@Type(() => CompanyWhereInput)
|
||||||
where?: CompanyWhereInput;
|
where?: CompanyWhereInput;
|
||||||
|
|||||||
@ -9,7 +9,6 @@ import { CompanyMaxAggregate } from './company-max-aggregate.output';
|
|||||||
|
|
||||||
@ObjectType()
|
@ObjectType()
|
||||||
export class CompanyGroupBy {
|
export class CompanyGroupBy {
|
||||||
|
|
||||||
@Field(() => String, { nullable: false })
|
@Field(() => String, { nullable: false })
|
||||||
id!: string;
|
id!: string;
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,6 @@ import { CompanyWhereInput } from './company-where.input';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyListRelationFilter {
|
export class CompanyListRelationFilter {
|
||||||
|
|
||||||
@Field(() => CompanyWhereInput, { nullable: true })
|
@Field(() => CompanyWhereInput, { nullable: true })
|
||||||
every?: CompanyWhereInput;
|
every?: CompanyWhereInput;
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,6 @@ import { HideField } from '@nestjs/graphql';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyMaxAggregateInput {
|
export class CompanyMaxAggregateInput {
|
||||||
|
|
||||||
@Field(() => Boolean, { nullable: true })
|
@Field(() => Boolean, { nullable: true })
|
||||||
id?: true;
|
id?: true;
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,6 @@ import { Int } from '@nestjs/graphql';
|
|||||||
|
|
||||||
@ObjectType()
|
@ObjectType()
|
||||||
export class CompanyMaxAggregate {
|
export class CompanyMaxAggregate {
|
||||||
|
|
||||||
@Field(() => String, { nullable: true })
|
@Field(() => String, { nullable: true })
|
||||||
id?: string;
|
id?: string;
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,6 @@ import { HideField } from '@nestjs/graphql';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyMaxOrderByAggregateInput {
|
export class CompanyMaxOrderByAggregateInput {
|
||||||
|
|
||||||
@Field(() => SortOrder, { nullable: true })
|
@Field(() => SortOrder, { nullable: true })
|
||||||
id?: keyof typeof SortOrder;
|
id?: keyof typeof SortOrder;
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,6 @@ import { HideField } from '@nestjs/graphql';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyMinAggregateInput {
|
export class CompanyMinAggregateInput {
|
||||||
|
|
||||||
@Field(() => Boolean, { nullable: true })
|
@Field(() => Boolean, { nullable: true })
|
||||||
id?: true;
|
id?: true;
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,6 @@ import { Int } from '@nestjs/graphql';
|
|||||||
|
|
||||||
@ObjectType()
|
@ObjectType()
|
||||||
export class CompanyMinAggregate {
|
export class CompanyMinAggregate {
|
||||||
|
|
||||||
@Field(() => String, { nullable: true })
|
@Field(() => String, { nullable: true })
|
||||||
id?: string;
|
id?: string;
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,6 @@ import { HideField } from '@nestjs/graphql';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyMinOrderByAggregateInput {
|
export class CompanyMinOrderByAggregateInput {
|
||||||
|
|
||||||
@Field(() => SortOrder, { nullable: true })
|
@Field(() => SortOrder, { nullable: true })
|
||||||
id?: keyof typeof SortOrder;
|
id?: keyof typeof SortOrder;
|
||||||
|
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,7 +10,6 @@ import { CompanySumOrderByAggregateInput } from './company-sum-order-by-aggregat
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyOrderByWithAggregationInput {
|
export class CompanyOrderByWithAggregationInput {
|
||||||
|
|
||||||
@Field(() => SortOrder, { nullable: true })
|
@Field(() => SortOrder, { nullable: true })
|
||||||
id?: keyof typeof SortOrder;
|
id?: keyof typeof SortOrder;
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,6 @@ import { WorkspaceOrderByWithRelationInput } from '../workspace/workspace-order-
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyOrderByWithRelationInput {
|
export class CompanyOrderByWithRelationInput {
|
||||||
|
|
||||||
@Field(() => SortOrder, { nullable: true })
|
@Field(() => SortOrder, { nullable: true })
|
||||||
id?: keyof typeof SortOrder;
|
id?: keyof typeof SortOrder;
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,6 @@ import { CompanyWhereInput } from './company-where.input';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyRelationFilter {
|
export class CompanyRelationFilter {
|
||||||
|
|
||||||
@Field(() => CompanyWhereInput, { nullable: true })
|
@Field(() => CompanyWhereInput, { nullable: true })
|
||||||
is?: CompanyWhereInput;
|
is?: CompanyWhereInput;
|
||||||
|
|
||||||
|
|||||||
@ -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,
|
||||||
|
});
|
||||||
|
|||||||
@ -9,7 +9,6 @@ import { HideField } from '@nestjs/graphql';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyScalarWhereWithAggregatesInput {
|
export class CompanyScalarWhereWithAggregatesInput {
|
||||||
|
|
||||||
@Field(() => [CompanyScalarWhereWithAggregatesInput], { nullable: true })
|
@Field(() => [CompanyScalarWhereWithAggregatesInput], { nullable: true })
|
||||||
AND?: Array<CompanyScalarWhereWithAggregatesInput>;
|
AND?: Array<CompanyScalarWhereWithAggregatesInput>;
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,6 @@ import { HideField } from '@nestjs/graphql';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyScalarWhereInput {
|
export class CompanyScalarWhereInput {
|
||||||
|
|
||||||
@Field(() => [CompanyScalarWhereInput], { nullable: true })
|
@Field(() => [CompanyScalarWhereInput], { nullable: true })
|
||||||
AND?: Array<CompanyScalarWhereInput>;
|
AND?: Array<CompanyScalarWhereInput>;
|
||||||
|
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,12 +8,13 @@ import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput {
|
export class CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput {
|
||||||
|
|
||||||
@Field(() => [CompanyCreateWithoutAccountOwnerInput], { nullable: true })
|
@Field(() => [CompanyCreateWithoutAccountOwnerInput], { nullable: true })
|
||||||
@Type(() => CompanyCreateWithoutAccountOwnerInput)
|
@Type(() => CompanyCreateWithoutAccountOwnerInput)
|
||||||
create?: Array<CompanyCreateWithoutAccountOwnerInput>;
|
create?: Array<CompanyCreateWithoutAccountOwnerInput>;
|
||||||
|
|
||||||
@Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {nullable:true})
|
@Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
@Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput)
|
@Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput)
|
||||||
connectOrCreate?: Array<CompanyCreateOrConnectWithoutAccountOwnerInput>;
|
connectOrCreate?: Array<CompanyCreateOrConnectWithoutAccountOwnerInput>;
|
||||||
|
|
||||||
|
|||||||
@ -8,12 +8,13 @@ import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUncheckedCreateNestedManyWithoutWorkspaceInput {
|
export class CompanyUncheckedCreateNestedManyWithoutWorkspaceInput {
|
||||||
|
|
||||||
@Field(() => [CompanyCreateWithoutWorkspaceInput], { nullable: true })
|
@Field(() => [CompanyCreateWithoutWorkspaceInput], { nullable: true })
|
||||||
@Type(() => CompanyCreateWithoutWorkspaceInput)
|
@Type(() => CompanyCreateWithoutWorkspaceInput)
|
||||||
create?: Array<CompanyCreateWithoutWorkspaceInput>;
|
create?: Array<CompanyCreateWithoutWorkspaceInput>;
|
||||||
|
|
||||||
@Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {nullable:true})
|
@Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
@Type(() => CompanyCreateOrConnectWithoutWorkspaceInput)
|
@Type(() => CompanyCreateOrConnectWithoutWorkspaceInput)
|
||||||
connectOrCreate?: Array<CompanyCreateOrConnectWithoutWorkspaceInput>;
|
connectOrCreate?: Array<CompanyCreateOrConnectWithoutWorkspaceInput>;
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,6 @@ import { PersonUncheckedCreateNestedManyWithoutCompanyInput } from '../person/pe
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUncheckedCreateWithoutAccountOwnerInput {
|
export class CompanyUncheckedCreateWithoutAccountOwnerInput {
|
||||||
|
|
||||||
@Field(() => String, { nullable: false })
|
@Field(() => String, { nullable: false })
|
||||||
id!: string;
|
id!: string;
|
||||||
|
|
||||||
@ -34,6 +33,8 @@ export class CompanyUncheckedCreateWithoutAccountOwnerInput {
|
|||||||
@HideField()
|
@HideField()
|
||||||
workspaceId!: string;
|
workspaceId!: string;
|
||||||
|
|
||||||
@Field(() => PersonUncheckedCreateNestedManyWithoutCompanyInput, {nullable:true})
|
@Field(() => PersonUncheckedCreateNestedManyWithoutCompanyInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
people?: PersonUncheckedCreateNestedManyWithoutCompanyInput;
|
people?: PersonUncheckedCreateNestedManyWithoutCompanyInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,7 +5,6 @@ import { HideField } from '@nestjs/graphql';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUncheckedCreateWithoutPeopleInput {
|
export class CompanyUncheckedCreateWithoutPeopleInput {
|
||||||
|
|
||||||
@Field(() => String, { nullable: false })
|
@Field(() => String, { nullable: false })
|
||||||
id!: string;
|
id!: string;
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,6 @@ import { PersonUncheckedCreateNestedManyWithoutCompanyInput } from '../person/pe
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUncheckedCreateWithoutWorkspaceInput {
|
export class CompanyUncheckedCreateWithoutWorkspaceInput {
|
||||||
|
|
||||||
@Field(() => String, { nullable: false })
|
@Field(() => String, { nullable: false })
|
||||||
id!: string;
|
id!: string;
|
||||||
|
|
||||||
@ -33,6 +32,8 @@ export class CompanyUncheckedCreateWithoutWorkspaceInput {
|
|||||||
@Field(() => String, { nullable: true })
|
@Field(() => String, { nullable: true })
|
||||||
accountOwnerId?: string;
|
accountOwnerId?: string;
|
||||||
|
|
||||||
@Field(() => PersonUncheckedCreateNestedManyWithoutCompanyInput, {nullable:true})
|
@Field(() => PersonUncheckedCreateNestedManyWithoutCompanyInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
people?: PersonUncheckedCreateNestedManyWithoutCompanyInput;
|
people?: PersonUncheckedCreateNestedManyWithoutCompanyInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,7 +6,6 @@ import { PersonUncheckedCreateNestedManyWithoutCompanyInput } from '../person/pe
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUncheckedCreateInput {
|
export class CompanyUncheckedCreateInput {
|
||||||
|
|
||||||
@Field(() => String, { nullable: false })
|
@Field(() => String, { nullable: false })
|
||||||
id!: string;
|
id!: string;
|
||||||
|
|
||||||
@ -37,6 +36,8 @@ export class CompanyUncheckedCreateInput {
|
|||||||
@HideField()
|
@HideField()
|
||||||
workspaceId!: string;
|
workspaceId!: string;
|
||||||
|
|
||||||
@Field(() => PersonUncheckedCreateNestedManyWithoutCompanyInput, {nullable:true})
|
@Field(() => PersonUncheckedCreateNestedManyWithoutCompanyInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
people?: PersonUncheckedCreateNestedManyWithoutCompanyInput;
|
people?: PersonUncheckedCreateNestedManyWithoutCompanyInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -12,16 +12,19 @@ import { CompanyScalarWhereInput } from './company-scalar-where.input';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput {
|
export class CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput {
|
||||||
|
|
||||||
@Field(() => [CompanyCreateWithoutAccountOwnerInput], { nullable: true })
|
@Field(() => [CompanyCreateWithoutAccountOwnerInput], { nullable: true })
|
||||||
@Type(() => CompanyCreateWithoutAccountOwnerInput)
|
@Type(() => CompanyCreateWithoutAccountOwnerInput)
|
||||||
create?: Array<CompanyCreateWithoutAccountOwnerInput>;
|
create?: Array<CompanyCreateWithoutAccountOwnerInput>;
|
||||||
|
|
||||||
@Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {nullable:true})
|
@Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
@Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput)
|
@Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput)
|
||||||
connectOrCreate?: Array<CompanyCreateOrConnectWithoutAccountOwnerInput>;
|
connectOrCreate?: Array<CompanyCreateOrConnectWithoutAccountOwnerInput>;
|
||||||
|
|
||||||
@Field(() => [CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput], {nullable:true})
|
@Field(() => [CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput], {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
@Type(() => CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput)
|
@Type(() => CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput)
|
||||||
upsert?: Array<CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput>;
|
upsert?: Array<CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput>;
|
||||||
|
|
||||||
@ -45,11 +48,15 @@ export class CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput {
|
|||||||
@Type(() => CompanyWhereUniqueInput)
|
@Type(() => CompanyWhereUniqueInput)
|
||||||
connect?: Array<CompanyWhereUniqueInput>;
|
connect?: Array<CompanyWhereUniqueInput>;
|
||||||
|
|
||||||
@Field(() => [CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput], {nullable:true})
|
@Field(() => [CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput], {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
@Type(() => CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput)
|
@Type(() => CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput)
|
||||||
update?: Array<CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput>;
|
update?: Array<CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput>;
|
||||||
|
|
||||||
@Field(() => [CompanyUpdateManyWithWhereWithoutAccountOwnerInput], {nullable:true})
|
@Field(() => [CompanyUpdateManyWithWhereWithoutAccountOwnerInput], {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
@Type(() => CompanyUpdateManyWithWhereWithoutAccountOwnerInput)
|
@Type(() => CompanyUpdateManyWithWhereWithoutAccountOwnerInput)
|
||||||
updateMany?: Array<CompanyUpdateManyWithWhereWithoutAccountOwnerInput>;
|
updateMany?: Array<CompanyUpdateManyWithWhereWithoutAccountOwnerInput>;
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,6 @@ import { HideField } from '@nestjs/graphql';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUncheckedUpdateManyWithoutCompaniesInput {
|
export class CompanyUncheckedUpdateManyWithoutCompaniesInput {
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||||
id?: StringFieldUpdateOperationsInput;
|
id?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
|||||||
@ -12,16 +12,19 @@ import { CompanyScalarWhereInput } from './company-scalar-where.input';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput {
|
export class CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput {
|
||||||
|
|
||||||
@Field(() => [CompanyCreateWithoutWorkspaceInput], { nullable: true })
|
@Field(() => [CompanyCreateWithoutWorkspaceInput], { nullable: true })
|
||||||
@Type(() => CompanyCreateWithoutWorkspaceInput)
|
@Type(() => CompanyCreateWithoutWorkspaceInput)
|
||||||
create?: Array<CompanyCreateWithoutWorkspaceInput>;
|
create?: Array<CompanyCreateWithoutWorkspaceInput>;
|
||||||
|
|
||||||
@Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {nullable:true})
|
@Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
@Type(() => CompanyCreateOrConnectWithoutWorkspaceInput)
|
@Type(() => CompanyCreateOrConnectWithoutWorkspaceInput)
|
||||||
connectOrCreate?: Array<CompanyCreateOrConnectWithoutWorkspaceInput>;
|
connectOrCreate?: Array<CompanyCreateOrConnectWithoutWorkspaceInput>;
|
||||||
|
|
||||||
@Field(() => [CompanyUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true})
|
@Field(() => [CompanyUpsertWithWhereUniqueWithoutWorkspaceInput], {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
@Type(() => CompanyUpsertWithWhereUniqueWithoutWorkspaceInput)
|
@Type(() => CompanyUpsertWithWhereUniqueWithoutWorkspaceInput)
|
||||||
upsert?: Array<CompanyUpsertWithWhereUniqueWithoutWorkspaceInput>;
|
upsert?: Array<CompanyUpsertWithWhereUniqueWithoutWorkspaceInput>;
|
||||||
|
|
||||||
@ -45,11 +48,15 @@ export class CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput {
|
|||||||
@Type(() => CompanyWhereUniqueInput)
|
@Type(() => CompanyWhereUniqueInput)
|
||||||
connect?: Array<CompanyWhereUniqueInput>;
|
connect?: Array<CompanyWhereUniqueInput>;
|
||||||
|
|
||||||
@Field(() => [CompanyUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true})
|
@Field(() => [CompanyUpdateWithWhereUniqueWithoutWorkspaceInput], {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
@Type(() => CompanyUpdateWithWhereUniqueWithoutWorkspaceInput)
|
@Type(() => CompanyUpdateWithWhereUniqueWithoutWorkspaceInput)
|
||||||
update?: Array<CompanyUpdateWithWhereUniqueWithoutWorkspaceInput>;
|
update?: Array<CompanyUpdateWithWhereUniqueWithoutWorkspaceInput>;
|
||||||
|
|
||||||
@Field(() => [CompanyUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true})
|
@Field(() => [CompanyUpdateManyWithWhereWithoutWorkspaceInput], {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
@Type(() => CompanyUpdateManyWithWhereWithoutWorkspaceInput)
|
@Type(() => CompanyUpdateManyWithWhereWithoutWorkspaceInput)
|
||||||
updateMany?: Array<CompanyUpdateManyWithWhereWithoutWorkspaceInput>;
|
updateMany?: Array<CompanyUpdateManyWithWhereWithoutWorkspaceInput>;
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,6 @@ import { HideField } from '@nestjs/graphql';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUncheckedUpdateManyInput {
|
export class CompanyUncheckedUpdateManyInput {
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||||
id?: StringFieldUpdateOperationsInput;
|
id?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,6 @@ import { PersonUncheckedUpdateManyWithoutCompanyNestedInput } from '../person/pe
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUncheckedUpdateWithoutAccountOwnerInput {
|
export class CompanyUncheckedUpdateWithoutAccountOwnerInput {
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||||
id?: StringFieldUpdateOperationsInput;
|
id?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@ -37,6 +36,8 @@ export class CompanyUncheckedUpdateWithoutAccountOwnerInput {
|
|||||||
@HideField()
|
@HideField()
|
||||||
workspaceId?: StringFieldUpdateOperationsInput;
|
workspaceId?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@Field(() => PersonUncheckedUpdateManyWithoutCompanyNestedInput, {nullable:true})
|
@Field(() => PersonUncheckedUpdateManyWithoutCompanyNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
people?: PersonUncheckedUpdateManyWithoutCompanyNestedInput;
|
people?: PersonUncheckedUpdateManyWithoutCompanyNestedInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -9,7 +9,6 @@ import { HideField } from '@nestjs/graphql';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUncheckedUpdateWithoutPeopleInput {
|
export class CompanyUncheckedUpdateWithoutPeopleInput {
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||||
id?: StringFieldUpdateOperationsInput;
|
id?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,6 @@ import { PersonUncheckedUpdateManyWithoutCompanyNestedInput } from '../person/pe
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUncheckedUpdateWithoutWorkspaceInput {
|
export class CompanyUncheckedUpdateWithoutWorkspaceInput {
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||||
id?: StringFieldUpdateOperationsInput;
|
id?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@ -37,6 +36,8 @@ export class CompanyUncheckedUpdateWithoutWorkspaceInput {
|
|||||||
@Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true })
|
@Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true })
|
||||||
accountOwnerId?: NullableStringFieldUpdateOperationsInput;
|
accountOwnerId?: NullableStringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@Field(() => PersonUncheckedUpdateManyWithoutCompanyNestedInput, {nullable:true})
|
@Field(() => PersonUncheckedUpdateManyWithoutCompanyNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
people?: PersonUncheckedUpdateManyWithoutCompanyNestedInput;
|
people?: PersonUncheckedUpdateManyWithoutCompanyNestedInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,7 +10,6 @@ import { PersonUncheckedUpdateManyWithoutCompanyNestedInput } from '../person/pe
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUncheckedUpdateInput {
|
export class CompanyUncheckedUpdateInput {
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||||
id?: StringFieldUpdateOperationsInput;
|
id?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@ -41,6 +40,8 @@ export class CompanyUncheckedUpdateInput {
|
|||||||
@HideField()
|
@HideField()
|
||||||
workspaceId?: StringFieldUpdateOperationsInput;
|
workspaceId?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@Field(() => PersonUncheckedUpdateManyWithoutCompanyNestedInput, {nullable:true})
|
@Field(() => PersonUncheckedUpdateManyWithoutCompanyNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
people?: PersonUncheckedUpdateManyWithoutCompanyNestedInput;
|
people?: PersonUncheckedUpdateManyWithoutCompanyNestedInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,7 +7,6 @@ import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-fi
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUpdateManyMutationInput {
|
export class CompanyUpdateManyMutationInput {
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||||
id?: StringFieldUpdateOperationsInput;
|
id?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,6 @@ import { CompanyUpdateManyMutationInput } from './company-update-many-mutation.i
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUpdateManyWithWhereWithoutAccountOwnerInput {
|
export class CompanyUpdateManyWithWhereWithoutAccountOwnerInput {
|
||||||
|
|
||||||
@Field(() => CompanyScalarWhereInput, { nullable: false })
|
@Field(() => CompanyScalarWhereInput, { nullable: false })
|
||||||
@Type(() => CompanyScalarWhereInput)
|
@Type(() => CompanyScalarWhereInput)
|
||||||
where!: CompanyScalarWhereInput;
|
where!: CompanyScalarWhereInput;
|
||||||
|
|||||||
@ -6,7 +6,6 @@ import { CompanyUpdateManyMutationInput } from './company-update-many-mutation.i
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUpdateManyWithWhereWithoutWorkspaceInput {
|
export class CompanyUpdateManyWithWhereWithoutWorkspaceInput {
|
||||||
|
|
||||||
@Field(() => CompanyScalarWhereInput, { nullable: false })
|
@Field(() => CompanyScalarWhereInput, { nullable: false })
|
||||||
@Type(() => CompanyScalarWhereInput)
|
@Type(() => CompanyScalarWhereInput)
|
||||||
where!: CompanyScalarWhereInput;
|
where!: CompanyScalarWhereInput;
|
||||||
|
|||||||
@ -12,16 +12,19 @@ import { CompanyScalarWhereInput } from './company-scalar-where.input';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUpdateManyWithoutAccountOwnerNestedInput {
|
export class CompanyUpdateManyWithoutAccountOwnerNestedInput {
|
||||||
|
|
||||||
@Field(() => [CompanyCreateWithoutAccountOwnerInput], { nullable: true })
|
@Field(() => [CompanyCreateWithoutAccountOwnerInput], { nullable: true })
|
||||||
@Type(() => CompanyCreateWithoutAccountOwnerInput)
|
@Type(() => CompanyCreateWithoutAccountOwnerInput)
|
||||||
create?: Array<CompanyCreateWithoutAccountOwnerInput>;
|
create?: Array<CompanyCreateWithoutAccountOwnerInput>;
|
||||||
|
|
||||||
@Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {nullable:true})
|
@Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
@Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput)
|
@Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput)
|
||||||
connectOrCreate?: Array<CompanyCreateOrConnectWithoutAccountOwnerInput>;
|
connectOrCreate?: Array<CompanyCreateOrConnectWithoutAccountOwnerInput>;
|
||||||
|
|
||||||
@Field(() => [CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput], {nullable:true})
|
@Field(() => [CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput], {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
@Type(() => CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput)
|
@Type(() => CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput)
|
||||||
upsert?: Array<CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput>;
|
upsert?: Array<CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput>;
|
||||||
|
|
||||||
@ -45,11 +48,15 @@ export class CompanyUpdateManyWithoutAccountOwnerNestedInput {
|
|||||||
@Type(() => CompanyWhereUniqueInput)
|
@Type(() => CompanyWhereUniqueInput)
|
||||||
connect?: Array<CompanyWhereUniqueInput>;
|
connect?: Array<CompanyWhereUniqueInput>;
|
||||||
|
|
||||||
@Field(() => [CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput], {nullable:true})
|
@Field(() => [CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput], {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
@Type(() => CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput)
|
@Type(() => CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput)
|
||||||
update?: Array<CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput>;
|
update?: Array<CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput>;
|
||||||
|
|
||||||
@Field(() => [CompanyUpdateManyWithWhereWithoutAccountOwnerInput], {nullable:true})
|
@Field(() => [CompanyUpdateManyWithWhereWithoutAccountOwnerInput], {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
@Type(() => CompanyUpdateManyWithWhereWithoutAccountOwnerInput)
|
@Type(() => CompanyUpdateManyWithWhereWithoutAccountOwnerInput)
|
||||||
updateMany?: Array<CompanyUpdateManyWithWhereWithoutAccountOwnerInput>;
|
updateMany?: Array<CompanyUpdateManyWithWhereWithoutAccountOwnerInput>;
|
||||||
|
|
||||||
|
|||||||
@ -12,16 +12,19 @@ import { CompanyScalarWhereInput } from './company-scalar-where.input';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUpdateManyWithoutWorkspaceNestedInput {
|
export class CompanyUpdateManyWithoutWorkspaceNestedInput {
|
||||||
|
|
||||||
@Field(() => [CompanyCreateWithoutWorkspaceInput], { nullable: true })
|
@Field(() => [CompanyCreateWithoutWorkspaceInput], { nullable: true })
|
||||||
@Type(() => CompanyCreateWithoutWorkspaceInput)
|
@Type(() => CompanyCreateWithoutWorkspaceInput)
|
||||||
create?: Array<CompanyCreateWithoutWorkspaceInput>;
|
create?: Array<CompanyCreateWithoutWorkspaceInput>;
|
||||||
|
|
||||||
@Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {nullable:true})
|
@Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
@Type(() => CompanyCreateOrConnectWithoutWorkspaceInput)
|
@Type(() => CompanyCreateOrConnectWithoutWorkspaceInput)
|
||||||
connectOrCreate?: Array<CompanyCreateOrConnectWithoutWorkspaceInput>;
|
connectOrCreate?: Array<CompanyCreateOrConnectWithoutWorkspaceInput>;
|
||||||
|
|
||||||
@Field(() => [CompanyUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true})
|
@Field(() => [CompanyUpsertWithWhereUniqueWithoutWorkspaceInput], {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
@Type(() => CompanyUpsertWithWhereUniqueWithoutWorkspaceInput)
|
@Type(() => CompanyUpsertWithWhereUniqueWithoutWorkspaceInput)
|
||||||
upsert?: Array<CompanyUpsertWithWhereUniqueWithoutWorkspaceInput>;
|
upsert?: Array<CompanyUpsertWithWhereUniqueWithoutWorkspaceInput>;
|
||||||
|
|
||||||
@ -45,11 +48,15 @@ export class CompanyUpdateManyWithoutWorkspaceNestedInput {
|
|||||||
@Type(() => CompanyWhereUniqueInput)
|
@Type(() => CompanyWhereUniqueInput)
|
||||||
connect?: Array<CompanyWhereUniqueInput>;
|
connect?: Array<CompanyWhereUniqueInput>;
|
||||||
|
|
||||||
@Field(() => [CompanyUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true})
|
@Field(() => [CompanyUpdateWithWhereUniqueWithoutWorkspaceInput], {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
@Type(() => CompanyUpdateWithWhereUniqueWithoutWorkspaceInput)
|
@Type(() => CompanyUpdateWithWhereUniqueWithoutWorkspaceInput)
|
||||||
update?: Array<CompanyUpdateWithWhereUniqueWithoutWorkspaceInput>;
|
update?: Array<CompanyUpdateWithWhereUniqueWithoutWorkspaceInput>;
|
||||||
|
|
||||||
@Field(() => [CompanyUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true})
|
@Field(() => [CompanyUpdateManyWithWhereWithoutWorkspaceInput], {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
@Type(() => CompanyUpdateManyWithWhereWithoutWorkspaceInput)
|
@Type(() => CompanyUpdateManyWithWhereWithoutWorkspaceInput)
|
||||||
updateMany?: Array<CompanyUpdateManyWithWhereWithoutWorkspaceInput>;
|
updateMany?: Array<CompanyUpdateManyWithWhereWithoutWorkspaceInput>;
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,6 @@ import { CompanyUpdateWithoutPeopleInput } from './company-update-without-people
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUpdateOneWithoutPeopleNestedInput {
|
export class CompanyUpdateOneWithoutPeopleNestedInput {
|
||||||
|
|
||||||
@Field(() => CompanyCreateWithoutPeopleInput, { nullable: true })
|
@Field(() => CompanyCreateWithoutPeopleInput, { nullable: true })
|
||||||
@Type(() => CompanyCreateWithoutPeopleInput)
|
@Type(() => CompanyCreateWithoutPeopleInput)
|
||||||
create?: CompanyCreateWithoutPeopleInput;
|
create?: CompanyCreateWithoutPeopleInput;
|
||||||
|
|||||||
@ -6,7 +6,6 @@ import { CompanyUpdateWithoutAccountOwnerInput } from './company-update-without-
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput {
|
export class CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput {
|
||||||
|
|
||||||
@Field(() => CompanyWhereUniqueInput, { nullable: false })
|
@Field(() => CompanyWhereUniqueInput, { nullable: false })
|
||||||
@Type(() => CompanyWhereUniqueInput)
|
@Type(() => CompanyWhereUniqueInput)
|
||||||
where!: CompanyWhereUniqueInput;
|
where!: CompanyWhereUniqueInput;
|
||||||
|
|||||||
@ -6,7 +6,6 @@ import { CompanyUpdateWithoutWorkspaceInput } from './company-update-without-wor
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUpdateWithWhereUniqueWithoutWorkspaceInput {
|
export class CompanyUpdateWithWhereUniqueWithoutWorkspaceInput {
|
||||||
|
|
||||||
@Field(() => CompanyWhereUniqueInput, { nullable: false })
|
@Field(() => CompanyWhereUniqueInput, { nullable: false })
|
||||||
@Type(() => CompanyWhereUniqueInput)
|
@Type(() => CompanyWhereUniqueInput)
|
||||||
where!: CompanyWhereUniqueInput;
|
where!: CompanyWhereUniqueInput;
|
||||||
|
|||||||
@ -10,7 +10,6 @@ import { HideField } from '@nestjs/graphql';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUpdateWithoutAccountOwnerInput {
|
export class CompanyUpdateWithoutAccountOwnerInput {
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||||
id?: StringFieldUpdateOperationsInput;
|
id?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,6 @@ import { HideField } from '@nestjs/graphql';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUpdateWithoutPeopleInput {
|
export class CompanyUpdateWithoutPeopleInput {
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||||
id?: StringFieldUpdateOperationsInput;
|
id?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,6 @@ import { PersonUpdateManyWithoutCompanyNestedInput } from '../person/person-upda
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUpdateWithoutWorkspaceInput {
|
export class CompanyUpdateWithoutWorkspaceInput {
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||||
id?: StringFieldUpdateOperationsInput;
|
id?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
|||||||
@ -11,7 +11,6 @@ import { HideField } from '@nestjs/graphql';
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUpdateInput {
|
export class CompanyUpdateInput {
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||||
id?: StringFieldUpdateOperationsInput;
|
id?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
|||||||
@ -7,7 +7,6 @@ import { CompanyCreateWithoutAccountOwnerInput } from './company-create-without-
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput {
|
export class CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput {
|
||||||
|
|
||||||
@Field(() => CompanyWhereUniqueInput, { nullable: false })
|
@Field(() => CompanyWhereUniqueInput, { nullable: false })
|
||||||
@Type(() => CompanyWhereUniqueInput)
|
@Type(() => CompanyWhereUniqueInput)
|
||||||
where!: CompanyWhereUniqueInput;
|
where!: CompanyWhereUniqueInput;
|
||||||
|
|||||||
@ -7,7 +7,6 @@ import { CompanyCreateWithoutWorkspaceInput } from './company-create-without-wor
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUpsertWithWhereUniqueWithoutWorkspaceInput {
|
export class CompanyUpsertWithWhereUniqueWithoutWorkspaceInput {
|
||||||
|
|
||||||
@Field(() => CompanyWhereUniqueInput, { nullable: false })
|
@Field(() => CompanyWhereUniqueInput, { nullable: false })
|
||||||
@Type(() => CompanyWhereUniqueInput)
|
@Type(() => CompanyWhereUniqueInput)
|
||||||
where!: CompanyWhereUniqueInput;
|
where!: CompanyWhereUniqueInput;
|
||||||
|
|||||||
@ -6,7 +6,6 @@ import { CompanyCreateWithoutPeopleInput } from './company-create-without-people
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyUpsertWithoutPeopleInput {
|
export class CompanyUpsertWithoutPeopleInput {
|
||||||
|
|
||||||
@Field(() => CompanyUpdateWithoutPeopleInput, { nullable: false })
|
@Field(() => CompanyUpdateWithoutPeopleInput, { nullable: false })
|
||||||
@Type(() => CompanyUpdateWithoutPeopleInput)
|
@Type(() => CompanyUpdateWithoutPeopleInput)
|
||||||
update!: CompanyUpdateWithoutPeopleInput;
|
update!: CompanyUpdateWithoutPeopleInput;
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -12,7 +12,6 @@ import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter.
|
|||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class CompanyWhereInput {
|
export class CompanyWhereInput {
|
||||||
|
|
||||||
@Field(() => [CompanyWhereInput], { nullable: true })
|
@Field(() => [CompanyWhereInput], { nullable: true })
|
||||||
AND?: Array<CompanyWhereInput>;
|
AND?: Array<CompanyWhereInput>;
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,6 @@ import { CompanyCount } from './company-count.output';
|
|||||||
|
|
||||||
@ObjectType()
|
@ObjectType()
|
||||||
export class Company {
|
export class Company {
|
||||||
|
|
||||||
@Field(() => ID, { nullable: false })
|
@Field(() => ID, { nullable: false })
|
||||||
id!: string;
|
id!: string;
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,6 @@ import { Type } from 'class-transformer';
|
|||||||
|
|
||||||
@ArgsType()
|
@ArgsType()
|
||||||
export class CreateManyCompanyArgs {
|
export class CreateManyCompanyArgs {
|
||||||
|
|
||||||
@Field(() => [CompanyCreateManyInput], { nullable: false })
|
@Field(() => [CompanyCreateManyInput], { nullable: false })
|
||||||
@Type(() => CompanyCreateManyInput)
|
@Type(() => CompanyCreateManyInput)
|
||||||
data!: Array<CompanyCreateManyInput>;
|
data!: Array<CompanyCreateManyInput>;
|
||||||
|
|||||||
@ -5,7 +5,6 @@ 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;
|
||||||
|
|||||||
@ -5,7 +5,6 @@ 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;
|
||||||
|
|||||||
@ -5,7 +5,6 @@ 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;
|
||||||
|
|||||||
@ -9,7 +9,6 @@ import { CompanyScalarFieldEnum } from './company-scalar-field.enum';
|
|||||||
|
|
||||||
@ArgsType()
|
@ArgsType()
|
||||||
export class FindFirstCompanyOrThrowArgs {
|
export class FindFirstCompanyOrThrowArgs {
|
||||||
|
|
||||||
@Field(() => CompanyWhereInput, { nullable: true })
|
@Field(() => CompanyWhereInput, { nullable: true })
|
||||||
@Type(() => CompanyWhereInput)
|
@Type(() => CompanyWhereInput)
|
||||||
where?: CompanyWhereInput;
|
where?: CompanyWhereInput;
|
||||||
|
|||||||
@ -9,7 +9,6 @@ import { CompanyScalarFieldEnum } from './company-scalar-field.enum';
|
|||||||
|
|
||||||
@ArgsType()
|
@ArgsType()
|
||||||
export class FindFirstCompanyArgs {
|
export class FindFirstCompanyArgs {
|
||||||
|
|
||||||
@Field(() => CompanyWhereInput, { nullable: true })
|
@Field(() => CompanyWhereInput, { nullable: true })
|
||||||
@Type(() => CompanyWhereInput)
|
@Type(() => CompanyWhereInput)
|
||||||
where?: CompanyWhereInput;
|
where?: CompanyWhereInput;
|
||||||
|
|||||||
@ -9,7 +9,6 @@ import { CompanyScalarFieldEnum } from './company-scalar-field.enum';
|
|||||||
|
|
||||||
@ArgsType()
|
@ArgsType()
|
||||||
export class FindManyCompanyArgs {
|
export class FindManyCompanyArgs {
|
||||||
|
|
||||||
@Field(() => CompanyWhereInput, { nullable: true })
|
@Field(() => CompanyWhereInput, { nullable: true })
|
||||||
@Type(() => CompanyWhereInput)
|
@Type(() => CompanyWhereInput)
|
||||||
where?: CompanyWhereInput;
|
where?: CompanyWhereInput;
|
||||||
|
|||||||
@ -5,7 +5,6 @@ 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;
|
||||||
|
|||||||
@ -5,7 +5,6 @@ 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;
|
||||||
|
|||||||
@ -6,7 +6,6 @@ import { CompanyWhereInput } from './company-where.input';
|
|||||||
|
|
||||||
@ArgsType()
|
@ArgsType()
|
||||||
export class UpdateManyCompanyArgs {
|
export class UpdateManyCompanyArgs {
|
||||||
|
|
||||||
@Field(() => CompanyUpdateManyMutationInput, { nullable: false })
|
@Field(() => CompanyUpdateManyMutationInput, { nullable: false })
|
||||||
@Type(() => CompanyUpdateManyMutationInput)
|
@Type(() => CompanyUpdateManyMutationInput)
|
||||||
data!: CompanyUpdateManyMutationInput;
|
data!: CompanyUpdateManyMutationInput;
|
||||||
|
|||||||
@ -6,7 +6,6 @@ import { CompanyWhereUniqueInput } from './company-where-unique.input';
|
|||||||
|
|
||||||
@ArgsType()
|
@ArgsType()
|
||||||
export class UpdateOneCompanyArgs {
|
export class UpdateOneCompanyArgs {
|
||||||
|
|
||||||
@Field(() => CompanyUpdateInput, { nullable: false })
|
@Field(() => CompanyUpdateInput, { nullable: false })
|
||||||
@Type(() => CompanyUpdateInput)
|
@Type(() => CompanyUpdateInput)
|
||||||
data!: CompanyUpdateInput;
|
data!: CompanyUpdateInput;
|
||||||
|
|||||||
@ -7,7 +7,6 @@ import { CompanyUpdateInput } from './company-update.input';
|
|||||||
|
|
||||||
@ArgsType()
|
@ArgsType()
|
||||||
export class UpsertOneCompanyArgs {
|
export class UpsertOneCompanyArgs {
|
||||||
|
|
||||||
@Field(() => CompanyWhereUniqueInput, { nullable: false })
|
@Field(() => CompanyWhereUniqueInput, { nullable: false })
|
||||||
@Type(() => CompanyWhereUniqueInput)
|
@Type(() => CompanyWhereUniqueInput)
|
||||||
where!: CompanyWhereUniqueInput;
|
where!: CompanyWhereUniqueInput;
|
||||||
|
|||||||
@ -6,7 +6,6 @@ import { PersonMaxAggregate } from './person-max-aggregate.output';
|
|||||||
|
|
||||||
@ObjectType()
|
@ObjectType()
|
||||||
export class AggregatePerson {
|
export class AggregatePerson {
|
||||||
|
|
||||||
@Field(() => PersonCountAggregate, { nullable: true })
|
@Field(() => PersonCountAggregate, { nullable: true })
|
||||||
_count?: PersonCountAggregate;
|
_count?: PersonCountAggregate;
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,6 @@ import { Type } from 'class-transformer';
|
|||||||
|
|
||||||
@ArgsType()
|
@ArgsType()
|
||||||
export class CreateManyPersonArgs {
|
export class CreateManyPersonArgs {
|
||||||
|
|
||||||
@Field(() => [PersonCreateManyInput], { nullable: false })
|
@Field(() => [PersonCreateManyInput], { nullable: false })
|
||||||
@Type(() => PersonCreateManyInput)
|
@Type(() => PersonCreateManyInput)
|
||||||
data!: Array<PersonCreateManyInput>;
|
data!: Array<PersonCreateManyInput>;
|
||||||
|
|||||||
@ -5,7 +5,6 @@ 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;
|
||||||
|
|||||||
@ -5,7 +5,6 @@ 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;
|
||||||
|
|||||||
@ -5,7 +5,6 @@ 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;
|
||||||
|
|||||||
@ -9,7 +9,6 @@ import { PersonScalarFieldEnum } from './person-scalar-field.enum';
|
|||||||
|
|
||||||
@ArgsType()
|
@ArgsType()
|
||||||
export class FindFirstPersonOrThrowArgs {
|
export class FindFirstPersonOrThrowArgs {
|
||||||
|
|
||||||
@Field(() => PersonWhereInput, { nullable: true })
|
@Field(() => PersonWhereInput, { nullable: true })
|
||||||
@Type(() => PersonWhereInput)
|
@Type(() => PersonWhereInput)
|
||||||
where?: PersonWhereInput;
|
where?: PersonWhereInput;
|
||||||
|
|||||||
@ -9,7 +9,6 @@ import { PersonScalarFieldEnum } from './person-scalar-field.enum';
|
|||||||
|
|
||||||
@ArgsType()
|
@ArgsType()
|
||||||
export class FindFirstPersonArgs {
|
export class FindFirstPersonArgs {
|
||||||
|
|
||||||
@Field(() => PersonWhereInput, { nullable: true })
|
@Field(() => PersonWhereInput, { nullable: true })
|
||||||
@Type(() => PersonWhereInput)
|
@Type(() => PersonWhereInput)
|
||||||
where?: PersonWhereInput;
|
where?: PersonWhereInput;
|
||||||
|
|||||||
@ -9,7 +9,6 @@ import { PersonScalarFieldEnum } from './person-scalar-field.enum';
|
|||||||
|
|
||||||
@ArgsType()
|
@ArgsType()
|
||||||
export class FindManyPersonArgs {
|
export class FindManyPersonArgs {
|
||||||
|
|
||||||
@Field(() => PersonWhereInput, { nullable: true })
|
@Field(() => PersonWhereInput, { nullable: true })
|
||||||
@Type(() => PersonWhereInput)
|
@Type(() => PersonWhereInput)
|
||||||
where?: PersonWhereInput;
|
where?: PersonWhereInput;
|
||||||
|
|||||||
@ -5,7 +5,6 @@ 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;
|
||||||
|
|||||||
@ -5,7 +5,6 @@ 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
Reference in New Issue
Block a user