Skip to content

Commit

Permalink
chore: Regenerate
Browse files Browse the repository at this point in the history
  • Loading branch information
unlight committed Jul 24, 2023
1 parent 1e1bee3 commit b28a6d1
Show file tree
Hide file tree
Showing 134 changed files with 400 additions and 188 deletions.
3 changes: 2 additions & 1 deletion @generated/article/article-aggregate.args.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { ArgsType } from '@nestjs/graphql';
import { ArticleWhereInput } from './article-where.input';
import { Type } from 'class-transformer';
import { ArticleOrderByWithRelationAndSearchRelevanceInput } from './article-order-by-with-relation-and-search-relevance.input';
import { Prisma } from '@prisma/client';
import { ArticleWhereUniqueInput } from './article-where-unique.input';
import { Int } from '@nestjs/graphql';
import { ArticleCountAggregateInput } from './article-count-aggregate.input';
Expand All @@ -21,7 +22,7 @@ export class ArticleAggregateArgs {
orderBy?: Array<ArticleOrderByWithRelationAndSearchRelevanceInput>;

@Field(() => ArticleWhereUniqueInput, { nullable: true })
cursor?: ArticleWhereUniqueInput;
cursor?: Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>;

@Field(() => Int, { nullable: true })
take?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { ArticleCreateWithoutAuthorInput } from './article-create-without-author
import { Type } from 'class-transformer';
import { ArticleCreateOrConnectWithoutAuthorInput } from './article-create-or-connect-without-author.input';
import { ArticleCreateManyAuthorInputEnvelope } from './article-create-many-author-input-envelope.input';
import { Prisma } from '@prisma/client';
import { ArticleWhereUniqueInput } from './article-where-unique.input';

@InputType()
Expand All @@ -22,5 +23,5 @@ export class ArticleCreateNestedManyWithoutAuthorInput {

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
connect?: Array<ArticleWhereUniqueInput>;
connect?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { InputType } from '@nestjs/graphql';
import { ArticleCreateWithoutFavoritedByInput } from './article-create-without-favorited-by.input';
import { Type } from 'class-transformer';
import { ArticleCreateOrConnectWithoutFavoritedByInput } from './article-create-or-connect-without-favorited-by.input';
import { Prisma } from '@prisma/client';
import { ArticleWhereUniqueInput } from './article-where-unique.input';

@InputType()
Expand All @@ -17,5 +18,5 @@ export class ArticleCreateNestedManyWithoutFavoritedByInput {

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
connect?: Array<ArticleWhereUniqueInput>;
connect?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { InputType } from '@nestjs/graphql';
import { ArticleCreateWithoutTagsInput } from './article-create-without-tags.input';
import { Type } from 'class-transformer';
import { ArticleCreateOrConnectWithoutTagsInput } from './article-create-or-connect-without-tags.input';
import { Prisma } from '@prisma/client';
import { ArticleWhereUniqueInput } from './article-where-unique.input';

@InputType()
Expand All @@ -17,5 +18,5 @@ export class ArticleCreateNestedManyWithoutTagsInput {

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
connect?: Array<ArticleWhereUniqueInput>;
connect?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { InputType } from '@nestjs/graphql';
import { ArticleCreateWithoutCommentsInput } from './article-create-without-comments.input';
import { Type } from 'class-transformer';
import { ArticleCreateOrConnectWithoutCommentsInput } from './article-create-or-connect-without-comments.input';
import { Prisma } from '@prisma/client';
import { ArticleWhereUniqueInput } from './article-where-unique.input';

@InputType()
Expand All @@ -17,5 +18,5 @@ export class ArticleCreateNestedOneWithoutCommentsInput {

@Field(() => ArticleWhereUniqueInput, { nullable: true })
@Type(() => ArticleWhereUniqueInput)
connect?: ArticleWhereUniqueInput;
connect?: Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { Prisma } from '@prisma/client';
import { ArticleWhereUniqueInput } from './article-where-unique.input';
import { Type } from 'class-transformer';
import { ArticleCreateWithoutAuthorInput } from './article-create-without-author.input';
Expand All @@ -8,7 +9,7 @@ import { ArticleCreateWithoutAuthorInput } from './article-create-without-author
export class ArticleCreateOrConnectWithoutAuthorInput {
@Field(() => ArticleWhereUniqueInput, { nullable: false })
@Type(() => ArticleWhereUniqueInput)
where!: ArticleWhereUniqueInput;
where!: Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>;

@Field(() => ArticleCreateWithoutAuthorInput, { nullable: false })
@Type(() => ArticleCreateWithoutAuthorInput)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { Prisma } from '@prisma/client';
import { ArticleWhereUniqueInput } from './article-where-unique.input';
import { Type } from 'class-transformer';
import { ArticleCreateWithoutCommentsInput } from './article-create-without-comments.input';
Expand All @@ -8,7 +9,7 @@ import { ArticleCreateWithoutCommentsInput } from './article-create-without-comm
export class ArticleCreateOrConnectWithoutCommentsInput {
@Field(() => ArticleWhereUniqueInput, { nullable: false })
@Type(() => ArticleWhereUniqueInput)
where!: ArticleWhereUniqueInput;
where!: Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>;

@Field(() => ArticleCreateWithoutCommentsInput, { nullable: false })
@Type(() => ArticleCreateWithoutCommentsInput)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { Prisma } from '@prisma/client';
import { ArticleWhereUniqueInput } from './article-where-unique.input';
import { Type } from 'class-transformer';
import { ArticleCreateWithoutFavoritedByInput } from './article-create-without-favorited-by.input';
Expand All @@ -8,7 +9,7 @@ import { ArticleCreateWithoutFavoritedByInput } from './article-create-without-f
export class ArticleCreateOrConnectWithoutFavoritedByInput {
@Field(() => ArticleWhereUniqueInput, { nullable: false })
@Type(() => ArticleWhereUniqueInput)
where!: ArticleWhereUniqueInput;
where!: Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>;

@Field(() => ArticleCreateWithoutFavoritedByInput, { nullable: false })
@Type(() => ArticleCreateWithoutFavoritedByInput)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { Prisma } from '@prisma/client';
import { ArticleWhereUniqueInput } from './article-where-unique.input';
import { Type } from 'class-transformer';
import { ArticleCreateWithoutTagsInput } from './article-create-without-tags.input';
Expand All @@ -8,7 +9,7 @@ import { ArticleCreateWithoutTagsInput } from './article-create-without-tags.inp
export class ArticleCreateOrConnectWithoutTagsInput {
@Field(() => ArticleWhereUniqueInput, { nullable: false })
@Type(() => ArticleWhereUniqueInput)
where!: ArticleWhereUniqueInput;
where!: Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>;

@Field(() => ArticleCreateWithoutTagsInput, { nullable: false })
@Type(() => ArticleCreateWithoutTagsInput)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { ArticleCreateWithoutAuthorInput } from './article-create-without-author
import { Type } from 'class-transformer';
import { ArticleCreateOrConnectWithoutAuthorInput } from './article-create-or-connect-without-author.input';
import { ArticleCreateManyAuthorInputEnvelope } from './article-create-many-author-input-envelope.input';
import { Prisma } from '@prisma/client';
import { ArticleWhereUniqueInput } from './article-where-unique.input';

@InputType()
Expand All @@ -22,5 +23,5 @@ export class ArticleUncheckedCreateNestedManyWithoutAuthorInput {

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
connect?: Array<ArticleWhereUniqueInput>;
connect?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { InputType } from '@nestjs/graphql';
import { ArticleCreateWithoutFavoritedByInput } from './article-create-without-favorited-by.input';
import { Type } from 'class-transformer';
import { ArticleCreateOrConnectWithoutFavoritedByInput } from './article-create-or-connect-without-favorited-by.input';
import { Prisma } from '@prisma/client';
import { ArticleWhereUniqueInput } from './article-where-unique.input';

@InputType()
Expand All @@ -17,5 +18,5 @@ export class ArticleUncheckedCreateNestedManyWithoutFavoritedByInput {

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
connect?: Array<ArticleWhereUniqueInput>;
connect?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { InputType } from '@nestjs/graphql';
import { ArticleCreateWithoutTagsInput } from './article-create-without-tags.input';
import { Type } from 'class-transformer';
import { ArticleCreateOrConnectWithoutTagsInput } from './article-create-or-connect-without-tags.input';
import { Prisma } from '@prisma/client';
import { ArticleWhereUniqueInput } from './article-where-unique.input';

@InputType()
Expand All @@ -17,5 +18,5 @@ export class ArticleUncheckedCreateNestedManyWithoutTagsInput {

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
connect?: Array<ArticleWhereUniqueInput>;
connect?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { Type } from 'class-transformer';
import { ArticleCreateOrConnectWithoutAuthorInput } from './article-create-or-connect-without-author.input';
import { ArticleUpsertWithWhereUniqueWithoutAuthorInput } from './article-upsert-with-where-unique-without-author.input';
import { ArticleCreateManyAuthorInputEnvelope } from './article-create-many-author-input-envelope.input';
import { Prisma } from '@prisma/client';
import { ArticleWhereUniqueInput } from './article-where-unique.input';
import { ArticleUpdateWithWhereUniqueWithoutAuthorInput } from './article-update-with-where-unique-without-author.input';
import { ArticleUpdateManyWithWhereWithoutAuthorInput } from './article-update-many-with-where-without-author.input';
Expand All @@ -30,19 +31,19 @@ export class ArticleUncheckedUpdateManyWithoutAuthorNestedInput {

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
set?: Array<ArticleWhereUniqueInput>;
set?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
disconnect?: Array<ArticleWhereUniqueInput>;
disconnect?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
delete?: Array<ArticleWhereUniqueInput>;
delete?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
connect?: Array<ArticleWhereUniqueInput>;
connect?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;

@Field(() => [ArticleUpdateWithWhereUniqueWithoutAuthorInput], { nullable: true })
@Type(() => ArticleUpdateWithWhereUniqueWithoutAuthorInput)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { ArticleCreateWithoutFavoritedByInput } from './article-create-without-f
import { Type } from 'class-transformer';
import { ArticleCreateOrConnectWithoutFavoritedByInput } from './article-create-or-connect-without-favorited-by.input';
import { ArticleUpsertWithWhereUniqueWithoutFavoritedByInput } from './article-upsert-with-where-unique-without-favorited-by.input';
import { Prisma } from '@prisma/client';
import { ArticleWhereUniqueInput } from './article-where-unique.input';
import { ArticleUpdateWithWhereUniqueWithoutFavoritedByInput } from './article-update-with-where-unique-without-favorited-by.input';
import { ArticleUpdateManyWithWhereWithoutFavoritedByInput } from './article-update-many-with-where-without-favorited-by.input';
Expand All @@ -27,19 +28,19 @@ export class ArticleUncheckedUpdateManyWithoutFavoritedByNestedInput {

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
set?: Array<ArticleWhereUniqueInput>;
set?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
disconnect?: Array<ArticleWhereUniqueInput>;
disconnect?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
delete?: Array<ArticleWhereUniqueInput>;
delete?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
connect?: Array<ArticleWhereUniqueInput>;
connect?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;

@Field(() => [ArticleUpdateWithWhereUniqueWithoutFavoritedByInput], {
nullable: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { ArticleCreateWithoutTagsInput } from './article-create-without-tags.inp
import { Type } from 'class-transformer';
import { ArticleCreateOrConnectWithoutTagsInput } from './article-create-or-connect-without-tags.input';
import { ArticleUpsertWithWhereUniqueWithoutTagsInput } from './article-upsert-with-where-unique-without-tags.input';
import { Prisma } from '@prisma/client';
import { ArticleWhereUniqueInput } from './article-where-unique.input';
import { ArticleUpdateWithWhereUniqueWithoutTagsInput } from './article-update-with-where-unique-without-tags.input';
import { ArticleUpdateManyWithWhereWithoutTagsInput } from './article-update-many-with-where-without-tags.input';
Expand All @@ -25,19 +26,19 @@ export class ArticleUncheckedUpdateManyWithoutTagsNestedInput {

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
set?: Array<ArticleWhereUniqueInput>;
set?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
disconnect?: Array<ArticleWhereUniqueInput>;
disconnect?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
delete?: Array<ArticleWhereUniqueInput>;
delete?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
connect?: Array<ArticleWhereUniqueInput>;
connect?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;

@Field(() => [ArticleUpdateWithWhereUniqueWithoutTagsInput], { nullable: true })
@Type(() => ArticleUpdateWithWhereUniqueWithoutTagsInput)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { Type } from 'class-transformer';
import { ArticleCreateOrConnectWithoutAuthorInput } from './article-create-or-connect-without-author.input';
import { ArticleUpsertWithWhereUniqueWithoutAuthorInput } from './article-upsert-with-where-unique-without-author.input';
import { ArticleCreateManyAuthorInputEnvelope } from './article-create-many-author-input-envelope.input';
import { Prisma } from '@prisma/client';
import { ArticleWhereUniqueInput } from './article-where-unique.input';
import { ArticleUpdateWithWhereUniqueWithoutAuthorInput } from './article-update-with-where-unique-without-author.input';
import { ArticleUpdateManyWithWhereWithoutAuthorInput } from './article-update-many-with-where-without-author.input';
Expand All @@ -30,19 +31,19 @@ export class ArticleUpdateManyWithoutAuthorNestedInput {

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
set?: Array<ArticleWhereUniqueInput>;
set?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
disconnect?: Array<ArticleWhereUniqueInput>;
disconnect?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
delete?: Array<ArticleWhereUniqueInput>;
delete?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
connect?: Array<ArticleWhereUniqueInput>;
connect?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;

@Field(() => [ArticleUpdateWithWhereUniqueWithoutAuthorInput], { nullable: true })
@Type(() => ArticleUpdateWithWhereUniqueWithoutAuthorInput)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { ArticleCreateWithoutFavoritedByInput } from './article-create-without-f
import { Type } from 'class-transformer';
import { ArticleCreateOrConnectWithoutFavoritedByInput } from './article-create-or-connect-without-favorited-by.input';
import { ArticleUpsertWithWhereUniqueWithoutFavoritedByInput } from './article-upsert-with-where-unique-without-favorited-by.input';
import { Prisma } from '@prisma/client';
import { ArticleWhereUniqueInput } from './article-where-unique.input';
import { ArticleUpdateWithWhereUniqueWithoutFavoritedByInput } from './article-update-with-where-unique-without-favorited-by.input';
import { ArticleUpdateManyWithWhereWithoutFavoritedByInput } from './article-update-many-with-where-without-favorited-by.input';
Expand All @@ -27,19 +28,19 @@ export class ArticleUpdateManyWithoutFavoritedByNestedInput {

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
set?: Array<ArticleWhereUniqueInput>;
set?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
disconnect?: Array<ArticleWhereUniqueInput>;
disconnect?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
delete?: Array<ArticleWhereUniqueInput>;
delete?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;

@Field(() => [ArticleWhereUniqueInput], { nullable: true })
@Type(() => ArticleWhereUniqueInput)
connect?: Array<ArticleWhereUniqueInput>;
connect?: Array<Prisma.AtLeast<ArticleWhereUniqueInput, 'id' | 'slug'>>;

@Field(() => [ArticleUpdateWithWhereUniqueWithoutFavoritedByInput], {
nullable: true,
Expand Down
Loading

0 comments on commit b28a6d1

Please sign in to comment.