@@ -29,9 +29,15 @@ declare global {
2929}
3030
3131export interface NexusGenInputs {
32+ LinkOrderByInput : { // input type
33+ createdAt ?: NexusGenEnums [ 'Sort' ] | null ; // Sort
34+ description ?: NexusGenEnums [ 'Sort' ] | null ; // Sort
35+ url ?: NexusGenEnums [ 'Sort' ] | null ; // Sort
36+ }
3237}
3338
3439export interface NexusGenEnums {
40+ Sort : "asc" | "desc"
3541}
3642
3743export interface NexusGenScalars {
@@ -48,6 +54,10 @@ export interface NexusGenObjects {
4854 token : string ; // String!
4955 user : NexusGenRootTypes [ 'User' ] ; // User!
5056 }
57+ Feed : { // root type
58+ count : number ; // Int!
59+ links : NexusGenRootTypes [ 'Link' ] [ ] ; // [Link!]!
60+ }
5161 Link : { // root type
5262 createdAt : NexusGenScalars [ 'DateTime' ] ; // DateTime!
5363 description : string ; // String!
@@ -75,13 +85,17 @@ export interface NexusGenUnions {
7585
7686export type NexusGenRootTypes = NexusGenObjects
7787
78- export type NexusGenAllTypes = NexusGenRootTypes & NexusGenScalars
88+ export type NexusGenAllTypes = NexusGenRootTypes & NexusGenScalars & NexusGenEnums
7989
8090export interface NexusGenFieldTypes {
8191 AuthPayload : { // field return type
8292 token : string ; // String!
8393 user : NexusGenRootTypes [ 'User' ] ; // User!
8494 }
95+ Feed : { // field return type
96+ count : number ; // Int!
97+ links : NexusGenRootTypes [ 'Link' ] [ ] ; // [Link!]!
98+ }
8599 Link : { // field return type
86100 createdAt : NexusGenScalars [ 'DateTime' ] ; // DateTime!
87101 description : string ; // String!
@@ -97,7 +111,7 @@ export interface NexusGenFieldTypes {
97111 vote : NexusGenRootTypes [ 'Vote' ] | null ; // Vote
98112 }
99113 Query : { // field return type
100- feed : NexusGenRootTypes [ 'Link' ] [ ] ; // [Link!] !
114+ feed : NexusGenRootTypes [ 'Feed' ] ; // Feed !
101115 }
102116 User : { // field return type
103117 email : string ; // String!
@@ -117,6 +131,10 @@ export interface NexusGenFieldTypeNames {
117131 token : 'String'
118132 user : 'User'
119133 }
134+ Feed : { // field return type name
135+ count : 'Int'
136+ links : 'Link'
137+ }
120138 Link : { // field return type name
121139 createdAt : 'DateTime'
122140 description : 'String'
@@ -132,7 +150,7 @@ export interface NexusGenFieldTypeNames {
132150 vote : 'Vote'
133151 }
134152 Query : { // field return type name
135- feed : 'Link '
153+ feed : 'Feed '
136154 }
137155 User : { // field return type name
138156 email : 'String'
@@ -166,6 +184,14 @@ export interface NexusGenArgTypes {
166184 linkId : number ; // Int!
167185 }
168186 }
187+ Query : {
188+ feed : { // args
189+ filter ?: string | null ; // String
190+ orderBy ?: NexusGenInputs [ 'LinkOrderByInput' ] [ ] | null ; // [LinkOrderByInput!]
191+ skip ?: number | null ; // Int
192+ take ?: number | null ; // Int
193+ }
194+ }
169195}
170196
171197export interface NexusGenAbstractTypeMembers {
@@ -176,9 +202,9 @@ export interface NexusGenTypeInterfaces {
176202
177203export type NexusGenObjectNames = keyof NexusGenObjects ;
178204
179- export type NexusGenInputNames = never ;
205+ export type NexusGenInputNames = keyof NexusGenInputs ;
180206
181- export type NexusGenEnumNames = never ;
207+ export type NexusGenEnumNames = keyof NexusGenEnums ;
182208
183209export type NexusGenInterfaceNames = never ;
184210
0 commit comments