@@ -108,13 +108,13 @@ export class BatchPayload {
108108 count : Long ;
109109}
110110
111- export class IMutation {
112- createPost ( data : PostCreateInput ) : Post | Promise < Post > ;
113- updatePost ( data : PostUpdateInput , where : PostWhereUniqueInput ) : Post | Promise < Post > ;
114- deletePost ( where : PostWhereUniqueInput ) : Post | Promise < Post > ;
115- upsertPost ( where : PostWhereUniqueInput , create : PostCreateInput , update : PostUpdateInput ) : Post | Promise < Post > ;
116- updateManyPosts ( data : PostUpdateInput , where ?: PostWhereInput ) : BatchPayload | Promise < BatchPayload > ;
117- deleteManyPosts ( where ?: PostWhereInput ) : BatchPayload | Promise < BatchPayload > ;
111+ export abstract class IMutation {
112+ abstract createPost ( data : PostCreateInput ) : Post | Promise < Post > ;
113+ abstract updatePost ( data : PostUpdateInput , where : PostWhereUniqueInput ) : Post | Promise < Post > ;
114+ abstract deletePost ( where : PostWhereUniqueInput ) : Post | Promise < Post > ;
115+ abstract upsertPost ( where : PostWhereUniqueInput , create : PostCreateInput , update : PostUpdateInput ) : Post | Promise < Post > ;
116+ abstract updateManyPosts ( data : PostUpdateInput , where ?: PostWhereInput ) : BatchPayload | Promise < BatchPayload > ;
117+ abstract deleteManyPosts ( where ?: PostWhereInput ) : BatchPayload | Promise < BatchPayload > ;
118118}
119119
120120export class PageInfo {
@@ -156,15 +156,16 @@ export class PostSubscriptionPayload {
156156 previousValues ?: PostPreviousValues ;
157157}
158158
159- export class IQuery {
160- posts ( where ?: PostWhereInput , orderBy ?: PostOrderByInput , skip ?: number , after ?: string , before ?: string , first ?: number , last ?: number ) : Post [ ] | Promise < Post [ ] > ;
161- post ( where : PostWhereUniqueInput ) : Post | Promise < Post > ;
162- postsConnection ( where ?: PostWhereInput , orderBy ?: PostOrderByInput , skip ?: number , after ?: string , before ?: string , first ?: number , last ?: number ) : PostConnection | Promise < PostConnection > ;
163- node ( id : string ) : Node | Promise < Node > ;
159+ export abstract class IQuery {
160+ abstract posts ( where ?: PostWhereInput , orderBy ?: PostOrderByInput , skip ?: number , after ?: string , before ?: string , first ?: number , last ?: number ) : Post [ ] | Promise < Post [ ] > ;
161+ abstract post ( where : PostWhereUniqueInput ) : Post | Promise < Post > ;
162+ abstract postsConnection ( where ?: PostWhereInput , orderBy ?: PostOrderByInput , skip ?: number , after ?: string , before ?: string , first ?: number , last ?: number ) : PostConnection | Promise < PostConnection > ;
163+ abstract node ( id : string ) : Node | Promise < Node > ;
164+ abstract temp__ ( ) : boolean | Promise < boolean > ;
164165}
165166
166- export class ISubscription {
167- post ( where ?: PostSubscriptionWhereInput ) : PostSubscriptionPayload | Promise < PostSubscriptionPayload > ;
167+ export abstract class ISubscription {
168+ abstract post ( where ?: PostSubscriptionWhereInput ) : PostSubscriptionPayload | Promise < PostSubscriptionPayload > ;
168169}
169170
170171export class User {
0 commit comments