@@ -18,6 +18,95 @@ export type Scalars = {
1818 Url : { input : any ; output : any } ;
1919} ;
2020
21+ export type Meta = {
22+ __typename ?: 'Meta' ;
23+ count ?: Maybe < Scalars [ 'Int' ] [ 'output' ] > ;
24+ } ;
25+
26+ export type Mutation = {
27+ __typename ?: 'Mutation' ;
28+ createTweet ?: Maybe < Tweet > ;
29+ deleteTweet ?: Maybe < Tweet > ;
30+ markTweetRead ?: Maybe < Scalars [ 'Boolean' ] [ 'output' ] > ;
31+ } ;
32+
33+ export type MutationCreateTweetArgs = {
34+ body ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
35+ } ;
36+
37+ export type MutationDeleteTweetArgs = {
38+ id : Scalars [ 'ID' ] [ 'input' ] ;
39+ } ;
40+
41+ export type MutationMarkTweetReadArgs = {
42+ id : Scalars [ 'ID' ] [ 'input' ] ;
43+ } ;
44+
45+ export type Notification = {
46+ __typename ?: 'Notification' ;
47+ date ?: Maybe < Scalars [ 'Date' ] [ 'output' ] > ;
48+ id ?: Maybe < Scalars [ 'ID' ] [ 'output' ] > ;
49+ type ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
50+ } ;
51+
52+ export type Query = {
53+ __typename ?: 'Query' ;
54+ Notifications ?: Maybe < Array < Maybe < Notification > > > ;
55+ NotificationsMeta ?: Maybe < Meta > ;
56+ Tweet ?: Maybe < Tweet > ;
57+ Tweets ?: Maybe < Array < Tweet > > ;
58+ TweetsMeta ?: Maybe < Meta > ;
59+ User ?: Maybe < User > ;
60+ } ;
61+
62+ export type QueryNotificationsArgs = {
63+ limit ?: InputMaybe < Scalars [ 'Int' ] [ 'input' ] > ;
64+ } ;
65+
66+ export type QueryTweetArgs = {
67+ id : Scalars [ 'ID' ] [ 'input' ] ;
68+ } ;
69+
70+ export type QueryTweetsArgs = {
71+ limit ?: InputMaybe < Scalars [ 'Int' ] [ 'input' ] > ;
72+ skip ?: InputMaybe < Scalars [ 'Int' ] [ 'input' ] > ;
73+ sort_field ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
74+ sort_order ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
75+ } ;
76+
77+ export type QueryUserArgs = {
78+ id : Scalars [ 'ID' ] [ 'input' ] ;
79+ } ;
80+
81+ export type Stat = {
82+ __typename ?: 'Stat' ;
83+ likes ?: Maybe < Scalars [ 'Int' ] [ 'output' ] > ;
84+ responses ?: Maybe < Scalars [ 'Int' ] [ 'output' ] > ;
85+ retweets ?: Maybe < Scalars [ 'Int' ] [ 'output' ] > ;
86+ views ?: Maybe < Scalars [ 'Int' ] [ 'output' ] > ;
87+ } ;
88+
89+ export type Tweet = {
90+ __typename ?: 'Tweet' ;
91+ Stats ?: Maybe < Stat > ;
92+ author : User ;
93+ body : Scalars [ 'String' ] [ 'output' ] ;
94+ date ?: Maybe < Scalars [ 'Date' ] [ 'output' ] > ;
95+ id : Scalars [ 'ID' ] [ 'output' ] ;
96+ } ;
97+
98+ export type User = {
99+ __typename ?: 'User' ;
100+ avatar_url ?: Maybe < Scalars [ 'Url' ] [ 'output' ] > ;
101+ first_name ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
102+ full_name ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
103+ id : Scalars [ 'ID' ] [ 'output' ] ;
104+ last_name ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
105+ /** @deprecated Field no longer supported */
106+ name ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
107+ username ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
108+ } ;
109+
21110export type TweetFragmentFragment = ( { __typename ?: 'Tweet' ; id : string ; body : string } & {
22111 ' $fragmentRefs' ?: { TweetAuthorFragmentFragment : TweetAuthorFragmentFragment } ;
23112} ) & { ' $fragmentName' ?: 'TweetFragmentFragment' } ;
0 commit comments