Skip to content

Commit c5e0199

Browse files
author
Carlos Rufo Jimenez
committed
#fix: update prisma auto-generated
1 parent 7c8e169 commit c5e0199

File tree

1 file changed

+29
-49
lines changed

1 file changed

+29
-49
lines changed

server/src/generated/prisma.graphql

Lines changed: 29 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -141,16 +141,15 @@ input LinkUpdateManyWithoutPostedByInput {
141141
connect: [LinkWhereUniqueInput!]
142142
disconnect: [LinkWhereUniqueInput!]
143143
delete: [LinkWhereUniqueInput!]
144-
update: [LinkUpdateWithoutPostedByInput!]
145-
upsert: [LinkUpsertWithoutPostedByInput!]
144+
update: [LinkUpdateWithWhereUniqueWithoutPostedByInput!]
145+
upsert: [LinkUpsertWithWhereUniqueWithoutPostedByInput!]
146146
}
147147

148148
input LinkUpdateOneWithoutVotesInput {
149149
create: LinkCreateWithoutVotesInput
150150
connect: LinkWhereUniqueInput
151-
disconnect: LinkWhereUniqueInput
152-
delete: LinkWhereUniqueInput
153-
update: LinkUpdateWithoutVotesInput
151+
delete: Boolean
152+
update: LinkUpdateWithoutVotesDataInput
154153
upsert: LinkUpsertWithoutVotesInput
155154
}
156155

@@ -160,34 +159,28 @@ input LinkUpdateWithoutPostedByDataInput {
160159
votes: VoteUpdateManyWithoutLinkInput
161160
}
162161

163-
input LinkUpdateWithoutPostedByInput {
164-
where: LinkWhereUniqueInput!
165-
data: LinkUpdateWithoutPostedByDataInput!
166-
}
167-
168162
input LinkUpdateWithoutVotesDataInput {
169163
description: String
170164
url: String
171165
postedBy: UserUpdateOneWithoutLinksInput
172166
}
173167

