Skip to content

Commit 1456303

Browse files
authored
chore!: Update library to support to Prisma v4
BREAKING CHANGE: Update library to support to Prisma v4 close: #123
2 parents 003e07e + cf5763d commit 1456303

File tree

63 files changed

+590
-469
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+590
-469
lines changed

@generated/article/article-unchecked-update-many-without-author.input.ts renamed to @generated/article/article-unchecked-update-many-without-author-nested.input.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { ArticleUpdateManyWithWhereWithoutAuthorInput } from './article-update-m
1111
import { ArticleScalarWhereInput } from './article-scalar-where.input';
1212

1313
@InputType()
14-
export class ArticleUncheckedUpdateManyWithoutAuthorInput {
14+
export class ArticleUncheckedUpdateManyWithoutAuthorNestedInput {
1515
@Field(() => [ArticleCreateWithoutAuthorInput], { nullable: true })
1616
@Type(() => ArticleCreateWithoutAuthorInput)
1717
create?: Array<ArticleCreateWithoutAuthorInput>;

@generated/article/article-unchecked-update-many-without-favorited-by.input.ts renamed to @generated/article/article-unchecked-update-many-without-favorited-by-nested.input.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { ArticleUpdateManyWithWhereWithoutFavoritedByInput } from './article-upd
1010
import { ArticleScalarWhereInput } from './article-scalar-where.input';
1111

1212
@InputType()
13-
export class ArticleUncheckedUpdateManyWithoutFavoritedByInput {
13+
export class ArticleUncheckedUpdateManyWithoutFavoritedByNestedInput {
1414
@Field(() => [ArticleCreateWithoutFavoritedByInput], { nullable: true })
1515
@Type(() => ArticleCreateWithoutFavoritedByInput)
1616
create?: Array<ArticleCreateWithoutFavoritedByInput>;

@generated/article/article-unchecked-update-many-without-tags.input.ts renamed to @generated/article/article-unchecked-update-many-without-tags-nested.input.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { ArticleUpdateManyWithWhereWithoutTagsInput } from './article-update-man
1010
import { ArticleScalarWhereInput } from './article-scalar-where.input';
1111

1212
@InputType()
13-
export class ArticleUncheckedUpdateManyWithoutTagsInput {
13+
export class ArticleUncheckedUpdateManyWithoutTagsNestedInput {
1414
@Field(() => [ArticleCreateWithoutTagsInput], { nullable: true })
1515
@Type(() => ArticleCreateWithoutTagsInput)
1616
create?: Array<ArticleCreateWithoutTagsInput>;

@generated/article/article-unchecked-update-without-author.input.ts

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { Field } from '@nestjs/graphql';
22
import { InputType } from '@nestjs/graphql';
33
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
4-
import { TagUncheckedUpdateManyWithoutArticlesInput } from '../tag/tag-unchecked-update-many-without-articles.input';
4+
import { TagUncheckedUpdateManyWithoutArticlesNestedInput } from '../tag/tag-unchecked-update-many-without-articles-nested.input';
55
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
66
import { IntFieldUpdateOperationsInput } from '../prisma/int-field-update-operations.input';
7-
import { UserUncheckedUpdateManyWithoutFavoriteArticlesInput } from '../user/user-unchecked-update-many-without-favorite-articles.input';
7+
import { UserUncheckedUpdateManyWithoutFavoriteArticlesNestedInput } from '../user/user-unchecked-update-many-without-favorite-articles-nested.input';
88
import { Type } from 'class-transformer';
9-
import { CommentUncheckedUpdateManyWithoutArticleInput } from '../comment/comment-unchecked-update-many-without-article.input';
9+
import { CommentUncheckedUpdateManyWithoutArticleNestedInput } from '../comment/comment-unchecked-update-many-without-article-nested.input';
1010
import { NullableBoolFieldUpdateOperationsInput } from '../prisma/nullable-bool-field-update-operations.input';
1111

1212
@InputType()
@@ -26,8 +26,8 @@ export class ArticleUncheckedUpdateWithoutAuthorInput {
2626
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
2727
body?: StringFieldUpdateOperationsInput;
2828

29-
@Field(() => TagUncheckedUpdateManyWithoutArticlesInput, { nullable: true })
30-
tags?: TagUncheckedUpdateManyWithoutArticlesInput;
29+
@Field(() => TagUncheckedUpdateManyWithoutArticlesNestedInput, { nullable: true })
30+
tags?: TagUncheckedUpdateManyWithoutArticlesNestedInput;
3131

3232
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
3333
createdAt?: DateTimeFieldUpdateOperationsInput;
@@ -38,12 +38,14 @@ export class ArticleUncheckedUpdateWithoutAuthorInput {
3838
@Field(() => IntFieldUpdateOperationsInput, { nullable: true })
3939
favoritesCount?: IntFieldUpdateOperationsInput;
4040

41-
@Field(() => UserUncheckedUpdateManyWithoutFavoriteArticlesInput, { nullable: true })
42-
@Type(() => UserUncheckedUpdateManyWithoutFavoriteArticlesInput)
43-
favoritedBy?: UserUncheckedUpdateManyWithoutFavoriteArticlesInput;
41+
@Field(() => UserUncheckedUpdateManyWithoutFavoriteArticlesNestedInput, {
42+
nullable: true,
43+
})
44+
@Type(() => UserUncheckedUpdateManyWithoutFavoriteArticlesNestedInput)
45+
favoritedBy?: UserUncheckedUpdateManyWithoutFavoriteArticlesNestedInput;
4446

45-
@Field(() => CommentUncheckedUpdateManyWithoutArticleInput, { nullable: true })
46-
comments?: CommentUncheckedUpdateManyWithoutArticleInput;
47+
@Field(() => CommentUncheckedUpdateManyWithoutArticleNestedInput, { nullable: true })
48+
comments?: CommentUncheckedUpdateManyWithoutArticleNestedInput;
4749

4850
@Field(() => NullableBoolFieldUpdateOperationsInput, { nullable: true })
4951
active?: NullableBoolFieldUpdateOperationsInput;

@generated/article/article-unchecked-update-without-comments.input.ts

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { Field } from '@nestjs/graphql';
22
import { InputType } from '@nestjs/graphql';
33
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
4-
import { TagUncheckedUpdateManyWithoutArticlesInput } from '../tag/tag-unchecked-update-many-without-articles.input';
4+
import { TagUncheckedUpdateManyWithoutArticlesNestedInput } from '../tag/tag-unchecked-update-many-without-articles-nested.input';
55
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
66
import { IntFieldUpdateOperationsInput } from '../prisma/int-field-update-operations.input';
7-
import { UserUncheckedUpdateManyWithoutFavoriteArticlesInput } from '../user/user-unchecked-update-many-without-favorite-articles.input';
7+
import { UserUncheckedUpdateManyWithoutFavoriteArticlesNestedInput } from '../user/user-unchecked-update-many-without-favorite-articles-nested.input';
88
import { Type } from 'class-transformer';
99
import { NullableBoolFieldUpdateOperationsInput } from '../prisma/nullable-bool-field-update-operations.input';
1010

@@ -25,8 +25,8 @@ export class ArticleUncheckedUpdateWithoutCommentsInput {
2525
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
2626
body?: StringFieldUpdateOperationsInput;
2727

28-
@Field(() => TagUncheckedUpdateManyWithoutArticlesInput, { nullable: true })
29-
tags?: TagUncheckedUpdateManyWithoutArticlesInput;
28+
@Field(() => TagUncheckedUpdateManyWithoutArticlesNestedInput, { nullable: true })
29+
tags?: TagUncheckedUpdateManyWithoutArticlesNestedInput;
3030

3131
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
3232
createdAt?: DateTimeFieldUpdateOperationsInput;
@@ -40,9 +40,11 @@ export class ArticleUncheckedUpdateWithoutCommentsInput {
4040
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
4141
authorId?: StringFieldUpdateOperationsInput;
4242

43-
@Field(() => UserUncheckedUpdateManyWithoutFavoriteArticlesInput, { nullable: true })
44-
@Type(() => UserUncheckedUpdateManyWithoutFavoriteArticlesInput)
45-
favoritedBy?: UserUncheckedUpdateManyWithoutFavoriteArticlesInput;
43+
@Field(() => UserUncheckedUpdateManyWithoutFavoriteArticlesNestedInput, {
44+
nullable: true,
45+
})
46+
@Type(() => UserUncheckedUpdateManyWithoutFavoriteArticlesNestedInput)
47+
favoritedBy?: UserUncheckedUpdateManyWithoutFavoriteArticlesNestedInput;
4648

4749
@Field(() => NullableBoolFieldUpdateOperationsInput, { nullable: true })
4850
active?: NullableBoolFieldUpdateOperationsInput;

@generated/article/article-unchecked-update-without-favorited-by.input.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { Field } from '@nestjs/graphql';
22
import { InputType } from '@nestjs/graphql';
33
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
4-
import { TagUncheckedUpdateManyWithoutArticlesInput } from '../tag/tag-unchecked-update-many-without-articles.input';
4+
import { TagUncheckedUpdateManyWithoutArticlesNestedInput } from '../tag/tag-unchecked-update-many-without-articles-nested.input';
55
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
66
import { IntFieldUpdateOperationsInput } from '../prisma/int-field-update-operations.input';
7-
import { CommentUncheckedUpdateManyWithoutArticleInput } from '../comment/comment-unchecked-update-many-without-article.input';
7+
import { CommentUncheckedUpdateManyWithoutArticleNestedInput } from '../comment/comment-unchecked-update-many-without-article-nested.input';
88
import { NullableBoolFieldUpdateOperationsInput } from '../prisma/nullable-bool-field-update-operations.input';
99

1010
@InputType()
@@ -24,8 +24,8 @@ export class ArticleUncheckedUpdateWithoutFavoritedByInput {
2424
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
2525
body?: StringFieldUpdateOperationsInput;
2626

27-
@Field(() => TagUncheckedUpdateManyWithoutArticlesInput, { nullable: true })
28-
tags?: TagUncheckedUpdateManyWithoutArticlesInput;
27+
@Field(() => TagUncheckedUpdateManyWithoutArticlesNestedInput, { nullable: true })
28+
tags?: TagUncheckedUpdateManyWithoutArticlesNestedInput;
2929

3030
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
3131
createdAt?: DateTimeFieldUpdateOperationsInput;
@@ -39,8 +39,8 @@ export class ArticleUncheckedUpdateWithoutFavoritedByInput {
3939
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
4040
authorId?: StringFieldUpdateOperationsInput;
4141

42-
@Field(() => CommentUncheckedUpdateManyWithoutArticleInput, { nullable: true })
43-
comments?: CommentUncheckedUpdateManyWithoutArticleInput;
42+
@Field(() => CommentUncheckedUpdateManyWithoutArticleNestedInput, { nullable: true })
43+
comments?: CommentUncheckedUpdateManyWithoutArticleNestedInput;
4444

4545
@Field(() => NullableBoolFieldUpdateOperationsInput, { nullable: true })
4646
active?: NullableBoolFieldUpdateOperationsInput;

@generated/article/article-unchecked-update-without-tags.input.ts

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import { InputType } from '@nestjs/graphql';
33
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
44
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
55
import { IntFieldUpdateOperationsInput } from '../prisma/int-field-update-operations.input';
6-
import { UserUncheckedUpdateManyWithoutFavoriteArticlesInput } from '../user/user-unchecked-update-many-without-favorite-articles.input';
6+
import { UserUncheckedUpdateManyWithoutFavoriteArticlesNestedInput } from '../user/user-unchecked-update-many-without-favorite-articles-nested.input';
77
import { Type } from 'class-transformer';
8-
import { CommentUncheckedUpdateManyWithoutArticleInput } from '../comment/comment-unchecked-update-many-without-article.input';
8+
import { CommentUncheckedUpdateManyWithoutArticleNestedInput } from '../comment/comment-unchecked-update-many-without-article-nested.input';
99
import { NullableBoolFieldUpdateOperationsInput } from '../prisma/nullable-bool-field-update-operations.input';
1010

1111
@InputType()
@@ -37,12 +37,14 @@ export class ArticleUncheckedUpdateWithoutTagsInput {
3737
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
3838
authorId?: StringFieldUpdateOperationsInput;
3939

40-
@Field(() => UserUncheckedUpdateManyWithoutFavoriteArticlesInput, { nullable: true })
41-
@Type(() => UserUncheckedUpdateManyWithoutFavoriteArticlesInput)
42-
favoritedBy?: UserUncheckedUpdateManyWithoutFavoriteArticlesInput;
40+
@Field(() => UserUncheckedUpdateManyWithoutFavoriteArticlesNestedInput, {
41+
nullable: true,
42+
})
43+
@Type(() => UserUncheckedUpdateManyWithoutFavoriteArticlesNestedInput)
44+
favoritedBy?: UserUncheckedUpdateManyWithoutFavoriteArticlesNestedInput;
4345

44-
@Field(() => CommentUncheckedUpdateManyWithoutArticleInput, { nullable: true })
45-
comments?: CommentUncheckedUpdateManyWithoutArticleInput;
46+
@Field(() => CommentUncheckedUpdateManyWithoutArticleNestedInput, { nullable: true })
47+
comments?: CommentUncheckedUpdateManyWithoutArticleNestedInput;
4648

4749
@Field(() => NullableBoolFieldUpdateOperationsInput, { nullable: true })
4850
active?: NullableBoolFieldUpdateOperationsInput;

@generated/article/article-unchecked-update.input.ts

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { Field } from '@nestjs/graphql';
22
import { InputType } from '@nestjs/graphql';
33
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
4-
import { TagUncheckedUpdateManyWithoutArticlesInput } from '../tag/tag-unchecked-update-many-without-articles.input';
4+
import { TagUncheckedUpdateManyWithoutArticlesNestedInput } from '../tag/tag-unchecked-update-many-without-articles-nested.input';
55
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
66
import { IntFieldUpdateOperationsInput } from '../prisma/int-field-update-operations.input';
7-
import { UserUncheckedUpdateManyWithoutFavoriteArticlesInput } from '../user/user-unchecked-update-many-without-favorite-articles.input';
7+
import { UserUncheckedUpdateManyWithoutFavoriteArticlesNestedInput } from '../user/user-unchecked-update-many-without-favorite-articles-nested.input';
88
import { Type } from 'class-transformer';
9-
import { CommentUncheckedUpdateManyWithoutArticleInput } from '../comment/comment-unchecked-update-many-without-article.input';
9+
import { CommentUncheckedUpdateManyWithoutArticleNestedInput } from '../comment/comment-unchecked-update-many-without-article-nested.input';
1010
import { NullableBoolFieldUpdateOperationsInput } from '../prisma/nullable-bool-field-update-operations.input';
1111

1212
@InputType()
@@ -26,8 +26,8 @@ export class ArticleUncheckedUpdateInput {
2626
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
2727
body?: StringFieldUpdateOperationsInput;
2828

29-
@Field(() => TagUncheckedUpdateManyWithoutArticlesInput, { nullable: true })
30-
tags?: TagUncheckedUpdateManyWithoutArticlesInput;
29+
@Field(() => TagUncheckedUpdateManyWithoutArticlesNestedInput, { nullable: true })
30+
tags?: TagUncheckedUpdateManyWithoutArticlesNestedInput;
3131

3232
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
3333
createdAt?: DateTimeFieldUpdateOperationsInput;
@@ -41,12 +41,14 @@ export class ArticleUncheckedUpdateInput {
4141
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
4242
authorId?: StringFieldUpdateOperationsInput;
4343

44-
@Field(() => UserUncheckedUpdateManyWithoutFavoriteArticlesInput, { nullable: true })
45-
@Type(() => UserUncheckedUpdateManyWithoutFavoriteArticlesInput)
46-
favoritedBy?: UserUncheckedUpdateManyWithoutFavoriteArticlesInput;
44+
@Field(() => UserUncheckedUpdateManyWithoutFavoriteArticlesNestedInput, {
45+
nullable: true,
46+
})
47+
@Type(() => UserUncheckedUpdateManyWithoutFavoriteArticlesNestedInput)
48+
favoritedBy?: UserUncheckedUpdateManyWithoutFavoriteArticlesNestedInput;
4749

48-
@Field(() => CommentUncheckedUpdateManyWithoutArticleInput, { nullable: true })
49-
comments?: CommentUncheckedUpdateManyWithoutArticleInput;
50+
@Field(() => CommentUncheckedUpdateManyWithoutArticleNestedInput, { nullable: true })
51+
comments?: CommentUncheckedUpdateManyWithoutArticleNestedInput;
5052

5153
@Field(() => NullableBoolFieldUpdateOperationsInput, { nullable: true })
5254
active?: NullableBoolFieldUpdateOperationsInput;

@generated/article/article-update-many-without-author.input.ts renamed to @generated/article/article-update-many-without-author-nested.input.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { ArticleUpdateManyWithWhereWithoutAuthorInput } from './article-update-m
1111
import { ArticleScalarWhereInput } from './article-scalar-where.input';
1212

1313
@InputType()
14-
export class ArticleUpdateManyWithoutAuthorInput {
14+
export class ArticleUpdateManyWithoutAuthorNestedInput {
1515
@Field(() => [ArticleCreateWithoutAuthorInput], { nullable: true })
1616
@Type(() => ArticleCreateWithoutAuthorInput)
1717
create?: Array<ArticleCreateWithoutAuthorInput>;

@generated/article/article-update-many-without-favorited-by.input.ts renamed to @generated/article/article-update-many-without-favorited-by-nested.input.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { ArticleUpdateManyWithWhereWithoutFavoritedByInput } from './article-upd
1010
import { ArticleScalarWhereInput } from './article-scalar-where.input';
1111

1212
@InputType()
13-
export class ArticleUpdateManyWithoutFavoritedByInput {
13+
export class ArticleUpdateManyWithoutFavoritedByNestedInput {
1414
@Field(() => [ArticleCreateWithoutFavoritedByInput], { nullable: true })
1515
@Type(() => ArticleCreateWithoutFavoritedByInput)
1616
create?: Array<ArticleCreateWithoutFavoritedByInput>;

@generated/article/article-update-many-without-tags.input.ts renamed to @generated/article/article-update-many-without-tags-nested.input.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { ArticleUpdateManyWithWhereWithoutTagsInput } from './article-update-man
1010
import { ArticleScalarWhereInput } from './article-scalar-where.input';
1111

1212
@InputType()
13-
export class ArticleUpdateManyWithoutTagsInput {
13+
export class ArticleUpdateManyWithoutTagsNestedInput {
1414
@Field(() => [ArticleCreateWithoutTagsInput], { nullable: true })
1515
@Type(() => ArticleCreateWithoutTagsInput)
1616
create?: Array<ArticleCreateWithoutTagsInput>;

@generated/article/article-update-one-without-comments.input.ts renamed to @generated/article/article-update-one-without-comments-nested.input.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { ArticleWhereUniqueInput } from './article-where-unique.input';
88
import { ArticleUpdateWithoutCommentsInput } from './article-update-without-comments.input';
99

1010
@InputType()
11-
export class ArticleUpdateOneWithoutCommentsInput {
11+
export class ArticleUpdateOneWithoutCommentsNestedInput {
1212
@Field(() => ArticleCreateWithoutCommentsInput, { nullable: true })
1313
@Type(() => ArticleCreateWithoutCommentsInput)
1414
create?: ArticleCreateWithoutCommentsInput;

@generated/article/article-update-without-author.input.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { Field } from '@nestjs/graphql';
22
import { InputType } from '@nestjs/graphql';
33
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
4-
import { TagUpdateManyWithoutArticlesInput } from '../tag/tag-update-many-without-articles.input';
4+
import { TagUpdateManyWithoutArticlesNestedInput } from '../tag/tag-update-many-without-articles-nested.input';
55
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
66
import { IntFieldUpdateOperationsInput } from '../prisma/int-field-update-operations.input';
7-
import { UserUpdateManyWithoutFavoriteArticlesInput } from '../user/user-update-many-without-favorite-articles.input';
7+
import { UserUpdateManyWithoutFavoriteArticlesNestedInput } from '../user/user-update-many-without-favorite-articles-nested.input';
88
import { Type } from 'class-transformer';
9-
import { CommentUpdateManyWithoutArticleInput } from '../comment/comment-update-many-without-article.input';
9+
import { CommentUpdateManyWithoutArticleNestedInput } from '../comment/comment-update-many-without-article-nested.input';
1010
import { NullableBoolFieldUpdateOperationsInput } from '../prisma/nullable-bool-field-update-operations.input';
1111

1212
@InputType()
@@ -26,8 +26,8 @@ export class ArticleUpdateWithoutAuthorInput {
2626
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
2727
body?: StringFieldUpdateOperationsInput;
2828

29-
@Field(() => TagUpdateManyWithoutArticlesInput, { nullable: true })
30-
tags?: TagUpdateManyWithoutArticlesInput;
29+
@Field(() => TagUpdateManyWithoutArticlesNestedInput, { nullable: true })
30+
tags?: TagUpdateManyWithoutArticlesNestedInput;
3131

3232
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
3333
createdAt?: DateTimeFieldUpdateOperationsInput;
@@ -38,12 +38,12 @@ export class ArticleUpdateWithoutAuthorInput {
3838
@Field(() => IntFieldUpdateOperationsInput, { nullable: true })
3939
favoritesCount?: IntFieldUpdateOperationsInput;
4040

41-
@Field(() => UserUpdateManyWithoutFavoriteArticlesInput, { nullable: true })
42-
@Type(() => UserUpdateManyWithoutFavoriteArticlesInput)
43-
favoritedBy?: UserUpdateManyWithoutFavoriteArticlesInput;
41+
@Field(() => UserUpdateManyWithoutFavoriteArticlesNestedInput, { nullable: true })
42+
@Type(() => UserUpdateManyWithoutFavoriteArticlesNestedInput)
43+
favoritedBy?: UserUpdateManyWithoutFavoriteArticlesNestedInput;
4444

45-
@Field(() => CommentUpdateManyWithoutArticleInput, { nullable: true })
46-
comments?: CommentUpdateManyWithoutArticleInput;
45+
@Field(() => CommentUpdateManyWithoutArticleNestedInput, { nullable: true })
46+
comments?: CommentUpdateManyWithoutArticleNestedInput;
4747

4848
@Field(() => NullableBoolFieldUpdateOperationsInput, { nullable: true })
4949
active?: NullableBoolFieldUpdateOperationsInput;

0 commit comments

Comments
 (0)