diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci-front.yaml similarity index 80% rename from .github/workflows/ci.yaml rename to .github/workflows/ci-front.yaml index 27cb7534b4..3eb1a46d6b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci-front.yaml @@ -1,4 +1,4 @@ -name: continous-integration +name: CI Front on: push: jobs: @@ -13,12 +13,6 @@ jobs: uses: actions/setup-node@v3 with: node-version: "18" - - name: Write .env - run: | - cd front - touch .env - echo "REACT_APP_API_URL: $REACT_APP_API_URL" >> .env - echo "REACT_APP_AUTH_URL: $REACT_APP_AUTH_URL" >> .env - name: Cache node modules uses: actions/cache@v2 env: @@ -30,19 +24,25 @@ jobs: ${{ runner.os }}-build-${{ env.cache-name }}- ${{ runner.os }}-build- ${{ runner.os }}- - - name: Install Dependencies + - name: Front / Write .env + run: | + cd front + touch .env + echo "REACT_APP_API_URL: $REACT_APP_API_URL" >> .env + echo "REACT_APP_AUTH_URL: $REACT_APP_AUTH_URL" >> .env + - name: Front / Install Dependencies run: cd front && npm install - - name: Install Playwright + - name: Front / Install Playwright run: cd front && npx playwright install --with-deps - - name: Run linter + - name: Front / Run linter run: cd front && npm run lint - - name: Build Storybook + - name: Front / Build Storybook run: cd front && npm run build-storybook --quiet - - name: Serve Storybook and run storybook tests + - name: Front / Run storybook tests run: | cd front && npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \ "npx http-server storybook-static --silent --port 6006" \ "npm run coverage" - - name: run jest tests + - name: Front / Run jest tests run: | - cd front && npm run test \ No newline at end of file + cd front && npm run test diff --git a/.github/workflows/ci-server.yaml b/.github/workflows/ci-server.yaml new file mode 100644 index 0000000000..405ad1add4 --- /dev/null +++ b/.github/workflows/ci-server.yaml @@ -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 diff --git a/server/package.json b/server/package.json index 9edf5d09cf..a794bd1b69 100644 --- a/server/package.json +++ b/server/package.json @@ -13,7 +13,7 @@ "start:dev": "nest start --watch", "start:debug": "nest start --debug --watch", "start:prod": "node dist/main", - "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", + "lint": "eslint \"src/**/*.ts\" --fix", "test": "jest", "test:watch": "jest --watch", "test:cov": "jest --coverage", diff --git a/server/src/api/@generated/company/aggregate-company.output.ts b/server/src/api/@generated/company/aggregate-company.output.ts index f630368d94..87b325033c 100644 --- a/server/src/api/@generated/company/aggregate-company.output.ts +++ b/server/src/api/@generated/company/aggregate-company.output.ts @@ -8,19 +8,18 @@ import { CompanyMaxAggregate } from './company-max-aggregate.output'; @ObjectType() export class AggregateCompany { + @Field(() => CompanyCountAggregate, { nullable: true }) + _count?: CompanyCountAggregate; - @Field(() => CompanyCountAggregate, {nullable:true}) - _count?: CompanyCountAggregate; + @Field(() => CompanyAvgAggregate, { nullable: true }) + _avg?: CompanyAvgAggregate; - @Field(() => CompanyAvgAggregate, {nullable:true}) - _avg?: CompanyAvgAggregate; + @Field(() => CompanySumAggregate, { nullable: true }) + _sum?: CompanySumAggregate; - @Field(() => CompanySumAggregate, {nullable:true}) - _sum?: CompanySumAggregate; + @Field(() => CompanyMinAggregate, { nullable: true }) + _min?: CompanyMinAggregate; - @Field(() => CompanyMinAggregate, {nullable:true}) - _min?: CompanyMinAggregate; - - @Field(() => CompanyMaxAggregate, {nullable:true}) - _max?: CompanyMaxAggregate; + @Field(() => CompanyMaxAggregate, { nullable: true }) + _max?: CompanyMaxAggregate; } diff --git a/server/src/api/@generated/company/company-aggregate.args.ts b/server/src/api/@generated/company/company-aggregate.args.ts index fd232e8d0a..9403b90d2a 100644 --- a/server/src/api/@generated/company/company-aggregate.args.ts +++ b/server/src/api/@generated/company/company-aggregate.args.ts @@ -13,35 +13,34 @@ import { CompanyMaxAggregateInput } from './company-max-aggregate.input'; @ArgsType() export class CompanyAggregateArgs { + @Field(() => CompanyWhereInput, { nullable: true }) + @Type(() => CompanyWhereInput) + where?: CompanyWhereInput; - @Field(() => CompanyWhereInput, {nullable:true}) - @Type(() => CompanyWhereInput) - where?: CompanyWhereInput; + @Field(() => [CompanyOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [CompanyOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; + @Field(() => CompanyWhereUniqueInput, { nullable: true }) + cursor?: CompanyWhereUniqueInput; - @Field(() => CompanyWhereUniqueInput, {nullable:true}) - cursor?: CompanyWhereUniqueInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; + @Field(() => CompanyCountAggregateInput, { nullable: true }) + _count?: CompanyCountAggregateInput; - @Field(() => CompanyCountAggregateInput, {nullable:true}) - _count?: CompanyCountAggregateInput; + @Field(() => CompanyAvgAggregateInput, { nullable: true }) + _avg?: CompanyAvgAggregateInput; - @Field(() => CompanyAvgAggregateInput, {nullable:true}) - _avg?: CompanyAvgAggregateInput; + @Field(() => CompanySumAggregateInput, { nullable: true }) + _sum?: CompanySumAggregateInput; - @Field(() => CompanySumAggregateInput, {nullable:true}) - _sum?: CompanySumAggregateInput; + @Field(() => CompanyMinAggregateInput, { nullable: true }) + _min?: CompanyMinAggregateInput; - @Field(() => CompanyMinAggregateInput, {nullable:true}) - _min?: CompanyMinAggregateInput; - - @Field(() => CompanyMaxAggregateInput, {nullable:true}) - _max?: CompanyMaxAggregateInput; + @Field(() => CompanyMaxAggregateInput, { nullable: true }) + _max?: CompanyMaxAggregateInput; } diff --git a/server/src/api/@generated/company/company-avg-aggregate.input.ts b/server/src/api/@generated/company/company-avg-aggregate.input.ts index 8fb9d2abf5..954ce839fb 100644 --- a/server/src/api/@generated/company/company-avg-aggregate.input.ts +++ b/server/src/api/@generated/company/company-avg-aggregate.input.ts @@ -3,7 +3,6 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class CompanyAvgAggregateInput { - - @Field(() => Boolean, {nullable:true}) - employees?: true; + @Field(() => Boolean, { nullable: true }) + employees?: true; } diff --git a/server/src/api/@generated/company/company-avg-aggregate.output.ts b/server/src/api/@generated/company/company-avg-aggregate.output.ts index a23403d7a5..5b15948af4 100644 --- a/server/src/api/@generated/company/company-avg-aggregate.output.ts +++ b/server/src/api/@generated/company/company-avg-aggregate.output.ts @@ -4,7 +4,6 @@ import { Float } from '@nestjs/graphql'; @ObjectType() export class CompanyAvgAggregate { - - @Field(() => Float, {nullable:true}) - employees?: number; + @Field(() => Float, { nullable: true }) + employees?: number; } diff --git a/server/src/api/@generated/company/company-avg-order-by-aggregate.input.ts b/server/src/api/@generated/company/company-avg-order-by-aggregate.input.ts index 4abaa84e2f..58c1709179 100644 --- a/server/src/api/@generated/company/company-avg-order-by-aggregate.input.ts +++ b/server/src/api/@generated/company/company-avg-order-by-aggregate.input.ts @@ -4,7 +4,6 @@ import { SortOrder } from '../prisma/sort-order.enum'; @InputType() export class CompanyAvgOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - employees?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + employees?: keyof typeof SortOrder; } diff --git a/server/src/api/@generated/company/company-count-aggregate.input.ts b/server/src/api/@generated/company/company-count-aggregate.input.ts index edd42fd9fd..18880b27c7 100644 --- a/server/src/api/@generated/company/company-count-aggregate.input.ts +++ b/server/src/api/@generated/company/company-count-aggregate.input.ts @@ -4,37 +4,36 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class CompanyCountAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; - @Field(() => Boolean, {nullable:true}) - id?: true; + @Field(() => Boolean, { nullable: true }) + createdAt?: true; - @Field(() => Boolean, {nullable:true}) - createdAt?: true; + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; - @Field(() => Boolean, {nullable:true}) - deletedAt?: true; + @Field(() => Boolean, { nullable: true }) + name?: true; - @Field(() => Boolean, {nullable:true}) - name?: true; + @Field(() => Boolean, { nullable: true }) + domainName?: true; - @Field(() => Boolean, {nullable:true}) - domainName?: true; + @Field(() => Boolean, { nullable: true }) + address?: true; - @Field(() => Boolean, {nullable:true}) - address?: true; + @Field(() => Boolean, { nullable: true }) + employees?: true; - @Field(() => Boolean, {nullable:true}) - employees?: true; + @Field(() => Boolean, { nullable: true }) + accountOwnerId?: true; - @Field(() => Boolean, {nullable:true}) - accountOwnerId?: true; + @HideField() + workspaceId?: true; - @HideField() - workspaceId?: true; - - @Field(() => Boolean, {nullable:true}) - _all?: true; + @Field(() => Boolean, { nullable: true }) + _all?: true; } diff --git a/server/src/api/@generated/company/company-count-aggregate.output.ts b/server/src/api/@generated/company/company-count-aggregate.output.ts index fb66e8d600..4e1c2d2c68 100644 --- a/server/src/api/@generated/company/company-count-aggregate.output.ts +++ b/server/src/api/@generated/company/company-count-aggregate.output.ts @@ -4,37 +4,36 @@ import { Int } from '@nestjs/graphql'; @ObjectType() export class CompanyCountAggregate { + @Field(() => Int, { nullable: false }) + id!: number; - @Field(() => Int, {nullable:false}) - id!: number; + @Field(() => Int, { nullable: false }) + createdAt!: number; - @Field(() => Int, {nullable:false}) - createdAt!: number; + @Field(() => Int, { nullable: false }) + updatedAt!: number; - @Field(() => Int, {nullable:false}) - updatedAt!: number; + @Field(() => Int, { nullable: false }) + deletedAt!: number; - @Field(() => Int, {nullable:false}) - deletedAt!: number; + @Field(() => Int, { nullable: false }) + name!: number; - @Field(() => Int, {nullable:false}) - name!: number; + @Field(() => Int, { nullable: false }) + domainName!: number; - @Field(() => Int, {nullable:false}) - domainName!: number; + @Field(() => Int, { nullable: false }) + address!: number; - @Field(() => Int, {nullable:false}) - address!: number; + @Field(() => Int, { nullable: false }) + employees!: number; - @Field(() => Int, {nullable:false}) - employees!: number; + @Field(() => Int, { nullable: false }) + accountOwnerId!: number; - @Field(() => Int, {nullable:false}) - accountOwnerId!: number; + @Field(() => Int, { nullable: false }) + workspaceId!: number; - @Field(() => Int, {nullable:false}) - workspaceId!: number; - - @Field(() => Int, {nullable:false}) - _all!: number; + @Field(() => Int, { nullable: false }) + _all!: number; } diff --git a/server/src/api/@generated/company/company-count-order-by-aggregate.input.ts b/server/src/api/@generated/company/company-count-order-by-aggregate.input.ts index e1b1e1d1ca..8924c1f608 100644 --- a/server/src/api/@generated/company/company-count-order-by-aggregate.input.ts +++ b/server/src/api/@generated/company/company-count-order-by-aggregate.input.ts @@ -5,34 +5,33 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class CompanyCountOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + name?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - name?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + domainName?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - domainName?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + address?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - address?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + employees?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - employees?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + accountOwnerId?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - accountOwnerId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; + @HideField() + workspaceId?: keyof typeof SortOrder; } diff --git a/server/src/api/@generated/company/company-count.output.ts b/server/src/api/@generated/company/company-count.output.ts index f19b03a8e0..32d0a6d8e2 100644 --- a/server/src/api/@generated/company/company-count.output.ts +++ b/server/src/api/@generated/company/company-count.output.ts @@ -4,7 +4,6 @@ import { Int } from '@nestjs/graphql'; @ObjectType() export class CompanyCount { - - @Field(() => Int, {nullable:false}) - people?: number; + @Field(() => Int, { nullable: false }) + people?: number; } diff --git a/server/src/api/@generated/company/company-create-many-account-owner-input-envelope.input.ts b/server/src/api/@generated/company/company-create-many-account-owner-input-envelope.input.ts index 85de77ee78..8b4882d09b 100644 --- a/server/src/api/@generated/company/company-create-many-account-owner-input-envelope.input.ts +++ b/server/src/api/@generated/company/company-create-many-account-owner-input-envelope.input.ts @@ -5,11 +5,10 @@ import { Type } from 'class-transformer'; @InputType() export class CompanyCreateManyAccountOwnerInputEnvelope { + @Field(() => [CompanyCreateManyAccountOwnerInput], { nullable: false }) + @Type(() => CompanyCreateManyAccountOwnerInput) + data!: Array; - @Field(() => [CompanyCreateManyAccountOwnerInput], {nullable:false}) - @Type(() => CompanyCreateManyAccountOwnerInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; + @Field(() => Boolean, { nullable: true }) + skipDuplicates?: boolean; } diff --git a/server/src/api/@generated/company/company-create-many-account-owner.input.ts b/server/src/api/@generated/company/company-create-many-account-owner.input.ts index 2ea6afaff9..7ec6629a46 100644 --- a/server/src/api/@generated/company/company-create-many-account-owner.input.ts +++ b/server/src/api/@generated/company/company-create-many-account-owner.input.ts @@ -5,31 +5,30 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class CompanyCreateManyAccountOwnerInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + name!: string; - @Field(() => String, {nullable:false}) - name!: string; + @Field(() => String, { nullable: false }) + domainName!: string; - @Field(() => String, {nullable:false}) - domainName!: string; + @Field(() => String, { nullable: false }) + address!: string; - @Field(() => String, {nullable:false}) - address!: string; + @Field(() => Int, { nullable: true }) + employees?: number; - @Field(() => Int, {nullable:true}) - employees?: number; - - @HideField() - workspaceId!: string; + @HideField() + workspaceId!: string; } diff --git a/server/src/api/@generated/company/company-create-many-workspace-input-envelope.input.ts b/server/src/api/@generated/company/company-create-many-workspace-input-envelope.input.ts index 76f653e78b..9ce5d0f581 100644 --- a/server/src/api/@generated/company/company-create-many-workspace-input-envelope.input.ts +++ b/server/src/api/@generated/company/company-create-many-workspace-input-envelope.input.ts @@ -5,11 +5,10 @@ import { Type } from 'class-transformer'; @InputType() export class CompanyCreateManyWorkspaceInputEnvelope { + @Field(() => [CompanyCreateManyWorkspaceInput], { nullable: false }) + @Type(() => CompanyCreateManyWorkspaceInput) + data!: Array; - @Field(() => [CompanyCreateManyWorkspaceInput], {nullable:false}) - @Type(() => CompanyCreateManyWorkspaceInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; + @Field(() => Boolean, { nullable: true }) + skipDuplicates?: boolean; } diff --git a/server/src/api/@generated/company/company-create-many-workspace.input.ts b/server/src/api/@generated/company/company-create-many-workspace.input.ts index 980e96332d..dcb0bc17d8 100644 --- a/server/src/api/@generated/company/company-create-many-workspace.input.ts +++ b/server/src/api/@generated/company/company-create-many-workspace.input.ts @@ -4,31 +4,30 @@ import { Int } from '@nestjs/graphql'; @InputType() export class CompanyCreateManyWorkspaceInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + name!: string; - @Field(() => String, {nullable:false}) - name!: string; + @Field(() => String, { nullable: false }) + domainName!: string; - @Field(() => String, {nullable:false}) - domainName!: string; + @Field(() => String, { nullable: false }) + address!: string; - @Field(() => String, {nullable:false}) - address!: string; + @Field(() => Int, { nullable: true }) + employees?: number; - @Field(() => Int, {nullable:true}) - employees?: number; - - @Field(() => String, {nullable:true}) - accountOwnerId?: string; + @Field(() => String, { nullable: true }) + accountOwnerId?: string; } diff --git a/server/src/api/@generated/company/company-create-many.input.ts b/server/src/api/@generated/company/company-create-many.input.ts index 1ee04d895b..833d1ab09d 100644 --- a/server/src/api/@generated/company/company-create-many.input.ts +++ b/server/src/api/@generated/company/company-create-many.input.ts @@ -5,34 +5,33 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class CompanyCreateManyInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + name!: string; - @Field(() => String, {nullable:false}) - name!: string; + @Field(() => String, { nullable: false }) + domainName!: string; - @Field(() => String, {nullable:false}) - domainName!: string; + @Field(() => String, { nullable: false }) + address!: string; - @Field(() => String, {nullable:false}) - address!: string; + @Field(() => Int, { nullable: true }) + employees?: number; - @Field(() => Int, {nullable:true}) - employees?: number; + @Field(() => String, { nullable: true }) + accountOwnerId?: string; - @Field(() => String, {nullable:true}) - accountOwnerId?: string; - - @HideField() - workspaceId!: string; + @HideField() + workspaceId!: string; } diff --git a/server/src/api/@generated/company/company-create-nested-many-without-account-owner.input.ts b/server/src/api/@generated/company/company-create-nested-many-without-account-owner.input.ts index 6dce6b1055..5bedace05e 100644 --- a/server/src/api/@generated/company/company-create-nested-many-without-account-owner.input.ts +++ b/server/src/api/@generated/company/company-create-nested-many-without-account-owner.input.ts @@ -8,20 +8,21 @@ import { CompanyWhereUniqueInput } from './company-where-unique.input'; @InputType() export class CompanyCreateNestedManyWithoutAccountOwnerInput { + @Field(() => [CompanyCreateWithoutAccountOwnerInput], { nullable: true }) + @Type(() => CompanyCreateWithoutAccountOwnerInput) + create?: Array; - @Field(() => [CompanyCreateWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyCreateWithoutAccountOwnerInput) - create?: Array; + @Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], { + nullable: true, + }) + @Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput) + connectOrCreate?: Array; - @Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput) - connectOrCreate?: Array; + @Field(() => CompanyCreateManyAccountOwnerInputEnvelope, { nullable: true }) + @Type(() => CompanyCreateManyAccountOwnerInputEnvelope) + createMany?: CompanyCreateManyAccountOwnerInputEnvelope; - @Field(() => CompanyCreateManyAccountOwnerInputEnvelope, {nullable:true}) - @Type(() => CompanyCreateManyAccountOwnerInputEnvelope) - createMany?: CompanyCreateManyAccountOwnerInputEnvelope; - - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - connect?: Array; + @Field(() => [CompanyWhereUniqueInput], { nullable: true }) + @Type(() => CompanyWhereUniqueInput) + connect?: Array; } diff --git a/server/src/api/@generated/company/company-create-nested-many-without-workspace.input.ts b/server/src/api/@generated/company/company-create-nested-many-without-workspace.input.ts index caa3fe63b6..47e134ab9d 100644 --- a/server/src/api/@generated/company/company-create-nested-many-without-workspace.input.ts +++ b/server/src/api/@generated/company/company-create-nested-many-without-workspace.input.ts @@ -8,20 +8,21 @@ import { CompanyWhereUniqueInput } from './company-where-unique.input'; @InputType() export class CompanyCreateNestedManyWithoutWorkspaceInput { + @Field(() => [CompanyCreateWithoutWorkspaceInput], { nullable: true }) + @Type(() => CompanyCreateWithoutWorkspaceInput) + create?: Array; - @Field(() => [CompanyCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyCreateWithoutWorkspaceInput) - create?: Array; + @Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => CompanyCreateOrConnectWithoutWorkspaceInput) + connectOrCreate?: Array; - @Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; + @Field(() => CompanyCreateManyWorkspaceInputEnvelope, { nullable: true }) + @Type(() => CompanyCreateManyWorkspaceInputEnvelope) + createMany?: CompanyCreateManyWorkspaceInputEnvelope; - @Field(() => CompanyCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => CompanyCreateManyWorkspaceInputEnvelope) - createMany?: CompanyCreateManyWorkspaceInputEnvelope; - - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - connect?: Array; + @Field(() => [CompanyWhereUniqueInput], { nullable: true }) + @Type(() => CompanyWhereUniqueInput) + connect?: Array; } diff --git a/server/src/api/@generated/company/company-create-nested-one-without-people.input.ts b/server/src/api/@generated/company/company-create-nested-one-without-people.input.ts index a5955ce107..a4edb9de7d 100644 --- a/server/src/api/@generated/company/company-create-nested-one-without-people.input.ts +++ b/server/src/api/@generated/company/company-create-nested-one-without-people.input.ts @@ -7,16 +7,15 @@ import { CompanyWhereUniqueInput } from './company-where-unique.input'; @InputType() export class CompanyCreateNestedOneWithoutPeopleInput { + @Field(() => CompanyCreateWithoutPeopleInput, { nullable: true }) + @Type(() => CompanyCreateWithoutPeopleInput) + create?: CompanyCreateWithoutPeopleInput; - @Field(() => CompanyCreateWithoutPeopleInput, {nullable:true}) - @Type(() => CompanyCreateWithoutPeopleInput) - create?: CompanyCreateWithoutPeopleInput; + @Field(() => CompanyCreateOrConnectWithoutPeopleInput, { nullable: true }) + @Type(() => CompanyCreateOrConnectWithoutPeopleInput) + connectOrCreate?: CompanyCreateOrConnectWithoutPeopleInput; - @Field(() => CompanyCreateOrConnectWithoutPeopleInput, {nullable:true}) - @Type(() => CompanyCreateOrConnectWithoutPeopleInput) - connectOrCreate?: CompanyCreateOrConnectWithoutPeopleInput; - - @Field(() => CompanyWhereUniqueInput, {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - connect?: CompanyWhereUniqueInput; + @Field(() => CompanyWhereUniqueInput, { nullable: true }) + @Type(() => CompanyWhereUniqueInput) + connect?: CompanyWhereUniqueInput; } diff --git a/server/src/api/@generated/company/company-create-or-connect-without-account-owner.input.ts b/server/src/api/@generated/company/company-create-or-connect-without-account-owner.input.ts index cb5307ce3b..a6aed4753c 100644 --- a/server/src/api/@generated/company/company-create-or-connect-without-account-owner.input.ts +++ b/server/src/api/@generated/company/company-create-or-connect-without-account-owner.input.ts @@ -6,12 +6,11 @@ import { CompanyCreateWithoutAccountOwnerInput } from './company-create-without- @InputType() export class CompanyCreateOrConnectWithoutAccountOwnerInput { + @Field(() => CompanyWhereUniqueInput, { nullable: false }) + @Type(() => CompanyWhereUniqueInput) + where!: CompanyWhereUniqueInput; - @Field(() => CompanyWhereUniqueInput, {nullable:false}) - @Type(() => CompanyWhereUniqueInput) - where!: CompanyWhereUniqueInput; - - @Field(() => CompanyCreateWithoutAccountOwnerInput, {nullable:false}) - @Type(() => CompanyCreateWithoutAccountOwnerInput) - create!: CompanyCreateWithoutAccountOwnerInput; + @Field(() => CompanyCreateWithoutAccountOwnerInput, { nullable: false }) + @Type(() => CompanyCreateWithoutAccountOwnerInput) + create!: CompanyCreateWithoutAccountOwnerInput; } diff --git a/server/src/api/@generated/company/company-create-or-connect-without-people.input.ts b/server/src/api/@generated/company/company-create-or-connect-without-people.input.ts index 626c90d226..80f1c5ba6b 100644 --- a/server/src/api/@generated/company/company-create-or-connect-without-people.input.ts +++ b/server/src/api/@generated/company/company-create-or-connect-without-people.input.ts @@ -6,12 +6,11 @@ import { CompanyCreateWithoutPeopleInput } from './company-create-without-people @InputType() export class CompanyCreateOrConnectWithoutPeopleInput { + @Field(() => CompanyWhereUniqueInput, { nullable: false }) + @Type(() => CompanyWhereUniqueInput) + where!: CompanyWhereUniqueInput; - @Field(() => CompanyWhereUniqueInput, {nullable:false}) - @Type(() => CompanyWhereUniqueInput) - where!: CompanyWhereUniqueInput; - - @Field(() => CompanyCreateWithoutPeopleInput, {nullable:false}) - @Type(() => CompanyCreateWithoutPeopleInput) - create!: CompanyCreateWithoutPeopleInput; + @Field(() => CompanyCreateWithoutPeopleInput, { nullable: false }) + @Type(() => CompanyCreateWithoutPeopleInput) + create!: CompanyCreateWithoutPeopleInput; } diff --git a/server/src/api/@generated/company/company-create-or-connect-without-workspace.input.ts b/server/src/api/@generated/company/company-create-or-connect-without-workspace.input.ts index e1a59ddf76..c6ec79fb0a 100644 --- a/server/src/api/@generated/company/company-create-or-connect-without-workspace.input.ts +++ b/server/src/api/@generated/company/company-create-or-connect-without-workspace.input.ts @@ -6,12 +6,11 @@ import { CompanyCreateWithoutWorkspaceInput } from './company-create-without-wor @InputType() export class CompanyCreateOrConnectWithoutWorkspaceInput { + @Field(() => CompanyWhereUniqueInput, { nullable: false }) + @Type(() => CompanyWhereUniqueInput) + where!: CompanyWhereUniqueInput; - @Field(() => CompanyWhereUniqueInput, {nullable:false}) - @Type(() => CompanyWhereUniqueInput) - where!: CompanyWhereUniqueInput; - - @Field(() => CompanyCreateWithoutWorkspaceInput, {nullable:false}) - @Type(() => CompanyCreateWithoutWorkspaceInput) - create!: CompanyCreateWithoutWorkspaceInput; + @Field(() => CompanyCreateWithoutWorkspaceInput, { nullable: false }) + @Type(() => CompanyCreateWithoutWorkspaceInput) + create!: CompanyCreateWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/company/company-create-without-account-owner.input.ts b/server/src/api/@generated/company/company-create-without-account-owner.input.ts index 3dd155efee..c813a266de 100644 --- a/server/src/api/@generated/company/company-create-without-account-owner.input.ts +++ b/server/src/api/@generated/company/company-create-without-account-owner.input.ts @@ -7,34 +7,33 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class CompanyCreateWithoutAccountOwnerInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + name!: string; - @Field(() => String, {nullable:false}) - name!: string; + @Field(() => String, { nullable: false }) + domainName!: string; - @Field(() => String, {nullable:false}) - domainName!: string; + @Field(() => String, { nullable: false }) + address!: string; - @Field(() => String, {nullable:false}) - address!: string; + @Field(() => Int, { nullable: true }) + employees?: number; - @Field(() => Int, {nullable:true}) - employees?: number; + @Field(() => PersonCreateNestedManyWithoutCompanyInput, { nullable: true }) + people?: PersonCreateNestedManyWithoutCompanyInput; - @Field(() => PersonCreateNestedManyWithoutCompanyInput, {nullable:true}) - people?: PersonCreateNestedManyWithoutCompanyInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutCompaniesInput; + @HideField() + workspace!: WorkspaceCreateNestedOneWithoutCompaniesInput; } diff --git a/server/src/api/@generated/company/company-create-without-people.input.ts b/server/src/api/@generated/company/company-create-without-people.input.ts index b9501b2c95..bfc2237f13 100644 --- a/server/src/api/@generated/company/company-create-without-people.input.ts +++ b/server/src/api/@generated/company/company-create-without-people.input.ts @@ -7,34 +7,33 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class CompanyCreateWithoutPeopleInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + name!: string; - @Field(() => String, {nullable:false}) - name!: string; + @Field(() => String, { nullable: false }) + domainName!: string; - @Field(() => String, {nullable:false}) - domainName!: string; + @Field(() => String, { nullable: false }) + address!: string; - @Field(() => String, {nullable:false}) - address!: string; + @Field(() => Int, { nullable: true }) + employees?: number; - @Field(() => Int, {nullable:true}) - employees?: number; + @Field(() => UserCreateNestedOneWithoutCompaniesInput, { nullable: true }) + accountOwner?: UserCreateNestedOneWithoutCompaniesInput; - @Field(() => UserCreateNestedOneWithoutCompaniesInput, {nullable:true}) - accountOwner?: UserCreateNestedOneWithoutCompaniesInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutCompaniesInput; + @HideField() + workspace!: WorkspaceCreateNestedOneWithoutCompaniesInput; } diff --git a/server/src/api/@generated/company/company-create-without-workspace.input.ts b/server/src/api/@generated/company/company-create-without-workspace.input.ts index 3f4612d6ca..fa41944919 100644 --- a/server/src/api/@generated/company/company-create-without-workspace.input.ts +++ b/server/src/api/@generated/company/company-create-without-workspace.input.ts @@ -6,34 +6,33 @@ import { PersonCreateNestedManyWithoutCompanyInput } from '../person/person-crea @InputType() export class CompanyCreateWithoutWorkspaceInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + name!: string; - @Field(() => String, {nullable:false}) - name!: string; + @Field(() => String, { nullable: false }) + domainName!: string; - @Field(() => String, {nullable:false}) - domainName!: string; + @Field(() => String, { nullable: false }) + address!: string; - @Field(() => String, {nullable:false}) - address!: string; + @Field(() => Int, { nullable: true }) + employees?: number; - @Field(() => Int, {nullable:true}) - employees?: number; + @Field(() => UserCreateNestedOneWithoutCompaniesInput, { nullable: true }) + accountOwner?: UserCreateNestedOneWithoutCompaniesInput; - @Field(() => UserCreateNestedOneWithoutCompaniesInput, {nullable:true}) - accountOwner?: UserCreateNestedOneWithoutCompaniesInput; - - @Field(() => PersonCreateNestedManyWithoutCompanyInput, {nullable:true}) - people?: PersonCreateNestedManyWithoutCompanyInput; + @Field(() => PersonCreateNestedManyWithoutCompanyInput, { nullable: true }) + people?: PersonCreateNestedManyWithoutCompanyInput; } diff --git a/server/src/api/@generated/company/company-create.input.ts b/server/src/api/@generated/company/company-create.input.ts index fdd9e88fb0..3e96d700f4 100644 --- a/server/src/api/@generated/company/company-create.input.ts +++ b/server/src/api/@generated/company/company-create.input.ts @@ -8,37 +8,36 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class CompanyCreateInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + name!: string; - @Field(() => String, {nullable:false}) - name!: string; + @Field(() => String, { nullable: false }) + domainName!: string; - @Field(() => String, {nullable:false}) - domainName!: string; + @Field(() => String, { nullable: false }) + address!: string; - @Field(() => String, {nullable:false}) - address!: string; + @Field(() => Int, { nullable: true }) + employees?: number; - @Field(() => Int, {nullable:true}) - employees?: number; + @Field(() => UserCreateNestedOneWithoutCompaniesInput, { nullable: true }) + accountOwner?: UserCreateNestedOneWithoutCompaniesInput; - @Field(() => UserCreateNestedOneWithoutCompaniesInput, {nullable:true}) - accountOwner?: UserCreateNestedOneWithoutCompaniesInput; + @Field(() => PersonCreateNestedManyWithoutCompanyInput, { nullable: true }) + people?: PersonCreateNestedManyWithoutCompanyInput; - @Field(() => PersonCreateNestedManyWithoutCompanyInput, {nullable:true}) - people?: PersonCreateNestedManyWithoutCompanyInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutCompaniesInput; + @HideField() + workspace!: WorkspaceCreateNestedOneWithoutCompaniesInput; } diff --git a/server/src/api/@generated/company/company-group-by.args.ts b/server/src/api/@generated/company/company-group-by.args.ts index d541fef07f..8185215da7 100644 --- a/server/src/api/@generated/company/company-group-by.args.ts +++ b/server/src/api/@generated/company/company-group-by.args.ts @@ -14,38 +14,37 @@ import { CompanyMaxAggregateInput } from './company-max-aggregate.input'; @ArgsType() export class CompanyGroupByArgs { + @Field(() => CompanyWhereInput, { nullable: true }) + @Type(() => CompanyWhereInput) + where?: CompanyWhereInput; - @Field(() => CompanyWhereInput, {nullable:true}) - @Type(() => CompanyWhereInput) - where?: CompanyWhereInput; + @Field(() => [CompanyOrderByWithAggregationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [CompanyOrderByWithAggregationInput], {nullable:true}) - orderBy?: Array; + @Field(() => [CompanyScalarFieldEnum], { nullable: false }) + by!: Array; - @Field(() => [CompanyScalarFieldEnum], {nullable:false}) - by!: Array; + @Field(() => CompanyScalarWhereWithAggregatesInput, { nullable: true }) + having?: CompanyScalarWhereWithAggregatesInput; - @Field(() => CompanyScalarWhereWithAggregatesInput, {nullable:true}) - having?: CompanyScalarWhereWithAggregatesInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; + @Field(() => CompanyCountAggregateInput, { nullable: true }) + _count?: CompanyCountAggregateInput; - @Field(() => CompanyCountAggregateInput, {nullable:true}) - _count?: CompanyCountAggregateInput; + @Field(() => CompanyAvgAggregateInput, { nullable: true }) + _avg?: CompanyAvgAggregateInput; - @Field(() => CompanyAvgAggregateInput, {nullable:true}) - _avg?: CompanyAvgAggregateInput; + @Field(() => CompanySumAggregateInput, { nullable: true }) + _sum?: CompanySumAggregateInput; - @Field(() => CompanySumAggregateInput, {nullable:true}) - _sum?: CompanySumAggregateInput; + @Field(() => CompanyMinAggregateInput, { nullable: true }) + _min?: CompanyMinAggregateInput; - @Field(() => CompanyMinAggregateInput, {nullable:true}) - _min?: CompanyMinAggregateInput; - - @Field(() => CompanyMaxAggregateInput, {nullable:true}) - _max?: CompanyMaxAggregateInput; + @Field(() => CompanyMaxAggregateInput, { nullable: true }) + _max?: CompanyMaxAggregateInput; } diff --git a/server/src/api/@generated/company/company-group-by.output.ts b/server/src/api/@generated/company/company-group-by.output.ts index b6a2c4e5c6..906bcea859 100644 --- a/server/src/api/@generated/company/company-group-by.output.ts +++ b/server/src/api/@generated/company/company-group-by.output.ts @@ -9,49 +9,48 @@ import { CompanyMaxAggregate } from './company-max-aggregate.output'; @ObjectType() export class CompanyGroupBy { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: false }) + createdAt!: Date | string; - @Field(() => Date, {nullable:false}) - createdAt!: Date | string; + @Field(() => Date, { nullable: false }) + updatedAt!: Date | string; - @Field(() => Date, {nullable:false}) - updatedAt!: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + name!: string; - @Field(() => String, {nullable:false}) - name!: string; + @Field(() => String, { nullable: false }) + domainName!: string; - @Field(() => String, {nullable:false}) - domainName!: string; + @Field(() => String, { nullable: false }) + address!: string; - @Field(() => String, {nullable:false}) - address!: string; + @Field(() => Int, { nullable: true }) + employees?: number; - @Field(() => Int, {nullable:true}) - employees?: number; + @Field(() => String, { nullable: true }) + accountOwnerId?: string; - @Field(() => String, {nullable:true}) - accountOwnerId?: string; + @Field(() => String, { nullable: false }) + workspaceId!: string; - @Field(() => String, {nullable:false}) - workspaceId!: string; + @Field(() => CompanyCountAggregate, { nullable: true }) + _count?: CompanyCountAggregate; - @Field(() => CompanyCountAggregate, {nullable:true}) - _count?: CompanyCountAggregate; + @Field(() => CompanyAvgAggregate, { nullable: true }) + _avg?: CompanyAvgAggregate; - @Field(() => CompanyAvgAggregate, {nullable:true}) - _avg?: CompanyAvgAggregate; + @Field(() => CompanySumAggregate, { nullable: true }) + _sum?: CompanySumAggregate; - @Field(() => CompanySumAggregate, {nullable:true}) - _sum?: CompanySumAggregate; + @Field(() => CompanyMinAggregate, { nullable: true }) + _min?: CompanyMinAggregate; - @Field(() => CompanyMinAggregate, {nullable:true}) - _min?: CompanyMinAggregate; - - @Field(() => CompanyMaxAggregate, {nullable:true}) - _max?: CompanyMaxAggregate; + @Field(() => CompanyMaxAggregate, { nullable: true }) + _max?: CompanyMaxAggregate; } diff --git a/server/src/api/@generated/company/company-list-relation-filter.input.ts b/server/src/api/@generated/company/company-list-relation-filter.input.ts index a65fee0ab2..d814a83435 100644 --- a/server/src/api/@generated/company/company-list-relation-filter.input.ts +++ b/server/src/api/@generated/company/company-list-relation-filter.input.ts @@ -4,13 +4,12 @@ import { CompanyWhereInput } from './company-where.input'; @InputType() export class CompanyListRelationFilter { + @Field(() => CompanyWhereInput, { nullable: true }) + every?: CompanyWhereInput; - @Field(() => CompanyWhereInput, {nullable:true}) - every?: CompanyWhereInput; + @Field(() => CompanyWhereInput, { nullable: true }) + some?: CompanyWhereInput; - @Field(() => CompanyWhereInput, {nullable:true}) - some?: CompanyWhereInput; - - @Field(() => CompanyWhereInput, {nullable:true}) - none?: CompanyWhereInput; + @Field(() => CompanyWhereInput, { nullable: true }) + none?: CompanyWhereInput; } diff --git a/server/src/api/@generated/company/company-max-aggregate.input.ts b/server/src/api/@generated/company/company-max-aggregate.input.ts index b9a58dbd54..2e96d86691 100644 --- a/server/src/api/@generated/company/company-max-aggregate.input.ts +++ b/server/src/api/@generated/company/company-max-aggregate.input.ts @@ -4,34 +4,33 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class CompanyMaxAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; - @Field(() => Boolean, {nullable:true}) - id?: true; + @Field(() => Boolean, { nullable: true }) + createdAt?: true; - @Field(() => Boolean, {nullable:true}) - createdAt?: true; + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; - @Field(() => Boolean, {nullable:true}) - deletedAt?: true; + @Field(() => Boolean, { nullable: true }) + name?: true; - @Field(() => Boolean, {nullable:true}) - name?: true; + @Field(() => Boolean, { nullable: true }) + domainName?: true; - @Field(() => Boolean, {nullable:true}) - domainName?: true; + @Field(() => Boolean, { nullable: true }) + address?: true; - @Field(() => Boolean, {nullable:true}) - address?: true; + @Field(() => Boolean, { nullable: true }) + employees?: true; - @Field(() => Boolean, {nullable:true}) - employees?: true; + @Field(() => Boolean, { nullable: true }) + accountOwnerId?: true; - @Field(() => Boolean, {nullable:true}) - accountOwnerId?: true; - - @HideField() - workspaceId?: true; + @HideField() + workspaceId?: true; } diff --git a/server/src/api/@generated/company/company-max-aggregate.output.ts b/server/src/api/@generated/company/company-max-aggregate.output.ts index 1426ce1e23..47a53f33c7 100644 --- a/server/src/api/@generated/company/company-max-aggregate.output.ts +++ b/server/src/api/@generated/company/company-max-aggregate.output.ts @@ -4,34 +4,33 @@ import { Int } from '@nestjs/graphql'; @ObjectType() export class CompanyMaxAggregate { + @Field(() => String, { nullable: true }) + id?: string; - @Field(() => String, {nullable:true}) - id?: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: true }) + name?: string; - @Field(() => String, {nullable:true}) - name?: string; + @Field(() => String, { nullable: true }) + domainName?: string; - @Field(() => String, {nullable:true}) - domainName?: string; + @Field(() => String, { nullable: true }) + address?: string; - @Field(() => String, {nullable:true}) - address?: string; + @Field(() => Int, { nullable: true }) + employees?: number; - @Field(() => Int, {nullable:true}) - employees?: number; + @Field(() => String, { nullable: true }) + accountOwnerId?: string; - @Field(() => String, {nullable:true}) - accountOwnerId?: string; - - @Field(() => String, {nullable:true}) - workspaceId?: string; + @Field(() => String, { nullable: true }) + workspaceId?: string; } diff --git a/server/src/api/@generated/company/company-max-order-by-aggregate.input.ts b/server/src/api/@generated/company/company-max-order-by-aggregate.input.ts index 7f7876ca89..c7930ed331 100644 --- a/server/src/api/@generated/company/company-max-order-by-aggregate.input.ts +++ b/server/src/api/@generated/company/company-max-order-by-aggregate.input.ts @@ -5,34 +5,33 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class CompanyMaxOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + name?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - name?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + domainName?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - domainName?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + address?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - address?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + employees?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - employees?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + accountOwnerId?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - accountOwnerId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; + @HideField() + workspaceId?: keyof typeof SortOrder; } diff --git a/server/src/api/@generated/company/company-min-aggregate.input.ts b/server/src/api/@generated/company/company-min-aggregate.input.ts index e9a1e94c4a..2bbdc66541 100644 --- a/server/src/api/@generated/company/company-min-aggregate.input.ts +++ b/server/src/api/@generated/company/company-min-aggregate.input.ts @@ -4,34 +4,33 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class CompanyMinAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; - @Field(() => Boolean, {nullable:true}) - id?: true; + @Field(() => Boolean, { nullable: true }) + createdAt?: true; - @Field(() => Boolean, {nullable:true}) - createdAt?: true; + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; - @Field(() => Boolean, {nullable:true}) - deletedAt?: true; + @Field(() => Boolean, { nullable: true }) + name?: true; - @Field(() => Boolean, {nullable:true}) - name?: true; + @Field(() => Boolean, { nullable: true }) + domainName?: true; - @Field(() => Boolean, {nullable:true}) - domainName?: true; + @Field(() => Boolean, { nullable: true }) + address?: true; - @Field(() => Boolean, {nullable:true}) - address?: true; + @Field(() => Boolean, { nullable: true }) + employees?: true; - @Field(() => Boolean, {nullable:true}) - employees?: true; + @Field(() => Boolean, { nullable: true }) + accountOwnerId?: true; - @Field(() => Boolean, {nullable:true}) - accountOwnerId?: true; - - @HideField() - workspaceId?: true; + @HideField() + workspaceId?: true; } diff --git a/server/src/api/@generated/company/company-min-aggregate.output.ts b/server/src/api/@generated/company/company-min-aggregate.output.ts index aa0baa162b..44df997afc 100644 --- a/server/src/api/@generated/company/company-min-aggregate.output.ts +++ b/server/src/api/@generated/company/company-min-aggregate.output.ts @@ -4,34 +4,33 @@ import { Int } from '@nestjs/graphql'; @ObjectType() export class CompanyMinAggregate { + @Field(() => String, { nullable: true }) + id?: string; - @Field(() => String, {nullable:true}) - id?: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: true }) + name?: string; - @Field(() => String, {nullable:true}) - name?: string; + @Field(() => String, { nullable: true }) + domainName?: string; - @Field(() => String, {nullable:true}) - domainName?: string; + @Field(() => String, { nullable: true }) + address?: string; - @Field(() => String, {nullable:true}) - address?: string; + @Field(() => Int, { nullable: true }) + employees?: number; - @Field(() => Int, {nullable:true}) - employees?: number; + @Field(() => String, { nullable: true }) + accountOwnerId?: string; - @Field(() => String, {nullable:true}) - accountOwnerId?: string; - - @Field(() => String, {nullable:true}) - workspaceId?: string; + @Field(() => String, { nullable: true }) + workspaceId?: string; } diff --git a/server/src/api/@generated/company/company-min-order-by-aggregate.input.ts b/server/src/api/@generated/company/company-min-order-by-aggregate.input.ts index 607747cd3f..5f8e2609d1 100644 --- a/server/src/api/@generated/company/company-min-order-by-aggregate.input.ts +++ b/server/src/api/@generated/company/company-min-order-by-aggregate.input.ts @@ -5,34 +5,33 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class CompanyMinOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + name?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - name?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + domainName?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - domainName?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + address?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - address?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + employees?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - employees?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + accountOwnerId?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - accountOwnerId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; + @HideField() + workspaceId?: keyof typeof SortOrder; } diff --git a/server/src/api/@generated/company/company-order-by-relation-aggregate.input.ts b/server/src/api/@generated/company/company-order-by-relation-aggregate.input.ts index 9a2ca5f964..c498fd5f9c 100644 --- a/server/src/api/@generated/company/company-order-by-relation-aggregate.input.ts +++ b/server/src/api/@generated/company/company-order-by-relation-aggregate.input.ts @@ -4,7 +4,6 @@ import { SortOrder } from '../prisma/sort-order.enum'; @InputType() export class CompanyOrderByRelationAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - _count?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + _count?: keyof typeof SortOrder; } diff --git a/server/src/api/@generated/company/company-order-by-with-aggregation.input.ts b/server/src/api/@generated/company/company-order-by-with-aggregation.input.ts index 1f84156e05..1667e3719d 100644 --- a/server/src/api/@generated/company/company-order-by-with-aggregation.input.ts +++ b/server/src/api/@generated/company/company-order-by-with-aggregation.input.ts @@ -10,49 +10,48 @@ import { CompanySumOrderByAggregateInput } from './company-sum-order-by-aggregat @InputType() export class CompanyOrderByWithAggregationInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + name?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - name?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + domainName?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - domainName?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + address?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - address?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + employees?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - employees?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + accountOwnerId?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - accountOwnerId?: keyof typeof SortOrder; + @HideField() + workspaceId?: keyof typeof SortOrder; - @HideField() - workspaceId?: keyof typeof SortOrder; + @Field(() => CompanyCountOrderByAggregateInput, { nullable: true }) + _count?: CompanyCountOrderByAggregateInput; - @Field(() => CompanyCountOrderByAggregateInput, {nullable:true}) - _count?: CompanyCountOrderByAggregateInput; + @Field(() => CompanyAvgOrderByAggregateInput, { nullable: true }) + _avg?: CompanyAvgOrderByAggregateInput; - @Field(() => CompanyAvgOrderByAggregateInput, {nullable:true}) - _avg?: CompanyAvgOrderByAggregateInput; + @Field(() => CompanyMaxOrderByAggregateInput, { nullable: true }) + _max?: CompanyMaxOrderByAggregateInput; - @Field(() => CompanyMaxOrderByAggregateInput, {nullable:true}) - _max?: CompanyMaxOrderByAggregateInput; + @Field(() => CompanyMinOrderByAggregateInput, { nullable: true }) + _min?: CompanyMinOrderByAggregateInput; - @Field(() => CompanyMinOrderByAggregateInput, {nullable:true}) - _min?: CompanyMinOrderByAggregateInput; - - @Field(() => CompanySumOrderByAggregateInput, {nullable:true}) - _sum?: CompanySumOrderByAggregateInput; + @Field(() => CompanySumOrderByAggregateInput, { nullable: true }) + _sum?: CompanySumOrderByAggregateInput; } diff --git a/server/src/api/@generated/company/company-order-by-with-relation.input.ts b/server/src/api/@generated/company/company-order-by-with-relation.input.ts index f0cd0444f4..bf776be959 100644 --- a/server/src/api/@generated/company/company-order-by-with-relation.input.ts +++ b/server/src/api/@generated/company/company-order-by-with-relation.input.ts @@ -8,43 +8,42 @@ import { WorkspaceOrderByWithRelationInput } from '../workspace/workspace-order- @InputType() export class CompanyOrderByWithRelationInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + name?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - name?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + domainName?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - domainName?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + address?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - address?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + employees?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - employees?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + accountOwnerId?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - accountOwnerId?: keyof typeof SortOrder; + @HideField() + workspaceId?: keyof typeof SortOrder; - @HideField() - workspaceId?: keyof typeof SortOrder; + @Field(() => UserOrderByWithRelationInput, { nullable: true }) + accountOwner?: UserOrderByWithRelationInput; - @Field(() => UserOrderByWithRelationInput, {nullable:true}) - accountOwner?: UserOrderByWithRelationInput; + @Field(() => PersonOrderByRelationAggregateInput, { nullable: true }) + people?: PersonOrderByRelationAggregateInput; - @Field(() => PersonOrderByRelationAggregateInput, {nullable:true}) - people?: PersonOrderByRelationAggregateInput; - - @HideField() - workspace?: WorkspaceOrderByWithRelationInput; + @HideField() + workspace?: WorkspaceOrderByWithRelationInput; } diff --git a/server/src/api/@generated/company/company-relation-filter.input.ts b/server/src/api/@generated/company/company-relation-filter.input.ts index dea21ee13e..ed97685966 100644 --- a/server/src/api/@generated/company/company-relation-filter.input.ts +++ b/server/src/api/@generated/company/company-relation-filter.input.ts @@ -4,10 +4,9 @@ import { CompanyWhereInput } from './company-where.input'; @InputType() export class CompanyRelationFilter { + @Field(() => CompanyWhereInput, { nullable: true }) + is?: CompanyWhereInput; - @Field(() => CompanyWhereInput, {nullable:true}) - is?: CompanyWhereInput; - - @Field(() => CompanyWhereInput, {nullable:true}) - isNot?: CompanyWhereInput; + @Field(() => CompanyWhereInput, { nullable: true }) + isNot?: CompanyWhereInput; } diff --git a/server/src/api/@generated/company/company-scalar-field.enum.ts b/server/src/api/@generated/company/company-scalar-field.enum.ts index 89421d5cbc..4dcbec4614 100644 --- a/server/src/api/@generated/company/company-scalar-field.enum.ts +++ b/server/src/api/@generated/company/company-scalar-field.enum.ts @@ -1,17 +1,19 @@ import { registerEnumType } from '@nestjs/graphql'; export enum CompanyScalarFieldEnum { - id = "id", - createdAt = "createdAt", - updatedAt = "updatedAt", - deletedAt = "deletedAt", - name = "name", - domainName = "domainName", - address = "address", - employees = "employees", - accountOwnerId = "accountOwnerId", - workspaceId = "workspaceId" + id = 'id', + createdAt = 'createdAt', + updatedAt = 'updatedAt', + deletedAt = 'deletedAt', + name = 'name', + domainName = 'domainName', + address = 'address', + employees = 'employees', + accountOwnerId = 'accountOwnerId', + workspaceId = 'workspaceId', } - -registerEnumType(CompanyScalarFieldEnum, { name: 'CompanyScalarFieldEnum', description: undefined }) +registerEnumType(CompanyScalarFieldEnum, { + name: 'CompanyScalarFieldEnum', + description: undefined, +}); diff --git a/server/src/api/@generated/company/company-scalar-where-with-aggregates.input.ts b/server/src/api/@generated/company/company-scalar-where-with-aggregates.input.ts index c0cbd950ac..4117c87f3d 100644 --- a/server/src/api/@generated/company/company-scalar-where-with-aggregates.input.ts +++ b/server/src/api/@generated/company/company-scalar-where-with-aggregates.input.ts @@ -9,43 +9,42 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class CompanyScalarWhereWithAggregatesInput { + @Field(() => [CompanyScalarWhereWithAggregatesInput], { nullable: true }) + AND?: Array; - @Field(() => [CompanyScalarWhereWithAggregatesInput], {nullable:true}) - AND?: Array; + @Field(() => [CompanyScalarWhereWithAggregatesInput], { nullable: true }) + OR?: Array; - @Field(() => [CompanyScalarWhereWithAggregatesInput], {nullable:true}) - OR?: Array; + @Field(() => [CompanyScalarWhereWithAggregatesInput], { nullable: true }) + NOT?: Array; - @Field(() => [CompanyScalarWhereWithAggregatesInput], {nullable:true}) - NOT?: Array; + @Field(() => StringWithAggregatesFilter, { nullable: true }) + id?: StringWithAggregatesFilter; - @Field(() => StringWithAggregatesFilter, {nullable:true}) - id?: StringWithAggregatesFilter; + @Field(() => DateTimeWithAggregatesFilter, { nullable: true }) + createdAt?: DateTimeWithAggregatesFilter; - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - createdAt?: DateTimeWithAggregatesFilter; + @Field(() => DateTimeWithAggregatesFilter, { nullable: true }) + updatedAt?: DateTimeWithAggregatesFilter; - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - updatedAt?: DateTimeWithAggregatesFilter; + @Field(() => DateTimeNullableWithAggregatesFilter, { nullable: true }) + deletedAt?: DateTimeNullableWithAggregatesFilter; - @Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true}) - deletedAt?: DateTimeNullableWithAggregatesFilter; + @Field(() => StringWithAggregatesFilter, { nullable: true }) + name?: StringWithAggregatesFilter; - @Field(() => StringWithAggregatesFilter, {nullable:true}) - name?: StringWithAggregatesFilter; + @Field(() => StringWithAggregatesFilter, { nullable: true }) + domainName?: StringWithAggregatesFilter; - @Field(() => StringWithAggregatesFilter, {nullable:true}) - domainName?: StringWithAggregatesFilter; + @Field(() => StringWithAggregatesFilter, { nullable: true }) + address?: StringWithAggregatesFilter; - @Field(() => StringWithAggregatesFilter, {nullable:true}) - address?: StringWithAggregatesFilter; + @Field(() => IntNullableWithAggregatesFilter, { nullable: true }) + employees?: IntNullableWithAggregatesFilter; - @Field(() => IntNullableWithAggregatesFilter, {nullable:true}) - employees?: IntNullableWithAggregatesFilter; + @Field(() => StringNullableWithAggregatesFilter, { nullable: true }) + accountOwnerId?: StringNullableWithAggregatesFilter; - @Field(() => StringNullableWithAggregatesFilter, {nullable:true}) - accountOwnerId?: StringNullableWithAggregatesFilter; - - @HideField() - workspaceId?: StringWithAggregatesFilter; + @HideField() + workspaceId?: StringWithAggregatesFilter; } diff --git a/server/src/api/@generated/company/company-scalar-where.input.ts b/server/src/api/@generated/company/company-scalar-where.input.ts index b6386634f4..768d06a64d 100644 --- a/server/src/api/@generated/company/company-scalar-where.input.ts +++ b/server/src/api/@generated/company/company-scalar-where.input.ts @@ -9,43 +9,42 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class CompanyScalarWhereInput { + @Field(() => [CompanyScalarWhereInput], { nullable: true }) + AND?: Array; - @Field(() => [CompanyScalarWhereInput], {nullable:true}) - AND?: Array; + @Field(() => [CompanyScalarWhereInput], { nullable: true }) + OR?: Array; - @Field(() => [CompanyScalarWhereInput], {nullable:true}) - OR?: Array; + @Field(() => [CompanyScalarWhereInput], { nullable: true }) + NOT?: Array; - @Field(() => [CompanyScalarWhereInput], {nullable:true}) - NOT?: Array; + @Field(() => StringFilter, { nullable: true }) + id?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; + @Field(() => DateTimeFilter, { nullable: true }) + createdAt?: DateTimeFilter; - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; + @Field(() => DateTimeFilter, { nullable: true }) + updatedAt?: DateTimeFilter; - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; + @Field(() => DateTimeNullableFilter, { nullable: true }) + deletedAt?: DateTimeNullableFilter; - @Field(() => DateTimeNullableFilter, {nullable:true}) - deletedAt?: DateTimeNullableFilter; + @Field(() => StringFilter, { nullable: true }) + name?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - name?: StringFilter; + @Field(() => StringFilter, { nullable: true }) + domainName?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - domainName?: StringFilter; + @Field(() => StringFilter, { nullable: true }) + address?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - address?: StringFilter; + @Field(() => IntNullableFilter, { nullable: true }) + employees?: IntNullableFilter; - @Field(() => IntNullableFilter, {nullable:true}) - employees?: IntNullableFilter; + @Field(() => StringNullableFilter, { nullable: true }) + accountOwnerId?: StringNullableFilter; - @Field(() => StringNullableFilter, {nullable:true}) - accountOwnerId?: StringNullableFilter; - - @HideField() - workspaceId?: StringFilter; + @HideField() + workspaceId?: StringFilter; } diff --git a/server/src/api/@generated/company/company-sum-aggregate.input.ts b/server/src/api/@generated/company/company-sum-aggregate.input.ts index a6c9ca0e2c..81e286cf38 100644 --- a/server/src/api/@generated/company/company-sum-aggregate.input.ts +++ b/server/src/api/@generated/company/company-sum-aggregate.input.ts @@ -3,7 +3,6 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class CompanySumAggregateInput { - - @Field(() => Boolean, {nullable:true}) - employees?: true; + @Field(() => Boolean, { nullable: true }) + employees?: true; } diff --git a/server/src/api/@generated/company/company-sum-aggregate.output.ts b/server/src/api/@generated/company/company-sum-aggregate.output.ts index 07a3c298b9..aa349594ea 100644 --- a/server/src/api/@generated/company/company-sum-aggregate.output.ts +++ b/server/src/api/@generated/company/company-sum-aggregate.output.ts @@ -4,7 +4,6 @@ import { Int } from '@nestjs/graphql'; @ObjectType() export class CompanySumAggregate { - - @Field(() => Int, {nullable:true}) - employees?: number; + @Field(() => Int, { nullable: true }) + employees?: number; } diff --git a/server/src/api/@generated/company/company-sum-order-by-aggregate.input.ts b/server/src/api/@generated/company/company-sum-order-by-aggregate.input.ts index e03195d8ff..2d2e8075c4 100644 --- a/server/src/api/@generated/company/company-sum-order-by-aggregate.input.ts +++ b/server/src/api/@generated/company/company-sum-order-by-aggregate.input.ts @@ -4,7 +4,6 @@ import { SortOrder } from '../prisma/sort-order.enum'; @InputType() export class CompanySumOrderByAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - employees?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + employees?: keyof typeof SortOrder; } diff --git a/server/src/api/@generated/company/company-unchecked-create-nested-many-without-account-owner.input.ts b/server/src/api/@generated/company/company-unchecked-create-nested-many-without-account-owner.input.ts index a199607bc9..f0fbabcbf5 100644 --- a/server/src/api/@generated/company/company-unchecked-create-nested-many-without-account-owner.input.ts +++ b/server/src/api/@generated/company/company-unchecked-create-nested-many-without-account-owner.input.ts @@ -8,20 +8,21 @@ import { CompanyWhereUniqueInput } from './company-where-unique.input'; @InputType() export class CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput { + @Field(() => [CompanyCreateWithoutAccountOwnerInput], { nullable: true }) + @Type(() => CompanyCreateWithoutAccountOwnerInput) + create?: Array; - @Field(() => [CompanyCreateWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyCreateWithoutAccountOwnerInput) - create?: Array; + @Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], { + nullable: true, + }) + @Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput) + connectOrCreate?: Array; - @Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput) - connectOrCreate?: Array; + @Field(() => CompanyCreateManyAccountOwnerInputEnvelope, { nullable: true }) + @Type(() => CompanyCreateManyAccountOwnerInputEnvelope) + createMany?: CompanyCreateManyAccountOwnerInputEnvelope; - @Field(() => CompanyCreateManyAccountOwnerInputEnvelope, {nullable:true}) - @Type(() => CompanyCreateManyAccountOwnerInputEnvelope) - createMany?: CompanyCreateManyAccountOwnerInputEnvelope; - - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - connect?: Array; + @Field(() => [CompanyWhereUniqueInput], { nullable: true }) + @Type(() => CompanyWhereUniqueInput) + connect?: Array; } diff --git a/server/src/api/@generated/company/company-unchecked-create-nested-many-without-workspace.input.ts b/server/src/api/@generated/company/company-unchecked-create-nested-many-without-workspace.input.ts index 11aa1bd264..54a0470a69 100644 --- a/server/src/api/@generated/company/company-unchecked-create-nested-many-without-workspace.input.ts +++ b/server/src/api/@generated/company/company-unchecked-create-nested-many-without-workspace.input.ts @@ -8,20 +8,21 @@ import { CompanyWhereUniqueInput } from './company-where-unique.input'; @InputType() export class CompanyUncheckedCreateNestedManyWithoutWorkspaceInput { + @Field(() => [CompanyCreateWithoutWorkspaceInput], { nullable: true }) + @Type(() => CompanyCreateWithoutWorkspaceInput) + create?: Array; - @Field(() => [CompanyCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyCreateWithoutWorkspaceInput) - create?: Array; + @Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => CompanyCreateOrConnectWithoutWorkspaceInput) + connectOrCreate?: Array; - @Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; + @Field(() => CompanyCreateManyWorkspaceInputEnvelope, { nullable: true }) + @Type(() => CompanyCreateManyWorkspaceInputEnvelope) + createMany?: CompanyCreateManyWorkspaceInputEnvelope; - @Field(() => CompanyCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => CompanyCreateManyWorkspaceInputEnvelope) - createMany?: CompanyCreateManyWorkspaceInputEnvelope; - - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - connect?: Array; + @Field(() => [CompanyWhereUniqueInput], { nullable: true }) + @Type(() => CompanyWhereUniqueInput) + connect?: Array; } diff --git a/server/src/api/@generated/company/company-unchecked-create-without-account-owner.input.ts b/server/src/api/@generated/company/company-unchecked-create-without-account-owner.input.ts index c0cb2b451f..2321ff8947 100644 --- a/server/src/api/@generated/company/company-unchecked-create-without-account-owner.input.ts +++ b/server/src/api/@generated/company/company-unchecked-create-without-account-owner.input.ts @@ -6,34 +6,35 @@ import { PersonUncheckedCreateNestedManyWithoutCompanyInput } from '../person/pe @InputType() export class CompanyUncheckedCreateWithoutAccountOwnerInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + name!: string; - @Field(() => String, {nullable:false}) - name!: string; + @Field(() => String, { nullable: false }) + domainName!: string; - @Field(() => String, {nullable:false}) - domainName!: string; + @Field(() => String, { nullable: false }) + address!: string; - @Field(() => String, {nullable:false}) - address!: string; + @Field(() => Int, { nullable: true }) + employees?: number; - @Field(() => Int, {nullable:true}) - employees?: number; + @HideField() + workspaceId!: string; - @HideField() - workspaceId!: string; - - @Field(() => PersonUncheckedCreateNestedManyWithoutCompanyInput, {nullable:true}) - people?: PersonUncheckedCreateNestedManyWithoutCompanyInput; + @Field(() => PersonUncheckedCreateNestedManyWithoutCompanyInput, { + nullable: true, + }) + people?: PersonUncheckedCreateNestedManyWithoutCompanyInput; } diff --git a/server/src/api/@generated/company/company-unchecked-create-without-people.input.ts b/server/src/api/@generated/company/company-unchecked-create-without-people.input.ts index 96f4ddd838..27133a32a5 100644 --- a/server/src/api/@generated/company/company-unchecked-create-without-people.input.ts +++ b/server/src/api/@generated/company/company-unchecked-create-without-people.input.ts @@ -5,34 +5,33 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class CompanyUncheckedCreateWithoutPeopleInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + name!: string; - @Field(() => String, {nullable:false}) - name!: string; + @Field(() => String, { nullable: false }) + domainName!: string; - @Field(() => String, {nullable:false}) - domainName!: string; + @Field(() => String, { nullable: false }) + address!: string; - @Field(() => String, {nullable:false}) - address!: string; + @Field(() => Int, { nullable: true }) + employees?: number; - @Field(() => Int, {nullable:true}) - employees?: number; + @Field(() => String, { nullable: true }) + accountOwnerId?: string; - @Field(() => String, {nullable:true}) - accountOwnerId?: string; - - @HideField() - workspaceId!: string; + @HideField() + workspaceId!: string; } diff --git a/server/src/api/@generated/company/company-unchecked-create-without-workspace.input.ts b/server/src/api/@generated/company/company-unchecked-create-without-workspace.input.ts index 04fc94fd2b..6f349deb10 100644 --- a/server/src/api/@generated/company/company-unchecked-create-without-workspace.input.ts +++ b/server/src/api/@generated/company/company-unchecked-create-without-workspace.input.ts @@ -5,34 +5,35 @@ import { PersonUncheckedCreateNestedManyWithoutCompanyInput } from '../person/pe @InputType() export class CompanyUncheckedCreateWithoutWorkspaceInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + name!: string; - @Field(() => String, {nullable:false}) - name!: string; + @Field(() => String, { nullable: false }) + domainName!: string; - @Field(() => String, {nullable:false}) - domainName!: string; + @Field(() => String, { nullable: false }) + address!: string; - @Field(() => String, {nullable:false}) - address!: string; + @Field(() => Int, { nullable: true }) + employees?: number; - @Field(() => Int, {nullable:true}) - employees?: number; + @Field(() => String, { nullable: true }) + accountOwnerId?: string; - @Field(() => String, {nullable:true}) - accountOwnerId?: string; - - @Field(() => PersonUncheckedCreateNestedManyWithoutCompanyInput, {nullable:true}) - people?: PersonUncheckedCreateNestedManyWithoutCompanyInput; + @Field(() => PersonUncheckedCreateNestedManyWithoutCompanyInput, { + nullable: true, + }) + people?: PersonUncheckedCreateNestedManyWithoutCompanyInput; } diff --git a/server/src/api/@generated/company/company-unchecked-create.input.ts b/server/src/api/@generated/company/company-unchecked-create.input.ts index eadbd482fe..32f22b0b54 100644 --- a/server/src/api/@generated/company/company-unchecked-create.input.ts +++ b/server/src/api/@generated/company/company-unchecked-create.input.ts @@ -6,37 +6,38 @@ import { PersonUncheckedCreateNestedManyWithoutCompanyInput } from '../person/pe @InputType() export class CompanyUncheckedCreateInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + name!: string; - @Field(() => String, {nullable:false}) - name!: string; + @Field(() => String, { nullable: false }) + domainName!: string; - @Field(() => String, {nullable:false}) - domainName!: string; + @Field(() => String, { nullable: false }) + address!: string; - @Field(() => String, {nullable:false}) - address!: string; + @Field(() => Int, { nullable: true }) + employees?: number; - @Field(() => Int, {nullable:true}) - employees?: number; + @Field(() => String, { nullable: true }) + accountOwnerId?: string; - @Field(() => String, {nullable:true}) - accountOwnerId?: string; + @HideField() + workspaceId!: string; - @HideField() - workspaceId!: string; - - @Field(() => PersonUncheckedCreateNestedManyWithoutCompanyInput, {nullable:true}) - people?: PersonUncheckedCreateNestedManyWithoutCompanyInput; + @Field(() => PersonUncheckedCreateNestedManyWithoutCompanyInput, { + nullable: true, + }) + people?: PersonUncheckedCreateNestedManyWithoutCompanyInput; } diff --git a/server/src/api/@generated/company/company-unchecked-update-many-without-account-owner-nested.input.ts b/server/src/api/@generated/company/company-unchecked-update-many-without-account-owner-nested.input.ts index dac779ff6f..8db621c019 100644 --- a/server/src/api/@generated/company/company-unchecked-update-many-without-account-owner-nested.input.ts +++ b/server/src/api/@generated/company/company-unchecked-update-many-without-account-owner-nested.input.ts @@ -12,48 +12,55 @@ import { CompanyScalarWhereInput } from './company-scalar-where.input'; @InputType() export class CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput { + @Field(() => [CompanyCreateWithoutAccountOwnerInput], { nullable: true }) + @Type(() => CompanyCreateWithoutAccountOwnerInput) + create?: Array; - @Field(() => [CompanyCreateWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyCreateWithoutAccountOwnerInput) - create?: Array; + @Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], { + nullable: true, + }) + @Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput) + connectOrCreate?: Array; - @Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput) - connectOrCreate?: Array; + @Field(() => [CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput], { + nullable: true, + }) + @Type(() => CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput) + upsert?: Array; - @Field(() => [CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput) - upsert?: Array; + @Field(() => CompanyCreateManyAccountOwnerInputEnvelope, { nullable: true }) + @Type(() => CompanyCreateManyAccountOwnerInputEnvelope) + createMany?: CompanyCreateManyAccountOwnerInputEnvelope; - @Field(() => CompanyCreateManyAccountOwnerInputEnvelope, {nullable:true}) - @Type(() => CompanyCreateManyAccountOwnerInputEnvelope) - createMany?: CompanyCreateManyAccountOwnerInputEnvelope; + @Field(() => [CompanyWhereUniqueInput], { nullable: true }) + @Type(() => CompanyWhereUniqueInput) + set?: Array; - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - set?: Array; + @Field(() => [CompanyWhereUniqueInput], { nullable: true }) + @Type(() => CompanyWhereUniqueInput) + disconnect?: Array; - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - disconnect?: Array; + @Field(() => [CompanyWhereUniqueInput], { nullable: true }) + @Type(() => CompanyWhereUniqueInput) + delete?: Array; - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - delete?: Array; + @Field(() => [CompanyWhereUniqueInput], { nullable: true }) + @Type(() => CompanyWhereUniqueInput) + connect?: Array; - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - connect?: Array; + @Field(() => [CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput], { + nullable: true, + }) + @Type(() => CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput) + update?: Array; - @Field(() => [CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput) - update?: Array; + @Field(() => [CompanyUpdateManyWithWhereWithoutAccountOwnerInput], { + nullable: true, + }) + @Type(() => CompanyUpdateManyWithWhereWithoutAccountOwnerInput) + updateMany?: Array; - @Field(() => [CompanyUpdateManyWithWhereWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyUpdateManyWithWhereWithoutAccountOwnerInput) - updateMany?: Array; - - @Field(() => [CompanyScalarWhereInput], {nullable:true}) - @Type(() => CompanyScalarWhereInput) - deleteMany?: Array; + @Field(() => [CompanyScalarWhereInput], { nullable: true }) + @Type(() => CompanyScalarWhereInput) + deleteMany?: Array; } diff --git a/server/src/api/@generated/company/company-unchecked-update-many-without-companies.input.ts b/server/src/api/@generated/company/company-unchecked-update-many-without-companies.input.ts index aca3e00215..b2f4293657 100644 --- a/server/src/api/@generated/company/company-unchecked-update-many-without-companies.input.ts +++ b/server/src/api/@generated/company/company-unchecked-update-many-without-companies.input.ts @@ -8,31 +8,30 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class CompanyUncheckedUpdateManyWithoutCompaniesInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + address?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - address?: StringFieldUpdateOperationsInput; + @Field(() => NullableIntFieldUpdateOperationsInput, { nullable: true }) + employees?: NullableIntFieldUpdateOperationsInput; - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - employees?: NullableIntFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; + @HideField() + workspaceId?: StringFieldUpdateOperationsInput; } diff --git a/server/src/api/@generated/company/company-unchecked-update-many-without-workspace-nested.input.ts b/server/src/api/@generated/company/company-unchecked-update-many-without-workspace-nested.input.ts index d206aac15d..d28fd5df9c 100644 --- a/server/src/api/@generated/company/company-unchecked-update-many-without-workspace-nested.input.ts +++ b/server/src/api/@generated/company/company-unchecked-update-many-without-workspace-nested.input.ts @@ -12,48 +12,55 @@ import { CompanyScalarWhereInput } from './company-scalar-where.input'; @InputType() export class CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput { + @Field(() => [CompanyCreateWithoutWorkspaceInput], { nullable: true }) + @Type(() => CompanyCreateWithoutWorkspaceInput) + create?: Array; - @Field(() => [CompanyCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyCreateWithoutWorkspaceInput) - create?: Array; + @Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => CompanyCreateOrConnectWithoutWorkspaceInput) + connectOrCreate?: Array; - @Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; + @Field(() => [CompanyUpsertWithWhereUniqueWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => CompanyUpsertWithWhereUniqueWithoutWorkspaceInput) + upsert?: Array; - @Field(() => [CompanyUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyUpsertWithWhereUniqueWithoutWorkspaceInput) - upsert?: Array; + @Field(() => CompanyCreateManyWorkspaceInputEnvelope, { nullable: true }) + @Type(() => CompanyCreateManyWorkspaceInputEnvelope) + createMany?: CompanyCreateManyWorkspaceInputEnvelope; - @Field(() => CompanyCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => CompanyCreateManyWorkspaceInputEnvelope) - createMany?: CompanyCreateManyWorkspaceInputEnvelope; + @Field(() => [CompanyWhereUniqueInput], { nullable: true }) + @Type(() => CompanyWhereUniqueInput) + set?: Array; - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - set?: Array; + @Field(() => [CompanyWhereUniqueInput], { nullable: true }) + @Type(() => CompanyWhereUniqueInput) + disconnect?: Array; - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - disconnect?: Array; + @Field(() => [CompanyWhereUniqueInput], { nullable: true }) + @Type(() => CompanyWhereUniqueInput) + delete?: Array; - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - delete?: Array; + @Field(() => [CompanyWhereUniqueInput], { nullable: true }) + @Type(() => CompanyWhereUniqueInput) + connect?: Array; - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - connect?: Array; + @Field(() => [CompanyUpdateWithWhereUniqueWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => CompanyUpdateWithWhereUniqueWithoutWorkspaceInput) + update?: Array; - @Field(() => [CompanyUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyUpdateWithWhereUniqueWithoutWorkspaceInput) - update?: Array; + @Field(() => [CompanyUpdateManyWithWhereWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => CompanyUpdateManyWithWhereWithoutWorkspaceInput) + updateMany?: Array; - @Field(() => [CompanyUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyUpdateManyWithWhereWithoutWorkspaceInput) - updateMany?: Array; - - @Field(() => [CompanyScalarWhereInput], {nullable:true}) - @Type(() => CompanyScalarWhereInput) - deleteMany?: Array; + @Field(() => [CompanyScalarWhereInput], { nullable: true }) + @Type(() => CompanyScalarWhereInput) + deleteMany?: Array; } diff --git a/server/src/api/@generated/company/company-unchecked-update-many.input.ts b/server/src/api/@generated/company/company-unchecked-update-many.input.ts index dbcdad23a1..4dc73ed26f 100644 --- a/server/src/api/@generated/company/company-unchecked-update-many.input.ts +++ b/server/src/api/@generated/company/company-unchecked-update-many.input.ts @@ -9,34 +9,33 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class CompanyUncheckedUpdateManyInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + address?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - address?: StringFieldUpdateOperationsInput; + @Field(() => NullableIntFieldUpdateOperationsInput, { nullable: true }) + employees?: NullableIntFieldUpdateOperationsInput; - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - employees?: NullableIntFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + accountOwnerId?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - accountOwnerId?: NullableStringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; + @HideField() + workspaceId?: StringFieldUpdateOperationsInput; } diff --git a/server/src/api/@generated/company/company-unchecked-update-without-account-owner.input.ts b/server/src/api/@generated/company/company-unchecked-update-without-account-owner.input.ts index 5655bc9e71..9a44cc9467 100644 --- a/server/src/api/@generated/company/company-unchecked-update-without-account-owner.input.ts +++ b/server/src/api/@generated/company/company-unchecked-update-without-account-owner.input.ts @@ -9,34 +9,35 @@ import { PersonUncheckedUpdateManyWithoutCompanyNestedInput } from '../person/pe @InputType() export class CompanyUncheckedUpdateWithoutAccountOwnerInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + address?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - address?: StringFieldUpdateOperationsInput; + @Field(() => NullableIntFieldUpdateOperationsInput, { nullable: true }) + employees?: NullableIntFieldUpdateOperationsInput; - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - employees?: NullableIntFieldUpdateOperationsInput; + @HideField() + workspaceId?: StringFieldUpdateOperationsInput; - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @Field(() => PersonUncheckedUpdateManyWithoutCompanyNestedInput, {nullable:true}) - people?: PersonUncheckedUpdateManyWithoutCompanyNestedInput; + @Field(() => PersonUncheckedUpdateManyWithoutCompanyNestedInput, { + nullable: true, + }) + people?: PersonUncheckedUpdateManyWithoutCompanyNestedInput; } diff --git a/server/src/api/@generated/company/company-unchecked-update-without-people.input.ts b/server/src/api/@generated/company/company-unchecked-update-without-people.input.ts index a4fb6ac870..f95a507fa6 100644 --- a/server/src/api/@generated/company/company-unchecked-update-without-people.input.ts +++ b/server/src/api/@generated/company/company-unchecked-update-without-people.input.ts @@ -9,34 +9,33 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class CompanyUncheckedUpdateWithoutPeopleInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + address?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - address?: StringFieldUpdateOperationsInput; + @Field(() => NullableIntFieldUpdateOperationsInput, { nullable: true }) + employees?: NullableIntFieldUpdateOperationsInput; - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - employees?: NullableIntFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + accountOwnerId?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - accountOwnerId?: NullableStringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; + @HideField() + workspaceId?: StringFieldUpdateOperationsInput; } diff --git a/server/src/api/@generated/company/company-unchecked-update-without-workspace.input.ts b/server/src/api/@generated/company/company-unchecked-update-without-workspace.input.ts index 2ce6fdcfb2..ff479cc407 100644 --- a/server/src/api/@generated/company/company-unchecked-update-without-workspace.input.ts +++ b/server/src/api/@generated/company/company-unchecked-update-without-workspace.input.ts @@ -9,34 +9,35 @@ import { PersonUncheckedUpdateManyWithoutCompanyNestedInput } from '../person/pe @InputType() export class CompanyUncheckedUpdateWithoutWorkspaceInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + address?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - address?: StringFieldUpdateOperationsInput; + @Field(() => NullableIntFieldUpdateOperationsInput, { nullable: true }) + employees?: NullableIntFieldUpdateOperationsInput; - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - employees?: NullableIntFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + accountOwnerId?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - accountOwnerId?: NullableStringFieldUpdateOperationsInput; - - @Field(() => PersonUncheckedUpdateManyWithoutCompanyNestedInput, {nullable:true}) - people?: PersonUncheckedUpdateManyWithoutCompanyNestedInput; + @Field(() => PersonUncheckedUpdateManyWithoutCompanyNestedInput, { + nullable: true, + }) + people?: PersonUncheckedUpdateManyWithoutCompanyNestedInput; } diff --git a/server/src/api/@generated/company/company-unchecked-update.input.ts b/server/src/api/@generated/company/company-unchecked-update.input.ts index da95621db9..de7965a2c7 100644 --- a/server/src/api/@generated/company/company-unchecked-update.input.ts +++ b/server/src/api/@generated/company/company-unchecked-update.input.ts @@ -10,37 +10,38 @@ import { PersonUncheckedUpdateManyWithoutCompanyNestedInput } from '../person/pe @InputType() export class CompanyUncheckedUpdateInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + address?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - address?: StringFieldUpdateOperationsInput; + @Field(() => NullableIntFieldUpdateOperationsInput, { nullable: true }) + employees?: NullableIntFieldUpdateOperationsInput; - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - employees?: NullableIntFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + accountOwnerId?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - accountOwnerId?: NullableStringFieldUpdateOperationsInput; + @HideField() + workspaceId?: StringFieldUpdateOperationsInput; - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; - - @Field(() => PersonUncheckedUpdateManyWithoutCompanyNestedInput, {nullable:true}) - people?: PersonUncheckedUpdateManyWithoutCompanyNestedInput; + @Field(() => PersonUncheckedUpdateManyWithoutCompanyNestedInput, { + nullable: true, + }) + people?: PersonUncheckedUpdateManyWithoutCompanyNestedInput; } diff --git a/server/src/api/@generated/company/company-update-many-mutation.input.ts b/server/src/api/@generated/company/company-update-many-mutation.input.ts index 3711a3e0d3..805c2e3899 100644 --- a/server/src/api/@generated/company/company-update-many-mutation.input.ts +++ b/server/src/api/@generated/company/company-update-many-mutation.input.ts @@ -7,28 +7,27 @@ import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-fi @InputType() export class CompanyUpdateManyMutationInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + address?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - address?: StringFieldUpdateOperationsInput; - - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - employees?: NullableIntFieldUpdateOperationsInput; + @Field(() => NullableIntFieldUpdateOperationsInput, { nullable: true }) + employees?: NullableIntFieldUpdateOperationsInput; } diff --git a/server/src/api/@generated/company/company-update-many-with-where-without-account-owner.input.ts b/server/src/api/@generated/company/company-update-many-with-where-without-account-owner.input.ts index d59462b702..1fb46568d1 100644 --- a/server/src/api/@generated/company/company-update-many-with-where-without-account-owner.input.ts +++ b/server/src/api/@generated/company/company-update-many-with-where-without-account-owner.input.ts @@ -6,12 +6,11 @@ import { CompanyUpdateManyMutationInput } from './company-update-many-mutation.i @InputType() export class CompanyUpdateManyWithWhereWithoutAccountOwnerInput { + @Field(() => CompanyScalarWhereInput, { nullable: false }) + @Type(() => CompanyScalarWhereInput) + where!: CompanyScalarWhereInput; - @Field(() => CompanyScalarWhereInput, {nullable:false}) - @Type(() => CompanyScalarWhereInput) - where!: CompanyScalarWhereInput; - - @Field(() => CompanyUpdateManyMutationInput, {nullable:false}) - @Type(() => CompanyUpdateManyMutationInput) - data!: CompanyUpdateManyMutationInput; + @Field(() => CompanyUpdateManyMutationInput, { nullable: false }) + @Type(() => CompanyUpdateManyMutationInput) + data!: CompanyUpdateManyMutationInput; } diff --git a/server/src/api/@generated/company/company-update-many-with-where-without-workspace.input.ts b/server/src/api/@generated/company/company-update-many-with-where-without-workspace.input.ts index 83f74f350a..722af72773 100644 --- a/server/src/api/@generated/company/company-update-many-with-where-without-workspace.input.ts +++ b/server/src/api/@generated/company/company-update-many-with-where-without-workspace.input.ts @@ -6,12 +6,11 @@ import { CompanyUpdateManyMutationInput } from './company-update-many-mutation.i @InputType() export class CompanyUpdateManyWithWhereWithoutWorkspaceInput { + @Field(() => CompanyScalarWhereInput, { nullable: false }) + @Type(() => CompanyScalarWhereInput) + where!: CompanyScalarWhereInput; - @Field(() => CompanyScalarWhereInput, {nullable:false}) - @Type(() => CompanyScalarWhereInput) - where!: CompanyScalarWhereInput; - - @Field(() => CompanyUpdateManyMutationInput, {nullable:false}) - @Type(() => CompanyUpdateManyMutationInput) - data!: CompanyUpdateManyMutationInput; + @Field(() => CompanyUpdateManyMutationInput, { nullable: false }) + @Type(() => CompanyUpdateManyMutationInput) + data!: CompanyUpdateManyMutationInput; } diff --git a/server/src/api/@generated/company/company-update-many-without-account-owner-nested.input.ts b/server/src/api/@generated/company/company-update-many-without-account-owner-nested.input.ts index 38c397f964..32c3bf9030 100644 --- a/server/src/api/@generated/company/company-update-many-without-account-owner-nested.input.ts +++ b/server/src/api/@generated/company/company-update-many-without-account-owner-nested.input.ts @@ -12,48 +12,55 @@ import { CompanyScalarWhereInput } from './company-scalar-where.input'; @InputType() export class CompanyUpdateManyWithoutAccountOwnerNestedInput { + @Field(() => [CompanyCreateWithoutAccountOwnerInput], { nullable: true }) + @Type(() => CompanyCreateWithoutAccountOwnerInput) + create?: Array; - @Field(() => [CompanyCreateWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyCreateWithoutAccountOwnerInput) - create?: Array; + @Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], { + nullable: true, + }) + @Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput) + connectOrCreate?: Array; - @Field(() => [CompanyCreateOrConnectWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyCreateOrConnectWithoutAccountOwnerInput) - connectOrCreate?: Array; + @Field(() => [CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput], { + nullable: true, + }) + @Type(() => CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput) + upsert?: Array; - @Field(() => [CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput) - upsert?: Array; + @Field(() => CompanyCreateManyAccountOwnerInputEnvelope, { nullable: true }) + @Type(() => CompanyCreateManyAccountOwnerInputEnvelope) + createMany?: CompanyCreateManyAccountOwnerInputEnvelope; - @Field(() => CompanyCreateManyAccountOwnerInputEnvelope, {nullable:true}) - @Type(() => CompanyCreateManyAccountOwnerInputEnvelope) - createMany?: CompanyCreateManyAccountOwnerInputEnvelope; + @Field(() => [CompanyWhereUniqueInput], { nullable: true }) + @Type(() => CompanyWhereUniqueInput) + set?: Array; - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - set?: Array; + @Field(() => [CompanyWhereUniqueInput], { nullable: true }) + @Type(() => CompanyWhereUniqueInput) + disconnect?: Array; - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - disconnect?: Array; + @Field(() => [CompanyWhereUniqueInput], { nullable: true }) + @Type(() => CompanyWhereUniqueInput) + delete?: Array; - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - delete?: Array; + @Field(() => [CompanyWhereUniqueInput], { nullable: true }) + @Type(() => CompanyWhereUniqueInput) + connect?: Array; - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - connect?: Array; + @Field(() => [CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput], { + nullable: true, + }) + @Type(() => CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput) + update?: Array; - @Field(() => [CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput) - update?: Array; + @Field(() => [CompanyUpdateManyWithWhereWithoutAccountOwnerInput], { + nullable: true, + }) + @Type(() => CompanyUpdateManyWithWhereWithoutAccountOwnerInput) + updateMany?: Array; - @Field(() => [CompanyUpdateManyWithWhereWithoutAccountOwnerInput], {nullable:true}) - @Type(() => CompanyUpdateManyWithWhereWithoutAccountOwnerInput) - updateMany?: Array; - - @Field(() => [CompanyScalarWhereInput], {nullable:true}) - @Type(() => CompanyScalarWhereInput) - deleteMany?: Array; + @Field(() => [CompanyScalarWhereInput], { nullable: true }) + @Type(() => CompanyScalarWhereInput) + deleteMany?: Array; } diff --git a/server/src/api/@generated/company/company-update-many-without-workspace-nested.input.ts b/server/src/api/@generated/company/company-update-many-without-workspace-nested.input.ts index 457b8f1d8b..10f462b9d3 100644 --- a/server/src/api/@generated/company/company-update-many-without-workspace-nested.input.ts +++ b/server/src/api/@generated/company/company-update-many-without-workspace-nested.input.ts @@ -12,48 +12,55 @@ import { CompanyScalarWhereInput } from './company-scalar-where.input'; @InputType() export class CompanyUpdateManyWithoutWorkspaceNestedInput { + @Field(() => [CompanyCreateWithoutWorkspaceInput], { nullable: true }) + @Type(() => CompanyCreateWithoutWorkspaceInput) + create?: Array; - @Field(() => [CompanyCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyCreateWithoutWorkspaceInput) - create?: Array; + @Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => CompanyCreateOrConnectWithoutWorkspaceInput) + connectOrCreate?: Array; - @Field(() => [CompanyCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; + @Field(() => [CompanyUpsertWithWhereUniqueWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => CompanyUpsertWithWhereUniqueWithoutWorkspaceInput) + upsert?: Array; - @Field(() => [CompanyUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyUpsertWithWhereUniqueWithoutWorkspaceInput) - upsert?: Array; + @Field(() => CompanyCreateManyWorkspaceInputEnvelope, { nullable: true }) + @Type(() => CompanyCreateManyWorkspaceInputEnvelope) + createMany?: CompanyCreateManyWorkspaceInputEnvelope; - @Field(() => CompanyCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => CompanyCreateManyWorkspaceInputEnvelope) - createMany?: CompanyCreateManyWorkspaceInputEnvelope; + @Field(() => [CompanyWhereUniqueInput], { nullable: true }) + @Type(() => CompanyWhereUniqueInput) + set?: Array; - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - set?: Array; + @Field(() => [CompanyWhereUniqueInput], { nullable: true }) + @Type(() => CompanyWhereUniqueInput) + disconnect?: Array; - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - disconnect?: Array; + @Field(() => [CompanyWhereUniqueInput], { nullable: true }) + @Type(() => CompanyWhereUniqueInput) + delete?: Array; - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - delete?: Array; + @Field(() => [CompanyWhereUniqueInput], { nullable: true }) + @Type(() => CompanyWhereUniqueInput) + connect?: Array; - @Field(() => [CompanyWhereUniqueInput], {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - connect?: Array; + @Field(() => [CompanyUpdateWithWhereUniqueWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => CompanyUpdateWithWhereUniqueWithoutWorkspaceInput) + update?: Array; - @Field(() => [CompanyUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyUpdateWithWhereUniqueWithoutWorkspaceInput) - update?: Array; + @Field(() => [CompanyUpdateManyWithWhereWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => CompanyUpdateManyWithWhereWithoutWorkspaceInput) + updateMany?: Array; - @Field(() => [CompanyUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true}) - @Type(() => CompanyUpdateManyWithWhereWithoutWorkspaceInput) - updateMany?: Array; - - @Field(() => [CompanyScalarWhereInput], {nullable:true}) - @Type(() => CompanyScalarWhereInput) - deleteMany?: Array; + @Field(() => [CompanyScalarWhereInput], { nullable: true }) + @Type(() => CompanyScalarWhereInput) + deleteMany?: Array; } diff --git a/server/src/api/@generated/company/company-update-one-without-people-nested.input.ts b/server/src/api/@generated/company/company-update-one-without-people-nested.input.ts index 0d4f991bc9..d94d96db97 100644 --- a/server/src/api/@generated/company/company-update-one-without-people-nested.input.ts +++ b/server/src/api/@generated/company/company-update-one-without-people-nested.input.ts @@ -9,30 +9,29 @@ import { CompanyUpdateWithoutPeopleInput } from './company-update-without-people @InputType() export class CompanyUpdateOneWithoutPeopleNestedInput { + @Field(() => CompanyCreateWithoutPeopleInput, { nullable: true }) + @Type(() => CompanyCreateWithoutPeopleInput) + create?: CompanyCreateWithoutPeopleInput; - @Field(() => CompanyCreateWithoutPeopleInput, {nullable:true}) - @Type(() => CompanyCreateWithoutPeopleInput) - create?: CompanyCreateWithoutPeopleInput; + @Field(() => CompanyCreateOrConnectWithoutPeopleInput, { nullable: true }) + @Type(() => CompanyCreateOrConnectWithoutPeopleInput) + connectOrCreate?: CompanyCreateOrConnectWithoutPeopleInput; - @Field(() => CompanyCreateOrConnectWithoutPeopleInput, {nullable:true}) - @Type(() => CompanyCreateOrConnectWithoutPeopleInput) - connectOrCreate?: CompanyCreateOrConnectWithoutPeopleInput; + @Field(() => CompanyUpsertWithoutPeopleInput, { nullable: true }) + @Type(() => CompanyUpsertWithoutPeopleInput) + upsert?: CompanyUpsertWithoutPeopleInput; - @Field(() => CompanyUpsertWithoutPeopleInput, {nullable:true}) - @Type(() => CompanyUpsertWithoutPeopleInput) - upsert?: CompanyUpsertWithoutPeopleInput; + @Field(() => Boolean, { nullable: true }) + disconnect?: boolean; - @Field(() => Boolean, {nullable:true}) - disconnect?: boolean; + @Field(() => Boolean, { nullable: true }) + delete?: boolean; - @Field(() => Boolean, {nullable:true}) - delete?: boolean; + @Field(() => CompanyWhereUniqueInput, { nullable: true }) + @Type(() => CompanyWhereUniqueInput) + connect?: CompanyWhereUniqueInput; - @Field(() => CompanyWhereUniqueInput, {nullable:true}) - @Type(() => CompanyWhereUniqueInput) - connect?: CompanyWhereUniqueInput; - - @Field(() => CompanyUpdateWithoutPeopleInput, {nullable:true}) - @Type(() => CompanyUpdateWithoutPeopleInput) - update?: CompanyUpdateWithoutPeopleInput; + @Field(() => CompanyUpdateWithoutPeopleInput, { nullable: true }) + @Type(() => CompanyUpdateWithoutPeopleInput) + update?: CompanyUpdateWithoutPeopleInput; } diff --git a/server/src/api/@generated/company/company-update-with-where-unique-without-account-owner.input.ts b/server/src/api/@generated/company/company-update-with-where-unique-without-account-owner.input.ts index e717ff9fa9..362f37880f 100644 --- a/server/src/api/@generated/company/company-update-with-where-unique-without-account-owner.input.ts +++ b/server/src/api/@generated/company/company-update-with-where-unique-without-account-owner.input.ts @@ -6,12 +6,11 @@ import { CompanyUpdateWithoutAccountOwnerInput } from './company-update-without- @InputType() export class CompanyUpdateWithWhereUniqueWithoutAccountOwnerInput { + @Field(() => CompanyWhereUniqueInput, { nullable: false }) + @Type(() => CompanyWhereUniqueInput) + where!: CompanyWhereUniqueInput; - @Field(() => CompanyWhereUniqueInput, {nullable:false}) - @Type(() => CompanyWhereUniqueInput) - where!: CompanyWhereUniqueInput; - - @Field(() => CompanyUpdateWithoutAccountOwnerInput, {nullable:false}) - @Type(() => CompanyUpdateWithoutAccountOwnerInput) - data!: CompanyUpdateWithoutAccountOwnerInput; + @Field(() => CompanyUpdateWithoutAccountOwnerInput, { nullable: false }) + @Type(() => CompanyUpdateWithoutAccountOwnerInput) + data!: CompanyUpdateWithoutAccountOwnerInput; } diff --git a/server/src/api/@generated/company/company-update-with-where-unique-without-workspace.input.ts b/server/src/api/@generated/company/company-update-with-where-unique-without-workspace.input.ts index f6e5a75270..01937b362d 100644 --- a/server/src/api/@generated/company/company-update-with-where-unique-without-workspace.input.ts +++ b/server/src/api/@generated/company/company-update-with-where-unique-without-workspace.input.ts @@ -6,12 +6,11 @@ import { CompanyUpdateWithoutWorkspaceInput } from './company-update-without-wor @InputType() export class CompanyUpdateWithWhereUniqueWithoutWorkspaceInput { + @Field(() => CompanyWhereUniqueInput, { nullable: false }) + @Type(() => CompanyWhereUniqueInput) + where!: CompanyWhereUniqueInput; - @Field(() => CompanyWhereUniqueInput, {nullable:false}) - @Type(() => CompanyWhereUniqueInput) - where!: CompanyWhereUniqueInput; - - @Field(() => CompanyUpdateWithoutWorkspaceInput, {nullable:false}) - @Type(() => CompanyUpdateWithoutWorkspaceInput) - data!: CompanyUpdateWithoutWorkspaceInput; + @Field(() => CompanyUpdateWithoutWorkspaceInput, { nullable: false }) + @Type(() => CompanyUpdateWithoutWorkspaceInput) + data!: CompanyUpdateWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/company/company-update-without-account-owner.input.ts b/server/src/api/@generated/company/company-update-without-account-owner.input.ts index 2acca14bca..93de6e6ecb 100644 --- a/server/src/api/@generated/company/company-update-without-account-owner.input.ts +++ b/server/src/api/@generated/company/company-update-without-account-owner.input.ts @@ -10,34 +10,33 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class CompanyUpdateWithoutAccountOwnerInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + address?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - address?: StringFieldUpdateOperationsInput; + @Field(() => NullableIntFieldUpdateOperationsInput, { nullable: true }) + employees?: NullableIntFieldUpdateOperationsInput; - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - employees?: NullableIntFieldUpdateOperationsInput; + @Field(() => PersonUpdateManyWithoutCompanyNestedInput, { nullable: true }) + people?: PersonUpdateManyWithoutCompanyNestedInput; - @Field(() => PersonUpdateManyWithoutCompanyNestedInput, {nullable:true}) - people?: PersonUpdateManyWithoutCompanyNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutCompaniesNestedInput; + @HideField() + workspace?: WorkspaceUpdateOneRequiredWithoutCompaniesNestedInput; } diff --git a/server/src/api/@generated/company/company-update-without-people.input.ts b/server/src/api/@generated/company/company-update-without-people.input.ts index 696c414e79..ec9d47ca36 100644 --- a/server/src/api/@generated/company/company-update-without-people.input.ts +++ b/server/src/api/@generated/company/company-update-without-people.input.ts @@ -10,34 +10,33 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class CompanyUpdateWithoutPeopleInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + address?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - address?: StringFieldUpdateOperationsInput; + @Field(() => NullableIntFieldUpdateOperationsInput, { nullable: true }) + employees?: NullableIntFieldUpdateOperationsInput; - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - employees?: NullableIntFieldUpdateOperationsInput; + @Field(() => UserUpdateOneWithoutCompaniesNestedInput, { nullable: true }) + accountOwner?: UserUpdateOneWithoutCompaniesNestedInput; - @Field(() => UserUpdateOneWithoutCompaniesNestedInput, {nullable:true}) - accountOwner?: UserUpdateOneWithoutCompaniesNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutCompaniesNestedInput; + @HideField() + workspace?: WorkspaceUpdateOneRequiredWithoutCompaniesNestedInput; } diff --git a/server/src/api/@generated/company/company-update-without-workspace.input.ts b/server/src/api/@generated/company/company-update-without-workspace.input.ts index 4463b2f243..17d14ca3e0 100644 --- a/server/src/api/@generated/company/company-update-without-workspace.input.ts +++ b/server/src/api/@generated/company/company-update-without-workspace.input.ts @@ -9,34 +9,33 @@ import { PersonUpdateManyWithoutCompanyNestedInput } from '../person/person-upda @InputType() export class CompanyUpdateWithoutWorkspaceInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + address?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - address?: StringFieldUpdateOperationsInput; + @Field(() => NullableIntFieldUpdateOperationsInput, { nullable: true }) + employees?: NullableIntFieldUpdateOperationsInput; - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - employees?: NullableIntFieldUpdateOperationsInput; + @Field(() => UserUpdateOneWithoutCompaniesNestedInput, { nullable: true }) + accountOwner?: UserUpdateOneWithoutCompaniesNestedInput; - @Field(() => UserUpdateOneWithoutCompaniesNestedInput, {nullable:true}) - accountOwner?: UserUpdateOneWithoutCompaniesNestedInput; - - @Field(() => PersonUpdateManyWithoutCompanyNestedInput, {nullable:true}) - people?: PersonUpdateManyWithoutCompanyNestedInput; + @Field(() => PersonUpdateManyWithoutCompanyNestedInput, { nullable: true }) + people?: PersonUpdateManyWithoutCompanyNestedInput; } diff --git a/server/src/api/@generated/company/company-update.input.ts b/server/src/api/@generated/company/company-update.input.ts index 709138b24a..2120ff01dc 100644 --- a/server/src/api/@generated/company/company-update.input.ts +++ b/server/src/api/@generated/company/company-update.input.ts @@ -11,37 +11,36 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class CompanyUpdateInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - name?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + address?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - address?: StringFieldUpdateOperationsInput; + @Field(() => NullableIntFieldUpdateOperationsInput, { nullable: true }) + employees?: NullableIntFieldUpdateOperationsInput; - @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) - employees?: NullableIntFieldUpdateOperationsInput; + @Field(() => UserUpdateOneWithoutCompaniesNestedInput, { nullable: true }) + accountOwner?: UserUpdateOneWithoutCompaniesNestedInput; - @Field(() => UserUpdateOneWithoutCompaniesNestedInput, {nullable:true}) - accountOwner?: UserUpdateOneWithoutCompaniesNestedInput; + @Field(() => PersonUpdateManyWithoutCompanyNestedInput, { nullable: true }) + people?: PersonUpdateManyWithoutCompanyNestedInput; - @Field(() => PersonUpdateManyWithoutCompanyNestedInput, {nullable:true}) - people?: PersonUpdateManyWithoutCompanyNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutCompaniesNestedInput; + @HideField() + workspace?: WorkspaceUpdateOneRequiredWithoutCompaniesNestedInput; } diff --git a/server/src/api/@generated/company/company-upsert-with-where-unique-without-account-owner.input.ts b/server/src/api/@generated/company/company-upsert-with-where-unique-without-account-owner.input.ts index 42ccc52d8c..b5a8a3785f 100644 --- a/server/src/api/@generated/company/company-upsert-with-where-unique-without-account-owner.input.ts +++ b/server/src/api/@generated/company/company-upsert-with-where-unique-without-account-owner.input.ts @@ -7,16 +7,15 @@ import { CompanyCreateWithoutAccountOwnerInput } from './company-create-without- @InputType() export class CompanyUpsertWithWhereUniqueWithoutAccountOwnerInput { + @Field(() => CompanyWhereUniqueInput, { nullable: false }) + @Type(() => CompanyWhereUniqueInput) + where!: CompanyWhereUniqueInput; - @Field(() => CompanyWhereUniqueInput, {nullable:false}) - @Type(() => CompanyWhereUniqueInput) - where!: CompanyWhereUniqueInput; + @Field(() => CompanyUpdateWithoutAccountOwnerInput, { nullable: false }) + @Type(() => CompanyUpdateWithoutAccountOwnerInput) + update!: CompanyUpdateWithoutAccountOwnerInput; - @Field(() => CompanyUpdateWithoutAccountOwnerInput, {nullable:false}) - @Type(() => CompanyUpdateWithoutAccountOwnerInput) - update!: CompanyUpdateWithoutAccountOwnerInput; - - @Field(() => CompanyCreateWithoutAccountOwnerInput, {nullable:false}) - @Type(() => CompanyCreateWithoutAccountOwnerInput) - create!: CompanyCreateWithoutAccountOwnerInput; + @Field(() => CompanyCreateWithoutAccountOwnerInput, { nullable: false }) + @Type(() => CompanyCreateWithoutAccountOwnerInput) + create!: CompanyCreateWithoutAccountOwnerInput; } diff --git a/server/src/api/@generated/company/company-upsert-with-where-unique-without-workspace.input.ts b/server/src/api/@generated/company/company-upsert-with-where-unique-without-workspace.input.ts index a6cc8a35b5..52b363b6ab 100644 --- a/server/src/api/@generated/company/company-upsert-with-where-unique-without-workspace.input.ts +++ b/server/src/api/@generated/company/company-upsert-with-where-unique-without-workspace.input.ts @@ -7,16 +7,15 @@ import { CompanyCreateWithoutWorkspaceInput } from './company-create-without-wor @InputType() export class CompanyUpsertWithWhereUniqueWithoutWorkspaceInput { + @Field(() => CompanyWhereUniqueInput, { nullable: false }) + @Type(() => CompanyWhereUniqueInput) + where!: CompanyWhereUniqueInput; - @Field(() => CompanyWhereUniqueInput, {nullable:false}) - @Type(() => CompanyWhereUniqueInput) - where!: CompanyWhereUniqueInput; + @Field(() => CompanyUpdateWithoutWorkspaceInput, { nullable: false }) + @Type(() => CompanyUpdateWithoutWorkspaceInput) + update!: CompanyUpdateWithoutWorkspaceInput; - @Field(() => CompanyUpdateWithoutWorkspaceInput, {nullable:false}) - @Type(() => CompanyUpdateWithoutWorkspaceInput) - update!: CompanyUpdateWithoutWorkspaceInput; - - @Field(() => CompanyCreateWithoutWorkspaceInput, {nullable:false}) - @Type(() => CompanyCreateWithoutWorkspaceInput) - create!: CompanyCreateWithoutWorkspaceInput; + @Field(() => CompanyCreateWithoutWorkspaceInput, { nullable: false }) + @Type(() => CompanyCreateWithoutWorkspaceInput) + create!: CompanyCreateWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/company/company-upsert-without-people.input.ts b/server/src/api/@generated/company/company-upsert-without-people.input.ts index 38d664dc0c..437222d112 100644 --- a/server/src/api/@generated/company/company-upsert-without-people.input.ts +++ b/server/src/api/@generated/company/company-upsert-without-people.input.ts @@ -6,12 +6,11 @@ import { CompanyCreateWithoutPeopleInput } from './company-create-without-people @InputType() export class CompanyUpsertWithoutPeopleInput { + @Field(() => CompanyUpdateWithoutPeopleInput, { nullable: false }) + @Type(() => CompanyUpdateWithoutPeopleInput) + update!: CompanyUpdateWithoutPeopleInput; - @Field(() => CompanyUpdateWithoutPeopleInput, {nullable:false}) - @Type(() => CompanyUpdateWithoutPeopleInput) - update!: CompanyUpdateWithoutPeopleInput; - - @Field(() => CompanyCreateWithoutPeopleInput, {nullable:false}) - @Type(() => CompanyCreateWithoutPeopleInput) - create!: CompanyCreateWithoutPeopleInput; + @Field(() => CompanyCreateWithoutPeopleInput, { nullable: false }) + @Type(() => CompanyCreateWithoutPeopleInput) + create!: CompanyCreateWithoutPeopleInput; } diff --git a/server/src/api/@generated/company/company-where-unique.input.ts b/server/src/api/@generated/company/company-where-unique.input.ts index 32d48c782b..acd144bd8b 100644 --- a/server/src/api/@generated/company/company-where-unique.input.ts +++ b/server/src/api/@generated/company/company-where-unique.input.ts @@ -3,7 +3,6 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class CompanyWhereUniqueInput { - - @Field(() => String, {nullable:true}) - id?: string; + @Field(() => String, { nullable: true }) + id?: string; } diff --git a/server/src/api/@generated/company/company-where.input.ts b/server/src/api/@generated/company/company-where.input.ts index 36362ef47a..28f56375af 100644 --- a/server/src/api/@generated/company/company-where.input.ts +++ b/server/src/api/@generated/company/company-where.input.ts @@ -12,52 +12,51 @@ import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter. @InputType() export class CompanyWhereInput { + @Field(() => [CompanyWhereInput], { nullable: true }) + AND?: Array; - @Field(() => [CompanyWhereInput], {nullable:true}) - AND?: Array; + @Field(() => [CompanyWhereInput], { nullable: true }) + OR?: Array; - @Field(() => [CompanyWhereInput], {nullable:true}) - OR?: Array; + @Field(() => [CompanyWhereInput], { nullable: true }) + NOT?: Array; - @Field(() => [CompanyWhereInput], {nullable:true}) - NOT?: Array; + @Field(() => StringFilter, { nullable: true }) + id?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; + @Field(() => DateTimeFilter, { nullable: true }) + createdAt?: DateTimeFilter; - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; + @Field(() => DateTimeFilter, { nullable: true }) + updatedAt?: DateTimeFilter; - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; + @Field(() => DateTimeNullableFilter, { nullable: true }) + deletedAt?: DateTimeNullableFilter; - @Field(() => DateTimeNullableFilter, {nullable:true}) - deletedAt?: DateTimeNullableFilter; + @Field(() => StringFilter, { nullable: true }) + name?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - name?: StringFilter; + @Field(() => StringFilter, { nullable: true }) + domainName?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - domainName?: StringFilter; + @Field(() => StringFilter, { nullable: true }) + address?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - address?: StringFilter; + @Field(() => IntNullableFilter, { nullable: true }) + employees?: IntNullableFilter; - @Field(() => IntNullableFilter, {nullable:true}) - employees?: IntNullableFilter; + @Field(() => StringNullableFilter, { nullable: true }) + accountOwnerId?: StringNullableFilter; - @Field(() => StringNullableFilter, {nullable:true}) - accountOwnerId?: StringNullableFilter; + @HideField() + workspaceId?: StringFilter; - @HideField() - workspaceId?: StringFilter; + @Field(() => UserRelationFilter, { nullable: true }) + accountOwner?: UserRelationFilter; - @Field(() => UserRelationFilter, {nullable:true}) - accountOwner?: UserRelationFilter; + @Field(() => PersonListRelationFilter, { nullable: true }) + people?: PersonListRelationFilter; - @Field(() => PersonListRelationFilter, {nullable:true}) - people?: PersonListRelationFilter; - - @HideField() - workspace?: WorkspaceRelationFilter; + @HideField() + workspace?: WorkspaceRelationFilter; } diff --git a/server/src/api/@generated/company/company.model.ts b/server/src/api/@generated/company/company.model.ts index d47d4328c5..13fa9fe734 100644 --- a/server/src/api/@generated/company/company.model.ts +++ b/server/src/api/@generated/company/company.model.ts @@ -9,46 +9,45 @@ import { CompanyCount } from './company-count.output'; @ObjectType() export class Company { + @Field(() => ID, { nullable: false }) + id!: string; - @Field(() => ID, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: false }) + createdAt!: Date; - @Field(() => Date, {nullable:false}) - createdAt!: Date; + @Field(() => Date, { nullable: false }) + updatedAt!: Date; - @Field(() => Date, {nullable:false}) - updatedAt!: Date; + @Field(() => Date, { nullable: true }) + deletedAt!: Date | null; - @Field(() => Date, {nullable:true}) - deletedAt!: Date | null; + @Field(() => String, { nullable: false }) + name!: string; - @Field(() => String, {nullable:false}) - name!: string; + @Field(() => String, { nullable: false }) + domainName!: string; - @Field(() => String, {nullable:false}) - domainName!: string; + @Field(() => String, { nullable: false }) + address!: string; - @Field(() => String, {nullable:false}) - address!: string; + @Field(() => Int, { nullable: true }) + employees!: number | null; - @Field(() => Int, {nullable:true}) - employees!: number | null; + @Field(() => String, { nullable: true }) + accountOwnerId!: string | null; - @Field(() => String, {nullable:true}) - accountOwnerId!: string | null; + @Field(() => String, { nullable: false }) + workspaceId!: string; - @Field(() => String, {nullable:false}) - workspaceId!: string; + @Field(() => User, { nullable: true }) + accountOwner?: User | null; - @Field(() => User, {nullable:true}) - accountOwner?: User | null; + @Field(() => [Person], { nullable: true }) + people?: Array; - @Field(() => [Person], {nullable:true}) - people?: Array; + @Field(() => Workspace, { nullable: false }) + workspace?: Workspace; - @Field(() => Workspace, {nullable:false}) - workspace?: Workspace; - - @Field(() => CompanyCount, {nullable:false}) - _count?: CompanyCount; + @Field(() => CompanyCount, { nullable: false }) + _count?: CompanyCount; } diff --git a/server/src/api/@generated/company/create-many-company.args.ts b/server/src/api/@generated/company/create-many-company.args.ts index 838a95ab26..37a265de0c 100644 --- a/server/src/api/@generated/company/create-many-company.args.ts +++ b/server/src/api/@generated/company/create-many-company.args.ts @@ -5,11 +5,10 @@ import { Type } from 'class-transformer'; @ArgsType() export class CreateManyCompanyArgs { + @Field(() => [CompanyCreateManyInput], { nullable: false }) + @Type(() => CompanyCreateManyInput) + data!: Array; - @Field(() => [CompanyCreateManyInput], {nullable:false}) - @Type(() => CompanyCreateManyInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; + @Field(() => Boolean, { nullable: true }) + skipDuplicates?: boolean; } diff --git a/server/src/api/@generated/company/create-one-company.args.ts b/server/src/api/@generated/company/create-one-company.args.ts index ed7263b2ab..63ee17e087 100644 --- a/server/src/api/@generated/company/create-one-company.args.ts +++ b/server/src/api/@generated/company/create-one-company.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class CreateOneCompanyArgs { - - @Field(() => CompanyCreateInput, {nullable:false}) - @Type(() => CompanyCreateInput) - data!: CompanyCreateInput; + @Field(() => CompanyCreateInput, { nullable: false }) + @Type(() => CompanyCreateInput) + data!: CompanyCreateInput; } diff --git a/server/src/api/@generated/company/delete-many-company.args.ts b/server/src/api/@generated/company/delete-many-company.args.ts index e29682d7f0..6121d763fd 100644 --- a/server/src/api/@generated/company/delete-many-company.args.ts +++ b/server/src/api/@generated/company/delete-many-company.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class DeleteManyCompanyArgs { - - @Field(() => CompanyWhereInput, {nullable:true}) - @Type(() => CompanyWhereInput) - where?: CompanyWhereInput; + @Field(() => CompanyWhereInput, { nullable: true }) + @Type(() => CompanyWhereInput) + where?: CompanyWhereInput; } diff --git a/server/src/api/@generated/company/delete-one-company.args.ts b/server/src/api/@generated/company/delete-one-company.args.ts index a214a0e5d2..83d5138cf9 100644 --- a/server/src/api/@generated/company/delete-one-company.args.ts +++ b/server/src/api/@generated/company/delete-one-company.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class DeleteOneCompanyArgs { - - @Field(() => CompanyWhereUniqueInput, {nullable:false}) - @Type(() => CompanyWhereUniqueInput) - where!: CompanyWhereUniqueInput; + @Field(() => CompanyWhereUniqueInput, { nullable: false }) + @Type(() => CompanyWhereUniqueInput) + where!: CompanyWhereUniqueInput; } diff --git a/server/src/api/@generated/company/find-first-company-or-throw.args.ts b/server/src/api/@generated/company/find-first-company-or-throw.args.ts index 75e6ec5ee0..d4ad08af45 100644 --- a/server/src/api/@generated/company/find-first-company-or-throw.args.ts +++ b/server/src/api/@generated/company/find-first-company-or-throw.args.ts @@ -9,23 +9,22 @@ import { CompanyScalarFieldEnum } from './company-scalar-field.enum'; @ArgsType() export class FindFirstCompanyOrThrowArgs { + @Field(() => CompanyWhereInput, { nullable: true }) + @Type(() => CompanyWhereInput) + where?: CompanyWhereInput; - @Field(() => CompanyWhereInput, {nullable:true}) - @Type(() => CompanyWhereInput) - where?: CompanyWhereInput; + @Field(() => [CompanyOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [CompanyOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; + @Field(() => CompanyWhereUniqueInput, { nullable: true }) + cursor?: CompanyWhereUniqueInput; - @Field(() => CompanyWhereUniqueInput, {nullable:true}) - cursor?: CompanyWhereUniqueInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [CompanyScalarFieldEnum], {nullable:true}) - distinct?: Array; + @Field(() => [CompanyScalarFieldEnum], { nullable: true }) + distinct?: Array; } diff --git a/server/src/api/@generated/company/find-first-company.args.ts b/server/src/api/@generated/company/find-first-company.args.ts index 6d335d9368..6cc741bbfe 100644 --- a/server/src/api/@generated/company/find-first-company.args.ts +++ b/server/src/api/@generated/company/find-first-company.args.ts @@ -9,23 +9,22 @@ import { CompanyScalarFieldEnum } from './company-scalar-field.enum'; @ArgsType() export class FindFirstCompanyArgs { + @Field(() => CompanyWhereInput, { nullable: true }) + @Type(() => CompanyWhereInput) + where?: CompanyWhereInput; - @Field(() => CompanyWhereInput, {nullable:true}) - @Type(() => CompanyWhereInput) - where?: CompanyWhereInput; + @Field(() => [CompanyOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [CompanyOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; + @Field(() => CompanyWhereUniqueInput, { nullable: true }) + cursor?: CompanyWhereUniqueInput; - @Field(() => CompanyWhereUniqueInput, {nullable:true}) - cursor?: CompanyWhereUniqueInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [CompanyScalarFieldEnum], {nullable:true}) - distinct?: Array; + @Field(() => [CompanyScalarFieldEnum], { nullable: true }) + distinct?: Array; } diff --git a/server/src/api/@generated/company/find-many-company.args.ts b/server/src/api/@generated/company/find-many-company.args.ts index 57509e29a7..c53ba44739 100644 --- a/server/src/api/@generated/company/find-many-company.args.ts +++ b/server/src/api/@generated/company/find-many-company.args.ts @@ -9,23 +9,22 @@ import { CompanyScalarFieldEnum } from './company-scalar-field.enum'; @ArgsType() export class FindManyCompanyArgs { + @Field(() => CompanyWhereInput, { nullable: true }) + @Type(() => CompanyWhereInput) + where?: CompanyWhereInput; - @Field(() => CompanyWhereInput, {nullable:true}) - @Type(() => CompanyWhereInput) - where?: CompanyWhereInput; + @Field(() => [CompanyOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [CompanyOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; + @Field(() => CompanyWhereUniqueInput, { nullable: true }) + cursor?: CompanyWhereUniqueInput; - @Field(() => CompanyWhereUniqueInput, {nullable:true}) - cursor?: CompanyWhereUniqueInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [CompanyScalarFieldEnum], {nullable:true}) - distinct?: Array; + @Field(() => [CompanyScalarFieldEnum], { nullable: true }) + distinct?: Array; } diff --git a/server/src/api/@generated/company/find-unique-company-or-throw.args.ts b/server/src/api/@generated/company/find-unique-company-or-throw.args.ts index 0b97bb13f8..d65bc6cfdf 100644 --- a/server/src/api/@generated/company/find-unique-company-or-throw.args.ts +++ b/server/src/api/@generated/company/find-unique-company-or-throw.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class FindUniqueCompanyOrThrowArgs { - - @Field(() => CompanyWhereUniqueInput, {nullable:false}) - @Type(() => CompanyWhereUniqueInput) - where!: CompanyWhereUniqueInput; + @Field(() => CompanyWhereUniqueInput, { nullable: false }) + @Type(() => CompanyWhereUniqueInput) + where!: CompanyWhereUniqueInput; } diff --git a/server/src/api/@generated/company/find-unique-company.args.ts b/server/src/api/@generated/company/find-unique-company.args.ts index 4aab753589..2c8a266729 100644 --- a/server/src/api/@generated/company/find-unique-company.args.ts +++ b/server/src/api/@generated/company/find-unique-company.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class FindUniqueCompanyArgs { - - @Field(() => CompanyWhereUniqueInput, {nullable:false}) - @Type(() => CompanyWhereUniqueInput) - where!: CompanyWhereUniqueInput; + @Field(() => CompanyWhereUniqueInput, { nullable: false }) + @Type(() => CompanyWhereUniqueInput) + where!: CompanyWhereUniqueInput; } diff --git a/server/src/api/@generated/company/update-many-company.args.ts b/server/src/api/@generated/company/update-many-company.args.ts index 312ff77215..4d04dd9986 100644 --- a/server/src/api/@generated/company/update-many-company.args.ts +++ b/server/src/api/@generated/company/update-many-company.args.ts @@ -6,12 +6,11 @@ import { CompanyWhereInput } from './company-where.input'; @ArgsType() export class UpdateManyCompanyArgs { + @Field(() => CompanyUpdateManyMutationInput, { nullable: false }) + @Type(() => CompanyUpdateManyMutationInput) + data!: CompanyUpdateManyMutationInput; - @Field(() => CompanyUpdateManyMutationInput, {nullable:false}) - @Type(() => CompanyUpdateManyMutationInput) - data!: CompanyUpdateManyMutationInput; - - @Field(() => CompanyWhereInput, {nullable:true}) - @Type(() => CompanyWhereInput) - where?: CompanyWhereInput; + @Field(() => CompanyWhereInput, { nullable: true }) + @Type(() => CompanyWhereInput) + where?: CompanyWhereInput; } diff --git a/server/src/api/@generated/company/update-one-company.args.ts b/server/src/api/@generated/company/update-one-company.args.ts index 128ccf9c31..56684b8d56 100644 --- a/server/src/api/@generated/company/update-one-company.args.ts +++ b/server/src/api/@generated/company/update-one-company.args.ts @@ -6,12 +6,11 @@ import { CompanyWhereUniqueInput } from './company-where-unique.input'; @ArgsType() export class UpdateOneCompanyArgs { + @Field(() => CompanyUpdateInput, { nullable: false }) + @Type(() => CompanyUpdateInput) + data!: CompanyUpdateInput; - @Field(() => CompanyUpdateInput, {nullable:false}) - @Type(() => CompanyUpdateInput) - data!: CompanyUpdateInput; - - @Field(() => CompanyWhereUniqueInput, {nullable:false}) - @Type(() => CompanyWhereUniqueInput) - where!: CompanyWhereUniqueInput; + @Field(() => CompanyWhereUniqueInput, { nullable: false }) + @Type(() => CompanyWhereUniqueInput) + where!: CompanyWhereUniqueInput; } diff --git a/server/src/api/@generated/company/upsert-one-company.args.ts b/server/src/api/@generated/company/upsert-one-company.args.ts index 9e7a902c82..fda41fc496 100644 --- a/server/src/api/@generated/company/upsert-one-company.args.ts +++ b/server/src/api/@generated/company/upsert-one-company.args.ts @@ -7,16 +7,15 @@ import { CompanyUpdateInput } from './company-update.input'; @ArgsType() export class UpsertOneCompanyArgs { + @Field(() => CompanyWhereUniqueInput, { nullable: false }) + @Type(() => CompanyWhereUniqueInput) + where!: CompanyWhereUniqueInput; - @Field(() => CompanyWhereUniqueInput, {nullable:false}) - @Type(() => CompanyWhereUniqueInput) - where!: CompanyWhereUniqueInput; + @Field(() => CompanyCreateInput, { nullable: false }) + @Type(() => CompanyCreateInput) + create!: CompanyCreateInput; - @Field(() => CompanyCreateInput, {nullable:false}) - @Type(() => CompanyCreateInput) - create!: CompanyCreateInput; - - @Field(() => CompanyUpdateInput, {nullable:false}) - @Type(() => CompanyUpdateInput) - update!: CompanyUpdateInput; + @Field(() => CompanyUpdateInput, { nullable: false }) + @Type(() => CompanyUpdateInput) + update!: CompanyUpdateInput; } diff --git a/server/src/api/@generated/person/aggregate-person.output.ts b/server/src/api/@generated/person/aggregate-person.output.ts index d74fd2f267..92339cc323 100644 --- a/server/src/api/@generated/person/aggregate-person.output.ts +++ b/server/src/api/@generated/person/aggregate-person.output.ts @@ -6,13 +6,12 @@ import { PersonMaxAggregate } from './person-max-aggregate.output'; @ObjectType() export class AggregatePerson { + @Field(() => PersonCountAggregate, { nullable: true }) + _count?: PersonCountAggregate; - @Field(() => PersonCountAggregate, {nullable:true}) - _count?: PersonCountAggregate; + @Field(() => PersonMinAggregate, { nullable: true }) + _min?: PersonMinAggregate; - @Field(() => PersonMinAggregate, {nullable:true}) - _min?: PersonMinAggregate; - - @Field(() => PersonMaxAggregate, {nullable:true}) - _max?: PersonMaxAggregate; + @Field(() => PersonMaxAggregate, { nullable: true }) + _max?: PersonMaxAggregate; } diff --git a/server/src/api/@generated/person/create-many-person.args.ts b/server/src/api/@generated/person/create-many-person.args.ts index 0537d87a60..4da5da90cf 100644 --- a/server/src/api/@generated/person/create-many-person.args.ts +++ b/server/src/api/@generated/person/create-many-person.args.ts @@ -5,11 +5,10 @@ import { Type } from 'class-transformer'; @ArgsType() export class CreateManyPersonArgs { + @Field(() => [PersonCreateManyInput], { nullable: false }) + @Type(() => PersonCreateManyInput) + data!: Array; - @Field(() => [PersonCreateManyInput], {nullable:false}) - @Type(() => PersonCreateManyInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; + @Field(() => Boolean, { nullable: true }) + skipDuplicates?: boolean; } diff --git a/server/src/api/@generated/person/create-one-person.args.ts b/server/src/api/@generated/person/create-one-person.args.ts index 1a606d598b..07b608e8dc 100644 --- a/server/src/api/@generated/person/create-one-person.args.ts +++ b/server/src/api/@generated/person/create-one-person.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class CreateOnePersonArgs { - - @Field(() => PersonCreateInput, {nullable:false}) - @Type(() => PersonCreateInput) - data!: PersonCreateInput; + @Field(() => PersonCreateInput, { nullable: false }) + @Type(() => PersonCreateInput) + data!: PersonCreateInput; } diff --git a/server/src/api/@generated/person/delete-many-person.args.ts b/server/src/api/@generated/person/delete-many-person.args.ts index 03164d7d2e..2b564e99f0 100644 --- a/server/src/api/@generated/person/delete-many-person.args.ts +++ b/server/src/api/@generated/person/delete-many-person.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class DeleteManyPersonArgs { - - @Field(() => PersonWhereInput, {nullable:true}) - @Type(() => PersonWhereInput) - where?: PersonWhereInput; + @Field(() => PersonWhereInput, { nullable: true }) + @Type(() => PersonWhereInput) + where?: PersonWhereInput; } diff --git a/server/src/api/@generated/person/delete-one-person.args.ts b/server/src/api/@generated/person/delete-one-person.args.ts index 948d810949..527f1ef0d7 100644 --- a/server/src/api/@generated/person/delete-one-person.args.ts +++ b/server/src/api/@generated/person/delete-one-person.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class DeleteOnePersonArgs { - - @Field(() => PersonWhereUniqueInput, {nullable:false}) - @Type(() => PersonWhereUniqueInput) - where!: PersonWhereUniqueInput; + @Field(() => PersonWhereUniqueInput, { nullable: false }) + @Type(() => PersonWhereUniqueInput) + where!: PersonWhereUniqueInput; } diff --git a/server/src/api/@generated/person/find-first-person-or-throw.args.ts b/server/src/api/@generated/person/find-first-person-or-throw.args.ts index ae79aa4212..e2dbb6eb74 100644 --- a/server/src/api/@generated/person/find-first-person-or-throw.args.ts +++ b/server/src/api/@generated/person/find-first-person-or-throw.args.ts @@ -9,23 +9,22 @@ import { PersonScalarFieldEnum } from './person-scalar-field.enum'; @ArgsType() export class FindFirstPersonOrThrowArgs { + @Field(() => PersonWhereInput, { nullable: true }) + @Type(() => PersonWhereInput) + where?: PersonWhereInput; - @Field(() => PersonWhereInput, {nullable:true}) - @Type(() => PersonWhereInput) - where?: PersonWhereInput; + @Field(() => [PersonOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [PersonOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; + @Field(() => PersonWhereUniqueInput, { nullable: true }) + cursor?: PersonWhereUniqueInput; - @Field(() => PersonWhereUniqueInput, {nullable:true}) - cursor?: PersonWhereUniqueInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [PersonScalarFieldEnum], {nullable:true}) - distinct?: Array; + @Field(() => [PersonScalarFieldEnum], { nullable: true }) + distinct?: Array; } diff --git a/server/src/api/@generated/person/find-first-person.args.ts b/server/src/api/@generated/person/find-first-person.args.ts index 95f27d487a..d14202c139 100644 --- a/server/src/api/@generated/person/find-first-person.args.ts +++ b/server/src/api/@generated/person/find-first-person.args.ts @@ -9,23 +9,22 @@ import { PersonScalarFieldEnum } from './person-scalar-field.enum'; @ArgsType() export class FindFirstPersonArgs { + @Field(() => PersonWhereInput, { nullable: true }) + @Type(() => PersonWhereInput) + where?: PersonWhereInput; - @Field(() => PersonWhereInput, {nullable:true}) - @Type(() => PersonWhereInput) - where?: PersonWhereInput; + @Field(() => [PersonOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [PersonOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; + @Field(() => PersonWhereUniqueInput, { nullable: true }) + cursor?: PersonWhereUniqueInput; - @Field(() => PersonWhereUniqueInput, {nullable:true}) - cursor?: PersonWhereUniqueInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [PersonScalarFieldEnum], {nullable:true}) - distinct?: Array; + @Field(() => [PersonScalarFieldEnum], { nullable: true }) + distinct?: Array; } diff --git a/server/src/api/@generated/person/find-many-person.args.ts b/server/src/api/@generated/person/find-many-person.args.ts index daf71d2518..3fd6f70ec8 100644 --- a/server/src/api/@generated/person/find-many-person.args.ts +++ b/server/src/api/@generated/person/find-many-person.args.ts @@ -9,23 +9,22 @@ import { PersonScalarFieldEnum } from './person-scalar-field.enum'; @ArgsType() export class FindManyPersonArgs { + @Field(() => PersonWhereInput, { nullable: true }) + @Type(() => PersonWhereInput) + where?: PersonWhereInput; - @Field(() => PersonWhereInput, {nullable:true}) - @Type(() => PersonWhereInput) - where?: PersonWhereInput; + @Field(() => [PersonOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [PersonOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; + @Field(() => PersonWhereUniqueInput, { nullable: true }) + cursor?: PersonWhereUniqueInput; - @Field(() => PersonWhereUniqueInput, {nullable:true}) - cursor?: PersonWhereUniqueInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [PersonScalarFieldEnum], {nullable:true}) - distinct?: Array; + @Field(() => [PersonScalarFieldEnum], { nullable: true }) + distinct?: Array; } diff --git a/server/src/api/@generated/person/find-unique-person-or-throw.args.ts b/server/src/api/@generated/person/find-unique-person-or-throw.args.ts index bf547d68f2..b807805bd0 100644 --- a/server/src/api/@generated/person/find-unique-person-or-throw.args.ts +++ b/server/src/api/@generated/person/find-unique-person-or-throw.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class FindUniquePersonOrThrowArgs { - - @Field(() => PersonWhereUniqueInput, {nullable:false}) - @Type(() => PersonWhereUniqueInput) - where!: PersonWhereUniqueInput; + @Field(() => PersonWhereUniqueInput, { nullable: false }) + @Type(() => PersonWhereUniqueInput) + where!: PersonWhereUniqueInput; } diff --git a/server/src/api/@generated/person/find-unique-person.args.ts b/server/src/api/@generated/person/find-unique-person.args.ts index fc17d8f542..f14cdeeefd 100644 --- a/server/src/api/@generated/person/find-unique-person.args.ts +++ b/server/src/api/@generated/person/find-unique-person.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class FindUniquePersonArgs { - - @Field(() => PersonWhereUniqueInput, {nullable:false}) - @Type(() => PersonWhereUniqueInput) - where!: PersonWhereUniqueInput; + @Field(() => PersonWhereUniqueInput, { nullable: false }) + @Type(() => PersonWhereUniqueInput) + where!: PersonWhereUniqueInput; } diff --git a/server/src/api/@generated/person/person-aggregate.args.ts b/server/src/api/@generated/person/person-aggregate.args.ts index 03726105fb..bc2a5b7a2f 100644 --- a/server/src/api/@generated/person/person-aggregate.args.ts +++ b/server/src/api/@generated/person/person-aggregate.args.ts @@ -11,29 +11,28 @@ import { PersonMaxAggregateInput } from './person-max-aggregate.input'; @ArgsType() export class PersonAggregateArgs { + @Field(() => PersonWhereInput, { nullable: true }) + @Type(() => PersonWhereInput) + where?: PersonWhereInput; - @Field(() => PersonWhereInput, {nullable:true}) - @Type(() => PersonWhereInput) - where?: PersonWhereInput; + @Field(() => [PersonOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [PersonOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; + @Field(() => PersonWhereUniqueInput, { nullable: true }) + cursor?: PersonWhereUniqueInput; - @Field(() => PersonWhereUniqueInput, {nullable:true}) - cursor?: PersonWhereUniqueInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; + @Field(() => PersonCountAggregateInput, { nullable: true }) + _count?: PersonCountAggregateInput; - @Field(() => PersonCountAggregateInput, {nullable:true}) - _count?: PersonCountAggregateInput; + @Field(() => PersonMinAggregateInput, { nullable: true }) + _min?: PersonMinAggregateInput; - @Field(() => PersonMinAggregateInput, {nullable:true}) - _min?: PersonMinAggregateInput; - - @Field(() => PersonMaxAggregateInput, {nullable:true}) - _max?: PersonMaxAggregateInput; + @Field(() => PersonMaxAggregateInput, { nullable: true }) + _max?: PersonMaxAggregateInput; } diff --git a/server/src/api/@generated/person/person-count-aggregate.input.ts b/server/src/api/@generated/person/person-count-aggregate.input.ts index 55e647c1dd..792f678d86 100644 --- a/server/src/api/@generated/person/person-count-aggregate.input.ts +++ b/server/src/api/@generated/person/person-count-aggregate.input.ts @@ -4,40 +4,39 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class PersonCountAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; - @Field(() => Boolean, {nullable:true}) - id?: true; + @Field(() => Boolean, { nullable: true }) + createdAt?: true; - @Field(() => Boolean, {nullable:true}) - createdAt?: true; + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; - @Field(() => Boolean, {nullable:true}) - deletedAt?: true; + @Field(() => Boolean, { nullable: true }) + firstname?: true; - @Field(() => Boolean, {nullable:true}) - firstname?: true; + @Field(() => Boolean, { nullable: true }) + lastname?: true; - @Field(() => Boolean, {nullable:true}) - lastname?: true; + @Field(() => Boolean, { nullable: true }) + email?: true; - @Field(() => Boolean, {nullable:true}) - email?: true; + @Field(() => Boolean, { nullable: true }) + phone?: true; - @Field(() => Boolean, {nullable:true}) - phone?: true; + @Field(() => Boolean, { nullable: true }) + city?: true; - @Field(() => Boolean, {nullable:true}) - city?: true; + @Field(() => Boolean, { nullable: true }) + companyId?: true; - @Field(() => Boolean, {nullable:true}) - companyId?: true; + @HideField() + workspaceId?: true; - @HideField() - workspaceId?: true; - - @Field(() => Boolean, {nullable:true}) - _all?: true; + @Field(() => Boolean, { nullable: true }) + _all?: true; } diff --git a/server/src/api/@generated/person/person-count-aggregate.output.ts b/server/src/api/@generated/person/person-count-aggregate.output.ts index 9fa59308f4..0a460eace8 100644 --- a/server/src/api/@generated/person/person-count-aggregate.output.ts +++ b/server/src/api/@generated/person/person-count-aggregate.output.ts @@ -4,40 +4,39 @@ import { Int } from '@nestjs/graphql'; @ObjectType() export class PersonCountAggregate { + @Field(() => Int, { nullable: false }) + id!: number; - @Field(() => Int, {nullable:false}) - id!: number; + @Field(() => Int, { nullable: false }) + createdAt!: number; - @Field(() => Int, {nullable:false}) - createdAt!: number; + @Field(() => Int, { nullable: false }) + updatedAt!: number; - @Field(() => Int, {nullable:false}) - updatedAt!: number; + @Field(() => Int, { nullable: false }) + deletedAt!: number; - @Field(() => Int, {nullable:false}) - deletedAt!: number; + @Field(() => Int, { nullable: false }) + firstname!: number; - @Field(() => Int, {nullable:false}) - firstname!: number; + @Field(() => Int, { nullable: false }) + lastname!: number; - @Field(() => Int, {nullable:false}) - lastname!: number; + @Field(() => Int, { nullable: false }) + email!: number; - @Field(() => Int, {nullable:false}) - email!: number; + @Field(() => Int, { nullable: false }) + phone!: number; - @Field(() => Int, {nullable:false}) - phone!: number; + @Field(() => Int, { nullable: false }) + city!: number; - @Field(() => Int, {nullable:false}) - city!: number; + @Field(() => Int, { nullable: false }) + companyId!: number; - @Field(() => Int, {nullable:false}) - companyId!: number; + @Field(() => Int, { nullable: false }) + workspaceId!: number; - @Field(() => Int, {nullable:false}) - workspaceId!: number; - - @Field(() => Int, {nullable:false}) - _all!: number; + @Field(() => Int, { nullable: false }) + _all!: number; } diff --git a/server/src/api/@generated/person/person-count-order-by-aggregate.input.ts b/server/src/api/@generated/person/person-count-order-by-aggregate.input.ts index ea465b1deb..4e449d5182 100644 --- a/server/src/api/@generated/person/person-count-order-by-aggregate.input.ts +++ b/server/src/api/@generated/person/person-count-order-by-aggregate.input.ts @@ -5,37 +5,36 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class PersonCountOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + firstname?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - firstname?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + lastname?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - lastname?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + email?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - email?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + phone?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - phone?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + city?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - city?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + companyId?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - companyId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; + @HideField() + workspaceId?: keyof typeof SortOrder; } diff --git a/server/src/api/@generated/person/person-create-many-company-input-envelope.input.ts b/server/src/api/@generated/person/person-create-many-company-input-envelope.input.ts index 97666da479..4586f872e3 100644 --- a/server/src/api/@generated/person/person-create-many-company-input-envelope.input.ts +++ b/server/src/api/@generated/person/person-create-many-company-input-envelope.input.ts @@ -5,11 +5,10 @@ import { Type } from 'class-transformer'; @InputType() export class PersonCreateManyCompanyInputEnvelope { + @Field(() => [PersonCreateManyCompanyInput], { nullable: false }) + @Type(() => PersonCreateManyCompanyInput) + data!: Array; - @Field(() => [PersonCreateManyCompanyInput], {nullable:false}) - @Type(() => PersonCreateManyCompanyInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; + @Field(() => Boolean, { nullable: true }) + skipDuplicates?: boolean; } diff --git a/server/src/api/@generated/person/person-create-many-company.input.ts b/server/src/api/@generated/person/person-create-many-company.input.ts index 2fb78f708a..bd99abd129 100644 --- a/server/src/api/@generated/person/person-create-many-company.input.ts +++ b/server/src/api/@generated/person/person-create-many-company.input.ts @@ -4,34 +4,33 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class PersonCreateManyCompanyInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + firstname!: string; - @Field(() => String, {nullable:false}) - firstname!: string; + @Field(() => String, { nullable: false }) + lastname!: string; - @Field(() => String, {nullable:false}) - lastname!: string; + @Field(() => String, { nullable: false }) + email!: string; - @Field(() => String, {nullable:false}) - email!: string; + @Field(() => String, { nullable: false }) + phone!: string; - @Field(() => String, {nullable:false}) - phone!: string; + @Field(() => String, { nullable: false }) + city!: string; - @Field(() => String, {nullable:false}) - city!: string; - - @HideField() - workspaceId!: string; + @HideField() + workspaceId!: string; } diff --git a/server/src/api/@generated/person/person-create-many-workspace-input-envelope.input.ts b/server/src/api/@generated/person/person-create-many-workspace-input-envelope.input.ts index 97e817db2f..1830c10f2e 100644 --- a/server/src/api/@generated/person/person-create-many-workspace-input-envelope.input.ts +++ b/server/src/api/@generated/person/person-create-many-workspace-input-envelope.input.ts @@ -5,11 +5,10 @@ import { Type } from 'class-transformer'; @InputType() export class PersonCreateManyWorkspaceInputEnvelope { + @Field(() => [PersonCreateManyWorkspaceInput], { nullable: false }) + @Type(() => PersonCreateManyWorkspaceInput) + data!: Array; - @Field(() => [PersonCreateManyWorkspaceInput], {nullable:false}) - @Type(() => PersonCreateManyWorkspaceInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; + @Field(() => Boolean, { nullable: true }) + skipDuplicates?: boolean; } diff --git a/server/src/api/@generated/person/person-create-many-workspace.input.ts b/server/src/api/@generated/person/person-create-many-workspace.input.ts index e33446cf5b..ef4636d8f4 100644 --- a/server/src/api/@generated/person/person-create-many-workspace.input.ts +++ b/server/src/api/@generated/person/person-create-many-workspace.input.ts @@ -3,34 +3,33 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class PersonCreateManyWorkspaceInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + firstname!: string; - @Field(() => String, {nullable:false}) - firstname!: string; + @Field(() => String, { nullable: false }) + lastname!: string; - @Field(() => String, {nullable:false}) - lastname!: string; + @Field(() => String, { nullable: false }) + email!: string; - @Field(() => String, {nullable:false}) - email!: string; + @Field(() => String, { nullable: false }) + phone!: string; - @Field(() => String, {nullable:false}) - phone!: string; + @Field(() => String, { nullable: false }) + city!: string; - @Field(() => String, {nullable:false}) - city!: string; - - @Field(() => String, {nullable:true}) - companyId?: string; + @Field(() => String, { nullable: true }) + companyId?: string; } diff --git a/server/src/api/@generated/person/person-create-many.input.ts b/server/src/api/@generated/person/person-create-many.input.ts index ef69c677f8..6aabcf43b7 100644 --- a/server/src/api/@generated/person/person-create-many.input.ts +++ b/server/src/api/@generated/person/person-create-many.input.ts @@ -4,37 +4,36 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class PersonCreateManyInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + firstname!: string; - @Field(() => String, {nullable:false}) - firstname!: string; + @Field(() => String, { nullable: false }) + lastname!: string; - @Field(() => String, {nullable:false}) - lastname!: string; + @Field(() => String, { nullable: false }) + email!: string; - @Field(() => String, {nullable:false}) - email!: string; + @Field(() => String, { nullable: false }) + phone!: string; - @Field(() => String, {nullable:false}) - phone!: string; + @Field(() => String, { nullable: false }) + city!: string; - @Field(() => String, {nullable:false}) - city!: string; + @Field(() => String, { nullable: true }) + companyId?: string; - @Field(() => String, {nullable:true}) - companyId?: string; - - @HideField() - workspaceId!: string; + @HideField() + workspaceId!: string; } diff --git a/server/src/api/@generated/person/person-create-nested-many-without-company.input.ts b/server/src/api/@generated/person/person-create-nested-many-without-company.input.ts index c6f81f069d..c864b511de 100644 --- a/server/src/api/@generated/person/person-create-nested-many-without-company.input.ts +++ b/server/src/api/@generated/person/person-create-nested-many-without-company.input.ts @@ -8,20 +8,19 @@ import { PersonWhereUniqueInput } from './person-where-unique.input'; @InputType() export class PersonCreateNestedManyWithoutCompanyInput { + @Field(() => [PersonCreateWithoutCompanyInput], { nullable: true }) + @Type(() => PersonCreateWithoutCompanyInput) + create?: Array; - @Field(() => [PersonCreateWithoutCompanyInput], {nullable:true}) - @Type(() => PersonCreateWithoutCompanyInput) - create?: Array; + @Field(() => [PersonCreateOrConnectWithoutCompanyInput], { nullable: true }) + @Type(() => PersonCreateOrConnectWithoutCompanyInput) + connectOrCreate?: Array; - @Field(() => [PersonCreateOrConnectWithoutCompanyInput], {nullable:true}) - @Type(() => PersonCreateOrConnectWithoutCompanyInput) - connectOrCreate?: Array; + @Field(() => PersonCreateManyCompanyInputEnvelope, { nullable: true }) + @Type(() => PersonCreateManyCompanyInputEnvelope) + createMany?: PersonCreateManyCompanyInputEnvelope; - @Field(() => PersonCreateManyCompanyInputEnvelope, {nullable:true}) - @Type(() => PersonCreateManyCompanyInputEnvelope) - createMany?: PersonCreateManyCompanyInputEnvelope; - - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - connect?: Array; + @Field(() => [PersonWhereUniqueInput], { nullable: true }) + @Type(() => PersonWhereUniqueInput) + connect?: Array; } diff --git a/server/src/api/@generated/person/person-create-nested-many-without-workspace.input.ts b/server/src/api/@generated/person/person-create-nested-many-without-workspace.input.ts index 9ed6c21968..e8c470acfb 100644 --- a/server/src/api/@generated/person/person-create-nested-many-without-workspace.input.ts +++ b/server/src/api/@generated/person/person-create-nested-many-without-workspace.input.ts @@ -8,20 +8,19 @@ import { PersonWhereUniqueInput } from './person-where-unique.input'; @InputType() export class PersonCreateNestedManyWithoutWorkspaceInput { + @Field(() => [PersonCreateWithoutWorkspaceInput], { nullable: true }) + @Type(() => PersonCreateWithoutWorkspaceInput) + create?: Array; - @Field(() => [PersonCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonCreateWithoutWorkspaceInput) - create?: Array; + @Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], { nullable: true }) + @Type(() => PersonCreateOrConnectWithoutWorkspaceInput) + connectOrCreate?: Array; - @Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; + @Field(() => PersonCreateManyWorkspaceInputEnvelope, { nullable: true }) + @Type(() => PersonCreateManyWorkspaceInputEnvelope) + createMany?: PersonCreateManyWorkspaceInputEnvelope; - @Field(() => PersonCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => PersonCreateManyWorkspaceInputEnvelope) - createMany?: PersonCreateManyWorkspaceInputEnvelope; - - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - connect?: Array; + @Field(() => [PersonWhereUniqueInput], { nullable: true }) + @Type(() => PersonWhereUniqueInput) + connect?: Array; } diff --git a/server/src/api/@generated/person/person-create-or-connect-without-company.input.ts b/server/src/api/@generated/person/person-create-or-connect-without-company.input.ts index d8f7e161ec..33c773cc0b 100644 --- a/server/src/api/@generated/person/person-create-or-connect-without-company.input.ts +++ b/server/src/api/@generated/person/person-create-or-connect-without-company.input.ts @@ -6,12 +6,11 @@ import { PersonCreateWithoutCompanyInput } from './person-create-without-company @InputType() export class PersonCreateOrConnectWithoutCompanyInput { + @Field(() => PersonWhereUniqueInput, { nullable: false }) + @Type(() => PersonWhereUniqueInput) + where!: PersonWhereUniqueInput; - @Field(() => PersonWhereUniqueInput, {nullable:false}) - @Type(() => PersonWhereUniqueInput) - where!: PersonWhereUniqueInput; - - @Field(() => PersonCreateWithoutCompanyInput, {nullable:false}) - @Type(() => PersonCreateWithoutCompanyInput) - create!: PersonCreateWithoutCompanyInput; + @Field(() => PersonCreateWithoutCompanyInput, { nullable: false }) + @Type(() => PersonCreateWithoutCompanyInput) + create!: PersonCreateWithoutCompanyInput; } diff --git a/server/src/api/@generated/person/person-create-or-connect-without-workspace.input.ts b/server/src/api/@generated/person/person-create-or-connect-without-workspace.input.ts index 145651223b..97f64a877b 100644 --- a/server/src/api/@generated/person/person-create-or-connect-without-workspace.input.ts +++ b/server/src/api/@generated/person/person-create-or-connect-without-workspace.input.ts @@ -6,12 +6,11 @@ import { PersonCreateWithoutWorkspaceInput } from './person-create-without-works @InputType() export class PersonCreateOrConnectWithoutWorkspaceInput { + @Field(() => PersonWhereUniqueInput, { nullable: false }) + @Type(() => PersonWhereUniqueInput) + where!: PersonWhereUniqueInput; - @Field(() => PersonWhereUniqueInput, {nullable:false}) - @Type(() => PersonWhereUniqueInput) - where!: PersonWhereUniqueInput; - - @Field(() => PersonCreateWithoutWorkspaceInput, {nullable:false}) - @Type(() => PersonCreateWithoutWorkspaceInput) - create!: PersonCreateWithoutWorkspaceInput; + @Field(() => PersonCreateWithoutWorkspaceInput, { nullable: false }) + @Type(() => PersonCreateWithoutWorkspaceInput) + create!: PersonCreateWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/person/person-create-without-company.input.ts b/server/src/api/@generated/person/person-create-without-company.input.ts index 7db172ae1d..183fc4bffd 100644 --- a/server/src/api/@generated/person/person-create-without-company.input.ts +++ b/server/src/api/@generated/person/person-create-without-company.input.ts @@ -5,34 +5,33 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class PersonCreateWithoutCompanyInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + firstname!: string; - @Field(() => String, {nullable:false}) - firstname!: string; + @Field(() => String, { nullable: false }) + lastname!: string; - @Field(() => String, {nullable:false}) - lastname!: string; + @Field(() => String, { nullable: false }) + email!: string; - @Field(() => String, {nullable:false}) - email!: string; + @Field(() => String, { nullable: false }) + phone!: string; - @Field(() => String, {nullable:false}) - phone!: string; + @Field(() => String, { nullable: false }) + city!: string; - @Field(() => String, {nullable:false}) - city!: string; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutPeopleInput; + @HideField() + workspace!: WorkspaceCreateNestedOneWithoutPeopleInput; } diff --git a/server/src/api/@generated/person/person-create-without-workspace.input.ts b/server/src/api/@generated/person/person-create-without-workspace.input.ts index 89ba1b928d..7d2a40ed25 100644 --- a/server/src/api/@generated/person/person-create-without-workspace.input.ts +++ b/server/src/api/@generated/person/person-create-without-workspace.input.ts @@ -4,34 +4,33 @@ import { CompanyCreateNestedOneWithoutPeopleInput } from '../company/company-cre @InputType() export class PersonCreateWithoutWorkspaceInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + firstname!: string; - @Field(() => String, {nullable:false}) - firstname!: string; + @Field(() => String, { nullable: false }) + lastname!: string; - @Field(() => String, {nullable:false}) - lastname!: string; + @Field(() => String, { nullable: false }) + email!: string; - @Field(() => String, {nullable:false}) - email!: string; + @Field(() => String, { nullable: false }) + phone!: string; - @Field(() => String, {nullable:false}) - phone!: string; + @Field(() => String, { nullable: false }) + city!: string; - @Field(() => String, {nullable:false}) - city!: string; - - @Field(() => CompanyCreateNestedOneWithoutPeopleInput, {nullable:true}) - company?: CompanyCreateNestedOneWithoutPeopleInput; + @Field(() => CompanyCreateNestedOneWithoutPeopleInput, { nullable: true }) + company?: CompanyCreateNestedOneWithoutPeopleInput; } diff --git a/server/src/api/@generated/person/person-create.input.ts b/server/src/api/@generated/person/person-create.input.ts index 3902145ed0..3103543524 100644 --- a/server/src/api/@generated/person/person-create.input.ts +++ b/server/src/api/@generated/person/person-create.input.ts @@ -6,37 +6,36 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class PersonCreateInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + firstname!: string; - @Field(() => String, {nullable:false}) - firstname!: string; + @Field(() => String, { nullable: false }) + lastname!: string; - @Field(() => String, {nullable:false}) - lastname!: string; + @Field(() => String, { nullable: false }) + email!: string; - @Field(() => String, {nullable:false}) - email!: string; + @Field(() => String, { nullable: false }) + phone!: string; - @Field(() => String, {nullable:false}) - phone!: string; + @Field(() => String, { nullable: false }) + city!: string; - @Field(() => String, {nullable:false}) - city!: string; + @Field(() => CompanyCreateNestedOneWithoutPeopleInput, { nullable: true }) + company?: CompanyCreateNestedOneWithoutPeopleInput; - @Field(() => CompanyCreateNestedOneWithoutPeopleInput, {nullable:true}) - company?: CompanyCreateNestedOneWithoutPeopleInput; - - @HideField() - workspace!: WorkspaceCreateNestedOneWithoutPeopleInput; + @HideField() + workspace!: WorkspaceCreateNestedOneWithoutPeopleInput; } diff --git a/server/src/api/@generated/person/person-group-by.args.ts b/server/src/api/@generated/person/person-group-by.args.ts index 3781177367..effd7f60ce 100644 --- a/server/src/api/@generated/person/person-group-by.args.ts +++ b/server/src/api/@generated/person/person-group-by.args.ts @@ -12,32 +12,31 @@ import { PersonMaxAggregateInput } from './person-max-aggregate.input'; @ArgsType() export class PersonGroupByArgs { + @Field(() => PersonWhereInput, { nullable: true }) + @Type(() => PersonWhereInput) + where?: PersonWhereInput; - @Field(() => PersonWhereInput, {nullable:true}) - @Type(() => PersonWhereInput) - where?: PersonWhereInput; + @Field(() => [PersonOrderByWithAggregationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [PersonOrderByWithAggregationInput], {nullable:true}) - orderBy?: Array; + @Field(() => [PersonScalarFieldEnum], { nullable: false }) + by!: Array; - @Field(() => [PersonScalarFieldEnum], {nullable:false}) - by!: Array; + @Field(() => PersonScalarWhereWithAggregatesInput, { nullable: true }) + having?: PersonScalarWhereWithAggregatesInput; - @Field(() => PersonScalarWhereWithAggregatesInput, {nullable:true}) - having?: PersonScalarWhereWithAggregatesInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; + @Field(() => PersonCountAggregateInput, { nullable: true }) + _count?: PersonCountAggregateInput; - @Field(() => PersonCountAggregateInput, {nullable:true}) - _count?: PersonCountAggregateInput; + @Field(() => PersonMinAggregateInput, { nullable: true }) + _min?: PersonMinAggregateInput; - @Field(() => PersonMinAggregateInput, {nullable:true}) - _min?: PersonMinAggregateInput; - - @Field(() => PersonMaxAggregateInput, {nullable:true}) - _max?: PersonMaxAggregateInput; + @Field(() => PersonMaxAggregateInput, { nullable: true }) + _max?: PersonMaxAggregateInput; } diff --git a/server/src/api/@generated/person/person-group-by.output.ts b/server/src/api/@generated/person/person-group-by.output.ts index bcc0aa0b39..4203b9b819 100644 --- a/server/src/api/@generated/person/person-group-by.output.ts +++ b/server/src/api/@generated/person/person-group-by.output.ts @@ -6,46 +6,45 @@ import { PersonMaxAggregate } from './person-max-aggregate.output'; @ObjectType() export class PersonGroupBy { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: false }) + createdAt!: Date | string; - @Field(() => Date, {nullable:false}) - createdAt!: Date | string; + @Field(() => Date, { nullable: false }) + updatedAt!: Date | string; - @Field(() => Date, {nullable:false}) - updatedAt!: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + firstname!: string; - @Field(() => String, {nullable:false}) - firstname!: string; + @Field(() => String, { nullable: false }) + lastname!: string; - @Field(() => String, {nullable:false}) - lastname!: string; + @Field(() => String, { nullable: false }) + email!: string; - @Field(() => String, {nullable:false}) - email!: string; + @Field(() => String, { nullable: false }) + phone!: string; - @Field(() => String, {nullable:false}) - phone!: string; + @Field(() => String, { nullable: false }) + city!: string; - @Field(() => String, {nullable:false}) - city!: string; + @Field(() => String, { nullable: true }) + companyId?: string; - @Field(() => String, {nullable:true}) - companyId?: string; + @Field(() => String, { nullable: false }) + workspaceId!: string; - @Field(() => String, {nullable:false}) - workspaceId!: string; + @Field(() => PersonCountAggregate, { nullable: true }) + _count?: PersonCountAggregate; - @Field(() => PersonCountAggregate, {nullable:true}) - _count?: PersonCountAggregate; + @Field(() => PersonMinAggregate, { nullable: true }) + _min?: PersonMinAggregate; - @Field(() => PersonMinAggregate, {nullable:true}) - _min?: PersonMinAggregate; - - @Field(() => PersonMaxAggregate, {nullable:true}) - _max?: PersonMaxAggregate; + @Field(() => PersonMaxAggregate, { nullable: true }) + _max?: PersonMaxAggregate; } diff --git a/server/src/api/@generated/person/person-list-relation-filter.input.ts b/server/src/api/@generated/person/person-list-relation-filter.input.ts index 0847b96b0b..ac3e1817c1 100644 --- a/server/src/api/@generated/person/person-list-relation-filter.input.ts +++ b/server/src/api/@generated/person/person-list-relation-filter.input.ts @@ -4,13 +4,12 @@ import { PersonWhereInput } from './person-where.input'; @InputType() export class PersonListRelationFilter { + @Field(() => PersonWhereInput, { nullable: true }) + every?: PersonWhereInput; - @Field(() => PersonWhereInput, {nullable:true}) - every?: PersonWhereInput; + @Field(() => PersonWhereInput, { nullable: true }) + some?: PersonWhereInput; - @Field(() => PersonWhereInput, {nullable:true}) - some?: PersonWhereInput; - - @Field(() => PersonWhereInput, {nullable:true}) - none?: PersonWhereInput; + @Field(() => PersonWhereInput, { nullable: true }) + none?: PersonWhereInput; } diff --git a/server/src/api/@generated/person/person-max-aggregate.input.ts b/server/src/api/@generated/person/person-max-aggregate.input.ts index c720d04560..2b633caa65 100644 --- a/server/src/api/@generated/person/person-max-aggregate.input.ts +++ b/server/src/api/@generated/person/person-max-aggregate.input.ts @@ -4,37 +4,36 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class PersonMaxAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; - @Field(() => Boolean, {nullable:true}) - id?: true; + @Field(() => Boolean, { nullable: true }) + createdAt?: true; - @Field(() => Boolean, {nullable:true}) - createdAt?: true; + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; - @Field(() => Boolean, {nullable:true}) - deletedAt?: true; + @Field(() => Boolean, { nullable: true }) + firstname?: true; - @Field(() => Boolean, {nullable:true}) - firstname?: true; + @Field(() => Boolean, { nullable: true }) + lastname?: true; - @Field(() => Boolean, {nullable:true}) - lastname?: true; + @Field(() => Boolean, { nullable: true }) + email?: true; - @Field(() => Boolean, {nullable:true}) - email?: true; + @Field(() => Boolean, { nullable: true }) + phone?: true; - @Field(() => Boolean, {nullable:true}) - phone?: true; + @Field(() => Boolean, { nullable: true }) + city?: true; - @Field(() => Boolean, {nullable:true}) - city?: true; + @Field(() => Boolean, { nullable: true }) + companyId?: true; - @Field(() => Boolean, {nullable:true}) - companyId?: true; - - @HideField() - workspaceId?: true; + @HideField() + workspaceId?: true; } diff --git a/server/src/api/@generated/person/person-max-aggregate.output.ts b/server/src/api/@generated/person/person-max-aggregate.output.ts index fab98c6236..74d23ccc40 100644 --- a/server/src/api/@generated/person/person-max-aggregate.output.ts +++ b/server/src/api/@generated/person/person-max-aggregate.output.ts @@ -3,37 +3,36 @@ import { ObjectType } from '@nestjs/graphql'; @ObjectType() export class PersonMaxAggregate { + @Field(() => String, { nullable: true }) + id?: string; - @Field(() => String, {nullable:true}) - id?: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: true }) + firstname?: string; - @Field(() => String, {nullable:true}) - firstname?: string; + @Field(() => String, { nullable: true }) + lastname?: string; - @Field(() => String, {nullable:true}) - lastname?: string; + @Field(() => String, { nullable: true }) + email?: string; - @Field(() => String, {nullable:true}) - email?: string; + @Field(() => String, { nullable: true }) + phone?: string; - @Field(() => String, {nullable:true}) - phone?: string; + @Field(() => String, { nullable: true }) + city?: string; - @Field(() => String, {nullable:true}) - city?: string; + @Field(() => String, { nullable: true }) + companyId?: string; - @Field(() => String, {nullable:true}) - companyId?: string; - - @Field(() => String, {nullable:true}) - workspaceId?: string; + @Field(() => String, { nullable: true }) + workspaceId?: string; } diff --git a/server/src/api/@generated/person/person-max-order-by-aggregate.input.ts b/server/src/api/@generated/person/person-max-order-by-aggregate.input.ts index d916a82618..575dd95e7a 100644 --- a/server/src/api/@generated/person/person-max-order-by-aggregate.input.ts +++ b/server/src/api/@generated/person/person-max-order-by-aggregate.input.ts @@ -5,37 +5,36 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class PersonMaxOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + firstname?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - firstname?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + lastname?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - lastname?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + email?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - email?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + phone?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - phone?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + city?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - city?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + companyId?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - companyId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; + @HideField() + workspaceId?: keyof typeof SortOrder; } diff --git a/server/src/api/@generated/person/person-min-aggregate.input.ts b/server/src/api/@generated/person/person-min-aggregate.input.ts index c0786aa292..b52df4a57a 100644 --- a/server/src/api/@generated/person/person-min-aggregate.input.ts +++ b/server/src/api/@generated/person/person-min-aggregate.input.ts @@ -4,37 +4,36 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class PersonMinAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; - @Field(() => Boolean, {nullable:true}) - id?: true; + @Field(() => Boolean, { nullable: true }) + createdAt?: true; - @Field(() => Boolean, {nullable:true}) - createdAt?: true; + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; - @Field(() => Boolean, {nullable:true}) - deletedAt?: true; + @Field(() => Boolean, { nullable: true }) + firstname?: true; - @Field(() => Boolean, {nullable:true}) - firstname?: true; + @Field(() => Boolean, { nullable: true }) + lastname?: true; - @Field(() => Boolean, {nullable:true}) - lastname?: true; + @Field(() => Boolean, { nullable: true }) + email?: true; - @Field(() => Boolean, {nullable:true}) - email?: true; + @Field(() => Boolean, { nullable: true }) + phone?: true; - @Field(() => Boolean, {nullable:true}) - phone?: true; + @Field(() => Boolean, { nullable: true }) + city?: true; - @Field(() => Boolean, {nullable:true}) - city?: true; + @Field(() => Boolean, { nullable: true }) + companyId?: true; - @Field(() => Boolean, {nullable:true}) - companyId?: true; - - @HideField() - workspaceId?: true; + @HideField() + workspaceId?: true; } diff --git a/server/src/api/@generated/person/person-min-aggregate.output.ts b/server/src/api/@generated/person/person-min-aggregate.output.ts index ad309cf80d..1c76aac0b8 100644 --- a/server/src/api/@generated/person/person-min-aggregate.output.ts +++ b/server/src/api/@generated/person/person-min-aggregate.output.ts @@ -3,37 +3,36 @@ import { ObjectType } from '@nestjs/graphql'; @ObjectType() export class PersonMinAggregate { + @Field(() => String, { nullable: true }) + id?: string; - @Field(() => String, {nullable:true}) - id?: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: true }) + firstname?: string; - @Field(() => String, {nullable:true}) - firstname?: string; + @Field(() => String, { nullable: true }) + lastname?: string; - @Field(() => String, {nullable:true}) - lastname?: string; + @Field(() => String, { nullable: true }) + email?: string; - @Field(() => String, {nullable:true}) - email?: string; + @Field(() => String, { nullable: true }) + phone?: string; - @Field(() => String, {nullable:true}) - phone?: string; + @Field(() => String, { nullable: true }) + city?: string; - @Field(() => String, {nullable:true}) - city?: string; + @Field(() => String, { nullable: true }) + companyId?: string; - @Field(() => String, {nullable:true}) - companyId?: string; - - @Field(() => String, {nullable:true}) - workspaceId?: string; + @Field(() => String, { nullable: true }) + workspaceId?: string; } diff --git a/server/src/api/@generated/person/person-min-order-by-aggregate.input.ts b/server/src/api/@generated/person/person-min-order-by-aggregate.input.ts index 37cc9f3ec2..361e1bda52 100644 --- a/server/src/api/@generated/person/person-min-order-by-aggregate.input.ts +++ b/server/src/api/@generated/person/person-min-order-by-aggregate.input.ts @@ -5,37 +5,36 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class PersonMinOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + firstname?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - firstname?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + lastname?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - lastname?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + email?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - email?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + phone?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - phone?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + city?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - city?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + companyId?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - companyId?: keyof typeof SortOrder; - - @HideField() - workspaceId?: keyof typeof SortOrder; + @HideField() + workspaceId?: keyof typeof SortOrder; } diff --git a/server/src/api/@generated/person/person-order-by-relation-aggregate.input.ts b/server/src/api/@generated/person/person-order-by-relation-aggregate.input.ts index 6d2347dc47..7d415a1481 100644 --- a/server/src/api/@generated/person/person-order-by-relation-aggregate.input.ts +++ b/server/src/api/@generated/person/person-order-by-relation-aggregate.input.ts @@ -4,7 +4,6 @@ import { SortOrder } from '../prisma/sort-order.enum'; @InputType() export class PersonOrderByRelationAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - _count?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + _count?: keyof typeof SortOrder; } diff --git a/server/src/api/@generated/person/person-order-by-with-aggregation.input.ts b/server/src/api/@generated/person/person-order-by-with-aggregation.input.ts index de44b413ad..709bb87214 100644 --- a/server/src/api/@generated/person/person-order-by-with-aggregation.input.ts +++ b/server/src/api/@generated/person/person-order-by-with-aggregation.input.ts @@ -8,46 +8,45 @@ import { PersonMinOrderByAggregateInput } from './person-min-order-by-aggregate. @InputType() export class PersonOrderByWithAggregationInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + firstname?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - firstname?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + lastname?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - lastname?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + email?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - email?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + phone?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - phone?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + city?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - city?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + companyId?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - companyId?: keyof typeof SortOrder; + @HideField() + workspaceId?: keyof typeof SortOrder; - @HideField() - workspaceId?: keyof typeof SortOrder; + @Field(() => PersonCountOrderByAggregateInput, { nullable: true }) + _count?: PersonCountOrderByAggregateInput; - @Field(() => PersonCountOrderByAggregateInput, {nullable:true}) - _count?: PersonCountOrderByAggregateInput; + @Field(() => PersonMaxOrderByAggregateInput, { nullable: true }) + _max?: PersonMaxOrderByAggregateInput; - @Field(() => PersonMaxOrderByAggregateInput, {nullable:true}) - _max?: PersonMaxOrderByAggregateInput; - - @Field(() => PersonMinOrderByAggregateInput, {nullable:true}) - _min?: PersonMinOrderByAggregateInput; + @Field(() => PersonMinOrderByAggregateInput, { nullable: true }) + _min?: PersonMinOrderByAggregateInput; } diff --git a/server/src/api/@generated/person/person-order-by-with-relation.input.ts b/server/src/api/@generated/person/person-order-by-with-relation.input.ts index 75abb26393..9092c2be1e 100644 --- a/server/src/api/@generated/person/person-order-by-with-relation.input.ts +++ b/server/src/api/@generated/person/person-order-by-with-relation.input.ts @@ -7,43 +7,42 @@ import { WorkspaceOrderByWithRelationInput } from '../workspace/workspace-order- @InputType() export class PersonOrderByWithRelationInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + firstname?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - firstname?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + lastname?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - lastname?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + email?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - email?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + phone?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - phone?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + city?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - city?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + companyId?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - companyId?: keyof typeof SortOrder; + @HideField() + workspaceId?: keyof typeof SortOrder; - @HideField() - workspaceId?: keyof typeof SortOrder; + @Field(() => CompanyOrderByWithRelationInput, { nullable: true }) + company?: CompanyOrderByWithRelationInput; - @Field(() => CompanyOrderByWithRelationInput, {nullable:true}) - company?: CompanyOrderByWithRelationInput; - - @HideField() - workspace?: WorkspaceOrderByWithRelationInput; + @HideField() + workspace?: WorkspaceOrderByWithRelationInput; } diff --git a/server/src/api/@generated/person/person-scalar-field.enum.ts b/server/src/api/@generated/person/person-scalar-field.enum.ts index 6621600f68..353a331e74 100644 --- a/server/src/api/@generated/person/person-scalar-field.enum.ts +++ b/server/src/api/@generated/person/person-scalar-field.enum.ts @@ -1,18 +1,20 @@ import { registerEnumType } from '@nestjs/graphql'; export enum PersonScalarFieldEnum { - id = "id", - createdAt = "createdAt", - updatedAt = "updatedAt", - deletedAt = "deletedAt", - firstname = "firstname", - lastname = "lastname", - email = "email", - phone = "phone", - city = "city", - companyId = "companyId", - workspaceId = "workspaceId" + id = 'id', + createdAt = 'createdAt', + updatedAt = 'updatedAt', + deletedAt = 'deletedAt', + firstname = 'firstname', + lastname = 'lastname', + email = 'email', + phone = 'phone', + city = 'city', + companyId = 'companyId', + workspaceId = 'workspaceId', } - -registerEnumType(PersonScalarFieldEnum, { name: 'PersonScalarFieldEnum', description: undefined }) +registerEnumType(PersonScalarFieldEnum, { + name: 'PersonScalarFieldEnum', + description: undefined, +}); diff --git a/server/src/api/@generated/person/person-scalar-where-with-aggregates.input.ts b/server/src/api/@generated/person/person-scalar-where-with-aggregates.input.ts index 2e546e460d..89b88ac66a 100644 --- a/server/src/api/@generated/person/person-scalar-where-with-aggregates.input.ts +++ b/server/src/api/@generated/person/person-scalar-where-with-aggregates.input.ts @@ -8,46 +8,45 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class PersonScalarWhereWithAggregatesInput { + @Field(() => [PersonScalarWhereWithAggregatesInput], { nullable: true }) + AND?: Array; - @Field(() => [PersonScalarWhereWithAggregatesInput], {nullable:true}) - AND?: Array; + @Field(() => [PersonScalarWhereWithAggregatesInput], { nullable: true }) + OR?: Array; - @Field(() => [PersonScalarWhereWithAggregatesInput], {nullable:true}) - OR?: Array; + @Field(() => [PersonScalarWhereWithAggregatesInput], { nullable: true }) + NOT?: Array; - @Field(() => [PersonScalarWhereWithAggregatesInput], {nullable:true}) - NOT?: Array; + @Field(() => StringWithAggregatesFilter, { nullable: true }) + id?: StringWithAggregatesFilter; - @Field(() => StringWithAggregatesFilter, {nullable:true}) - id?: StringWithAggregatesFilter; + @Field(() => DateTimeWithAggregatesFilter, { nullable: true }) + createdAt?: DateTimeWithAggregatesFilter; - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - createdAt?: DateTimeWithAggregatesFilter; + @Field(() => DateTimeWithAggregatesFilter, { nullable: true }) + updatedAt?: DateTimeWithAggregatesFilter; - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - updatedAt?: DateTimeWithAggregatesFilter; + @Field(() => DateTimeNullableWithAggregatesFilter, { nullable: true }) + deletedAt?: DateTimeNullableWithAggregatesFilter; - @Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true}) - deletedAt?: DateTimeNullableWithAggregatesFilter; + @Field(() => StringWithAggregatesFilter, { nullable: true }) + firstname?: StringWithAggregatesFilter; - @Field(() => StringWithAggregatesFilter, {nullable:true}) - firstname?: StringWithAggregatesFilter; + @Field(() => StringWithAggregatesFilter, { nullable: true }) + lastname?: StringWithAggregatesFilter; - @Field(() => StringWithAggregatesFilter, {nullable:true}) - lastname?: StringWithAggregatesFilter; + @Field(() => StringWithAggregatesFilter, { nullable: true }) + email?: StringWithAggregatesFilter; - @Field(() => StringWithAggregatesFilter, {nullable:true}) - email?: StringWithAggregatesFilter; + @Field(() => StringWithAggregatesFilter, { nullable: true }) + phone?: StringWithAggregatesFilter; - @Field(() => StringWithAggregatesFilter, {nullable:true}) - phone?: StringWithAggregatesFilter; + @Field(() => StringWithAggregatesFilter, { nullable: true }) + city?: StringWithAggregatesFilter; - @Field(() => StringWithAggregatesFilter, {nullable:true}) - city?: StringWithAggregatesFilter; + @Field(() => StringNullableWithAggregatesFilter, { nullable: true }) + companyId?: StringNullableWithAggregatesFilter; - @Field(() => StringNullableWithAggregatesFilter, {nullable:true}) - companyId?: StringNullableWithAggregatesFilter; - - @HideField() - workspaceId?: StringWithAggregatesFilter; + @HideField() + workspaceId?: StringWithAggregatesFilter; } diff --git a/server/src/api/@generated/person/person-scalar-where.input.ts b/server/src/api/@generated/person/person-scalar-where.input.ts index 055dac62c8..262688996e 100644 --- a/server/src/api/@generated/person/person-scalar-where.input.ts +++ b/server/src/api/@generated/person/person-scalar-where.input.ts @@ -8,46 +8,45 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class PersonScalarWhereInput { + @Field(() => [PersonScalarWhereInput], { nullable: true }) + AND?: Array; - @Field(() => [PersonScalarWhereInput], {nullable:true}) - AND?: Array; + @Field(() => [PersonScalarWhereInput], { nullable: true }) + OR?: Array; - @Field(() => [PersonScalarWhereInput], {nullable:true}) - OR?: Array; + @Field(() => [PersonScalarWhereInput], { nullable: true }) + NOT?: Array; - @Field(() => [PersonScalarWhereInput], {nullable:true}) - NOT?: Array; + @Field(() => StringFilter, { nullable: true }) + id?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; + @Field(() => DateTimeFilter, { nullable: true }) + createdAt?: DateTimeFilter; - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; + @Field(() => DateTimeFilter, { nullable: true }) + updatedAt?: DateTimeFilter; - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; + @Field(() => DateTimeNullableFilter, { nullable: true }) + deletedAt?: DateTimeNullableFilter; - @Field(() => DateTimeNullableFilter, {nullable:true}) - deletedAt?: DateTimeNullableFilter; + @Field(() => StringFilter, { nullable: true }) + firstname?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - firstname?: StringFilter; + @Field(() => StringFilter, { nullable: true }) + lastname?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - lastname?: StringFilter; + @Field(() => StringFilter, { nullable: true }) + email?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - email?: StringFilter; + @Field(() => StringFilter, { nullable: true }) + phone?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - phone?: StringFilter; + @Field(() => StringFilter, { nullable: true }) + city?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - city?: StringFilter; + @Field(() => StringNullableFilter, { nullable: true }) + companyId?: StringNullableFilter; - @Field(() => StringNullableFilter, {nullable:true}) - companyId?: StringNullableFilter; - - @HideField() - workspaceId?: StringFilter; + @HideField() + workspaceId?: StringFilter; } diff --git a/server/src/api/@generated/person/person-unchecked-create-nested-many-without-company.input.ts b/server/src/api/@generated/person/person-unchecked-create-nested-many-without-company.input.ts index 74785b39d6..c0999113fd 100644 --- a/server/src/api/@generated/person/person-unchecked-create-nested-many-without-company.input.ts +++ b/server/src/api/@generated/person/person-unchecked-create-nested-many-without-company.input.ts @@ -8,20 +8,19 @@ import { PersonWhereUniqueInput } from './person-where-unique.input'; @InputType() export class PersonUncheckedCreateNestedManyWithoutCompanyInput { + @Field(() => [PersonCreateWithoutCompanyInput], { nullable: true }) + @Type(() => PersonCreateWithoutCompanyInput) + create?: Array; - @Field(() => [PersonCreateWithoutCompanyInput], {nullable:true}) - @Type(() => PersonCreateWithoutCompanyInput) - create?: Array; + @Field(() => [PersonCreateOrConnectWithoutCompanyInput], { nullable: true }) + @Type(() => PersonCreateOrConnectWithoutCompanyInput) + connectOrCreate?: Array; - @Field(() => [PersonCreateOrConnectWithoutCompanyInput], {nullable:true}) - @Type(() => PersonCreateOrConnectWithoutCompanyInput) - connectOrCreate?: Array; + @Field(() => PersonCreateManyCompanyInputEnvelope, { nullable: true }) + @Type(() => PersonCreateManyCompanyInputEnvelope) + createMany?: PersonCreateManyCompanyInputEnvelope; - @Field(() => PersonCreateManyCompanyInputEnvelope, {nullable:true}) - @Type(() => PersonCreateManyCompanyInputEnvelope) - createMany?: PersonCreateManyCompanyInputEnvelope; - - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - connect?: Array; + @Field(() => [PersonWhereUniqueInput], { nullable: true }) + @Type(() => PersonWhereUniqueInput) + connect?: Array; } diff --git a/server/src/api/@generated/person/person-unchecked-create-nested-many-without-workspace.input.ts b/server/src/api/@generated/person/person-unchecked-create-nested-many-without-workspace.input.ts index d5509f40dd..176c668c87 100644 --- a/server/src/api/@generated/person/person-unchecked-create-nested-many-without-workspace.input.ts +++ b/server/src/api/@generated/person/person-unchecked-create-nested-many-without-workspace.input.ts @@ -8,20 +8,19 @@ import { PersonWhereUniqueInput } from './person-where-unique.input'; @InputType() export class PersonUncheckedCreateNestedManyWithoutWorkspaceInput { + @Field(() => [PersonCreateWithoutWorkspaceInput], { nullable: true }) + @Type(() => PersonCreateWithoutWorkspaceInput) + create?: Array; - @Field(() => [PersonCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonCreateWithoutWorkspaceInput) - create?: Array; + @Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], { nullable: true }) + @Type(() => PersonCreateOrConnectWithoutWorkspaceInput) + connectOrCreate?: Array; - @Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; + @Field(() => PersonCreateManyWorkspaceInputEnvelope, { nullable: true }) + @Type(() => PersonCreateManyWorkspaceInputEnvelope) + createMany?: PersonCreateManyWorkspaceInputEnvelope; - @Field(() => PersonCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => PersonCreateManyWorkspaceInputEnvelope) - createMany?: PersonCreateManyWorkspaceInputEnvelope; - - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - connect?: Array; + @Field(() => [PersonWhereUniqueInput], { nullable: true }) + @Type(() => PersonWhereUniqueInput) + connect?: Array; } diff --git a/server/src/api/@generated/person/person-unchecked-create-without-company.input.ts b/server/src/api/@generated/person/person-unchecked-create-without-company.input.ts index 192e9f401b..a74ff639cd 100644 --- a/server/src/api/@generated/person/person-unchecked-create-without-company.input.ts +++ b/server/src/api/@generated/person/person-unchecked-create-without-company.input.ts @@ -4,34 +4,33 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class PersonUncheckedCreateWithoutCompanyInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + firstname!: string; - @Field(() => String, {nullable:false}) - firstname!: string; + @Field(() => String, { nullable: false }) + lastname!: string; - @Field(() => String, {nullable:false}) - lastname!: string; + @Field(() => String, { nullable: false }) + email!: string; - @Field(() => String, {nullable:false}) - email!: string; + @Field(() => String, { nullable: false }) + phone!: string; - @Field(() => String, {nullable:false}) - phone!: string; + @Field(() => String, { nullable: false }) + city!: string; - @Field(() => String, {nullable:false}) - city!: string; - - @HideField() - workspaceId!: string; + @HideField() + workspaceId!: string; } diff --git a/server/src/api/@generated/person/person-unchecked-create-without-workspace.input.ts b/server/src/api/@generated/person/person-unchecked-create-without-workspace.input.ts index 2d0454cfc5..141a1aa633 100644 --- a/server/src/api/@generated/person/person-unchecked-create-without-workspace.input.ts +++ b/server/src/api/@generated/person/person-unchecked-create-without-workspace.input.ts @@ -3,34 +3,33 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class PersonUncheckedCreateWithoutWorkspaceInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + firstname!: string; - @Field(() => String, {nullable:false}) - firstname!: string; + @Field(() => String, { nullable: false }) + lastname!: string; - @Field(() => String, {nullable:false}) - lastname!: string; + @Field(() => String, { nullable: false }) + email!: string; - @Field(() => String, {nullable:false}) - email!: string; + @Field(() => String, { nullable: false }) + phone!: string; - @Field(() => String, {nullable:false}) - phone!: string; + @Field(() => String, { nullable: false }) + city!: string; - @Field(() => String, {nullable:false}) - city!: string; - - @Field(() => String, {nullable:true}) - companyId?: string; + @Field(() => String, { nullable: true }) + companyId?: string; } diff --git a/server/src/api/@generated/person/person-unchecked-create.input.ts b/server/src/api/@generated/person/person-unchecked-create.input.ts index 5139039e66..366ed8bd8f 100644 --- a/server/src/api/@generated/person/person-unchecked-create.input.ts +++ b/server/src/api/@generated/person/person-unchecked-create.input.ts @@ -4,37 +4,36 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class PersonUncheckedCreateInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + firstname!: string; - @Field(() => String, {nullable:false}) - firstname!: string; + @Field(() => String, { nullable: false }) + lastname!: string; - @Field(() => String, {nullable:false}) - lastname!: string; + @Field(() => String, { nullable: false }) + email!: string; - @Field(() => String, {nullable:false}) - email!: string; + @Field(() => String, { nullable: false }) + phone!: string; - @Field(() => String, {nullable:false}) - phone!: string; + @Field(() => String, { nullable: false }) + city!: string; - @Field(() => String, {nullable:false}) - city!: string; + @Field(() => String, { nullable: true }) + companyId?: string; - @Field(() => String, {nullable:true}) - companyId?: string; - - @HideField() - workspaceId!: string; + @HideField() + workspaceId!: string; } diff --git a/server/src/api/@generated/person/person-unchecked-update-many-without-company-nested.input.ts b/server/src/api/@generated/person/person-unchecked-update-many-without-company-nested.input.ts index 27b1dd344b..3d02676d0e 100644 --- a/server/src/api/@generated/person/person-unchecked-update-many-without-company-nested.input.ts +++ b/server/src/api/@generated/person/person-unchecked-update-many-without-company-nested.input.ts @@ -12,48 +12,53 @@ import { PersonScalarWhereInput } from './person-scalar-where.input'; @InputType() export class PersonUncheckedUpdateManyWithoutCompanyNestedInput { + @Field(() => [PersonCreateWithoutCompanyInput], { nullable: true }) + @Type(() => PersonCreateWithoutCompanyInput) + create?: Array; - @Field(() => [PersonCreateWithoutCompanyInput], {nullable:true}) - @Type(() => PersonCreateWithoutCompanyInput) - create?: Array; + @Field(() => [PersonCreateOrConnectWithoutCompanyInput], { nullable: true }) + @Type(() => PersonCreateOrConnectWithoutCompanyInput) + connectOrCreate?: Array; - @Field(() => [PersonCreateOrConnectWithoutCompanyInput], {nullable:true}) - @Type(() => PersonCreateOrConnectWithoutCompanyInput) - connectOrCreate?: Array; + @Field(() => [PersonUpsertWithWhereUniqueWithoutCompanyInput], { + nullable: true, + }) + @Type(() => PersonUpsertWithWhereUniqueWithoutCompanyInput) + upsert?: Array; - @Field(() => [PersonUpsertWithWhereUniqueWithoutCompanyInput], {nullable:true}) - @Type(() => PersonUpsertWithWhereUniqueWithoutCompanyInput) - upsert?: Array; + @Field(() => PersonCreateManyCompanyInputEnvelope, { nullable: true }) + @Type(() => PersonCreateManyCompanyInputEnvelope) + createMany?: PersonCreateManyCompanyInputEnvelope; - @Field(() => PersonCreateManyCompanyInputEnvelope, {nullable:true}) - @Type(() => PersonCreateManyCompanyInputEnvelope) - createMany?: PersonCreateManyCompanyInputEnvelope; + @Field(() => [PersonWhereUniqueInput], { nullable: true }) + @Type(() => PersonWhereUniqueInput) + set?: Array; - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - set?: Array; + @Field(() => [PersonWhereUniqueInput], { nullable: true }) + @Type(() => PersonWhereUniqueInput) + disconnect?: Array; - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - disconnect?: Array; + @Field(() => [PersonWhereUniqueInput], { nullable: true }) + @Type(() => PersonWhereUniqueInput) + delete?: Array; - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - delete?: Array; + @Field(() => [PersonWhereUniqueInput], { nullable: true }) + @Type(() => PersonWhereUniqueInput) + connect?: Array; - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - connect?: Array; + @Field(() => [PersonUpdateWithWhereUniqueWithoutCompanyInput], { + nullable: true, + }) + @Type(() => PersonUpdateWithWhereUniqueWithoutCompanyInput) + update?: Array; - @Field(() => [PersonUpdateWithWhereUniqueWithoutCompanyInput], {nullable:true}) - @Type(() => PersonUpdateWithWhereUniqueWithoutCompanyInput) - update?: Array; + @Field(() => [PersonUpdateManyWithWhereWithoutCompanyInput], { + nullable: true, + }) + @Type(() => PersonUpdateManyWithWhereWithoutCompanyInput) + updateMany?: Array; - @Field(() => [PersonUpdateManyWithWhereWithoutCompanyInput], {nullable:true}) - @Type(() => PersonUpdateManyWithWhereWithoutCompanyInput) - updateMany?: Array; - - @Field(() => [PersonScalarWhereInput], {nullable:true}) - @Type(() => PersonScalarWhereInput) - deleteMany?: Array; + @Field(() => [PersonScalarWhereInput], { nullable: true }) + @Type(() => PersonScalarWhereInput) + deleteMany?: Array; } diff --git a/server/src/api/@generated/person/person-unchecked-update-many-without-people.input.ts b/server/src/api/@generated/person/person-unchecked-update-many-without-people.input.ts index b3d4a323cd..6104558ba8 100644 --- a/server/src/api/@generated/person/person-unchecked-update-many-without-people.input.ts +++ b/server/src/api/@generated/person/person-unchecked-update-many-without-people.input.ts @@ -7,34 +7,33 @@ import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-str @InputType() export class PersonUncheckedUpdateManyWithoutPeopleInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + firstname?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - firstname?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + lastname?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - lastname?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + email?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + phone?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - phone?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + city?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - city?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - companyId?: NullableStringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + companyId?: NullableStringFieldUpdateOperationsInput; } diff --git a/server/src/api/@generated/person/person-unchecked-update-many-without-workspace-nested.input.ts b/server/src/api/@generated/person/person-unchecked-update-many-without-workspace-nested.input.ts index 7bb5a34f2b..41d1c499e2 100644 --- a/server/src/api/@generated/person/person-unchecked-update-many-without-workspace-nested.input.ts +++ b/server/src/api/@generated/person/person-unchecked-update-many-without-workspace-nested.input.ts @@ -12,48 +12,53 @@ import { PersonScalarWhereInput } from './person-scalar-where.input'; @InputType() export class PersonUncheckedUpdateManyWithoutWorkspaceNestedInput { + @Field(() => [PersonCreateWithoutWorkspaceInput], { nullable: true }) + @Type(() => PersonCreateWithoutWorkspaceInput) + create?: Array; - @Field(() => [PersonCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonCreateWithoutWorkspaceInput) - create?: Array; + @Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], { nullable: true }) + @Type(() => PersonCreateOrConnectWithoutWorkspaceInput) + connectOrCreate?: Array; - @Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; + @Field(() => [PersonUpsertWithWhereUniqueWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PersonUpsertWithWhereUniqueWithoutWorkspaceInput) + upsert?: Array; - @Field(() => [PersonUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonUpsertWithWhereUniqueWithoutWorkspaceInput) - upsert?: Array; + @Field(() => PersonCreateManyWorkspaceInputEnvelope, { nullable: true }) + @Type(() => PersonCreateManyWorkspaceInputEnvelope) + createMany?: PersonCreateManyWorkspaceInputEnvelope; - @Field(() => PersonCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => PersonCreateManyWorkspaceInputEnvelope) - createMany?: PersonCreateManyWorkspaceInputEnvelope; + @Field(() => [PersonWhereUniqueInput], { nullable: true }) + @Type(() => PersonWhereUniqueInput) + set?: Array; - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - set?: Array; + @Field(() => [PersonWhereUniqueInput], { nullable: true }) + @Type(() => PersonWhereUniqueInput) + disconnect?: Array; - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - disconnect?: Array; + @Field(() => [PersonWhereUniqueInput], { nullable: true }) + @Type(() => PersonWhereUniqueInput) + delete?: Array; - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - delete?: Array; + @Field(() => [PersonWhereUniqueInput], { nullable: true }) + @Type(() => PersonWhereUniqueInput) + connect?: Array; - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - connect?: Array; + @Field(() => [PersonUpdateWithWhereUniqueWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PersonUpdateWithWhereUniqueWithoutWorkspaceInput) + update?: Array; - @Field(() => [PersonUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonUpdateWithWhereUniqueWithoutWorkspaceInput) - update?: Array; + @Field(() => [PersonUpdateManyWithWhereWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PersonUpdateManyWithWhereWithoutWorkspaceInput) + updateMany?: Array; - @Field(() => [PersonUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonUpdateManyWithWhereWithoutWorkspaceInput) - updateMany?: Array; - - @Field(() => [PersonScalarWhereInput], {nullable:true}) - @Type(() => PersonScalarWhereInput) - deleteMany?: Array; + @Field(() => [PersonScalarWhereInput], { nullable: true }) + @Type(() => PersonScalarWhereInput) + deleteMany?: Array; } diff --git a/server/src/api/@generated/person/person-unchecked-update-many.input.ts b/server/src/api/@generated/person/person-unchecked-update-many.input.ts index 8500a35b11..76e2bdee1e 100644 --- a/server/src/api/@generated/person/person-unchecked-update-many.input.ts +++ b/server/src/api/@generated/person/person-unchecked-update-many.input.ts @@ -8,37 +8,36 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class PersonUncheckedUpdateManyInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + firstname?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - firstname?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + lastname?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - lastname?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + email?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + phone?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - phone?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + city?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - city?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + companyId?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - companyId?: NullableStringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; + @HideField() + workspaceId?: StringFieldUpdateOperationsInput; } diff --git a/server/src/api/@generated/person/person-unchecked-update-without-company.input.ts b/server/src/api/@generated/person/person-unchecked-update-without-company.input.ts index 1185cceafa..0131d91088 100644 --- a/server/src/api/@generated/person/person-unchecked-update-without-company.input.ts +++ b/server/src/api/@generated/person/person-unchecked-update-without-company.input.ts @@ -7,34 +7,33 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class PersonUncheckedUpdateWithoutCompanyInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + firstname?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - firstname?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + lastname?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - lastname?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + email?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + phone?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - phone?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + city?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - city?: StringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; + @HideField() + workspaceId?: StringFieldUpdateOperationsInput; } diff --git a/server/src/api/@generated/person/person-unchecked-update-without-workspace.input.ts b/server/src/api/@generated/person/person-unchecked-update-without-workspace.input.ts index 950eff4f95..1652009453 100644 --- a/server/src/api/@generated/person/person-unchecked-update-without-workspace.input.ts +++ b/server/src/api/@generated/person/person-unchecked-update-without-workspace.input.ts @@ -7,34 +7,33 @@ import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-str @InputType() export class PersonUncheckedUpdateWithoutWorkspaceInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + firstname?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - firstname?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + lastname?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - lastname?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + email?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + phone?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - phone?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + city?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - city?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - companyId?: NullableStringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + companyId?: NullableStringFieldUpdateOperationsInput; } diff --git a/server/src/api/@generated/person/person-unchecked-update.input.ts b/server/src/api/@generated/person/person-unchecked-update.input.ts index f0345151be..ea3e48ff76 100644 --- a/server/src/api/@generated/person/person-unchecked-update.input.ts +++ b/server/src/api/@generated/person/person-unchecked-update.input.ts @@ -8,37 +8,36 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class PersonUncheckedUpdateInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + firstname?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - firstname?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + lastname?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - lastname?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + email?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + phone?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - phone?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + city?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - city?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + companyId?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - companyId?: NullableStringFieldUpdateOperationsInput; - - @HideField() - workspaceId?: StringFieldUpdateOperationsInput; + @HideField() + workspaceId?: StringFieldUpdateOperationsInput; } diff --git a/server/src/api/@generated/person/person-update-many-mutation.input.ts b/server/src/api/@generated/person/person-update-many-mutation.input.ts index 2787254212..eb99b3987a 100644 --- a/server/src/api/@generated/person/person-update-many-mutation.input.ts +++ b/server/src/api/@generated/person/person-update-many-mutation.input.ts @@ -6,31 +6,30 @@ import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-d @InputType() export class PersonUpdateManyMutationInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + firstname?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - firstname?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + lastname?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - lastname?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + email?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + phone?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - phone?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - city?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + city?: StringFieldUpdateOperationsInput; } diff --git a/server/src/api/@generated/person/person-update-many-with-where-without-company.input.ts b/server/src/api/@generated/person/person-update-many-with-where-without-company.input.ts index 961d25eb92..9ecdea6958 100644 --- a/server/src/api/@generated/person/person-update-many-with-where-without-company.input.ts +++ b/server/src/api/@generated/person/person-update-many-with-where-without-company.input.ts @@ -6,12 +6,11 @@ import { PersonUpdateManyMutationInput } from './person-update-many-mutation.inp @InputType() export class PersonUpdateManyWithWhereWithoutCompanyInput { + @Field(() => PersonScalarWhereInput, { nullable: false }) + @Type(() => PersonScalarWhereInput) + where!: PersonScalarWhereInput; - @Field(() => PersonScalarWhereInput, {nullable:false}) - @Type(() => PersonScalarWhereInput) - where!: PersonScalarWhereInput; - - @Field(() => PersonUpdateManyMutationInput, {nullable:false}) - @Type(() => PersonUpdateManyMutationInput) - data!: PersonUpdateManyMutationInput; + @Field(() => PersonUpdateManyMutationInput, { nullable: false }) + @Type(() => PersonUpdateManyMutationInput) + data!: PersonUpdateManyMutationInput; } diff --git a/server/src/api/@generated/person/person-update-many-with-where-without-workspace.input.ts b/server/src/api/@generated/person/person-update-many-with-where-without-workspace.input.ts index 92b4e17d9e..6246168568 100644 --- a/server/src/api/@generated/person/person-update-many-with-where-without-workspace.input.ts +++ b/server/src/api/@generated/person/person-update-many-with-where-without-workspace.input.ts @@ -6,12 +6,11 @@ import { PersonUpdateManyMutationInput } from './person-update-many-mutation.inp @InputType() export class PersonUpdateManyWithWhereWithoutWorkspaceInput { + @Field(() => PersonScalarWhereInput, { nullable: false }) + @Type(() => PersonScalarWhereInput) + where!: PersonScalarWhereInput; - @Field(() => PersonScalarWhereInput, {nullable:false}) - @Type(() => PersonScalarWhereInput) - where!: PersonScalarWhereInput; - - @Field(() => PersonUpdateManyMutationInput, {nullable:false}) - @Type(() => PersonUpdateManyMutationInput) - data!: PersonUpdateManyMutationInput; + @Field(() => PersonUpdateManyMutationInput, { nullable: false }) + @Type(() => PersonUpdateManyMutationInput) + data!: PersonUpdateManyMutationInput; } diff --git a/server/src/api/@generated/person/person-update-many-without-company-nested.input.ts b/server/src/api/@generated/person/person-update-many-without-company-nested.input.ts index 35f9e3668e..bcf823e85e 100644 --- a/server/src/api/@generated/person/person-update-many-without-company-nested.input.ts +++ b/server/src/api/@generated/person/person-update-many-without-company-nested.input.ts @@ -12,48 +12,53 @@ import { PersonScalarWhereInput } from './person-scalar-where.input'; @InputType() export class PersonUpdateManyWithoutCompanyNestedInput { + @Field(() => [PersonCreateWithoutCompanyInput], { nullable: true }) + @Type(() => PersonCreateWithoutCompanyInput) + create?: Array; - @Field(() => [PersonCreateWithoutCompanyInput], {nullable:true}) - @Type(() => PersonCreateWithoutCompanyInput) - create?: Array; + @Field(() => [PersonCreateOrConnectWithoutCompanyInput], { nullable: true }) + @Type(() => PersonCreateOrConnectWithoutCompanyInput) + connectOrCreate?: Array; - @Field(() => [PersonCreateOrConnectWithoutCompanyInput], {nullable:true}) - @Type(() => PersonCreateOrConnectWithoutCompanyInput) - connectOrCreate?: Array; + @Field(() => [PersonUpsertWithWhereUniqueWithoutCompanyInput], { + nullable: true, + }) + @Type(() => PersonUpsertWithWhereUniqueWithoutCompanyInput) + upsert?: Array; - @Field(() => [PersonUpsertWithWhereUniqueWithoutCompanyInput], {nullable:true}) - @Type(() => PersonUpsertWithWhereUniqueWithoutCompanyInput) - upsert?: Array; + @Field(() => PersonCreateManyCompanyInputEnvelope, { nullable: true }) + @Type(() => PersonCreateManyCompanyInputEnvelope) + createMany?: PersonCreateManyCompanyInputEnvelope; - @Field(() => PersonCreateManyCompanyInputEnvelope, {nullable:true}) - @Type(() => PersonCreateManyCompanyInputEnvelope) - createMany?: PersonCreateManyCompanyInputEnvelope; + @Field(() => [PersonWhereUniqueInput], { nullable: true }) + @Type(() => PersonWhereUniqueInput) + set?: Array; - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - set?: Array; + @Field(() => [PersonWhereUniqueInput], { nullable: true }) + @Type(() => PersonWhereUniqueInput) + disconnect?: Array; - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - disconnect?: Array; + @Field(() => [PersonWhereUniqueInput], { nullable: true }) + @Type(() => PersonWhereUniqueInput) + delete?: Array; - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - delete?: Array; + @Field(() => [PersonWhereUniqueInput], { nullable: true }) + @Type(() => PersonWhereUniqueInput) + connect?: Array; - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - connect?: Array; + @Field(() => [PersonUpdateWithWhereUniqueWithoutCompanyInput], { + nullable: true, + }) + @Type(() => PersonUpdateWithWhereUniqueWithoutCompanyInput) + update?: Array; - @Field(() => [PersonUpdateWithWhereUniqueWithoutCompanyInput], {nullable:true}) - @Type(() => PersonUpdateWithWhereUniqueWithoutCompanyInput) - update?: Array; + @Field(() => [PersonUpdateManyWithWhereWithoutCompanyInput], { + nullable: true, + }) + @Type(() => PersonUpdateManyWithWhereWithoutCompanyInput) + updateMany?: Array; - @Field(() => [PersonUpdateManyWithWhereWithoutCompanyInput], {nullable:true}) - @Type(() => PersonUpdateManyWithWhereWithoutCompanyInput) - updateMany?: Array; - - @Field(() => [PersonScalarWhereInput], {nullable:true}) - @Type(() => PersonScalarWhereInput) - deleteMany?: Array; + @Field(() => [PersonScalarWhereInput], { nullable: true }) + @Type(() => PersonScalarWhereInput) + deleteMany?: Array; } diff --git a/server/src/api/@generated/person/person-update-many-without-workspace-nested.input.ts b/server/src/api/@generated/person/person-update-many-without-workspace-nested.input.ts index 45f1092b4e..62ad208dcd 100644 --- a/server/src/api/@generated/person/person-update-many-without-workspace-nested.input.ts +++ b/server/src/api/@generated/person/person-update-many-without-workspace-nested.input.ts @@ -12,48 +12,53 @@ import { PersonScalarWhereInput } from './person-scalar-where.input'; @InputType() export class PersonUpdateManyWithoutWorkspaceNestedInput { + @Field(() => [PersonCreateWithoutWorkspaceInput], { nullable: true }) + @Type(() => PersonCreateWithoutWorkspaceInput) + create?: Array; - @Field(() => [PersonCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonCreateWithoutWorkspaceInput) - create?: Array; + @Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], { nullable: true }) + @Type(() => PersonCreateOrConnectWithoutWorkspaceInput) + connectOrCreate?: Array; - @Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; + @Field(() => [PersonUpsertWithWhereUniqueWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PersonUpsertWithWhereUniqueWithoutWorkspaceInput) + upsert?: Array; - @Field(() => [PersonUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonUpsertWithWhereUniqueWithoutWorkspaceInput) - upsert?: Array; + @Field(() => PersonCreateManyWorkspaceInputEnvelope, { nullable: true }) + @Type(() => PersonCreateManyWorkspaceInputEnvelope) + createMany?: PersonCreateManyWorkspaceInputEnvelope; - @Field(() => PersonCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => PersonCreateManyWorkspaceInputEnvelope) - createMany?: PersonCreateManyWorkspaceInputEnvelope; + @Field(() => [PersonWhereUniqueInput], { nullable: true }) + @Type(() => PersonWhereUniqueInput) + set?: Array; - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - set?: Array; + @Field(() => [PersonWhereUniqueInput], { nullable: true }) + @Type(() => PersonWhereUniqueInput) + disconnect?: Array; - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - disconnect?: Array; + @Field(() => [PersonWhereUniqueInput], { nullable: true }) + @Type(() => PersonWhereUniqueInput) + delete?: Array; - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - delete?: Array; + @Field(() => [PersonWhereUniqueInput], { nullable: true }) + @Type(() => PersonWhereUniqueInput) + connect?: Array; - @Field(() => [PersonWhereUniqueInput], {nullable:true}) - @Type(() => PersonWhereUniqueInput) - connect?: Array; + @Field(() => [PersonUpdateWithWhereUniqueWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PersonUpdateWithWhereUniqueWithoutWorkspaceInput) + update?: Array; - @Field(() => [PersonUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonUpdateWithWhereUniqueWithoutWorkspaceInput) - update?: Array; + @Field(() => [PersonUpdateManyWithWhereWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PersonUpdateManyWithWhereWithoutWorkspaceInput) + updateMany?: Array; - @Field(() => [PersonUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true}) - @Type(() => PersonUpdateManyWithWhereWithoutWorkspaceInput) - updateMany?: Array; - - @Field(() => [PersonScalarWhereInput], {nullable:true}) - @Type(() => PersonScalarWhereInput) - deleteMany?: Array; + @Field(() => [PersonScalarWhereInput], { nullable: true }) + @Type(() => PersonScalarWhereInput) + deleteMany?: Array; } diff --git a/server/src/api/@generated/person/person-update-with-where-unique-without-company.input.ts b/server/src/api/@generated/person/person-update-with-where-unique-without-company.input.ts index ba1691fb7f..62ef434793 100644 --- a/server/src/api/@generated/person/person-update-with-where-unique-without-company.input.ts +++ b/server/src/api/@generated/person/person-update-with-where-unique-without-company.input.ts @@ -6,12 +6,11 @@ import { PersonUpdateWithoutCompanyInput } from './person-update-without-company @InputType() export class PersonUpdateWithWhereUniqueWithoutCompanyInput { + @Field(() => PersonWhereUniqueInput, { nullable: false }) + @Type(() => PersonWhereUniqueInput) + where!: PersonWhereUniqueInput; - @Field(() => PersonWhereUniqueInput, {nullable:false}) - @Type(() => PersonWhereUniqueInput) - where!: PersonWhereUniqueInput; - - @Field(() => PersonUpdateWithoutCompanyInput, {nullable:false}) - @Type(() => PersonUpdateWithoutCompanyInput) - data!: PersonUpdateWithoutCompanyInput; + @Field(() => PersonUpdateWithoutCompanyInput, { nullable: false }) + @Type(() => PersonUpdateWithoutCompanyInput) + data!: PersonUpdateWithoutCompanyInput; } diff --git a/server/src/api/@generated/person/person-update-with-where-unique-without-workspace.input.ts b/server/src/api/@generated/person/person-update-with-where-unique-without-workspace.input.ts index 39461bc97e..39e7dc2fb9 100644 --- a/server/src/api/@generated/person/person-update-with-where-unique-without-workspace.input.ts +++ b/server/src/api/@generated/person/person-update-with-where-unique-without-workspace.input.ts @@ -6,12 +6,11 @@ import { PersonUpdateWithoutWorkspaceInput } from './person-update-without-works @InputType() export class PersonUpdateWithWhereUniqueWithoutWorkspaceInput { + @Field(() => PersonWhereUniqueInput, { nullable: false }) + @Type(() => PersonWhereUniqueInput) + where!: PersonWhereUniqueInput; - @Field(() => PersonWhereUniqueInput, {nullable:false}) - @Type(() => PersonWhereUniqueInput) - where!: PersonWhereUniqueInput; - - @Field(() => PersonUpdateWithoutWorkspaceInput, {nullable:false}) - @Type(() => PersonUpdateWithoutWorkspaceInput) - data!: PersonUpdateWithoutWorkspaceInput; + @Field(() => PersonUpdateWithoutWorkspaceInput, { nullable: false }) + @Type(() => PersonUpdateWithoutWorkspaceInput) + data!: PersonUpdateWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/person/person-update-without-company.input.ts b/server/src/api/@generated/person/person-update-without-company.input.ts index d7ac5a1ee6..48f9f6daf9 100644 --- a/server/src/api/@generated/person/person-update-without-company.input.ts +++ b/server/src/api/@generated/person/person-update-without-company.input.ts @@ -8,34 +8,33 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class PersonUpdateWithoutCompanyInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + firstname?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - firstname?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + lastname?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - lastname?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + email?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + phone?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - phone?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + city?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - city?: StringFieldUpdateOperationsInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutPeopleNestedInput; + @HideField() + workspace?: WorkspaceUpdateOneRequiredWithoutPeopleNestedInput; } diff --git a/server/src/api/@generated/person/person-update-without-workspace.input.ts b/server/src/api/@generated/person/person-update-without-workspace.input.ts index 9d883d7470..4092f5adb4 100644 --- a/server/src/api/@generated/person/person-update-without-workspace.input.ts +++ b/server/src/api/@generated/person/person-update-without-workspace.input.ts @@ -7,34 +7,33 @@ import { CompanyUpdateOneWithoutPeopleNestedInput } from '../company/company-upd @InputType() export class PersonUpdateWithoutWorkspaceInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + firstname?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - firstname?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + lastname?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - lastname?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + email?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + phone?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - phone?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + city?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - city?: StringFieldUpdateOperationsInput; - - @Field(() => CompanyUpdateOneWithoutPeopleNestedInput, {nullable:true}) - company?: CompanyUpdateOneWithoutPeopleNestedInput; + @Field(() => CompanyUpdateOneWithoutPeopleNestedInput, { nullable: true }) + company?: CompanyUpdateOneWithoutPeopleNestedInput; } diff --git a/server/src/api/@generated/person/person-update.input.ts b/server/src/api/@generated/person/person-update.input.ts index a17c52d88b..a7b8cffbb8 100644 --- a/server/src/api/@generated/person/person-update.input.ts +++ b/server/src/api/@generated/person/person-update.input.ts @@ -9,37 +9,36 @@ import { HideField } from '@nestjs/graphql'; @InputType() export class PersonUpdateInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + firstname?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - firstname?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + lastname?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - lastname?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + email?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + phone?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - phone?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + city?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - city?: StringFieldUpdateOperationsInput; + @Field(() => CompanyUpdateOneWithoutPeopleNestedInput, { nullable: true }) + company?: CompanyUpdateOneWithoutPeopleNestedInput; - @Field(() => CompanyUpdateOneWithoutPeopleNestedInput, {nullable:true}) - company?: CompanyUpdateOneWithoutPeopleNestedInput; - - @HideField() - workspace?: WorkspaceUpdateOneRequiredWithoutPeopleNestedInput; + @HideField() + workspace?: WorkspaceUpdateOneRequiredWithoutPeopleNestedInput; } diff --git a/server/src/api/@generated/person/person-upsert-with-where-unique-without-company.input.ts b/server/src/api/@generated/person/person-upsert-with-where-unique-without-company.input.ts index d77d0a1b4d..45bba1aab8 100644 --- a/server/src/api/@generated/person/person-upsert-with-where-unique-without-company.input.ts +++ b/server/src/api/@generated/person/person-upsert-with-where-unique-without-company.input.ts @@ -7,16 +7,15 @@ import { PersonCreateWithoutCompanyInput } from './person-create-without-company @InputType() export class PersonUpsertWithWhereUniqueWithoutCompanyInput { + @Field(() => PersonWhereUniqueInput, { nullable: false }) + @Type(() => PersonWhereUniqueInput) + where!: PersonWhereUniqueInput; - @Field(() => PersonWhereUniqueInput, {nullable:false}) - @Type(() => PersonWhereUniqueInput) - where!: PersonWhereUniqueInput; + @Field(() => PersonUpdateWithoutCompanyInput, { nullable: false }) + @Type(() => PersonUpdateWithoutCompanyInput) + update!: PersonUpdateWithoutCompanyInput; - @Field(() => PersonUpdateWithoutCompanyInput, {nullable:false}) - @Type(() => PersonUpdateWithoutCompanyInput) - update!: PersonUpdateWithoutCompanyInput; - - @Field(() => PersonCreateWithoutCompanyInput, {nullable:false}) - @Type(() => PersonCreateWithoutCompanyInput) - create!: PersonCreateWithoutCompanyInput; + @Field(() => PersonCreateWithoutCompanyInput, { nullable: false }) + @Type(() => PersonCreateWithoutCompanyInput) + create!: PersonCreateWithoutCompanyInput; } diff --git a/server/src/api/@generated/person/person-upsert-with-where-unique-without-workspace.input.ts b/server/src/api/@generated/person/person-upsert-with-where-unique-without-workspace.input.ts index 73074d4949..e17461fdd6 100644 --- a/server/src/api/@generated/person/person-upsert-with-where-unique-without-workspace.input.ts +++ b/server/src/api/@generated/person/person-upsert-with-where-unique-without-workspace.input.ts @@ -7,16 +7,15 @@ import { PersonCreateWithoutWorkspaceInput } from './person-create-without-works @InputType() export class PersonUpsertWithWhereUniqueWithoutWorkspaceInput { + @Field(() => PersonWhereUniqueInput, { nullable: false }) + @Type(() => PersonWhereUniqueInput) + where!: PersonWhereUniqueInput; - @Field(() => PersonWhereUniqueInput, {nullable:false}) - @Type(() => PersonWhereUniqueInput) - where!: PersonWhereUniqueInput; + @Field(() => PersonUpdateWithoutWorkspaceInput, { nullable: false }) + @Type(() => PersonUpdateWithoutWorkspaceInput) + update!: PersonUpdateWithoutWorkspaceInput; - @Field(() => PersonUpdateWithoutWorkspaceInput, {nullable:false}) - @Type(() => PersonUpdateWithoutWorkspaceInput) - update!: PersonUpdateWithoutWorkspaceInput; - - @Field(() => PersonCreateWithoutWorkspaceInput, {nullable:false}) - @Type(() => PersonCreateWithoutWorkspaceInput) - create!: PersonCreateWithoutWorkspaceInput; + @Field(() => PersonCreateWithoutWorkspaceInput, { nullable: false }) + @Type(() => PersonCreateWithoutWorkspaceInput) + create!: PersonCreateWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/person/person-where-unique.input.ts b/server/src/api/@generated/person/person-where-unique.input.ts index 34c5475c9a..12ade21c62 100644 --- a/server/src/api/@generated/person/person-where-unique.input.ts +++ b/server/src/api/@generated/person/person-where-unique.input.ts @@ -3,7 +3,6 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class PersonWhereUniqueInput { - - @Field(() => String, {nullable:true}) - id?: string; + @Field(() => String, { nullable: true }) + id?: string; } diff --git a/server/src/api/@generated/person/person-where.input.ts b/server/src/api/@generated/person/person-where.input.ts index aafb76cba3..7331389c70 100644 --- a/server/src/api/@generated/person/person-where.input.ts +++ b/server/src/api/@generated/person/person-where.input.ts @@ -10,52 +10,51 @@ import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter. @InputType() export class PersonWhereInput { + @Field(() => [PersonWhereInput], { nullable: true }) + AND?: Array; - @Field(() => [PersonWhereInput], {nullable:true}) - AND?: Array; + @Field(() => [PersonWhereInput], { nullable: true }) + OR?: Array; - @Field(() => [PersonWhereInput], {nullable:true}) - OR?: Array; + @Field(() => [PersonWhereInput], { nullable: true }) + NOT?: Array; - @Field(() => [PersonWhereInput], {nullable:true}) - NOT?: Array; + @Field(() => StringFilter, { nullable: true }) + id?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; + @Field(() => DateTimeFilter, { nullable: true }) + createdAt?: DateTimeFilter; - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; + @Field(() => DateTimeFilter, { nullable: true }) + updatedAt?: DateTimeFilter; - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; + @Field(() => DateTimeNullableFilter, { nullable: true }) + deletedAt?: DateTimeNullableFilter; - @Field(() => DateTimeNullableFilter, {nullable:true}) - deletedAt?: DateTimeNullableFilter; + @Field(() => StringFilter, { nullable: true }) + firstname?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - firstname?: StringFilter; + @Field(() => StringFilter, { nullable: true }) + lastname?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - lastname?: StringFilter; + @Field(() => StringFilter, { nullable: true }) + email?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - email?: StringFilter; + @Field(() => StringFilter, { nullable: true }) + phone?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - phone?: StringFilter; + @Field(() => StringFilter, { nullable: true }) + city?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - city?: StringFilter; + @Field(() => StringNullableFilter, { nullable: true }) + companyId?: StringNullableFilter; - @Field(() => StringNullableFilter, {nullable:true}) - companyId?: StringNullableFilter; + @HideField() + workspaceId?: StringFilter; - @HideField() - workspaceId?: StringFilter; + @Field(() => CompanyRelationFilter, { nullable: true }) + company?: CompanyRelationFilter; - @Field(() => CompanyRelationFilter, {nullable:true}) - company?: CompanyRelationFilter; - - @HideField() - workspace?: WorkspaceRelationFilter; + @HideField() + workspace?: WorkspaceRelationFilter; } diff --git a/server/src/api/@generated/person/person.model.ts b/server/src/api/@generated/person/person.model.ts index cb2b6c5e93..1fa317fa87 100644 --- a/server/src/api/@generated/person/person.model.ts +++ b/server/src/api/@generated/person/person.model.ts @@ -6,43 +6,42 @@ import { Workspace } from '../workspace/workspace.model'; @ObjectType() export class Person { + @Field(() => ID, { nullable: false }) + id!: string; - @Field(() => ID, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: false }) + createdAt!: Date; - @Field(() => Date, {nullable:false}) - createdAt!: Date; + @Field(() => Date, { nullable: false }) + updatedAt!: Date; - @Field(() => Date, {nullable:false}) - updatedAt!: Date; + @Field(() => Date, { nullable: true }) + deletedAt!: Date | null; - @Field(() => Date, {nullable:true}) - deletedAt!: Date | null; + @Field(() => String, { nullable: false }) + firstname!: string; - @Field(() => String, {nullable:false}) - firstname!: string; + @Field(() => String, { nullable: false }) + lastname!: string; - @Field(() => String, {nullable:false}) - lastname!: string; + @Field(() => String, { nullable: false }) + email!: string; - @Field(() => String, {nullable:false}) - email!: string; + @Field(() => String, { nullable: false }) + phone!: string; - @Field(() => String, {nullable:false}) - phone!: string; + @Field(() => String, { nullable: false }) + city!: string; - @Field(() => String, {nullable:false}) - city!: string; + @Field(() => String, { nullable: true }) + companyId!: string | null; - @Field(() => String, {nullable:true}) - companyId!: string | null; + @Field(() => String, { nullable: false }) + workspaceId!: string; - @Field(() => String, {nullable:false}) - workspaceId!: string; + @Field(() => Company, { nullable: true }) + company?: Company | null; - @Field(() => Company, {nullable:true}) - company?: Company | null; - - @Field(() => Workspace, {nullable:false}) - workspace?: Workspace; + @Field(() => Workspace, { nullable: false }) + workspace?: Workspace; } diff --git a/server/src/api/@generated/person/update-many-person.args.ts b/server/src/api/@generated/person/update-many-person.args.ts index 397be4d106..f3551fd42d 100644 --- a/server/src/api/@generated/person/update-many-person.args.ts +++ b/server/src/api/@generated/person/update-many-person.args.ts @@ -6,12 +6,11 @@ import { PersonWhereInput } from './person-where.input'; @ArgsType() export class UpdateManyPersonArgs { + @Field(() => PersonUpdateManyMutationInput, { nullable: false }) + @Type(() => PersonUpdateManyMutationInput) + data!: PersonUpdateManyMutationInput; - @Field(() => PersonUpdateManyMutationInput, {nullable:false}) - @Type(() => PersonUpdateManyMutationInput) - data!: PersonUpdateManyMutationInput; - - @Field(() => PersonWhereInput, {nullable:true}) - @Type(() => PersonWhereInput) - where?: PersonWhereInput; + @Field(() => PersonWhereInput, { nullable: true }) + @Type(() => PersonWhereInput) + where?: PersonWhereInput; } diff --git a/server/src/api/@generated/person/update-one-person.args.ts b/server/src/api/@generated/person/update-one-person.args.ts index 6c91321c51..4b17056cbd 100644 --- a/server/src/api/@generated/person/update-one-person.args.ts +++ b/server/src/api/@generated/person/update-one-person.args.ts @@ -6,12 +6,11 @@ import { PersonWhereUniqueInput } from './person-where-unique.input'; @ArgsType() export class UpdateOnePersonArgs { + @Field(() => PersonUpdateInput, { nullable: false }) + @Type(() => PersonUpdateInput) + data!: PersonUpdateInput; - @Field(() => PersonUpdateInput, {nullable:false}) - @Type(() => PersonUpdateInput) - data!: PersonUpdateInput; - - @Field(() => PersonWhereUniqueInput, {nullable:false}) - @Type(() => PersonWhereUniqueInput) - where!: PersonWhereUniqueInput; + @Field(() => PersonWhereUniqueInput, { nullable: false }) + @Type(() => PersonWhereUniqueInput) + where!: PersonWhereUniqueInput; } diff --git a/server/src/api/@generated/person/upsert-one-person.args.ts b/server/src/api/@generated/person/upsert-one-person.args.ts index f7437a767a..d922a1324a 100644 --- a/server/src/api/@generated/person/upsert-one-person.args.ts +++ b/server/src/api/@generated/person/upsert-one-person.args.ts @@ -7,16 +7,15 @@ import { PersonUpdateInput } from './person-update.input'; @ArgsType() export class UpsertOnePersonArgs { + @Field(() => PersonWhereUniqueInput, { nullable: false }) + @Type(() => PersonWhereUniqueInput) + where!: PersonWhereUniqueInput; - @Field(() => PersonWhereUniqueInput, {nullable:false}) - @Type(() => PersonWhereUniqueInput) - where!: PersonWhereUniqueInput; + @Field(() => PersonCreateInput, { nullable: false }) + @Type(() => PersonCreateInput) + create!: PersonCreateInput; - @Field(() => PersonCreateInput, {nullable:false}) - @Type(() => PersonCreateInput) - create!: PersonCreateInput; - - @Field(() => PersonUpdateInput, {nullable:false}) - @Type(() => PersonUpdateInput) - update!: PersonUpdateInput; + @Field(() => PersonUpdateInput, { nullable: false }) + @Type(() => PersonUpdateInput) + update!: PersonUpdateInput; } diff --git a/server/src/api/@generated/prisma/affected-rows.output.ts b/server/src/api/@generated/prisma/affected-rows.output.ts index 05e4950d74..b43eddcc3a 100644 --- a/server/src/api/@generated/prisma/affected-rows.output.ts +++ b/server/src/api/@generated/prisma/affected-rows.output.ts @@ -4,7 +4,6 @@ import { Int } from '@nestjs/graphql'; @ObjectType() export class AffectedRows { - - @Field(() => Int, {nullable:false}) - count!: number; + @Field(() => Int, { nullable: false }) + count!: number; } diff --git a/server/src/api/@generated/prisma/bool-field-update-operations.input.ts b/server/src/api/@generated/prisma/bool-field-update-operations.input.ts index 0cdb8cf38d..a7fa6afaae 100644 --- a/server/src/api/@generated/prisma/bool-field-update-operations.input.ts +++ b/server/src/api/@generated/prisma/bool-field-update-operations.input.ts @@ -3,7 +3,6 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class BoolFieldUpdateOperationsInput { - - @Field(() => Boolean, {nullable:true}) - set?: boolean; + @Field(() => Boolean, { nullable: true }) + set?: boolean; } diff --git a/server/src/api/@generated/prisma/bool-filter.input.ts b/server/src/api/@generated/prisma/bool-filter.input.ts index 61293cba87..07dbcfdea3 100644 --- a/server/src/api/@generated/prisma/bool-filter.input.ts +++ b/server/src/api/@generated/prisma/bool-filter.input.ts @@ -4,10 +4,9 @@ import { NestedBoolFilter } from './nested-bool-filter.input'; @InputType() export class BoolFilter { + @Field(() => Boolean, { nullable: true }) + equals?: boolean; - @Field(() => Boolean, {nullable:true}) - equals?: boolean; - - @Field(() => NestedBoolFilter, {nullable:true}) - not?: NestedBoolFilter; + @Field(() => NestedBoolFilter, { nullable: true }) + not?: NestedBoolFilter; } diff --git a/server/src/api/@generated/prisma/bool-with-aggregates-filter.input.ts b/server/src/api/@generated/prisma/bool-with-aggregates-filter.input.ts index 4779fc1b19..32f97a3984 100644 --- a/server/src/api/@generated/prisma/bool-with-aggregates-filter.input.ts +++ b/server/src/api/@generated/prisma/bool-with-aggregates-filter.input.ts @@ -6,19 +6,18 @@ import { NestedBoolFilter } from './nested-bool-filter.input'; @InputType() export class BoolWithAggregatesFilter { + @Field(() => Boolean, { nullable: true }) + equals?: boolean; - @Field(() => Boolean, {nullable:true}) - equals?: boolean; + @Field(() => NestedBoolWithAggregatesFilter, { nullable: true }) + not?: NestedBoolWithAggregatesFilter; - @Field(() => NestedBoolWithAggregatesFilter, {nullable:true}) - not?: NestedBoolWithAggregatesFilter; + @Field(() => NestedIntFilter, { nullable: true }) + _count?: NestedIntFilter; - @Field(() => NestedIntFilter, {nullable:true}) - _count?: NestedIntFilter; + @Field(() => NestedBoolFilter, { nullable: true }) + _min?: NestedBoolFilter; - @Field(() => NestedBoolFilter, {nullable:true}) - _min?: NestedBoolFilter; - - @Field(() => NestedBoolFilter, {nullable:true}) - _max?: NestedBoolFilter; + @Field(() => NestedBoolFilter, { nullable: true }) + _max?: NestedBoolFilter; } diff --git a/server/src/api/@generated/prisma/date-time-field-update-operations.input.ts b/server/src/api/@generated/prisma/date-time-field-update-operations.input.ts index d53a5ddf74..98976cb547 100644 --- a/server/src/api/@generated/prisma/date-time-field-update-operations.input.ts +++ b/server/src/api/@generated/prisma/date-time-field-update-operations.input.ts @@ -3,7 +3,6 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class DateTimeFieldUpdateOperationsInput { - - @Field(() => Date, {nullable:true}) - set?: Date | string; + @Field(() => Date, { nullable: true }) + set?: Date | string; } diff --git a/server/src/api/@generated/prisma/date-time-filter.input.ts b/server/src/api/@generated/prisma/date-time-filter.input.ts index 6bccf55db3..c93b003ce2 100644 --- a/server/src/api/@generated/prisma/date-time-filter.input.ts +++ b/server/src/api/@generated/prisma/date-time-filter.input.ts @@ -4,28 +4,27 @@ import { NestedDateTimeFilter } from './nested-date-time-filter.input'; @InputType() export class DateTimeFilter { + @Field(() => Date, { nullable: true }) + equals?: Date | string; - @Field(() => Date, {nullable:true}) - equals?: Date | string; + @Field(() => [Date], { nullable: true }) + in?: Array | Array; - @Field(() => [Date], {nullable:true}) - in?: Array | Array; + @Field(() => [Date], { nullable: true }) + notIn?: Array | Array; - @Field(() => [Date], {nullable:true}) - notIn?: Array | Array; + @Field(() => Date, { nullable: true }) + lt?: Date | string; - @Field(() => Date, {nullable:true}) - lt?: Date | string; + @Field(() => Date, { nullable: true }) + lte?: Date | string; - @Field(() => Date, {nullable:true}) - lte?: Date | string; + @Field(() => Date, { nullable: true }) + gt?: Date | string; - @Field(() => Date, {nullable:true}) - gt?: Date | string; + @Field(() => Date, { nullable: true }) + gte?: Date | string; - @Field(() => Date, {nullable:true}) - gte?: Date | string; - - @Field(() => NestedDateTimeFilter, {nullable:true}) - not?: NestedDateTimeFilter; + @Field(() => NestedDateTimeFilter, { nullable: true }) + not?: NestedDateTimeFilter; } diff --git a/server/src/api/@generated/prisma/date-time-nullable-filter.input.ts b/server/src/api/@generated/prisma/date-time-nullable-filter.input.ts index 0a13490918..88fca8aae7 100644 --- a/server/src/api/@generated/prisma/date-time-nullable-filter.input.ts +++ b/server/src/api/@generated/prisma/date-time-nullable-filter.input.ts @@ -4,28 +4,27 @@ import { NestedDateTimeNullableFilter } from './nested-date-time-nullable-filter @InputType() export class DateTimeNullableFilter { + @Field(() => Date, { nullable: true }) + equals?: Date | string; - @Field(() => Date, {nullable:true}) - equals?: Date | string; + @Field(() => [Date], { nullable: true }) + in?: Array | Array; - @Field(() => [Date], {nullable:true}) - in?: Array | Array; + @Field(() => [Date], { nullable: true }) + notIn?: Array | Array; - @Field(() => [Date], {nullable:true}) - notIn?: Array | Array; + @Field(() => Date, { nullable: true }) + lt?: Date | string; - @Field(() => Date, {nullable:true}) - lt?: Date | string; + @Field(() => Date, { nullable: true }) + lte?: Date | string; - @Field(() => Date, {nullable:true}) - lte?: Date | string; + @Field(() => Date, { nullable: true }) + gt?: Date | string; - @Field(() => Date, {nullable:true}) - gt?: Date | string; + @Field(() => Date, { nullable: true }) + gte?: Date | string; - @Field(() => Date, {nullable:true}) - gte?: Date | string; - - @Field(() => NestedDateTimeNullableFilter, {nullable:true}) - not?: NestedDateTimeNullableFilter; + @Field(() => NestedDateTimeNullableFilter, { nullable: true }) + not?: NestedDateTimeNullableFilter; } diff --git a/server/src/api/@generated/prisma/date-time-nullable-with-aggregates-filter.input.ts b/server/src/api/@generated/prisma/date-time-nullable-with-aggregates-filter.input.ts index 8af95d8e8b..2f84adf27b 100644 --- a/server/src/api/@generated/prisma/date-time-nullable-with-aggregates-filter.input.ts +++ b/server/src/api/@generated/prisma/date-time-nullable-with-aggregates-filter.input.ts @@ -6,37 +6,36 @@ import { NestedDateTimeNullableFilter } from './nested-date-time-nullable-filter @InputType() export class DateTimeNullableWithAggregatesFilter { + @Field(() => Date, { nullable: true }) + equals?: Date | string; - @Field(() => Date, {nullable:true}) - equals?: Date | string; + @Field(() => [Date], { nullable: true }) + in?: Array | Array; - @Field(() => [Date], {nullable:true}) - in?: Array | Array; + @Field(() => [Date], { nullable: true }) + notIn?: Array | Array; - @Field(() => [Date], {nullable:true}) - notIn?: Array | Array; + @Field(() => Date, { nullable: true }) + lt?: Date | string; - @Field(() => Date, {nullable:true}) - lt?: Date | string; + @Field(() => Date, { nullable: true }) + lte?: Date | string; - @Field(() => Date, {nullable:true}) - lte?: Date | string; + @Field(() => Date, { nullable: true }) + gt?: Date | string; - @Field(() => Date, {nullable:true}) - gt?: Date | string; + @Field(() => Date, { nullable: true }) + gte?: Date | string; - @Field(() => Date, {nullable:true}) - gte?: Date | string; + @Field(() => NestedDateTimeNullableWithAggregatesFilter, { nullable: true }) + not?: NestedDateTimeNullableWithAggregatesFilter; - @Field(() => NestedDateTimeNullableWithAggregatesFilter, {nullable:true}) - not?: NestedDateTimeNullableWithAggregatesFilter; + @Field(() => NestedIntNullableFilter, { nullable: true }) + _count?: NestedIntNullableFilter; - @Field(() => NestedIntNullableFilter, {nullable:true}) - _count?: NestedIntNullableFilter; + @Field(() => NestedDateTimeNullableFilter, { nullable: true }) + _min?: NestedDateTimeNullableFilter; - @Field(() => NestedDateTimeNullableFilter, {nullable:true}) - _min?: NestedDateTimeNullableFilter; - - @Field(() => NestedDateTimeNullableFilter, {nullable:true}) - _max?: NestedDateTimeNullableFilter; + @Field(() => NestedDateTimeNullableFilter, { nullable: true }) + _max?: NestedDateTimeNullableFilter; } diff --git a/server/src/api/@generated/prisma/date-time-with-aggregates-filter.input.ts b/server/src/api/@generated/prisma/date-time-with-aggregates-filter.input.ts index ab663c4f1e..47fba5e321 100644 --- a/server/src/api/@generated/prisma/date-time-with-aggregates-filter.input.ts +++ b/server/src/api/@generated/prisma/date-time-with-aggregates-filter.input.ts @@ -6,37 +6,36 @@ import { NestedDateTimeFilter } from './nested-date-time-filter.input'; @InputType() export class DateTimeWithAggregatesFilter { + @Field(() => Date, { nullable: true }) + equals?: Date | string; - @Field(() => Date, {nullable:true}) - equals?: Date | string; + @Field(() => [Date], { nullable: true }) + in?: Array | Array; - @Field(() => [Date], {nullable:true}) - in?: Array | Array; + @Field(() => [Date], { nullable: true }) + notIn?: Array | Array; - @Field(() => [Date], {nullable:true}) - notIn?: Array | Array; + @Field(() => Date, { nullable: true }) + lt?: Date | string; - @Field(() => Date, {nullable:true}) - lt?: Date | string; + @Field(() => Date, { nullable: true }) + lte?: Date | string; - @Field(() => Date, {nullable:true}) - lte?: Date | string; + @Field(() => Date, { nullable: true }) + gt?: Date | string; - @Field(() => Date, {nullable:true}) - gt?: Date | string; + @Field(() => Date, { nullable: true }) + gte?: Date | string; - @Field(() => Date, {nullable:true}) - gte?: Date | string; + @Field(() => NestedDateTimeWithAggregatesFilter, { nullable: true }) + not?: NestedDateTimeWithAggregatesFilter; - @Field(() => NestedDateTimeWithAggregatesFilter, {nullable:true}) - not?: NestedDateTimeWithAggregatesFilter; + @Field(() => NestedIntFilter, { nullable: true }) + _count?: NestedIntFilter; - @Field(() => NestedIntFilter, {nullable:true}) - _count?: NestedIntFilter; + @Field(() => NestedDateTimeFilter, { nullable: true }) + _min?: NestedDateTimeFilter; - @Field(() => NestedDateTimeFilter, {nullable:true}) - _min?: NestedDateTimeFilter; - - @Field(() => NestedDateTimeFilter, {nullable:true}) - _max?: NestedDateTimeFilter; + @Field(() => NestedDateTimeFilter, { nullable: true }) + _max?: NestedDateTimeFilter; } diff --git a/server/src/api/@generated/prisma/int-nullable-filter.input.ts b/server/src/api/@generated/prisma/int-nullable-filter.input.ts index cd2e7ab709..07d6ecaaec 100644 --- a/server/src/api/@generated/prisma/int-nullable-filter.input.ts +++ b/server/src/api/@generated/prisma/int-nullable-filter.input.ts @@ -5,28 +5,27 @@ import { NestedIntNullableFilter } from './nested-int-nullable-filter.input'; @InputType() export class IntNullableFilter { + @Field(() => Int, { nullable: true }) + equals?: number; - @Field(() => Int, {nullable:true}) - equals?: number; + @Field(() => [Int], { nullable: true }) + in?: Array; - @Field(() => [Int], {nullable:true}) - in?: Array; + @Field(() => [Int], { nullable: true }) + notIn?: Array; - @Field(() => [Int], {nullable:true}) - notIn?: Array; + @Field(() => Int, { nullable: true }) + lt?: number; - @Field(() => Int, {nullable:true}) - lt?: number; + @Field(() => Int, { nullable: true }) + lte?: number; - @Field(() => Int, {nullable:true}) - lte?: number; + @Field(() => Int, { nullable: true }) + gt?: number; - @Field(() => Int, {nullable:true}) - gt?: number; + @Field(() => Int, { nullable: true }) + gte?: number; - @Field(() => Int, {nullable:true}) - gte?: number; - - @Field(() => NestedIntNullableFilter, {nullable:true}) - not?: NestedIntNullableFilter; + @Field(() => NestedIntNullableFilter, { nullable: true }) + not?: NestedIntNullableFilter; } diff --git a/server/src/api/@generated/prisma/int-nullable-with-aggregates-filter.input.ts b/server/src/api/@generated/prisma/int-nullable-with-aggregates-filter.input.ts index 8eb3fa985c..577ec31cf9 100644 --- a/server/src/api/@generated/prisma/int-nullable-with-aggregates-filter.input.ts +++ b/server/src/api/@generated/prisma/int-nullable-with-aggregates-filter.input.ts @@ -7,43 +7,42 @@ import { NestedFloatNullableFilter } from './nested-float-nullable-filter.input' @InputType() export class IntNullableWithAggregatesFilter { + @Field(() => Int, { nullable: true }) + equals?: number; - @Field(() => Int, {nullable:true}) - equals?: number; + @Field(() => [Int], { nullable: true }) + in?: Array; - @Field(() => [Int], {nullable:true}) - in?: Array; + @Field(() => [Int], { nullable: true }) + notIn?: Array; - @Field(() => [Int], {nullable:true}) - notIn?: Array; + @Field(() => Int, { nullable: true }) + lt?: number; - @Field(() => Int, {nullable:true}) - lt?: number; + @Field(() => Int, { nullable: true }) + lte?: number; - @Field(() => Int, {nullable:true}) - lte?: number; + @Field(() => Int, { nullable: true }) + gt?: number; - @Field(() => Int, {nullable:true}) - gt?: number; + @Field(() => Int, { nullable: true }) + gte?: number; - @Field(() => Int, {nullable:true}) - gte?: number; + @Field(() => NestedIntNullableWithAggregatesFilter, { nullable: true }) + not?: NestedIntNullableWithAggregatesFilter; - @Field(() => NestedIntNullableWithAggregatesFilter, {nullable:true}) - not?: NestedIntNullableWithAggregatesFilter; + @Field(() => NestedIntNullableFilter, { nullable: true }) + _count?: NestedIntNullableFilter; - @Field(() => NestedIntNullableFilter, {nullable:true}) - _count?: NestedIntNullableFilter; + @Field(() => NestedFloatNullableFilter, { nullable: true }) + _avg?: NestedFloatNullableFilter; - @Field(() => NestedFloatNullableFilter, {nullable:true}) - _avg?: NestedFloatNullableFilter; + @Field(() => NestedIntNullableFilter, { nullable: true }) + _sum?: NestedIntNullableFilter; - @Field(() => NestedIntNullableFilter, {nullable:true}) - _sum?: NestedIntNullableFilter; + @Field(() => NestedIntNullableFilter, { nullable: true }) + _min?: NestedIntNullableFilter; - @Field(() => NestedIntNullableFilter, {nullable:true}) - _min?: NestedIntNullableFilter; - - @Field(() => NestedIntNullableFilter, {nullable:true}) - _max?: NestedIntNullableFilter; + @Field(() => NestedIntNullableFilter, { nullable: true }) + _max?: NestedIntNullableFilter; } diff --git a/server/src/api/@generated/prisma/json-null-value-filter.enum.ts b/server/src/api/@generated/prisma/json-null-value-filter.enum.ts index 8c3b4f96ec..eed4c58866 100644 --- a/server/src/api/@generated/prisma/json-null-value-filter.enum.ts +++ b/server/src/api/@generated/prisma/json-null-value-filter.enum.ts @@ -1,10 +1,12 @@ import { registerEnumType } from '@nestjs/graphql'; export enum JsonNullValueFilter { - DbNull = "DbNull", - JsonNull = "JsonNull", - AnyNull = "AnyNull" + DbNull = 'DbNull', + JsonNull = 'JsonNull', + AnyNull = 'AnyNull', } - -registerEnumType(JsonNullValueFilter, { name: 'JsonNullValueFilter', description: undefined }) +registerEnumType(JsonNullValueFilter, { + name: 'JsonNullValueFilter', + description: undefined, +}); diff --git a/server/src/api/@generated/prisma/json-nullable-filter.input.ts b/server/src/api/@generated/prisma/json-nullable-filter.input.ts index b929528660..c74e589abe 100644 --- a/server/src/api/@generated/prisma/json-nullable-filter.input.ts +++ b/server/src/api/@generated/prisma/json-nullable-filter.input.ts @@ -4,43 +4,42 @@ import { GraphQLJSON } from 'graphql-type-json'; @InputType() export class JsonNullableFilter { + @Field(() => GraphQLJSON, { nullable: true }) + equals?: any; - @Field(() => GraphQLJSON, {nullable:true}) - equals?: any; + @Field(() => [String], { nullable: true }) + path?: Array; - @Field(() => [String], {nullable:true}) - path?: Array; + @Field(() => String, { nullable: true }) + string_contains?: string; - @Field(() => String, {nullable:true}) - string_contains?: string; + @Field(() => String, { nullable: true }) + string_starts_with?: string; - @Field(() => String, {nullable:true}) - string_starts_with?: string; + @Field(() => String, { nullable: true }) + string_ends_with?: string; - @Field(() => String, {nullable:true}) - string_ends_with?: string; + @Field(() => GraphQLJSON, { nullable: true }) + array_contains?: any; - @Field(() => GraphQLJSON, {nullable:true}) - array_contains?: any; + @Field(() => GraphQLJSON, { nullable: true }) + array_starts_with?: any; - @Field(() => GraphQLJSON, {nullable:true}) - array_starts_with?: any; + @Field(() => GraphQLJSON, { nullable: true }) + array_ends_with?: any; - @Field(() => GraphQLJSON, {nullable:true}) - array_ends_with?: any; + @Field(() => GraphQLJSON, { nullable: true }) + lt?: any; - @Field(() => GraphQLJSON, {nullable:true}) - lt?: any; + @Field(() => GraphQLJSON, { nullable: true }) + lte?: any; - @Field(() => GraphQLJSON, {nullable:true}) - lte?: any; + @Field(() => GraphQLJSON, { nullable: true }) + gt?: any; - @Field(() => GraphQLJSON, {nullable:true}) - gt?: any; + @Field(() => GraphQLJSON, { nullable: true }) + gte?: any; - @Field(() => GraphQLJSON, {nullable:true}) - gte?: any; - - @Field(() => GraphQLJSON, {nullable:true}) - not?: any; + @Field(() => GraphQLJSON, { nullable: true }) + not?: any; } diff --git a/server/src/api/@generated/prisma/json-nullable-with-aggregates-filter.input.ts b/server/src/api/@generated/prisma/json-nullable-with-aggregates-filter.input.ts index e4378bc4e4..ee4da34aed 100644 --- a/server/src/api/@generated/prisma/json-nullable-with-aggregates-filter.input.ts +++ b/server/src/api/@generated/prisma/json-nullable-with-aggregates-filter.input.ts @@ -6,52 +6,51 @@ import { NestedJsonNullableFilter } from './nested-json-nullable-filter.input'; @InputType() export class JsonNullableWithAggregatesFilter { + @Field(() => GraphQLJSON, { nullable: true }) + equals?: any; - @Field(() => GraphQLJSON, {nullable:true}) - equals?: any; + @Field(() => [String], { nullable: true }) + path?: Array; - @Field(() => [String], {nullable:true}) - path?: Array; + @Field(() => String, { nullable: true }) + string_contains?: string; - @Field(() => String, {nullable:true}) - string_contains?: string; + @Field(() => String, { nullable: true }) + string_starts_with?: string; - @Field(() => String, {nullable:true}) - string_starts_with?: string; + @Field(() => String, { nullable: true }) + string_ends_with?: string; - @Field(() => String, {nullable:true}) - string_ends_with?: string; + @Field(() => GraphQLJSON, { nullable: true }) + array_contains?: any; - @Field(() => GraphQLJSON, {nullable:true}) - array_contains?: any; + @Field(() => GraphQLJSON, { nullable: true }) + array_starts_with?: any; - @Field(() => GraphQLJSON, {nullable:true}) - array_starts_with?: any; + @Field(() => GraphQLJSON, { nullable: true }) + array_ends_with?: any; - @Field(() => GraphQLJSON, {nullable:true}) - array_ends_with?: any; + @Field(() => GraphQLJSON, { nullable: true }) + lt?: any; - @Field(() => GraphQLJSON, {nullable:true}) - lt?: any; + @Field(() => GraphQLJSON, { nullable: true }) + lte?: any; - @Field(() => GraphQLJSON, {nullable:true}) - lte?: any; + @Field(() => GraphQLJSON, { nullable: true }) + gt?: any; - @Field(() => GraphQLJSON, {nullable:true}) - gt?: any; + @Field(() => GraphQLJSON, { nullable: true }) + gte?: any; - @Field(() => GraphQLJSON, {nullable:true}) - gte?: any; + @Field(() => GraphQLJSON, { nullable: true }) + not?: any; - @Field(() => GraphQLJSON, {nullable:true}) - not?: any; + @Field(() => NestedIntNullableFilter, { nullable: true }) + _count?: NestedIntNullableFilter; - @Field(() => NestedIntNullableFilter, {nullable:true}) - _count?: NestedIntNullableFilter; + @Field(() => NestedJsonNullableFilter, { nullable: true }) + _min?: NestedJsonNullableFilter; - @Field(() => NestedJsonNullableFilter, {nullable:true}) - _min?: NestedJsonNullableFilter; - - @Field(() => NestedJsonNullableFilter, {nullable:true}) - _max?: NestedJsonNullableFilter; + @Field(() => NestedJsonNullableFilter, { nullable: true }) + _max?: NestedJsonNullableFilter; } diff --git a/server/src/api/@generated/prisma/nested-bool-filter.input.ts b/server/src/api/@generated/prisma/nested-bool-filter.input.ts index 7bbf1beb26..2b9169b190 100644 --- a/server/src/api/@generated/prisma/nested-bool-filter.input.ts +++ b/server/src/api/@generated/prisma/nested-bool-filter.input.ts @@ -3,10 +3,9 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class NestedBoolFilter { + @Field(() => Boolean, { nullable: true }) + equals?: boolean; - @Field(() => Boolean, {nullable:true}) - equals?: boolean; - - @Field(() => NestedBoolFilter, {nullable:true}) - not?: NestedBoolFilter; + @Field(() => NestedBoolFilter, { nullable: true }) + not?: NestedBoolFilter; } diff --git a/server/src/api/@generated/prisma/nested-bool-with-aggregates-filter.input.ts b/server/src/api/@generated/prisma/nested-bool-with-aggregates-filter.input.ts index 30aa484d3f..24370326e4 100644 --- a/server/src/api/@generated/prisma/nested-bool-with-aggregates-filter.input.ts +++ b/server/src/api/@generated/prisma/nested-bool-with-aggregates-filter.input.ts @@ -5,19 +5,18 @@ import { NestedBoolFilter } from './nested-bool-filter.input'; @InputType() export class NestedBoolWithAggregatesFilter { + @Field(() => Boolean, { nullable: true }) + equals?: boolean; - @Field(() => Boolean, {nullable:true}) - equals?: boolean; + @Field(() => NestedBoolWithAggregatesFilter, { nullable: true }) + not?: NestedBoolWithAggregatesFilter; - @Field(() => NestedBoolWithAggregatesFilter, {nullable:true}) - not?: NestedBoolWithAggregatesFilter; + @Field(() => NestedIntFilter, { nullable: true }) + _count?: NestedIntFilter; - @Field(() => NestedIntFilter, {nullable:true}) - _count?: NestedIntFilter; + @Field(() => NestedBoolFilter, { nullable: true }) + _min?: NestedBoolFilter; - @Field(() => NestedBoolFilter, {nullable:true}) - _min?: NestedBoolFilter; - - @Field(() => NestedBoolFilter, {nullable:true}) - _max?: NestedBoolFilter; + @Field(() => NestedBoolFilter, { nullable: true }) + _max?: NestedBoolFilter; } diff --git a/server/src/api/@generated/prisma/nested-date-time-filter.input.ts b/server/src/api/@generated/prisma/nested-date-time-filter.input.ts index 36c9137f11..5c230f18f2 100644 --- a/server/src/api/@generated/prisma/nested-date-time-filter.input.ts +++ b/server/src/api/@generated/prisma/nested-date-time-filter.input.ts @@ -3,28 +3,27 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class NestedDateTimeFilter { + @Field(() => Date, { nullable: true }) + equals?: Date | string; - @Field(() => Date, {nullable:true}) - equals?: Date | string; + @Field(() => [Date], { nullable: true }) + in?: Array | Array; - @Field(() => [Date], {nullable:true}) - in?: Array | Array; + @Field(() => [Date], { nullable: true }) + notIn?: Array | Array; - @Field(() => [Date], {nullable:true}) - notIn?: Array | Array; + @Field(() => Date, { nullable: true }) + lt?: Date | string; - @Field(() => Date, {nullable:true}) - lt?: Date | string; + @Field(() => Date, { nullable: true }) + lte?: Date | string; - @Field(() => Date, {nullable:true}) - lte?: Date | string; + @Field(() => Date, { nullable: true }) + gt?: Date | string; - @Field(() => Date, {nullable:true}) - gt?: Date | string; + @Field(() => Date, { nullable: true }) + gte?: Date | string; - @Field(() => Date, {nullable:true}) - gte?: Date | string; - - @Field(() => NestedDateTimeFilter, {nullable:true}) - not?: NestedDateTimeFilter; + @Field(() => NestedDateTimeFilter, { nullable: true }) + not?: NestedDateTimeFilter; } diff --git a/server/src/api/@generated/prisma/nested-date-time-nullable-filter.input.ts b/server/src/api/@generated/prisma/nested-date-time-nullable-filter.input.ts index 22c3c8ef50..a69777574b 100644 --- a/server/src/api/@generated/prisma/nested-date-time-nullable-filter.input.ts +++ b/server/src/api/@generated/prisma/nested-date-time-nullable-filter.input.ts @@ -3,28 +3,27 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class NestedDateTimeNullableFilter { + @Field(() => Date, { nullable: true }) + equals?: Date | string; - @Field(() => Date, {nullable:true}) - equals?: Date | string; + @Field(() => [Date], { nullable: true }) + in?: Array | Array; - @Field(() => [Date], {nullable:true}) - in?: Array | Array; + @Field(() => [Date], { nullable: true }) + notIn?: Array | Array; - @Field(() => [Date], {nullable:true}) - notIn?: Array | Array; + @Field(() => Date, { nullable: true }) + lt?: Date | string; - @Field(() => Date, {nullable:true}) - lt?: Date | string; + @Field(() => Date, { nullable: true }) + lte?: Date | string; - @Field(() => Date, {nullable:true}) - lte?: Date | string; + @Field(() => Date, { nullable: true }) + gt?: Date | string; - @Field(() => Date, {nullable:true}) - gt?: Date | string; + @Field(() => Date, { nullable: true }) + gte?: Date | string; - @Field(() => Date, {nullable:true}) - gte?: Date | string; - - @Field(() => NestedDateTimeNullableFilter, {nullable:true}) - not?: NestedDateTimeNullableFilter; + @Field(() => NestedDateTimeNullableFilter, { nullable: true }) + not?: NestedDateTimeNullableFilter; } diff --git a/server/src/api/@generated/prisma/nested-date-time-nullable-with-aggregates-filter.input.ts b/server/src/api/@generated/prisma/nested-date-time-nullable-with-aggregates-filter.input.ts index 1d3223f574..2ab5a30a02 100644 --- a/server/src/api/@generated/prisma/nested-date-time-nullable-with-aggregates-filter.input.ts +++ b/server/src/api/@generated/prisma/nested-date-time-nullable-with-aggregates-filter.input.ts @@ -5,37 +5,36 @@ import { NestedDateTimeNullableFilter } from './nested-date-time-nullable-filter @InputType() export class NestedDateTimeNullableWithAggregatesFilter { + @Field(() => Date, { nullable: true }) + equals?: Date | string; - @Field(() => Date, {nullable:true}) - equals?: Date | string; + @Field(() => [Date], { nullable: true }) + in?: Array | Array; - @Field(() => [Date], {nullable:true}) - in?: Array | Array; + @Field(() => [Date], { nullable: true }) + notIn?: Array | Array; - @Field(() => [Date], {nullable:true}) - notIn?: Array | Array; + @Field(() => Date, { nullable: true }) + lt?: Date | string; - @Field(() => Date, {nullable:true}) - lt?: Date | string; + @Field(() => Date, { nullable: true }) + lte?: Date | string; - @Field(() => Date, {nullable:true}) - lte?: Date | string; + @Field(() => Date, { nullable: true }) + gt?: Date | string; - @Field(() => Date, {nullable:true}) - gt?: Date | string; + @Field(() => Date, { nullable: true }) + gte?: Date | string; - @Field(() => Date, {nullable:true}) - gte?: Date | string; + @Field(() => NestedDateTimeNullableWithAggregatesFilter, { nullable: true }) + not?: NestedDateTimeNullableWithAggregatesFilter; - @Field(() => NestedDateTimeNullableWithAggregatesFilter, {nullable:true}) - not?: NestedDateTimeNullableWithAggregatesFilter; + @Field(() => NestedIntNullableFilter, { nullable: true }) + _count?: NestedIntNullableFilter; - @Field(() => NestedIntNullableFilter, {nullable:true}) - _count?: NestedIntNullableFilter; + @Field(() => NestedDateTimeNullableFilter, { nullable: true }) + _min?: NestedDateTimeNullableFilter; - @Field(() => NestedDateTimeNullableFilter, {nullable:true}) - _min?: NestedDateTimeNullableFilter; - - @Field(() => NestedDateTimeNullableFilter, {nullable:true}) - _max?: NestedDateTimeNullableFilter; + @Field(() => NestedDateTimeNullableFilter, { nullable: true }) + _max?: NestedDateTimeNullableFilter; } diff --git a/server/src/api/@generated/prisma/nested-date-time-with-aggregates-filter.input.ts b/server/src/api/@generated/prisma/nested-date-time-with-aggregates-filter.input.ts index 69263fc392..5c884d81c9 100644 --- a/server/src/api/@generated/prisma/nested-date-time-with-aggregates-filter.input.ts +++ b/server/src/api/@generated/prisma/nested-date-time-with-aggregates-filter.input.ts @@ -5,37 +5,36 @@ import { NestedDateTimeFilter } from './nested-date-time-filter.input'; @InputType() export class NestedDateTimeWithAggregatesFilter { + @Field(() => Date, { nullable: true }) + equals?: Date | string; - @Field(() => Date, {nullable:true}) - equals?: Date | string; + @Field(() => [Date], { nullable: true }) + in?: Array | Array; - @Field(() => [Date], {nullable:true}) - in?: Array | Array; + @Field(() => [Date], { nullable: true }) + notIn?: Array | Array; - @Field(() => [Date], {nullable:true}) - notIn?: Array | Array; + @Field(() => Date, { nullable: true }) + lt?: Date | string; - @Field(() => Date, {nullable:true}) - lt?: Date | string; + @Field(() => Date, { nullable: true }) + lte?: Date | string; - @Field(() => Date, {nullable:true}) - lte?: Date | string; + @Field(() => Date, { nullable: true }) + gt?: Date | string; - @Field(() => Date, {nullable:true}) - gt?: Date | string; + @Field(() => Date, { nullable: true }) + gte?: Date | string; - @Field(() => Date, {nullable:true}) - gte?: Date | string; + @Field(() => NestedDateTimeWithAggregatesFilter, { nullable: true }) + not?: NestedDateTimeWithAggregatesFilter; - @Field(() => NestedDateTimeWithAggregatesFilter, {nullable:true}) - not?: NestedDateTimeWithAggregatesFilter; + @Field(() => NestedIntFilter, { nullable: true }) + _count?: NestedIntFilter; - @Field(() => NestedIntFilter, {nullable:true}) - _count?: NestedIntFilter; + @Field(() => NestedDateTimeFilter, { nullable: true }) + _min?: NestedDateTimeFilter; - @Field(() => NestedDateTimeFilter, {nullable:true}) - _min?: NestedDateTimeFilter; - - @Field(() => NestedDateTimeFilter, {nullable:true}) - _max?: NestedDateTimeFilter; + @Field(() => NestedDateTimeFilter, { nullable: true }) + _max?: NestedDateTimeFilter; } diff --git a/server/src/api/@generated/prisma/nested-float-nullable-filter.input.ts b/server/src/api/@generated/prisma/nested-float-nullable-filter.input.ts index 0faf1abd91..4855249dd1 100644 --- a/server/src/api/@generated/prisma/nested-float-nullable-filter.input.ts +++ b/server/src/api/@generated/prisma/nested-float-nullable-filter.input.ts @@ -4,28 +4,27 @@ import { Float } from '@nestjs/graphql'; @InputType() export class NestedFloatNullableFilter { + @Field(() => Float, { nullable: true }) + equals?: number; - @Field(() => Float, {nullable:true}) - equals?: number; + @Field(() => [Float], { nullable: true }) + in?: Array; - @Field(() => [Float], {nullable:true}) - in?: Array; + @Field(() => [Float], { nullable: true }) + notIn?: Array; - @Field(() => [Float], {nullable:true}) - notIn?: Array; + @Field(() => Float, { nullable: true }) + lt?: number; - @Field(() => Float, {nullable:true}) - lt?: number; + @Field(() => Float, { nullable: true }) + lte?: number; - @Field(() => Float, {nullable:true}) - lte?: number; + @Field(() => Float, { nullable: true }) + gt?: number; - @Field(() => Float, {nullable:true}) - gt?: number; + @Field(() => Float, { nullable: true }) + gte?: number; - @Field(() => Float, {nullable:true}) - gte?: number; - - @Field(() => NestedFloatNullableFilter, {nullable:true}) - not?: NestedFloatNullableFilter; + @Field(() => NestedFloatNullableFilter, { nullable: true }) + not?: NestedFloatNullableFilter; } diff --git a/server/src/api/@generated/prisma/nested-int-filter.input.ts b/server/src/api/@generated/prisma/nested-int-filter.input.ts index 57aafddf05..f5087245b8 100644 --- a/server/src/api/@generated/prisma/nested-int-filter.input.ts +++ b/server/src/api/@generated/prisma/nested-int-filter.input.ts @@ -4,28 +4,27 @@ import { Int } from '@nestjs/graphql'; @InputType() export class NestedIntFilter { + @Field(() => Int, { nullable: true }) + equals?: number; - @Field(() => Int, {nullable:true}) - equals?: number; + @Field(() => [Int], { nullable: true }) + in?: Array; - @Field(() => [Int], {nullable:true}) - in?: Array; + @Field(() => [Int], { nullable: true }) + notIn?: Array; - @Field(() => [Int], {nullable:true}) - notIn?: Array; + @Field(() => Int, { nullable: true }) + lt?: number; - @Field(() => Int, {nullable:true}) - lt?: number; + @Field(() => Int, { nullable: true }) + lte?: number; - @Field(() => Int, {nullable:true}) - lte?: number; + @Field(() => Int, { nullable: true }) + gt?: number; - @Field(() => Int, {nullable:true}) - gt?: number; + @Field(() => Int, { nullable: true }) + gte?: number; - @Field(() => Int, {nullable:true}) - gte?: number; - - @Field(() => NestedIntFilter, {nullable:true}) - not?: NestedIntFilter; + @Field(() => NestedIntFilter, { nullable: true }) + not?: NestedIntFilter; } diff --git a/server/src/api/@generated/prisma/nested-int-nullable-filter.input.ts b/server/src/api/@generated/prisma/nested-int-nullable-filter.input.ts index a16c881dd9..6e44310564 100644 --- a/server/src/api/@generated/prisma/nested-int-nullable-filter.input.ts +++ b/server/src/api/@generated/prisma/nested-int-nullable-filter.input.ts @@ -4,28 +4,27 @@ import { Int } from '@nestjs/graphql'; @InputType() export class NestedIntNullableFilter { + @Field(() => Int, { nullable: true }) + equals?: number; - @Field(() => Int, {nullable:true}) - equals?: number; + @Field(() => [Int], { nullable: true }) + in?: Array; - @Field(() => [Int], {nullable:true}) - in?: Array; + @Field(() => [Int], { nullable: true }) + notIn?: Array; - @Field(() => [Int], {nullable:true}) - notIn?: Array; + @Field(() => Int, { nullable: true }) + lt?: number; - @Field(() => Int, {nullable:true}) - lt?: number; + @Field(() => Int, { nullable: true }) + lte?: number; - @Field(() => Int, {nullable:true}) - lte?: number; + @Field(() => Int, { nullable: true }) + gt?: number; - @Field(() => Int, {nullable:true}) - gt?: number; + @Field(() => Int, { nullable: true }) + gte?: number; - @Field(() => Int, {nullable:true}) - gte?: number; - - @Field(() => NestedIntNullableFilter, {nullable:true}) - not?: NestedIntNullableFilter; + @Field(() => NestedIntNullableFilter, { nullable: true }) + not?: NestedIntNullableFilter; } diff --git a/server/src/api/@generated/prisma/nested-int-nullable-with-aggregates-filter.input.ts b/server/src/api/@generated/prisma/nested-int-nullable-with-aggregates-filter.input.ts index fc21aeac09..78e6297a4c 100644 --- a/server/src/api/@generated/prisma/nested-int-nullable-with-aggregates-filter.input.ts +++ b/server/src/api/@generated/prisma/nested-int-nullable-with-aggregates-filter.input.ts @@ -6,43 +6,42 @@ import { NestedFloatNullableFilter } from './nested-float-nullable-filter.input' @InputType() export class NestedIntNullableWithAggregatesFilter { + @Field(() => Int, { nullable: true }) + equals?: number; - @Field(() => Int, {nullable:true}) - equals?: number; + @Field(() => [Int], { nullable: true }) + in?: Array; - @Field(() => [Int], {nullable:true}) - in?: Array; + @Field(() => [Int], { nullable: true }) + notIn?: Array; - @Field(() => [Int], {nullable:true}) - notIn?: Array; + @Field(() => Int, { nullable: true }) + lt?: number; - @Field(() => Int, {nullable:true}) - lt?: number; + @Field(() => Int, { nullable: true }) + lte?: number; - @Field(() => Int, {nullable:true}) - lte?: number; + @Field(() => Int, { nullable: true }) + gt?: number; - @Field(() => Int, {nullable:true}) - gt?: number; + @Field(() => Int, { nullable: true }) + gte?: number; - @Field(() => Int, {nullable:true}) - gte?: number; + @Field(() => NestedIntNullableWithAggregatesFilter, { nullable: true }) + not?: NestedIntNullableWithAggregatesFilter; - @Field(() => NestedIntNullableWithAggregatesFilter, {nullable:true}) - not?: NestedIntNullableWithAggregatesFilter; + @Field(() => NestedIntNullableFilter, { nullable: true }) + _count?: NestedIntNullableFilter; - @Field(() => NestedIntNullableFilter, {nullable:true}) - _count?: NestedIntNullableFilter; + @Field(() => NestedFloatNullableFilter, { nullable: true }) + _avg?: NestedFloatNullableFilter; - @Field(() => NestedFloatNullableFilter, {nullable:true}) - _avg?: NestedFloatNullableFilter; + @Field(() => NestedIntNullableFilter, { nullable: true }) + _sum?: NestedIntNullableFilter; - @Field(() => NestedIntNullableFilter, {nullable:true}) - _sum?: NestedIntNullableFilter; + @Field(() => NestedIntNullableFilter, { nullable: true }) + _min?: NestedIntNullableFilter; - @Field(() => NestedIntNullableFilter, {nullable:true}) - _min?: NestedIntNullableFilter; - - @Field(() => NestedIntNullableFilter, {nullable:true}) - _max?: NestedIntNullableFilter; + @Field(() => NestedIntNullableFilter, { nullable: true }) + _max?: NestedIntNullableFilter; } diff --git a/server/src/api/@generated/prisma/nested-json-nullable-filter.input.ts b/server/src/api/@generated/prisma/nested-json-nullable-filter.input.ts index f03cc42bae..d7ad6e797c 100644 --- a/server/src/api/@generated/prisma/nested-json-nullable-filter.input.ts +++ b/server/src/api/@generated/prisma/nested-json-nullable-filter.input.ts @@ -4,43 +4,42 @@ import { GraphQLJSON } from 'graphql-type-json'; @InputType() export class NestedJsonNullableFilter { + @Field(() => GraphQLJSON, { nullable: true }) + equals?: any; - @Field(() => GraphQLJSON, {nullable:true}) - equals?: any; + @Field(() => [String], { nullable: true }) + path?: Array; - @Field(() => [String], {nullable:true}) - path?: Array; + @Field(() => String, { nullable: true }) + string_contains?: string; - @Field(() => String, {nullable:true}) - string_contains?: string; + @Field(() => String, { nullable: true }) + string_starts_with?: string; - @Field(() => String, {nullable:true}) - string_starts_with?: string; + @Field(() => String, { nullable: true }) + string_ends_with?: string; - @Field(() => String, {nullable:true}) - string_ends_with?: string; + @Field(() => GraphQLJSON, { nullable: true }) + array_contains?: any; - @Field(() => GraphQLJSON, {nullable:true}) - array_contains?: any; + @Field(() => GraphQLJSON, { nullable: true }) + array_starts_with?: any; - @Field(() => GraphQLJSON, {nullable:true}) - array_starts_with?: any; + @Field(() => GraphQLJSON, { nullable: true }) + array_ends_with?: any; - @Field(() => GraphQLJSON, {nullable:true}) - array_ends_with?: any; + @Field(() => GraphQLJSON, { nullable: true }) + lt?: any; - @Field(() => GraphQLJSON, {nullable:true}) - lt?: any; + @Field(() => GraphQLJSON, { nullable: true }) + lte?: any; - @Field(() => GraphQLJSON, {nullable:true}) - lte?: any; + @Field(() => GraphQLJSON, { nullable: true }) + gt?: any; - @Field(() => GraphQLJSON, {nullable:true}) - gt?: any; + @Field(() => GraphQLJSON, { nullable: true }) + gte?: any; - @Field(() => GraphQLJSON, {nullable:true}) - gte?: any; - - @Field(() => GraphQLJSON, {nullable:true}) - not?: any; + @Field(() => GraphQLJSON, { nullable: true }) + not?: any; } diff --git a/server/src/api/@generated/prisma/nested-string-filter.input.ts b/server/src/api/@generated/prisma/nested-string-filter.input.ts index 123325f3e4..89536abe0e 100644 --- a/server/src/api/@generated/prisma/nested-string-filter.input.ts +++ b/server/src/api/@generated/prisma/nested-string-filter.input.ts @@ -3,37 +3,36 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class NestedStringFilter { + @Field(() => String, { nullable: true }) + equals?: string; - @Field(() => String, {nullable:true}) - equals?: string; + @Field(() => [String], { nullable: true }) + in?: Array; - @Field(() => [String], {nullable:true}) - in?: Array; + @Field(() => [String], { nullable: true }) + notIn?: Array; - @Field(() => [String], {nullable:true}) - notIn?: Array; + @Field(() => String, { nullable: true }) + lt?: string; - @Field(() => String, {nullable:true}) - lt?: string; + @Field(() => String, { nullable: true }) + lte?: string; - @Field(() => String, {nullable:true}) - lte?: string; + @Field(() => String, { nullable: true }) + gt?: string; - @Field(() => String, {nullable:true}) - gt?: string; + @Field(() => String, { nullable: true }) + gte?: string; - @Field(() => String, {nullable:true}) - gte?: string; + @Field(() => String, { nullable: true }) + contains?: string; - @Field(() => String, {nullable:true}) - contains?: string; + @Field(() => String, { nullable: true }) + startsWith?: string; - @Field(() => String, {nullable:true}) - startsWith?: string; + @Field(() => String, { nullable: true }) + endsWith?: string; - @Field(() => String, {nullable:true}) - endsWith?: string; - - @Field(() => NestedStringFilter, {nullable:true}) - not?: NestedStringFilter; + @Field(() => NestedStringFilter, { nullable: true }) + not?: NestedStringFilter; } diff --git a/server/src/api/@generated/prisma/nested-string-nullable-filter.input.ts b/server/src/api/@generated/prisma/nested-string-nullable-filter.input.ts index 6924a935c7..d6ebdf1733 100644 --- a/server/src/api/@generated/prisma/nested-string-nullable-filter.input.ts +++ b/server/src/api/@generated/prisma/nested-string-nullable-filter.input.ts @@ -3,37 +3,36 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class NestedStringNullableFilter { + @Field(() => String, { nullable: true }) + equals?: string; - @Field(() => String, {nullable:true}) - equals?: string; + @Field(() => [String], { nullable: true }) + in?: Array; - @Field(() => [String], {nullable:true}) - in?: Array; + @Field(() => [String], { nullable: true }) + notIn?: Array; - @Field(() => [String], {nullable:true}) - notIn?: Array; + @Field(() => String, { nullable: true }) + lt?: string; - @Field(() => String, {nullable:true}) - lt?: string; + @Field(() => String, { nullable: true }) + lte?: string; - @Field(() => String, {nullable:true}) - lte?: string; + @Field(() => String, { nullable: true }) + gt?: string; - @Field(() => String, {nullable:true}) - gt?: string; + @Field(() => String, { nullable: true }) + gte?: string; - @Field(() => String, {nullable:true}) - gte?: string; + @Field(() => String, { nullable: true }) + contains?: string; - @Field(() => String, {nullable:true}) - contains?: string; + @Field(() => String, { nullable: true }) + startsWith?: string; - @Field(() => String, {nullable:true}) - startsWith?: string; + @Field(() => String, { nullable: true }) + endsWith?: string; - @Field(() => String, {nullable:true}) - endsWith?: string; - - @Field(() => NestedStringNullableFilter, {nullable:true}) - not?: NestedStringNullableFilter; + @Field(() => NestedStringNullableFilter, { nullable: true }) + not?: NestedStringNullableFilter; } diff --git a/server/src/api/@generated/prisma/nested-string-nullable-with-aggregates-filter.input.ts b/server/src/api/@generated/prisma/nested-string-nullable-with-aggregates-filter.input.ts index c147b2df61..feb1ec485d 100644 --- a/server/src/api/@generated/prisma/nested-string-nullable-with-aggregates-filter.input.ts +++ b/server/src/api/@generated/prisma/nested-string-nullable-with-aggregates-filter.input.ts @@ -5,46 +5,45 @@ import { NestedStringNullableFilter } from './nested-string-nullable-filter.inpu @InputType() export class NestedStringNullableWithAggregatesFilter { + @Field(() => String, { nullable: true }) + equals?: string; - @Field(() => String, {nullable:true}) - equals?: string; + @Field(() => [String], { nullable: true }) + in?: Array; - @Field(() => [String], {nullable:true}) - in?: Array; + @Field(() => [String], { nullable: true }) + notIn?: Array; - @Field(() => [String], {nullable:true}) - notIn?: Array; + @Field(() => String, { nullable: true }) + lt?: string; - @Field(() => String, {nullable:true}) - lt?: string; + @Field(() => String, { nullable: true }) + lte?: string; - @Field(() => String, {nullable:true}) - lte?: string; + @Field(() => String, { nullable: true }) + gt?: string; - @Field(() => String, {nullable:true}) - gt?: string; + @Field(() => String, { nullable: true }) + gte?: string; - @Field(() => String, {nullable:true}) - gte?: string; + @Field(() => String, { nullable: true }) + contains?: string; - @Field(() => String, {nullable:true}) - contains?: string; + @Field(() => String, { nullable: true }) + startsWith?: string; - @Field(() => String, {nullable:true}) - startsWith?: string; + @Field(() => String, { nullable: true }) + endsWith?: string; - @Field(() => String, {nullable:true}) - endsWith?: string; + @Field(() => NestedStringNullableWithAggregatesFilter, { nullable: true }) + not?: NestedStringNullableWithAggregatesFilter; - @Field(() => NestedStringNullableWithAggregatesFilter, {nullable:true}) - not?: NestedStringNullableWithAggregatesFilter; + @Field(() => NestedIntNullableFilter, { nullable: true }) + _count?: NestedIntNullableFilter; - @Field(() => NestedIntNullableFilter, {nullable:true}) - _count?: NestedIntNullableFilter; + @Field(() => NestedStringNullableFilter, { nullable: true }) + _min?: NestedStringNullableFilter; - @Field(() => NestedStringNullableFilter, {nullable:true}) - _min?: NestedStringNullableFilter; - - @Field(() => NestedStringNullableFilter, {nullable:true}) - _max?: NestedStringNullableFilter; + @Field(() => NestedStringNullableFilter, { nullable: true }) + _max?: NestedStringNullableFilter; } diff --git a/server/src/api/@generated/prisma/nested-string-with-aggregates-filter.input.ts b/server/src/api/@generated/prisma/nested-string-with-aggregates-filter.input.ts index 027db0fb32..a1ddd94639 100644 --- a/server/src/api/@generated/prisma/nested-string-with-aggregates-filter.input.ts +++ b/server/src/api/@generated/prisma/nested-string-with-aggregates-filter.input.ts @@ -5,46 +5,45 @@ import { NestedStringFilter } from './nested-string-filter.input'; @InputType() export class NestedStringWithAggregatesFilter { + @Field(() => String, { nullable: true }) + equals?: string; - @Field(() => String, {nullable:true}) - equals?: string; + @Field(() => [String], { nullable: true }) + in?: Array; - @Field(() => [String], {nullable:true}) - in?: Array; + @Field(() => [String], { nullable: true }) + notIn?: Array; - @Field(() => [String], {nullable:true}) - notIn?: Array; + @Field(() => String, { nullable: true }) + lt?: string; - @Field(() => String, {nullable:true}) - lt?: string; + @Field(() => String, { nullable: true }) + lte?: string; - @Field(() => String, {nullable:true}) - lte?: string; + @Field(() => String, { nullable: true }) + gt?: string; - @Field(() => String, {nullable:true}) - gt?: string; + @Field(() => String, { nullable: true }) + gte?: string; - @Field(() => String, {nullable:true}) - gte?: string; + @Field(() => String, { nullable: true }) + contains?: string; - @Field(() => String, {nullable:true}) - contains?: string; + @Field(() => String, { nullable: true }) + startsWith?: string; - @Field(() => String, {nullable:true}) - startsWith?: string; + @Field(() => String, { nullable: true }) + endsWith?: string; - @Field(() => String, {nullable:true}) - endsWith?: string; + @Field(() => NestedStringWithAggregatesFilter, { nullable: true }) + not?: NestedStringWithAggregatesFilter; - @Field(() => NestedStringWithAggregatesFilter, {nullable:true}) - not?: NestedStringWithAggregatesFilter; + @Field(() => NestedIntFilter, { nullable: true }) + _count?: NestedIntFilter; - @Field(() => NestedIntFilter, {nullable:true}) - _count?: NestedIntFilter; + @Field(() => NestedStringFilter, { nullable: true }) + _min?: NestedStringFilter; - @Field(() => NestedStringFilter, {nullable:true}) - _min?: NestedStringFilter; - - @Field(() => NestedStringFilter, {nullable:true}) - _max?: NestedStringFilter; + @Field(() => NestedStringFilter, { nullable: true }) + _max?: NestedStringFilter; } diff --git a/server/src/api/@generated/prisma/nullable-date-time-field-update-operations.input.ts b/server/src/api/@generated/prisma/nullable-date-time-field-update-operations.input.ts index a3c47a9f7c..1ddc0b007e 100644 --- a/server/src/api/@generated/prisma/nullable-date-time-field-update-operations.input.ts +++ b/server/src/api/@generated/prisma/nullable-date-time-field-update-operations.input.ts @@ -3,7 +3,6 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class NullableDateTimeFieldUpdateOperationsInput { - - @Field(() => Date, {nullable:true}) - set?: Date | string; + @Field(() => Date, { nullable: true }) + set?: Date | string; } diff --git a/server/src/api/@generated/prisma/nullable-int-field-update-operations.input.ts b/server/src/api/@generated/prisma/nullable-int-field-update-operations.input.ts index 6f8f3939b7..81e6e47222 100644 --- a/server/src/api/@generated/prisma/nullable-int-field-update-operations.input.ts +++ b/server/src/api/@generated/prisma/nullable-int-field-update-operations.input.ts @@ -4,19 +4,18 @@ import { Int } from '@nestjs/graphql'; @InputType() export class NullableIntFieldUpdateOperationsInput { + @Field(() => Int, { nullable: true }) + set?: number; - @Field(() => Int, {nullable:true}) - set?: number; + @Field(() => Int, { nullable: true }) + increment?: number; - @Field(() => Int, {nullable:true}) - increment?: number; + @Field(() => Int, { nullable: true }) + decrement?: number; - @Field(() => Int, {nullable:true}) - decrement?: number; + @Field(() => Int, { nullable: true }) + multiply?: number; - @Field(() => Int, {nullable:true}) - multiply?: number; - - @Field(() => Int, {nullable:true}) - divide?: number; + @Field(() => Int, { nullable: true }) + divide?: number; } diff --git a/server/src/api/@generated/prisma/nullable-json-null-value-input.enum.ts b/server/src/api/@generated/prisma/nullable-json-null-value-input.enum.ts index a4144ec5e5..5e7fc4757f 100644 --- a/server/src/api/@generated/prisma/nullable-json-null-value-input.enum.ts +++ b/server/src/api/@generated/prisma/nullable-json-null-value-input.enum.ts @@ -1,9 +1,11 @@ import { registerEnumType } from '@nestjs/graphql'; export enum NullableJsonNullValueInput { - DbNull = "DbNull", - JsonNull = "JsonNull" + DbNull = 'DbNull', + JsonNull = 'JsonNull', } - -registerEnumType(NullableJsonNullValueInput, { name: 'NullableJsonNullValueInput', description: undefined }) +registerEnumType(NullableJsonNullValueInput, { + name: 'NullableJsonNullValueInput', + description: undefined, +}); diff --git a/server/src/api/@generated/prisma/nullable-string-field-update-operations.input.ts b/server/src/api/@generated/prisma/nullable-string-field-update-operations.input.ts index c956508b54..02bf720809 100644 --- a/server/src/api/@generated/prisma/nullable-string-field-update-operations.input.ts +++ b/server/src/api/@generated/prisma/nullable-string-field-update-operations.input.ts @@ -3,7 +3,6 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class NullableStringFieldUpdateOperationsInput { - - @Field(() => String, {nullable:true}) - set?: string; + @Field(() => String, { nullable: true }) + set?: string; } diff --git a/server/src/api/@generated/prisma/query-mode.enum.ts b/server/src/api/@generated/prisma/query-mode.enum.ts index bf260c806c..07c08d7bf7 100644 --- a/server/src/api/@generated/prisma/query-mode.enum.ts +++ b/server/src/api/@generated/prisma/query-mode.enum.ts @@ -1,9 +1,8 @@ import { registerEnumType } from '@nestjs/graphql'; export enum QueryMode { - 'default' = "default", - insensitive = "insensitive" + 'default' = 'default', + insensitive = 'insensitive', } - -registerEnumType(QueryMode, { name: 'QueryMode', description: undefined }) +registerEnumType(QueryMode, { name: 'QueryMode', description: undefined }); diff --git a/server/src/api/@generated/prisma/sort-order.enum.ts b/server/src/api/@generated/prisma/sort-order.enum.ts index caeff7d9f4..6e8160a8f9 100644 --- a/server/src/api/@generated/prisma/sort-order.enum.ts +++ b/server/src/api/@generated/prisma/sort-order.enum.ts @@ -1,9 +1,8 @@ import { registerEnumType } from '@nestjs/graphql'; export enum SortOrder { - asc = "asc", - desc = "desc" + asc = 'asc', + desc = 'desc', } - -registerEnumType(SortOrder, { name: 'SortOrder', description: undefined }) +registerEnumType(SortOrder, { name: 'SortOrder', description: undefined }); diff --git a/server/src/api/@generated/prisma/string-field-update-operations.input.ts b/server/src/api/@generated/prisma/string-field-update-operations.input.ts index 002169f7b4..63612bb9dd 100644 --- a/server/src/api/@generated/prisma/string-field-update-operations.input.ts +++ b/server/src/api/@generated/prisma/string-field-update-operations.input.ts @@ -3,7 +3,6 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class StringFieldUpdateOperationsInput { - - @Field(() => String, {nullable:true}) - set?: string; + @Field(() => String, { nullable: true }) + set?: string; } diff --git a/server/src/api/@generated/prisma/string-filter.input.ts b/server/src/api/@generated/prisma/string-filter.input.ts index 4df55ae7f8..889891f15b 100644 --- a/server/src/api/@generated/prisma/string-filter.input.ts +++ b/server/src/api/@generated/prisma/string-filter.input.ts @@ -5,40 +5,39 @@ import { NestedStringFilter } from './nested-string-filter.input'; @InputType() export class StringFilter { + @Field(() => String, { nullable: true }) + equals?: string; - @Field(() => String, {nullable:true}) - equals?: string; + @Field(() => [String], { nullable: true }) + in?: Array; - @Field(() => [String], {nullable:true}) - in?: Array; + @Field(() => [String], { nullable: true }) + notIn?: Array; - @Field(() => [String], {nullable:true}) - notIn?: Array; + @Field(() => String, { nullable: true }) + lt?: string; - @Field(() => String, {nullable:true}) - lt?: string; + @Field(() => String, { nullable: true }) + lte?: string; - @Field(() => String, {nullable:true}) - lte?: string; + @Field(() => String, { nullable: true }) + gt?: string; - @Field(() => String, {nullable:true}) - gt?: string; + @Field(() => String, { nullable: true }) + gte?: string; - @Field(() => String, {nullable:true}) - gte?: string; + @Field(() => String, { nullable: true }) + contains?: string; - @Field(() => String, {nullable:true}) - contains?: string; + @Field(() => String, { nullable: true }) + startsWith?: string; - @Field(() => String, {nullable:true}) - startsWith?: string; + @Field(() => String, { nullable: true }) + endsWith?: string; - @Field(() => String, {nullable:true}) - endsWith?: string; + @Field(() => QueryMode, { nullable: true }) + mode?: keyof typeof QueryMode; - @Field(() => QueryMode, {nullable:true}) - mode?: keyof typeof QueryMode; - - @Field(() => NestedStringFilter, {nullable:true}) - not?: NestedStringFilter; + @Field(() => NestedStringFilter, { nullable: true }) + not?: NestedStringFilter; } diff --git a/server/src/api/@generated/prisma/string-nullable-filter.input.ts b/server/src/api/@generated/prisma/string-nullable-filter.input.ts index a20709fdac..36f0099aa3 100644 --- a/server/src/api/@generated/prisma/string-nullable-filter.input.ts +++ b/server/src/api/@generated/prisma/string-nullable-filter.input.ts @@ -5,40 +5,39 @@ import { NestedStringNullableFilter } from './nested-string-nullable-filter.inpu @InputType() export class StringNullableFilter { + @Field(() => String, { nullable: true }) + equals?: string; - @Field(() => String, {nullable:true}) - equals?: string; + @Field(() => [String], { nullable: true }) + in?: Array; - @Field(() => [String], {nullable:true}) - in?: Array; + @Field(() => [String], { nullable: true }) + notIn?: Array; - @Field(() => [String], {nullable:true}) - notIn?: Array; + @Field(() => String, { nullable: true }) + lt?: string; - @Field(() => String, {nullable:true}) - lt?: string; + @Field(() => String, { nullable: true }) + lte?: string; - @Field(() => String, {nullable:true}) - lte?: string; + @Field(() => String, { nullable: true }) + gt?: string; - @Field(() => String, {nullable:true}) - gt?: string; + @Field(() => String, { nullable: true }) + gte?: string; - @Field(() => String, {nullable:true}) - gte?: string; + @Field(() => String, { nullable: true }) + contains?: string; - @Field(() => String, {nullable:true}) - contains?: string; + @Field(() => String, { nullable: true }) + startsWith?: string; - @Field(() => String, {nullable:true}) - startsWith?: string; + @Field(() => String, { nullable: true }) + endsWith?: string; - @Field(() => String, {nullable:true}) - endsWith?: string; + @Field(() => QueryMode, { nullable: true }) + mode?: keyof typeof QueryMode; - @Field(() => QueryMode, {nullable:true}) - mode?: keyof typeof QueryMode; - - @Field(() => NestedStringNullableFilter, {nullable:true}) - not?: NestedStringNullableFilter; + @Field(() => NestedStringNullableFilter, { nullable: true }) + not?: NestedStringNullableFilter; } diff --git a/server/src/api/@generated/prisma/string-nullable-with-aggregates-filter.input.ts b/server/src/api/@generated/prisma/string-nullable-with-aggregates-filter.input.ts index 3a40b44811..03a0add7bb 100644 --- a/server/src/api/@generated/prisma/string-nullable-with-aggregates-filter.input.ts +++ b/server/src/api/@generated/prisma/string-nullable-with-aggregates-filter.input.ts @@ -7,49 +7,48 @@ import { NestedStringNullableFilter } from './nested-string-nullable-filter.inpu @InputType() export class StringNullableWithAggregatesFilter { + @Field(() => String, { nullable: true }) + equals?: string; - @Field(() => String, {nullable:true}) - equals?: string; + @Field(() => [String], { nullable: true }) + in?: Array; - @Field(() => [String], {nullable:true}) - in?: Array; + @Field(() => [String], { nullable: true }) + notIn?: Array; - @Field(() => [String], {nullable:true}) - notIn?: Array; + @Field(() => String, { nullable: true }) + lt?: string; - @Field(() => String, {nullable:true}) - lt?: string; + @Field(() => String, { nullable: true }) + lte?: string; - @Field(() => String, {nullable:true}) - lte?: string; + @Field(() => String, { nullable: true }) + gt?: string; - @Field(() => String, {nullable:true}) - gt?: string; + @Field(() => String, { nullable: true }) + gte?: string; - @Field(() => String, {nullable:true}) - gte?: string; + @Field(() => String, { nullable: true }) + contains?: string; - @Field(() => String, {nullable:true}) - contains?: string; + @Field(() => String, { nullable: true }) + startsWith?: string; - @Field(() => String, {nullable:true}) - startsWith?: string; + @Field(() => String, { nullable: true }) + endsWith?: string; - @Field(() => String, {nullable:true}) - endsWith?: string; + @Field(() => QueryMode, { nullable: true }) + mode?: keyof typeof QueryMode; - @Field(() => QueryMode, {nullable:true}) - mode?: keyof typeof QueryMode; + @Field(() => NestedStringNullableWithAggregatesFilter, { nullable: true }) + not?: NestedStringNullableWithAggregatesFilter; - @Field(() => NestedStringNullableWithAggregatesFilter, {nullable:true}) - not?: NestedStringNullableWithAggregatesFilter; + @Field(() => NestedIntNullableFilter, { nullable: true }) + _count?: NestedIntNullableFilter; - @Field(() => NestedIntNullableFilter, {nullable:true}) - _count?: NestedIntNullableFilter; + @Field(() => NestedStringNullableFilter, { nullable: true }) + _min?: NestedStringNullableFilter; - @Field(() => NestedStringNullableFilter, {nullable:true}) - _min?: NestedStringNullableFilter; - - @Field(() => NestedStringNullableFilter, {nullable:true}) - _max?: NestedStringNullableFilter; + @Field(() => NestedStringNullableFilter, { nullable: true }) + _max?: NestedStringNullableFilter; } diff --git a/server/src/api/@generated/prisma/string-with-aggregates-filter.input.ts b/server/src/api/@generated/prisma/string-with-aggregates-filter.input.ts index 54a660b138..91bb7c5459 100644 --- a/server/src/api/@generated/prisma/string-with-aggregates-filter.input.ts +++ b/server/src/api/@generated/prisma/string-with-aggregates-filter.input.ts @@ -7,49 +7,48 @@ import { NestedStringFilter } from './nested-string-filter.input'; @InputType() export class StringWithAggregatesFilter { + @Field(() => String, { nullable: true }) + equals?: string; - @Field(() => String, {nullable:true}) - equals?: string; + @Field(() => [String], { nullable: true }) + in?: Array; - @Field(() => [String], {nullable:true}) - in?: Array; + @Field(() => [String], { nullable: true }) + notIn?: Array; - @Field(() => [String], {nullable:true}) - notIn?: Array; + @Field(() => String, { nullable: true }) + lt?: string; - @Field(() => String, {nullable:true}) - lt?: string; + @Field(() => String, { nullable: true }) + lte?: string; - @Field(() => String, {nullable:true}) - lte?: string; + @Field(() => String, { nullable: true }) + gt?: string; - @Field(() => String, {nullable:true}) - gt?: string; + @Field(() => String, { nullable: true }) + gte?: string; - @Field(() => String, {nullable:true}) - gte?: string; + @Field(() => String, { nullable: true }) + contains?: string; - @Field(() => String, {nullable:true}) - contains?: string; + @Field(() => String, { nullable: true }) + startsWith?: string; - @Field(() => String, {nullable:true}) - startsWith?: string; + @Field(() => String, { nullable: true }) + endsWith?: string; - @Field(() => String, {nullable:true}) - endsWith?: string; + @Field(() => QueryMode, { nullable: true }) + mode?: keyof typeof QueryMode; - @Field(() => QueryMode, {nullable:true}) - mode?: keyof typeof QueryMode; + @Field(() => NestedStringWithAggregatesFilter, { nullable: true }) + not?: NestedStringWithAggregatesFilter; - @Field(() => NestedStringWithAggregatesFilter, {nullable:true}) - not?: NestedStringWithAggregatesFilter; + @Field(() => NestedIntFilter, { nullable: true }) + _count?: NestedIntFilter; - @Field(() => NestedIntFilter, {nullable:true}) - _count?: NestedIntFilter; + @Field(() => NestedStringFilter, { nullable: true }) + _min?: NestedStringFilter; - @Field(() => NestedStringFilter, {nullable:true}) - _min?: NestedStringFilter; - - @Field(() => NestedStringFilter, {nullable:true}) - _max?: NestedStringFilter; + @Field(() => NestedStringFilter, { nullable: true }) + _max?: NestedStringFilter; } diff --git a/server/src/api/@generated/prisma/transaction-isolation-level.enum.ts b/server/src/api/@generated/prisma/transaction-isolation-level.enum.ts index f9e39c220f..481d17be47 100644 --- a/server/src/api/@generated/prisma/transaction-isolation-level.enum.ts +++ b/server/src/api/@generated/prisma/transaction-isolation-level.enum.ts @@ -1,11 +1,13 @@ import { registerEnumType } from '@nestjs/graphql'; export enum TransactionIsolationLevel { - ReadUncommitted = "ReadUncommitted", - ReadCommitted = "ReadCommitted", - RepeatableRead = "RepeatableRead", - Serializable = "Serializable" + ReadUncommitted = 'ReadUncommitted', + ReadCommitted = 'ReadCommitted', + RepeatableRead = 'RepeatableRead', + Serializable = 'Serializable', } - -registerEnumType(TransactionIsolationLevel, { name: 'TransactionIsolationLevel', description: undefined }) +registerEnumType(TransactionIsolationLevel, { + name: 'TransactionIsolationLevel', + description: undefined, +}); diff --git a/server/src/api/@generated/refresh-token/aggregate-refresh-token.output.ts b/server/src/api/@generated/refresh-token/aggregate-refresh-token.output.ts index c79f100445..9b2c57bf61 100644 --- a/server/src/api/@generated/refresh-token/aggregate-refresh-token.output.ts +++ b/server/src/api/@generated/refresh-token/aggregate-refresh-token.output.ts @@ -6,13 +6,12 @@ import { RefreshTokenMaxAggregate } from './refresh-token-max-aggregate.output'; @ObjectType() export class AggregateRefreshToken { + @Field(() => RefreshTokenCountAggregate, { nullable: true }) + _count?: RefreshTokenCountAggregate; - @Field(() => RefreshTokenCountAggregate, {nullable:true}) - _count?: RefreshTokenCountAggregate; + @Field(() => RefreshTokenMinAggregate, { nullable: true }) + _min?: RefreshTokenMinAggregate; - @Field(() => RefreshTokenMinAggregate, {nullable:true}) - _min?: RefreshTokenMinAggregate; - - @Field(() => RefreshTokenMaxAggregate, {nullable:true}) - _max?: RefreshTokenMaxAggregate; + @Field(() => RefreshTokenMaxAggregate, { nullable: true }) + _max?: RefreshTokenMaxAggregate; } diff --git a/server/src/api/@generated/refresh-token/create-many-refresh-token.args.ts b/server/src/api/@generated/refresh-token/create-many-refresh-token.args.ts index c668f92fd8..3821d23f7e 100644 --- a/server/src/api/@generated/refresh-token/create-many-refresh-token.args.ts +++ b/server/src/api/@generated/refresh-token/create-many-refresh-token.args.ts @@ -5,11 +5,10 @@ import { Type } from 'class-transformer'; @ArgsType() export class CreateManyRefreshTokenArgs { + @Field(() => [RefreshTokenCreateManyInput], { nullable: false }) + @Type(() => RefreshTokenCreateManyInput) + data!: Array; - @Field(() => [RefreshTokenCreateManyInput], {nullable:false}) - @Type(() => RefreshTokenCreateManyInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; + @Field(() => Boolean, { nullable: true }) + skipDuplicates?: boolean; } diff --git a/server/src/api/@generated/refresh-token/create-one-refresh-token.args.ts b/server/src/api/@generated/refresh-token/create-one-refresh-token.args.ts index f07f843130..c3ffdbbc72 100644 --- a/server/src/api/@generated/refresh-token/create-one-refresh-token.args.ts +++ b/server/src/api/@generated/refresh-token/create-one-refresh-token.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class CreateOneRefreshTokenArgs { - - @Field(() => RefreshTokenCreateInput, {nullable:false}) - @Type(() => RefreshTokenCreateInput) - data!: RefreshTokenCreateInput; + @Field(() => RefreshTokenCreateInput, { nullable: false }) + @Type(() => RefreshTokenCreateInput) + data!: RefreshTokenCreateInput; } diff --git a/server/src/api/@generated/refresh-token/delete-many-refresh-token.args.ts b/server/src/api/@generated/refresh-token/delete-many-refresh-token.args.ts index 66f83a05d8..419714267f 100644 --- a/server/src/api/@generated/refresh-token/delete-many-refresh-token.args.ts +++ b/server/src/api/@generated/refresh-token/delete-many-refresh-token.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class DeleteManyRefreshTokenArgs { - - @Field(() => RefreshTokenWhereInput, {nullable:true}) - @Type(() => RefreshTokenWhereInput) - where?: RefreshTokenWhereInput; + @Field(() => RefreshTokenWhereInput, { nullable: true }) + @Type(() => RefreshTokenWhereInput) + where?: RefreshTokenWhereInput; } diff --git a/server/src/api/@generated/refresh-token/delete-one-refresh-token.args.ts b/server/src/api/@generated/refresh-token/delete-one-refresh-token.args.ts index d7d34a3531..cf37c2b62b 100644 --- a/server/src/api/@generated/refresh-token/delete-one-refresh-token.args.ts +++ b/server/src/api/@generated/refresh-token/delete-one-refresh-token.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class DeleteOneRefreshTokenArgs { - - @Field(() => RefreshTokenWhereUniqueInput, {nullable:false}) - @Type(() => RefreshTokenWhereUniqueInput) - where!: RefreshTokenWhereUniqueInput; + @Field(() => RefreshTokenWhereUniqueInput, { nullable: false }) + @Type(() => RefreshTokenWhereUniqueInput) + where!: RefreshTokenWhereUniqueInput; } diff --git a/server/src/api/@generated/refresh-token/find-first-refresh-token-or-throw.args.ts b/server/src/api/@generated/refresh-token/find-first-refresh-token-or-throw.args.ts index 3f1472b6f8..6626bd38ef 100644 --- a/server/src/api/@generated/refresh-token/find-first-refresh-token-or-throw.args.ts +++ b/server/src/api/@generated/refresh-token/find-first-refresh-token-or-throw.args.ts @@ -9,23 +9,22 @@ import { RefreshTokenScalarFieldEnum } from './refresh-token-scalar-field.enum'; @ArgsType() export class FindFirstRefreshTokenOrThrowArgs { + @Field(() => RefreshTokenWhereInput, { nullable: true }) + @Type(() => RefreshTokenWhereInput) + where?: RefreshTokenWhereInput; - @Field(() => RefreshTokenWhereInput, {nullable:true}) - @Type(() => RefreshTokenWhereInput) - where?: RefreshTokenWhereInput; + @Field(() => [RefreshTokenOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [RefreshTokenOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; + @Field(() => RefreshTokenWhereUniqueInput, { nullable: true }) + cursor?: RefreshTokenWhereUniqueInput; - @Field(() => RefreshTokenWhereUniqueInput, {nullable:true}) - cursor?: RefreshTokenWhereUniqueInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [RefreshTokenScalarFieldEnum], {nullable:true}) - distinct?: Array; + @Field(() => [RefreshTokenScalarFieldEnum], { nullable: true }) + distinct?: Array; } diff --git a/server/src/api/@generated/refresh-token/find-first-refresh-token.args.ts b/server/src/api/@generated/refresh-token/find-first-refresh-token.args.ts index 3fc1923816..819c04bdea 100644 --- a/server/src/api/@generated/refresh-token/find-first-refresh-token.args.ts +++ b/server/src/api/@generated/refresh-token/find-first-refresh-token.args.ts @@ -9,23 +9,22 @@ import { RefreshTokenScalarFieldEnum } from './refresh-token-scalar-field.enum'; @ArgsType() export class FindFirstRefreshTokenArgs { + @Field(() => RefreshTokenWhereInput, { nullable: true }) + @Type(() => RefreshTokenWhereInput) + where?: RefreshTokenWhereInput; - @Field(() => RefreshTokenWhereInput, {nullable:true}) - @Type(() => RefreshTokenWhereInput) - where?: RefreshTokenWhereInput; + @Field(() => [RefreshTokenOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [RefreshTokenOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; + @Field(() => RefreshTokenWhereUniqueInput, { nullable: true }) + cursor?: RefreshTokenWhereUniqueInput; - @Field(() => RefreshTokenWhereUniqueInput, {nullable:true}) - cursor?: RefreshTokenWhereUniqueInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [RefreshTokenScalarFieldEnum], {nullable:true}) - distinct?: Array; + @Field(() => [RefreshTokenScalarFieldEnum], { nullable: true }) + distinct?: Array; } diff --git a/server/src/api/@generated/refresh-token/find-many-refresh-token.args.ts b/server/src/api/@generated/refresh-token/find-many-refresh-token.args.ts index 6a4d9b5019..5413978a46 100644 --- a/server/src/api/@generated/refresh-token/find-many-refresh-token.args.ts +++ b/server/src/api/@generated/refresh-token/find-many-refresh-token.args.ts @@ -9,23 +9,22 @@ import { RefreshTokenScalarFieldEnum } from './refresh-token-scalar-field.enum'; @ArgsType() export class FindManyRefreshTokenArgs { + @Field(() => RefreshTokenWhereInput, { nullable: true }) + @Type(() => RefreshTokenWhereInput) + where?: RefreshTokenWhereInput; - @Field(() => RefreshTokenWhereInput, {nullable:true}) - @Type(() => RefreshTokenWhereInput) - where?: RefreshTokenWhereInput; + @Field(() => [RefreshTokenOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [RefreshTokenOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; + @Field(() => RefreshTokenWhereUniqueInput, { nullable: true }) + cursor?: RefreshTokenWhereUniqueInput; - @Field(() => RefreshTokenWhereUniqueInput, {nullable:true}) - cursor?: RefreshTokenWhereUniqueInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [RefreshTokenScalarFieldEnum], {nullable:true}) - distinct?: Array; + @Field(() => [RefreshTokenScalarFieldEnum], { nullable: true }) + distinct?: Array; } diff --git a/server/src/api/@generated/refresh-token/find-unique-refresh-token-or-throw.args.ts b/server/src/api/@generated/refresh-token/find-unique-refresh-token-or-throw.args.ts index fcaddc6537..c419322e99 100644 --- a/server/src/api/@generated/refresh-token/find-unique-refresh-token-or-throw.args.ts +++ b/server/src/api/@generated/refresh-token/find-unique-refresh-token-or-throw.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class FindUniqueRefreshTokenOrThrowArgs { - - @Field(() => RefreshTokenWhereUniqueInput, {nullable:false}) - @Type(() => RefreshTokenWhereUniqueInput) - where!: RefreshTokenWhereUniqueInput; + @Field(() => RefreshTokenWhereUniqueInput, { nullable: false }) + @Type(() => RefreshTokenWhereUniqueInput) + where!: RefreshTokenWhereUniqueInput; } diff --git a/server/src/api/@generated/refresh-token/find-unique-refresh-token.args.ts b/server/src/api/@generated/refresh-token/find-unique-refresh-token.args.ts index f2895bdc67..90db9c70c8 100644 --- a/server/src/api/@generated/refresh-token/find-unique-refresh-token.args.ts +++ b/server/src/api/@generated/refresh-token/find-unique-refresh-token.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class FindUniqueRefreshTokenArgs { - - @Field(() => RefreshTokenWhereUniqueInput, {nullable:false}) - @Type(() => RefreshTokenWhereUniqueInput) - where!: RefreshTokenWhereUniqueInput; + @Field(() => RefreshTokenWhereUniqueInput, { nullable: false }) + @Type(() => RefreshTokenWhereUniqueInput) + where!: RefreshTokenWhereUniqueInput; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-aggregate.args.ts b/server/src/api/@generated/refresh-token/refresh-token-aggregate.args.ts index 1d00bdf05c..751b01a5da 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-aggregate.args.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-aggregate.args.ts @@ -11,29 +11,28 @@ import { RefreshTokenMaxAggregateInput } from './refresh-token-max-aggregate.inp @ArgsType() export class RefreshTokenAggregateArgs { + @Field(() => RefreshTokenWhereInput, { nullable: true }) + @Type(() => RefreshTokenWhereInput) + where?: RefreshTokenWhereInput; - @Field(() => RefreshTokenWhereInput, {nullable:true}) - @Type(() => RefreshTokenWhereInput) - where?: RefreshTokenWhereInput; + @Field(() => [RefreshTokenOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [RefreshTokenOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; + @Field(() => RefreshTokenWhereUniqueInput, { nullable: true }) + cursor?: RefreshTokenWhereUniqueInput; - @Field(() => RefreshTokenWhereUniqueInput, {nullable:true}) - cursor?: RefreshTokenWhereUniqueInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; + @Field(() => RefreshTokenCountAggregateInput, { nullable: true }) + _count?: RefreshTokenCountAggregateInput; - @Field(() => RefreshTokenCountAggregateInput, {nullable:true}) - _count?: RefreshTokenCountAggregateInput; + @Field(() => RefreshTokenMinAggregateInput, { nullable: true }) + _min?: RefreshTokenMinAggregateInput; - @Field(() => RefreshTokenMinAggregateInput, {nullable:true}) - _min?: RefreshTokenMinAggregateInput; - - @Field(() => RefreshTokenMaxAggregateInput, {nullable:true}) - _max?: RefreshTokenMaxAggregateInput; + @Field(() => RefreshTokenMaxAggregateInput, { nullable: true }) + _max?: RefreshTokenMaxAggregateInput; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-count-aggregate.input.ts b/server/src/api/@generated/refresh-token/refresh-token-count-aggregate.input.ts index 6975ac41cb..6ae11517a9 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-count-aggregate.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-count-aggregate.input.ts @@ -3,25 +3,24 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class RefreshTokenCountAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; - @Field(() => Boolean, {nullable:true}) - id?: true; + @Field(() => Boolean, { nullable: true }) + createdAt?: true; - @Field(() => Boolean, {nullable:true}) - createdAt?: true; + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; - @Field(() => Boolean, {nullable:true}) - deletedAt?: true; + @Field(() => Boolean, { nullable: true }) + refreshToken?: true; - @Field(() => Boolean, {nullable:true}) - refreshToken?: true; + @Field(() => Boolean, { nullable: true }) + userId?: true; - @Field(() => Boolean, {nullable:true}) - userId?: true; - - @Field(() => Boolean, {nullable:true}) - _all?: true; + @Field(() => Boolean, { nullable: true }) + _all?: true; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-count-aggregate.output.ts b/server/src/api/@generated/refresh-token/refresh-token-count-aggregate.output.ts index 4447603bbc..18acc7ac6f 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-count-aggregate.output.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-count-aggregate.output.ts @@ -4,25 +4,24 @@ import { Int } from '@nestjs/graphql'; @ObjectType() export class RefreshTokenCountAggregate { + @Field(() => Int, { nullable: false }) + id!: number; - @Field(() => Int, {nullable:false}) - id!: number; + @Field(() => Int, { nullable: false }) + createdAt!: number; - @Field(() => Int, {nullable:false}) - createdAt!: number; + @Field(() => Int, { nullable: false }) + updatedAt!: number; - @Field(() => Int, {nullable:false}) - updatedAt!: number; + @Field(() => Int, { nullable: false }) + deletedAt!: number; - @Field(() => Int, {nullable:false}) - deletedAt!: number; + @Field(() => Int, { nullable: false }) + refreshToken!: number; - @Field(() => Int, {nullable:false}) - refreshToken!: number; + @Field(() => Int, { nullable: false }) + userId!: number; - @Field(() => Int, {nullable:false}) - userId!: number; - - @Field(() => Int, {nullable:false}) - _all!: number; + @Field(() => Int, { nullable: false }) + _all!: number; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-count-order-by-aggregate.input.ts b/server/src/api/@generated/refresh-token/refresh-token-count-order-by-aggregate.input.ts index 704f51af5b..8d347b972e 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-count-order-by-aggregate.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-count-order-by-aggregate.input.ts @@ -4,22 +4,21 @@ import { SortOrder } from '../prisma/sort-order.enum'; @InputType() export class RefreshTokenCountOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + refreshToken?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - refreshToken?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - userId?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + userId?: keyof typeof SortOrder; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-create-many-user-input-envelope.input.ts b/server/src/api/@generated/refresh-token/refresh-token-create-many-user-input-envelope.input.ts index fff61cd4f4..c37e4f5830 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-create-many-user-input-envelope.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-create-many-user-input-envelope.input.ts @@ -5,11 +5,10 @@ import { Type } from 'class-transformer'; @InputType() export class RefreshTokenCreateManyUserInputEnvelope { + @Field(() => [RefreshTokenCreateManyUserInput], { nullable: false }) + @Type(() => RefreshTokenCreateManyUserInput) + data!: Array; - @Field(() => [RefreshTokenCreateManyUserInput], {nullable:false}) - @Type(() => RefreshTokenCreateManyUserInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; + @Field(() => Boolean, { nullable: true }) + skipDuplicates?: boolean; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-create-many-user.input.ts b/server/src/api/@generated/refresh-token/refresh-token-create-many-user.input.ts index 2c0db75f3e..e12970a2b1 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-create-many-user.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-create-many-user.input.ts @@ -3,19 +3,18 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class RefreshTokenCreateManyUserInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; - - @Field(() => String, {nullable:false}) - refreshToken!: string; + @Field(() => String, { nullable: false }) + refreshToken!: string; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-create-many.input.ts b/server/src/api/@generated/refresh-token/refresh-token-create-many.input.ts index e7e2fca828..d25c0a9c5c 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-create-many.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-create-many.input.ts @@ -3,22 +3,21 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class RefreshTokenCreateManyInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + refreshToken!: string; - @Field(() => String, {nullable:false}) - refreshToken!: string; - - @Field(() => String, {nullable:false}) - userId!: string; + @Field(() => String, { nullable: false }) + userId!: string; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-create-nested-many-without-user.input.ts b/server/src/api/@generated/refresh-token/refresh-token-create-nested-many-without-user.input.ts index 163593a221..3f50bd5e95 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-create-nested-many-without-user.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-create-nested-many-without-user.input.ts @@ -8,20 +8,21 @@ import { RefreshTokenWhereUniqueInput } from './refresh-token-where-unique.input @InputType() export class RefreshTokenCreateNestedManyWithoutUserInput { + @Field(() => [RefreshTokenCreateWithoutUserInput], { nullable: true }) + @Type(() => RefreshTokenCreateWithoutUserInput) + create?: Array; - @Field(() => [RefreshTokenCreateWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenCreateWithoutUserInput) - create?: Array; + @Field(() => [RefreshTokenCreateOrConnectWithoutUserInput], { + nullable: true, + }) + @Type(() => RefreshTokenCreateOrConnectWithoutUserInput) + connectOrCreate?: Array; - @Field(() => [RefreshTokenCreateOrConnectWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenCreateOrConnectWithoutUserInput) - connectOrCreate?: Array; + @Field(() => RefreshTokenCreateManyUserInputEnvelope, { nullable: true }) + @Type(() => RefreshTokenCreateManyUserInputEnvelope) + createMany?: RefreshTokenCreateManyUserInputEnvelope; - @Field(() => RefreshTokenCreateManyUserInputEnvelope, {nullable:true}) - @Type(() => RefreshTokenCreateManyUserInputEnvelope) - createMany?: RefreshTokenCreateManyUserInputEnvelope; - - @Field(() => [RefreshTokenWhereUniqueInput], {nullable:true}) - @Type(() => RefreshTokenWhereUniqueInput) - connect?: Array; + @Field(() => [RefreshTokenWhereUniqueInput], { nullable: true }) + @Type(() => RefreshTokenWhereUniqueInput) + connect?: Array; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-create-or-connect-without-user.input.ts b/server/src/api/@generated/refresh-token/refresh-token-create-or-connect-without-user.input.ts index bf102b01b0..063b042d16 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-create-or-connect-without-user.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-create-or-connect-without-user.input.ts @@ -6,12 +6,11 @@ import { RefreshTokenCreateWithoutUserInput } from './refresh-token-create-witho @InputType() export class RefreshTokenCreateOrConnectWithoutUserInput { + @Field(() => RefreshTokenWhereUniqueInput, { nullable: false }) + @Type(() => RefreshTokenWhereUniqueInput) + where!: RefreshTokenWhereUniqueInput; - @Field(() => RefreshTokenWhereUniqueInput, {nullable:false}) - @Type(() => RefreshTokenWhereUniqueInput) - where!: RefreshTokenWhereUniqueInput; - - @Field(() => RefreshTokenCreateWithoutUserInput, {nullable:false}) - @Type(() => RefreshTokenCreateWithoutUserInput) - create!: RefreshTokenCreateWithoutUserInput; + @Field(() => RefreshTokenCreateWithoutUserInput, { nullable: false }) + @Type(() => RefreshTokenCreateWithoutUserInput) + create!: RefreshTokenCreateWithoutUserInput; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-create-without-user.input.ts b/server/src/api/@generated/refresh-token/refresh-token-create-without-user.input.ts index 330766458b..a77e8848e1 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-create-without-user.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-create-without-user.input.ts @@ -3,19 +3,18 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class RefreshTokenCreateWithoutUserInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; - - @Field(() => String, {nullable:false}) - refreshToken!: string; + @Field(() => String, { nullable: false }) + refreshToken!: string; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-create.input.ts b/server/src/api/@generated/refresh-token/refresh-token-create.input.ts index a5a41c6e9d..273060adcc 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-create.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-create.input.ts @@ -4,22 +4,23 @@ import { UserCreateNestedOneWithoutRefreshTokensInput } from '../user/user-creat @InputType() export class RefreshTokenCreateInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + refreshToken!: string; - @Field(() => String, {nullable:false}) - refreshToken!: string; - - @Field(() => UserCreateNestedOneWithoutRefreshTokensInput, {nullable:false}) - user!: UserCreateNestedOneWithoutRefreshTokensInput; + @Field(() => UserCreateNestedOneWithoutRefreshTokensInput, { + nullable: false, + }) + user!: UserCreateNestedOneWithoutRefreshTokensInput; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-group-by.args.ts b/server/src/api/@generated/refresh-token/refresh-token-group-by.args.ts index d3dae813e5..8ac9db594c 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-group-by.args.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-group-by.args.ts @@ -12,32 +12,31 @@ import { RefreshTokenMaxAggregateInput } from './refresh-token-max-aggregate.inp @ArgsType() export class RefreshTokenGroupByArgs { + @Field(() => RefreshTokenWhereInput, { nullable: true }) + @Type(() => RefreshTokenWhereInput) + where?: RefreshTokenWhereInput; - @Field(() => RefreshTokenWhereInput, {nullable:true}) - @Type(() => RefreshTokenWhereInput) - where?: RefreshTokenWhereInput; + @Field(() => [RefreshTokenOrderByWithAggregationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [RefreshTokenOrderByWithAggregationInput], {nullable:true}) - orderBy?: Array; + @Field(() => [RefreshTokenScalarFieldEnum], { nullable: false }) + by!: Array; - @Field(() => [RefreshTokenScalarFieldEnum], {nullable:false}) - by!: Array; + @Field(() => RefreshTokenScalarWhereWithAggregatesInput, { nullable: true }) + having?: RefreshTokenScalarWhereWithAggregatesInput; - @Field(() => RefreshTokenScalarWhereWithAggregatesInput, {nullable:true}) - having?: RefreshTokenScalarWhereWithAggregatesInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; + @Field(() => RefreshTokenCountAggregateInput, { nullable: true }) + _count?: RefreshTokenCountAggregateInput; - @Field(() => RefreshTokenCountAggregateInput, {nullable:true}) - _count?: RefreshTokenCountAggregateInput; + @Field(() => RefreshTokenMinAggregateInput, { nullable: true }) + _min?: RefreshTokenMinAggregateInput; - @Field(() => RefreshTokenMinAggregateInput, {nullable:true}) - _min?: RefreshTokenMinAggregateInput; - - @Field(() => RefreshTokenMaxAggregateInput, {nullable:true}) - _max?: RefreshTokenMaxAggregateInput; + @Field(() => RefreshTokenMaxAggregateInput, { nullable: true }) + _max?: RefreshTokenMaxAggregateInput; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-group-by.output.ts b/server/src/api/@generated/refresh-token/refresh-token-group-by.output.ts index 322fd558e4..5dea640531 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-group-by.output.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-group-by.output.ts @@ -6,31 +6,30 @@ import { RefreshTokenMaxAggregate } from './refresh-token-max-aggregate.output'; @ObjectType() export class RefreshTokenGroupBy { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: false }) + createdAt!: Date | string; - @Field(() => Date, {nullable:false}) - createdAt!: Date | string; + @Field(() => Date, { nullable: false }) + updatedAt!: Date | string; - @Field(() => Date, {nullable:false}) - updatedAt!: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + refreshToken!: string; - @Field(() => String, {nullable:false}) - refreshToken!: string; + @Field(() => String, { nullable: false }) + userId!: string; - @Field(() => String, {nullable:false}) - userId!: string; + @Field(() => RefreshTokenCountAggregate, { nullable: true }) + _count?: RefreshTokenCountAggregate; - @Field(() => RefreshTokenCountAggregate, {nullable:true}) - _count?: RefreshTokenCountAggregate; + @Field(() => RefreshTokenMinAggregate, { nullable: true }) + _min?: RefreshTokenMinAggregate; - @Field(() => RefreshTokenMinAggregate, {nullable:true}) - _min?: RefreshTokenMinAggregate; - - @Field(() => RefreshTokenMaxAggregate, {nullable:true}) - _max?: RefreshTokenMaxAggregate; + @Field(() => RefreshTokenMaxAggregate, { nullable: true }) + _max?: RefreshTokenMaxAggregate; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-list-relation-filter.input.ts b/server/src/api/@generated/refresh-token/refresh-token-list-relation-filter.input.ts index c6d205eeb1..e3a4c6b0c5 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-list-relation-filter.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-list-relation-filter.input.ts @@ -4,13 +4,12 @@ import { RefreshTokenWhereInput } from './refresh-token-where.input'; @InputType() export class RefreshTokenListRelationFilter { + @Field(() => RefreshTokenWhereInput, { nullable: true }) + every?: RefreshTokenWhereInput; - @Field(() => RefreshTokenWhereInput, {nullable:true}) - every?: RefreshTokenWhereInput; + @Field(() => RefreshTokenWhereInput, { nullable: true }) + some?: RefreshTokenWhereInput; - @Field(() => RefreshTokenWhereInput, {nullable:true}) - some?: RefreshTokenWhereInput; - - @Field(() => RefreshTokenWhereInput, {nullable:true}) - none?: RefreshTokenWhereInput; + @Field(() => RefreshTokenWhereInput, { nullable: true }) + none?: RefreshTokenWhereInput; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-max-aggregate.input.ts b/server/src/api/@generated/refresh-token/refresh-token-max-aggregate.input.ts index 2f7dc6facf..fa6a46dfa3 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-max-aggregate.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-max-aggregate.input.ts @@ -3,22 +3,21 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class RefreshTokenMaxAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; - @Field(() => Boolean, {nullable:true}) - id?: true; + @Field(() => Boolean, { nullable: true }) + createdAt?: true; - @Field(() => Boolean, {nullable:true}) - createdAt?: true; + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; - @Field(() => Boolean, {nullable:true}) - deletedAt?: true; + @Field(() => Boolean, { nullable: true }) + refreshToken?: true; - @Field(() => Boolean, {nullable:true}) - refreshToken?: true; - - @Field(() => Boolean, {nullable:true}) - userId?: true; + @Field(() => Boolean, { nullable: true }) + userId?: true; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-max-aggregate.output.ts b/server/src/api/@generated/refresh-token/refresh-token-max-aggregate.output.ts index 3cea531b9d..aec16bfba8 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-max-aggregate.output.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-max-aggregate.output.ts @@ -3,22 +3,21 @@ import { ObjectType } from '@nestjs/graphql'; @ObjectType() export class RefreshTokenMaxAggregate { + @Field(() => String, { nullable: true }) + id?: string; - @Field(() => String, {nullable:true}) - id?: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: true }) + refreshToken?: string; - @Field(() => String, {nullable:true}) - refreshToken?: string; - - @Field(() => String, {nullable:true}) - userId?: string; + @Field(() => String, { nullable: true }) + userId?: string; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-max-order-by-aggregate.input.ts b/server/src/api/@generated/refresh-token/refresh-token-max-order-by-aggregate.input.ts index fdb78b7862..5818450bb2 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-max-order-by-aggregate.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-max-order-by-aggregate.input.ts @@ -4,22 +4,21 @@ import { SortOrder } from '../prisma/sort-order.enum'; @InputType() export class RefreshTokenMaxOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + refreshToken?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - refreshToken?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - userId?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + userId?: keyof typeof SortOrder; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-min-aggregate.input.ts b/server/src/api/@generated/refresh-token/refresh-token-min-aggregate.input.ts index fc0f90f821..45d70cc550 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-min-aggregate.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-min-aggregate.input.ts @@ -3,22 +3,21 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class RefreshTokenMinAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; - @Field(() => Boolean, {nullable:true}) - id?: true; + @Field(() => Boolean, { nullable: true }) + createdAt?: true; - @Field(() => Boolean, {nullable:true}) - createdAt?: true; + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; - @Field(() => Boolean, {nullable:true}) - deletedAt?: true; + @Field(() => Boolean, { nullable: true }) + refreshToken?: true; - @Field(() => Boolean, {nullable:true}) - refreshToken?: true; - - @Field(() => Boolean, {nullable:true}) - userId?: true; + @Field(() => Boolean, { nullable: true }) + userId?: true; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-min-aggregate.output.ts b/server/src/api/@generated/refresh-token/refresh-token-min-aggregate.output.ts index cea2aaaba8..b5647323b8 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-min-aggregate.output.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-min-aggregate.output.ts @@ -3,22 +3,21 @@ import { ObjectType } from '@nestjs/graphql'; @ObjectType() export class RefreshTokenMinAggregate { + @Field(() => String, { nullable: true }) + id?: string; - @Field(() => String, {nullable:true}) - id?: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: true }) + refreshToken?: string; - @Field(() => String, {nullable:true}) - refreshToken?: string; - - @Field(() => String, {nullable:true}) - userId?: string; + @Field(() => String, { nullable: true }) + userId?: string; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-min-order-by-aggregate.input.ts b/server/src/api/@generated/refresh-token/refresh-token-min-order-by-aggregate.input.ts index a7d8654b41..15c55a8561 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-min-order-by-aggregate.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-min-order-by-aggregate.input.ts @@ -4,22 +4,21 @@ import { SortOrder } from '../prisma/sort-order.enum'; @InputType() export class RefreshTokenMinOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + refreshToken?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - refreshToken?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - userId?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + userId?: keyof typeof SortOrder; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-order-by-relation-aggregate.input.ts b/server/src/api/@generated/refresh-token/refresh-token-order-by-relation-aggregate.input.ts index 51c89d5d94..d0699140bb 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-order-by-relation-aggregate.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-order-by-relation-aggregate.input.ts @@ -4,7 +4,6 @@ import { SortOrder } from '../prisma/sort-order.enum'; @InputType() export class RefreshTokenOrderByRelationAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - _count?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + _count?: keyof typeof SortOrder; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-order-by-with-aggregation.input.ts b/server/src/api/@generated/refresh-token/refresh-token-order-by-with-aggregation.input.ts index 02f231ef7e..df88e0e769 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-order-by-with-aggregation.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-order-by-with-aggregation.input.ts @@ -7,31 +7,30 @@ import { RefreshTokenMinOrderByAggregateInput } from './refresh-token-min-order- @InputType() export class RefreshTokenOrderByWithAggregationInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + refreshToken?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - refreshToken?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + userId?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - userId?: keyof typeof SortOrder; + @Field(() => RefreshTokenCountOrderByAggregateInput, { nullable: true }) + _count?: RefreshTokenCountOrderByAggregateInput; - @Field(() => RefreshTokenCountOrderByAggregateInput, {nullable:true}) - _count?: RefreshTokenCountOrderByAggregateInput; + @Field(() => RefreshTokenMaxOrderByAggregateInput, { nullable: true }) + _max?: RefreshTokenMaxOrderByAggregateInput; - @Field(() => RefreshTokenMaxOrderByAggregateInput, {nullable:true}) - _max?: RefreshTokenMaxOrderByAggregateInput; - - @Field(() => RefreshTokenMinOrderByAggregateInput, {nullable:true}) - _min?: RefreshTokenMinOrderByAggregateInput; + @Field(() => RefreshTokenMinOrderByAggregateInput, { nullable: true }) + _min?: RefreshTokenMinOrderByAggregateInput; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-order-by-with-relation.input.ts b/server/src/api/@generated/refresh-token/refresh-token-order-by-with-relation.input.ts index 76dd7555f4..6936d3d93a 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-order-by-with-relation.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-order-by-with-relation.input.ts @@ -5,25 +5,24 @@ import { UserOrderByWithRelationInput } from '../user/user-order-by-with-relatio @InputType() export class RefreshTokenOrderByWithRelationInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + refreshToken?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - refreshToken?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + userId?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - userId?: keyof typeof SortOrder; - - @Field(() => UserOrderByWithRelationInput, {nullable:true}) - user?: UserOrderByWithRelationInput; + @Field(() => UserOrderByWithRelationInput, { nullable: true }) + user?: UserOrderByWithRelationInput; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-scalar-field.enum.ts b/server/src/api/@generated/refresh-token/refresh-token-scalar-field.enum.ts index a923c37c42..ea8e852a7d 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-scalar-field.enum.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-scalar-field.enum.ts @@ -1,13 +1,15 @@ import { registerEnumType } from '@nestjs/graphql'; export enum RefreshTokenScalarFieldEnum { - id = "id", - createdAt = "createdAt", - updatedAt = "updatedAt", - deletedAt = "deletedAt", - refreshToken = "refreshToken", - userId = "userId" + id = 'id', + createdAt = 'createdAt', + updatedAt = 'updatedAt', + deletedAt = 'deletedAt', + refreshToken = 'refreshToken', + userId = 'userId', } - -registerEnumType(RefreshTokenScalarFieldEnum, { name: 'RefreshTokenScalarFieldEnum', description: undefined }) +registerEnumType(RefreshTokenScalarFieldEnum, { + name: 'RefreshTokenScalarFieldEnum', + description: undefined, +}); diff --git a/server/src/api/@generated/refresh-token/refresh-token-scalar-where-with-aggregates.input.ts b/server/src/api/@generated/refresh-token/refresh-token-scalar-where-with-aggregates.input.ts index 3d19276296..eacbf02450 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-scalar-where-with-aggregates.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-scalar-where-with-aggregates.input.ts @@ -6,31 +6,30 @@ import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullab @InputType() export class RefreshTokenScalarWhereWithAggregatesInput { + @Field(() => [RefreshTokenScalarWhereWithAggregatesInput], { nullable: true }) + AND?: Array; - @Field(() => [RefreshTokenScalarWhereWithAggregatesInput], {nullable:true}) - AND?: Array; + @Field(() => [RefreshTokenScalarWhereWithAggregatesInput], { nullable: true }) + OR?: Array; - @Field(() => [RefreshTokenScalarWhereWithAggregatesInput], {nullable:true}) - OR?: Array; + @Field(() => [RefreshTokenScalarWhereWithAggregatesInput], { nullable: true }) + NOT?: Array; - @Field(() => [RefreshTokenScalarWhereWithAggregatesInput], {nullable:true}) - NOT?: Array; + @Field(() => StringWithAggregatesFilter, { nullable: true }) + id?: StringWithAggregatesFilter; - @Field(() => StringWithAggregatesFilter, {nullable:true}) - id?: StringWithAggregatesFilter; + @Field(() => DateTimeWithAggregatesFilter, { nullable: true }) + createdAt?: DateTimeWithAggregatesFilter; - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - createdAt?: DateTimeWithAggregatesFilter; + @Field(() => DateTimeWithAggregatesFilter, { nullable: true }) + updatedAt?: DateTimeWithAggregatesFilter; - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - updatedAt?: DateTimeWithAggregatesFilter; + @Field(() => DateTimeNullableWithAggregatesFilter, { nullable: true }) + deletedAt?: DateTimeNullableWithAggregatesFilter; - @Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true}) - deletedAt?: DateTimeNullableWithAggregatesFilter; + @Field(() => StringWithAggregatesFilter, { nullable: true }) + refreshToken?: StringWithAggregatesFilter; - @Field(() => StringWithAggregatesFilter, {nullable:true}) - refreshToken?: StringWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - userId?: StringWithAggregatesFilter; + @Field(() => StringWithAggregatesFilter, { nullable: true }) + userId?: StringWithAggregatesFilter; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-scalar-where.input.ts b/server/src/api/@generated/refresh-token/refresh-token-scalar-where.input.ts index a4998602de..b29202984b 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-scalar-where.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-scalar-where.input.ts @@ -6,31 +6,30 @@ import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.inpu @InputType() export class RefreshTokenScalarWhereInput { + @Field(() => [RefreshTokenScalarWhereInput], { nullable: true }) + AND?: Array; - @Field(() => [RefreshTokenScalarWhereInput], {nullable:true}) - AND?: Array; + @Field(() => [RefreshTokenScalarWhereInput], { nullable: true }) + OR?: Array; - @Field(() => [RefreshTokenScalarWhereInput], {nullable:true}) - OR?: Array; + @Field(() => [RefreshTokenScalarWhereInput], { nullable: true }) + NOT?: Array; - @Field(() => [RefreshTokenScalarWhereInput], {nullable:true}) - NOT?: Array; + @Field(() => StringFilter, { nullable: true }) + id?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; + @Field(() => DateTimeFilter, { nullable: true }) + createdAt?: DateTimeFilter; - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; + @Field(() => DateTimeFilter, { nullable: true }) + updatedAt?: DateTimeFilter; - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; + @Field(() => DateTimeNullableFilter, { nullable: true }) + deletedAt?: DateTimeNullableFilter; - @Field(() => DateTimeNullableFilter, {nullable:true}) - deletedAt?: DateTimeNullableFilter; + @Field(() => StringFilter, { nullable: true }) + refreshToken?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - refreshToken?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - userId?: StringFilter; + @Field(() => StringFilter, { nullable: true }) + userId?: StringFilter; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-unchecked-create-nested-many-without-user.input.ts b/server/src/api/@generated/refresh-token/refresh-token-unchecked-create-nested-many-without-user.input.ts index 02f22ecae8..620fc5dcc5 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-unchecked-create-nested-many-without-user.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-unchecked-create-nested-many-without-user.input.ts @@ -8,20 +8,21 @@ import { RefreshTokenWhereUniqueInput } from './refresh-token-where-unique.input @InputType() export class RefreshTokenUncheckedCreateNestedManyWithoutUserInput { + @Field(() => [RefreshTokenCreateWithoutUserInput], { nullable: true }) + @Type(() => RefreshTokenCreateWithoutUserInput) + create?: Array; - @Field(() => [RefreshTokenCreateWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenCreateWithoutUserInput) - create?: Array; + @Field(() => [RefreshTokenCreateOrConnectWithoutUserInput], { + nullable: true, + }) + @Type(() => RefreshTokenCreateOrConnectWithoutUserInput) + connectOrCreate?: Array; - @Field(() => [RefreshTokenCreateOrConnectWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenCreateOrConnectWithoutUserInput) - connectOrCreate?: Array; + @Field(() => RefreshTokenCreateManyUserInputEnvelope, { nullable: true }) + @Type(() => RefreshTokenCreateManyUserInputEnvelope) + createMany?: RefreshTokenCreateManyUserInputEnvelope; - @Field(() => RefreshTokenCreateManyUserInputEnvelope, {nullable:true}) - @Type(() => RefreshTokenCreateManyUserInputEnvelope) - createMany?: RefreshTokenCreateManyUserInputEnvelope; - - @Field(() => [RefreshTokenWhereUniqueInput], {nullable:true}) - @Type(() => RefreshTokenWhereUniqueInput) - connect?: Array; + @Field(() => [RefreshTokenWhereUniqueInput], { nullable: true }) + @Type(() => RefreshTokenWhereUniqueInput) + connect?: Array; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-unchecked-create-without-user.input.ts b/server/src/api/@generated/refresh-token/refresh-token-unchecked-create-without-user.input.ts index b164dbb53b..05a8ad4c04 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-unchecked-create-without-user.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-unchecked-create-without-user.input.ts @@ -3,19 +3,18 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class RefreshTokenUncheckedCreateWithoutUserInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; - - @Field(() => String, {nullable:false}) - refreshToken!: string; + @Field(() => String, { nullable: false }) + refreshToken!: string; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-unchecked-create.input.ts b/server/src/api/@generated/refresh-token/refresh-token-unchecked-create.input.ts index 375e6d6466..bf9b047086 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-unchecked-create.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-unchecked-create.input.ts @@ -3,22 +3,21 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class RefreshTokenUncheckedCreateInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + refreshToken!: string; - @Field(() => String, {nullable:false}) - refreshToken!: string; - - @Field(() => String, {nullable:false}) - userId!: string; + @Field(() => String, { nullable: false }) + userId!: string; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-unchecked-update-many-without-refresh-tokens.input.ts b/server/src/api/@generated/refresh-token/refresh-token-unchecked-update-many-without-refresh-tokens.input.ts index cc29641bca..c16cfba31f 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-unchecked-update-many-without-refresh-tokens.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-unchecked-update-many-without-refresh-tokens.input.ts @@ -6,19 +6,18 @@ import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-d @InputType() export class RefreshTokenUncheckedUpdateManyWithoutRefreshTokensInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - refreshToken?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + refreshToken?: StringFieldUpdateOperationsInput; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-unchecked-update-many-without-user-nested.input.ts b/server/src/api/@generated/refresh-token/refresh-token-unchecked-update-many-without-user-nested.input.ts index 2eda733df6..ef49b6598f 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-unchecked-update-many-without-user-nested.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-unchecked-update-many-without-user-nested.input.ts @@ -12,48 +12,55 @@ import { RefreshTokenScalarWhereInput } from './refresh-token-scalar-where.input @InputType() export class RefreshTokenUncheckedUpdateManyWithoutUserNestedInput { + @Field(() => [RefreshTokenCreateWithoutUserInput], { nullable: true }) + @Type(() => RefreshTokenCreateWithoutUserInput) + create?: Array; - @Field(() => [RefreshTokenCreateWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenCreateWithoutUserInput) - create?: Array; + @Field(() => [RefreshTokenCreateOrConnectWithoutUserInput], { + nullable: true, + }) + @Type(() => RefreshTokenCreateOrConnectWithoutUserInput) + connectOrCreate?: Array; - @Field(() => [RefreshTokenCreateOrConnectWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenCreateOrConnectWithoutUserInput) - connectOrCreate?: Array; + @Field(() => [RefreshTokenUpsertWithWhereUniqueWithoutUserInput], { + nullable: true, + }) + @Type(() => RefreshTokenUpsertWithWhereUniqueWithoutUserInput) + upsert?: Array; - @Field(() => [RefreshTokenUpsertWithWhereUniqueWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenUpsertWithWhereUniqueWithoutUserInput) - upsert?: Array; + @Field(() => RefreshTokenCreateManyUserInputEnvelope, { nullable: true }) + @Type(() => RefreshTokenCreateManyUserInputEnvelope) + createMany?: RefreshTokenCreateManyUserInputEnvelope; - @Field(() => RefreshTokenCreateManyUserInputEnvelope, {nullable:true}) - @Type(() => RefreshTokenCreateManyUserInputEnvelope) - createMany?: RefreshTokenCreateManyUserInputEnvelope; + @Field(() => [RefreshTokenWhereUniqueInput], { nullable: true }) + @Type(() => RefreshTokenWhereUniqueInput) + set?: Array; - @Field(() => [RefreshTokenWhereUniqueInput], {nullable:true}) - @Type(() => RefreshTokenWhereUniqueInput) - set?: Array; + @Field(() => [RefreshTokenWhereUniqueInput], { nullable: true }) + @Type(() => RefreshTokenWhereUniqueInput) + disconnect?: Array; - @Field(() => [RefreshTokenWhereUniqueInput], {nullable:true}) - @Type(() => RefreshTokenWhereUniqueInput) - disconnect?: Array; + @Field(() => [RefreshTokenWhereUniqueInput], { nullable: true }) + @Type(() => RefreshTokenWhereUniqueInput) + delete?: Array; - @Field(() => [RefreshTokenWhereUniqueInput], {nullable:true}) - @Type(() => RefreshTokenWhereUniqueInput) - delete?: Array; + @Field(() => [RefreshTokenWhereUniqueInput], { nullable: true }) + @Type(() => RefreshTokenWhereUniqueInput) + connect?: Array; - @Field(() => [RefreshTokenWhereUniqueInput], {nullable:true}) - @Type(() => RefreshTokenWhereUniqueInput) - connect?: Array; + @Field(() => [RefreshTokenUpdateWithWhereUniqueWithoutUserInput], { + nullable: true, + }) + @Type(() => RefreshTokenUpdateWithWhereUniqueWithoutUserInput) + update?: Array; - @Field(() => [RefreshTokenUpdateWithWhereUniqueWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenUpdateWithWhereUniqueWithoutUserInput) - update?: Array; + @Field(() => [RefreshTokenUpdateManyWithWhereWithoutUserInput], { + nullable: true, + }) + @Type(() => RefreshTokenUpdateManyWithWhereWithoutUserInput) + updateMany?: Array; - @Field(() => [RefreshTokenUpdateManyWithWhereWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenUpdateManyWithWhereWithoutUserInput) - updateMany?: Array; - - @Field(() => [RefreshTokenScalarWhereInput], {nullable:true}) - @Type(() => RefreshTokenScalarWhereInput) - deleteMany?: Array; + @Field(() => [RefreshTokenScalarWhereInput], { nullable: true }) + @Type(() => RefreshTokenScalarWhereInput) + deleteMany?: Array; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-unchecked-update-many.input.ts b/server/src/api/@generated/refresh-token/refresh-token-unchecked-update-many.input.ts index 3ae67661b9..e4135528e4 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-unchecked-update-many.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-unchecked-update-many.input.ts @@ -6,22 +6,21 @@ import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-d @InputType() export class RefreshTokenUncheckedUpdateManyInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + refreshToken?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - refreshToken?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - userId?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + userId?: StringFieldUpdateOperationsInput; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-unchecked-update-without-user.input.ts b/server/src/api/@generated/refresh-token/refresh-token-unchecked-update-without-user.input.ts index 8b4e9a1f9a..7aa53f430c 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-unchecked-update-without-user.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-unchecked-update-without-user.input.ts @@ -6,19 +6,18 @@ import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-d @InputType() export class RefreshTokenUncheckedUpdateWithoutUserInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - refreshToken?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + refreshToken?: StringFieldUpdateOperationsInput; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-unchecked-update.input.ts b/server/src/api/@generated/refresh-token/refresh-token-unchecked-update.input.ts index 6032891e1e..26cb92715d 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-unchecked-update.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-unchecked-update.input.ts @@ -6,22 +6,21 @@ import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-d @InputType() export class RefreshTokenUncheckedUpdateInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + refreshToken?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - refreshToken?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - userId?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + userId?: StringFieldUpdateOperationsInput; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-update-many-mutation.input.ts b/server/src/api/@generated/refresh-token/refresh-token-update-many-mutation.input.ts index 6d320519fd..c27eff8e94 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-update-many-mutation.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-update-many-mutation.input.ts @@ -6,19 +6,18 @@ import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-d @InputType() export class RefreshTokenUpdateManyMutationInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - refreshToken?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + refreshToken?: StringFieldUpdateOperationsInput; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-update-many-with-where-without-user.input.ts b/server/src/api/@generated/refresh-token/refresh-token-update-many-with-where-without-user.input.ts index 7cf8d99995..107f2e797f 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-update-many-with-where-without-user.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-update-many-with-where-without-user.input.ts @@ -6,12 +6,11 @@ import { RefreshTokenUpdateManyMutationInput } from './refresh-token-update-many @InputType() export class RefreshTokenUpdateManyWithWhereWithoutUserInput { + @Field(() => RefreshTokenScalarWhereInput, { nullable: false }) + @Type(() => RefreshTokenScalarWhereInput) + where!: RefreshTokenScalarWhereInput; - @Field(() => RefreshTokenScalarWhereInput, {nullable:false}) - @Type(() => RefreshTokenScalarWhereInput) - where!: RefreshTokenScalarWhereInput; - - @Field(() => RefreshTokenUpdateManyMutationInput, {nullable:false}) - @Type(() => RefreshTokenUpdateManyMutationInput) - data!: RefreshTokenUpdateManyMutationInput; + @Field(() => RefreshTokenUpdateManyMutationInput, { nullable: false }) + @Type(() => RefreshTokenUpdateManyMutationInput) + data!: RefreshTokenUpdateManyMutationInput; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-update-many-without-user-nested.input.ts b/server/src/api/@generated/refresh-token/refresh-token-update-many-without-user-nested.input.ts index 5098f834f7..6aeb6f8125 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-update-many-without-user-nested.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-update-many-without-user-nested.input.ts @@ -12,48 +12,55 @@ import { RefreshTokenScalarWhereInput } from './refresh-token-scalar-where.input @InputType() export class RefreshTokenUpdateManyWithoutUserNestedInput { + @Field(() => [RefreshTokenCreateWithoutUserInput], { nullable: true }) + @Type(() => RefreshTokenCreateWithoutUserInput) + create?: Array; - @Field(() => [RefreshTokenCreateWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenCreateWithoutUserInput) - create?: Array; + @Field(() => [RefreshTokenCreateOrConnectWithoutUserInput], { + nullable: true, + }) + @Type(() => RefreshTokenCreateOrConnectWithoutUserInput) + connectOrCreate?: Array; - @Field(() => [RefreshTokenCreateOrConnectWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenCreateOrConnectWithoutUserInput) - connectOrCreate?: Array; + @Field(() => [RefreshTokenUpsertWithWhereUniqueWithoutUserInput], { + nullable: true, + }) + @Type(() => RefreshTokenUpsertWithWhereUniqueWithoutUserInput) + upsert?: Array; - @Field(() => [RefreshTokenUpsertWithWhereUniqueWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenUpsertWithWhereUniqueWithoutUserInput) - upsert?: Array; + @Field(() => RefreshTokenCreateManyUserInputEnvelope, { nullable: true }) + @Type(() => RefreshTokenCreateManyUserInputEnvelope) + createMany?: RefreshTokenCreateManyUserInputEnvelope; - @Field(() => RefreshTokenCreateManyUserInputEnvelope, {nullable:true}) - @Type(() => RefreshTokenCreateManyUserInputEnvelope) - createMany?: RefreshTokenCreateManyUserInputEnvelope; + @Field(() => [RefreshTokenWhereUniqueInput], { nullable: true }) + @Type(() => RefreshTokenWhereUniqueInput) + set?: Array; - @Field(() => [RefreshTokenWhereUniqueInput], {nullable:true}) - @Type(() => RefreshTokenWhereUniqueInput) - set?: Array; + @Field(() => [RefreshTokenWhereUniqueInput], { nullable: true }) + @Type(() => RefreshTokenWhereUniqueInput) + disconnect?: Array; - @Field(() => [RefreshTokenWhereUniqueInput], {nullable:true}) - @Type(() => RefreshTokenWhereUniqueInput) - disconnect?: Array; + @Field(() => [RefreshTokenWhereUniqueInput], { nullable: true }) + @Type(() => RefreshTokenWhereUniqueInput) + delete?: Array; - @Field(() => [RefreshTokenWhereUniqueInput], {nullable:true}) - @Type(() => RefreshTokenWhereUniqueInput) - delete?: Array; + @Field(() => [RefreshTokenWhereUniqueInput], { nullable: true }) + @Type(() => RefreshTokenWhereUniqueInput) + connect?: Array; - @Field(() => [RefreshTokenWhereUniqueInput], {nullable:true}) - @Type(() => RefreshTokenWhereUniqueInput) - connect?: Array; + @Field(() => [RefreshTokenUpdateWithWhereUniqueWithoutUserInput], { + nullable: true, + }) + @Type(() => RefreshTokenUpdateWithWhereUniqueWithoutUserInput) + update?: Array; - @Field(() => [RefreshTokenUpdateWithWhereUniqueWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenUpdateWithWhereUniqueWithoutUserInput) - update?: Array; + @Field(() => [RefreshTokenUpdateManyWithWhereWithoutUserInput], { + nullable: true, + }) + @Type(() => RefreshTokenUpdateManyWithWhereWithoutUserInput) + updateMany?: Array; - @Field(() => [RefreshTokenUpdateManyWithWhereWithoutUserInput], {nullable:true}) - @Type(() => RefreshTokenUpdateManyWithWhereWithoutUserInput) - updateMany?: Array; - - @Field(() => [RefreshTokenScalarWhereInput], {nullable:true}) - @Type(() => RefreshTokenScalarWhereInput) - deleteMany?: Array; + @Field(() => [RefreshTokenScalarWhereInput], { nullable: true }) + @Type(() => RefreshTokenScalarWhereInput) + deleteMany?: Array; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-update-with-where-unique-without-user.input.ts b/server/src/api/@generated/refresh-token/refresh-token-update-with-where-unique-without-user.input.ts index 38a21a9524..6c1e3d6536 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-update-with-where-unique-without-user.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-update-with-where-unique-without-user.input.ts @@ -6,12 +6,11 @@ import { RefreshTokenUpdateWithoutUserInput } from './refresh-token-update-witho @InputType() export class RefreshTokenUpdateWithWhereUniqueWithoutUserInput { + @Field(() => RefreshTokenWhereUniqueInput, { nullable: false }) + @Type(() => RefreshTokenWhereUniqueInput) + where!: RefreshTokenWhereUniqueInput; - @Field(() => RefreshTokenWhereUniqueInput, {nullable:false}) - @Type(() => RefreshTokenWhereUniqueInput) - where!: RefreshTokenWhereUniqueInput; - - @Field(() => RefreshTokenUpdateWithoutUserInput, {nullable:false}) - @Type(() => RefreshTokenUpdateWithoutUserInput) - data!: RefreshTokenUpdateWithoutUserInput; + @Field(() => RefreshTokenUpdateWithoutUserInput, { nullable: false }) + @Type(() => RefreshTokenUpdateWithoutUserInput) + data!: RefreshTokenUpdateWithoutUserInput; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-update-without-user.input.ts b/server/src/api/@generated/refresh-token/refresh-token-update-without-user.input.ts index 19410bbb42..0b8a43979e 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-update-without-user.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-update-without-user.input.ts @@ -6,19 +6,18 @@ import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-d @InputType() export class RefreshTokenUpdateWithoutUserInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - refreshToken?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + refreshToken?: StringFieldUpdateOperationsInput; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-update.input.ts b/server/src/api/@generated/refresh-token/refresh-token-update.input.ts index 610db2223d..22c3aa3bf8 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-update.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-update.input.ts @@ -7,22 +7,23 @@ import { UserUpdateOneRequiredWithoutRefreshTokensNestedInput } from '../user/us @InputType() export class RefreshTokenUpdateInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + refreshToken?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - refreshToken?: StringFieldUpdateOperationsInput; - - @Field(() => UserUpdateOneRequiredWithoutRefreshTokensNestedInput, {nullable:true}) - user?: UserUpdateOneRequiredWithoutRefreshTokensNestedInput; + @Field(() => UserUpdateOneRequiredWithoutRefreshTokensNestedInput, { + nullable: true, + }) + user?: UserUpdateOneRequiredWithoutRefreshTokensNestedInput; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-upsert-with-where-unique-without-user.input.ts b/server/src/api/@generated/refresh-token/refresh-token-upsert-with-where-unique-without-user.input.ts index 1b10111899..263eaf15db 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-upsert-with-where-unique-without-user.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-upsert-with-where-unique-without-user.input.ts @@ -7,16 +7,15 @@ import { RefreshTokenCreateWithoutUserInput } from './refresh-token-create-witho @InputType() export class RefreshTokenUpsertWithWhereUniqueWithoutUserInput { + @Field(() => RefreshTokenWhereUniqueInput, { nullable: false }) + @Type(() => RefreshTokenWhereUniqueInput) + where!: RefreshTokenWhereUniqueInput; - @Field(() => RefreshTokenWhereUniqueInput, {nullable:false}) - @Type(() => RefreshTokenWhereUniqueInput) - where!: RefreshTokenWhereUniqueInput; + @Field(() => RefreshTokenUpdateWithoutUserInput, { nullable: false }) + @Type(() => RefreshTokenUpdateWithoutUserInput) + update!: RefreshTokenUpdateWithoutUserInput; - @Field(() => RefreshTokenUpdateWithoutUserInput, {nullable:false}) - @Type(() => RefreshTokenUpdateWithoutUserInput) - update!: RefreshTokenUpdateWithoutUserInput; - - @Field(() => RefreshTokenCreateWithoutUserInput, {nullable:false}) - @Type(() => RefreshTokenCreateWithoutUserInput) - create!: RefreshTokenCreateWithoutUserInput; + @Field(() => RefreshTokenCreateWithoutUserInput, { nullable: false }) + @Type(() => RefreshTokenCreateWithoutUserInput) + create!: RefreshTokenCreateWithoutUserInput; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-where-unique.input.ts b/server/src/api/@generated/refresh-token/refresh-token-where-unique.input.ts index 2e45dd93d6..3dfd6e131e 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-where-unique.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-where-unique.input.ts @@ -3,7 +3,6 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class RefreshTokenWhereUniqueInput { - - @Field(() => String, {nullable:true}) - id?: string; + @Field(() => String, { nullable: true }) + id?: string; } diff --git a/server/src/api/@generated/refresh-token/refresh-token-where.input.ts b/server/src/api/@generated/refresh-token/refresh-token-where.input.ts index 26fd8d0bce..cc4c395497 100644 --- a/server/src/api/@generated/refresh-token/refresh-token-where.input.ts +++ b/server/src/api/@generated/refresh-token/refresh-token-where.input.ts @@ -7,34 +7,33 @@ import { UserRelationFilter } from '../user/user-relation-filter.input'; @InputType() export class RefreshTokenWhereInput { + @Field(() => [RefreshTokenWhereInput], { nullable: true }) + AND?: Array; - @Field(() => [RefreshTokenWhereInput], {nullable:true}) - AND?: Array; + @Field(() => [RefreshTokenWhereInput], { nullable: true }) + OR?: Array; - @Field(() => [RefreshTokenWhereInput], {nullable:true}) - OR?: Array; + @Field(() => [RefreshTokenWhereInput], { nullable: true }) + NOT?: Array; - @Field(() => [RefreshTokenWhereInput], {nullable:true}) - NOT?: Array; + @Field(() => StringFilter, { nullable: true }) + id?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; + @Field(() => DateTimeFilter, { nullable: true }) + createdAt?: DateTimeFilter; - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; + @Field(() => DateTimeFilter, { nullable: true }) + updatedAt?: DateTimeFilter; - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; + @Field(() => DateTimeNullableFilter, { nullable: true }) + deletedAt?: DateTimeNullableFilter; - @Field(() => DateTimeNullableFilter, {nullable:true}) - deletedAt?: DateTimeNullableFilter; + @Field(() => StringFilter, { nullable: true }) + refreshToken?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - refreshToken?: StringFilter; + @Field(() => StringFilter, { nullable: true }) + userId?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - userId?: StringFilter; - - @Field(() => UserRelationFilter, {nullable:true}) - user?: UserRelationFilter; + @Field(() => UserRelationFilter, { nullable: true }) + user?: UserRelationFilter; } diff --git a/server/src/api/@generated/refresh-token/refresh-token.model.ts b/server/src/api/@generated/refresh-token/refresh-token.model.ts index d549fa8f9b..e342d81ff1 100644 --- a/server/src/api/@generated/refresh-token/refresh-token.model.ts +++ b/server/src/api/@generated/refresh-token/refresh-token.model.ts @@ -5,25 +5,24 @@ import { User } from '../user/user.model'; @ObjectType() export class RefreshToken { + @Field(() => ID, { nullable: false }) + id!: string; - @Field(() => ID, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: false }) + createdAt!: Date; - @Field(() => Date, {nullable:false}) - createdAt!: Date; + @Field(() => Date, { nullable: false }) + updatedAt!: Date; - @Field(() => Date, {nullable:false}) - updatedAt!: Date; + @Field(() => Date, { nullable: true }) + deletedAt!: Date | null; - @Field(() => Date, {nullable:true}) - deletedAt!: Date | null; + @Field(() => String, { nullable: false }) + refreshToken!: string; - @Field(() => String, {nullable:false}) - refreshToken!: string; + @Field(() => String, { nullable: false }) + userId!: string; - @Field(() => String, {nullable:false}) - userId!: string; - - @Field(() => User, {nullable:false}) - user?: User; + @Field(() => User, { nullable: false }) + user?: User; } diff --git a/server/src/api/@generated/refresh-token/update-many-refresh-token.args.ts b/server/src/api/@generated/refresh-token/update-many-refresh-token.args.ts index 820819ad07..e828bd8e57 100644 --- a/server/src/api/@generated/refresh-token/update-many-refresh-token.args.ts +++ b/server/src/api/@generated/refresh-token/update-many-refresh-token.args.ts @@ -6,12 +6,11 @@ import { RefreshTokenWhereInput } from './refresh-token-where.input'; @ArgsType() export class UpdateManyRefreshTokenArgs { + @Field(() => RefreshTokenUpdateManyMutationInput, { nullable: false }) + @Type(() => RefreshTokenUpdateManyMutationInput) + data!: RefreshTokenUpdateManyMutationInput; - @Field(() => RefreshTokenUpdateManyMutationInput, {nullable:false}) - @Type(() => RefreshTokenUpdateManyMutationInput) - data!: RefreshTokenUpdateManyMutationInput; - - @Field(() => RefreshTokenWhereInput, {nullable:true}) - @Type(() => RefreshTokenWhereInput) - where?: RefreshTokenWhereInput; + @Field(() => RefreshTokenWhereInput, { nullable: true }) + @Type(() => RefreshTokenWhereInput) + where?: RefreshTokenWhereInput; } diff --git a/server/src/api/@generated/refresh-token/update-one-refresh-token.args.ts b/server/src/api/@generated/refresh-token/update-one-refresh-token.args.ts index f2116b404e..543454c75b 100644 --- a/server/src/api/@generated/refresh-token/update-one-refresh-token.args.ts +++ b/server/src/api/@generated/refresh-token/update-one-refresh-token.args.ts @@ -6,12 +6,11 @@ import { RefreshTokenWhereUniqueInput } from './refresh-token-where-unique.input @ArgsType() export class UpdateOneRefreshTokenArgs { + @Field(() => RefreshTokenUpdateInput, { nullable: false }) + @Type(() => RefreshTokenUpdateInput) + data!: RefreshTokenUpdateInput; - @Field(() => RefreshTokenUpdateInput, {nullable:false}) - @Type(() => RefreshTokenUpdateInput) - data!: RefreshTokenUpdateInput; - - @Field(() => RefreshTokenWhereUniqueInput, {nullable:false}) - @Type(() => RefreshTokenWhereUniqueInput) - where!: RefreshTokenWhereUniqueInput; + @Field(() => RefreshTokenWhereUniqueInput, { nullable: false }) + @Type(() => RefreshTokenWhereUniqueInput) + where!: RefreshTokenWhereUniqueInput; } diff --git a/server/src/api/@generated/refresh-token/upsert-one-refresh-token.args.ts b/server/src/api/@generated/refresh-token/upsert-one-refresh-token.args.ts index c9b81850cf..d78a4f2de9 100644 --- a/server/src/api/@generated/refresh-token/upsert-one-refresh-token.args.ts +++ b/server/src/api/@generated/refresh-token/upsert-one-refresh-token.args.ts @@ -7,16 +7,15 @@ import { RefreshTokenUpdateInput } from './refresh-token-update.input'; @ArgsType() export class UpsertOneRefreshTokenArgs { + @Field(() => RefreshTokenWhereUniqueInput, { nullable: false }) + @Type(() => RefreshTokenWhereUniqueInput) + where!: RefreshTokenWhereUniqueInput; - @Field(() => RefreshTokenWhereUniqueInput, {nullable:false}) - @Type(() => RefreshTokenWhereUniqueInput) - where!: RefreshTokenWhereUniqueInput; + @Field(() => RefreshTokenCreateInput, { nullable: false }) + @Type(() => RefreshTokenCreateInput) + create!: RefreshTokenCreateInput; - @Field(() => RefreshTokenCreateInput, {nullable:false}) - @Type(() => RefreshTokenCreateInput) - create!: RefreshTokenCreateInput; - - @Field(() => RefreshTokenUpdateInput, {nullable:false}) - @Type(() => RefreshTokenUpdateInput) - update!: RefreshTokenUpdateInput; + @Field(() => RefreshTokenUpdateInput, { nullable: false }) + @Type(() => RefreshTokenUpdateInput) + update!: RefreshTokenUpdateInput; } diff --git a/server/src/api/@generated/user/aggregate-user.output.ts b/server/src/api/@generated/user/aggregate-user.output.ts index 063dd542c4..c558cb7646 100644 --- a/server/src/api/@generated/user/aggregate-user.output.ts +++ b/server/src/api/@generated/user/aggregate-user.output.ts @@ -6,13 +6,12 @@ import { UserMaxAggregate } from './user-max-aggregate.output'; @ObjectType() export class AggregateUser { + @Field(() => UserCountAggregate, { nullable: true }) + _count?: UserCountAggregate; - @Field(() => UserCountAggregate, {nullable:true}) - _count?: UserCountAggregate; + @Field(() => UserMinAggregate, { nullable: true }) + _min?: UserMinAggregate; - @Field(() => UserMinAggregate, {nullable:true}) - _min?: UserMinAggregate; - - @Field(() => UserMaxAggregate, {nullable:true}) - _max?: UserMaxAggregate; + @Field(() => UserMaxAggregate, { nullable: true }) + _max?: UserMaxAggregate; } diff --git a/server/src/api/@generated/user/create-many-user.args.ts b/server/src/api/@generated/user/create-many-user.args.ts index d1e7141d57..5e5e5d8933 100644 --- a/server/src/api/@generated/user/create-many-user.args.ts +++ b/server/src/api/@generated/user/create-many-user.args.ts @@ -5,11 +5,10 @@ import { Type } from 'class-transformer'; @ArgsType() export class CreateManyUserArgs { + @Field(() => [UserCreateManyInput], { nullable: false }) + @Type(() => UserCreateManyInput) + data!: Array; - @Field(() => [UserCreateManyInput], {nullable:false}) - @Type(() => UserCreateManyInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; + @Field(() => Boolean, { nullable: true }) + skipDuplicates?: boolean; } diff --git a/server/src/api/@generated/user/create-one-user.args.ts b/server/src/api/@generated/user/create-one-user.args.ts index 6a791035cd..c7d498ef2c 100644 --- a/server/src/api/@generated/user/create-one-user.args.ts +++ b/server/src/api/@generated/user/create-one-user.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class CreateOneUserArgs { - - @Field(() => UserCreateInput, {nullable:false}) - @Type(() => UserCreateInput) - data!: UserCreateInput; + @Field(() => UserCreateInput, { nullable: false }) + @Type(() => UserCreateInput) + data!: UserCreateInput; } diff --git a/server/src/api/@generated/user/delete-many-user.args.ts b/server/src/api/@generated/user/delete-many-user.args.ts index ea7bbd01c6..1413038b90 100644 --- a/server/src/api/@generated/user/delete-many-user.args.ts +++ b/server/src/api/@generated/user/delete-many-user.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class DeleteManyUserArgs { - - @Field(() => UserWhereInput, {nullable:true}) - @Type(() => UserWhereInput) - where?: UserWhereInput; + @Field(() => UserWhereInput, { nullable: true }) + @Type(() => UserWhereInput) + where?: UserWhereInput; } diff --git a/server/src/api/@generated/user/delete-one-user.args.ts b/server/src/api/@generated/user/delete-one-user.args.ts index d888779592..c3877e8c27 100644 --- a/server/src/api/@generated/user/delete-one-user.args.ts +++ b/server/src/api/@generated/user/delete-one-user.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class DeleteOneUserArgs { - - @Field(() => UserWhereUniqueInput, {nullable:false}) - @Type(() => UserWhereUniqueInput) - where!: UserWhereUniqueInput; + @Field(() => UserWhereUniqueInput, { nullable: false }) + @Type(() => UserWhereUniqueInput) + where!: UserWhereUniqueInput; } diff --git a/server/src/api/@generated/user/find-first-user-or-throw.args.ts b/server/src/api/@generated/user/find-first-user-or-throw.args.ts index 257d5d6c58..14b5d70c81 100644 --- a/server/src/api/@generated/user/find-first-user-or-throw.args.ts +++ b/server/src/api/@generated/user/find-first-user-or-throw.args.ts @@ -9,23 +9,22 @@ import { UserScalarFieldEnum } from './user-scalar-field.enum'; @ArgsType() export class FindFirstUserOrThrowArgs { + @Field(() => UserWhereInput, { nullable: true }) + @Type(() => UserWhereInput) + where?: UserWhereInput; - @Field(() => UserWhereInput, {nullable:true}) - @Type(() => UserWhereInput) - where?: UserWhereInput; + @Field(() => [UserOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [UserOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; + @Field(() => UserWhereUniqueInput, { nullable: true }) + cursor?: UserWhereUniqueInput; - @Field(() => UserWhereUniqueInput, {nullable:true}) - cursor?: UserWhereUniqueInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [UserScalarFieldEnum], {nullable:true}) - distinct?: Array; + @Field(() => [UserScalarFieldEnum], { nullable: true }) + distinct?: Array; } diff --git a/server/src/api/@generated/user/find-first-user.args.ts b/server/src/api/@generated/user/find-first-user.args.ts index f154db124b..2952149852 100644 --- a/server/src/api/@generated/user/find-first-user.args.ts +++ b/server/src/api/@generated/user/find-first-user.args.ts @@ -9,23 +9,22 @@ import { UserScalarFieldEnum } from './user-scalar-field.enum'; @ArgsType() export class FindFirstUserArgs { + @Field(() => UserWhereInput, { nullable: true }) + @Type(() => UserWhereInput) + where?: UserWhereInput; - @Field(() => UserWhereInput, {nullable:true}) - @Type(() => UserWhereInput) - where?: UserWhereInput; + @Field(() => [UserOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [UserOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; + @Field(() => UserWhereUniqueInput, { nullable: true }) + cursor?: UserWhereUniqueInput; - @Field(() => UserWhereUniqueInput, {nullable:true}) - cursor?: UserWhereUniqueInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [UserScalarFieldEnum], {nullable:true}) - distinct?: Array; + @Field(() => [UserScalarFieldEnum], { nullable: true }) + distinct?: Array; } diff --git a/server/src/api/@generated/user/find-many-user.args.ts b/server/src/api/@generated/user/find-many-user.args.ts index 4be3dc361e..4f9be57938 100644 --- a/server/src/api/@generated/user/find-many-user.args.ts +++ b/server/src/api/@generated/user/find-many-user.args.ts @@ -9,23 +9,22 @@ import { UserScalarFieldEnum } from './user-scalar-field.enum'; @ArgsType() export class FindManyUserArgs { + @Field(() => UserWhereInput, { nullable: true }) + @Type(() => UserWhereInput) + where?: UserWhereInput; - @Field(() => UserWhereInput, {nullable:true}) - @Type(() => UserWhereInput) - where?: UserWhereInput; + @Field(() => [UserOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [UserOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; + @Field(() => UserWhereUniqueInput, { nullable: true }) + cursor?: UserWhereUniqueInput; - @Field(() => UserWhereUniqueInput, {nullable:true}) - cursor?: UserWhereUniqueInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [UserScalarFieldEnum], {nullable:true}) - distinct?: Array; + @Field(() => [UserScalarFieldEnum], { nullable: true }) + distinct?: Array; } diff --git a/server/src/api/@generated/user/find-unique-user-or-throw.args.ts b/server/src/api/@generated/user/find-unique-user-or-throw.args.ts index 0117e49ac0..efceec7029 100644 --- a/server/src/api/@generated/user/find-unique-user-or-throw.args.ts +++ b/server/src/api/@generated/user/find-unique-user-or-throw.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class FindUniqueUserOrThrowArgs { - - @Field(() => UserWhereUniqueInput, {nullable:false}) - @Type(() => UserWhereUniqueInput) - where!: UserWhereUniqueInput; + @Field(() => UserWhereUniqueInput, { nullable: false }) + @Type(() => UserWhereUniqueInput) + where!: UserWhereUniqueInput; } diff --git a/server/src/api/@generated/user/find-unique-user.args.ts b/server/src/api/@generated/user/find-unique-user.args.ts index e079ac0120..1623eaea47 100644 --- a/server/src/api/@generated/user/find-unique-user.args.ts +++ b/server/src/api/@generated/user/find-unique-user.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class FindUniqueUserArgs { - - @Field(() => UserWhereUniqueInput, {nullable:false}) - @Type(() => UserWhereUniqueInput) - where!: UserWhereUniqueInput; + @Field(() => UserWhereUniqueInput, { nullable: false }) + @Type(() => UserWhereUniqueInput) + where!: UserWhereUniqueInput; } diff --git a/server/src/api/@generated/user/update-many-user.args.ts b/server/src/api/@generated/user/update-many-user.args.ts index 2e8274867c..c16cbbe638 100644 --- a/server/src/api/@generated/user/update-many-user.args.ts +++ b/server/src/api/@generated/user/update-many-user.args.ts @@ -6,12 +6,11 @@ import { UserWhereInput } from './user-where.input'; @ArgsType() export class UpdateManyUserArgs { + @Field(() => UserUpdateManyMutationInput, { nullable: false }) + @Type(() => UserUpdateManyMutationInput) + data!: UserUpdateManyMutationInput; - @Field(() => UserUpdateManyMutationInput, {nullable:false}) - @Type(() => UserUpdateManyMutationInput) - data!: UserUpdateManyMutationInput; - - @Field(() => UserWhereInput, {nullable:true}) - @Type(() => UserWhereInput) - where?: UserWhereInput; + @Field(() => UserWhereInput, { nullable: true }) + @Type(() => UserWhereInput) + where?: UserWhereInput; } diff --git a/server/src/api/@generated/user/update-one-user.args.ts b/server/src/api/@generated/user/update-one-user.args.ts index 9f16dadfd2..233d075aa8 100644 --- a/server/src/api/@generated/user/update-one-user.args.ts +++ b/server/src/api/@generated/user/update-one-user.args.ts @@ -6,12 +6,11 @@ import { UserWhereUniqueInput } from './user-where-unique.input'; @ArgsType() export class UpdateOneUserArgs { + @Field(() => UserUpdateInput, { nullable: false }) + @Type(() => UserUpdateInput) + data!: UserUpdateInput; - @Field(() => UserUpdateInput, {nullable:false}) - @Type(() => UserUpdateInput) - data!: UserUpdateInput; - - @Field(() => UserWhereUniqueInput, {nullable:false}) - @Type(() => UserWhereUniqueInput) - where!: UserWhereUniqueInput; + @Field(() => UserWhereUniqueInput, { nullable: false }) + @Type(() => UserWhereUniqueInput) + where!: UserWhereUniqueInput; } diff --git a/server/src/api/@generated/user/upsert-one-user.args.ts b/server/src/api/@generated/user/upsert-one-user.args.ts index 865b56c030..90e4326473 100644 --- a/server/src/api/@generated/user/upsert-one-user.args.ts +++ b/server/src/api/@generated/user/upsert-one-user.args.ts @@ -7,16 +7,15 @@ import { UserUpdateInput } from './user-update.input'; @ArgsType() export class UpsertOneUserArgs { + @Field(() => UserWhereUniqueInput, { nullable: false }) + @Type(() => UserWhereUniqueInput) + where!: UserWhereUniqueInput; - @Field(() => UserWhereUniqueInput, {nullable:false}) - @Type(() => UserWhereUniqueInput) - where!: UserWhereUniqueInput; + @Field(() => UserCreateInput, { nullable: false }) + @Type(() => UserCreateInput) + create!: UserCreateInput; - @Field(() => UserCreateInput, {nullable:false}) - @Type(() => UserCreateInput) - create!: UserCreateInput; - - @Field(() => UserUpdateInput, {nullable:false}) - @Type(() => UserUpdateInput) - update!: UserUpdateInput; + @Field(() => UserUpdateInput, { nullable: false }) + @Type(() => UserUpdateInput) + update!: UserUpdateInput; } diff --git a/server/src/api/@generated/user/user-aggregate.args.ts b/server/src/api/@generated/user/user-aggregate.args.ts index 21afb72e8c..b3cf0b3381 100644 --- a/server/src/api/@generated/user/user-aggregate.args.ts +++ b/server/src/api/@generated/user/user-aggregate.args.ts @@ -11,29 +11,28 @@ import { UserMaxAggregateInput } from './user-max-aggregate.input'; @ArgsType() export class UserAggregateArgs { + @Field(() => UserWhereInput, { nullable: true }) + @Type(() => UserWhereInput) + where?: UserWhereInput; - @Field(() => UserWhereInput, {nullable:true}) - @Type(() => UserWhereInput) - where?: UserWhereInput; + @Field(() => [UserOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [UserOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; + @Field(() => UserWhereUniqueInput, { nullable: true }) + cursor?: UserWhereUniqueInput; - @Field(() => UserWhereUniqueInput, {nullable:true}) - cursor?: UserWhereUniqueInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; + @Field(() => UserCountAggregateInput, { nullable: true }) + _count?: UserCountAggregateInput; - @Field(() => UserCountAggregateInput, {nullable:true}) - _count?: UserCountAggregateInput; + @Field(() => UserMinAggregateInput, { nullable: true }) + _min?: UserMinAggregateInput; - @Field(() => UserMinAggregateInput, {nullable:true}) - _min?: UserMinAggregateInput; - - @Field(() => UserMaxAggregateInput, {nullable:true}) - _max?: UserMaxAggregateInput; + @Field(() => UserMaxAggregateInput, { nullable: true }) + _max?: UserMaxAggregateInput; } diff --git a/server/src/api/@generated/user/user-count-aggregate.input.ts b/server/src/api/@generated/user/user-count-aggregate.input.ts index 95dfb6d8a2..4cafc1c853 100644 --- a/server/src/api/@generated/user/user-count-aggregate.input.ts +++ b/server/src/api/@generated/user/user-count-aggregate.input.ts @@ -3,49 +3,48 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class UserCountAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; - @Field(() => Boolean, {nullable:true}) - id?: true; + @Field(() => Boolean, { nullable: true }) + createdAt?: true; - @Field(() => Boolean, {nullable:true}) - createdAt?: true; + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; - @Field(() => Boolean, {nullable:true}) - deletedAt?: true; + @Field(() => Boolean, { nullable: true }) + lastSeen?: true; - @Field(() => Boolean, {nullable:true}) - lastSeen?: true; + @Field(() => Boolean, { nullable: true }) + disabled?: true; - @Field(() => Boolean, {nullable:true}) - disabled?: true; + @Field(() => Boolean, { nullable: true }) + displayName?: true; - @Field(() => Boolean, {nullable:true}) - displayName?: true; + @Field(() => Boolean, { nullable: true }) + email?: true; - @Field(() => Boolean, {nullable:true}) - email?: true; + @Field(() => Boolean, { nullable: true }) + avatarUrl?: true; - @Field(() => Boolean, {nullable:true}) - avatarUrl?: true; + @Field(() => Boolean, { nullable: true }) + locale?: true; - @Field(() => Boolean, {nullable:true}) - locale?: true; + @Field(() => Boolean, { nullable: true }) + phoneNumber?: true; - @Field(() => Boolean, {nullable:true}) - phoneNumber?: true; + @Field(() => Boolean, { nullable: true }) + passwordHash?: true; - @Field(() => Boolean, {nullable:true}) - passwordHash?: true; + @Field(() => Boolean, { nullable: true }) + emailVerified?: true; - @Field(() => Boolean, {nullable:true}) - emailVerified?: true; + @Field(() => Boolean, { nullable: true }) + metadata?: true; - @Field(() => Boolean, {nullable:true}) - metadata?: true; - - @Field(() => Boolean, {nullable:true}) - _all?: true; + @Field(() => Boolean, { nullable: true }) + _all?: true; } diff --git a/server/src/api/@generated/user/user-count-aggregate.output.ts b/server/src/api/@generated/user/user-count-aggregate.output.ts index da9442d1b3..e821ec0a8a 100644 --- a/server/src/api/@generated/user/user-count-aggregate.output.ts +++ b/server/src/api/@generated/user/user-count-aggregate.output.ts @@ -4,49 +4,48 @@ import { Int } from '@nestjs/graphql'; @ObjectType() export class UserCountAggregate { + @Field(() => Int, { nullable: false }) + id!: number; - @Field(() => Int, {nullable:false}) - id!: number; + @Field(() => Int, { nullable: false }) + createdAt!: number; - @Field(() => Int, {nullable:false}) - createdAt!: number; + @Field(() => Int, { nullable: false }) + updatedAt!: number; - @Field(() => Int, {nullable:false}) - updatedAt!: number; + @Field(() => Int, { nullable: false }) + deletedAt!: number; - @Field(() => Int, {nullable:false}) - deletedAt!: number; + @Field(() => Int, { nullable: false }) + lastSeen!: number; - @Field(() => Int, {nullable:false}) - lastSeen!: number; + @Field(() => Int, { nullable: false }) + disabled!: number; - @Field(() => Int, {nullable:false}) - disabled!: number; + @Field(() => Int, { nullable: false }) + displayName!: number; - @Field(() => Int, {nullable:false}) - displayName!: number; + @Field(() => Int, { nullable: false }) + email!: number; - @Field(() => Int, {nullable:false}) - email!: number; + @Field(() => Int, { nullable: false }) + avatarUrl!: number; - @Field(() => Int, {nullable:false}) - avatarUrl!: number; + @Field(() => Int, { nullable: false }) + locale!: number; - @Field(() => Int, {nullable:false}) - locale!: number; + @Field(() => Int, { nullable: false }) + phoneNumber!: number; - @Field(() => Int, {nullable:false}) - phoneNumber!: number; + @Field(() => Int, { nullable: false }) + passwordHash!: number; - @Field(() => Int, {nullable:false}) - passwordHash!: number; + @Field(() => Int, { nullable: false }) + emailVerified!: number; - @Field(() => Int, {nullable:false}) - emailVerified!: number; + @Field(() => Int, { nullable: false }) + metadata!: number; - @Field(() => Int, {nullable:false}) - metadata!: number; - - @Field(() => Int, {nullable:false}) - _all!: number; + @Field(() => Int, { nullable: false }) + _all!: number; } diff --git a/server/src/api/@generated/user/user-count-order-by-aggregate.input.ts b/server/src/api/@generated/user/user-count-order-by-aggregate.input.ts index 41f2ff2790..ee01b23a2b 100644 --- a/server/src/api/@generated/user/user-count-order-by-aggregate.input.ts +++ b/server/src/api/@generated/user/user-count-order-by-aggregate.input.ts @@ -4,46 +4,45 @@ import { SortOrder } from '../prisma/sort-order.enum'; @InputType() export class UserCountOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + lastSeen?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - lastSeen?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + disabled?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - disabled?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + displayName?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - displayName?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + email?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - email?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + avatarUrl?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - avatarUrl?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + locale?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - locale?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + phoneNumber?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - phoneNumber?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + passwordHash?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - passwordHash?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + emailVerified?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - emailVerified?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - metadata?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + metadata?: keyof typeof SortOrder; } diff --git a/server/src/api/@generated/user/user-count.output.ts b/server/src/api/@generated/user/user-count.output.ts index 3dac4dc679..0b06b01d3e 100644 --- a/server/src/api/@generated/user/user-count.output.ts +++ b/server/src/api/@generated/user/user-count.output.ts @@ -4,10 +4,9 @@ import { Int } from '@nestjs/graphql'; @ObjectType() export class UserCount { + @Field(() => Int, { nullable: false }) + companies?: number; - @Field(() => Int, {nullable:false}) - companies?: number; - - @Field(() => Int, {nullable:false}) - RefreshTokens?: number; + @Field(() => Int, { nullable: false }) + RefreshTokens?: number; } diff --git a/server/src/api/@generated/user/user-create-many.input.ts b/server/src/api/@generated/user/user-create-many.input.ts index 8564534733..b8476f0fbd 100644 --- a/server/src/api/@generated/user/user-create-many.input.ts +++ b/server/src/api/@generated/user/user-create-many.input.ts @@ -4,46 +4,45 @@ import { GraphQLJSON } from 'graphql-type-json'; @InputType() export class UserCreateManyInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => Date, { nullable: true }) + lastSeen?: Date | string; - @Field(() => Date, {nullable:true}) - lastSeen?: Date | string; + @Field(() => Boolean, { nullable: true }) + disabled?: boolean; - @Field(() => Boolean, {nullable:true}) - disabled?: boolean; + @Field(() => String, { nullable: false }) + displayName!: string; - @Field(() => String, {nullable:false}) - displayName!: string; + @Field(() => String, { nullable: false }) + email!: string; - @Field(() => String, {nullable:false}) - email!: string; + @Field(() => String, { nullable: true }) + avatarUrl?: string; - @Field(() => String, {nullable:true}) - avatarUrl?: string; + @Field(() => String, { nullable: false }) + locale!: string; - @Field(() => String, {nullable:false}) - locale!: string; + @Field(() => String, { nullable: true }) + phoneNumber?: string; - @Field(() => String, {nullable:true}) - phoneNumber?: string; + @Field(() => String, { nullable: true }) + passwordHash?: string; - @Field(() => String, {nullable:true}) - passwordHash?: string; + @Field(() => Boolean, { nullable: true }) + emailVerified?: boolean; - @Field(() => Boolean, {nullable:true}) - emailVerified?: boolean; - - @Field(() => GraphQLJSON, {nullable:true}) - metadata?: any; + @Field(() => GraphQLJSON, { nullable: true }) + metadata?: any; } diff --git a/server/src/api/@generated/user/user-create-nested-one-without-companies.input.ts b/server/src/api/@generated/user/user-create-nested-one-without-companies.input.ts index bf1b7a7012..4b756fcb9c 100644 --- a/server/src/api/@generated/user/user-create-nested-one-without-companies.input.ts +++ b/server/src/api/@generated/user/user-create-nested-one-without-companies.input.ts @@ -7,16 +7,15 @@ import { UserWhereUniqueInput } from './user-where-unique.input'; @InputType() export class UserCreateNestedOneWithoutCompaniesInput { + @Field(() => UserCreateWithoutCompaniesInput, { nullable: true }) + @Type(() => UserCreateWithoutCompaniesInput) + create?: UserCreateWithoutCompaniesInput; - @Field(() => UserCreateWithoutCompaniesInput, {nullable:true}) - @Type(() => UserCreateWithoutCompaniesInput) - create?: UserCreateWithoutCompaniesInput; + @Field(() => UserCreateOrConnectWithoutCompaniesInput, { nullable: true }) + @Type(() => UserCreateOrConnectWithoutCompaniesInput) + connectOrCreate?: UserCreateOrConnectWithoutCompaniesInput; - @Field(() => UserCreateOrConnectWithoutCompaniesInput, {nullable:true}) - @Type(() => UserCreateOrConnectWithoutCompaniesInput) - connectOrCreate?: UserCreateOrConnectWithoutCompaniesInput; - - @Field(() => UserWhereUniqueInput, {nullable:true}) - @Type(() => UserWhereUniqueInput) - connect?: UserWhereUniqueInput; + @Field(() => UserWhereUniqueInput, { nullable: true }) + @Type(() => UserWhereUniqueInput) + connect?: UserWhereUniqueInput; } diff --git a/server/src/api/@generated/user/user-create-nested-one-without-refresh-tokens.input.ts b/server/src/api/@generated/user/user-create-nested-one-without-refresh-tokens.input.ts index 0b38460952..a03093cbd1 100644 --- a/server/src/api/@generated/user/user-create-nested-one-without-refresh-tokens.input.ts +++ b/server/src/api/@generated/user/user-create-nested-one-without-refresh-tokens.input.ts @@ -7,16 +7,15 @@ import { UserWhereUniqueInput } from './user-where-unique.input'; @InputType() export class UserCreateNestedOneWithoutRefreshTokensInput { + @Field(() => UserCreateWithoutRefreshTokensInput, { nullable: true }) + @Type(() => UserCreateWithoutRefreshTokensInput) + create?: UserCreateWithoutRefreshTokensInput; - @Field(() => UserCreateWithoutRefreshTokensInput, {nullable:true}) - @Type(() => UserCreateWithoutRefreshTokensInput) - create?: UserCreateWithoutRefreshTokensInput; + @Field(() => UserCreateOrConnectWithoutRefreshTokensInput, { nullable: true }) + @Type(() => UserCreateOrConnectWithoutRefreshTokensInput) + connectOrCreate?: UserCreateOrConnectWithoutRefreshTokensInput; - @Field(() => UserCreateOrConnectWithoutRefreshTokensInput, {nullable:true}) - @Type(() => UserCreateOrConnectWithoutRefreshTokensInput) - connectOrCreate?: UserCreateOrConnectWithoutRefreshTokensInput; - - @Field(() => UserWhereUniqueInput, {nullable:true}) - @Type(() => UserWhereUniqueInput) - connect?: UserWhereUniqueInput; + @Field(() => UserWhereUniqueInput, { nullable: true }) + @Type(() => UserWhereUniqueInput) + connect?: UserWhereUniqueInput; } diff --git a/server/src/api/@generated/user/user-create-nested-one-without-workspace-member.input.ts b/server/src/api/@generated/user/user-create-nested-one-without-workspace-member.input.ts index bda1fe4693..3ade9fb8ab 100644 --- a/server/src/api/@generated/user/user-create-nested-one-without-workspace-member.input.ts +++ b/server/src/api/@generated/user/user-create-nested-one-without-workspace-member.input.ts @@ -7,16 +7,17 @@ import { UserWhereUniqueInput } from './user-where-unique.input'; @InputType() export class UserCreateNestedOneWithoutWorkspaceMemberInput { + @Field(() => UserCreateWithoutWorkspaceMemberInput, { nullable: true }) + @Type(() => UserCreateWithoutWorkspaceMemberInput) + create?: UserCreateWithoutWorkspaceMemberInput; - @Field(() => UserCreateWithoutWorkspaceMemberInput, {nullable:true}) - @Type(() => UserCreateWithoutWorkspaceMemberInput) - create?: UserCreateWithoutWorkspaceMemberInput; + @Field(() => UserCreateOrConnectWithoutWorkspaceMemberInput, { + nullable: true, + }) + @Type(() => UserCreateOrConnectWithoutWorkspaceMemberInput) + connectOrCreate?: UserCreateOrConnectWithoutWorkspaceMemberInput; - @Field(() => UserCreateOrConnectWithoutWorkspaceMemberInput, {nullable:true}) - @Type(() => UserCreateOrConnectWithoutWorkspaceMemberInput) - connectOrCreate?: UserCreateOrConnectWithoutWorkspaceMemberInput; - - @Field(() => UserWhereUniqueInput, {nullable:true}) - @Type(() => UserWhereUniqueInput) - connect?: UserWhereUniqueInput; + @Field(() => UserWhereUniqueInput, { nullable: true }) + @Type(() => UserWhereUniqueInput) + connect?: UserWhereUniqueInput; } diff --git a/server/src/api/@generated/user/user-create-or-connect-without-companies.input.ts b/server/src/api/@generated/user/user-create-or-connect-without-companies.input.ts index 6161318ef3..5b8d5b18bd 100644 --- a/server/src/api/@generated/user/user-create-or-connect-without-companies.input.ts +++ b/server/src/api/@generated/user/user-create-or-connect-without-companies.input.ts @@ -6,12 +6,11 @@ import { UserCreateWithoutCompaniesInput } from './user-create-without-companies @InputType() export class UserCreateOrConnectWithoutCompaniesInput { + @Field(() => UserWhereUniqueInput, { nullable: false }) + @Type(() => UserWhereUniqueInput) + where!: UserWhereUniqueInput; - @Field(() => UserWhereUniqueInput, {nullable:false}) - @Type(() => UserWhereUniqueInput) - where!: UserWhereUniqueInput; - - @Field(() => UserCreateWithoutCompaniesInput, {nullable:false}) - @Type(() => UserCreateWithoutCompaniesInput) - create!: UserCreateWithoutCompaniesInput; + @Field(() => UserCreateWithoutCompaniesInput, { nullable: false }) + @Type(() => UserCreateWithoutCompaniesInput) + create!: UserCreateWithoutCompaniesInput; } diff --git a/server/src/api/@generated/user/user-create-or-connect-without-refresh-tokens.input.ts b/server/src/api/@generated/user/user-create-or-connect-without-refresh-tokens.input.ts index 8fea4aeed6..595c63b1e7 100644 --- a/server/src/api/@generated/user/user-create-or-connect-without-refresh-tokens.input.ts +++ b/server/src/api/@generated/user/user-create-or-connect-without-refresh-tokens.input.ts @@ -6,12 +6,11 @@ import { UserCreateWithoutRefreshTokensInput } from './user-create-without-refre @InputType() export class UserCreateOrConnectWithoutRefreshTokensInput { + @Field(() => UserWhereUniqueInput, { nullable: false }) + @Type(() => UserWhereUniqueInput) + where!: UserWhereUniqueInput; - @Field(() => UserWhereUniqueInput, {nullable:false}) - @Type(() => UserWhereUniqueInput) - where!: UserWhereUniqueInput; - - @Field(() => UserCreateWithoutRefreshTokensInput, {nullable:false}) - @Type(() => UserCreateWithoutRefreshTokensInput) - create!: UserCreateWithoutRefreshTokensInput; + @Field(() => UserCreateWithoutRefreshTokensInput, { nullable: false }) + @Type(() => UserCreateWithoutRefreshTokensInput) + create!: UserCreateWithoutRefreshTokensInput; } diff --git a/server/src/api/@generated/user/user-create-or-connect-without-workspace-member.input.ts b/server/src/api/@generated/user/user-create-or-connect-without-workspace-member.input.ts index 0d0ed69301..2dca4cb69e 100644 --- a/server/src/api/@generated/user/user-create-or-connect-without-workspace-member.input.ts +++ b/server/src/api/@generated/user/user-create-or-connect-without-workspace-member.input.ts @@ -6,12 +6,11 @@ import { UserCreateWithoutWorkspaceMemberInput } from './user-create-without-wor @InputType() export class UserCreateOrConnectWithoutWorkspaceMemberInput { + @Field(() => UserWhereUniqueInput, { nullable: false }) + @Type(() => UserWhereUniqueInput) + where!: UserWhereUniqueInput; - @Field(() => UserWhereUniqueInput, {nullable:false}) - @Type(() => UserWhereUniqueInput) - where!: UserWhereUniqueInput; - - @Field(() => UserCreateWithoutWorkspaceMemberInput, {nullable:false}) - @Type(() => UserCreateWithoutWorkspaceMemberInput) - create!: UserCreateWithoutWorkspaceMemberInput; + @Field(() => UserCreateWithoutWorkspaceMemberInput, { nullable: false }) + @Type(() => UserCreateWithoutWorkspaceMemberInput) + create!: UserCreateWithoutWorkspaceMemberInput; } diff --git a/server/src/api/@generated/user/user-create-without-companies.input.ts b/server/src/api/@generated/user/user-create-without-companies.input.ts index 55b788a580..3d1ed32b20 100644 --- a/server/src/api/@generated/user/user-create-without-companies.input.ts +++ b/server/src/api/@generated/user/user-create-without-companies.input.ts @@ -6,52 +6,53 @@ import { RefreshTokenCreateNestedManyWithoutUserInput } from '../refresh-token/r @InputType() export class UserCreateWithoutCompaniesInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => Date, { nullable: true }) + lastSeen?: Date | string; - @Field(() => Date, {nullable:true}) - lastSeen?: Date | string; + @Field(() => Boolean, { nullable: true }) + disabled?: boolean; - @Field(() => Boolean, {nullable:true}) - disabled?: boolean; + @Field(() => String, { nullable: false }) + displayName!: string; - @Field(() => String, {nullable:false}) - displayName!: string; + @Field(() => String, { nullable: false }) + email!: string; - @Field(() => String, {nullable:false}) - email!: string; + @Field(() => String, { nullable: true }) + avatarUrl?: string; - @Field(() => String, {nullable:true}) - avatarUrl?: string; + @Field(() => String, { nullable: false }) + locale!: string; - @Field(() => String, {nullable:false}) - locale!: string; + @Field(() => String, { nullable: true }) + phoneNumber?: string; - @Field(() => String, {nullable:true}) - phoneNumber?: string; + @Field(() => String, { nullable: true }) + passwordHash?: string; - @Field(() => String, {nullable:true}) - passwordHash?: string; + @Field(() => Boolean, { nullable: true }) + emailVerified?: boolean; - @Field(() => Boolean, {nullable:true}) - emailVerified?: boolean; + @Field(() => GraphQLJSON, { nullable: true }) + metadata?: any; - @Field(() => GraphQLJSON, {nullable:true}) - metadata?: any; + @Field(() => WorkspaceMemberCreateNestedOneWithoutUserInput, { + nullable: true, + }) + WorkspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput; - @Field(() => WorkspaceMemberCreateNestedOneWithoutUserInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput; - - @Field(() => RefreshTokenCreateNestedManyWithoutUserInput, {nullable:true}) - RefreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput; + @Field(() => RefreshTokenCreateNestedManyWithoutUserInput, { nullable: true }) + RefreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput; } diff --git a/server/src/api/@generated/user/user-create-without-refresh-tokens.input.ts b/server/src/api/@generated/user/user-create-without-refresh-tokens.input.ts index 46c3f34a55..96548cc84f 100644 --- a/server/src/api/@generated/user/user-create-without-refresh-tokens.input.ts +++ b/server/src/api/@generated/user/user-create-without-refresh-tokens.input.ts @@ -6,52 +6,55 @@ import { CompanyCreateNestedManyWithoutAccountOwnerInput } from '../company/comp @InputType() export class UserCreateWithoutRefreshTokensInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => Date, { nullable: true }) + lastSeen?: Date | string; - @Field(() => Date, {nullable:true}) - lastSeen?: Date | string; + @Field(() => Boolean, { nullable: true }) + disabled?: boolean; - @Field(() => Boolean, {nullable:true}) - disabled?: boolean; + @Field(() => String, { nullable: false }) + displayName!: string; - @Field(() => String, {nullable:false}) - displayName!: string; + @Field(() => String, { nullable: false }) + email!: string; - @Field(() => String, {nullable:false}) - email!: string; + @Field(() => String, { nullable: true }) + avatarUrl?: string; - @Field(() => String, {nullable:true}) - avatarUrl?: string; + @Field(() => String, { nullable: false }) + locale!: string; - @Field(() => String, {nullable:false}) - locale!: string; + @Field(() => String, { nullable: true }) + phoneNumber?: string; - @Field(() => String, {nullable:true}) - phoneNumber?: string; + @Field(() => String, { nullable: true }) + passwordHash?: string; - @Field(() => String, {nullable:true}) - passwordHash?: string; + @Field(() => Boolean, { nullable: true }) + emailVerified?: boolean; - @Field(() => Boolean, {nullable:true}) - emailVerified?: boolean; + @Field(() => GraphQLJSON, { nullable: true }) + metadata?: any; - @Field(() => GraphQLJSON, {nullable:true}) - metadata?: any; + @Field(() => WorkspaceMemberCreateNestedOneWithoutUserInput, { + nullable: true, + }) + WorkspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput; - @Field(() => WorkspaceMemberCreateNestedOneWithoutUserInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput; - - @Field(() => CompanyCreateNestedManyWithoutAccountOwnerInput, {nullable:true}) - companies?: CompanyCreateNestedManyWithoutAccountOwnerInput; + @Field(() => CompanyCreateNestedManyWithoutAccountOwnerInput, { + nullable: true, + }) + companies?: CompanyCreateNestedManyWithoutAccountOwnerInput; } diff --git a/server/src/api/@generated/user/user-create-without-workspace-member.input.ts b/server/src/api/@generated/user/user-create-without-workspace-member.input.ts index f935e181b2..7c8ba07fa3 100644 --- a/server/src/api/@generated/user/user-create-without-workspace-member.input.ts +++ b/server/src/api/@generated/user/user-create-without-workspace-member.input.ts @@ -6,52 +6,53 @@ import { RefreshTokenCreateNestedManyWithoutUserInput } from '../refresh-token/r @InputType() export class UserCreateWithoutWorkspaceMemberInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => Date, { nullable: true }) + lastSeen?: Date | string; - @Field(() => Date, {nullable:true}) - lastSeen?: Date | string; + @Field(() => Boolean, { nullable: true }) + disabled?: boolean; - @Field(() => Boolean, {nullable:true}) - disabled?: boolean; + @Field(() => String, { nullable: false }) + displayName!: string; - @Field(() => String, {nullable:false}) - displayName!: string; + @Field(() => String, { nullable: false }) + email!: string; - @Field(() => String, {nullable:false}) - email!: string; + @Field(() => String, { nullable: true }) + avatarUrl?: string; - @Field(() => String, {nullable:true}) - avatarUrl?: string; + @Field(() => String, { nullable: false }) + locale!: string; - @Field(() => String, {nullable:false}) - locale!: string; + @Field(() => String, { nullable: true }) + phoneNumber?: string; - @Field(() => String, {nullable:true}) - phoneNumber?: string; + @Field(() => String, { nullable: true }) + passwordHash?: string; - @Field(() => String, {nullable:true}) - passwordHash?: string; + @Field(() => Boolean, { nullable: true }) + emailVerified?: boolean; - @Field(() => Boolean, {nullable:true}) - emailVerified?: boolean; + @Field(() => GraphQLJSON, { nullable: true }) + metadata?: any; - @Field(() => GraphQLJSON, {nullable:true}) - metadata?: any; + @Field(() => CompanyCreateNestedManyWithoutAccountOwnerInput, { + nullable: true, + }) + companies?: CompanyCreateNestedManyWithoutAccountOwnerInput; - @Field(() => CompanyCreateNestedManyWithoutAccountOwnerInput, {nullable:true}) - companies?: CompanyCreateNestedManyWithoutAccountOwnerInput; - - @Field(() => RefreshTokenCreateNestedManyWithoutUserInput, {nullable:true}) - RefreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput; + @Field(() => RefreshTokenCreateNestedManyWithoutUserInput, { nullable: true }) + RefreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput; } diff --git a/server/src/api/@generated/user/user-create.input.ts b/server/src/api/@generated/user/user-create.input.ts index 917238c884..2d1e7717c6 100644 --- a/server/src/api/@generated/user/user-create.input.ts +++ b/server/src/api/@generated/user/user-create.input.ts @@ -7,55 +7,58 @@ import { RefreshTokenCreateNestedManyWithoutUserInput } from '../refresh-token/r @InputType() export class UserCreateInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => Date, { nullable: true }) + lastSeen?: Date | string; - @Field(() => Date, {nullable:true}) - lastSeen?: Date | string; + @Field(() => Boolean, { nullable: true }) + disabled?: boolean; - @Field(() => Boolean, {nullable:true}) - disabled?: boolean; + @Field(() => String, { nullable: false }) + displayName!: string; - @Field(() => String, {nullable:false}) - displayName!: string; + @Field(() => String, { nullable: false }) + email!: string; - @Field(() => String, {nullable:false}) - email!: string; + @Field(() => String, { nullable: true }) + avatarUrl?: string; - @Field(() => String, {nullable:true}) - avatarUrl?: string; + @Field(() => String, { nullable: false }) + locale!: string; - @Field(() => String, {nullable:false}) - locale!: string; + @Field(() => String, { nullable: true }) + phoneNumber?: string; - @Field(() => String, {nullable:true}) - phoneNumber?: string; + @Field(() => String, { nullable: true }) + passwordHash?: string; - @Field(() => String, {nullable:true}) - passwordHash?: string; + @Field(() => Boolean, { nullable: true }) + emailVerified?: boolean; - @Field(() => Boolean, {nullable:true}) - emailVerified?: boolean; + @Field(() => GraphQLJSON, { nullable: true }) + metadata?: any; - @Field(() => GraphQLJSON, {nullable:true}) - metadata?: any; + @Field(() => WorkspaceMemberCreateNestedOneWithoutUserInput, { + nullable: true, + }) + WorkspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput; - @Field(() => WorkspaceMemberCreateNestedOneWithoutUserInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput; + @Field(() => CompanyCreateNestedManyWithoutAccountOwnerInput, { + nullable: true, + }) + companies?: CompanyCreateNestedManyWithoutAccountOwnerInput; - @Field(() => CompanyCreateNestedManyWithoutAccountOwnerInput, {nullable:true}) - companies?: CompanyCreateNestedManyWithoutAccountOwnerInput; - - @Field(() => RefreshTokenCreateNestedManyWithoutUserInput, {nullable:true}) - RefreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput; + @Field(() => RefreshTokenCreateNestedManyWithoutUserInput, { nullable: true }) + RefreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput; } diff --git a/server/src/api/@generated/user/user-group-by.args.ts b/server/src/api/@generated/user/user-group-by.args.ts index 1704929089..c1cd7801f4 100644 --- a/server/src/api/@generated/user/user-group-by.args.ts +++ b/server/src/api/@generated/user/user-group-by.args.ts @@ -12,32 +12,31 @@ import { UserMaxAggregateInput } from './user-max-aggregate.input'; @ArgsType() export class UserGroupByArgs { + @Field(() => UserWhereInput, { nullable: true }) + @Type(() => UserWhereInput) + where?: UserWhereInput; - @Field(() => UserWhereInput, {nullable:true}) - @Type(() => UserWhereInput) - where?: UserWhereInput; + @Field(() => [UserOrderByWithAggregationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [UserOrderByWithAggregationInput], {nullable:true}) - orderBy?: Array; + @Field(() => [UserScalarFieldEnum], { nullable: false }) + by!: Array; - @Field(() => [UserScalarFieldEnum], {nullable:false}) - by!: Array; + @Field(() => UserScalarWhereWithAggregatesInput, { nullable: true }) + having?: UserScalarWhereWithAggregatesInput; - @Field(() => UserScalarWhereWithAggregatesInput, {nullable:true}) - having?: UserScalarWhereWithAggregatesInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; + @Field(() => UserCountAggregateInput, { nullable: true }) + _count?: UserCountAggregateInput; - @Field(() => UserCountAggregateInput, {nullable:true}) - _count?: UserCountAggregateInput; + @Field(() => UserMinAggregateInput, { nullable: true }) + _min?: UserMinAggregateInput; - @Field(() => UserMinAggregateInput, {nullable:true}) - _min?: UserMinAggregateInput; - - @Field(() => UserMaxAggregateInput, {nullable:true}) - _max?: UserMaxAggregateInput; + @Field(() => UserMaxAggregateInput, { nullable: true }) + _max?: UserMaxAggregateInput; } diff --git a/server/src/api/@generated/user/user-group-by.output.ts b/server/src/api/@generated/user/user-group-by.output.ts index 371e1fc5ff..756973625c 100644 --- a/server/src/api/@generated/user/user-group-by.output.ts +++ b/server/src/api/@generated/user/user-group-by.output.ts @@ -7,55 +7,54 @@ import { UserMaxAggregate } from './user-max-aggregate.output'; @ObjectType() export class UserGroupBy { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: false }) + createdAt!: Date | string; - @Field(() => Date, {nullable:false}) - createdAt!: Date | string; + @Field(() => Date, { nullable: false }) + updatedAt!: Date | string; - @Field(() => Date, {nullable:false}) - updatedAt!: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => Date, { nullable: true }) + lastSeen?: Date | string; - @Field(() => Date, {nullable:true}) - lastSeen?: Date | string; + @Field(() => Boolean, { nullable: false }) + disabled!: boolean; - @Field(() => Boolean, {nullable:false}) - disabled!: boolean; + @Field(() => String, { nullable: false }) + displayName!: string; - @Field(() => String, {nullable:false}) - displayName!: string; + @Field(() => String, { nullable: false }) + email!: string; - @Field(() => String, {nullable:false}) - email!: string; + @Field(() => String, { nullable: true }) + avatarUrl?: string; - @Field(() => String, {nullable:true}) - avatarUrl?: string; + @Field(() => String, { nullable: false }) + locale!: string; - @Field(() => String, {nullable:false}) - locale!: string; + @Field(() => String, { nullable: true }) + phoneNumber?: string; - @Field(() => String, {nullable:true}) - phoneNumber?: string; + @Field(() => String, { nullable: true }) + passwordHash?: string; - @Field(() => String, {nullable:true}) - passwordHash?: string; + @Field(() => Boolean, { nullable: false }) + emailVerified!: boolean; - @Field(() => Boolean, {nullable:false}) - emailVerified!: boolean; + @Field(() => GraphQLJSON, { nullable: true }) + metadata?: any; - @Field(() => GraphQLJSON, {nullable:true}) - metadata?: any; + @Field(() => UserCountAggregate, { nullable: true }) + _count?: UserCountAggregate; - @Field(() => UserCountAggregate, {nullable:true}) - _count?: UserCountAggregate; + @Field(() => UserMinAggregate, { nullable: true }) + _min?: UserMinAggregate; - @Field(() => UserMinAggregate, {nullable:true}) - _min?: UserMinAggregate; - - @Field(() => UserMaxAggregate, {nullable:true}) - _max?: UserMaxAggregate; + @Field(() => UserMaxAggregate, { nullable: true }) + _max?: UserMaxAggregate; } diff --git a/server/src/api/@generated/user/user-max-aggregate.input.ts b/server/src/api/@generated/user/user-max-aggregate.input.ts index 7ecc189125..0c5422dbc3 100644 --- a/server/src/api/@generated/user/user-max-aggregate.input.ts +++ b/server/src/api/@generated/user/user-max-aggregate.input.ts @@ -3,43 +3,42 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class UserMaxAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; - @Field(() => Boolean, {nullable:true}) - id?: true; + @Field(() => Boolean, { nullable: true }) + createdAt?: true; - @Field(() => Boolean, {nullable:true}) - createdAt?: true; + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; - @Field(() => Boolean, {nullable:true}) - deletedAt?: true; + @Field(() => Boolean, { nullable: true }) + lastSeen?: true; - @Field(() => Boolean, {nullable:true}) - lastSeen?: true; + @Field(() => Boolean, { nullable: true }) + disabled?: true; - @Field(() => Boolean, {nullable:true}) - disabled?: true; + @Field(() => Boolean, { nullable: true }) + displayName?: true; - @Field(() => Boolean, {nullable:true}) - displayName?: true; + @Field(() => Boolean, { nullable: true }) + email?: true; - @Field(() => Boolean, {nullable:true}) - email?: true; + @Field(() => Boolean, { nullable: true }) + avatarUrl?: true; - @Field(() => Boolean, {nullable:true}) - avatarUrl?: true; + @Field(() => Boolean, { nullable: true }) + locale?: true; - @Field(() => Boolean, {nullable:true}) - locale?: true; + @Field(() => Boolean, { nullable: true }) + phoneNumber?: true; - @Field(() => Boolean, {nullable:true}) - phoneNumber?: true; + @Field(() => Boolean, { nullable: true }) + passwordHash?: true; - @Field(() => Boolean, {nullable:true}) - passwordHash?: true; - - @Field(() => Boolean, {nullable:true}) - emailVerified?: true; + @Field(() => Boolean, { nullable: true }) + emailVerified?: true; } diff --git a/server/src/api/@generated/user/user-max-aggregate.output.ts b/server/src/api/@generated/user/user-max-aggregate.output.ts index 8b2741a586..f48b01c457 100644 --- a/server/src/api/@generated/user/user-max-aggregate.output.ts +++ b/server/src/api/@generated/user/user-max-aggregate.output.ts @@ -3,43 +3,42 @@ import { ObjectType } from '@nestjs/graphql'; @ObjectType() export class UserMaxAggregate { + @Field(() => String, { nullable: true }) + id?: string; - @Field(() => String, {nullable:true}) - id?: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => Date, { nullable: true }) + lastSeen?: Date | string; - @Field(() => Date, {nullable:true}) - lastSeen?: Date | string; + @Field(() => Boolean, { nullable: true }) + disabled?: boolean; - @Field(() => Boolean, {nullable:true}) - disabled?: boolean; + @Field(() => String, { nullable: true }) + displayName?: string; - @Field(() => String, {nullable:true}) - displayName?: string; + @Field(() => String, { nullable: true }) + email?: string; - @Field(() => String, {nullable:true}) - email?: string; + @Field(() => String, { nullable: true }) + avatarUrl?: string; - @Field(() => String, {nullable:true}) - avatarUrl?: string; + @Field(() => String, { nullable: true }) + locale?: string; - @Field(() => String, {nullable:true}) - locale?: string; + @Field(() => String, { nullable: true }) + phoneNumber?: string; - @Field(() => String, {nullable:true}) - phoneNumber?: string; + @Field(() => String, { nullable: true }) + passwordHash?: string; - @Field(() => String, {nullable:true}) - passwordHash?: string; - - @Field(() => Boolean, {nullable:true}) - emailVerified?: boolean; + @Field(() => Boolean, { nullable: true }) + emailVerified?: boolean; } diff --git a/server/src/api/@generated/user/user-max-order-by-aggregate.input.ts b/server/src/api/@generated/user/user-max-order-by-aggregate.input.ts index f0d4ffec19..a7f5b5959f 100644 --- a/server/src/api/@generated/user/user-max-order-by-aggregate.input.ts +++ b/server/src/api/@generated/user/user-max-order-by-aggregate.input.ts @@ -4,43 +4,42 @@ import { SortOrder } from '../prisma/sort-order.enum'; @InputType() export class UserMaxOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + lastSeen?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - lastSeen?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + disabled?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - disabled?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + displayName?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - displayName?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + email?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - email?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + avatarUrl?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - avatarUrl?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + locale?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - locale?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + phoneNumber?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - phoneNumber?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + passwordHash?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - passwordHash?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - emailVerified?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + emailVerified?: keyof typeof SortOrder; } diff --git a/server/src/api/@generated/user/user-min-aggregate.input.ts b/server/src/api/@generated/user/user-min-aggregate.input.ts index 16e74326c6..e210943058 100644 --- a/server/src/api/@generated/user/user-min-aggregate.input.ts +++ b/server/src/api/@generated/user/user-min-aggregate.input.ts @@ -3,43 +3,42 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class UserMinAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; - @Field(() => Boolean, {nullable:true}) - id?: true; + @Field(() => Boolean, { nullable: true }) + createdAt?: true; - @Field(() => Boolean, {nullable:true}) - createdAt?: true; + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; - @Field(() => Boolean, {nullable:true}) - deletedAt?: true; + @Field(() => Boolean, { nullable: true }) + lastSeen?: true; - @Field(() => Boolean, {nullable:true}) - lastSeen?: true; + @Field(() => Boolean, { nullable: true }) + disabled?: true; - @Field(() => Boolean, {nullable:true}) - disabled?: true; + @Field(() => Boolean, { nullable: true }) + displayName?: true; - @Field(() => Boolean, {nullable:true}) - displayName?: true; + @Field(() => Boolean, { nullable: true }) + email?: true; - @Field(() => Boolean, {nullable:true}) - email?: true; + @Field(() => Boolean, { nullable: true }) + avatarUrl?: true; - @Field(() => Boolean, {nullable:true}) - avatarUrl?: true; + @Field(() => Boolean, { nullable: true }) + locale?: true; - @Field(() => Boolean, {nullable:true}) - locale?: true; + @Field(() => Boolean, { nullable: true }) + phoneNumber?: true; - @Field(() => Boolean, {nullable:true}) - phoneNumber?: true; + @Field(() => Boolean, { nullable: true }) + passwordHash?: true; - @Field(() => Boolean, {nullable:true}) - passwordHash?: true; - - @Field(() => Boolean, {nullable:true}) - emailVerified?: true; + @Field(() => Boolean, { nullable: true }) + emailVerified?: true; } diff --git a/server/src/api/@generated/user/user-min-aggregate.output.ts b/server/src/api/@generated/user/user-min-aggregate.output.ts index 0d5f343e77..8c31a6c1fb 100644 --- a/server/src/api/@generated/user/user-min-aggregate.output.ts +++ b/server/src/api/@generated/user/user-min-aggregate.output.ts @@ -3,43 +3,42 @@ import { ObjectType } from '@nestjs/graphql'; @ObjectType() export class UserMinAggregate { + @Field(() => String, { nullable: true }) + id?: string; - @Field(() => String, {nullable:true}) - id?: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => Date, { nullable: true }) + lastSeen?: Date | string; - @Field(() => Date, {nullable:true}) - lastSeen?: Date | string; + @Field(() => Boolean, { nullable: true }) + disabled?: boolean; - @Field(() => Boolean, {nullable:true}) - disabled?: boolean; + @Field(() => String, { nullable: true }) + displayName?: string; - @Field(() => String, {nullable:true}) - displayName?: string; + @Field(() => String, { nullable: true }) + email?: string; - @Field(() => String, {nullable:true}) - email?: string; + @Field(() => String, { nullable: true }) + avatarUrl?: string; - @Field(() => String, {nullable:true}) - avatarUrl?: string; + @Field(() => String, { nullable: true }) + locale?: string; - @Field(() => String, {nullable:true}) - locale?: string; + @Field(() => String, { nullable: true }) + phoneNumber?: string; - @Field(() => String, {nullable:true}) - phoneNumber?: string; + @Field(() => String, { nullable: true }) + passwordHash?: string; - @Field(() => String, {nullable:true}) - passwordHash?: string; - - @Field(() => Boolean, {nullable:true}) - emailVerified?: boolean; + @Field(() => Boolean, { nullable: true }) + emailVerified?: boolean; } diff --git a/server/src/api/@generated/user/user-min-order-by-aggregate.input.ts b/server/src/api/@generated/user/user-min-order-by-aggregate.input.ts index 033081fefc..d3b9bc2fc3 100644 --- a/server/src/api/@generated/user/user-min-order-by-aggregate.input.ts +++ b/server/src/api/@generated/user/user-min-order-by-aggregate.input.ts @@ -4,43 +4,42 @@ import { SortOrder } from '../prisma/sort-order.enum'; @InputType() export class UserMinOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + lastSeen?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - lastSeen?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + disabled?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - disabled?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + displayName?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - displayName?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + email?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - email?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + avatarUrl?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - avatarUrl?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + locale?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - locale?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + phoneNumber?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - phoneNumber?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + passwordHash?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - passwordHash?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - emailVerified?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + emailVerified?: keyof typeof SortOrder; } diff --git a/server/src/api/@generated/user/user-order-by-with-aggregation.input.ts b/server/src/api/@generated/user/user-order-by-with-aggregation.input.ts index d85a9a0b5d..5b24787519 100644 --- a/server/src/api/@generated/user/user-order-by-with-aggregation.input.ts +++ b/server/src/api/@generated/user/user-order-by-with-aggregation.input.ts @@ -7,55 +7,54 @@ import { UserMinOrderByAggregateInput } from './user-min-order-by-aggregate.inpu @InputType() export class UserOrderByWithAggregationInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + lastSeen?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - lastSeen?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + disabled?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - disabled?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + displayName?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - displayName?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + email?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - email?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + avatarUrl?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - avatarUrl?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + locale?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - locale?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + phoneNumber?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - phoneNumber?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + passwordHash?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - passwordHash?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + emailVerified?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - emailVerified?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + metadata?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - metadata?: keyof typeof SortOrder; + @Field(() => UserCountOrderByAggregateInput, { nullable: true }) + _count?: UserCountOrderByAggregateInput; - @Field(() => UserCountOrderByAggregateInput, {nullable:true}) - _count?: UserCountOrderByAggregateInput; + @Field(() => UserMaxOrderByAggregateInput, { nullable: true }) + _max?: UserMaxOrderByAggregateInput; - @Field(() => UserMaxOrderByAggregateInput, {nullable:true}) - _max?: UserMaxOrderByAggregateInput; - - @Field(() => UserMinOrderByAggregateInput, {nullable:true}) - _min?: UserMinOrderByAggregateInput; + @Field(() => UserMinOrderByAggregateInput, { nullable: true }) + _min?: UserMinOrderByAggregateInput; } diff --git a/server/src/api/@generated/user/user-order-by-with-relation.input.ts b/server/src/api/@generated/user/user-order-by-with-relation.input.ts index 9ddc8d7056..b0a93239cc 100644 --- a/server/src/api/@generated/user/user-order-by-with-relation.input.ts +++ b/server/src/api/@generated/user/user-order-by-with-relation.input.ts @@ -7,55 +7,54 @@ import { RefreshTokenOrderByRelationAggregateInput } from '../refresh-token/refr @InputType() export class UserOrderByWithRelationInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + lastSeen?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - lastSeen?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + disabled?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - disabled?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + displayName?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - displayName?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + email?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - email?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + avatarUrl?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - avatarUrl?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + locale?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - locale?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + phoneNumber?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - phoneNumber?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + passwordHash?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - passwordHash?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + emailVerified?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - emailVerified?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + metadata?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - metadata?: keyof typeof SortOrder; + @Field(() => WorkspaceMemberOrderByWithRelationInput, { nullable: true }) + WorkspaceMember?: WorkspaceMemberOrderByWithRelationInput; - @Field(() => WorkspaceMemberOrderByWithRelationInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberOrderByWithRelationInput; + @Field(() => CompanyOrderByRelationAggregateInput, { nullable: true }) + companies?: CompanyOrderByRelationAggregateInput; - @Field(() => CompanyOrderByRelationAggregateInput, {nullable:true}) - companies?: CompanyOrderByRelationAggregateInput; - - @Field(() => RefreshTokenOrderByRelationAggregateInput, {nullable:true}) - RefreshTokens?: RefreshTokenOrderByRelationAggregateInput; + @Field(() => RefreshTokenOrderByRelationAggregateInput, { nullable: true }) + RefreshTokens?: RefreshTokenOrderByRelationAggregateInput; } diff --git a/server/src/api/@generated/user/user-relation-filter.input.ts b/server/src/api/@generated/user/user-relation-filter.input.ts index c205f0fb95..c9c5bcdd3c 100644 --- a/server/src/api/@generated/user/user-relation-filter.input.ts +++ b/server/src/api/@generated/user/user-relation-filter.input.ts @@ -4,10 +4,9 @@ import { UserWhereInput } from './user-where.input'; @InputType() export class UserRelationFilter { + @Field(() => UserWhereInput, { nullable: true }) + is?: UserWhereInput; - @Field(() => UserWhereInput, {nullable:true}) - is?: UserWhereInput; - - @Field(() => UserWhereInput, {nullable:true}) - isNot?: UserWhereInput; + @Field(() => UserWhereInput, { nullable: true }) + isNot?: UserWhereInput; } diff --git a/server/src/api/@generated/user/user-scalar-field.enum.ts b/server/src/api/@generated/user/user-scalar-field.enum.ts index e55d995e05..819ea8861c 100644 --- a/server/src/api/@generated/user/user-scalar-field.enum.ts +++ b/server/src/api/@generated/user/user-scalar-field.enum.ts @@ -1,21 +1,23 @@ import { registerEnumType } from '@nestjs/graphql'; export enum UserScalarFieldEnum { - id = "id", - createdAt = "createdAt", - updatedAt = "updatedAt", - deletedAt = "deletedAt", - lastSeen = "lastSeen", - disabled = "disabled", - displayName = "displayName", - email = "email", - avatarUrl = "avatarUrl", - locale = "locale", - phoneNumber = "phoneNumber", - passwordHash = "passwordHash", - emailVerified = "emailVerified", - metadata = "metadata" + id = 'id', + createdAt = 'createdAt', + updatedAt = 'updatedAt', + deletedAt = 'deletedAt', + lastSeen = 'lastSeen', + disabled = 'disabled', + displayName = 'displayName', + email = 'email', + avatarUrl = 'avatarUrl', + locale = 'locale', + phoneNumber = 'phoneNumber', + passwordHash = 'passwordHash', + emailVerified = 'emailVerified', + metadata = 'metadata', } - -registerEnumType(UserScalarFieldEnum, { name: 'UserScalarFieldEnum', description: undefined }) +registerEnumType(UserScalarFieldEnum, { + name: 'UserScalarFieldEnum', + description: undefined, +}); diff --git a/server/src/api/@generated/user/user-scalar-where-with-aggregates.input.ts b/server/src/api/@generated/user/user-scalar-where-with-aggregates.input.ts index 11754ddbbe..3896aa1464 100644 --- a/server/src/api/@generated/user/user-scalar-where-with-aggregates.input.ts +++ b/server/src/api/@generated/user/user-scalar-where-with-aggregates.input.ts @@ -9,55 +9,54 @@ import { JsonNullableWithAggregatesFilter } from '../prisma/json-nullable-with-a @InputType() export class UserScalarWhereWithAggregatesInput { + @Field(() => [UserScalarWhereWithAggregatesInput], { nullable: true }) + AND?: Array; - @Field(() => [UserScalarWhereWithAggregatesInput], {nullable:true}) - AND?: Array; + @Field(() => [UserScalarWhereWithAggregatesInput], { nullable: true }) + OR?: Array; - @Field(() => [UserScalarWhereWithAggregatesInput], {nullable:true}) - OR?: Array; + @Field(() => [UserScalarWhereWithAggregatesInput], { nullable: true }) + NOT?: Array; - @Field(() => [UserScalarWhereWithAggregatesInput], {nullable:true}) - NOT?: Array; + @Field(() => StringWithAggregatesFilter, { nullable: true }) + id?: StringWithAggregatesFilter; - @Field(() => StringWithAggregatesFilter, {nullable:true}) - id?: StringWithAggregatesFilter; + @Field(() => DateTimeWithAggregatesFilter, { nullable: true }) + createdAt?: DateTimeWithAggregatesFilter; - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - createdAt?: DateTimeWithAggregatesFilter; + @Field(() => DateTimeWithAggregatesFilter, { nullable: true }) + updatedAt?: DateTimeWithAggregatesFilter; - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - updatedAt?: DateTimeWithAggregatesFilter; + @Field(() => DateTimeNullableWithAggregatesFilter, { nullable: true }) + deletedAt?: DateTimeNullableWithAggregatesFilter; - @Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true}) - deletedAt?: DateTimeNullableWithAggregatesFilter; + @Field(() => DateTimeNullableWithAggregatesFilter, { nullable: true }) + lastSeen?: DateTimeNullableWithAggregatesFilter; - @Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true}) - lastSeen?: DateTimeNullableWithAggregatesFilter; + @Field(() => BoolWithAggregatesFilter, { nullable: true }) + disabled?: BoolWithAggregatesFilter; - @Field(() => BoolWithAggregatesFilter, {nullable:true}) - disabled?: BoolWithAggregatesFilter; + @Field(() => StringWithAggregatesFilter, { nullable: true }) + displayName?: StringWithAggregatesFilter; - @Field(() => StringWithAggregatesFilter, {nullable:true}) - displayName?: StringWithAggregatesFilter; + @Field(() => StringWithAggregatesFilter, { nullable: true }) + email?: StringWithAggregatesFilter; - @Field(() => StringWithAggregatesFilter, {nullable:true}) - email?: StringWithAggregatesFilter; + @Field(() => StringNullableWithAggregatesFilter, { nullable: true }) + avatarUrl?: StringNullableWithAggregatesFilter; - @Field(() => StringNullableWithAggregatesFilter, {nullable:true}) - avatarUrl?: StringNullableWithAggregatesFilter; + @Field(() => StringWithAggregatesFilter, { nullable: true }) + locale?: StringWithAggregatesFilter; - @Field(() => StringWithAggregatesFilter, {nullable:true}) - locale?: StringWithAggregatesFilter; + @Field(() => StringNullableWithAggregatesFilter, { nullable: true }) + phoneNumber?: StringNullableWithAggregatesFilter; - @Field(() => StringNullableWithAggregatesFilter, {nullable:true}) - phoneNumber?: StringNullableWithAggregatesFilter; + @Field(() => StringNullableWithAggregatesFilter, { nullable: true }) + passwordHash?: StringNullableWithAggregatesFilter; - @Field(() => StringNullableWithAggregatesFilter, {nullable:true}) - passwordHash?: StringNullableWithAggregatesFilter; + @Field(() => BoolWithAggregatesFilter, { nullable: true }) + emailVerified?: BoolWithAggregatesFilter; - @Field(() => BoolWithAggregatesFilter, {nullable:true}) - emailVerified?: BoolWithAggregatesFilter; - - @Field(() => JsonNullableWithAggregatesFilter, {nullable:true}) - metadata?: JsonNullableWithAggregatesFilter; + @Field(() => JsonNullableWithAggregatesFilter, { nullable: true }) + metadata?: JsonNullableWithAggregatesFilter; } diff --git a/server/src/api/@generated/user/user-unchecked-create-without-companies.input.ts b/server/src/api/@generated/user/user-unchecked-create-without-companies.input.ts index 4a8b42be4f..2ebb843011 100644 --- a/server/src/api/@generated/user/user-unchecked-create-without-companies.input.ts +++ b/server/src/api/@generated/user/user-unchecked-create-without-companies.input.ts @@ -6,52 +6,55 @@ import { RefreshTokenUncheckedCreateNestedManyWithoutUserInput } from '../refres @InputType() export class UserUncheckedCreateWithoutCompaniesInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => Date, { nullable: true }) + lastSeen?: Date | string; - @Field(() => Date, {nullable:true}) - lastSeen?: Date | string; + @Field(() => Boolean, { nullable: true }) + disabled?: boolean; - @Field(() => Boolean, {nullable:true}) - disabled?: boolean; + @Field(() => String, { nullable: false }) + displayName!: string; - @Field(() => String, {nullable:false}) - displayName!: string; + @Field(() => String, { nullable: false }) + email!: string; - @Field(() => String, {nullable:false}) - email!: string; + @Field(() => String, { nullable: true }) + avatarUrl?: string; - @Field(() => String, {nullable:true}) - avatarUrl?: string; + @Field(() => String, { nullable: false }) + locale!: string; - @Field(() => String, {nullable:false}) - locale!: string; + @Field(() => String, { nullable: true }) + phoneNumber?: string; - @Field(() => String, {nullable:true}) - phoneNumber?: string; + @Field(() => String, { nullable: true }) + passwordHash?: string; - @Field(() => String, {nullable:true}) - passwordHash?: string; + @Field(() => Boolean, { nullable: true }) + emailVerified?: boolean; - @Field(() => Boolean, {nullable:true}) - emailVerified?: boolean; + @Field(() => GraphQLJSON, { nullable: true }) + metadata?: any; - @Field(() => GraphQLJSON, {nullable:true}) - metadata?: any; + @Field(() => WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput, { + nullable: true, + }) + WorkspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput; - @Field(() => WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput; - - @Field(() => RefreshTokenUncheckedCreateNestedManyWithoutUserInput, {nullable:true}) - RefreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput; + @Field(() => RefreshTokenUncheckedCreateNestedManyWithoutUserInput, { + nullable: true, + }) + RefreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput; } diff --git a/server/src/api/@generated/user/user-unchecked-create-without-refresh-tokens.input.ts b/server/src/api/@generated/user/user-unchecked-create-without-refresh-tokens.input.ts index ee41f3dcdd..a8f3cc89fe 100644 --- a/server/src/api/@generated/user/user-unchecked-create-without-refresh-tokens.input.ts +++ b/server/src/api/@generated/user/user-unchecked-create-without-refresh-tokens.input.ts @@ -6,52 +6,55 @@ import { CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput } from '../com @InputType() export class UserUncheckedCreateWithoutRefreshTokensInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => Date, { nullable: true }) + lastSeen?: Date | string; - @Field(() => Date, {nullable:true}) - lastSeen?: Date | string; + @Field(() => Boolean, { nullable: true }) + disabled?: boolean; - @Field(() => Boolean, {nullable:true}) - disabled?: boolean; + @Field(() => String, { nullable: false }) + displayName!: string; - @Field(() => String, {nullable:false}) - displayName!: string; + @Field(() => String, { nullable: false }) + email!: string; - @Field(() => String, {nullable:false}) - email!: string; + @Field(() => String, { nullable: true }) + avatarUrl?: string; - @Field(() => String, {nullable:true}) - avatarUrl?: string; + @Field(() => String, { nullable: false }) + locale!: string; - @Field(() => String, {nullable:false}) - locale!: string; + @Field(() => String, { nullable: true }) + phoneNumber?: string; - @Field(() => String, {nullable:true}) - phoneNumber?: string; + @Field(() => String, { nullable: true }) + passwordHash?: string; - @Field(() => String, {nullable:true}) - passwordHash?: string; + @Field(() => Boolean, { nullable: true }) + emailVerified?: boolean; - @Field(() => Boolean, {nullable:true}) - emailVerified?: boolean; + @Field(() => GraphQLJSON, { nullable: true }) + metadata?: any; - @Field(() => GraphQLJSON, {nullable:true}) - metadata?: any; + @Field(() => WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput, { + nullable: true, + }) + WorkspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput; - @Field(() => WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput; - - @Field(() => CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput, {nullable:true}) - companies?: CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput; + @Field(() => CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput, { + nullable: true, + }) + companies?: CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput; } diff --git a/server/src/api/@generated/user/user-unchecked-create-without-workspace-member.input.ts b/server/src/api/@generated/user/user-unchecked-create-without-workspace-member.input.ts index 8af4d90ff1..9fefdf3977 100644 --- a/server/src/api/@generated/user/user-unchecked-create-without-workspace-member.input.ts +++ b/server/src/api/@generated/user/user-unchecked-create-without-workspace-member.input.ts @@ -6,52 +6,55 @@ import { RefreshTokenUncheckedCreateNestedManyWithoutUserInput } from '../refres @InputType() export class UserUncheckedCreateWithoutWorkspaceMemberInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => Date, { nullable: true }) + lastSeen?: Date | string; - @Field(() => Date, {nullable:true}) - lastSeen?: Date | string; + @Field(() => Boolean, { nullable: true }) + disabled?: boolean; - @Field(() => Boolean, {nullable:true}) - disabled?: boolean; + @Field(() => String, { nullable: false }) + displayName!: string; - @Field(() => String, {nullable:false}) - displayName!: string; + @Field(() => String, { nullable: false }) + email!: string; - @Field(() => String, {nullable:false}) - email!: string; + @Field(() => String, { nullable: true }) + avatarUrl?: string; - @Field(() => String, {nullable:true}) - avatarUrl?: string; + @Field(() => String, { nullable: false }) + locale!: string; - @Field(() => String, {nullable:false}) - locale!: string; + @Field(() => String, { nullable: true }) + phoneNumber?: string; - @Field(() => String, {nullable:true}) - phoneNumber?: string; + @Field(() => String, { nullable: true }) + passwordHash?: string; - @Field(() => String, {nullable:true}) - passwordHash?: string; + @Field(() => Boolean, { nullable: true }) + emailVerified?: boolean; - @Field(() => Boolean, {nullable:true}) - emailVerified?: boolean; + @Field(() => GraphQLJSON, { nullable: true }) + metadata?: any; - @Field(() => GraphQLJSON, {nullable:true}) - metadata?: any; + @Field(() => CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput, { + nullable: true, + }) + companies?: CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput; - @Field(() => CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput, {nullable:true}) - companies?: CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput; - - @Field(() => RefreshTokenUncheckedCreateNestedManyWithoutUserInput, {nullable:true}) - RefreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput; + @Field(() => RefreshTokenUncheckedCreateNestedManyWithoutUserInput, { + nullable: true, + }) + RefreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput; } diff --git a/server/src/api/@generated/user/user-unchecked-create.input.ts b/server/src/api/@generated/user/user-unchecked-create.input.ts index c07077b579..0328b0b2a2 100644 --- a/server/src/api/@generated/user/user-unchecked-create.input.ts +++ b/server/src/api/@generated/user/user-unchecked-create.input.ts @@ -7,55 +7,60 @@ import { RefreshTokenUncheckedCreateNestedManyWithoutUserInput } from '../refres @InputType() export class UserUncheckedCreateInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => Date, { nullable: true }) + lastSeen?: Date | string; - @Field(() => Date, {nullable:true}) - lastSeen?: Date | string; + @Field(() => Boolean, { nullable: true }) + disabled?: boolean; - @Field(() => Boolean, {nullable:true}) - disabled?: boolean; + @Field(() => String, { nullable: false }) + displayName!: string; - @Field(() => String, {nullable:false}) - displayName!: string; + @Field(() => String, { nullable: false }) + email!: string; - @Field(() => String, {nullable:false}) - email!: string; + @Field(() => String, { nullable: true }) + avatarUrl?: string; - @Field(() => String, {nullable:true}) - avatarUrl?: string; + @Field(() => String, { nullable: false }) + locale!: string; - @Field(() => String, {nullable:false}) - locale!: string; + @Field(() => String, { nullable: true }) + phoneNumber?: string; - @Field(() => String, {nullable:true}) - phoneNumber?: string; + @Field(() => String, { nullable: true }) + passwordHash?: string; - @Field(() => String, {nullable:true}) - passwordHash?: string; + @Field(() => Boolean, { nullable: true }) + emailVerified?: boolean; - @Field(() => Boolean, {nullable:true}) - emailVerified?: boolean; + @Field(() => GraphQLJSON, { nullable: true }) + metadata?: any; - @Field(() => GraphQLJSON, {nullable:true}) - metadata?: any; + @Field(() => WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput, { + nullable: true, + }) + WorkspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput; - @Field(() => WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput; + @Field(() => CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput, { + nullable: true, + }) + companies?: CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput; - @Field(() => CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput, {nullable:true}) - companies?: CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput; - - @Field(() => RefreshTokenUncheckedCreateNestedManyWithoutUserInput, {nullable:true}) - RefreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput; + @Field(() => RefreshTokenUncheckedCreateNestedManyWithoutUserInput, { + nullable: true, + }) + RefreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput; } diff --git a/server/src/api/@generated/user/user-unchecked-update-many.input.ts b/server/src/api/@generated/user/user-unchecked-update-many.input.ts index 0c17962179..04abf4656e 100644 --- a/server/src/api/@generated/user/user-unchecked-update-many.input.ts +++ b/server/src/api/@generated/user/user-unchecked-update-many.input.ts @@ -9,46 +9,45 @@ import { GraphQLJSON } from 'graphql-type-json'; @InputType() export class UserUncheckedUpdateManyInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => BoolFieldUpdateOperationsInput, { nullable: true }) + disabled?: BoolFieldUpdateOperationsInput; - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + displayName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - displayName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + email?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + avatarUrl?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + locale?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + phoneNumber?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + passwordHash?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - passwordHash?: NullableStringFieldUpdateOperationsInput; + @Field(() => BoolFieldUpdateOperationsInput, { nullable: true }) + emailVerified?: BoolFieldUpdateOperationsInput; - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; - - @Field(() => GraphQLJSON, {nullable:true}) - metadata?: any; + @Field(() => GraphQLJSON, { nullable: true }) + metadata?: any; } diff --git a/server/src/api/@generated/user/user-unchecked-update-without-companies.input.ts b/server/src/api/@generated/user/user-unchecked-update-without-companies.input.ts index ae1a995366..335e60dbb8 100644 --- a/server/src/api/@generated/user/user-unchecked-update-without-companies.input.ts +++ b/server/src/api/@generated/user/user-unchecked-update-without-companies.input.ts @@ -11,52 +11,55 @@ import { RefreshTokenUncheckedUpdateManyWithoutUserNestedInput } from '../refres @InputType() export class UserUncheckedUpdateWithoutCompaniesInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => BoolFieldUpdateOperationsInput, { nullable: true }) + disabled?: BoolFieldUpdateOperationsInput; - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + displayName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - displayName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + email?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + avatarUrl?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + locale?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + phoneNumber?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + passwordHash?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - passwordHash?: NullableStringFieldUpdateOperationsInput; + @Field(() => BoolFieldUpdateOperationsInput, { nullable: true }) + emailVerified?: BoolFieldUpdateOperationsInput; - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; + @Field(() => GraphQLJSON, { nullable: true }) + metadata?: any; - @Field(() => GraphQLJSON, {nullable:true}) - metadata?: any; + @Field(() => WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput, { + nullable: true, + }) + WorkspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput; - @Field(() => WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput; - - @Field(() => RefreshTokenUncheckedUpdateManyWithoutUserNestedInput, {nullable:true}) - RefreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput; + @Field(() => RefreshTokenUncheckedUpdateManyWithoutUserNestedInput, { + nullable: true, + }) + RefreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput; } diff --git a/server/src/api/@generated/user/user-unchecked-update-without-refresh-tokens.input.ts b/server/src/api/@generated/user/user-unchecked-update-without-refresh-tokens.input.ts index 2e75f624dc..ffb863733a 100644 --- a/server/src/api/@generated/user/user-unchecked-update-without-refresh-tokens.input.ts +++ b/server/src/api/@generated/user/user-unchecked-update-without-refresh-tokens.input.ts @@ -11,52 +11,55 @@ import { CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput } from '../com @InputType() export class UserUncheckedUpdateWithoutRefreshTokensInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => BoolFieldUpdateOperationsInput, { nullable: true }) + disabled?: BoolFieldUpdateOperationsInput; - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + displayName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - displayName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + email?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + avatarUrl?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + locale?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + phoneNumber?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + passwordHash?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - passwordHash?: NullableStringFieldUpdateOperationsInput; + @Field(() => BoolFieldUpdateOperationsInput, { nullable: true }) + emailVerified?: BoolFieldUpdateOperationsInput; - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; + @Field(() => GraphQLJSON, { nullable: true }) + metadata?: any; - @Field(() => GraphQLJSON, {nullable:true}) - metadata?: any; + @Field(() => WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput, { + nullable: true, + }) + WorkspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput; - @Field(() => WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput; - - @Field(() => CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput, {nullable:true}) - companies?: CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput; + @Field(() => CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput, { + nullable: true, + }) + companies?: CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput; } diff --git a/server/src/api/@generated/user/user-unchecked-update-without-workspace-member.input.ts b/server/src/api/@generated/user/user-unchecked-update-without-workspace-member.input.ts index c28b0b3ea7..37241aea60 100644 --- a/server/src/api/@generated/user/user-unchecked-update-without-workspace-member.input.ts +++ b/server/src/api/@generated/user/user-unchecked-update-without-workspace-member.input.ts @@ -11,52 +11,55 @@ import { RefreshTokenUncheckedUpdateManyWithoutUserNestedInput } from '../refres @InputType() export class UserUncheckedUpdateWithoutWorkspaceMemberInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => BoolFieldUpdateOperationsInput, { nullable: true }) + disabled?: BoolFieldUpdateOperationsInput; - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + displayName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - displayName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + email?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + avatarUrl?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + locale?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + phoneNumber?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + passwordHash?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - passwordHash?: NullableStringFieldUpdateOperationsInput; + @Field(() => BoolFieldUpdateOperationsInput, { nullable: true }) + emailVerified?: BoolFieldUpdateOperationsInput; - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; + @Field(() => GraphQLJSON, { nullable: true }) + metadata?: any; - @Field(() => GraphQLJSON, {nullable:true}) - metadata?: any; + @Field(() => CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput, { + nullable: true, + }) + companies?: CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput; - @Field(() => CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput, {nullable:true}) - companies?: CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput; - - @Field(() => RefreshTokenUncheckedUpdateManyWithoutUserNestedInput, {nullable:true}) - RefreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput; + @Field(() => RefreshTokenUncheckedUpdateManyWithoutUserNestedInput, { + nullable: true, + }) + RefreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput; } diff --git a/server/src/api/@generated/user/user-unchecked-update.input.ts b/server/src/api/@generated/user/user-unchecked-update.input.ts index 007a46b956..dd44dc43d1 100644 --- a/server/src/api/@generated/user/user-unchecked-update.input.ts +++ b/server/src/api/@generated/user/user-unchecked-update.input.ts @@ -12,55 +12,60 @@ import { RefreshTokenUncheckedUpdateManyWithoutUserNestedInput } from '../refres @InputType() export class UserUncheckedUpdateInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => BoolFieldUpdateOperationsInput, { nullable: true }) + disabled?: BoolFieldUpdateOperationsInput; - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + displayName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - displayName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + email?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + avatarUrl?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + locale?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + phoneNumber?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + passwordHash?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - passwordHash?: NullableStringFieldUpdateOperationsInput; + @Field(() => BoolFieldUpdateOperationsInput, { nullable: true }) + emailVerified?: BoolFieldUpdateOperationsInput; - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; + @Field(() => GraphQLJSON, { nullable: true }) + metadata?: any; - @Field(() => GraphQLJSON, {nullable:true}) - metadata?: any; + @Field(() => WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput, { + nullable: true, + }) + WorkspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput; - @Field(() => WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput; + @Field(() => CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput, { + nullable: true, + }) + companies?: CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput; - @Field(() => CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput, {nullable:true}) - companies?: CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput; - - @Field(() => RefreshTokenUncheckedUpdateManyWithoutUserNestedInput, {nullable:true}) - RefreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput; + @Field(() => RefreshTokenUncheckedUpdateManyWithoutUserNestedInput, { + nullable: true, + }) + RefreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput; } diff --git a/server/src/api/@generated/user/user-update-many-mutation.input.ts b/server/src/api/@generated/user/user-update-many-mutation.input.ts index 8a939cf308..f6f445acf3 100644 --- a/server/src/api/@generated/user/user-update-many-mutation.input.ts +++ b/server/src/api/@generated/user/user-update-many-mutation.input.ts @@ -9,46 +9,45 @@ import { GraphQLJSON } from 'graphql-type-json'; @InputType() export class UserUpdateManyMutationInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => BoolFieldUpdateOperationsInput, { nullable: true }) + disabled?: BoolFieldUpdateOperationsInput; - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + displayName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - displayName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + email?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + avatarUrl?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + locale?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + phoneNumber?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + passwordHash?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - passwordHash?: NullableStringFieldUpdateOperationsInput; + @Field(() => BoolFieldUpdateOperationsInput, { nullable: true }) + emailVerified?: BoolFieldUpdateOperationsInput; - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; - - @Field(() => GraphQLJSON, {nullable:true}) - metadata?: any; + @Field(() => GraphQLJSON, { nullable: true }) + metadata?: any; } diff --git a/server/src/api/@generated/user/user-update-one-required-without-refresh-tokens-nested.input.ts b/server/src/api/@generated/user/user-update-one-required-without-refresh-tokens-nested.input.ts index 88fc63cbe5..ba2abd56c9 100644 --- a/server/src/api/@generated/user/user-update-one-required-without-refresh-tokens-nested.input.ts +++ b/server/src/api/@generated/user/user-update-one-required-without-refresh-tokens-nested.input.ts @@ -9,24 +9,23 @@ import { UserUpdateWithoutRefreshTokensInput } from './user-update-without-refre @InputType() export class UserUpdateOneRequiredWithoutRefreshTokensNestedInput { + @Field(() => UserCreateWithoutRefreshTokensInput, { nullable: true }) + @Type(() => UserCreateWithoutRefreshTokensInput) + create?: UserCreateWithoutRefreshTokensInput; - @Field(() => UserCreateWithoutRefreshTokensInput, {nullable:true}) - @Type(() => UserCreateWithoutRefreshTokensInput) - create?: UserCreateWithoutRefreshTokensInput; + @Field(() => UserCreateOrConnectWithoutRefreshTokensInput, { nullable: true }) + @Type(() => UserCreateOrConnectWithoutRefreshTokensInput) + connectOrCreate?: UserCreateOrConnectWithoutRefreshTokensInput; - @Field(() => UserCreateOrConnectWithoutRefreshTokensInput, {nullable:true}) - @Type(() => UserCreateOrConnectWithoutRefreshTokensInput) - connectOrCreate?: UserCreateOrConnectWithoutRefreshTokensInput; + @Field(() => UserUpsertWithoutRefreshTokensInput, { nullable: true }) + @Type(() => UserUpsertWithoutRefreshTokensInput) + upsert?: UserUpsertWithoutRefreshTokensInput; - @Field(() => UserUpsertWithoutRefreshTokensInput, {nullable:true}) - @Type(() => UserUpsertWithoutRefreshTokensInput) - upsert?: UserUpsertWithoutRefreshTokensInput; + @Field(() => UserWhereUniqueInput, { nullable: true }) + @Type(() => UserWhereUniqueInput) + connect?: UserWhereUniqueInput; - @Field(() => UserWhereUniqueInput, {nullable:true}) - @Type(() => UserWhereUniqueInput) - connect?: UserWhereUniqueInput; - - @Field(() => UserUpdateWithoutRefreshTokensInput, {nullable:true}) - @Type(() => UserUpdateWithoutRefreshTokensInput) - update?: UserUpdateWithoutRefreshTokensInput; + @Field(() => UserUpdateWithoutRefreshTokensInput, { nullable: true }) + @Type(() => UserUpdateWithoutRefreshTokensInput) + update?: UserUpdateWithoutRefreshTokensInput; } diff --git a/server/src/api/@generated/user/user-update-one-required-without-workspace-member-nested.input.ts b/server/src/api/@generated/user/user-update-one-required-without-workspace-member-nested.input.ts index 84989a6a74..7fe73da4d0 100644 --- a/server/src/api/@generated/user/user-update-one-required-without-workspace-member-nested.input.ts +++ b/server/src/api/@generated/user/user-update-one-required-without-workspace-member-nested.input.ts @@ -9,24 +9,25 @@ import { UserUpdateWithoutWorkspaceMemberInput } from './user-update-without-wor @InputType() export class UserUpdateOneRequiredWithoutWorkspaceMemberNestedInput { + @Field(() => UserCreateWithoutWorkspaceMemberInput, { nullable: true }) + @Type(() => UserCreateWithoutWorkspaceMemberInput) + create?: UserCreateWithoutWorkspaceMemberInput; - @Field(() => UserCreateWithoutWorkspaceMemberInput, {nullable:true}) - @Type(() => UserCreateWithoutWorkspaceMemberInput) - create?: UserCreateWithoutWorkspaceMemberInput; + @Field(() => UserCreateOrConnectWithoutWorkspaceMemberInput, { + nullable: true, + }) + @Type(() => UserCreateOrConnectWithoutWorkspaceMemberInput) + connectOrCreate?: UserCreateOrConnectWithoutWorkspaceMemberInput; - @Field(() => UserCreateOrConnectWithoutWorkspaceMemberInput, {nullable:true}) - @Type(() => UserCreateOrConnectWithoutWorkspaceMemberInput) - connectOrCreate?: UserCreateOrConnectWithoutWorkspaceMemberInput; + @Field(() => UserUpsertWithoutWorkspaceMemberInput, { nullable: true }) + @Type(() => UserUpsertWithoutWorkspaceMemberInput) + upsert?: UserUpsertWithoutWorkspaceMemberInput; - @Field(() => UserUpsertWithoutWorkspaceMemberInput, {nullable:true}) - @Type(() => UserUpsertWithoutWorkspaceMemberInput) - upsert?: UserUpsertWithoutWorkspaceMemberInput; + @Field(() => UserWhereUniqueInput, { nullable: true }) + @Type(() => UserWhereUniqueInput) + connect?: UserWhereUniqueInput; - @Field(() => UserWhereUniqueInput, {nullable:true}) - @Type(() => UserWhereUniqueInput) - connect?: UserWhereUniqueInput; - - @Field(() => UserUpdateWithoutWorkspaceMemberInput, {nullable:true}) - @Type(() => UserUpdateWithoutWorkspaceMemberInput) - update?: UserUpdateWithoutWorkspaceMemberInput; + @Field(() => UserUpdateWithoutWorkspaceMemberInput, { nullable: true }) + @Type(() => UserUpdateWithoutWorkspaceMemberInput) + update?: UserUpdateWithoutWorkspaceMemberInput; } diff --git a/server/src/api/@generated/user/user-update-one-without-companies-nested.input.ts b/server/src/api/@generated/user/user-update-one-without-companies-nested.input.ts index 305967304d..0b142e1f87 100644 --- a/server/src/api/@generated/user/user-update-one-without-companies-nested.input.ts +++ b/server/src/api/@generated/user/user-update-one-without-companies-nested.input.ts @@ -9,30 +9,29 @@ import { UserUpdateWithoutCompaniesInput } from './user-update-without-companies @InputType() export class UserUpdateOneWithoutCompaniesNestedInput { + @Field(() => UserCreateWithoutCompaniesInput, { nullable: true }) + @Type(() => UserCreateWithoutCompaniesInput) + create?: UserCreateWithoutCompaniesInput; - @Field(() => UserCreateWithoutCompaniesInput, {nullable:true}) - @Type(() => UserCreateWithoutCompaniesInput) - create?: UserCreateWithoutCompaniesInput; + @Field(() => UserCreateOrConnectWithoutCompaniesInput, { nullable: true }) + @Type(() => UserCreateOrConnectWithoutCompaniesInput) + connectOrCreate?: UserCreateOrConnectWithoutCompaniesInput; - @Field(() => UserCreateOrConnectWithoutCompaniesInput, {nullable:true}) - @Type(() => UserCreateOrConnectWithoutCompaniesInput) - connectOrCreate?: UserCreateOrConnectWithoutCompaniesInput; + @Field(() => UserUpsertWithoutCompaniesInput, { nullable: true }) + @Type(() => UserUpsertWithoutCompaniesInput) + upsert?: UserUpsertWithoutCompaniesInput; - @Field(() => UserUpsertWithoutCompaniesInput, {nullable:true}) - @Type(() => UserUpsertWithoutCompaniesInput) - upsert?: UserUpsertWithoutCompaniesInput; + @Field(() => Boolean, { nullable: true }) + disconnect?: boolean; - @Field(() => Boolean, {nullable:true}) - disconnect?: boolean; + @Field(() => Boolean, { nullable: true }) + delete?: boolean; - @Field(() => Boolean, {nullable:true}) - delete?: boolean; + @Field(() => UserWhereUniqueInput, { nullable: true }) + @Type(() => UserWhereUniqueInput) + connect?: UserWhereUniqueInput; - @Field(() => UserWhereUniqueInput, {nullable:true}) - @Type(() => UserWhereUniqueInput) - connect?: UserWhereUniqueInput; - - @Field(() => UserUpdateWithoutCompaniesInput, {nullable:true}) - @Type(() => UserUpdateWithoutCompaniesInput) - update?: UserUpdateWithoutCompaniesInput; + @Field(() => UserUpdateWithoutCompaniesInput, { nullable: true }) + @Type(() => UserUpdateWithoutCompaniesInput) + update?: UserUpdateWithoutCompaniesInput; } diff --git a/server/src/api/@generated/user/user-update-without-companies.input.ts b/server/src/api/@generated/user/user-update-without-companies.input.ts index a7ecd530ab..cf4cd3a65c 100644 --- a/server/src/api/@generated/user/user-update-without-companies.input.ts +++ b/server/src/api/@generated/user/user-update-without-companies.input.ts @@ -11,52 +11,53 @@ import { RefreshTokenUpdateManyWithoutUserNestedInput } from '../refresh-token/r @InputType() export class UserUpdateWithoutCompaniesInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => BoolFieldUpdateOperationsInput, { nullable: true }) + disabled?: BoolFieldUpdateOperationsInput; - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + displayName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - displayName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + email?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + avatarUrl?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + locale?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + phoneNumber?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + passwordHash?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - passwordHash?: NullableStringFieldUpdateOperationsInput; + @Field(() => BoolFieldUpdateOperationsInput, { nullable: true }) + emailVerified?: BoolFieldUpdateOperationsInput; - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; + @Field(() => GraphQLJSON, { nullable: true }) + metadata?: any; - @Field(() => GraphQLJSON, {nullable:true}) - metadata?: any; + @Field(() => WorkspaceMemberUpdateOneWithoutUserNestedInput, { + nullable: true, + }) + WorkspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput; - @Field(() => WorkspaceMemberUpdateOneWithoutUserNestedInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput; - - @Field(() => RefreshTokenUpdateManyWithoutUserNestedInput, {nullable:true}) - RefreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput; + @Field(() => RefreshTokenUpdateManyWithoutUserNestedInput, { nullable: true }) + RefreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput; } diff --git a/server/src/api/@generated/user/user-update-without-refresh-tokens.input.ts b/server/src/api/@generated/user/user-update-without-refresh-tokens.input.ts index e638424665..0d05ad6246 100644 --- a/server/src/api/@generated/user/user-update-without-refresh-tokens.input.ts +++ b/server/src/api/@generated/user/user-update-without-refresh-tokens.input.ts @@ -11,52 +11,55 @@ import { CompanyUpdateManyWithoutAccountOwnerNestedInput } from '../company/comp @InputType() export class UserUpdateWithoutRefreshTokensInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => BoolFieldUpdateOperationsInput, { nullable: true }) + disabled?: BoolFieldUpdateOperationsInput; - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + displayName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - displayName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + email?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + avatarUrl?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + locale?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + phoneNumber?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + passwordHash?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - passwordHash?: NullableStringFieldUpdateOperationsInput; + @Field(() => BoolFieldUpdateOperationsInput, { nullable: true }) + emailVerified?: BoolFieldUpdateOperationsInput; - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; + @Field(() => GraphQLJSON, { nullable: true }) + metadata?: any; - @Field(() => GraphQLJSON, {nullable:true}) - metadata?: any; + @Field(() => WorkspaceMemberUpdateOneWithoutUserNestedInput, { + nullable: true, + }) + WorkspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput; - @Field(() => WorkspaceMemberUpdateOneWithoutUserNestedInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput; - - @Field(() => CompanyUpdateManyWithoutAccountOwnerNestedInput, {nullable:true}) - companies?: CompanyUpdateManyWithoutAccountOwnerNestedInput; + @Field(() => CompanyUpdateManyWithoutAccountOwnerNestedInput, { + nullable: true, + }) + companies?: CompanyUpdateManyWithoutAccountOwnerNestedInput; } diff --git a/server/src/api/@generated/user/user-update-without-workspace-member.input.ts b/server/src/api/@generated/user/user-update-without-workspace-member.input.ts index b7cf166a59..670b2210c1 100644 --- a/server/src/api/@generated/user/user-update-without-workspace-member.input.ts +++ b/server/src/api/@generated/user/user-update-without-workspace-member.input.ts @@ -11,52 +11,53 @@ import { RefreshTokenUpdateManyWithoutUserNestedInput } from '../refresh-token/r @InputType() export class UserUpdateWithoutWorkspaceMemberInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => BoolFieldUpdateOperationsInput, { nullable: true }) + disabled?: BoolFieldUpdateOperationsInput; - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + displayName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - displayName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + email?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + avatarUrl?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + locale?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + phoneNumber?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + passwordHash?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - passwordHash?: NullableStringFieldUpdateOperationsInput; + @Field(() => BoolFieldUpdateOperationsInput, { nullable: true }) + emailVerified?: BoolFieldUpdateOperationsInput; - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; + @Field(() => GraphQLJSON, { nullable: true }) + metadata?: any; - @Field(() => GraphQLJSON, {nullable:true}) - metadata?: any; + @Field(() => CompanyUpdateManyWithoutAccountOwnerNestedInput, { + nullable: true, + }) + companies?: CompanyUpdateManyWithoutAccountOwnerNestedInput; - @Field(() => CompanyUpdateManyWithoutAccountOwnerNestedInput, {nullable:true}) - companies?: CompanyUpdateManyWithoutAccountOwnerNestedInput; - - @Field(() => RefreshTokenUpdateManyWithoutUserNestedInput, {nullable:true}) - RefreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput; + @Field(() => RefreshTokenUpdateManyWithoutUserNestedInput, { nullable: true }) + RefreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput; } diff --git a/server/src/api/@generated/user/user-update.input.ts b/server/src/api/@generated/user/user-update.input.ts index 7b778ea8da..a4d23fea53 100644 --- a/server/src/api/@generated/user/user-update.input.ts +++ b/server/src/api/@generated/user/user-update.input.ts @@ -12,55 +12,58 @@ import { RefreshTokenUpdateManyWithoutUserNestedInput } from '../refresh-token/r @InputType() export class UserUpdateInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + lastSeen?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - lastSeen?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => BoolFieldUpdateOperationsInput, { nullable: true }) + disabled?: BoolFieldUpdateOperationsInput; - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - disabled?: BoolFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + displayName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - displayName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + email?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - email?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + avatarUrl?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - avatarUrl?: NullableStringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + locale?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - locale?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + phoneNumber?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - phoneNumber?: NullableStringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + passwordHash?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - passwordHash?: NullableStringFieldUpdateOperationsInput; + @Field(() => BoolFieldUpdateOperationsInput, { nullable: true }) + emailVerified?: BoolFieldUpdateOperationsInput; - @Field(() => BoolFieldUpdateOperationsInput, {nullable:true}) - emailVerified?: BoolFieldUpdateOperationsInput; + @Field(() => GraphQLJSON, { nullable: true }) + metadata?: any; - @Field(() => GraphQLJSON, {nullable:true}) - metadata?: any; + @Field(() => WorkspaceMemberUpdateOneWithoutUserNestedInput, { + nullable: true, + }) + WorkspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput; - @Field(() => WorkspaceMemberUpdateOneWithoutUserNestedInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput; + @Field(() => CompanyUpdateManyWithoutAccountOwnerNestedInput, { + nullable: true, + }) + companies?: CompanyUpdateManyWithoutAccountOwnerNestedInput; - @Field(() => CompanyUpdateManyWithoutAccountOwnerNestedInput, {nullable:true}) - companies?: CompanyUpdateManyWithoutAccountOwnerNestedInput; - - @Field(() => RefreshTokenUpdateManyWithoutUserNestedInput, {nullable:true}) - RefreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput; + @Field(() => RefreshTokenUpdateManyWithoutUserNestedInput, { nullable: true }) + RefreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput; } diff --git a/server/src/api/@generated/user/user-upsert-without-companies.input.ts b/server/src/api/@generated/user/user-upsert-without-companies.input.ts index f791534384..3bc8f9ebc6 100644 --- a/server/src/api/@generated/user/user-upsert-without-companies.input.ts +++ b/server/src/api/@generated/user/user-upsert-without-companies.input.ts @@ -6,12 +6,11 @@ import { UserCreateWithoutCompaniesInput } from './user-create-without-companies @InputType() export class UserUpsertWithoutCompaniesInput { + @Field(() => UserUpdateWithoutCompaniesInput, { nullable: false }) + @Type(() => UserUpdateWithoutCompaniesInput) + update!: UserUpdateWithoutCompaniesInput; - @Field(() => UserUpdateWithoutCompaniesInput, {nullable:false}) - @Type(() => UserUpdateWithoutCompaniesInput) - update!: UserUpdateWithoutCompaniesInput; - - @Field(() => UserCreateWithoutCompaniesInput, {nullable:false}) - @Type(() => UserCreateWithoutCompaniesInput) - create!: UserCreateWithoutCompaniesInput; + @Field(() => UserCreateWithoutCompaniesInput, { nullable: false }) + @Type(() => UserCreateWithoutCompaniesInput) + create!: UserCreateWithoutCompaniesInput; } diff --git a/server/src/api/@generated/user/user-upsert-without-refresh-tokens.input.ts b/server/src/api/@generated/user/user-upsert-without-refresh-tokens.input.ts index afa83fc15e..5b1950bf3d 100644 --- a/server/src/api/@generated/user/user-upsert-without-refresh-tokens.input.ts +++ b/server/src/api/@generated/user/user-upsert-without-refresh-tokens.input.ts @@ -6,12 +6,11 @@ import { UserCreateWithoutRefreshTokensInput } from './user-create-without-refre @InputType() export class UserUpsertWithoutRefreshTokensInput { + @Field(() => UserUpdateWithoutRefreshTokensInput, { nullable: false }) + @Type(() => UserUpdateWithoutRefreshTokensInput) + update!: UserUpdateWithoutRefreshTokensInput; - @Field(() => UserUpdateWithoutRefreshTokensInput, {nullable:false}) - @Type(() => UserUpdateWithoutRefreshTokensInput) - update!: UserUpdateWithoutRefreshTokensInput; - - @Field(() => UserCreateWithoutRefreshTokensInput, {nullable:false}) - @Type(() => UserCreateWithoutRefreshTokensInput) - create!: UserCreateWithoutRefreshTokensInput; + @Field(() => UserCreateWithoutRefreshTokensInput, { nullable: false }) + @Type(() => UserCreateWithoutRefreshTokensInput) + create!: UserCreateWithoutRefreshTokensInput; } diff --git a/server/src/api/@generated/user/user-upsert-without-workspace-member.input.ts b/server/src/api/@generated/user/user-upsert-without-workspace-member.input.ts index 3310614751..ae281f0641 100644 --- a/server/src/api/@generated/user/user-upsert-without-workspace-member.input.ts +++ b/server/src/api/@generated/user/user-upsert-without-workspace-member.input.ts @@ -6,12 +6,11 @@ import { UserCreateWithoutWorkspaceMemberInput } from './user-create-without-wor @InputType() export class UserUpsertWithoutWorkspaceMemberInput { + @Field(() => UserUpdateWithoutWorkspaceMemberInput, { nullable: false }) + @Type(() => UserUpdateWithoutWorkspaceMemberInput) + update!: UserUpdateWithoutWorkspaceMemberInput; - @Field(() => UserUpdateWithoutWorkspaceMemberInput, {nullable:false}) - @Type(() => UserUpdateWithoutWorkspaceMemberInput) - update!: UserUpdateWithoutWorkspaceMemberInput; - - @Field(() => UserCreateWithoutWorkspaceMemberInput, {nullable:false}) - @Type(() => UserCreateWithoutWorkspaceMemberInput) - create!: UserCreateWithoutWorkspaceMemberInput; + @Field(() => UserCreateWithoutWorkspaceMemberInput, { nullable: false }) + @Type(() => UserCreateWithoutWorkspaceMemberInput) + create!: UserCreateWithoutWorkspaceMemberInput; } diff --git a/server/src/api/@generated/user/user-where-unique.input.ts b/server/src/api/@generated/user/user-where-unique.input.ts index 97328c85b8..7cbf10eac5 100644 --- a/server/src/api/@generated/user/user-where-unique.input.ts +++ b/server/src/api/@generated/user/user-where-unique.input.ts @@ -3,10 +3,9 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class UserWhereUniqueInput { + @Field(() => String, { nullable: true }) + id?: string; - @Field(() => String, {nullable:true}) - id?: string; - - @Field(() => String, {nullable:true}) - email?: string; + @Field(() => String, { nullable: true }) + email?: string; } diff --git a/server/src/api/@generated/user/user-where.input.ts b/server/src/api/@generated/user/user-where.input.ts index 9da99f8a38..c23d732f10 100644 --- a/server/src/api/@generated/user/user-where.input.ts +++ b/server/src/api/@generated/user/user-where.input.ts @@ -12,64 +12,63 @@ import { RefreshTokenListRelationFilter } from '../refresh-token/refresh-token-l @InputType() export class UserWhereInput { + @Field(() => [UserWhereInput], { nullable: true }) + AND?: Array; - @Field(() => [UserWhereInput], {nullable:true}) - AND?: Array; + @Field(() => [UserWhereInput], { nullable: true }) + OR?: Array; - @Field(() => [UserWhereInput], {nullable:true}) - OR?: Array; + @Field(() => [UserWhereInput], { nullable: true }) + NOT?: Array; - @Field(() => [UserWhereInput], {nullable:true}) - NOT?: Array; + @Field(() => StringFilter, { nullable: true }) + id?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; + @Field(() => DateTimeFilter, { nullable: true }) + createdAt?: DateTimeFilter; - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; + @Field(() => DateTimeFilter, { nullable: true }) + updatedAt?: DateTimeFilter; - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; + @Field(() => DateTimeNullableFilter, { nullable: true }) + deletedAt?: DateTimeNullableFilter; - @Field(() => DateTimeNullableFilter, {nullable:true}) - deletedAt?: DateTimeNullableFilter; + @Field(() => DateTimeNullableFilter, { nullable: true }) + lastSeen?: DateTimeNullableFilter; - @Field(() => DateTimeNullableFilter, {nullable:true}) - lastSeen?: DateTimeNullableFilter; + @Field(() => BoolFilter, { nullable: true }) + disabled?: BoolFilter; - @Field(() => BoolFilter, {nullable:true}) - disabled?: BoolFilter; + @Field(() => StringFilter, { nullable: true }) + displayName?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - displayName?: StringFilter; + @Field(() => StringFilter, { nullable: true }) + email?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - email?: StringFilter; + @Field(() => StringNullableFilter, { nullable: true }) + avatarUrl?: StringNullableFilter; - @Field(() => StringNullableFilter, {nullable:true}) - avatarUrl?: StringNullableFilter; + @Field(() => StringFilter, { nullable: true }) + locale?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - locale?: StringFilter; + @Field(() => StringNullableFilter, { nullable: true }) + phoneNumber?: StringNullableFilter; - @Field(() => StringNullableFilter, {nullable:true}) - phoneNumber?: StringNullableFilter; + @Field(() => StringNullableFilter, { nullable: true }) + passwordHash?: StringNullableFilter; - @Field(() => StringNullableFilter, {nullable:true}) - passwordHash?: StringNullableFilter; + @Field(() => BoolFilter, { nullable: true }) + emailVerified?: BoolFilter; - @Field(() => BoolFilter, {nullable:true}) - emailVerified?: BoolFilter; + @Field(() => JsonNullableFilter, { nullable: true }) + metadata?: JsonNullableFilter; - @Field(() => JsonNullableFilter, {nullable:true}) - metadata?: JsonNullableFilter; + @Field(() => WorkspaceMemberRelationFilter, { nullable: true }) + WorkspaceMember?: WorkspaceMemberRelationFilter; - @Field(() => WorkspaceMemberRelationFilter, {nullable:true}) - WorkspaceMember?: WorkspaceMemberRelationFilter; + @Field(() => CompanyListRelationFilter, { nullable: true }) + companies?: CompanyListRelationFilter; - @Field(() => CompanyListRelationFilter, {nullable:true}) - companies?: CompanyListRelationFilter; - - @Field(() => RefreshTokenListRelationFilter, {nullable:true}) - RefreshTokens?: RefreshTokenListRelationFilter; + @Field(() => RefreshTokenListRelationFilter, { nullable: true }) + RefreshTokens?: RefreshTokenListRelationFilter; } diff --git a/server/src/api/@generated/user/user.model.ts b/server/src/api/@generated/user/user.model.ts index 2ecbd036c0..92bcda0594 100644 --- a/server/src/api/@generated/user/user.model.ts +++ b/server/src/api/@generated/user/user.model.ts @@ -9,58 +9,57 @@ import { UserCount } from './user-count.output'; @ObjectType() export class User { + @Field(() => ID, { nullable: false }) + id!: string; - @Field(() => ID, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: false }) + createdAt!: Date; - @Field(() => Date, {nullable:false}) - createdAt!: Date; + @Field(() => Date, { nullable: false }) + updatedAt!: Date; - @Field(() => Date, {nullable:false}) - updatedAt!: Date; + @Field(() => Date, { nullable: true }) + deletedAt!: Date | null; - @Field(() => Date, {nullable:true}) - deletedAt!: Date | null; + @Field(() => Date, { nullable: true }) + lastSeen!: Date | null; - @Field(() => Date, {nullable:true}) - lastSeen!: Date | null; + @Field(() => Boolean, { nullable: false, defaultValue: false }) + disabled!: boolean; - @Field(() => Boolean, {nullable:false,defaultValue:false}) - disabled!: boolean; + @Field(() => String, { nullable: false }) + displayName!: string; - @Field(() => String, {nullable:false}) - displayName!: string; + @Field(() => String, { nullable: false }) + email!: string; - @Field(() => String, {nullable:false}) - email!: string; + @Field(() => String, { nullable: true }) + avatarUrl!: string | null; - @Field(() => String, {nullable:true}) - avatarUrl!: string | null; + @Field(() => String, { nullable: false }) + locale!: string; - @Field(() => String, {nullable:false}) - locale!: string; + @Field(() => String, { nullable: true }) + phoneNumber!: string | null; - @Field(() => String, {nullable:true}) - phoneNumber!: string | null; + @Field(() => String, { nullable: true }) + passwordHash!: string | null; - @Field(() => String, {nullable:true}) - passwordHash!: string | null; + @Field(() => Boolean, { nullable: false, defaultValue: false }) + emailVerified!: boolean; - @Field(() => Boolean, {nullable:false,defaultValue:false}) - emailVerified!: boolean; + @Field(() => GraphQLJSON, { nullable: true }) + metadata!: any | null; - @Field(() => GraphQLJSON, {nullable:true}) - metadata!: any | null; + @Field(() => WorkspaceMember, { nullable: true }) + WorkspaceMember?: WorkspaceMember | null; - @Field(() => WorkspaceMember, {nullable:true}) - WorkspaceMember?: WorkspaceMember | null; + @Field(() => [Company], { nullable: true }) + companies?: Array; - @Field(() => [Company], {nullable:true}) - companies?: Array; + @Field(() => [RefreshToken], { nullable: true }) + RefreshTokens?: Array; - @Field(() => [RefreshToken], {nullable:true}) - RefreshTokens?: Array; - - @Field(() => UserCount, {nullable:false}) - _count?: UserCount; + @Field(() => UserCount, { nullable: false }) + _count?: UserCount; } diff --git a/server/src/api/@generated/workspace-member/aggregate-workspace-member.output.ts b/server/src/api/@generated/workspace-member/aggregate-workspace-member.output.ts index 9df6c7013f..886a434170 100644 --- a/server/src/api/@generated/workspace-member/aggregate-workspace-member.output.ts +++ b/server/src/api/@generated/workspace-member/aggregate-workspace-member.output.ts @@ -6,13 +6,12 @@ import { WorkspaceMemberMaxAggregate } from './workspace-member-max-aggregate.ou @ObjectType() export class AggregateWorkspaceMember { + @Field(() => WorkspaceMemberCountAggregate, { nullable: true }) + _count?: WorkspaceMemberCountAggregate; - @Field(() => WorkspaceMemberCountAggregate, {nullable:true}) - _count?: WorkspaceMemberCountAggregate; + @Field(() => WorkspaceMemberMinAggregate, { nullable: true }) + _min?: WorkspaceMemberMinAggregate; - @Field(() => WorkspaceMemberMinAggregate, {nullable:true}) - _min?: WorkspaceMemberMinAggregate; - - @Field(() => WorkspaceMemberMaxAggregate, {nullable:true}) - _max?: WorkspaceMemberMaxAggregate; + @Field(() => WorkspaceMemberMaxAggregate, { nullable: true }) + _max?: WorkspaceMemberMaxAggregate; } diff --git a/server/src/api/@generated/workspace-member/create-many-workspace-member.args.ts b/server/src/api/@generated/workspace-member/create-many-workspace-member.args.ts index 2826764dbc..ed370c600d 100644 --- a/server/src/api/@generated/workspace-member/create-many-workspace-member.args.ts +++ b/server/src/api/@generated/workspace-member/create-many-workspace-member.args.ts @@ -5,11 +5,10 @@ import { Type } from 'class-transformer'; @ArgsType() export class CreateManyWorkspaceMemberArgs { + @Field(() => [WorkspaceMemberCreateManyInput], { nullable: false }) + @Type(() => WorkspaceMemberCreateManyInput) + data!: Array; - @Field(() => [WorkspaceMemberCreateManyInput], {nullable:false}) - @Type(() => WorkspaceMemberCreateManyInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; + @Field(() => Boolean, { nullable: true }) + skipDuplicates?: boolean; } diff --git a/server/src/api/@generated/workspace-member/create-one-workspace-member.args.ts b/server/src/api/@generated/workspace-member/create-one-workspace-member.args.ts index 13962daec3..ac60eddf37 100644 --- a/server/src/api/@generated/workspace-member/create-one-workspace-member.args.ts +++ b/server/src/api/@generated/workspace-member/create-one-workspace-member.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class CreateOneWorkspaceMemberArgs { - - @Field(() => WorkspaceMemberCreateInput, {nullable:false}) - @Type(() => WorkspaceMemberCreateInput) - data!: WorkspaceMemberCreateInput; + @Field(() => WorkspaceMemberCreateInput, { nullable: false }) + @Type(() => WorkspaceMemberCreateInput) + data!: WorkspaceMemberCreateInput; } diff --git a/server/src/api/@generated/workspace-member/delete-many-workspace-member.args.ts b/server/src/api/@generated/workspace-member/delete-many-workspace-member.args.ts index 7b1795a88d..01f98f0010 100644 --- a/server/src/api/@generated/workspace-member/delete-many-workspace-member.args.ts +++ b/server/src/api/@generated/workspace-member/delete-many-workspace-member.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class DeleteManyWorkspaceMemberArgs { - - @Field(() => WorkspaceMemberWhereInput, {nullable:true}) - @Type(() => WorkspaceMemberWhereInput) - where?: WorkspaceMemberWhereInput; + @Field(() => WorkspaceMemberWhereInput, { nullable: true }) + @Type(() => WorkspaceMemberWhereInput) + where?: WorkspaceMemberWhereInput; } diff --git a/server/src/api/@generated/workspace-member/delete-one-workspace-member.args.ts b/server/src/api/@generated/workspace-member/delete-one-workspace-member.args.ts index 5f60e7bc2d..70338cb6c5 100644 --- a/server/src/api/@generated/workspace-member/delete-one-workspace-member.args.ts +++ b/server/src/api/@generated/workspace-member/delete-one-workspace-member.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class DeleteOneWorkspaceMemberArgs { - - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceMemberWhereUniqueInput) - where!: WorkspaceMemberWhereUniqueInput; + @Field(() => WorkspaceMemberWhereUniqueInput, { nullable: false }) + @Type(() => WorkspaceMemberWhereUniqueInput) + where!: WorkspaceMemberWhereUniqueInput; } diff --git a/server/src/api/@generated/workspace-member/find-first-workspace-member-or-throw.args.ts b/server/src/api/@generated/workspace-member/find-first-workspace-member-or-throw.args.ts index 988acd0a61..05fd207470 100644 --- a/server/src/api/@generated/workspace-member/find-first-workspace-member-or-throw.args.ts +++ b/server/src/api/@generated/workspace-member/find-first-workspace-member-or-throw.args.ts @@ -9,23 +9,22 @@ import { WorkspaceMemberScalarFieldEnum } from './workspace-member-scalar-field. @ArgsType() export class FindFirstWorkspaceMemberOrThrowArgs { + @Field(() => WorkspaceMemberWhereInput, { nullable: true }) + @Type(() => WorkspaceMemberWhereInput) + where?: WorkspaceMemberWhereInput; - @Field(() => WorkspaceMemberWhereInput, {nullable:true}) - @Type(() => WorkspaceMemberWhereInput) - where?: WorkspaceMemberWhereInput; + @Field(() => [WorkspaceMemberOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [WorkspaceMemberOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; + @Field(() => WorkspaceMemberWhereUniqueInput, { nullable: true }) + cursor?: WorkspaceMemberWhereUniqueInput; - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:true}) - cursor?: WorkspaceMemberWhereUniqueInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [WorkspaceMemberScalarFieldEnum], {nullable:true}) - distinct?: Array; + @Field(() => [WorkspaceMemberScalarFieldEnum], { nullable: true }) + distinct?: Array; } diff --git a/server/src/api/@generated/workspace-member/find-first-workspace-member.args.ts b/server/src/api/@generated/workspace-member/find-first-workspace-member.args.ts index 553340db27..def76ed284 100644 --- a/server/src/api/@generated/workspace-member/find-first-workspace-member.args.ts +++ b/server/src/api/@generated/workspace-member/find-first-workspace-member.args.ts @@ -9,23 +9,22 @@ import { WorkspaceMemberScalarFieldEnum } from './workspace-member-scalar-field. @ArgsType() export class FindFirstWorkspaceMemberArgs { + @Field(() => WorkspaceMemberWhereInput, { nullable: true }) + @Type(() => WorkspaceMemberWhereInput) + where?: WorkspaceMemberWhereInput; - @Field(() => WorkspaceMemberWhereInput, {nullable:true}) - @Type(() => WorkspaceMemberWhereInput) - where?: WorkspaceMemberWhereInput; + @Field(() => [WorkspaceMemberOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [WorkspaceMemberOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; + @Field(() => WorkspaceMemberWhereUniqueInput, { nullable: true }) + cursor?: WorkspaceMemberWhereUniqueInput; - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:true}) - cursor?: WorkspaceMemberWhereUniqueInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [WorkspaceMemberScalarFieldEnum], {nullable:true}) - distinct?: Array; + @Field(() => [WorkspaceMemberScalarFieldEnum], { nullable: true }) + distinct?: Array; } diff --git a/server/src/api/@generated/workspace-member/find-many-workspace-member.args.ts b/server/src/api/@generated/workspace-member/find-many-workspace-member.args.ts index 62d5192473..eeb4db2361 100644 --- a/server/src/api/@generated/workspace-member/find-many-workspace-member.args.ts +++ b/server/src/api/@generated/workspace-member/find-many-workspace-member.args.ts @@ -9,23 +9,22 @@ import { WorkspaceMemberScalarFieldEnum } from './workspace-member-scalar-field. @ArgsType() export class FindManyWorkspaceMemberArgs { + @Field(() => WorkspaceMemberWhereInput, { nullable: true }) + @Type(() => WorkspaceMemberWhereInput) + where?: WorkspaceMemberWhereInput; - @Field(() => WorkspaceMemberWhereInput, {nullable:true}) - @Type(() => WorkspaceMemberWhereInput) - where?: WorkspaceMemberWhereInput; + @Field(() => [WorkspaceMemberOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [WorkspaceMemberOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; + @Field(() => WorkspaceMemberWhereUniqueInput, { nullable: true }) + cursor?: WorkspaceMemberWhereUniqueInput; - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:true}) - cursor?: WorkspaceMemberWhereUniqueInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [WorkspaceMemberScalarFieldEnum], {nullable:true}) - distinct?: Array; + @Field(() => [WorkspaceMemberScalarFieldEnum], { nullable: true }) + distinct?: Array; } diff --git a/server/src/api/@generated/workspace-member/find-unique-workspace-member-or-throw.args.ts b/server/src/api/@generated/workspace-member/find-unique-workspace-member-or-throw.args.ts index d4b45877fe..bcc9dc926a 100644 --- a/server/src/api/@generated/workspace-member/find-unique-workspace-member-or-throw.args.ts +++ b/server/src/api/@generated/workspace-member/find-unique-workspace-member-or-throw.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class FindUniqueWorkspaceMemberOrThrowArgs { - - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceMemberWhereUniqueInput) - where!: WorkspaceMemberWhereUniqueInput; + @Field(() => WorkspaceMemberWhereUniqueInput, { nullable: false }) + @Type(() => WorkspaceMemberWhereUniqueInput) + where!: WorkspaceMemberWhereUniqueInput; } diff --git a/server/src/api/@generated/workspace-member/find-unique-workspace-member.args.ts b/server/src/api/@generated/workspace-member/find-unique-workspace-member.args.ts index 0deebe7dcb..61fb25c65e 100644 --- a/server/src/api/@generated/workspace-member/find-unique-workspace-member.args.ts +++ b/server/src/api/@generated/workspace-member/find-unique-workspace-member.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class FindUniqueWorkspaceMemberArgs { - - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceMemberWhereUniqueInput) - where!: WorkspaceMemberWhereUniqueInput; + @Field(() => WorkspaceMemberWhereUniqueInput, { nullable: false }) + @Type(() => WorkspaceMemberWhereUniqueInput) + where!: WorkspaceMemberWhereUniqueInput; } diff --git a/server/src/api/@generated/workspace-member/update-many-workspace-member.args.ts b/server/src/api/@generated/workspace-member/update-many-workspace-member.args.ts index 24b76c75d4..121aa42893 100644 --- a/server/src/api/@generated/workspace-member/update-many-workspace-member.args.ts +++ b/server/src/api/@generated/workspace-member/update-many-workspace-member.args.ts @@ -6,12 +6,11 @@ import { WorkspaceMemberWhereInput } from './workspace-member-where.input'; @ArgsType() export class UpdateManyWorkspaceMemberArgs { + @Field(() => WorkspaceMemberUpdateManyMutationInput, { nullable: false }) + @Type(() => WorkspaceMemberUpdateManyMutationInput) + data!: WorkspaceMemberUpdateManyMutationInput; - @Field(() => WorkspaceMemberUpdateManyMutationInput, {nullable:false}) - @Type(() => WorkspaceMemberUpdateManyMutationInput) - data!: WorkspaceMemberUpdateManyMutationInput; - - @Field(() => WorkspaceMemberWhereInput, {nullable:true}) - @Type(() => WorkspaceMemberWhereInput) - where?: WorkspaceMemberWhereInput; + @Field(() => WorkspaceMemberWhereInput, { nullable: true }) + @Type(() => WorkspaceMemberWhereInput) + where?: WorkspaceMemberWhereInput; } diff --git a/server/src/api/@generated/workspace-member/update-one-workspace-member.args.ts b/server/src/api/@generated/workspace-member/update-one-workspace-member.args.ts index b45f838727..8ee86d80d9 100644 --- a/server/src/api/@generated/workspace-member/update-one-workspace-member.args.ts +++ b/server/src/api/@generated/workspace-member/update-one-workspace-member.args.ts @@ -6,12 +6,11 @@ import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique @ArgsType() export class UpdateOneWorkspaceMemberArgs { + @Field(() => WorkspaceMemberUpdateInput, { nullable: false }) + @Type(() => WorkspaceMemberUpdateInput) + data!: WorkspaceMemberUpdateInput; - @Field(() => WorkspaceMemberUpdateInput, {nullable:false}) - @Type(() => WorkspaceMemberUpdateInput) - data!: WorkspaceMemberUpdateInput; - - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceMemberWhereUniqueInput) - where!: WorkspaceMemberWhereUniqueInput; + @Field(() => WorkspaceMemberWhereUniqueInput, { nullable: false }) + @Type(() => WorkspaceMemberWhereUniqueInput) + where!: WorkspaceMemberWhereUniqueInput; } diff --git a/server/src/api/@generated/workspace-member/upsert-one-workspace-member.args.ts b/server/src/api/@generated/workspace-member/upsert-one-workspace-member.args.ts index 9ce5dceeb6..69b33672e8 100644 --- a/server/src/api/@generated/workspace-member/upsert-one-workspace-member.args.ts +++ b/server/src/api/@generated/workspace-member/upsert-one-workspace-member.args.ts @@ -7,16 +7,15 @@ import { WorkspaceMemberUpdateInput } from './workspace-member-update.input'; @ArgsType() export class UpsertOneWorkspaceMemberArgs { + @Field(() => WorkspaceMemberWhereUniqueInput, { nullable: false }) + @Type(() => WorkspaceMemberWhereUniqueInput) + where!: WorkspaceMemberWhereUniqueInput; - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceMemberWhereUniqueInput) - where!: WorkspaceMemberWhereUniqueInput; + @Field(() => WorkspaceMemberCreateInput, { nullable: false }) + @Type(() => WorkspaceMemberCreateInput) + create!: WorkspaceMemberCreateInput; - @Field(() => WorkspaceMemberCreateInput, {nullable:false}) - @Type(() => WorkspaceMemberCreateInput) - create!: WorkspaceMemberCreateInput; - - @Field(() => WorkspaceMemberUpdateInput, {nullable:false}) - @Type(() => WorkspaceMemberUpdateInput) - update!: WorkspaceMemberUpdateInput; + @Field(() => WorkspaceMemberUpdateInput, { nullable: false }) + @Type(() => WorkspaceMemberUpdateInput) + update!: WorkspaceMemberUpdateInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-aggregate.args.ts b/server/src/api/@generated/workspace-member/workspace-member-aggregate.args.ts index f3e863e212..af8127245c 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-aggregate.args.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-aggregate.args.ts @@ -11,29 +11,28 @@ import { WorkspaceMemberMaxAggregateInput } from './workspace-member-max-aggrega @ArgsType() export class WorkspaceMemberAggregateArgs { + @Field(() => WorkspaceMemberWhereInput, { nullable: true }) + @Type(() => WorkspaceMemberWhereInput) + where?: WorkspaceMemberWhereInput; - @Field(() => WorkspaceMemberWhereInput, {nullable:true}) - @Type(() => WorkspaceMemberWhereInput) - where?: WorkspaceMemberWhereInput; + @Field(() => [WorkspaceMemberOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [WorkspaceMemberOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; + @Field(() => WorkspaceMemberWhereUniqueInput, { nullable: true }) + cursor?: WorkspaceMemberWhereUniqueInput; - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:true}) - cursor?: WorkspaceMemberWhereUniqueInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; + @Field(() => WorkspaceMemberCountAggregateInput, { nullable: true }) + _count?: WorkspaceMemberCountAggregateInput; - @Field(() => WorkspaceMemberCountAggregateInput, {nullable:true}) - _count?: WorkspaceMemberCountAggregateInput; + @Field(() => WorkspaceMemberMinAggregateInput, { nullable: true }) + _min?: WorkspaceMemberMinAggregateInput; - @Field(() => WorkspaceMemberMinAggregateInput, {nullable:true}) - _min?: WorkspaceMemberMinAggregateInput; - - @Field(() => WorkspaceMemberMaxAggregateInput, {nullable:true}) - _max?: WorkspaceMemberMaxAggregateInput; + @Field(() => WorkspaceMemberMaxAggregateInput, { nullable: true }) + _max?: WorkspaceMemberMaxAggregateInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-count-aggregate.input.ts b/server/src/api/@generated/workspace-member/workspace-member-count-aggregate.input.ts index a709ff8c60..842fd4697a 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-count-aggregate.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-count-aggregate.input.ts @@ -3,25 +3,24 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class WorkspaceMemberCountAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; - @Field(() => Boolean, {nullable:true}) - id?: true; + @Field(() => Boolean, { nullable: true }) + createdAt?: true; - @Field(() => Boolean, {nullable:true}) - createdAt?: true; + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; - @Field(() => Boolean, {nullable:true}) - deletedAt?: true; + @Field(() => Boolean, { nullable: true }) + userId?: true; - @Field(() => Boolean, {nullable:true}) - userId?: true; + @Field(() => Boolean, { nullable: true }) + workspaceId?: true; - @Field(() => Boolean, {nullable:true}) - workspaceId?: true; - - @Field(() => Boolean, {nullable:true}) - _all?: true; + @Field(() => Boolean, { nullable: true }) + _all?: true; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-count-aggregate.output.ts b/server/src/api/@generated/workspace-member/workspace-member-count-aggregate.output.ts index 6110aed8d5..949a727d09 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-count-aggregate.output.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-count-aggregate.output.ts @@ -4,25 +4,24 @@ import { Int } from '@nestjs/graphql'; @ObjectType() export class WorkspaceMemberCountAggregate { + @Field(() => Int, { nullable: false }) + id!: number; - @Field(() => Int, {nullable:false}) - id!: number; + @Field(() => Int, { nullable: false }) + createdAt!: number; - @Field(() => Int, {nullable:false}) - createdAt!: number; + @Field(() => Int, { nullable: false }) + updatedAt!: number; - @Field(() => Int, {nullable:false}) - updatedAt!: number; + @Field(() => Int, { nullable: false }) + deletedAt!: number; - @Field(() => Int, {nullable:false}) - deletedAt!: number; + @Field(() => Int, { nullable: false }) + userId!: number; - @Field(() => Int, {nullable:false}) - userId!: number; + @Field(() => Int, { nullable: false }) + workspaceId!: number; - @Field(() => Int, {nullable:false}) - workspaceId!: number; - - @Field(() => Int, {nullable:false}) - _all!: number; + @Field(() => Int, { nullable: false }) + _all!: number; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-count-order-by-aggregate.input.ts b/server/src/api/@generated/workspace-member/workspace-member-count-order-by-aggregate.input.ts index a75745692d..da648cfbb8 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-count-order-by-aggregate.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-count-order-by-aggregate.input.ts @@ -4,22 +4,21 @@ import { SortOrder } from '../prisma/sort-order.enum'; @InputType() export class WorkspaceMemberCountOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + userId?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - userId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - workspaceId?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + workspaceId?: keyof typeof SortOrder; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-create-many-workspace-input-envelope.input.ts b/server/src/api/@generated/workspace-member/workspace-member-create-many-workspace-input-envelope.input.ts index 84a41912da..5e4c37c055 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-create-many-workspace-input-envelope.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-create-many-workspace-input-envelope.input.ts @@ -5,11 +5,10 @@ import { Type } from 'class-transformer'; @InputType() export class WorkspaceMemberCreateManyWorkspaceInputEnvelope { + @Field(() => [WorkspaceMemberCreateManyWorkspaceInput], { nullable: false }) + @Type(() => WorkspaceMemberCreateManyWorkspaceInput) + data!: Array; - @Field(() => [WorkspaceMemberCreateManyWorkspaceInput], {nullable:false}) - @Type(() => WorkspaceMemberCreateManyWorkspaceInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; + @Field(() => Boolean, { nullable: true }) + skipDuplicates?: boolean; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-create-many-workspace.input.ts b/server/src/api/@generated/workspace-member/workspace-member-create-many-workspace.input.ts index f64574423b..f1a07b2952 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-create-many-workspace.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-create-many-workspace.input.ts @@ -3,19 +3,18 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class WorkspaceMemberCreateManyWorkspaceInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; - - @Field(() => String, {nullable:false}) - userId!: string; + @Field(() => String, { nullable: false }) + userId!: string; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-create-many.input.ts b/server/src/api/@generated/workspace-member/workspace-member-create-many.input.ts index 0c9e8efec0..883c47e72b 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-create-many.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-create-many.input.ts @@ -3,22 +3,21 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class WorkspaceMemberCreateManyInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + userId!: string; - @Field(() => String, {nullable:false}) - userId!: string; - - @Field(() => String, {nullable:false}) - workspaceId!: string; + @Field(() => String, { nullable: false }) + workspaceId!: string; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-create-nested-many-without-workspace.input.ts b/server/src/api/@generated/workspace-member/workspace-member-create-nested-many-without-workspace.input.ts index eb1d5e725b..6a92990103 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-create-nested-many-without-workspace.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-create-nested-many-without-workspace.input.ts @@ -8,20 +8,23 @@ import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique @InputType() export class WorkspaceMemberCreateNestedManyWithoutWorkspaceInput { + @Field(() => [WorkspaceMemberCreateWithoutWorkspaceInput], { nullable: true }) + @Type(() => WorkspaceMemberCreateWithoutWorkspaceInput) + create?: Array; - @Field(() => [WorkspaceMemberCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberCreateWithoutWorkspaceInput) - create?: Array; + @Field(() => [WorkspaceMemberCreateOrConnectWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => WorkspaceMemberCreateOrConnectWithoutWorkspaceInput) + connectOrCreate?: Array; - @Field(() => [WorkspaceMemberCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; + @Field(() => WorkspaceMemberCreateManyWorkspaceInputEnvelope, { + nullable: true, + }) + @Type(() => WorkspaceMemberCreateManyWorkspaceInputEnvelope) + createMany?: WorkspaceMemberCreateManyWorkspaceInputEnvelope; - @Field(() => WorkspaceMemberCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => WorkspaceMemberCreateManyWorkspaceInputEnvelope) - createMany?: WorkspaceMemberCreateManyWorkspaceInputEnvelope; - - @Field(() => [WorkspaceMemberWhereUniqueInput], {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - connect?: Array; + @Field(() => [WorkspaceMemberWhereUniqueInput], { nullable: true }) + @Type(() => WorkspaceMemberWhereUniqueInput) + connect?: Array; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-create-nested-one-without-user.input.ts b/server/src/api/@generated/workspace-member/workspace-member-create-nested-one-without-user.input.ts index bcd732d959..d1563cb036 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-create-nested-one-without-user.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-create-nested-one-without-user.input.ts @@ -7,16 +7,17 @@ import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique @InputType() export class WorkspaceMemberCreateNestedOneWithoutUserInput { + @Field(() => WorkspaceMemberCreateWithoutUserInput, { nullable: true }) + @Type(() => WorkspaceMemberCreateWithoutUserInput) + create?: WorkspaceMemberCreateWithoutUserInput; - @Field(() => WorkspaceMemberCreateWithoutUserInput, {nullable:true}) - @Type(() => WorkspaceMemberCreateWithoutUserInput) - create?: WorkspaceMemberCreateWithoutUserInput; + @Field(() => WorkspaceMemberCreateOrConnectWithoutUserInput, { + nullable: true, + }) + @Type(() => WorkspaceMemberCreateOrConnectWithoutUserInput) + connectOrCreate?: WorkspaceMemberCreateOrConnectWithoutUserInput; - @Field(() => WorkspaceMemberCreateOrConnectWithoutUserInput, {nullable:true}) - @Type(() => WorkspaceMemberCreateOrConnectWithoutUserInput) - connectOrCreate?: WorkspaceMemberCreateOrConnectWithoutUserInput; - - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - connect?: WorkspaceMemberWhereUniqueInput; + @Field(() => WorkspaceMemberWhereUniqueInput, { nullable: true }) + @Type(() => WorkspaceMemberWhereUniqueInput) + connect?: WorkspaceMemberWhereUniqueInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-create-or-connect-without-user.input.ts b/server/src/api/@generated/workspace-member/workspace-member-create-or-connect-without-user.input.ts index 719e575308..73d7c7a684 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-create-or-connect-without-user.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-create-or-connect-without-user.input.ts @@ -6,12 +6,11 @@ import { WorkspaceMemberCreateWithoutUserInput } from './workspace-member-create @InputType() export class WorkspaceMemberCreateOrConnectWithoutUserInput { + @Field(() => WorkspaceMemberWhereUniqueInput, { nullable: false }) + @Type(() => WorkspaceMemberWhereUniqueInput) + where!: WorkspaceMemberWhereUniqueInput; - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceMemberWhereUniqueInput) - where!: WorkspaceMemberWhereUniqueInput; - - @Field(() => WorkspaceMemberCreateWithoutUserInput, {nullable:false}) - @Type(() => WorkspaceMemberCreateWithoutUserInput) - create!: WorkspaceMemberCreateWithoutUserInput; + @Field(() => WorkspaceMemberCreateWithoutUserInput, { nullable: false }) + @Type(() => WorkspaceMemberCreateWithoutUserInput) + create!: WorkspaceMemberCreateWithoutUserInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-create-or-connect-without-workspace.input.ts b/server/src/api/@generated/workspace-member/workspace-member-create-or-connect-without-workspace.input.ts index 0c0739b4c6..61dc64da09 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-create-or-connect-without-workspace.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-create-or-connect-without-workspace.input.ts @@ -6,12 +6,11 @@ import { WorkspaceMemberCreateWithoutWorkspaceInput } from './workspace-member-c @InputType() export class WorkspaceMemberCreateOrConnectWithoutWorkspaceInput { + @Field(() => WorkspaceMemberWhereUniqueInput, { nullable: false }) + @Type(() => WorkspaceMemberWhereUniqueInput) + where!: WorkspaceMemberWhereUniqueInput; - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceMemberWhereUniqueInput) - where!: WorkspaceMemberWhereUniqueInput; - - @Field(() => WorkspaceMemberCreateWithoutWorkspaceInput, {nullable:false}) - @Type(() => WorkspaceMemberCreateWithoutWorkspaceInput) - create!: WorkspaceMemberCreateWithoutWorkspaceInput; + @Field(() => WorkspaceMemberCreateWithoutWorkspaceInput, { nullable: false }) + @Type(() => WorkspaceMemberCreateWithoutWorkspaceInput) + create!: WorkspaceMemberCreateWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-create-without-user.input.ts b/server/src/api/@generated/workspace-member/workspace-member-create-without-user.input.ts index 0b499839ae..8153880baf 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-create-without-user.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-create-without-user.input.ts @@ -4,19 +4,20 @@ import { WorkspaceCreateNestedOneWithoutWorkspaceMemberInput } from '../workspac @InputType() export class WorkspaceMemberCreateWithoutUserInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; - - @Field(() => WorkspaceCreateNestedOneWithoutWorkspaceMemberInput, {nullable:false}) - workspace!: WorkspaceCreateNestedOneWithoutWorkspaceMemberInput; + @Field(() => WorkspaceCreateNestedOneWithoutWorkspaceMemberInput, { + nullable: false, + }) + workspace!: WorkspaceCreateNestedOneWithoutWorkspaceMemberInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-create-without-workspace.input.ts b/server/src/api/@generated/workspace-member/workspace-member-create-without-workspace.input.ts index c1b1fbf804..2ebfbf2801 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-create-without-workspace.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-create-without-workspace.input.ts @@ -4,19 +4,20 @@ import { UserCreateNestedOneWithoutWorkspaceMemberInput } from '../user/user-cre @InputType() export class WorkspaceMemberCreateWithoutWorkspaceInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; - - @Field(() => UserCreateNestedOneWithoutWorkspaceMemberInput, {nullable:false}) - user!: UserCreateNestedOneWithoutWorkspaceMemberInput; + @Field(() => UserCreateNestedOneWithoutWorkspaceMemberInput, { + nullable: false, + }) + user!: UserCreateNestedOneWithoutWorkspaceMemberInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-create.input.ts b/server/src/api/@generated/workspace-member/workspace-member-create.input.ts index 4d6268bf8b..6abea0d7bd 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-create.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-create.input.ts @@ -5,22 +5,25 @@ import { WorkspaceCreateNestedOneWithoutWorkspaceMemberInput } from '../workspac @InputType() export class WorkspaceMemberCreateInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => UserCreateNestedOneWithoutWorkspaceMemberInput, { + nullable: false, + }) + user!: UserCreateNestedOneWithoutWorkspaceMemberInput; - @Field(() => UserCreateNestedOneWithoutWorkspaceMemberInput, {nullable:false}) - user!: UserCreateNestedOneWithoutWorkspaceMemberInput; - - @Field(() => WorkspaceCreateNestedOneWithoutWorkspaceMemberInput, {nullable:false}) - workspace!: WorkspaceCreateNestedOneWithoutWorkspaceMemberInput; + @Field(() => WorkspaceCreateNestedOneWithoutWorkspaceMemberInput, { + nullable: false, + }) + workspace!: WorkspaceCreateNestedOneWithoutWorkspaceMemberInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-group-by.args.ts b/server/src/api/@generated/workspace-member/workspace-member-group-by.args.ts index bd3c9a4516..2cffc5ca68 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-group-by.args.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-group-by.args.ts @@ -12,32 +12,33 @@ import { WorkspaceMemberMaxAggregateInput } from './workspace-member-max-aggrega @ArgsType() export class WorkspaceMemberGroupByArgs { + @Field(() => WorkspaceMemberWhereInput, { nullable: true }) + @Type(() => WorkspaceMemberWhereInput) + where?: WorkspaceMemberWhereInput; - @Field(() => WorkspaceMemberWhereInput, {nullable:true}) - @Type(() => WorkspaceMemberWhereInput) - where?: WorkspaceMemberWhereInput; + @Field(() => [WorkspaceMemberOrderByWithAggregationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [WorkspaceMemberOrderByWithAggregationInput], {nullable:true}) - orderBy?: Array; + @Field(() => [WorkspaceMemberScalarFieldEnum], { nullable: false }) + by!: Array; - @Field(() => [WorkspaceMemberScalarFieldEnum], {nullable:false}) - by!: Array; + @Field(() => WorkspaceMemberScalarWhereWithAggregatesInput, { + nullable: true, + }) + having?: WorkspaceMemberScalarWhereWithAggregatesInput; - @Field(() => WorkspaceMemberScalarWhereWithAggregatesInput, {nullable:true}) - having?: WorkspaceMemberScalarWhereWithAggregatesInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; + @Field(() => WorkspaceMemberCountAggregateInput, { nullable: true }) + _count?: WorkspaceMemberCountAggregateInput; - @Field(() => WorkspaceMemberCountAggregateInput, {nullable:true}) - _count?: WorkspaceMemberCountAggregateInput; + @Field(() => WorkspaceMemberMinAggregateInput, { nullable: true }) + _min?: WorkspaceMemberMinAggregateInput; - @Field(() => WorkspaceMemberMinAggregateInput, {nullable:true}) - _min?: WorkspaceMemberMinAggregateInput; - - @Field(() => WorkspaceMemberMaxAggregateInput, {nullable:true}) - _max?: WorkspaceMemberMaxAggregateInput; + @Field(() => WorkspaceMemberMaxAggregateInput, { nullable: true }) + _max?: WorkspaceMemberMaxAggregateInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-group-by.output.ts b/server/src/api/@generated/workspace-member/workspace-member-group-by.output.ts index bae0d75f51..da6069aa29 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-group-by.output.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-group-by.output.ts @@ -6,31 +6,30 @@ import { WorkspaceMemberMaxAggregate } from './workspace-member-max-aggregate.ou @ObjectType() export class WorkspaceMemberGroupBy { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: false }) + createdAt!: Date | string; - @Field(() => Date, {nullable:false}) - createdAt!: Date | string; + @Field(() => Date, { nullable: false }) + updatedAt!: Date | string; - @Field(() => Date, {nullable:false}) - updatedAt!: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + userId!: string; - @Field(() => String, {nullable:false}) - userId!: string; + @Field(() => String, { nullable: false }) + workspaceId!: string; - @Field(() => String, {nullable:false}) - workspaceId!: string; + @Field(() => WorkspaceMemberCountAggregate, { nullable: true }) + _count?: WorkspaceMemberCountAggregate; - @Field(() => WorkspaceMemberCountAggregate, {nullable:true}) - _count?: WorkspaceMemberCountAggregate; + @Field(() => WorkspaceMemberMinAggregate, { nullable: true }) + _min?: WorkspaceMemberMinAggregate; - @Field(() => WorkspaceMemberMinAggregate, {nullable:true}) - _min?: WorkspaceMemberMinAggregate; - - @Field(() => WorkspaceMemberMaxAggregate, {nullable:true}) - _max?: WorkspaceMemberMaxAggregate; + @Field(() => WorkspaceMemberMaxAggregate, { nullable: true }) + _max?: WorkspaceMemberMaxAggregate; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-list-relation-filter.input.ts b/server/src/api/@generated/workspace-member/workspace-member-list-relation-filter.input.ts index a7a210dcff..33e6988833 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-list-relation-filter.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-list-relation-filter.input.ts @@ -4,13 +4,12 @@ import { WorkspaceMemberWhereInput } from './workspace-member-where.input'; @InputType() export class WorkspaceMemberListRelationFilter { + @Field(() => WorkspaceMemberWhereInput, { nullable: true }) + every?: WorkspaceMemberWhereInput; - @Field(() => WorkspaceMemberWhereInput, {nullable:true}) - every?: WorkspaceMemberWhereInput; + @Field(() => WorkspaceMemberWhereInput, { nullable: true }) + some?: WorkspaceMemberWhereInput; - @Field(() => WorkspaceMemberWhereInput, {nullable:true}) - some?: WorkspaceMemberWhereInput; - - @Field(() => WorkspaceMemberWhereInput, {nullable:true}) - none?: WorkspaceMemberWhereInput; + @Field(() => WorkspaceMemberWhereInput, { nullable: true }) + none?: WorkspaceMemberWhereInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-max-aggregate.input.ts b/server/src/api/@generated/workspace-member/workspace-member-max-aggregate.input.ts index 7e12b9b4a6..d4384d000d 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-max-aggregate.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-max-aggregate.input.ts @@ -3,22 +3,21 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class WorkspaceMemberMaxAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; - @Field(() => Boolean, {nullable:true}) - id?: true; + @Field(() => Boolean, { nullable: true }) + createdAt?: true; - @Field(() => Boolean, {nullable:true}) - createdAt?: true; + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; - @Field(() => Boolean, {nullable:true}) - deletedAt?: true; + @Field(() => Boolean, { nullable: true }) + userId?: true; - @Field(() => Boolean, {nullable:true}) - userId?: true; - - @Field(() => Boolean, {nullable:true}) - workspaceId?: true; + @Field(() => Boolean, { nullable: true }) + workspaceId?: true; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-max-aggregate.output.ts b/server/src/api/@generated/workspace-member/workspace-member-max-aggregate.output.ts index 61f900b651..9c6b121f2a 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-max-aggregate.output.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-max-aggregate.output.ts @@ -3,22 +3,21 @@ import { ObjectType } from '@nestjs/graphql'; @ObjectType() export class WorkspaceMemberMaxAggregate { + @Field(() => String, { nullable: true }) + id?: string; - @Field(() => String, {nullable:true}) - id?: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: true }) + userId?: string; - @Field(() => String, {nullable:true}) - userId?: string; - - @Field(() => String, {nullable:true}) - workspaceId?: string; + @Field(() => String, { nullable: true }) + workspaceId?: string; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-max-order-by-aggregate.input.ts b/server/src/api/@generated/workspace-member/workspace-member-max-order-by-aggregate.input.ts index 4706b8897b..6e66c98a8b 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-max-order-by-aggregate.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-max-order-by-aggregate.input.ts @@ -4,22 +4,21 @@ import { SortOrder } from '../prisma/sort-order.enum'; @InputType() export class WorkspaceMemberMaxOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + userId?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - userId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - workspaceId?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + workspaceId?: keyof typeof SortOrder; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-min-aggregate.input.ts b/server/src/api/@generated/workspace-member/workspace-member-min-aggregate.input.ts index 60161b0938..4be957eff7 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-min-aggregate.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-min-aggregate.input.ts @@ -3,22 +3,21 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class WorkspaceMemberMinAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; - @Field(() => Boolean, {nullable:true}) - id?: true; + @Field(() => Boolean, { nullable: true }) + createdAt?: true; - @Field(() => Boolean, {nullable:true}) - createdAt?: true; + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; - @Field(() => Boolean, {nullable:true}) - deletedAt?: true; + @Field(() => Boolean, { nullable: true }) + userId?: true; - @Field(() => Boolean, {nullable:true}) - userId?: true; - - @Field(() => Boolean, {nullable:true}) - workspaceId?: true; + @Field(() => Boolean, { nullable: true }) + workspaceId?: true; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-min-aggregate.output.ts b/server/src/api/@generated/workspace-member/workspace-member-min-aggregate.output.ts index 3263ca624d..0c4b7abbaa 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-min-aggregate.output.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-min-aggregate.output.ts @@ -3,22 +3,21 @@ import { ObjectType } from '@nestjs/graphql'; @ObjectType() export class WorkspaceMemberMinAggregate { + @Field(() => String, { nullable: true }) + id?: string; - @Field(() => String, {nullable:true}) - id?: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: true }) + userId?: string; - @Field(() => String, {nullable:true}) - userId?: string; - - @Field(() => String, {nullable:true}) - workspaceId?: string; + @Field(() => String, { nullable: true }) + workspaceId?: string; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-min-order-by-aggregate.input.ts b/server/src/api/@generated/workspace-member/workspace-member-min-order-by-aggregate.input.ts index e9fff35e6d..e02613c4f9 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-min-order-by-aggregate.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-min-order-by-aggregate.input.ts @@ -4,22 +4,21 @@ import { SortOrder } from '../prisma/sort-order.enum'; @InputType() export class WorkspaceMemberMinOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + userId?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - userId?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - workspaceId?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + workspaceId?: keyof typeof SortOrder; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-order-by-relation-aggregate.input.ts b/server/src/api/@generated/workspace-member/workspace-member-order-by-relation-aggregate.input.ts index 9754224e65..9e25118bb4 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-order-by-relation-aggregate.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-order-by-relation-aggregate.input.ts @@ -4,7 +4,6 @@ import { SortOrder } from '../prisma/sort-order.enum'; @InputType() export class WorkspaceMemberOrderByRelationAggregateInput { - - @Field(() => SortOrder, {nullable:true}) - _count?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + _count?: keyof typeof SortOrder; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-order-by-with-aggregation.input.ts b/server/src/api/@generated/workspace-member/workspace-member-order-by-with-aggregation.input.ts index 0f3f13d6d4..c83d18d6d2 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-order-by-with-aggregation.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-order-by-with-aggregation.input.ts @@ -7,31 +7,30 @@ import { WorkspaceMemberMinOrderByAggregateInput } from './workspace-member-min- @InputType() export class WorkspaceMemberOrderByWithAggregationInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + userId?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - userId?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + workspaceId?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - workspaceId?: keyof typeof SortOrder; + @Field(() => WorkspaceMemberCountOrderByAggregateInput, { nullable: true }) + _count?: WorkspaceMemberCountOrderByAggregateInput; - @Field(() => WorkspaceMemberCountOrderByAggregateInput, {nullable:true}) - _count?: WorkspaceMemberCountOrderByAggregateInput; + @Field(() => WorkspaceMemberMaxOrderByAggregateInput, { nullable: true }) + _max?: WorkspaceMemberMaxOrderByAggregateInput; - @Field(() => WorkspaceMemberMaxOrderByAggregateInput, {nullable:true}) - _max?: WorkspaceMemberMaxOrderByAggregateInput; - - @Field(() => WorkspaceMemberMinOrderByAggregateInput, {nullable:true}) - _min?: WorkspaceMemberMinOrderByAggregateInput; + @Field(() => WorkspaceMemberMinOrderByAggregateInput, { nullable: true }) + _min?: WorkspaceMemberMinOrderByAggregateInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-order-by-with-relation.input.ts b/server/src/api/@generated/workspace-member/workspace-member-order-by-with-relation.input.ts index 538df3e098..1f45dee912 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-order-by-with-relation.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-order-by-with-relation.input.ts @@ -6,28 +6,27 @@ import { WorkspaceOrderByWithRelationInput } from '../workspace/workspace-order- @InputType() export class WorkspaceMemberOrderByWithRelationInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + userId?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - userId?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + workspaceId?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - workspaceId?: keyof typeof SortOrder; + @Field(() => UserOrderByWithRelationInput, { nullable: true }) + user?: UserOrderByWithRelationInput; - @Field(() => UserOrderByWithRelationInput, {nullable:true}) - user?: UserOrderByWithRelationInput; - - @Field(() => WorkspaceOrderByWithRelationInput, {nullable:true}) - workspace?: WorkspaceOrderByWithRelationInput; + @Field(() => WorkspaceOrderByWithRelationInput, { nullable: true }) + workspace?: WorkspaceOrderByWithRelationInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-relation-filter.input.ts b/server/src/api/@generated/workspace-member/workspace-member-relation-filter.input.ts index 228be3a476..2cf73c8941 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-relation-filter.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-relation-filter.input.ts @@ -4,10 +4,9 @@ import { WorkspaceMemberWhereInput } from './workspace-member-where.input'; @InputType() export class WorkspaceMemberRelationFilter { + @Field(() => WorkspaceMemberWhereInput, { nullable: true }) + is?: WorkspaceMemberWhereInput; - @Field(() => WorkspaceMemberWhereInput, {nullable:true}) - is?: WorkspaceMemberWhereInput; - - @Field(() => WorkspaceMemberWhereInput, {nullable:true}) - isNot?: WorkspaceMemberWhereInput; + @Field(() => WorkspaceMemberWhereInput, { nullable: true }) + isNot?: WorkspaceMemberWhereInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-scalar-field.enum.ts b/server/src/api/@generated/workspace-member/workspace-member-scalar-field.enum.ts index 4089c03d70..5dddacb4f3 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-scalar-field.enum.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-scalar-field.enum.ts @@ -1,13 +1,15 @@ import { registerEnumType } from '@nestjs/graphql'; export enum WorkspaceMemberScalarFieldEnum { - id = "id", - createdAt = "createdAt", - updatedAt = "updatedAt", - deletedAt = "deletedAt", - userId = "userId", - workspaceId = "workspaceId" + id = 'id', + createdAt = 'createdAt', + updatedAt = 'updatedAt', + deletedAt = 'deletedAt', + userId = 'userId', + workspaceId = 'workspaceId', } - -registerEnumType(WorkspaceMemberScalarFieldEnum, { name: 'WorkspaceMemberScalarFieldEnum', description: undefined }) +registerEnumType(WorkspaceMemberScalarFieldEnum, { + name: 'WorkspaceMemberScalarFieldEnum', + description: undefined, +}); diff --git a/server/src/api/@generated/workspace-member/workspace-member-scalar-where-with-aggregates.input.ts b/server/src/api/@generated/workspace-member/workspace-member-scalar-where-with-aggregates.input.ts index 2ecbd1346b..71dcbfd09f 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-scalar-where-with-aggregates.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-scalar-where-with-aggregates.input.ts @@ -6,31 +6,36 @@ import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullab @InputType() export class WorkspaceMemberScalarWhereWithAggregatesInput { + @Field(() => [WorkspaceMemberScalarWhereWithAggregatesInput], { + nullable: true, + }) + AND?: Array; - @Field(() => [WorkspaceMemberScalarWhereWithAggregatesInput], {nullable:true}) - AND?: Array; + @Field(() => [WorkspaceMemberScalarWhereWithAggregatesInput], { + nullable: true, + }) + OR?: Array; - @Field(() => [WorkspaceMemberScalarWhereWithAggregatesInput], {nullable:true}) - OR?: Array; + @Field(() => [WorkspaceMemberScalarWhereWithAggregatesInput], { + nullable: true, + }) + NOT?: Array; - @Field(() => [WorkspaceMemberScalarWhereWithAggregatesInput], {nullable:true}) - NOT?: Array; + @Field(() => StringWithAggregatesFilter, { nullable: true }) + id?: StringWithAggregatesFilter; - @Field(() => StringWithAggregatesFilter, {nullable:true}) - id?: StringWithAggregatesFilter; + @Field(() => DateTimeWithAggregatesFilter, { nullable: true }) + createdAt?: DateTimeWithAggregatesFilter; - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - createdAt?: DateTimeWithAggregatesFilter; + @Field(() => DateTimeWithAggregatesFilter, { nullable: true }) + updatedAt?: DateTimeWithAggregatesFilter; - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - updatedAt?: DateTimeWithAggregatesFilter; + @Field(() => DateTimeNullableWithAggregatesFilter, { nullable: true }) + deletedAt?: DateTimeNullableWithAggregatesFilter; - @Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true}) - deletedAt?: DateTimeNullableWithAggregatesFilter; + @Field(() => StringWithAggregatesFilter, { nullable: true }) + userId?: StringWithAggregatesFilter; - @Field(() => StringWithAggregatesFilter, {nullable:true}) - userId?: StringWithAggregatesFilter; - - @Field(() => StringWithAggregatesFilter, {nullable:true}) - workspaceId?: StringWithAggregatesFilter; + @Field(() => StringWithAggregatesFilter, { nullable: true }) + workspaceId?: StringWithAggregatesFilter; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-scalar-where.input.ts b/server/src/api/@generated/workspace-member/workspace-member-scalar-where.input.ts index c3b9631229..96bb93deae 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-scalar-where.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-scalar-where.input.ts @@ -6,31 +6,30 @@ import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.inpu @InputType() export class WorkspaceMemberScalarWhereInput { + @Field(() => [WorkspaceMemberScalarWhereInput], { nullable: true }) + AND?: Array; - @Field(() => [WorkspaceMemberScalarWhereInput], {nullable:true}) - AND?: Array; + @Field(() => [WorkspaceMemberScalarWhereInput], { nullable: true }) + OR?: Array; - @Field(() => [WorkspaceMemberScalarWhereInput], {nullable:true}) - OR?: Array; + @Field(() => [WorkspaceMemberScalarWhereInput], { nullable: true }) + NOT?: Array; - @Field(() => [WorkspaceMemberScalarWhereInput], {nullable:true}) - NOT?: Array; + @Field(() => StringFilter, { nullable: true }) + id?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; + @Field(() => DateTimeFilter, { nullable: true }) + createdAt?: DateTimeFilter; - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; + @Field(() => DateTimeFilter, { nullable: true }) + updatedAt?: DateTimeFilter; - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; + @Field(() => DateTimeNullableFilter, { nullable: true }) + deletedAt?: DateTimeNullableFilter; - @Field(() => DateTimeNullableFilter, {nullable:true}) - deletedAt?: DateTimeNullableFilter; + @Field(() => StringFilter, { nullable: true }) + userId?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - userId?: StringFilter; - - @Field(() => StringFilter, {nullable:true}) - workspaceId?: StringFilter; + @Field(() => StringFilter, { nullable: true }) + workspaceId?: StringFilter; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-unchecked-create-nested-many-without-workspace.input.ts b/server/src/api/@generated/workspace-member/workspace-member-unchecked-create-nested-many-without-workspace.input.ts index bde03ba155..d3ff3318ba 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-unchecked-create-nested-many-without-workspace.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-unchecked-create-nested-many-without-workspace.input.ts @@ -8,20 +8,23 @@ import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique @InputType() export class WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput { + @Field(() => [WorkspaceMemberCreateWithoutWorkspaceInput], { nullable: true }) + @Type(() => WorkspaceMemberCreateWithoutWorkspaceInput) + create?: Array; - @Field(() => [WorkspaceMemberCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberCreateWithoutWorkspaceInput) - create?: Array; + @Field(() => [WorkspaceMemberCreateOrConnectWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => WorkspaceMemberCreateOrConnectWithoutWorkspaceInput) + connectOrCreate?: Array; - @Field(() => [WorkspaceMemberCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; + @Field(() => WorkspaceMemberCreateManyWorkspaceInputEnvelope, { + nullable: true, + }) + @Type(() => WorkspaceMemberCreateManyWorkspaceInputEnvelope) + createMany?: WorkspaceMemberCreateManyWorkspaceInputEnvelope; - @Field(() => WorkspaceMemberCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => WorkspaceMemberCreateManyWorkspaceInputEnvelope) - createMany?: WorkspaceMemberCreateManyWorkspaceInputEnvelope; - - @Field(() => [WorkspaceMemberWhereUniqueInput], {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - connect?: Array; + @Field(() => [WorkspaceMemberWhereUniqueInput], { nullable: true }) + @Type(() => WorkspaceMemberWhereUniqueInput) + connect?: Array; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-unchecked-create-nested-one-without-user.input.ts b/server/src/api/@generated/workspace-member/workspace-member-unchecked-create-nested-one-without-user.input.ts index 7e8c351b6d..aed1b38bc1 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-unchecked-create-nested-one-without-user.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-unchecked-create-nested-one-without-user.input.ts @@ -7,16 +7,17 @@ import { WorkspaceMemberWhereUniqueInput } from './workspace-member-where-unique @InputType() export class WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput { + @Field(() => WorkspaceMemberCreateWithoutUserInput, { nullable: true }) + @Type(() => WorkspaceMemberCreateWithoutUserInput) + create?: WorkspaceMemberCreateWithoutUserInput; - @Field(() => WorkspaceMemberCreateWithoutUserInput, {nullable:true}) - @Type(() => WorkspaceMemberCreateWithoutUserInput) - create?: WorkspaceMemberCreateWithoutUserInput; + @Field(() => WorkspaceMemberCreateOrConnectWithoutUserInput, { + nullable: true, + }) + @Type(() => WorkspaceMemberCreateOrConnectWithoutUserInput) + connectOrCreate?: WorkspaceMemberCreateOrConnectWithoutUserInput; - @Field(() => WorkspaceMemberCreateOrConnectWithoutUserInput, {nullable:true}) - @Type(() => WorkspaceMemberCreateOrConnectWithoutUserInput) - connectOrCreate?: WorkspaceMemberCreateOrConnectWithoutUserInput; - - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - connect?: WorkspaceMemberWhereUniqueInput; + @Field(() => WorkspaceMemberWhereUniqueInput, { nullable: true }) + @Type(() => WorkspaceMemberWhereUniqueInput) + connect?: WorkspaceMemberWhereUniqueInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-unchecked-create-without-user.input.ts b/server/src/api/@generated/workspace-member/workspace-member-unchecked-create-without-user.input.ts index 07245f31f0..74b76533b2 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-unchecked-create-without-user.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-unchecked-create-without-user.input.ts @@ -3,19 +3,18 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class WorkspaceMemberUncheckedCreateWithoutUserInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; - - @Field(() => String, {nullable:false}) - workspaceId!: string; + @Field(() => String, { nullable: false }) + workspaceId!: string; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-unchecked-create-without-workspace.input.ts b/server/src/api/@generated/workspace-member/workspace-member-unchecked-create-without-workspace.input.ts index d8dd110548..7b5a049d9a 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-unchecked-create-without-workspace.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-unchecked-create-without-workspace.input.ts @@ -3,19 +3,18 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class WorkspaceMemberUncheckedCreateWithoutWorkspaceInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; - - @Field(() => String, {nullable:false}) - userId!: string; + @Field(() => String, { nullable: false }) + userId!: string; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-unchecked-create.input.ts b/server/src/api/@generated/workspace-member/workspace-member-unchecked-create.input.ts index 4b71982562..38e126a1e9 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-unchecked-create.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-unchecked-create.input.ts @@ -3,22 +3,21 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class WorkspaceMemberUncheckedCreateInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + userId!: string; - @Field(() => String, {nullable:false}) - userId!: string; - - @Field(() => String, {nullable:false}) - workspaceId!: string; + @Field(() => String, { nullable: false }) + workspaceId!: string; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-unchecked-update-many-without-workspace-member.input.ts b/server/src/api/@generated/workspace-member/workspace-member-unchecked-update-many-without-workspace-member.input.ts index c4454b5724..e4a6528a21 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-unchecked-update-many-without-workspace-member.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-unchecked-update-many-without-workspace-member.input.ts @@ -6,19 +6,18 @@ import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-d @InputType() export class WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceMemberInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - userId?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + userId?: StringFieldUpdateOperationsInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-unchecked-update-many-without-workspace-nested.input.ts b/server/src/api/@generated/workspace-member/workspace-member-unchecked-update-many-without-workspace-nested.input.ts index 0274c02455..5ce558cd00 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-unchecked-update-many-without-workspace-nested.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-unchecked-update-many-without-workspace-nested.input.ts @@ -12,48 +12,57 @@ import { WorkspaceMemberScalarWhereInput } from './workspace-member-scalar-where @InputType() export class WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput { + @Field(() => [WorkspaceMemberCreateWithoutWorkspaceInput], { nullable: true }) + @Type(() => WorkspaceMemberCreateWithoutWorkspaceInput) + create?: Array; - @Field(() => [WorkspaceMemberCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberCreateWithoutWorkspaceInput) - create?: Array; + @Field(() => [WorkspaceMemberCreateOrConnectWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => WorkspaceMemberCreateOrConnectWithoutWorkspaceInput) + connectOrCreate?: Array; - @Field(() => [WorkspaceMemberCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; + @Field(() => [WorkspaceMemberUpsertWithWhereUniqueWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => WorkspaceMemberUpsertWithWhereUniqueWithoutWorkspaceInput) + upsert?: Array; - @Field(() => [WorkspaceMemberUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberUpsertWithWhereUniqueWithoutWorkspaceInput) - upsert?: Array; + @Field(() => WorkspaceMemberCreateManyWorkspaceInputEnvelope, { + nullable: true, + }) + @Type(() => WorkspaceMemberCreateManyWorkspaceInputEnvelope) + createMany?: WorkspaceMemberCreateManyWorkspaceInputEnvelope; - @Field(() => WorkspaceMemberCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => WorkspaceMemberCreateManyWorkspaceInputEnvelope) - createMany?: WorkspaceMemberCreateManyWorkspaceInputEnvelope; + @Field(() => [WorkspaceMemberWhereUniqueInput], { nullable: true }) + @Type(() => WorkspaceMemberWhereUniqueInput) + set?: Array; - @Field(() => [WorkspaceMemberWhereUniqueInput], {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - set?: Array; + @Field(() => [WorkspaceMemberWhereUniqueInput], { nullable: true }) + @Type(() => WorkspaceMemberWhereUniqueInput) + disconnect?: Array; - @Field(() => [WorkspaceMemberWhereUniqueInput], {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - disconnect?: Array; + @Field(() => [WorkspaceMemberWhereUniqueInput], { nullable: true }) + @Type(() => WorkspaceMemberWhereUniqueInput) + delete?: Array; - @Field(() => [WorkspaceMemberWhereUniqueInput], {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - delete?: Array; + @Field(() => [WorkspaceMemberWhereUniqueInput], { nullable: true }) + @Type(() => WorkspaceMemberWhereUniqueInput) + connect?: Array; - @Field(() => [WorkspaceMemberWhereUniqueInput], {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - connect?: Array; + @Field(() => [WorkspaceMemberUpdateWithWhereUniqueWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => WorkspaceMemberUpdateWithWhereUniqueWithoutWorkspaceInput) + update?: Array; - @Field(() => [WorkspaceMemberUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberUpdateWithWhereUniqueWithoutWorkspaceInput) - update?: Array; + @Field(() => [WorkspaceMemberUpdateManyWithWhereWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => WorkspaceMemberUpdateManyWithWhereWithoutWorkspaceInput) + updateMany?: Array; - @Field(() => [WorkspaceMemberUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberUpdateManyWithWhereWithoutWorkspaceInput) - updateMany?: Array; - - @Field(() => [WorkspaceMemberScalarWhereInput], {nullable:true}) - @Type(() => WorkspaceMemberScalarWhereInput) - deleteMany?: Array; + @Field(() => [WorkspaceMemberScalarWhereInput], { nullable: true }) + @Type(() => WorkspaceMemberScalarWhereInput) + deleteMany?: Array; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-unchecked-update-many.input.ts b/server/src/api/@generated/workspace-member/workspace-member-unchecked-update-many.input.ts index 6d59e2e34b..69d3ad722e 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-unchecked-update-many.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-unchecked-update-many.input.ts @@ -6,22 +6,21 @@ import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-d @InputType() export class WorkspaceMemberUncheckedUpdateManyInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + userId?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - userId?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - workspaceId?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + workspaceId?: StringFieldUpdateOperationsInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-unchecked-update-one-without-user-nested.input.ts b/server/src/api/@generated/workspace-member/workspace-member-unchecked-update-one-without-user-nested.input.ts index 046dc5a249..41b24c3d72 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-unchecked-update-one-without-user-nested.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-unchecked-update-one-without-user-nested.input.ts @@ -9,30 +9,31 @@ import { WorkspaceMemberUpdateWithoutUserInput } from './workspace-member-update @InputType() export class WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput { + @Field(() => WorkspaceMemberCreateWithoutUserInput, { nullable: true }) + @Type(() => WorkspaceMemberCreateWithoutUserInput) + create?: WorkspaceMemberCreateWithoutUserInput; - @Field(() => WorkspaceMemberCreateWithoutUserInput, {nullable:true}) - @Type(() => WorkspaceMemberCreateWithoutUserInput) - create?: WorkspaceMemberCreateWithoutUserInput; + @Field(() => WorkspaceMemberCreateOrConnectWithoutUserInput, { + nullable: true, + }) + @Type(() => WorkspaceMemberCreateOrConnectWithoutUserInput) + connectOrCreate?: WorkspaceMemberCreateOrConnectWithoutUserInput; - @Field(() => WorkspaceMemberCreateOrConnectWithoutUserInput, {nullable:true}) - @Type(() => WorkspaceMemberCreateOrConnectWithoutUserInput) - connectOrCreate?: WorkspaceMemberCreateOrConnectWithoutUserInput; + @Field(() => WorkspaceMemberUpsertWithoutUserInput, { nullable: true }) + @Type(() => WorkspaceMemberUpsertWithoutUserInput) + upsert?: WorkspaceMemberUpsertWithoutUserInput; - @Field(() => WorkspaceMemberUpsertWithoutUserInput, {nullable:true}) - @Type(() => WorkspaceMemberUpsertWithoutUserInput) - upsert?: WorkspaceMemberUpsertWithoutUserInput; + @Field(() => Boolean, { nullable: true }) + disconnect?: boolean; - @Field(() => Boolean, {nullable:true}) - disconnect?: boolean; + @Field(() => Boolean, { nullable: true }) + delete?: boolean; - @Field(() => Boolean, {nullable:true}) - delete?: boolean; + @Field(() => WorkspaceMemberWhereUniqueInput, { nullable: true }) + @Type(() => WorkspaceMemberWhereUniqueInput) + connect?: WorkspaceMemberWhereUniqueInput; - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - connect?: WorkspaceMemberWhereUniqueInput; - - @Field(() => WorkspaceMemberUpdateWithoutUserInput, {nullable:true}) - @Type(() => WorkspaceMemberUpdateWithoutUserInput) - update?: WorkspaceMemberUpdateWithoutUserInput; + @Field(() => WorkspaceMemberUpdateWithoutUserInput, { nullable: true }) + @Type(() => WorkspaceMemberUpdateWithoutUserInput) + update?: WorkspaceMemberUpdateWithoutUserInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-unchecked-update-without-user.input.ts b/server/src/api/@generated/workspace-member/workspace-member-unchecked-update-without-user.input.ts index 8a9c47c5ad..acc39f54d8 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-unchecked-update-without-user.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-unchecked-update-without-user.input.ts @@ -6,19 +6,18 @@ import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-d @InputType() export class WorkspaceMemberUncheckedUpdateWithoutUserInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - workspaceId?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + workspaceId?: StringFieldUpdateOperationsInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-unchecked-update-without-workspace.input.ts b/server/src/api/@generated/workspace-member/workspace-member-unchecked-update-without-workspace.input.ts index 034faea04e..6017984d61 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-unchecked-update-without-workspace.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-unchecked-update-without-workspace.input.ts @@ -6,19 +6,18 @@ import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-d @InputType() export class WorkspaceMemberUncheckedUpdateWithoutWorkspaceInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - userId?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + userId?: StringFieldUpdateOperationsInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-unchecked-update.input.ts b/server/src/api/@generated/workspace-member/workspace-member-unchecked-update.input.ts index 43a4ce1761..7eefc2945c 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-unchecked-update.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-unchecked-update.input.ts @@ -6,22 +6,21 @@ import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-d @InputType() export class WorkspaceMemberUncheckedUpdateInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + userId?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - userId?: StringFieldUpdateOperationsInput; - - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - workspaceId?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + workspaceId?: StringFieldUpdateOperationsInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-update-many-mutation.input.ts b/server/src/api/@generated/workspace-member/workspace-member-update-many-mutation.input.ts index 8553ee7342..f4d67eaae1 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-update-many-mutation.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-update-many-mutation.input.ts @@ -6,16 +6,15 @@ import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-d @InputType() export class WorkspaceMemberUpdateManyMutationInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; - - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-update-many-with-where-without-workspace.input.ts b/server/src/api/@generated/workspace-member/workspace-member-update-many-with-where-without-workspace.input.ts index 4335be295c..c8772085a3 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-update-many-with-where-without-workspace.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-update-many-with-where-without-workspace.input.ts @@ -6,12 +6,11 @@ import { WorkspaceMemberUpdateManyMutationInput } from './workspace-member-updat @InputType() export class WorkspaceMemberUpdateManyWithWhereWithoutWorkspaceInput { + @Field(() => WorkspaceMemberScalarWhereInput, { nullable: false }) + @Type(() => WorkspaceMemberScalarWhereInput) + where!: WorkspaceMemberScalarWhereInput; - @Field(() => WorkspaceMemberScalarWhereInput, {nullable:false}) - @Type(() => WorkspaceMemberScalarWhereInput) - where!: WorkspaceMemberScalarWhereInput; - - @Field(() => WorkspaceMemberUpdateManyMutationInput, {nullable:false}) - @Type(() => WorkspaceMemberUpdateManyMutationInput) - data!: WorkspaceMemberUpdateManyMutationInput; + @Field(() => WorkspaceMemberUpdateManyMutationInput, { nullable: false }) + @Type(() => WorkspaceMemberUpdateManyMutationInput) + data!: WorkspaceMemberUpdateManyMutationInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-update-many-without-workspace-nested.input.ts b/server/src/api/@generated/workspace-member/workspace-member-update-many-without-workspace-nested.input.ts index 15a201bbf7..cf0a1c0984 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-update-many-without-workspace-nested.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-update-many-without-workspace-nested.input.ts @@ -12,48 +12,57 @@ import { WorkspaceMemberScalarWhereInput } from './workspace-member-scalar-where @InputType() export class WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput { + @Field(() => [WorkspaceMemberCreateWithoutWorkspaceInput], { nullable: true }) + @Type(() => WorkspaceMemberCreateWithoutWorkspaceInput) + create?: Array; - @Field(() => [WorkspaceMemberCreateWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberCreateWithoutWorkspaceInput) - create?: Array; + @Field(() => [WorkspaceMemberCreateOrConnectWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => WorkspaceMemberCreateOrConnectWithoutWorkspaceInput) + connectOrCreate?: Array; - @Field(() => [WorkspaceMemberCreateOrConnectWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberCreateOrConnectWithoutWorkspaceInput) - connectOrCreate?: Array; + @Field(() => [WorkspaceMemberUpsertWithWhereUniqueWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => WorkspaceMemberUpsertWithWhereUniqueWithoutWorkspaceInput) + upsert?: Array; - @Field(() => [WorkspaceMemberUpsertWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberUpsertWithWhereUniqueWithoutWorkspaceInput) - upsert?: Array; + @Field(() => WorkspaceMemberCreateManyWorkspaceInputEnvelope, { + nullable: true, + }) + @Type(() => WorkspaceMemberCreateManyWorkspaceInputEnvelope) + createMany?: WorkspaceMemberCreateManyWorkspaceInputEnvelope; - @Field(() => WorkspaceMemberCreateManyWorkspaceInputEnvelope, {nullable:true}) - @Type(() => WorkspaceMemberCreateManyWorkspaceInputEnvelope) - createMany?: WorkspaceMemberCreateManyWorkspaceInputEnvelope; + @Field(() => [WorkspaceMemberWhereUniqueInput], { nullable: true }) + @Type(() => WorkspaceMemberWhereUniqueInput) + set?: Array; - @Field(() => [WorkspaceMemberWhereUniqueInput], {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - set?: Array; + @Field(() => [WorkspaceMemberWhereUniqueInput], { nullable: true }) + @Type(() => WorkspaceMemberWhereUniqueInput) + disconnect?: Array; - @Field(() => [WorkspaceMemberWhereUniqueInput], {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - disconnect?: Array; + @Field(() => [WorkspaceMemberWhereUniqueInput], { nullable: true }) + @Type(() => WorkspaceMemberWhereUniqueInput) + delete?: Array; - @Field(() => [WorkspaceMemberWhereUniqueInput], {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - delete?: Array; + @Field(() => [WorkspaceMemberWhereUniqueInput], { nullable: true }) + @Type(() => WorkspaceMemberWhereUniqueInput) + connect?: Array; - @Field(() => [WorkspaceMemberWhereUniqueInput], {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - connect?: Array; + @Field(() => [WorkspaceMemberUpdateWithWhereUniqueWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => WorkspaceMemberUpdateWithWhereUniqueWithoutWorkspaceInput) + update?: Array; - @Field(() => [WorkspaceMemberUpdateWithWhereUniqueWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberUpdateWithWhereUniqueWithoutWorkspaceInput) - update?: Array; + @Field(() => [WorkspaceMemberUpdateManyWithWhereWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => WorkspaceMemberUpdateManyWithWhereWithoutWorkspaceInput) + updateMany?: Array; - @Field(() => [WorkspaceMemberUpdateManyWithWhereWithoutWorkspaceInput], {nullable:true}) - @Type(() => WorkspaceMemberUpdateManyWithWhereWithoutWorkspaceInput) - updateMany?: Array; - - @Field(() => [WorkspaceMemberScalarWhereInput], {nullable:true}) - @Type(() => WorkspaceMemberScalarWhereInput) - deleteMany?: Array; + @Field(() => [WorkspaceMemberScalarWhereInput], { nullable: true }) + @Type(() => WorkspaceMemberScalarWhereInput) + deleteMany?: Array; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-update-one-without-user-nested.input.ts b/server/src/api/@generated/workspace-member/workspace-member-update-one-without-user-nested.input.ts index 0b2ff52fca..02e6ef1cd3 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-update-one-without-user-nested.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-update-one-without-user-nested.input.ts @@ -9,30 +9,31 @@ import { WorkspaceMemberUpdateWithoutUserInput } from './workspace-member-update @InputType() export class WorkspaceMemberUpdateOneWithoutUserNestedInput { + @Field(() => WorkspaceMemberCreateWithoutUserInput, { nullable: true }) + @Type(() => WorkspaceMemberCreateWithoutUserInput) + create?: WorkspaceMemberCreateWithoutUserInput; - @Field(() => WorkspaceMemberCreateWithoutUserInput, {nullable:true}) - @Type(() => WorkspaceMemberCreateWithoutUserInput) - create?: WorkspaceMemberCreateWithoutUserInput; + @Field(() => WorkspaceMemberCreateOrConnectWithoutUserInput, { + nullable: true, + }) + @Type(() => WorkspaceMemberCreateOrConnectWithoutUserInput) + connectOrCreate?: WorkspaceMemberCreateOrConnectWithoutUserInput; - @Field(() => WorkspaceMemberCreateOrConnectWithoutUserInput, {nullable:true}) - @Type(() => WorkspaceMemberCreateOrConnectWithoutUserInput) - connectOrCreate?: WorkspaceMemberCreateOrConnectWithoutUserInput; + @Field(() => WorkspaceMemberUpsertWithoutUserInput, { nullable: true }) + @Type(() => WorkspaceMemberUpsertWithoutUserInput) + upsert?: WorkspaceMemberUpsertWithoutUserInput; - @Field(() => WorkspaceMemberUpsertWithoutUserInput, {nullable:true}) - @Type(() => WorkspaceMemberUpsertWithoutUserInput) - upsert?: WorkspaceMemberUpsertWithoutUserInput; + @Field(() => Boolean, { nullable: true }) + disconnect?: boolean; - @Field(() => Boolean, {nullable:true}) - disconnect?: boolean; + @Field(() => Boolean, { nullable: true }) + delete?: boolean; - @Field(() => Boolean, {nullable:true}) - delete?: boolean; + @Field(() => WorkspaceMemberWhereUniqueInput, { nullable: true }) + @Type(() => WorkspaceMemberWhereUniqueInput) + connect?: WorkspaceMemberWhereUniqueInput; - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceMemberWhereUniqueInput) - connect?: WorkspaceMemberWhereUniqueInput; - - @Field(() => WorkspaceMemberUpdateWithoutUserInput, {nullable:true}) - @Type(() => WorkspaceMemberUpdateWithoutUserInput) - update?: WorkspaceMemberUpdateWithoutUserInput; + @Field(() => WorkspaceMemberUpdateWithoutUserInput, { nullable: true }) + @Type(() => WorkspaceMemberUpdateWithoutUserInput) + update?: WorkspaceMemberUpdateWithoutUserInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-update-with-where-unique-without-workspace.input.ts b/server/src/api/@generated/workspace-member/workspace-member-update-with-where-unique-without-workspace.input.ts index 1ff4f3e4b6..87036ff337 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-update-with-where-unique-without-workspace.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-update-with-where-unique-without-workspace.input.ts @@ -6,12 +6,11 @@ import { WorkspaceMemberUpdateWithoutWorkspaceInput } from './workspace-member-u @InputType() export class WorkspaceMemberUpdateWithWhereUniqueWithoutWorkspaceInput { + @Field(() => WorkspaceMemberWhereUniqueInput, { nullable: false }) + @Type(() => WorkspaceMemberWhereUniqueInput) + where!: WorkspaceMemberWhereUniqueInput; - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceMemberWhereUniqueInput) - where!: WorkspaceMemberWhereUniqueInput; - - @Field(() => WorkspaceMemberUpdateWithoutWorkspaceInput, {nullable:false}) - @Type(() => WorkspaceMemberUpdateWithoutWorkspaceInput) - data!: WorkspaceMemberUpdateWithoutWorkspaceInput; + @Field(() => WorkspaceMemberUpdateWithoutWorkspaceInput, { nullable: false }) + @Type(() => WorkspaceMemberUpdateWithoutWorkspaceInput) + data!: WorkspaceMemberUpdateWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-update-without-user.input.ts b/server/src/api/@generated/workspace-member/workspace-member-update-without-user.input.ts index 8c21c3ce82..40f51e018a 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-update-without-user.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-update-without-user.input.ts @@ -7,19 +7,20 @@ import { WorkspaceUpdateOneRequiredWithoutWorkspaceMemberNestedInput } from '../ @InputType() export class WorkspaceMemberUpdateWithoutUserInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => WorkspaceUpdateOneRequiredWithoutWorkspaceMemberNestedInput, {nullable:true}) - workspace?: WorkspaceUpdateOneRequiredWithoutWorkspaceMemberNestedInput; + @Field(() => WorkspaceUpdateOneRequiredWithoutWorkspaceMemberNestedInput, { + nullable: true, + }) + workspace?: WorkspaceUpdateOneRequiredWithoutWorkspaceMemberNestedInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-update-without-workspace.input.ts b/server/src/api/@generated/workspace-member/workspace-member-update-without-workspace.input.ts index 815cad2426..ca893ca366 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-update-without-workspace.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-update-without-workspace.input.ts @@ -7,19 +7,20 @@ import { UserUpdateOneRequiredWithoutWorkspaceMemberNestedInput } from '../user/ @InputType() export class WorkspaceMemberUpdateWithoutWorkspaceInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - - @Field(() => UserUpdateOneRequiredWithoutWorkspaceMemberNestedInput, {nullable:true}) - user?: UserUpdateOneRequiredWithoutWorkspaceMemberNestedInput; + @Field(() => UserUpdateOneRequiredWithoutWorkspaceMemberNestedInput, { + nullable: true, + }) + user?: UserUpdateOneRequiredWithoutWorkspaceMemberNestedInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-update.input.ts b/server/src/api/@generated/workspace-member/workspace-member-update.input.ts index 3dbbb44d12..e6ec2b48d8 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-update.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-update.input.ts @@ -8,22 +8,25 @@ import { WorkspaceUpdateOneRequiredWithoutWorkspaceMemberNestedInput } from '../ @InputType() export class WorkspaceMemberUpdateInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => UserUpdateOneRequiredWithoutWorkspaceMemberNestedInput, { + nullable: true, + }) + user?: UserUpdateOneRequiredWithoutWorkspaceMemberNestedInput; - @Field(() => UserUpdateOneRequiredWithoutWorkspaceMemberNestedInput, {nullable:true}) - user?: UserUpdateOneRequiredWithoutWorkspaceMemberNestedInput; - - @Field(() => WorkspaceUpdateOneRequiredWithoutWorkspaceMemberNestedInput, {nullable:true}) - workspace?: WorkspaceUpdateOneRequiredWithoutWorkspaceMemberNestedInput; + @Field(() => WorkspaceUpdateOneRequiredWithoutWorkspaceMemberNestedInput, { + nullable: true, + }) + workspace?: WorkspaceUpdateOneRequiredWithoutWorkspaceMemberNestedInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-upsert-with-where-unique-without-workspace.input.ts b/server/src/api/@generated/workspace-member/workspace-member-upsert-with-where-unique-without-workspace.input.ts index b4a1241fa8..736368a3e8 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-upsert-with-where-unique-without-workspace.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-upsert-with-where-unique-without-workspace.input.ts @@ -7,16 +7,15 @@ import { WorkspaceMemberCreateWithoutWorkspaceInput } from './workspace-member-c @InputType() export class WorkspaceMemberUpsertWithWhereUniqueWithoutWorkspaceInput { + @Field(() => WorkspaceMemberWhereUniqueInput, { nullable: false }) + @Type(() => WorkspaceMemberWhereUniqueInput) + where!: WorkspaceMemberWhereUniqueInput; - @Field(() => WorkspaceMemberWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceMemberWhereUniqueInput) - where!: WorkspaceMemberWhereUniqueInput; + @Field(() => WorkspaceMemberUpdateWithoutWorkspaceInput, { nullable: false }) + @Type(() => WorkspaceMemberUpdateWithoutWorkspaceInput) + update!: WorkspaceMemberUpdateWithoutWorkspaceInput; - @Field(() => WorkspaceMemberUpdateWithoutWorkspaceInput, {nullable:false}) - @Type(() => WorkspaceMemberUpdateWithoutWorkspaceInput) - update!: WorkspaceMemberUpdateWithoutWorkspaceInput; - - @Field(() => WorkspaceMemberCreateWithoutWorkspaceInput, {nullable:false}) - @Type(() => WorkspaceMemberCreateWithoutWorkspaceInput) - create!: WorkspaceMemberCreateWithoutWorkspaceInput; + @Field(() => WorkspaceMemberCreateWithoutWorkspaceInput, { nullable: false }) + @Type(() => WorkspaceMemberCreateWithoutWorkspaceInput) + create!: WorkspaceMemberCreateWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-upsert-without-user.input.ts b/server/src/api/@generated/workspace-member/workspace-member-upsert-without-user.input.ts index 0c1d6b322a..4a6f6baf9a 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-upsert-without-user.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-upsert-without-user.input.ts @@ -6,12 +6,11 @@ import { WorkspaceMemberCreateWithoutUserInput } from './workspace-member-create @InputType() export class WorkspaceMemberUpsertWithoutUserInput { + @Field(() => WorkspaceMemberUpdateWithoutUserInput, { nullable: false }) + @Type(() => WorkspaceMemberUpdateWithoutUserInput) + update!: WorkspaceMemberUpdateWithoutUserInput; - @Field(() => WorkspaceMemberUpdateWithoutUserInput, {nullable:false}) - @Type(() => WorkspaceMemberUpdateWithoutUserInput) - update!: WorkspaceMemberUpdateWithoutUserInput; - - @Field(() => WorkspaceMemberCreateWithoutUserInput, {nullable:false}) - @Type(() => WorkspaceMemberCreateWithoutUserInput) - create!: WorkspaceMemberCreateWithoutUserInput; + @Field(() => WorkspaceMemberCreateWithoutUserInput, { nullable: false }) + @Type(() => WorkspaceMemberCreateWithoutUserInput) + create!: WorkspaceMemberCreateWithoutUserInput; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-where-unique.input.ts b/server/src/api/@generated/workspace-member/workspace-member-where-unique.input.ts index 15a39929fa..ac764354f4 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-where-unique.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-where-unique.input.ts @@ -3,10 +3,9 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class WorkspaceMemberWhereUniqueInput { + @Field(() => String, { nullable: true }) + id?: string; - @Field(() => String, {nullable:true}) - id?: string; - - @Field(() => String, {nullable:true}) - userId?: string; + @Field(() => String, { nullable: true }) + userId?: string; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-where.input.ts b/server/src/api/@generated/workspace-member/workspace-member-where.input.ts index 84a92bcf03..9a83387a89 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-where.input.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-where.input.ts @@ -8,37 +8,36 @@ import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter. @InputType() export class WorkspaceMemberWhereInput { + @Field(() => [WorkspaceMemberWhereInput], { nullable: true }) + AND?: Array; - @Field(() => [WorkspaceMemberWhereInput], {nullable:true}) - AND?: Array; + @Field(() => [WorkspaceMemberWhereInput], { nullable: true }) + OR?: Array; - @Field(() => [WorkspaceMemberWhereInput], {nullable:true}) - OR?: Array; + @Field(() => [WorkspaceMemberWhereInput], { nullable: true }) + NOT?: Array; - @Field(() => [WorkspaceMemberWhereInput], {nullable:true}) - NOT?: Array; + @Field(() => StringFilter, { nullable: true }) + id?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; + @Field(() => DateTimeFilter, { nullable: true }) + createdAt?: DateTimeFilter; - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; + @Field(() => DateTimeFilter, { nullable: true }) + updatedAt?: DateTimeFilter; - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; + @Field(() => DateTimeNullableFilter, { nullable: true }) + deletedAt?: DateTimeNullableFilter; - @Field(() => DateTimeNullableFilter, {nullable:true}) - deletedAt?: DateTimeNullableFilter; + @Field(() => StringFilter, { nullable: true }) + userId?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - userId?: StringFilter; + @Field(() => StringFilter, { nullable: true }) + workspaceId?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - workspaceId?: StringFilter; + @Field(() => UserRelationFilter, { nullable: true }) + user?: UserRelationFilter; - @Field(() => UserRelationFilter, {nullable:true}) - user?: UserRelationFilter; - - @Field(() => WorkspaceRelationFilter, {nullable:true}) - workspace?: WorkspaceRelationFilter; + @Field(() => WorkspaceRelationFilter, { nullable: true }) + workspace?: WorkspaceRelationFilter; } diff --git a/server/src/api/@generated/workspace-member/workspace-member.model.ts b/server/src/api/@generated/workspace-member/workspace-member.model.ts index 90e98bb3d0..47a4aff492 100644 --- a/server/src/api/@generated/workspace-member/workspace-member.model.ts +++ b/server/src/api/@generated/workspace-member/workspace-member.model.ts @@ -6,28 +6,27 @@ import { Workspace } from '../workspace/workspace.model'; @ObjectType() export class WorkspaceMember { + @Field(() => ID, { nullable: false }) + id!: string; - @Field(() => ID, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: false }) + createdAt!: Date; - @Field(() => Date, {nullable:false}) - createdAt!: Date; + @Field(() => Date, { nullable: false }) + updatedAt!: Date; - @Field(() => Date, {nullable:false}) - updatedAt!: Date; + @Field(() => Date, { nullable: true }) + deletedAt!: Date | null; - @Field(() => Date, {nullable:true}) - deletedAt!: Date | null; + @Field(() => String, { nullable: false }) + userId!: string; - @Field(() => String, {nullable:false}) - userId!: string; + @Field(() => String, { nullable: false }) + workspaceId!: string; - @Field(() => String, {nullable:false}) - workspaceId!: string; + @Field(() => User, { nullable: false }) + user?: User; - @Field(() => User, {nullable:false}) - user?: User; - - @Field(() => Workspace, {nullable:false}) - workspace?: Workspace; + @Field(() => Workspace, { nullable: false }) + workspace?: Workspace; } diff --git a/server/src/api/@generated/workspace/aggregate-workspace.output.ts b/server/src/api/@generated/workspace/aggregate-workspace.output.ts index 52f73f4f0a..d0aaaca1d9 100644 --- a/server/src/api/@generated/workspace/aggregate-workspace.output.ts +++ b/server/src/api/@generated/workspace/aggregate-workspace.output.ts @@ -6,13 +6,12 @@ import { WorkspaceMaxAggregate } from './workspace-max-aggregate.output'; @ObjectType() export class AggregateWorkspace { + @Field(() => WorkspaceCountAggregate, { nullable: true }) + _count?: WorkspaceCountAggregate; - @Field(() => WorkspaceCountAggregate, {nullable:true}) - _count?: WorkspaceCountAggregate; + @Field(() => WorkspaceMinAggregate, { nullable: true }) + _min?: WorkspaceMinAggregate; - @Field(() => WorkspaceMinAggregate, {nullable:true}) - _min?: WorkspaceMinAggregate; - - @Field(() => WorkspaceMaxAggregate, {nullable:true}) - _max?: WorkspaceMaxAggregate; + @Field(() => WorkspaceMaxAggregate, { nullable: true }) + _max?: WorkspaceMaxAggregate; } diff --git a/server/src/api/@generated/workspace/create-many-workspace.args.ts b/server/src/api/@generated/workspace/create-many-workspace.args.ts index 34997578e1..0f8f7bd83b 100644 --- a/server/src/api/@generated/workspace/create-many-workspace.args.ts +++ b/server/src/api/@generated/workspace/create-many-workspace.args.ts @@ -5,11 +5,10 @@ import { Type } from 'class-transformer'; @ArgsType() export class CreateManyWorkspaceArgs { + @Field(() => [WorkspaceCreateManyInput], { nullable: false }) + @Type(() => WorkspaceCreateManyInput) + data!: Array; - @Field(() => [WorkspaceCreateManyInput], {nullable:false}) - @Type(() => WorkspaceCreateManyInput) - data!: Array; - - @Field(() => Boolean, {nullable:true}) - skipDuplicates?: boolean; + @Field(() => Boolean, { nullable: true }) + skipDuplicates?: boolean; } diff --git a/server/src/api/@generated/workspace/create-one-workspace.args.ts b/server/src/api/@generated/workspace/create-one-workspace.args.ts index 21d295664c..b6e5361bcb 100644 --- a/server/src/api/@generated/workspace/create-one-workspace.args.ts +++ b/server/src/api/@generated/workspace/create-one-workspace.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class CreateOneWorkspaceArgs { - - @Field(() => WorkspaceCreateInput, {nullable:false}) - @Type(() => WorkspaceCreateInput) - data!: WorkspaceCreateInput; + @Field(() => WorkspaceCreateInput, { nullable: false }) + @Type(() => WorkspaceCreateInput) + data!: WorkspaceCreateInput; } diff --git a/server/src/api/@generated/workspace/delete-many-workspace.args.ts b/server/src/api/@generated/workspace/delete-many-workspace.args.ts index 0f7301ba26..99910413e2 100644 --- a/server/src/api/@generated/workspace/delete-many-workspace.args.ts +++ b/server/src/api/@generated/workspace/delete-many-workspace.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class DeleteManyWorkspaceArgs { - - @Field(() => WorkspaceWhereInput, {nullable:true}) - @Type(() => WorkspaceWhereInput) - where?: WorkspaceWhereInput; + @Field(() => WorkspaceWhereInput, { nullable: true }) + @Type(() => WorkspaceWhereInput) + where?: WorkspaceWhereInput; } diff --git a/server/src/api/@generated/workspace/delete-one-workspace.args.ts b/server/src/api/@generated/workspace/delete-one-workspace.args.ts index c7c282122f..5a11e48057 100644 --- a/server/src/api/@generated/workspace/delete-one-workspace.args.ts +++ b/server/src/api/@generated/workspace/delete-one-workspace.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class DeleteOneWorkspaceArgs { - - @Field(() => WorkspaceWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceWhereUniqueInput) - where!: WorkspaceWhereUniqueInput; + @Field(() => WorkspaceWhereUniqueInput, { nullable: false }) + @Type(() => WorkspaceWhereUniqueInput) + where!: WorkspaceWhereUniqueInput; } diff --git a/server/src/api/@generated/workspace/find-first-workspace-or-throw.args.ts b/server/src/api/@generated/workspace/find-first-workspace-or-throw.args.ts index e028eacc7b..6a3f9dfd2e 100644 --- a/server/src/api/@generated/workspace/find-first-workspace-or-throw.args.ts +++ b/server/src/api/@generated/workspace/find-first-workspace-or-throw.args.ts @@ -9,23 +9,22 @@ import { WorkspaceScalarFieldEnum } from './workspace-scalar-field.enum'; @ArgsType() export class FindFirstWorkspaceOrThrowArgs { + @Field(() => WorkspaceWhereInput, { nullable: true }) + @Type(() => WorkspaceWhereInput) + where?: WorkspaceWhereInput; - @Field(() => WorkspaceWhereInput, {nullable:true}) - @Type(() => WorkspaceWhereInput) - where?: WorkspaceWhereInput; + @Field(() => [WorkspaceOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [WorkspaceOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; + @Field(() => WorkspaceWhereUniqueInput, { nullable: true }) + cursor?: WorkspaceWhereUniqueInput; - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - cursor?: WorkspaceWhereUniqueInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [WorkspaceScalarFieldEnum], {nullable:true}) - distinct?: Array; + @Field(() => [WorkspaceScalarFieldEnum], { nullable: true }) + distinct?: Array; } diff --git a/server/src/api/@generated/workspace/find-first-workspace.args.ts b/server/src/api/@generated/workspace/find-first-workspace.args.ts index 152415aeaf..d36c5aa047 100644 --- a/server/src/api/@generated/workspace/find-first-workspace.args.ts +++ b/server/src/api/@generated/workspace/find-first-workspace.args.ts @@ -9,23 +9,22 @@ import { WorkspaceScalarFieldEnum } from './workspace-scalar-field.enum'; @ArgsType() export class FindFirstWorkspaceArgs { + @Field(() => WorkspaceWhereInput, { nullable: true }) + @Type(() => WorkspaceWhereInput) + where?: WorkspaceWhereInput; - @Field(() => WorkspaceWhereInput, {nullable:true}) - @Type(() => WorkspaceWhereInput) - where?: WorkspaceWhereInput; + @Field(() => [WorkspaceOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [WorkspaceOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; + @Field(() => WorkspaceWhereUniqueInput, { nullable: true }) + cursor?: WorkspaceWhereUniqueInput; - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - cursor?: WorkspaceWhereUniqueInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [WorkspaceScalarFieldEnum], {nullable:true}) - distinct?: Array; + @Field(() => [WorkspaceScalarFieldEnum], { nullable: true }) + distinct?: Array; } diff --git a/server/src/api/@generated/workspace/find-many-workspace.args.ts b/server/src/api/@generated/workspace/find-many-workspace.args.ts index d727705493..8fd07824d9 100644 --- a/server/src/api/@generated/workspace/find-many-workspace.args.ts +++ b/server/src/api/@generated/workspace/find-many-workspace.args.ts @@ -9,23 +9,22 @@ import { WorkspaceScalarFieldEnum } from './workspace-scalar-field.enum'; @ArgsType() export class FindManyWorkspaceArgs { + @Field(() => WorkspaceWhereInput, { nullable: true }) + @Type(() => WorkspaceWhereInput) + where?: WorkspaceWhereInput; - @Field(() => WorkspaceWhereInput, {nullable:true}) - @Type(() => WorkspaceWhereInput) - where?: WorkspaceWhereInput; + @Field(() => [WorkspaceOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [WorkspaceOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; + @Field(() => WorkspaceWhereUniqueInput, { nullable: true }) + cursor?: WorkspaceWhereUniqueInput; - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - cursor?: WorkspaceWhereUniqueInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; - - @Field(() => [WorkspaceScalarFieldEnum], {nullable:true}) - distinct?: Array; + @Field(() => [WorkspaceScalarFieldEnum], { nullable: true }) + distinct?: Array; } diff --git a/server/src/api/@generated/workspace/find-unique-workspace-or-throw.args.ts b/server/src/api/@generated/workspace/find-unique-workspace-or-throw.args.ts index 3759362799..f388c775bb 100644 --- a/server/src/api/@generated/workspace/find-unique-workspace-or-throw.args.ts +++ b/server/src/api/@generated/workspace/find-unique-workspace-or-throw.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class FindUniqueWorkspaceOrThrowArgs { - - @Field(() => WorkspaceWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceWhereUniqueInput) - where!: WorkspaceWhereUniqueInput; + @Field(() => WorkspaceWhereUniqueInput, { nullable: false }) + @Type(() => WorkspaceWhereUniqueInput) + where!: WorkspaceWhereUniqueInput; } diff --git a/server/src/api/@generated/workspace/find-unique-workspace.args.ts b/server/src/api/@generated/workspace/find-unique-workspace.args.ts index bfd72938ae..866028c60e 100644 --- a/server/src/api/@generated/workspace/find-unique-workspace.args.ts +++ b/server/src/api/@generated/workspace/find-unique-workspace.args.ts @@ -5,8 +5,7 @@ import { Type } from 'class-transformer'; @ArgsType() export class FindUniqueWorkspaceArgs { - - @Field(() => WorkspaceWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceWhereUniqueInput) - where!: WorkspaceWhereUniqueInput; + @Field(() => WorkspaceWhereUniqueInput, { nullable: false }) + @Type(() => WorkspaceWhereUniqueInput) + where!: WorkspaceWhereUniqueInput; } diff --git a/server/src/api/@generated/workspace/update-many-workspace.args.ts b/server/src/api/@generated/workspace/update-many-workspace.args.ts index a8dd4fd855..730414ccab 100644 --- a/server/src/api/@generated/workspace/update-many-workspace.args.ts +++ b/server/src/api/@generated/workspace/update-many-workspace.args.ts @@ -6,12 +6,11 @@ import { WorkspaceWhereInput } from './workspace-where.input'; @ArgsType() export class UpdateManyWorkspaceArgs { + @Field(() => WorkspaceUpdateManyMutationInput, { nullable: false }) + @Type(() => WorkspaceUpdateManyMutationInput) + data!: WorkspaceUpdateManyMutationInput; - @Field(() => WorkspaceUpdateManyMutationInput, {nullable:false}) - @Type(() => WorkspaceUpdateManyMutationInput) - data!: WorkspaceUpdateManyMutationInput; - - @Field(() => WorkspaceWhereInput, {nullable:true}) - @Type(() => WorkspaceWhereInput) - where?: WorkspaceWhereInput; + @Field(() => WorkspaceWhereInput, { nullable: true }) + @Type(() => WorkspaceWhereInput) + where?: WorkspaceWhereInput; } diff --git a/server/src/api/@generated/workspace/update-one-workspace.args.ts b/server/src/api/@generated/workspace/update-one-workspace.args.ts index 7a3bc5591f..de163d5c28 100644 --- a/server/src/api/@generated/workspace/update-one-workspace.args.ts +++ b/server/src/api/@generated/workspace/update-one-workspace.args.ts @@ -6,12 +6,11 @@ import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; @ArgsType() export class UpdateOneWorkspaceArgs { + @Field(() => WorkspaceUpdateInput, { nullable: false }) + @Type(() => WorkspaceUpdateInput) + data!: WorkspaceUpdateInput; - @Field(() => WorkspaceUpdateInput, {nullable:false}) - @Type(() => WorkspaceUpdateInput) - data!: WorkspaceUpdateInput; - - @Field(() => WorkspaceWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceWhereUniqueInput) - where!: WorkspaceWhereUniqueInput; + @Field(() => WorkspaceWhereUniqueInput, { nullable: false }) + @Type(() => WorkspaceWhereUniqueInput) + where!: WorkspaceWhereUniqueInput; } diff --git a/server/src/api/@generated/workspace/upsert-one-workspace.args.ts b/server/src/api/@generated/workspace/upsert-one-workspace.args.ts index 3160cb3929..e39b429bfd 100644 --- a/server/src/api/@generated/workspace/upsert-one-workspace.args.ts +++ b/server/src/api/@generated/workspace/upsert-one-workspace.args.ts @@ -7,16 +7,15 @@ import { WorkspaceUpdateInput } from './workspace-update.input'; @ArgsType() export class UpsertOneWorkspaceArgs { + @Field(() => WorkspaceWhereUniqueInput, { nullable: false }) + @Type(() => WorkspaceWhereUniqueInput) + where!: WorkspaceWhereUniqueInput; - @Field(() => WorkspaceWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceWhereUniqueInput) - where!: WorkspaceWhereUniqueInput; + @Field(() => WorkspaceCreateInput, { nullable: false }) + @Type(() => WorkspaceCreateInput) + create!: WorkspaceCreateInput; - @Field(() => WorkspaceCreateInput, {nullable:false}) - @Type(() => WorkspaceCreateInput) - create!: WorkspaceCreateInput; - - @Field(() => WorkspaceUpdateInput, {nullable:false}) - @Type(() => WorkspaceUpdateInput) - update!: WorkspaceUpdateInput; + @Field(() => WorkspaceUpdateInput, { nullable: false }) + @Type(() => WorkspaceUpdateInput) + update!: WorkspaceUpdateInput; } diff --git a/server/src/api/@generated/workspace/workspace-aggregate.args.ts b/server/src/api/@generated/workspace/workspace-aggregate.args.ts index 59f6296a96..2b31858180 100644 --- a/server/src/api/@generated/workspace/workspace-aggregate.args.ts +++ b/server/src/api/@generated/workspace/workspace-aggregate.args.ts @@ -11,29 +11,28 @@ import { WorkspaceMaxAggregateInput } from './workspace-max-aggregate.input'; @ArgsType() export class WorkspaceAggregateArgs { + @Field(() => WorkspaceWhereInput, { nullable: true }) + @Type(() => WorkspaceWhereInput) + where?: WorkspaceWhereInput; - @Field(() => WorkspaceWhereInput, {nullable:true}) - @Type(() => WorkspaceWhereInput) - where?: WorkspaceWhereInput; + @Field(() => [WorkspaceOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [WorkspaceOrderByWithRelationInput], {nullable:true}) - orderBy?: Array; + @Field(() => WorkspaceWhereUniqueInput, { nullable: true }) + cursor?: WorkspaceWhereUniqueInput; - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - cursor?: WorkspaceWhereUniqueInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; + @Field(() => WorkspaceCountAggregateInput, { nullable: true }) + _count?: WorkspaceCountAggregateInput; - @Field(() => WorkspaceCountAggregateInput, {nullable:true}) - _count?: WorkspaceCountAggregateInput; + @Field(() => WorkspaceMinAggregateInput, { nullable: true }) + _min?: WorkspaceMinAggregateInput; - @Field(() => WorkspaceMinAggregateInput, {nullable:true}) - _min?: WorkspaceMinAggregateInput; - - @Field(() => WorkspaceMaxAggregateInput, {nullable:true}) - _max?: WorkspaceMaxAggregateInput; + @Field(() => WorkspaceMaxAggregateInput, { nullable: true }) + _max?: WorkspaceMaxAggregateInput; } diff --git a/server/src/api/@generated/workspace/workspace-count-aggregate.input.ts b/server/src/api/@generated/workspace/workspace-count-aggregate.input.ts index 515c56ef66..4e0b2a99f3 100644 --- a/server/src/api/@generated/workspace/workspace-count-aggregate.input.ts +++ b/server/src/api/@generated/workspace/workspace-count-aggregate.input.ts @@ -3,28 +3,27 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class WorkspaceCountAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; - @Field(() => Boolean, {nullable:true}) - id?: true; + @Field(() => Boolean, { nullable: true }) + createdAt?: true; - @Field(() => Boolean, {nullable:true}) - createdAt?: true; + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; - @Field(() => Boolean, {nullable:true}) - deletedAt?: true; + @Field(() => Boolean, { nullable: true }) + domainName?: true; - @Field(() => Boolean, {nullable:true}) - domainName?: true; + @Field(() => Boolean, { nullable: true }) + displayName?: true; - @Field(() => Boolean, {nullable:true}) - displayName?: true; + @Field(() => Boolean, { nullable: true }) + logo?: true; - @Field(() => Boolean, {nullable:true}) - logo?: true; - - @Field(() => Boolean, {nullable:true}) - _all?: true; + @Field(() => Boolean, { nullable: true }) + _all?: true; } diff --git a/server/src/api/@generated/workspace/workspace-count-aggregate.output.ts b/server/src/api/@generated/workspace/workspace-count-aggregate.output.ts index 973e6bee09..775de4a77a 100644 --- a/server/src/api/@generated/workspace/workspace-count-aggregate.output.ts +++ b/server/src/api/@generated/workspace/workspace-count-aggregate.output.ts @@ -4,28 +4,27 @@ import { Int } from '@nestjs/graphql'; @ObjectType() export class WorkspaceCountAggregate { + @Field(() => Int, { nullable: false }) + id!: number; - @Field(() => Int, {nullable:false}) - id!: number; + @Field(() => Int, { nullable: false }) + createdAt!: number; - @Field(() => Int, {nullable:false}) - createdAt!: number; + @Field(() => Int, { nullable: false }) + updatedAt!: number; - @Field(() => Int, {nullable:false}) - updatedAt!: number; + @Field(() => Int, { nullable: false }) + deletedAt!: number; - @Field(() => Int, {nullable:false}) - deletedAt!: number; + @Field(() => Int, { nullable: false }) + domainName!: number; - @Field(() => Int, {nullable:false}) - domainName!: number; + @Field(() => Int, { nullable: false }) + displayName!: number; - @Field(() => Int, {nullable:false}) - displayName!: number; + @Field(() => Int, { nullable: false }) + logo!: number; - @Field(() => Int, {nullable:false}) - logo!: number; - - @Field(() => Int, {nullable:false}) - _all!: number; + @Field(() => Int, { nullable: false }) + _all!: number; } diff --git a/server/src/api/@generated/workspace/workspace-count-order-by-aggregate.input.ts b/server/src/api/@generated/workspace/workspace-count-order-by-aggregate.input.ts index c8989bfdff..68f1144670 100644 --- a/server/src/api/@generated/workspace/workspace-count-order-by-aggregate.input.ts +++ b/server/src/api/@generated/workspace/workspace-count-order-by-aggregate.input.ts @@ -4,25 +4,24 @@ import { SortOrder } from '../prisma/sort-order.enum'; @InputType() export class WorkspaceCountOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + domainName?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - domainName?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + displayName?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - displayName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - logo?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + logo?: keyof typeof SortOrder; } diff --git a/server/src/api/@generated/workspace/workspace-count.output.ts b/server/src/api/@generated/workspace/workspace-count.output.ts index 45935c4349..3080082c11 100644 --- a/server/src/api/@generated/workspace/workspace-count.output.ts +++ b/server/src/api/@generated/workspace/workspace-count.output.ts @@ -4,13 +4,12 @@ import { Int } from '@nestjs/graphql'; @ObjectType() export class WorkspaceCount { + @Field(() => Int, { nullable: false }) + WorkspaceMember?: number; - @Field(() => Int, {nullable:false}) - WorkspaceMember?: number; + @Field(() => Int, { nullable: false }) + companies?: number; - @Field(() => Int, {nullable:false}) - companies?: number; - - @Field(() => Int, {nullable:false}) - people?: number; + @Field(() => Int, { nullable: false }) + people?: number; } diff --git a/server/src/api/@generated/workspace/workspace-create-many.input.ts b/server/src/api/@generated/workspace/workspace-create-many.input.ts index c754b79a78..fffb1b5727 100644 --- a/server/src/api/@generated/workspace/workspace-create-many.input.ts +++ b/server/src/api/@generated/workspace/workspace-create-many.input.ts @@ -3,25 +3,24 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class WorkspaceCreateManyInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + domainName!: string; - @Field(() => String, {nullable:false}) - domainName!: string; + @Field(() => String, { nullable: false }) + displayName!: string; - @Field(() => String, {nullable:false}) - displayName!: string; - - @Field(() => String, {nullable:true}) - logo?: string; + @Field(() => String, { nullable: true }) + logo?: string; } diff --git a/server/src/api/@generated/workspace/workspace-create-nested-one-without-companies.input.ts b/server/src/api/@generated/workspace/workspace-create-nested-one-without-companies.input.ts index 53728b01d1..fc286b7d77 100644 --- a/server/src/api/@generated/workspace/workspace-create-nested-one-without-companies.input.ts +++ b/server/src/api/@generated/workspace/workspace-create-nested-one-without-companies.input.ts @@ -7,16 +7,17 @@ import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; @InputType() export class WorkspaceCreateNestedOneWithoutCompaniesInput { + @Field(() => WorkspaceCreateWithoutCompaniesInput, { nullable: true }) + @Type(() => WorkspaceCreateWithoutCompaniesInput) + create?: WorkspaceCreateWithoutCompaniesInput; - @Field(() => WorkspaceCreateWithoutCompaniesInput, {nullable:true}) - @Type(() => WorkspaceCreateWithoutCompaniesInput) - create?: WorkspaceCreateWithoutCompaniesInput; + @Field(() => WorkspaceCreateOrConnectWithoutCompaniesInput, { + nullable: true, + }) + @Type(() => WorkspaceCreateOrConnectWithoutCompaniesInput) + connectOrCreate?: WorkspaceCreateOrConnectWithoutCompaniesInput; - @Field(() => WorkspaceCreateOrConnectWithoutCompaniesInput, {nullable:true}) - @Type(() => WorkspaceCreateOrConnectWithoutCompaniesInput) - connectOrCreate?: WorkspaceCreateOrConnectWithoutCompaniesInput; - - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceWhereUniqueInput) - connect?: WorkspaceWhereUniqueInput; + @Field(() => WorkspaceWhereUniqueInput, { nullable: true }) + @Type(() => WorkspaceWhereUniqueInput) + connect?: WorkspaceWhereUniqueInput; } diff --git a/server/src/api/@generated/workspace/workspace-create-nested-one-without-people.input.ts b/server/src/api/@generated/workspace/workspace-create-nested-one-without-people.input.ts index f788d2d00c..90e8ba5771 100644 --- a/server/src/api/@generated/workspace/workspace-create-nested-one-without-people.input.ts +++ b/server/src/api/@generated/workspace/workspace-create-nested-one-without-people.input.ts @@ -7,16 +7,15 @@ import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; @InputType() export class WorkspaceCreateNestedOneWithoutPeopleInput { + @Field(() => WorkspaceCreateWithoutPeopleInput, { nullable: true }) + @Type(() => WorkspaceCreateWithoutPeopleInput) + create?: WorkspaceCreateWithoutPeopleInput; - @Field(() => WorkspaceCreateWithoutPeopleInput, {nullable:true}) - @Type(() => WorkspaceCreateWithoutPeopleInput) - create?: WorkspaceCreateWithoutPeopleInput; + @Field(() => WorkspaceCreateOrConnectWithoutPeopleInput, { nullable: true }) + @Type(() => WorkspaceCreateOrConnectWithoutPeopleInput) + connectOrCreate?: WorkspaceCreateOrConnectWithoutPeopleInput; - @Field(() => WorkspaceCreateOrConnectWithoutPeopleInput, {nullable:true}) - @Type(() => WorkspaceCreateOrConnectWithoutPeopleInput) - connectOrCreate?: WorkspaceCreateOrConnectWithoutPeopleInput; - - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceWhereUniqueInput) - connect?: WorkspaceWhereUniqueInput; + @Field(() => WorkspaceWhereUniqueInput, { nullable: true }) + @Type(() => WorkspaceWhereUniqueInput) + connect?: WorkspaceWhereUniqueInput; } diff --git a/server/src/api/@generated/workspace/workspace-create-nested-one-without-workspace-member.input.ts b/server/src/api/@generated/workspace/workspace-create-nested-one-without-workspace-member.input.ts index 7a15dffa32..5267f67f06 100644 --- a/server/src/api/@generated/workspace/workspace-create-nested-one-without-workspace-member.input.ts +++ b/server/src/api/@generated/workspace/workspace-create-nested-one-without-workspace-member.input.ts @@ -7,16 +7,17 @@ import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; @InputType() export class WorkspaceCreateNestedOneWithoutWorkspaceMemberInput { + @Field(() => WorkspaceCreateWithoutWorkspaceMemberInput, { nullable: true }) + @Type(() => WorkspaceCreateWithoutWorkspaceMemberInput) + create?: WorkspaceCreateWithoutWorkspaceMemberInput; - @Field(() => WorkspaceCreateWithoutWorkspaceMemberInput, {nullable:true}) - @Type(() => WorkspaceCreateWithoutWorkspaceMemberInput) - create?: WorkspaceCreateWithoutWorkspaceMemberInput; + @Field(() => WorkspaceCreateOrConnectWithoutWorkspaceMemberInput, { + nullable: true, + }) + @Type(() => WorkspaceCreateOrConnectWithoutWorkspaceMemberInput) + connectOrCreate?: WorkspaceCreateOrConnectWithoutWorkspaceMemberInput; - @Field(() => WorkspaceCreateOrConnectWithoutWorkspaceMemberInput, {nullable:true}) - @Type(() => WorkspaceCreateOrConnectWithoutWorkspaceMemberInput) - connectOrCreate?: WorkspaceCreateOrConnectWithoutWorkspaceMemberInput; - - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceWhereUniqueInput) - connect?: WorkspaceWhereUniqueInput; + @Field(() => WorkspaceWhereUniqueInput, { nullable: true }) + @Type(() => WorkspaceWhereUniqueInput) + connect?: WorkspaceWhereUniqueInput; } diff --git a/server/src/api/@generated/workspace/workspace-create-or-connect-without-companies.input.ts b/server/src/api/@generated/workspace/workspace-create-or-connect-without-companies.input.ts index f3a02a38c4..f9ea2f76e4 100644 --- a/server/src/api/@generated/workspace/workspace-create-or-connect-without-companies.input.ts +++ b/server/src/api/@generated/workspace/workspace-create-or-connect-without-companies.input.ts @@ -6,12 +6,11 @@ import { WorkspaceCreateWithoutCompaniesInput } from './workspace-create-without @InputType() export class WorkspaceCreateOrConnectWithoutCompaniesInput { + @Field(() => WorkspaceWhereUniqueInput, { nullable: false }) + @Type(() => WorkspaceWhereUniqueInput) + where!: WorkspaceWhereUniqueInput; - @Field(() => WorkspaceWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceWhereUniqueInput) - where!: WorkspaceWhereUniqueInput; - - @Field(() => WorkspaceCreateWithoutCompaniesInput, {nullable:false}) - @Type(() => WorkspaceCreateWithoutCompaniesInput) - create!: WorkspaceCreateWithoutCompaniesInput; + @Field(() => WorkspaceCreateWithoutCompaniesInput, { nullable: false }) + @Type(() => WorkspaceCreateWithoutCompaniesInput) + create!: WorkspaceCreateWithoutCompaniesInput; } diff --git a/server/src/api/@generated/workspace/workspace-create-or-connect-without-people.input.ts b/server/src/api/@generated/workspace/workspace-create-or-connect-without-people.input.ts index acc47e4386..3412476b12 100644 --- a/server/src/api/@generated/workspace/workspace-create-or-connect-without-people.input.ts +++ b/server/src/api/@generated/workspace/workspace-create-or-connect-without-people.input.ts @@ -6,12 +6,11 @@ import { WorkspaceCreateWithoutPeopleInput } from './workspace-create-without-pe @InputType() export class WorkspaceCreateOrConnectWithoutPeopleInput { + @Field(() => WorkspaceWhereUniqueInput, { nullable: false }) + @Type(() => WorkspaceWhereUniqueInput) + where!: WorkspaceWhereUniqueInput; - @Field(() => WorkspaceWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceWhereUniqueInput) - where!: WorkspaceWhereUniqueInput; - - @Field(() => WorkspaceCreateWithoutPeopleInput, {nullable:false}) - @Type(() => WorkspaceCreateWithoutPeopleInput) - create!: WorkspaceCreateWithoutPeopleInput; + @Field(() => WorkspaceCreateWithoutPeopleInput, { nullable: false }) + @Type(() => WorkspaceCreateWithoutPeopleInput) + create!: WorkspaceCreateWithoutPeopleInput; } diff --git a/server/src/api/@generated/workspace/workspace-create-or-connect-without-workspace-member.input.ts b/server/src/api/@generated/workspace/workspace-create-or-connect-without-workspace-member.input.ts index 08d5f5cc60..e2dcb0cee2 100644 --- a/server/src/api/@generated/workspace/workspace-create-or-connect-without-workspace-member.input.ts +++ b/server/src/api/@generated/workspace/workspace-create-or-connect-without-workspace-member.input.ts @@ -6,12 +6,11 @@ import { WorkspaceCreateWithoutWorkspaceMemberInput } from './workspace-create-w @InputType() export class WorkspaceCreateOrConnectWithoutWorkspaceMemberInput { + @Field(() => WorkspaceWhereUniqueInput, { nullable: false }) + @Type(() => WorkspaceWhereUniqueInput) + where!: WorkspaceWhereUniqueInput; - @Field(() => WorkspaceWhereUniqueInput, {nullable:false}) - @Type(() => WorkspaceWhereUniqueInput) - where!: WorkspaceWhereUniqueInput; - - @Field(() => WorkspaceCreateWithoutWorkspaceMemberInput, {nullable:false}) - @Type(() => WorkspaceCreateWithoutWorkspaceMemberInput) - create!: WorkspaceCreateWithoutWorkspaceMemberInput; + @Field(() => WorkspaceCreateWithoutWorkspaceMemberInput, { nullable: false }) + @Type(() => WorkspaceCreateWithoutWorkspaceMemberInput) + create!: WorkspaceCreateWithoutWorkspaceMemberInput; } diff --git a/server/src/api/@generated/workspace/workspace-create-without-companies.input.ts b/server/src/api/@generated/workspace/workspace-create-without-companies.input.ts index cc0f0a35b6..075161c708 100644 --- a/server/src/api/@generated/workspace/workspace-create-without-companies.input.ts +++ b/server/src/api/@generated/workspace/workspace-create-without-companies.input.ts @@ -5,31 +5,32 @@ import { PersonCreateNestedManyWithoutWorkspaceInput } from '../person/person-cr @InputType() export class WorkspaceCreateWithoutCompaniesInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + domainName!: string; - @Field(() => String, {nullable:false}) - domainName!: string; + @Field(() => String, { nullable: false }) + displayName!: string; - @Field(() => String, {nullable:false}) - displayName!: string; + @Field(() => String, { nullable: true }) + logo?: string; - @Field(() => String, {nullable:true}) - logo?: string; + @Field(() => WorkspaceMemberCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + WorkspaceMember?: WorkspaceMemberCreateNestedManyWithoutWorkspaceInput; - @Field(() => WorkspaceMemberCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PersonCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - people?: PersonCreateNestedManyWithoutWorkspaceInput; + @Field(() => PersonCreateNestedManyWithoutWorkspaceInput, { nullable: true }) + people?: PersonCreateNestedManyWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/workspace/workspace-create-without-people.input.ts b/server/src/api/@generated/workspace/workspace-create-without-people.input.ts index e6f673861c..a2268f8b70 100644 --- a/server/src/api/@generated/workspace/workspace-create-without-people.input.ts +++ b/server/src/api/@generated/workspace/workspace-create-without-people.input.ts @@ -5,31 +5,32 @@ import { CompanyCreateNestedManyWithoutWorkspaceInput } from '../company/company @InputType() export class WorkspaceCreateWithoutPeopleInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + domainName!: string; - @Field(() => String, {nullable:false}) - domainName!: string; + @Field(() => String, { nullable: false }) + displayName!: string; - @Field(() => String, {nullable:false}) - displayName!: string; + @Field(() => String, { nullable: true }) + logo?: string; - @Field(() => String, {nullable:true}) - logo?: string; + @Field(() => WorkspaceMemberCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + WorkspaceMember?: WorkspaceMemberCreateNestedManyWithoutWorkspaceInput; - @Field(() => WorkspaceMemberCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberCreateNestedManyWithoutWorkspaceInput; - - @Field(() => CompanyCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - companies?: CompanyCreateNestedManyWithoutWorkspaceInput; + @Field(() => CompanyCreateNestedManyWithoutWorkspaceInput, { nullable: true }) + companies?: CompanyCreateNestedManyWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/workspace/workspace-create-without-workspace-member.input.ts b/server/src/api/@generated/workspace/workspace-create-without-workspace-member.input.ts index 5886532100..be5c1194c3 100644 --- a/server/src/api/@generated/workspace/workspace-create-without-workspace-member.input.ts +++ b/server/src/api/@generated/workspace/workspace-create-without-workspace-member.input.ts @@ -5,31 +5,30 @@ import { PersonCreateNestedManyWithoutWorkspaceInput } from '../person/person-cr @InputType() export class WorkspaceCreateWithoutWorkspaceMemberInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + domainName!: string; - @Field(() => String, {nullable:false}) - domainName!: string; + @Field(() => String, { nullable: false }) + displayName!: string; - @Field(() => String, {nullable:false}) - displayName!: string; + @Field(() => String, { nullable: true }) + logo?: string; - @Field(() => String, {nullable:true}) - logo?: string; + @Field(() => CompanyCreateNestedManyWithoutWorkspaceInput, { nullable: true }) + companies?: CompanyCreateNestedManyWithoutWorkspaceInput; - @Field(() => CompanyCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - companies?: CompanyCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PersonCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - people?: PersonCreateNestedManyWithoutWorkspaceInput; + @Field(() => PersonCreateNestedManyWithoutWorkspaceInput, { nullable: true }) + people?: PersonCreateNestedManyWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/workspace/workspace-create.input.ts b/server/src/api/@generated/workspace/workspace-create.input.ts index 3523d35e28..426d15cf07 100644 --- a/server/src/api/@generated/workspace/workspace-create.input.ts +++ b/server/src/api/@generated/workspace/workspace-create.input.ts @@ -6,34 +6,35 @@ import { PersonCreateNestedManyWithoutWorkspaceInput } from '../person/person-cr @InputType() export class WorkspaceCreateInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + domainName!: string; - @Field(() => String, {nullable:false}) - domainName!: string; + @Field(() => String, { nullable: false }) + displayName!: string; - @Field(() => String, {nullable:false}) - displayName!: string; + @Field(() => String, { nullable: true }) + logo?: string; - @Field(() => String, {nullable:true}) - logo?: string; + @Field(() => WorkspaceMemberCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + WorkspaceMember?: WorkspaceMemberCreateNestedManyWithoutWorkspaceInput; - @Field(() => WorkspaceMemberCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberCreateNestedManyWithoutWorkspaceInput; + @Field(() => CompanyCreateNestedManyWithoutWorkspaceInput, { nullable: true }) + companies?: CompanyCreateNestedManyWithoutWorkspaceInput; - @Field(() => CompanyCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - companies?: CompanyCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PersonCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - people?: PersonCreateNestedManyWithoutWorkspaceInput; + @Field(() => PersonCreateNestedManyWithoutWorkspaceInput, { nullable: true }) + people?: PersonCreateNestedManyWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/workspace/workspace-group-by.args.ts b/server/src/api/@generated/workspace/workspace-group-by.args.ts index a84f069804..eb043aa838 100644 --- a/server/src/api/@generated/workspace/workspace-group-by.args.ts +++ b/server/src/api/@generated/workspace/workspace-group-by.args.ts @@ -12,32 +12,31 @@ import { WorkspaceMaxAggregateInput } from './workspace-max-aggregate.input'; @ArgsType() export class WorkspaceGroupByArgs { + @Field(() => WorkspaceWhereInput, { nullable: true }) + @Type(() => WorkspaceWhereInput) + where?: WorkspaceWhereInput; - @Field(() => WorkspaceWhereInput, {nullable:true}) - @Type(() => WorkspaceWhereInput) - where?: WorkspaceWhereInput; + @Field(() => [WorkspaceOrderByWithAggregationInput], { nullable: true }) + orderBy?: Array; - @Field(() => [WorkspaceOrderByWithAggregationInput], {nullable:true}) - orderBy?: Array; + @Field(() => [WorkspaceScalarFieldEnum], { nullable: false }) + by!: Array; - @Field(() => [WorkspaceScalarFieldEnum], {nullable:false}) - by!: Array; + @Field(() => WorkspaceScalarWhereWithAggregatesInput, { nullable: true }) + having?: WorkspaceScalarWhereWithAggregatesInput; - @Field(() => WorkspaceScalarWhereWithAggregatesInput, {nullable:true}) - having?: WorkspaceScalarWhereWithAggregatesInput; + @Field(() => Int, { nullable: true }) + take?: number; - @Field(() => Int, {nullable:true}) - take?: number; + @Field(() => Int, { nullable: true }) + skip?: number; - @Field(() => Int, {nullable:true}) - skip?: number; + @Field(() => WorkspaceCountAggregateInput, { nullable: true }) + _count?: WorkspaceCountAggregateInput; - @Field(() => WorkspaceCountAggregateInput, {nullable:true}) - _count?: WorkspaceCountAggregateInput; + @Field(() => WorkspaceMinAggregateInput, { nullable: true }) + _min?: WorkspaceMinAggregateInput; - @Field(() => WorkspaceMinAggregateInput, {nullable:true}) - _min?: WorkspaceMinAggregateInput; - - @Field(() => WorkspaceMaxAggregateInput, {nullable:true}) - _max?: WorkspaceMaxAggregateInput; + @Field(() => WorkspaceMaxAggregateInput, { nullable: true }) + _max?: WorkspaceMaxAggregateInput; } diff --git a/server/src/api/@generated/workspace/workspace-group-by.output.ts b/server/src/api/@generated/workspace/workspace-group-by.output.ts index 3714134416..0c3f0ef0d8 100644 --- a/server/src/api/@generated/workspace/workspace-group-by.output.ts +++ b/server/src/api/@generated/workspace/workspace-group-by.output.ts @@ -6,34 +6,33 @@ import { WorkspaceMaxAggregate } from './workspace-max-aggregate.output'; @ObjectType() export class WorkspaceGroupBy { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: false }) + createdAt!: Date | string; - @Field(() => Date, {nullable:false}) - createdAt!: Date | string; + @Field(() => Date, { nullable: false }) + updatedAt!: Date | string; - @Field(() => Date, {nullable:false}) - updatedAt!: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + domainName!: string; - @Field(() => String, {nullable:false}) - domainName!: string; + @Field(() => String, { nullable: false }) + displayName!: string; - @Field(() => String, {nullable:false}) - displayName!: string; + @Field(() => String, { nullable: true }) + logo?: string; - @Field(() => String, {nullable:true}) - logo?: string; + @Field(() => WorkspaceCountAggregate, { nullable: true }) + _count?: WorkspaceCountAggregate; - @Field(() => WorkspaceCountAggregate, {nullable:true}) - _count?: WorkspaceCountAggregate; + @Field(() => WorkspaceMinAggregate, { nullable: true }) + _min?: WorkspaceMinAggregate; - @Field(() => WorkspaceMinAggregate, {nullable:true}) - _min?: WorkspaceMinAggregate; - - @Field(() => WorkspaceMaxAggregate, {nullable:true}) - _max?: WorkspaceMaxAggregate; + @Field(() => WorkspaceMaxAggregate, { nullable: true }) + _max?: WorkspaceMaxAggregate; } diff --git a/server/src/api/@generated/workspace/workspace-max-aggregate.input.ts b/server/src/api/@generated/workspace/workspace-max-aggregate.input.ts index ea8d0ab832..84f2db8c7e 100644 --- a/server/src/api/@generated/workspace/workspace-max-aggregate.input.ts +++ b/server/src/api/@generated/workspace/workspace-max-aggregate.input.ts @@ -3,25 +3,24 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class WorkspaceMaxAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; - @Field(() => Boolean, {nullable:true}) - id?: true; + @Field(() => Boolean, { nullable: true }) + createdAt?: true; - @Field(() => Boolean, {nullable:true}) - createdAt?: true; + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; - @Field(() => Boolean, {nullable:true}) - deletedAt?: true; + @Field(() => Boolean, { nullable: true }) + domainName?: true; - @Field(() => Boolean, {nullable:true}) - domainName?: true; + @Field(() => Boolean, { nullable: true }) + displayName?: true; - @Field(() => Boolean, {nullable:true}) - displayName?: true; - - @Field(() => Boolean, {nullable:true}) - logo?: true; + @Field(() => Boolean, { nullable: true }) + logo?: true; } diff --git a/server/src/api/@generated/workspace/workspace-max-aggregate.output.ts b/server/src/api/@generated/workspace/workspace-max-aggregate.output.ts index 159373eb3a..b925685bba 100644 --- a/server/src/api/@generated/workspace/workspace-max-aggregate.output.ts +++ b/server/src/api/@generated/workspace/workspace-max-aggregate.output.ts @@ -3,25 +3,24 @@ import { ObjectType } from '@nestjs/graphql'; @ObjectType() export class WorkspaceMaxAggregate { + @Field(() => String, { nullable: true }) + id?: string; - @Field(() => String, {nullable:true}) - id?: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: true }) + domainName?: string; - @Field(() => String, {nullable:true}) - domainName?: string; + @Field(() => String, { nullable: true }) + displayName?: string; - @Field(() => String, {nullable:true}) - displayName?: string; - - @Field(() => String, {nullable:true}) - logo?: string; + @Field(() => String, { nullable: true }) + logo?: string; } diff --git a/server/src/api/@generated/workspace/workspace-max-order-by-aggregate.input.ts b/server/src/api/@generated/workspace/workspace-max-order-by-aggregate.input.ts index 037f7eb919..4f72775f01 100644 --- a/server/src/api/@generated/workspace/workspace-max-order-by-aggregate.input.ts +++ b/server/src/api/@generated/workspace/workspace-max-order-by-aggregate.input.ts @@ -4,25 +4,24 @@ import { SortOrder } from '../prisma/sort-order.enum'; @InputType() export class WorkspaceMaxOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + domainName?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - domainName?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + displayName?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - displayName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - logo?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + logo?: keyof typeof SortOrder; } diff --git a/server/src/api/@generated/workspace/workspace-min-aggregate.input.ts b/server/src/api/@generated/workspace/workspace-min-aggregate.input.ts index fa2d6e2c82..99d3849c2b 100644 --- a/server/src/api/@generated/workspace/workspace-min-aggregate.input.ts +++ b/server/src/api/@generated/workspace/workspace-min-aggregate.input.ts @@ -3,25 +3,24 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class WorkspaceMinAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; - @Field(() => Boolean, {nullable:true}) - id?: true; + @Field(() => Boolean, { nullable: true }) + createdAt?: true; - @Field(() => Boolean, {nullable:true}) - createdAt?: true; + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; - @Field(() => Boolean, {nullable:true}) - updatedAt?: true; + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; - @Field(() => Boolean, {nullable:true}) - deletedAt?: true; + @Field(() => Boolean, { nullable: true }) + domainName?: true; - @Field(() => Boolean, {nullable:true}) - domainName?: true; + @Field(() => Boolean, { nullable: true }) + displayName?: true; - @Field(() => Boolean, {nullable:true}) - displayName?: true; - - @Field(() => Boolean, {nullable:true}) - logo?: true; + @Field(() => Boolean, { nullable: true }) + logo?: true; } diff --git a/server/src/api/@generated/workspace/workspace-min-aggregate.output.ts b/server/src/api/@generated/workspace/workspace-min-aggregate.output.ts index 0c2a2a26a7..3b2f6e14e3 100644 --- a/server/src/api/@generated/workspace/workspace-min-aggregate.output.ts +++ b/server/src/api/@generated/workspace/workspace-min-aggregate.output.ts @@ -3,25 +3,24 @@ import { ObjectType } from '@nestjs/graphql'; @ObjectType() export class WorkspaceMinAggregate { + @Field(() => String, { nullable: true }) + id?: string; - @Field(() => String, {nullable:true}) - id?: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: true }) + domainName?: string; - @Field(() => String, {nullable:true}) - domainName?: string; + @Field(() => String, { nullable: true }) + displayName?: string; - @Field(() => String, {nullable:true}) - displayName?: string; - - @Field(() => String, {nullable:true}) - logo?: string; + @Field(() => String, { nullable: true }) + logo?: string; } diff --git a/server/src/api/@generated/workspace/workspace-min-order-by-aggregate.input.ts b/server/src/api/@generated/workspace/workspace-min-order-by-aggregate.input.ts index 39cde43107..8b3f7690fe 100644 --- a/server/src/api/@generated/workspace/workspace-min-order-by-aggregate.input.ts +++ b/server/src/api/@generated/workspace/workspace-min-order-by-aggregate.input.ts @@ -4,25 +4,24 @@ import { SortOrder } from '../prisma/sort-order.enum'; @InputType() export class WorkspaceMinOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + domainName?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - domainName?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + displayName?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - displayName?: keyof typeof SortOrder; - - @Field(() => SortOrder, {nullable:true}) - logo?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + logo?: keyof typeof SortOrder; } diff --git a/server/src/api/@generated/workspace/workspace-order-by-with-aggregation.input.ts b/server/src/api/@generated/workspace/workspace-order-by-with-aggregation.input.ts index 1e027eb296..cabbb089e5 100644 --- a/server/src/api/@generated/workspace/workspace-order-by-with-aggregation.input.ts +++ b/server/src/api/@generated/workspace/workspace-order-by-with-aggregation.input.ts @@ -7,34 +7,33 @@ import { WorkspaceMinOrderByAggregateInput } from './workspace-min-order-by-aggr @InputType() export class WorkspaceOrderByWithAggregationInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + domainName?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - domainName?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + displayName?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - displayName?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + logo?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - logo?: keyof typeof SortOrder; + @Field(() => WorkspaceCountOrderByAggregateInput, { nullable: true }) + _count?: WorkspaceCountOrderByAggregateInput; - @Field(() => WorkspaceCountOrderByAggregateInput, {nullable:true}) - _count?: WorkspaceCountOrderByAggregateInput; + @Field(() => WorkspaceMaxOrderByAggregateInput, { nullable: true }) + _max?: WorkspaceMaxOrderByAggregateInput; - @Field(() => WorkspaceMaxOrderByAggregateInput, {nullable:true}) - _max?: WorkspaceMaxOrderByAggregateInput; - - @Field(() => WorkspaceMinOrderByAggregateInput, {nullable:true}) - _min?: WorkspaceMinOrderByAggregateInput; + @Field(() => WorkspaceMinOrderByAggregateInput, { nullable: true }) + _min?: WorkspaceMinOrderByAggregateInput; } diff --git a/server/src/api/@generated/workspace/workspace-order-by-with-relation.input.ts b/server/src/api/@generated/workspace/workspace-order-by-with-relation.input.ts index 79bb1b64d8..dfd0b1dffc 100644 --- a/server/src/api/@generated/workspace/workspace-order-by-with-relation.input.ts +++ b/server/src/api/@generated/workspace/workspace-order-by-with-relation.input.ts @@ -7,34 +7,33 @@ import { PersonOrderByRelationAggregateInput } from '../person/person-order-by-r @InputType() export class WorkspaceOrderByWithRelationInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - id?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - createdAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - updatedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - deletedAt?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + domainName?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - domainName?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + displayName?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - displayName?: keyof typeof SortOrder; + @Field(() => SortOrder, { nullable: true }) + logo?: keyof typeof SortOrder; - @Field(() => SortOrder, {nullable:true}) - logo?: keyof typeof SortOrder; + @Field(() => WorkspaceMemberOrderByRelationAggregateInput, { nullable: true }) + WorkspaceMember?: WorkspaceMemberOrderByRelationAggregateInput; - @Field(() => WorkspaceMemberOrderByRelationAggregateInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberOrderByRelationAggregateInput; + @Field(() => CompanyOrderByRelationAggregateInput, { nullable: true }) + companies?: CompanyOrderByRelationAggregateInput; - @Field(() => CompanyOrderByRelationAggregateInput, {nullable:true}) - companies?: CompanyOrderByRelationAggregateInput; - - @Field(() => PersonOrderByRelationAggregateInput, {nullable:true}) - people?: PersonOrderByRelationAggregateInput; + @Field(() => PersonOrderByRelationAggregateInput, { nullable: true }) + people?: PersonOrderByRelationAggregateInput; } diff --git a/server/src/api/@generated/workspace/workspace-relation-filter.input.ts b/server/src/api/@generated/workspace/workspace-relation-filter.input.ts index 2a0703e052..98607b95ec 100644 --- a/server/src/api/@generated/workspace/workspace-relation-filter.input.ts +++ b/server/src/api/@generated/workspace/workspace-relation-filter.input.ts @@ -4,10 +4,9 @@ import { WorkspaceWhereInput } from './workspace-where.input'; @InputType() export class WorkspaceRelationFilter { + @Field(() => WorkspaceWhereInput, { nullable: true }) + is?: WorkspaceWhereInput; - @Field(() => WorkspaceWhereInput, {nullable:true}) - is?: WorkspaceWhereInput; - - @Field(() => WorkspaceWhereInput, {nullable:true}) - isNot?: WorkspaceWhereInput; + @Field(() => WorkspaceWhereInput, { nullable: true }) + isNot?: WorkspaceWhereInput; } diff --git a/server/src/api/@generated/workspace/workspace-scalar-field.enum.ts b/server/src/api/@generated/workspace/workspace-scalar-field.enum.ts index 083443cff8..cb3cb37421 100644 --- a/server/src/api/@generated/workspace/workspace-scalar-field.enum.ts +++ b/server/src/api/@generated/workspace/workspace-scalar-field.enum.ts @@ -1,14 +1,16 @@ import { registerEnumType } from '@nestjs/graphql'; export enum WorkspaceScalarFieldEnum { - id = "id", - createdAt = "createdAt", - updatedAt = "updatedAt", - deletedAt = "deletedAt", - domainName = "domainName", - displayName = "displayName", - logo = "logo" + id = 'id', + createdAt = 'createdAt', + updatedAt = 'updatedAt', + deletedAt = 'deletedAt', + domainName = 'domainName', + displayName = 'displayName', + logo = 'logo', } - -registerEnumType(WorkspaceScalarFieldEnum, { name: 'WorkspaceScalarFieldEnum', description: undefined }) +registerEnumType(WorkspaceScalarFieldEnum, { + name: 'WorkspaceScalarFieldEnum', + description: undefined, +}); diff --git a/server/src/api/@generated/workspace/workspace-scalar-where-with-aggregates.input.ts b/server/src/api/@generated/workspace/workspace-scalar-where-with-aggregates.input.ts index 2ccf07fac1..44e3c9d98c 100644 --- a/server/src/api/@generated/workspace/workspace-scalar-where-with-aggregates.input.ts +++ b/server/src/api/@generated/workspace/workspace-scalar-where-with-aggregates.input.ts @@ -7,34 +7,33 @@ import { StringNullableWithAggregatesFilter } from '../prisma/string-nullable-wi @InputType() export class WorkspaceScalarWhereWithAggregatesInput { + @Field(() => [WorkspaceScalarWhereWithAggregatesInput], { nullable: true }) + AND?: Array; - @Field(() => [WorkspaceScalarWhereWithAggregatesInput], {nullable:true}) - AND?: Array; + @Field(() => [WorkspaceScalarWhereWithAggregatesInput], { nullable: true }) + OR?: Array; - @Field(() => [WorkspaceScalarWhereWithAggregatesInput], {nullable:true}) - OR?: Array; + @Field(() => [WorkspaceScalarWhereWithAggregatesInput], { nullable: true }) + NOT?: Array; - @Field(() => [WorkspaceScalarWhereWithAggregatesInput], {nullable:true}) - NOT?: Array; + @Field(() => StringWithAggregatesFilter, { nullable: true }) + id?: StringWithAggregatesFilter; - @Field(() => StringWithAggregatesFilter, {nullable:true}) - id?: StringWithAggregatesFilter; + @Field(() => DateTimeWithAggregatesFilter, { nullable: true }) + createdAt?: DateTimeWithAggregatesFilter; - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - createdAt?: DateTimeWithAggregatesFilter; + @Field(() => DateTimeWithAggregatesFilter, { nullable: true }) + updatedAt?: DateTimeWithAggregatesFilter; - @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) - updatedAt?: DateTimeWithAggregatesFilter; + @Field(() => DateTimeNullableWithAggregatesFilter, { nullable: true }) + deletedAt?: DateTimeNullableWithAggregatesFilter; - @Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true}) - deletedAt?: DateTimeNullableWithAggregatesFilter; + @Field(() => StringWithAggregatesFilter, { nullable: true }) + domainName?: StringWithAggregatesFilter; - @Field(() => StringWithAggregatesFilter, {nullable:true}) - domainName?: StringWithAggregatesFilter; + @Field(() => StringWithAggregatesFilter, { nullable: true }) + displayName?: StringWithAggregatesFilter; - @Field(() => StringWithAggregatesFilter, {nullable:true}) - displayName?: StringWithAggregatesFilter; - - @Field(() => StringNullableWithAggregatesFilter, {nullable:true}) - logo?: StringNullableWithAggregatesFilter; + @Field(() => StringNullableWithAggregatesFilter, { nullable: true }) + logo?: StringNullableWithAggregatesFilter; } diff --git a/server/src/api/@generated/workspace/workspace-unchecked-create-without-companies.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-create-without-companies.input.ts index 610bf410a5..f9104a2a71 100644 --- a/server/src/api/@generated/workspace/workspace-unchecked-create-without-companies.input.ts +++ b/server/src/api/@generated/workspace/workspace-unchecked-create-without-companies.input.ts @@ -5,31 +5,34 @@ import { PersonUncheckedCreateNestedManyWithoutWorkspaceInput } from '../person/ @InputType() export class WorkspaceUncheckedCreateWithoutCompaniesInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + domainName!: string; - @Field(() => String, {nullable:false}) - domainName!: string; + @Field(() => String, { nullable: false }) + displayName!: string; - @Field(() => String, {nullable:false}) - displayName!: string; + @Field(() => String, { nullable: true }) + logo?: string; - @Field(() => String, {nullable:true}) - logo?: string; + @Field(() => WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + WorkspaceMember?: WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput; - @Field(() => WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PersonUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - people?: PersonUncheckedCreateNestedManyWithoutWorkspaceInput; + @Field(() => PersonUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + people?: PersonUncheckedCreateNestedManyWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/workspace/workspace-unchecked-create-without-people.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-create-without-people.input.ts index a2d0195ca9..76b6cad7c9 100644 --- a/server/src/api/@generated/workspace/workspace-unchecked-create-without-people.input.ts +++ b/server/src/api/@generated/workspace/workspace-unchecked-create-without-people.input.ts @@ -5,31 +5,34 @@ import { CompanyUncheckedCreateNestedManyWithoutWorkspaceInput } from '../compan @InputType() export class WorkspaceUncheckedCreateWithoutPeopleInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + domainName!: string; - @Field(() => String, {nullable:false}) - domainName!: string; + @Field(() => String, { nullable: false }) + displayName!: string; - @Field(() => String, {nullable:false}) - displayName!: string; + @Field(() => String, { nullable: true }) + logo?: string; - @Field(() => String, {nullable:true}) - logo?: string; + @Field(() => WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + WorkspaceMember?: WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput; - @Field(() => WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => CompanyUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - companies?: CompanyUncheckedCreateNestedManyWithoutWorkspaceInput; + @Field(() => CompanyUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + companies?: CompanyUncheckedCreateNestedManyWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/workspace/workspace-unchecked-create-without-workspace-member.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-create-without-workspace-member.input.ts index 8e3e80e1b2..80e8bc7aad 100644 --- a/server/src/api/@generated/workspace/workspace-unchecked-create-without-workspace-member.input.ts +++ b/server/src/api/@generated/workspace/workspace-unchecked-create-without-workspace-member.input.ts @@ -5,31 +5,34 @@ import { PersonUncheckedCreateNestedManyWithoutWorkspaceInput } from '../person/ @InputType() export class WorkspaceUncheckedCreateWithoutWorkspaceMemberInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + domainName!: string; - @Field(() => String, {nullable:false}) - domainName!: string; + @Field(() => String, { nullable: false }) + displayName!: string; - @Field(() => String, {nullable:false}) - displayName!: string; + @Field(() => String, { nullable: true }) + logo?: string; - @Field(() => String, {nullable:true}) - logo?: string; + @Field(() => CompanyUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + companies?: CompanyUncheckedCreateNestedManyWithoutWorkspaceInput; - @Field(() => CompanyUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - companies?: CompanyUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PersonUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - people?: PersonUncheckedCreateNestedManyWithoutWorkspaceInput; + @Field(() => PersonUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + people?: PersonUncheckedCreateNestedManyWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/workspace/workspace-unchecked-create.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-create.input.ts index 3e045a3e9f..c684881b68 100644 --- a/server/src/api/@generated/workspace/workspace-unchecked-create.input.ts +++ b/server/src/api/@generated/workspace/workspace-unchecked-create.input.ts @@ -6,34 +6,39 @@ import { PersonUncheckedCreateNestedManyWithoutWorkspaceInput } from '../person/ @InputType() export class WorkspaceUncheckedCreateInput { + @Field(() => String, { nullable: false }) + id!: string; - @Field(() => String, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; - @Field(() => Date, {nullable:true}) - createdAt?: Date | string; + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; - @Field(() => Date, {nullable:true}) - updatedAt?: Date | string; + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; - @Field(() => Date, {nullable:true}) - deletedAt?: Date | string; + @Field(() => String, { nullable: false }) + domainName!: string; - @Field(() => String, {nullable:false}) - domainName!: string; + @Field(() => String, { nullable: false }) + displayName!: string; - @Field(() => String, {nullable:false}) - displayName!: string; + @Field(() => String, { nullable: true }) + logo?: string; - @Field(() => String, {nullable:true}) - logo?: string; + @Field(() => WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + WorkspaceMember?: WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput; - @Field(() => WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput; + @Field(() => CompanyUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + companies?: CompanyUncheckedCreateNestedManyWithoutWorkspaceInput; - @Field(() => CompanyUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - companies?: CompanyUncheckedCreateNestedManyWithoutWorkspaceInput; - - @Field(() => PersonUncheckedCreateNestedManyWithoutWorkspaceInput, {nullable:true}) - people?: PersonUncheckedCreateNestedManyWithoutWorkspaceInput; + @Field(() => PersonUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + people?: PersonUncheckedCreateNestedManyWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/workspace/workspace-unchecked-update-many.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-update-many.input.ts index 719f49ef42..cec35f98d5 100644 --- a/server/src/api/@generated/workspace/workspace-unchecked-update-many.input.ts +++ b/server/src/api/@generated/workspace/workspace-unchecked-update-many.input.ts @@ -7,25 +7,24 @@ import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-str @InputType() export class WorkspaceUncheckedUpdateManyInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + displayName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - displayName?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + logo?: NullableStringFieldUpdateOperationsInput; } diff --git a/server/src/api/@generated/workspace/workspace-unchecked-update-without-companies.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-update-without-companies.input.ts index 7ae7491fe1..2ba122ae9d 100644 --- a/server/src/api/@generated/workspace/workspace-unchecked-update-without-companies.input.ts +++ b/server/src/api/@generated/workspace/workspace-unchecked-update-without-companies.input.ts @@ -9,31 +9,34 @@ import { PersonUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../person/ @InputType() export class WorkspaceUncheckedUpdateWithoutCompaniesInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + displayName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - displayName?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + logo?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; + @Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + WorkspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput; - @Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PersonUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput; + @Field(() => PersonUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput; } diff --git a/server/src/api/@generated/workspace/workspace-unchecked-update-without-people.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-update-without-people.input.ts index ec339f177b..9d1c76a5ec 100644 --- a/server/src/api/@generated/workspace/workspace-unchecked-update-without-people.input.ts +++ b/server/src/api/@generated/workspace/workspace-unchecked-update-without-people.input.ts @@ -9,31 +9,34 @@ import { CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../compan @InputType() export class WorkspaceUncheckedUpdateWithoutPeopleInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + displayName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - displayName?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + logo?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; + @Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + WorkspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput; - @Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - companies?: CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput; + @Field(() => CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + companies?: CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput; } diff --git a/server/src/api/@generated/workspace/workspace-unchecked-update-without-workspace-member.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-update-without-workspace-member.input.ts index c2a03794be..1de5318f13 100644 --- a/server/src/api/@generated/workspace/workspace-unchecked-update-without-workspace-member.input.ts +++ b/server/src/api/@generated/workspace/workspace-unchecked-update-without-workspace-member.input.ts @@ -9,31 +9,34 @@ import { PersonUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../person/ @InputType() export class WorkspaceUncheckedUpdateWithoutWorkspaceMemberInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + displayName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - displayName?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + logo?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; + @Field(() => CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + companies?: CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput; - @Field(() => CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - companies?: CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PersonUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput; + @Field(() => PersonUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput; } diff --git a/server/src/api/@generated/workspace/workspace-unchecked-update.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-update.input.ts index affa9357db..51b545bdc9 100644 --- a/server/src/api/@generated/workspace/workspace-unchecked-update.input.ts +++ b/server/src/api/@generated/workspace/workspace-unchecked-update.input.ts @@ -10,34 +10,39 @@ import { PersonUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../person/ @InputType() export class WorkspaceUncheckedUpdateInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + displayName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - displayName?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + logo?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; + @Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + WorkspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput; - @Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput; + @Field(() => CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + companies?: CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput; - @Field(() => CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - companies?: CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PersonUncheckedUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput; + @Field(() => PersonUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput; } diff --git a/server/src/api/@generated/workspace/workspace-update-many-mutation.input.ts b/server/src/api/@generated/workspace/workspace-update-many-mutation.input.ts index 7c1ffac890..7f068184f3 100644 --- a/server/src/api/@generated/workspace/workspace-update-many-mutation.input.ts +++ b/server/src/api/@generated/workspace/workspace-update-many-mutation.input.ts @@ -7,25 +7,24 @@ import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-str @InputType() export class WorkspaceUpdateManyMutationInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + displayName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - displayName?: StringFieldUpdateOperationsInput; - - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + logo?: NullableStringFieldUpdateOperationsInput; } diff --git a/server/src/api/@generated/workspace/workspace-update-one-required-without-companies-nested.input.ts b/server/src/api/@generated/workspace/workspace-update-one-required-without-companies-nested.input.ts index 67b93993ca..bd03494631 100644 --- a/server/src/api/@generated/workspace/workspace-update-one-required-without-companies-nested.input.ts +++ b/server/src/api/@generated/workspace/workspace-update-one-required-without-companies-nested.input.ts @@ -9,24 +9,25 @@ import { WorkspaceUpdateWithoutCompaniesInput } from './workspace-update-without @InputType() export class WorkspaceUpdateOneRequiredWithoutCompaniesNestedInput { + @Field(() => WorkspaceCreateWithoutCompaniesInput, { nullable: true }) + @Type(() => WorkspaceCreateWithoutCompaniesInput) + create?: WorkspaceCreateWithoutCompaniesInput; - @Field(() => WorkspaceCreateWithoutCompaniesInput, {nullable:true}) - @Type(() => WorkspaceCreateWithoutCompaniesInput) - create?: WorkspaceCreateWithoutCompaniesInput; + @Field(() => WorkspaceCreateOrConnectWithoutCompaniesInput, { + nullable: true, + }) + @Type(() => WorkspaceCreateOrConnectWithoutCompaniesInput) + connectOrCreate?: WorkspaceCreateOrConnectWithoutCompaniesInput; - @Field(() => WorkspaceCreateOrConnectWithoutCompaniesInput, {nullable:true}) - @Type(() => WorkspaceCreateOrConnectWithoutCompaniesInput) - connectOrCreate?: WorkspaceCreateOrConnectWithoutCompaniesInput; + @Field(() => WorkspaceUpsertWithoutCompaniesInput, { nullable: true }) + @Type(() => WorkspaceUpsertWithoutCompaniesInput) + upsert?: WorkspaceUpsertWithoutCompaniesInput; - @Field(() => WorkspaceUpsertWithoutCompaniesInput, {nullable:true}) - @Type(() => WorkspaceUpsertWithoutCompaniesInput) - upsert?: WorkspaceUpsertWithoutCompaniesInput; + @Field(() => WorkspaceWhereUniqueInput, { nullable: true }) + @Type(() => WorkspaceWhereUniqueInput) + connect?: WorkspaceWhereUniqueInput; - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceWhereUniqueInput) - connect?: WorkspaceWhereUniqueInput; - - @Field(() => WorkspaceUpdateWithoutCompaniesInput, {nullable:true}) - @Type(() => WorkspaceUpdateWithoutCompaniesInput) - update?: WorkspaceUpdateWithoutCompaniesInput; + @Field(() => WorkspaceUpdateWithoutCompaniesInput, { nullable: true }) + @Type(() => WorkspaceUpdateWithoutCompaniesInput) + update?: WorkspaceUpdateWithoutCompaniesInput; } diff --git a/server/src/api/@generated/workspace/workspace-update-one-required-without-people-nested.input.ts b/server/src/api/@generated/workspace/workspace-update-one-required-without-people-nested.input.ts index 6181bbee83..89cff82b6f 100644 --- a/server/src/api/@generated/workspace/workspace-update-one-required-without-people-nested.input.ts +++ b/server/src/api/@generated/workspace/workspace-update-one-required-without-people-nested.input.ts @@ -9,24 +9,23 @@ import { WorkspaceUpdateWithoutPeopleInput } from './workspace-update-without-pe @InputType() export class WorkspaceUpdateOneRequiredWithoutPeopleNestedInput { + @Field(() => WorkspaceCreateWithoutPeopleInput, { nullable: true }) + @Type(() => WorkspaceCreateWithoutPeopleInput) + create?: WorkspaceCreateWithoutPeopleInput; - @Field(() => WorkspaceCreateWithoutPeopleInput, {nullable:true}) - @Type(() => WorkspaceCreateWithoutPeopleInput) - create?: WorkspaceCreateWithoutPeopleInput; + @Field(() => WorkspaceCreateOrConnectWithoutPeopleInput, { nullable: true }) + @Type(() => WorkspaceCreateOrConnectWithoutPeopleInput) + connectOrCreate?: WorkspaceCreateOrConnectWithoutPeopleInput; - @Field(() => WorkspaceCreateOrConnectWithoutPeopleInput, {nullable:true}) - @Type(() => WorkspaceCreateOrConnectWithoutPeopleInput) - connectOrCreate?: WorkspaceCreateOrConnectWithoutPeopleInput; + @Field(() => WorkspaceUpsertWithoutPeopleInput, { nullable: true }) + @Type(() => WorkspaceUpsertWithoutPeopleInput) + upsert?: WorkspaceUpsertWithoutPeopleInput; - @Field(() => WorkspaceUpsertWithoutPeopleInput, {nullable:true}) - @Type(() => WorkspaceUpsertWithoutPeopleInput) - upsert?: WorkspaceUpsertWithoutPeopleInput; + @Field(() => WorkspaceWhereUniqueInput, { nullable: true }) + @Type(() => WorkspaceWhereUniqueInput) + connect?: WorkspaceWhereUniqueInput; - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceWhereUniqueInput) - connect?: WorkspaceWhereUniqueInput; - - @Field(() => WorkspaceUpdateWithoutPeopleInput, {nullable:true}) - @Type(() => WorkspaceUpdateWithoutPeopleInput) - update?: WorkspaceUpdateWithoutPeopleInput; + @Field(() => WorkspaceUpdateWithoutPeopleInput, { nullable: true }) + @Type(() => WorkspaceUpdateWithoutPeopleInput) + update?: WorkspaceUpdateWithoutPeopleInput; } diff --git a/server/src/api/@generated/workspace/workspace-update-one-required-without-workspace-member-nested.input.ts b/server/src/api/@generated/workspace/workspace-update-one-required-without-workspace-member-nested.input.ts index 7afb186fe1..94651ae794 100644 --- a/server/src/api/@generated/workspace/workspace-update-one-required-without-workspace-member-nested.input.ts +++ b/server/src/api/@generated/workspace/workspace-update-one-required-without-workspace-member-nested.input.ts @@ -9,24 +9,25 @@ import { WorkspaceUpdateWithoutWorkspaceMemberInput } from './workspace-update-w @InputType() export class WorkspaceUpdateOneRequiredWithoutWorkspaceMemberNestedInput { + @Field(() => WorkspaceCreateWithoutWorkspaceMemberInput, { nullable: true }) + @Type(() => WorkspaceCreateWithoutWorkspaceMemberInput) + create?: WorkspaceCreateWithoutWorkspaceMemberInput; - @Field(() => WorkspaceCreateWithoutWorkspaceMemberInput, {nullable:true}) - @Type(() => WorkspaceCreateWithoutWorkspaceMemberInput) - create?: WorkspaceCreateWithoutWorkspaceMemberInput; + @Field(() => WorkspaceCreateOrConnectWithoutWorkspaceMemberInput, { + nullable: true, + }) + @Type(() => WorkspaceCreateOrConnectWithoutWorkspaceMemberInput) + connectOrCreate?: WorkspaceCreateOrConnectWithoutWorkspaceMemberInput; - @Field(() => WorkspaceCreateOrConnectWithoutWorkspaceMemberInput, {nullable:true}) - @Type(() => WorkspaceCreateOrConnectWithoutWorkspaceMemberInput) - connectOrCreate?: WorkspaceCreateOrConnectWithoutWorkspaceMemberInput; + @Field(() => WorkspaceUpsertWithoutWorkspaceMemberInput, { nullable: true }) + @Type(() => WorkspaceUpsertWithoutWorkspaceMemberInput) + upsert?: WorkspaceUpsertWithoutWorkspaceMemberInput; - @Field(() => WorkspaceUpsertWithoutWorkspaceMemberInput, {nullable:true}) - @Type(() => WorkspaceUpsertWithoutWorkspaceMemberInput) - upsert?: WorkspaceUpsertWithoutWorkspaceMemberInput; + @Field(() => WorkspaceWhereUniqueInput, { nullable: true }) + @Type(() => WorkspaceWhereUniqueInput) + connect?: WorkspaceWhereUniqueInput; - @Field(() => WorkspaceWhereUniqueInput, {nullable:true}) - @Type(() => WorkspaceWhereUniqueInput) - connect?: WorkspaceWhereUniqueInput; - - @Field(() => WorkspaceUpdateWithoutWorkspaceMemberInput, {nullable:true}) - @Type(() => WorkspaceUpdateWithoutWorkspaceMemberInput) - update?: WorkspaceUpdateWithoutWorkspaceMemberInput; + @Field(() => WorkspaceUpdateWithoutWorkspaceMemberInput, { nullable: true }) + @Type(() => WorkspaceUpdateWithoutWorkspaceMemberInput) + update?: WorkspaceUpdateWithoutWorkspaceMemberInput; } diff --git a/server/src/api/@generated/workspace/workspace-update-without-companies.input.ts b/server/src/api/@generated/workspace/workspace-update-without-companies.input.ts index f0749394ab..8f01ed49dd 100644 --- a/server/src/api/@generated/workspace/workspace-update-without-companies.input.ts +++ b/server/src/api/@generated/workspace/workspace-update-without-companies.input.ts @@ -9,31 +9,32 @@ import { PersonUpdateManyWithoutWorkspaceNestedInput } from '../person/person-up @InputType() export class WorkspaceUpdateWithoutCompaniesInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + displayName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - displayName?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + logo?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; + @Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + WorkspaceMember?: WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput; - @Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PersonUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - people?: PersonUpdateManyWithoutWorkspaceNestedInput; + @Field(() => PersonUpdateManyWithoutWorkspaceNestedInput, { nullable: true }) + people?: PersonUpdateManyWithoutWorkspaceNestedInput; } diff --git a/server/src/api/@generated/workspace/workspace-update-without-people.input.ts b/server/src/api/@generated/workspace/workspace-update-without-people.input.ts index 61bbd17c48..98eaf76277 100644 --- a/server/src/api/@generated/workspace/workspace-update-without-people.input.ts +++ b/server/src/api/@generated/workspace/workspace-update-without-people.input.ts @@ -9,31 +9,32 @@ import { CompanyUpdateManyWithoutWorkspaceNestedInput } from '../company/company @InputType() export class WorkspaceUpdateWithoutPeopleInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + displayName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - displayName?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + logo?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; + @Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + WorkspaceMember?: WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput; - @Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => CompanyUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - companies?: CompanyUpdateManyWithoutWorkspaceNestedInput; + @Field(() => CompanyUpdateManyWithoutWorkspaceNestedInput, { nullable: true }) + companies?: CompanyUpdateManyWithoutWorkspaceNestedInput; } diff --git a/server/src/api/@generated/workspace/workspace-update-without-workspace-member.input.ts b/server/src/api/@generated/workspace/workspace-update-without-workspace-member.input.ts index d31ea27338..6121476c10 100644 --- a/server/src/api/@generated/workspace/workspace-update-without-workspace-member.input.ts +++ b/server/src/api/@generated/workspace/workspace-update-without-workspace-member.input.ts @@ -9,31 +9,30 @@ import { PersonUpdateManyWithoutWorkspaceNestedInput } from '../person/person-up @InputType() export class WorkspaceUpdateWithoutWorkspaceMemberInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + displayName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - displayName?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + logo?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; + @Field(() => CompanyUpdateManyWithoutWorkspaceNestedInput, { nullable: true }) + companies?: CompanyUpdateManyWithoutWorkspaceNestedInput; - @Field(() => CompanyUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - companies?: CompanyUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PersonUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - people?: PersonUpdateManyWithoutWorkspaceNestedInput; + @Field(() => PersonUpdateManyWithoutWorkspaceNestedInput, { nullable: true }) + people?: PersonUpdateManyWithoutWorkspaceNestedInput; } diff --git a/server/src/api/@generated/workspace/workspace-update.input.ts b/server/src/api/@generated/workspace/workspace-update.input.ts index 3bac37c7b7..9b0460eba0 100644 --- a/server/src/api/@generated/workspace/workspace-update.input.ts +++ b/server/src/api/@generated/workspace/workspace-update.input.ts @@ -10,34 +10,35 @@ import { PersonUpdateManyWithoutWorkspaceNestedInput } from '../person/person-up @InputType() export class WorkspaceUpdateInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - id?: StringFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - createdAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; - @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) - updatedAt?: DateTimeFieldUpdateOperationsInput; + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; - @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) - deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - domainName?: StringFieldUpdateOperationsInput; + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + displayName?: StringFieldUpdateOperationsInput; - @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) - displayName?: StringFieldUpdateOperationsInput; + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + logo?: NullableStringFieldUpdateOperationsInput; - @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) - logo?: NullableStringFieldUpdateOperationsInput; + @Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + WorkspaceMember?: WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput; - @Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - WorkspaceMember?: WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput; + @Field(() => CompanyUpdateManyWithoutWorkspaceNestedInput, { nullable: true }) + companies?: CompanyUpdateManyWithoutWorkspaceNestedInput; - @Field(() => CompanyUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - companies?: CompanyUpdateManyWithoutWorkspaceNestedInput; - - @Field(() => PersonUpdateManyWithoutWorkspaceNestedInput, {nullable:true}) - people?: PersonUpdateManyWithoutWorkspaceNestedInput; + @Field(() => PersonUpdateManyWithoutWorkspaceNestedInput, { nullable: true }) + people?: PersonUpdateManyWithoutWorkspaceNestedInput; } diff --git a/server/src/api/@generated/workspace/workspace-upsert-without-companies.input.ts b/server/src/api/@generated/workspace/workspace-upsert-without-companies.input.ts index f4886aabc3..eaa4d59ac0 100644 --- a/server/src/api/@generated/workspace/workspace-upsert-without-companies.input.ts +++ b/server/src/api/@generated/workspace/workspace-upsert-without-companies.input.ts @@ -6,12 +6,11 @@ import { WorkspaceCreateWithoutCompaniesInput } from './workspace-create-without @InputType() export class WorkspaceUpsertWithoutCompaniesInput { + @Field(() => WorkspaceUpdateWithoutCompaniesInput, { nullable: false }) + @Type(() => WorkspaceUpdateWithoutCompaniesInput) + update!: WorkspaceUpdateWithoutCompaniesInput; - @Field(() => WorkspaceUpdateWithoutCompaniesInput, {nullable:false}) - @Type(() => WorkspaceUpdateWithoutCompaniesInput) - update!: WorkspaceUpdateWithoutCompaniesInput; - - @Field(() => WorkspaceCreateWithoutCompaniesInput, {nullable:false}) - @Type(() => WorkspaceCreateWithoutCompaniesInput) - create!: WorkspaceCreateWithoutCompaniesInput; + @Field(() => WorkspaceCreateWithoutCompaniesInput, { nullable: false }) + @Type(() => WorkspaceCreateWithoutCompaniesInput) + create!: WorkspaceCreateWithoutCompaniesInput; } diff --git a/server/src/api/@generated/workspace/workspace-upsert-without-people.input.ts b/server/src/api/@generated/workspace/workspace-upsert-without-people.input.ts index 10da43e79d..83095ee23b 100644 --- a/server/src/api/@generated/workspace/workspace-upsert-without-people.input.ts +++ b/server/src/api/@generated/workspace/workspace-upsert-without-people.input.ts @@ -6,12 +6,11 @@ import { WorkspaceCreateWithoutPeopleInput } from './workspace-create-without-pe @InputType() export class WorkspaceUpsertWithoutPeopleInput { + @Field(() => WorkspaceUpdateWithoutPeopleInput, { nullable: false }) + @Type(() => WorkspaceUpdateWithoutPeopleInput) + update!: WorkspaceUpdateWithoutPeopleInput; - @Field(() => WorkspaceUpdateWithoutPeopleInput, {nullable:false}) - @Type(() => WorkspaceUpdateWithoutPeopleInput) - update!: WorkspaceUpdateWithoutPeopleInput; - - @Field(() => WorkspaceCreateWithoutPeopleInput, {nullable:false}) - @Type(() => WorkspaceCreateWithoutPeopleInput) - create!: WorkspaceCreateWithoutPeopleInput; + @Field(() => WorkspaceCreateWithoutPeopleInput, { nullable: false }) + @Type(() => WorkspaceCreateWithoutPeopleInput) + create!: WorkspaceCreateWithoutPeopleInput; } diff --git a/server/src/api/@generated/workspace/workspace-upsert-without-workspace-member.input.ts b/server/src/api/@generated/workspace/workspace-upsert-without-workspace-member.input.ts index 98385c3a41..993c6d6d9b 100644 --- a/server/src/api/@generated/workspace/workspace-upsert-without-workspace-member.input.ts +++ b/server/src/api/@generated/workspace/workspace-upsert-without-workspace-member.input.ts @@ -6,12 +6,11 @@ import { WorkspaceCreateWithoutWorkspaceMemberInput } from './workspace-create-w @InputType() export class WorkspaceUpsertWithoutWorkspaceMemberInput { + @Field(() => WorkspaceUpdateWithoutWorkspaceMemberInput, { nullable: false }) + @Type(() => WorkspaceUpdateWithoutWorkspaceMemberInput) + update!: WorkspaceUpdateWithoutWorkspaceMemberInput; - @Field(() => WorkspaceUpdateWithoutWorkspaceMemberInput, {nullable:false}) - @Type(() => WorkspaceUpdateWithoutWorkspaceMemberInput) - update!: WorkspaceUpdateWithoutWorkspaceMemberInput; - - @Field(() => WorkspaceCreateWithoutWorkspaceMemberInput, {nullable:false}) - @Type(() => WorkspaceCreateWithoutWorkspaceMemberInput) - create!: WorkspaceCreateWithoutWorkspaceMemberInput; + @Field(() => WorkspaceCreateWithoutWorkspaceMemberInput, { nullable: false }) + @Type(() => WorkspaceCreateWithoutWorkspaceMemberInput) + create!: WorkspaceCreateWithoutWorkspaceMemberInput; } diff --git a/server/src/api/@generated/workspace/workspace-where-unique.input.ts b/server/src/api/@generated/workspace/workspace-where-unique.input.ts index 85b038a54f..7d03d0d393 100644 --- a/server/src/api/@generated/workspace/workspace-where-unique.input.ts +++ b/server/src/api/@generated/workspace/workspace-where-unique.input.ts @@ -3,10 +3,9 @@ import { InputType } from '@nestjs/graphql'; @InputType() export class WorkspaceWhereUniqueInput { + @Field(() => String, { nullable: true }) + id?: string; - @Field(() => String, {nullable:true}) - id?: string; - - @Field(() => String, {nullable:true}) - domainName?: string; + @Field(() => String, { nullable: true }) + domainName?: string; } diff --git a/server/src/api/@generated/workspace/workspace-where.input.ts b/server/src/api/@generated/workspace/workspace-where.input.ts index 2bdd30ca04..6bed2ed336 100644 --- a/server/src/api/@generated/workspace/workspace-where.input.ts +++ b/server/src/api/@generated/workspace/workspace-where.input.ts @@ -10,43 +10,42 @@ import { PersonListRelationFilter } from '../person/person-list-relation-filter. @InputType() export class WorkspaceWhereInput { + @Field(() => [WorkspaceWhereInput], { nullable: true }) + AND?: Array; - @Field(() => [WorkspaceWhereInput], {nullable:true}) - AND?: Array; + @Field(() => [WorkspaceWhereInput], { nullable: true }) + OR?: Array; - @Field(() => [WorkspaceWhereInput], {nullable:true}) - OR?: Array; + @Field(() => [WorkspaceWhereInput], { nullable: true }) + NOT?: Array; - @Field(() => [WorkspaceWhereInput], {nullable:true}) - NOT?: Array; + @Field(() => StringFilter, { nullable: true }) + id?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - id?: StringFilter; + @Field(() => DateTimeFilter, { nullable: true }) + createdAt?: DateTimeFilter; - @Field(() => DateTimeFilter, {nullable:true}) - createdAt?: DateTimeFilter; + @Field(() => DateTimeFilter, { nullable: true }) + updatedAt?: DateTimeFilter; - @Field(() => DateTimeFilter, {nullable:true}) - updatedAt?: DateTimeFilter; + @Field(() => DateTimeNullableFilter, { nullable: true }) + deletedAt?: DateTimeNullableFilter; - @Field(() => DateTimeNullableFilter, {nullable:true}) - deletedAt?: DateTimeNullableFilter; + @Field(() => StringFilter, { nullable: true }) + domainName?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - domainName?: StringFilter; + @Field(() => StringFilter, { nullable: true }) + displayName?: StringFilter; - @Field(() => StringFilter, {nullable:true}) - displayName?: StringFilter; + @Field(() => StringNullableFilter, { nullable: true }) + logo?: StringNullableFilter; - @Field(() => StringNullableFilter, {nullable:true}) - logo?: StringNullableFilter; + @Field(() => WorkspaceMemberListRelationFilter, { nullable: true }) + WorkspaceMember?: WorkspaceMemberListRelationFilter; - @Field(() => WorkspaceMemberListRelationFilter, {nullable:true}) - WorkspaceMember?: WorkspaceMemberListRelationFilter; + @Field(() => CompanyListRelationFilter, { nullable: true }) + companies?: CompanyListRelationFilter; - @Field(() => CompanyListRelationFilter, {nullable:true}) - companies?: CompanyListRelationFilter; - - @Field(() => PersonListRelationFilter, {nullable:true}) - people?: PersonListRelationFilter; + @Field(() => PersonListRelationFilter, { nullable: true }) + people?: PersonListRelationFilter; } diff --git a/server/src/api/@generated/workspace/workspace.model.ts b/server/src/api/@generated/workspace/workspace.model.ts index 5a7afe6f15..b6e14990d1 100644 --- a/server/src/api/@generated/workspace/workspace.model.ts +++ b/server/src/api/@generated/workspace/workspace.model.ts @@ -8,37 +8,36 @@ import { WorkspaceCount } from './workspace-count.output'; @ObjectType() export class Workspace { + @Field(() => ID, { nullable: false }) + id!: string; - @Field(() => ID, {nullable:false}) - id!: string; + @Field(() => Date, { nullable: false }) + createdAt!: Date; - @Field(() => Date, {nullable:false}) - createdAt!: Date; + @Field(() => Date, { nullable: false }) + updatedAt!: Date; - @Field(() => Date, {nullable:false}) - updatedAt!: Date; + @Field(() => Date, { nullable: true }) + deletedAt!: Date | null; - @Field(() => Date, {nullable:true}) - deletedAt!: Date | null; + @Field(() => String, { nullable: false }) + domainName!: string; - @Field(() => String, {nullable:false}) - domainName!: string; + @Field(() => String, { nullable: false }) + displayName!: string; - @Field(() => String, {nullable:false}) - displayName!: string; + @Field(() => String, { nullable: true }) + logo!: string | null; - @Field(() => String, {nullable:true}) - logo!: string | null; + @Field(() => [WorkspaceMember], { nullable: true }) + WorkspaceMember?: Array; - @Field(() => [WorkspaceMember], {nullable:true}) - WorkspaceMember?: Array; + @Field(() => [Company], { nullable: true }) + companies?: Array; - @Field(() => [Company], {nullable:true}) - companies?: Array; + @Field(() => [Person], { nullable: true }) + people?: Array; - @Field(() => [Person], {nullable:true}) - people?: Array; - - @Field(() => WorkspaceCount, {nullable:false}) - _count?: WorkspaceCount; + @Field(() => WorkspaceCount, { nullable: false }) + _count?: WorkspaceCount; } diff --git a/server/src/api/resolvers/relations/company-relations.resolver.ts b/server/src/api/resolvers/relations/company-relations.resolver.ts index c2ad7368c3..46ee910cda 100644 --- a/server/src/api/resolvers/relations/company-relations.resolver.ts +++ b/server/src/api/resolvers/relations/company-relations.resolver.ts @@ -1,6 +1,5 @@ import * as TypeGraphQL from '@nestjs/graphql'; import { Company } from 'src/api/@generated/company/company.model'; -import { Person } from 'src/api/@generated/person/person.model'; import { User } from 'src/api/@generated/user/user.model'; import { Workspace } from 'src/api/@generated/workspace/workspace.model'; import { PrismaService } from 'src/database/prisma.service'; diff --git a/server/src/api/resolvers/relations/workspace-member-relations.resolver.ts b/server/src/api/resolvers/relations/workspace-member-relations.resolver.ts index 7ff9e91810..a74c9e7bad 100644 --- a/server/src/api/resolvers/relations/workspace-member-relations.resolver.ts +++ b/server/src/api/resolvers/relations/workspace-member-relations.resolver.ts @@ -1,5 +1,4 @@ import * as TypeGraphQL from '@nestjs/graphql'; -import type { GraphQLResolveInfo } from 'graphql'; import { User } from 'src/api/@generated/user/user.model'; import { WorkspaceMember } from 'src/api/@generated/workspace-member/workspace-member.model'; import { Workspace } from 'src/api/@generated/workspace/workspace.model'; @@ -14,7 +13,6 @@ export class WorkspaceMemberRelationsResolver { }) async user( @TypeGraphQL.Parent() workspaceMember: WorkspaceMember, - @TypeGraphQL.Info() info: GraphQLResolveInfo, ): Promise { return await this.prismaService.workspaceMember .findUniqueOrThrow({ @@ -25,12 +23,11 @@ export class WorkspaceMemberRelationsResolver { .user({}); } - @TypeGraphQL.ResolveField((_type) => Workspace, { + @TypeGraphQL.ResolveField(() => Workspace, { nullable: false, }) async workspace( @TypeGraphQL.Parent() workspaceMember: WorkspaceMember, - @TypeGraphQL.Info() info: GraphQLResolveInfo, ): Promise { return this.prismaService.workspaceMember .findUniqueOrThrow({ diff --git a/server/src/api/resolvers/user.resolver.ts b/server/src/api/resolvers/user.resolver.ts index 1aaec77fb0..8afbd9146f 100644 --- a/server/src/api/resolvers/user.resolver.ts +++ b/server/src/api/resolvers/user.resolver.ts @@ -1,4 +1,4 @@ -import { Resolver, Query, Args, Mutation } from '@nestjs/graphql'; +import { Resolver, Query, Args } from '@nestjs/graphql'; import { PrismaService } from 'src/database/prisma.service'; import { UseGuards } from '@nestjs/common'; import { JwtAuthGuard } from 'src/auth/guards/jwt.auth.guard'; diff --git a/server/src/app.controller.ts b/server/src/app.controller.ts index 4454e3e033..c73d6d8de8 100644 --- a/server/src/app.controller.ts +++ b/server/src/app.controller.ts @@ -1,4 +1,4 @@ -import { Controller, Get } from '@nestjs/common'; +import { Controller } from '@nestjs/common'; import { AppService } from './app.service'; @Controller() diff --git a/server/src/auth/auth.module.ts b/server/src/auth/auth.module.ts index bf14866adc..9bdead790a 100644 --- a/server/src/auth/auth.module.ts +++ b/server/src/auth/auth.module.ts @@ -1,5 +1,5 @@ import { Module } from '@nestjs/common'; -import { JwtModule, JwtService } from '@nestjs/jwt'; +import { JwtModule } from '@nestjs/jwt'; import { ConfigModule, ConfigService } from '@nestjs/config'; import { JwtAuthStrategy } from './strategies/jwt.auth.strategy'; import { AuthService } from './services/auth.service'; diff --git a/server/src/auth/google.auth.controller.ts b/server/src/auth/google.auth.controller.ts index c5e9ea5ef8..49aba87cfd 100644 --- a/server/src/auth/google.auth.controller.ts +++ b/server/src/auth/google.auth.controller.ts @@ -1,8 +1,15 @@ -import { Controller, Get, Req, Res, UseGuards } from '@nestjs/common'; +import { + Controller, + Get, + HttpException, + HttpStatus, + Req, + Res, + UseGuards, +} from '@nestjs/common'; import { AuthGuard } from '@nestjs/passport'; import { Request, Response } from 'express'; import { AuthService } from './services/auth.service'; -import { Profile } from 'passport-google-oauth20'; @Controller('auth/google') export class GoogleAuthController { @@ -10,18 +17,27 @@ export class GoogleAuthController { @Get() @UseGuards(AuthGuard('google')) - async googleAuth(@Req() req) {} + async googleAuth() { + // As this method is protected by Google Auth guard, it will trigger Google SSO flow + return; + } @Get('redirect') @UseGuards(AuthGuard('google')) async googleAuthRedirect(@Req() req: Request, @Res() res: Response) { - const user = await this.authService.upsertUser(req.user as { firstName: string, lastName: string, email: string }) + const user = await this.authService.upsertUser( + req.user as { firstName: string; lastName: string; email: string }, + ); if (!user) { - return res.status(400).send('User not created'); + throw new HttpException( + { reason: 'User email domain does not match an existing workspace' }, + HttpStatus.INTERNAL_SERVER_ERROR, + ); } - const refreshToken = await this.authService.registerRefreshToken(user) - return res.redirect(this.authService.computeRedirectURI(refreshToken.refreshToken)); + const refreshToken = await this.authService.registerRefreshToken(user); + return res.redirect( + this.authService.computeRedirectURI(refreshToken.refreshToken), + ); } - -} \ No newline at end of file +} diff --git a/server/src/auth/services/auth.service.ts b/server/src/auth/services/auth.service.ts index 8e734613c7..e013161fe9 100644 --- a/server/src/auth/services/auth.service.ts +++ b/server/src/auth/services/auth.service.ts @@ -1,9 +1,7 @@ -import { Injectable } from '@nestjs/common'; +import { HttpException, HttpStatus, Injectable } from '@nestjs/common'; import { JwtService } from '@nestjs/jwt'; import { JwtPayload } from '../strategies/jwt.auth.strategy'; -import { randomUUID } from 'crypto'; import { ConfigService } from '@nestjs/config'; -import { Profile } from 'passport-google-oauth20'; import { UserRepository } from 'src/entities/user/user.repository'; import { WorkspaceRepository } from 'src/entities/workspace/workspace.repository'; import { RefreshTokenRepository } from 'src/entities/refresh-token/refresh-token.repository'; @@ -26,17 +24,26 @@ export class AuthService { email: string; }) { if (!rawUser.email) { - return; + throw new HttpException( + { reason: 'Email is missing' }, + HttpStatus.BAD_REQUEST, + ); } if (!rawUser.firstName || !rawUser.lastName) { - return; + throw new HttpException( + { reason: 'Firstname or lastname is missing' }, + HttpStatus.BAD_REQUEST, + ); } const emailDomain = rawUser.email.split('@')[1]; if (!emailDomain) { - return; + throw new HttpException( + { reason: 'Email is malformed' }, + HttpStatus.BAD_REQUEST, + ); } const workspace = await this.workspaceRepository.findUnique({ @@ -44,7 +51,10 @@ export class AuthService { }); if (!workspace) { - return; + throw new HttpException( + { reason: 'User email domain does not match an existing workspace' }, + HttpStatus.FORBIDDEN, + ); } const user = await this.userRepository.upsertUser({ diff --git a/server/src/auth/strategies/google.auth.strategy.ts b/server/src/auth/strategies/google.auth.strategy.ts index 516c644c9e..4142045bc3 100644 --- a/server/src/auth/strategies/google.auth.strategy.ts +++ b/server/src/auth/strategies/google.auth.strategy.ts @@ -6,7 +6,6 @@ import { ConfigService } from '@nestjs/config'; @Injectable() export class GoogleStrategy extends PassportStrategy(Strategy, 'google') { - constructor(configService: ConfigService) { super({ clientID: configService.get('AUTH_GOOGLE_CLIENT_ID'), @@ -16,15 +15,21 @@ export class GoogleStrategy extends PassportStrategy(Strategy, 'google') { }); } - async validate (accessToken: string, refreshToken: string, profile: any, done: VerifyCallback): Promise { - const { name, emails, photos } = profile + async validate( + accessToken: string, + refreshToken: string, + profile: any, + done: VerifyCallback, + ): Promise { + const { name, emails, photos } = profile; const user = { email: emails[0].value, firstName: name.givenName, lastName: name.familyName, picture: photos[0].value, - accessToken - } + refreshToken, + accessToken, + }; done(null, user); } -} \ No newline at end of file +} diff --git a/server/src/database/seeds/companies.ts b/server/src/database/seeds/companies.ts index 1714e0cba3..4aaf839a22 100644 --- a/server/src/database/seeds/companies.ts +++ b/server/src/database/seeds/companies.ts @@ -1,4 +1,4 @@ -import { PrismaClient } from '@prisma/client' +import { PrismaClient } from '@prisma/client'; export const seedCompanies = async (prisma: PrismaClient) => { await prisma.company.upsert({ where: { id: 'fe256b39-3ec3-4fe3-8997-b76aa0bfa408' }, @@ -10,7 +10,7 @@ export const seedCompanies = async (prisma: PrismaClient) => { workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419', address: '', }, - }) + }); await prisma.company.upsert({ where: { id: '118995f3-5d81-46d6-bf83-f7fd33ea6102' }, update: {}, @@ -21,7 +21,7 @@ export const seedCompanies = async (prisma: PrismaClient) => { workspaceId: '7ed9d212-1c25-4d02-bf25-6aeccf7ea419', address: '', }, - }) + }); await prisma.company.upsert({ where: { id: '04b2e9f5-0713-40a5-8216-82802401d33e' }, update: {}, @@ -88,7 +88,7 @@ export const seedCompanies = async (prisma: PrismaClient) => { address: '', }, }); - + await prisma.company.upsert({ where: { id: '9d162de6-cfbf-4156-a790-e39854dcd4eb' }, update: {}, @@ -100,7 +100,7 @@ export const seedCompanies = async (prisma: PrismaClient) => { address: '', }, }); - + await prisma.company.upsert({ where: { id: 'aaffcfbd-f86b-419f-b794-02319abe8637' }, update: {}, @@ -112,7 +112,7 @@ export const seedCompanies = async (prisma: PrismaClient) => { address: '', }, }); - + await prisma.company.upsert({ where: { id: 'f33dc242-5518-4553-9433-42d8eb82834b' }, update: {}, @@ -124,7 +124,7 @@ export const seedCompanies = async (prisma: PrismaClient) => { address: '', }, }); - + await prisma.company.upsert({ where: { id: 'a7bc68d5-f79e-40dd-bd06-c36e6abb4678' }, update: {}, @@ -147,4 +147,4 @@ export const seedCompanies = async (prisma: PrismaClient) => { address: '', }, }); -} +}; diff --git a/server/src/entities/company/company.module.ts b/server/src/entities/company/company.module.ts index b277a2743e..f943820c3a 100644 --- a/server/src/entities/company/company.module.ts +++ b/server/src/entities/company/company.module.ts @@ -3,8 +3,8 @@ import { CompanyRepository } from './company.repository'; import { PrismaModule } from 'src/database/prisma.module'; @Module({ - imports: [PrismaModule], - providers: [CompanyRepository], - exports: [CompanyRepository] - }) + imports: [PrismaModule], + providers: [CompanyRepository], + exports: [CompanyRepository], +}) export class CompanyModule {} diff --git a/server/src/entities/company/company.repository.ts b/server/src/entities/company/company.repository.ts index 55e5114183..60973db81d 100644 --- a/server/src/entities/company/company.repository.ts +++ b/server/src/entities/company/company.repository.ts @@ -4,22 +4,22 @@ import { PrismaService } from 'src/database/prisma.service'; @Injectable() export class CompanyRepository { - constructor(private prisma: PrismaService) {} + constructor(private prisma: PrismaService) {} - async findMany(params: { - skip?: number; - take?: number; - cursor?: Prisma.CompanyWhereUniqueInput; - where?: Prisma.CompanyWhereInput; - orderBy?: Prisma.CompanyOrderByWithRelationInput; - }): Promise { - const { skip, take, cursor, where, orderBy } = params; - return this.prisma.company.findMany({ skip, take, cursor, where, orderBy }); - } + async findMany(params: { + skip?: number; + take?: number; + cursor?: Prisma.CompanyWhereUniqueInput; + where?: Prisma.CompanyWhereInput; + orderBy?: Prisma.CompanyOrderByWithRelationInput; + }): Promise { + const { skip, take, cursor, where, orderBy } = params; + return this.prisma.company.findMany({ skip, take, cursor, where, orderBy }); + } - async findOne(id: string | null) { - if (id === null) return null; - const company = await this.prisma.company.findUnique({ where: { id } }); - return company; - } + async findOne(id: string | null) { + if (id === null) return null; + const company = await this.prisma.company.findUnique({ where: { id } }); + return company; + } } diff --git a/server/src/entities/person/person.module.ts b/server/src/entities/person/person.module.ts index 160a43892e..379b8877ac 100644 --- a/server/src/entities/person/person.module.ts +++ b/server/src/entities/person/person.module.ts @@ -3,8 +3,8 @@ import { PersonRepository } from './person.repository'; import { PrismaModule } from 'src/database/prisma.module'; @Module({ - imports: [PrismaModule], - providers: [PersonRepository], - exports: [PersonRepository] - }) + imports: [PrismaModule], + providers: [PersonRepository], + exports: [PersonRepository], +}) export class PersonModule {} diff --git a/server/src/entities/refresh-token/refresh-token.repository.ts b/server/src/entities/refresh-token/refresh-token.repository.ts index b849103a4c..76f8803803 100644 --- a/server/src/entities/refresh-token/refresh-token.repository.ts +++ b/server/src/entities/refresh-token/refresh-token.repository.ts @@ -4,28 +4,29 @@ import { PrismaService } from 'src/database/prisma.service'; @Injectable() export class RefreshTokenRepository { - constructor(private prisma: PrismaService) {} + constructor(private prisma: PrismaService) {} - async upsertRefreshToken(params: { data: Prisma.RefreshTokenUncheckedCreateInput}): Promise { - const { data } = params; - - return await this.prisma.refreshToken.upsert({ - where: { - id: data.id, - }, - create: { - id: data.id, - userId: data.userId, - refreshToken: data.refreshToken, - }, - update: { - } - }); - } + async upsertRefreshToken(params: { + data: Prisma.RefreshTokenUncheckedCreateInput; + }): Promise { + const { data } = params; - async findFirst( - data: Prisma.RefreshTokenFindFirstArgs, - ): Promise { - return await this.prisma.refreshToken.findFirst(data); - } + return await this.prisma.refreshToken.upsert({ + where: { + id: data.id, + }, + create: { + id: data.id, + userId: data.userId, + refreshToken: data.refreshToken, + }, + update: {}, + }); + } + + async findFirst( + data: Prisma.RefreshTokenFindFirstArgs, + ): Promise { + return await this.prisma.refreshToken.findFirst(data); + } } diff --git a/server/src/entities/user/user.module.ts b/server/src/entities/user/user.module.ts index 911de92334..1e14ec4ada 100644 --- a/server/src/entities/user/user.module.ts +++ b/server/src/entities/user/user.module.ts @@ -3,8 +3,8 @@ import { UserRepository } from './user.repository'; import { PrismaModule } from 'src/database/prisma.module'; @Module({ - imports: [PrismaModule], - providers: [UserRepository], - exports: [UserRepository] - }) + imports: [PrismaModule], + providers: [UserRepository], + exports: [UserRepository], +}) export class UserModule {} diff --git a/server/src/entities/workspace/workspace.module.ts b/server/src/entities/workspace/workspace.module.ts index 717eecc3e9..ed54e0f09c 100644 --- a/server/src/entities/workspace/workspace.module.ts +++ b/server/src/entities/workspace/workspace.module.ts @@ -3,8 +3,8 @@ import { WorkspaceRepository } from './workspace.repository'; import { PrismaModule } from 'src/database/prisma.module'; @Module({ - imports: [PrismaModule], - providers: [WorkspaceRepository], - exports: [WorkspaceRepository] - }) + imports: [PrismaModule], + providers: [WorkspaceRepository], + exports: [WorkspaceRepository], +}) export class WorkspaceModule {} diff --git a/server/src/prisma/prisma.module.ts b/server/src/prisma/prisma.module.ts deleted file mode 100644 index ec0ce32915..0000000000 --- a/server/src/prisma/prisma.module.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Module } from '@nestjs/common'; -import { PrismaService } from './prisma.service'; - -@Module({ - providers: [PrismaService], - exports: [PrismaService], -}) -export class PrismaModule {} diff --git a/server/src/prisma/prisma.service.ts b/server/src/prisma/prisma.service.ts deleted file mode 100644 index edf6532021..0000000000 --- a/server/src/prisma/prisma.service.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { INestApplication, Injectable, OnModuleInit } from '@nestjs/common'; -import { PrismaClient } from '@prisma/client'; - -@Injectable() -export class PrismaService extends PrismaClient implements OnModuleInit { - async onModuleInit() { - await this.$connect(); - } - - async enableShutdownHooks(app: INestApplication) { - this.$on('beforeExit', async () => { - await app.close(); - }); - } -}