1- // Code generated by Prisma (prisma@1.22.2 ). DO NOT EDIT.
1+ // Code generated by Prisma (prisma@1.23.0 ). DO NOT EDIT.
22// Please don't change this file manually but run `prisma generate` to update it.
33// For more information, please read the docs: https://www.prisma.io/docs/prisma-client/
44
5- import { DocumentNode , GraphQLSchema } from "graphql" ;
6- import { makePrismaClientClass , BaseClientOptions } from "prisma-client-lib" ;
5+ import { DocumentNode } from "graphql" ;
6+ import {
7+ makePrismaClientClass ,
8+ BaseClientOptions ,
9+ Model
10+ } from "prisma-client-lib" ;
711import { typeDefs } from "./prisma-schema" ;
812
9- type AtLeastOne < T , U = { [ K in keyof T ] : Pick < T , K > } > = Partial < T > &
13+ export type AtLeastOne < T , U = { [ K in keyof T ] : Pick < T , K > } > = Partial < T > &
1014 U [ keyof U ] ;
1115
1216export interface Exists {
@@ -785,7 +789,10 @@ export interface VotePreviousValuesSubscription
785789 id : ( ) => Promise < AsyncIterator < ID_Output > > ;
786790}
787791
788- export interface UserConnection { }
792+ export interface UserConnection {
793+ pageInfo : PageInfo ;
794+ edges : UserEdge [ ] ;
795+ }
789796
790797export interface UserConnectionPromise
791798 extends Promise < UserConnection > ,
@@ -803,7 +810,10 @@ export interface UserConnectionSubscription
803810 aggregate : < T = AggregateUserSubscription > ( ) => T ;
804811}
805812
806- export interface LinkConnection { }
813+ export interface LinkConnection {
814+ pageInfo : PageInfo ;
815+ edges : LinkEdge [ ] ;
816+ }
807817
808818export interface LinkConnectionPromise
809819 extends Promise < LinkConnection > ,
@@ -946,6 +956,7 @@ export interface AggregateVoteSubscription
946956}
947957
948958export interface LinkEdge {
959+ node : Link ;
949960 cursor : String ;
950961}
951962
@@ -961,7 +972,10 @@ export interface LinkEdgeSubscription
961972 cursor : ( ) => Promise < AsyncIterator < String > > ;
962973}
963974
964- export interface VoteConnection { }
975+ export interface VoteConnection {
976+ pageInfo : PageInfo ;
977+ edges : VoteEdge [ ] ;
978+ }
965979
966980export interface VoteConnectionPromise
967981 extends Promise < VoteConnection > ,
@@ -981,7 +995,9 @@ export interface VoteConnectionSubscription
981995
982996export interface UserSubscriptionPayload {
983997 mutation : MutationType ;
984- updatedFields ?: String [ ] ;
998+ node : User ;
999+ updatedFields : String [ ] ;
1000+ previousValues : UserPreviousValues ;
9851001}
9861002
9871003export interface UserSubscriptionPayloadPromise
@@ -1003,6 +1019,7 @@ export interface UserSubscriptionPayloadSubscription
10031019}
10041020
10051021export interface UserEdge {
1022+ node : User ;
10061023 cursor : String ;
10071024}
10081025
@@ -1063,7 +1080,9 @@ export interface LinkPreviousValuesSubscription
10631080
10641081export interface LinkSubscriptionPayload {
10651082 mutation : MutationType ;
1066- updatedFields ?: String [ ] ;
1083+ node : Link ;
1084+ updatedFields : String [ ] ;
1085+ previousValues : LinkPreviousValues ;
10671086}
10681087
10691088export interface LinkSubscriptionPayloadPromise
@@ -1156,7 +1175,9 @@ export interface PageInfoSubscription
11561175
11571176export interface VoteSubscriptionPayload {
11581177 mutation : MutationType ;
1159- updatedFields ?: String [ ] ;
1178+ node : Vote ;
1179+ updatedFields : String [ ] ;
1180+ previousValues : VotePreviousValues ;
11601181}
11611182
11621183export interface VoteSubscriptionPayloadPromise
@@ -1210,6 +1231,7 @@ export interface AggregateUserSubscription
12101231}
12111232
12121233export interface VoteEdge {
1234+ node : Vote ;
12131235 cursor : String ;
12141236}
12151237
@@ -1262,7 +1284,7 @@ export type Boolean = boolean;
12621284 * Model Metadata
12631285 */
12641286
1265- export const models = [
1287+ export const models : Model [ ] = [
12661288 {
12671289 name : "Link" ,
12681290 embedded : false
0 commit comments