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