174-
input LinkUpdateWithoutVotesInput {
175-
where: LinkWhereUniqueInput!
176-
data: LinkUpdateWithoutVotesDataInput!
177-
}
178-
179-
input LinkUpsertWithoutPostedByInput {
168+
input LinkUpdateWithWhereUniqueWithoutPostedByInput {
180169
where: LinkWhereUniqueInput!
181-
update: LinkUpdateWithoutPostedByDataInput!
182-
create: LinkCreateWithoutPostedByInput!
170+
data: LinkUpdateWithoutPostedByDataInput!
183171
}
184172

185173
input LinkUpsertWithoutVotesInput {
186-
where: LinkWhereUniqueInput!
187174
update: LinkUpdateWithoutVotesDataInput!
188175
create: LinkCreateWithoutVotesInput!
189176
}
190177

178+
input LinkUpsertWithWhereUniqueWithoutPostedByInput {
179+
where: LinkWhereUniqueInput!
180+
update: LinkUpdateWithoutPostedByDataInput!
181+
create: LinkCreateWithoutPostedByInput!
182+
}
183+
191184
input LinkWhereInput {
192185
AND: [LinkWhereInput!]
193186
OR: [LinkWhereInput!]
@@ -403,18 +396,17 @@ input UserUpdateInput {
403396
input UserUpdateOneWithoutLinksInput {
404397
create: UserCreateWithoutLinksInput
405398
connect: UserWhereUniqueInput
406-
disconnect: UserWhereUniqueInput
407-
delete: UserWhereUniqueInput
408-
update: UserUpdateWithoutLinksInput
399+
disconnect: Boolean
400+
delete: Boolean
401+
update: UserUpdateWithoutLinksDataInput
409402
upsert: UserUpsertWithoutLinksInput
410403
}
411404

412405
input UserUpdateOneWithoutVotesInput {
413406
create: UserCreateWithoutVotesInput
414407
connect: UserWhereUniqueInput
415-
disconnect: UserWhereUniqueInput
416-
delete: UserWhereUniqueInput
417-
update: UserUpdateWithoutVotesInput
408+
delete: Boolean
409+
update: UserUpdateWithoutVotesDataInput
418410
upsert: UserUpsertWithoutVotesInput
419411
}
420412

@@ -425,31 +417,19 @@ input UserUpdateWithoutLinksDataInput {
425417
votes: VoteUpdateManyWithoutUserInput
426418
}
427419

428-
input UserUpdateWithoutLinksInput {
429-
where: UserWhereUniqueInput!
430-
data: UserUpdateWithoutLinksDataInput!
431-
}
432-
433420
input UserUpdateWithoutVotesDataInput {
434421
name: String
435422
email: String
436423
password: String
437424
links: LinkUpdateManyWithoutPostedByInput
438425
}
439426

440-
input UserUpdateWithoutVotesInput {
441-
where: UserWhereUniqueInput!
442-
data: UserUpdateWithoutVotesDataInput!
443-
}
444-
445427
input UserUpsertWithoutLinksInput {
446-
where: UserWhereUniqueInput!
447428
update: UserUpdateWithoutLinksDataInput!
448429
create: UserCreateWithoutLinksInput!
449430
}
450431

451432
input UserUpsertWithoutVotesInput {
452-
where: UserWhereUniqueInput!
453433
update: UserUpdateWithoutVotesDataInput!
454434
create: UserCreateWithoutVotesInput!
455435
}
@@ -600,44 +580,44 @@ input VoteUpdateManyWithoutLinkInput {
600580
connect: [VoteWhereUniqueInput!]
601581
disconnect: [VoteWhereUniqueInput!]
602582
delete: [VoteWhereUniqueInput!]
603-
update: [VoteUpdateWithoutLinkInput!]
604-
upsert: [VoteUpsertWithoutLinkInput!]
583+
update: [VoteUpdateWithWhereUniqueWithoutLinkInput!]
584+
upsert: [VoteUpsertWithWhereUniqueWithoutLinkInput!]
605585
}
606586

607587
input VoteUpdateManyWithoutUserInput {
608588
create: [VoteCreateWithoutUserInput!]
609589
connect: [VoteWhereUniqueInput!]
610590
disconnect: [VoteWhereUniqueInput!]
611591
delete: [VoteWhereUniqueInput!]
612-
update: [VoteUpdateWithoutUserInput!]
613-
upsert: [VoteUpsertWithoutUserInput!]
592+
update: [VoteUpdateWithWhereUniqueWithoutUserInput!]
593+
upsert: [VoteUpsertWithWhereUniqueWithoutUserInput!]
614594
}
615595

616596
input VoteUpdateWithoutLinkDataInput {
617597
user: UserUpdateOneWithoutVotesInput
618598
}
619599

620-
input VoteUpdateWithoutLinkInput {
621-
where: VoteWhereUniqueInput!
622-
data: VoteUpdateWithoutLinkDataInput!
623-
}
624-
625600
input VoteUpdateWithoutUserDataInput {
626601
link: LinkUpdateOneWithoutVotesInput
627602
}
628603

629-
input VoteUpdateWithoutUserInput {
604+
input VoteUpdateWithWhereUniqueWithoutLinkInput {
605+
where: VoteWhereUniqueInput!
606+
data: VoteUpdateWithoutLinkDataInput!
607+
}
608+
609+
input VoteUpdateWithWhereUniqueWithoutUserInput {
630610
where: VoteWhereUniqueInput!
631611
data: VoteUpdateWithoutUserDataInput!
632612
}
633613

634-
input VoteUpsertWithoutLinkInput {
614+
input VoteUpsertWithWhereUniqueWithoutLinkInput {
635615
where: VoteWhereUniqueInput!
636616
update: VoteUpdateWithoutLinkDataInput!
637617
create: VoteCreateWithoutLinkInput!
638618
}
639619

640-
input VoteUpsertWithoutUserInput {
620+
input VoteUpsertWithWhereUniqueWithoutUserInput {
641621
where: VoteWhereUniqueInput!
642622
update: VoteUpdateWithoutUserDataInput!
643623
create: VoteCreateWithoutUserInput!

0 commit comments

Comments
 (0)