Mirror: TypeScript LSP plugin that finds GraphQL documents in your code and provides diagnostics, auto-complete and hover-information.
1/* eslint-disable */ 2/* prettier-ignore */ 3 4/** An IntrospectionQuery representation of your schema. 5 * 6 * @remarks 7 * This is an introspection of your schema saved as a file by GraphQLSP. 8 * It will automatically be used by `gql.tada` to infer the types of your GraphQL documents. 9 * If you need to reuse this data or update your `scalars`, update `tadaOutputLocation` to 10 * instead save to a .ts instead of a .d.ts file. 11 */ 12export type introspection = { 13 "__schema": { 14 "queryType": { 15 "name": "Query" 16 }, 17 "mutationType": null, 18 "subscriptionType": null, 19 "types": [ 20 { 21 "kind": "OBJECT", 22 "name": "Attack", 23 "fields": [ 24 { 25 "name": "damage", 26 "type": { 27 "kind": "SCALAR", 28 "name": "Int", 29 "ofType": null 30 }, 31 "args": [] 32 }, 33 { 34 "name": "name", 35 "type": { 36 "kind": "SCALAR", 37 "name": "String", 38 "ofType": null 39 }, 40 "args": [] 41 }, 42 { 43 "name": "type", 44 "type": { 45 "kind": "ENUM", 46 "name": "PokemonType", 47 "ofType": null 48 }, 49 "args": [] 50 } 51 ], 52 "interfaces": [] 53 }, 54 { 55 "kind": "SCALAR", 56 "name": "Int" 57 }, 58 { 59 "kind": "SCALAR", 60 "name": "String" 61 }, 62 { 63 "kind": "OBJECT", 64 "name": "AttacksConnection", 65 "fields": [ 66 { 67 "name": "fast", 68 "type": { 69 "kind": "LIST", 70 "ofType": { 71 "kind": "OBJECT", 72 "name": "Attack", 73 "ofType": null 74 } 75 }, 76 "args": [] 77 }, 78 { 79 "name": "special", 80 "type": { 81 "kind": "LIST", 82 "ofType": { 83 "kind": "OBJECT", 84 "name": "Attack", 85 "ofType": null 86 } 87 }, 88 "args": [] 89 } 90 ], 91 "interfaces": [] 92 }, 93 { 94 "kind": "OBJECT", 95 "name": "EvolutionRequirement", 96 "fields": [ 97 { 98 "name": "amount", 99 "type": { 100 "kind": "SCALAR", 101 "name": "Int", 102 "ofType": null 103 }, 104 "args": [] 105 }, 106 { 107 "name": "name", 108 "type": { 109 "kind": "SCALAR", 110 "name": "String", 111 "ofType": null 112 }, 113 "args": [] 114 } 115 ], 116 "interfaces": [] 117 }, 118 { 119 "kind": "OBJECT", 120 "name": "Pokemon", 121 "fields": [ 122 { 123 "name": "attacks", 124 "type": { 125 "kind": "OBJECT", 126 "name": "AttacksConnection", 127 "ofType": null 128 }, 129 "args": [] 130 }, 131 { 132 "name": "classification", 133 "type": { 134 "kind": "SCALAR", 135 "name": "String", 136 "ofType": null 137 }, 138 "args": [] 139 }, 140 { 141 "name": "evolutionRequirements", 142 "type": { 143 "kind": "LIST", 144 "ofType": { 145 "kind": "OBJECT", 146 "name": "EvolutionRequirement", 147 "ofType": null 148 } 149 }, 150 "args": [] 151 }, 152 { 153 "name": "evolutions", 154 "type": { 155 "kind": "LIST", 156 "ofType": { 157 "kind": "OBJECT", 158 "name": "Pokemon", 159 "ofType": null 160 } 161 }, 162 "args": [] 163 }, 164 { 165 "name": "fleeRate", 166 "type": { 167 "kind": "SCALAR", 168 "name": "Float", 169 "ofType": null 170 }, 171 "args": [] 172 }, 173 { 174 "name": "height", 175 "type": { 176 "kind": "OBJECT", 177 "name": "PokemonDimension", 178 "ofType": null 179 }, 180 "args": [] 181 }, 182 { 183 "name": "id", 184 "type": { 185 "kind": "NON_NULL", 186 "ofType": { 187 "kind": "SCALAR", 188 "name": "ID", 189 "ofType": null 190 } 191 }, 192 "args": [] 193 }, 194 { 195 "name": "maxCP", 196 "type": { 197 "kind": "SCALAR", 198 "name": "Int", 199 "ofType": null 200 }, 201 "args": [] 202 }, 203 { 204 "name": "maxHP", 205 "type": { 206 "kind": "SCALAR", 207 "name": "Int", 208 "ofType": null 209 }, 210 "args": [] 211 }, 212 { 213 "name": "name", 214 "type": { 215 "kind": "NON_NULL", 216 "ofType": { 217 "kind": "SCALAR", 218 "name": "String", 219 "ofType": null 220 } 221 }, 222 "args": [] 223 }, 224 { 225 "name": "resistant", 226 "type": { 227 "kind": "LIST", 228 "ofType": { 229 "kind": "ENUM", 230 "name": "PokemonType", 231 "ofType": null 232 } 233 }, 234 "args": [] 235 }, 236 { 237 "name": "types", 238 "type": { 239 "kind": "LIST", 240 "ofType": { 241 "kind": "ENUM", 242 "name": "PokemonType", 243 "ofType": null 244 } 245 }, 246 "args": [] 247 }, 248 { 249 "name": "weaknesses", 250 "type": { 251 "kind": "LIST", 252 "ofType": { 253 "kind": "ENUM", 254 "name": "PokemonType", 255 "ofType": null 256 } 257 }, 258 "args": [] 259 }, 260 { 261 "name": "weight", 262 "type": { 263 "kind": "OBJECT", 264 "name": "PokemonDimension", 265 "ofType": null 266 }, 267 "args": [] 268 } 269 ], 270 "interfaces": [] 271 }, 272 { 273 "kind": "SCALAR", 274 "name": "Float" 275 }, 276 { 277 "kind": "SCALAR", 278 "name": "ID" 279 }, 280 { 281 "kind": "OBJECT", 282 "name": "PokemonDimension", 283 "fields": [ 284 { 285 "name": "maximum", 286 "type": { 287 "kind": "SCALAR", 288 "name": "String", 289 "ofType": null 290 }, 291 "args": [] 292 }, 293 { 294 "name": "minimum", 295 "type": { 296 "kind": "SCALAR", 297 "name": "String", 298 "ofType": null 299 }, 300 "args": [] 301 } 302 ], 303 "interfaces": [] 304 }, 305 { 306 "kind": "ENUM", 307 "name": "PokemonType", 308 "enumValues": [ 309 { 310 "name": "Bug" 311 }, 312 { 313 "name": "Dark" 314 }, 315 { 316 "name": "Dragon" 317 }, 318 { 319 "name": "Electric" 320 }, 321 { 322 "name": "Fairy" 323 }, 324 { 325 "name": "Fighting" 326 }, 327 { 328 "name": "Fire" 329 }, 330 { 331 "name": "Flying" 332 }, 333 { 334 "name": "Ghost" 335 }, 336 { 337 "name": "Grass" 338 }, 339 { 340 "name": "Ground" 341 }, 342 { 343 "name": "Ice" 344 }, 345 { 346 "name": "Normal" 347 }, 348 { 349 "name": "Poison" 350 }, 351 { 352 "name": "Psychic" 353 }, 354 { 355 "name": "Rock" 356 }, 357 { 358 "name": "Steel" 359 }, 360 { 361 "name": "Water" 362 } 363 ] 364 }, 365 { 366 "kind": "OBJECT", 367 "name": "Query", 368 "fields": [ 369 { 370 "name": "pokemon", 371 "type": { 372 "kind": "OBJECT", 373 "name": "Pokemon", 374 "ofType": null 375 }, 376 "args": [ 377 { 378 "name": "id", 379 "type": { 380 "kind": "NON_NULL", 381 "ofType": { 382 "kind": "SCALAR", 383 "name": "ID", 384 "ofType": null 385 } 386 } 387 } 388 ] 389 }, 390 { 391 "name": "pokemons", 392 "type": { 393 "kind": "LIST", 394 "ofType": { 395 "kind": "OBJECT", 396 "name": "Pokemon", 397 "ofType": null 398 } 399 }, 400 "args": [ 401 { 402 "name": "limit", 403 "type": { 404 "kind": "SCALAR", 405 "name": "Int", 406 "ofType": null 407 } 408 }, 409 { 410 "name": "skip", 411 "type": { 412 "kind": "SCALAR", 413 "name": "Int", 414 "ofType": null 415 } 416 } 417 ] 418 } 419 ], 420 "interfaces": [] 421 }, 422 { 423 "kind": "SCALAR", 424 "name": "Boolean" 425 } 426 ], 427 "directives": [] 428 } 429}; 430 431import * as gqlTada from 'gql.tada'; 432 433declare module 'gql.tada' { 434 interface setupSchema { 435 introspection: introspection; 436 } 437}