From 24634c58147e23c4fa2f62c69ca51278dbcaec27 Mon Sep 17 00:00:00 2001 From: tonyrewin Date: Wed, 14 Sep 2022 14:54:52 +0300 Subject: [PATCH] codegened --- src/graphql/types.gen.ts | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/src/graphql/types.gen.ts b/src/graphql/types.gen.ts index 96e038b4..2e356ef4 100644 --- a/src/graphql/types.gen.ts +++ b/src/graphql/types.gen.ts @@ -355,6 +355,7 @@ export type Query = { shoutsForFeed: Array> signIn: AuthResult signOut: AuthResult + topAuthors: Array> topMonth: Array> topOverall: Array> topViewed: Array> @@ -386,8 +387,8 @@ export type QueryGetCommunityArgs = { export type QueryGetMessagesArgs = { chatId: Scalars['String'] - limit: Scalars['Int'] - offset: Scalars['Int'] + page: Scalars['Int'] + size: Scalars['Int'] } export type QueryGetShoutBySlugArgs = { @@ -429,8 +430,8 @@ export type QueryReactionsByShoutArgs = { export type QueryReactionsForShoutsArgs = { limit: Scalars['Int'] - shouts: Array> offset: Scalars['Int'] + shouts: Array> } export type QueryRecentAllArgs = { @@ -449,9 +450,9 @@ export type QueryRecentReactedArgs = { } export type QuerySearchQueryArgs = { - page?: InputMaybe + limit: Scalars['Int'] + offset: Scalars['Int'] q?: InputMaybe - size?: InputMaybe } export type QueryShoutsByAuthorsArgs = { @@ -462,8 +463,8 @@ export type QueryShoutsByAuthorsArgs = { export type QueryShoutsByCollectionArgs = { collection: Scalars['String'] - page?: InputMaybe - size?: InputMaybe + limit: Scalars['Int'] + offset: Scalars['Int'] } export type QueryShoutsByCommunitiesArgs = { @@ -488,6 +489,11 @@ export type QuerySignInArgs = { password?: InputMaybe } +export type QueryTopAuthorsArgs = { + limit: Scalars['Int'] + offset: Scalars['Int'] +} + export type QueryTopMonthArgs = { limit: Scalars['Int'] offset: Scalars['Int']