├── .circleci └── config.yml ├── .gitignore ├── .graphqlconfig.yml ├── README.md ├── example ├── package.json ├── schemas │ ├── app.graphql │ └── github.graphql ├── src │ └── index.js └── yarn.lock ├── package.json ├── renovate.json ├── src ├── generated-binding.ts ├── index.ts ├── link.ts ├── schema.graphql └── schema.ts ├── tsconfig.json └── yarn.lock /.circleci/config.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | jobs: 3 | build: 4 | docker: 5 | - image: circleci/node:8 6 | steps: 7 | - checkout 8 | - run: sudo yarn global add semantic-release 9 | - run: yarn install 10 | - run: yarn test 11 | - run: semantic-release 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | *.log 4 | dist 5 | .vscode 6 | .envrc 7 | -------------------------------------------------------------------------------- /.graphqlconfig.yml: -------------------------------------------------------------------------------- 1 | schemaPath: src/schema.graphql 2 | extensions: 3 | endpoints: 4 | default: 5 | url: https://api.github.com/graphql 6 | headers: 7 | Authorization: "Bearer ${env:GITHUB_TOKEN}" 8 | codegen: 9 | generator: graphql-binding 10 | language: typescript 11 | input: 12 | schema: src/schema.ts 13 | output: 14 | binding: src/generated-binding.ts 15 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # GraphQL Binding for GitHub 2 | 3 | Embed GitHub's GraphQL API into your server application 4 | 5 | # Deprecation Notice! 6 | 7 | In the last few months, since [the transition of many libraries](https://www.prisma.io/blog/the-guild-takes-over-oss-libraries-vvluy2i4uevs) under [The Guild](http://the-guild.dev)'s leadership, We've reviewed and released many improvements and versions to [graphql-cli](https://github.com/Urigo/graphql-cli), [graphql-config](https://github.com/kamilkisiela/graphql-config) and [graphql-import](https://github.com/ardatan/graphql-import). 8 | 9 | We've reviewed `graphql-binding`, had many meetings with current users and engaged the community also through the [roadmap issue](https://github.com/dotansimha/graphql-binding/issues/325). 10 | 11 | What we've found is that the new [GraphQL Mesh](https://the-guild.dev/blog/graphql-mesh) library is covering not only all the current capabilities of GraphQL Binding, but also the future ideas that were introduced in the [original GraphQL Binding blog post](https://github.com/prisma-archive/prisma-blog-archive/blob/master/2018-01-12-reusing-and-composing-graphql-apis-with-graphql-bindings.mdx) and haven't come to life yet. 12 | 13 | And the best thing - [GraphQL Mesh](https://the-guild.dev/blog/graphql-mesh) gives you all those capabilities, even if your source is not a GraphQL service at all! 14 | it can be GraphQL, OpenAPI/Swagger, gRPC, SQL or any other source! 15 | And of course you can even merge all those sources into a single SDK. 16 | 17 | Just like GraphQL Binding, you get a fully typed SDK (thanks to the protocols SDKs and the [GraphQL Code Generator](https://github.com/dotansimha/graphql-code-generator)), but from any source, and that SDK can run anywhere, as a connector or as a full blown gateway. 18 | And you can share your own "Mesh Modules" (which you would probably call "your own binding") and our community already created many of those! 19 | Also, we decided to simply expose regular GraphQL, so you can choose how to consume it using all the awesome [fluent client SDKs out there](https://hasura.io/blog/fluent-graphql-clients-how-to-write-queries-like-a-boss/). 20 | 21 | If you think that we've missed anything from GraphQL Binding that is not supported in a better way in GraphQL Mesh, please let us know! 22 | 23 | ## Install 24 | 25 | ```sh 26 | yarn add graphql-binding-github 27 | ``` 28 | 29 | ## Example ([Demo](https://graphqlbin.com/Agjcr)) 30 | 31 | See [example directory](example) for full example application. 32 | 33 | ```js 34 | const { GitHub } = require('graphql-binding-github') 35 | const { GraphQLServer } = require('graphql-yoga') 36 | const { importSchema } = require('graphql-import') 37 | 38 | const favoriteRepos = [ 39 | { owner: 'graphcool', name: 'graphql-yoga' }, 40 | { owner: 'graphql', name: 'graphql-js' }, 41 | ] 42 | 43 | const token = '__ENTER_YOUR_GITHUB_TOKEN__' 44 | const github = new GitHub(token) 45 | 46 | const typeDefs = importSchema('schemas/app.graphql') 47 | const resolvers = { 48 | Query: { 49 | hello: (parent, { name }) => `Hello ${name || 'World'}!`, 50 | favoriteRepos: (parent, args, context, info) => { 51 | return Promise.all( 52 | favoriteRepos.map(args => github.query.repository(args, context, info)), 53 | ) 54 | }, 55 | }, 56 | // the following is needed to make interfaces, unions & custom scalars work 57 | ...github.getAbstractResolvers(typeDefs), 58 | } 59 | 60 | const server = new GraphQLServer({ resolvers, typeDefs }) 61 | server.start(() => console.log('Server running on http://localhost:4000')) 62 | ``` 63 | 64 | ## How to create a GitHub Token 65 | 66 | Simply follow [this guide](https://developer.github.com/v4/guides/forming-calls/#authenticating-with-graphql) and head over to the [token settings on GitHub](https://github.com/settings/tokens). 67 | 68 | ## Resources 69 | 70 | * Github GraphQL Explorer: https://developer.github.com/v4/explorer/ 71 | -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "scripts": { 3 | "start": "node src", 4 | "deploy": "now --public -e GITHUB_TOKEN && now alias && now rm --yes --safe graphql-binding-github" 5 | }, 6 | "dependencies": { 7 | "graphql-binding-github": "0.3.25", 8 | "graphql-yoga": "1.18.3" 9 | }, 10 | "now": { 11 | "alias": "graphql-binding-github" 12 | }, 13 | "engines": { 14 | "node": ">=8.0.0" 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /example/schemas/app.graphql: -------------------------------------------------------------------------------- 1 | # import Repository from "./github.graphql" 2 | 3 | type Query { 4 | hello(name: String): String! 5 | favoriteRepos: [Repository!]! 6 | } -------------------------------------------------------------------------------- /example/src/index.js: -------------------------------------------------------------------------------- 1 | const { Github } = require('../../dist/index') 2 | const { GraphQLServer } = require('graphql-yoga') 3 | 4 | console.log({Github}) 5 | 6 | const favoriteRepos = [ 7 | { owner: 'graphcool', name: 'graphql-yoga' }, 8 | { owner: 'graphql', name: 'graphql-js' }, 9 | ] 10 | 11 | const token = process.env.GITHUB_TOKEN || '' 12 | const github = new Github(token) 13 | 14 | const typeDefs = './schemas/app.graphql' 15 | const resolvers = { 16 | Query: { 17 | hello: (parent, { name }) => `Hello ${name || 'World'}!`, 18 | favoriteRepos: (parent, args, context, info) => { 19 | return Promise.all( 20 | favoriteRepos.map(args => github.query.repository(args, context, info)), 21 | ) 22 | }, 23 | }, 24 | ...github.getAbstractResolvers(typeDefs), 25 | } 26 | 27 | const server = new GraphQLServer({ resolvers, typeDefs }) 28 | server.start(() => console.log('Server running on http://localhost:4000')) 29 | -------------------------------------------------------------------------------- /example/yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@types/aws-lambda@8.10.13": 6 | version "8.10.13" 7 | resolved "https://registry.yarnpkg.com/@types/aws-lambda/-/aws-lambda-8.10.13.tgz#92cc06b1cc88b5d0b327d2671dcf3daea96923a5" 8 | 9 | "@types/body-parser@*": 10 | version "1.16.8" 11 | resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.16.8.tgz#687ec34140624a3bec2b1a8ea9268478ae8f3be3" 12 | dependencies: 13 | "@types/express" "*" 14 | "@types/node" "*" 15 | 16 | "@types/cors@^2.8.4": 17 | version "2.8.4" 18 | resolved "https://registry.yarnpkg.com/@types/cors/-/cors-2.8.4.tgz#50991a759a29c0b89492751008c6af7a7c8267b0" 19 | dependencies: 20 | "@types/express" "*" 21 | 22 | "@types/events@*": 23 | version "1.1.0" 24 | resolved "https://registry.yarnpkg.com/@types/events/-/events-1.1.0.tgz#93b1be91f63c184450385272c47b6496fd028e02" 25 | 26 | "@types/express-serve-static-core@*": 27 | version "4.0.57" 28 | resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.0.57.tgz#3cd8ab4b11d5ecd70393bada7fc1c480491537dd" 29 | dependencies: 30 | "@types/node" "*" 31 | 32 | "@types/express@*": 33 | version "4.0.39" 34 | resolved "https://registry.yarnpkg.com/@types/express/-/express-4.0.39.tgz#1441f21d52b33be8d4fa8a865c15a6a91cd0fa09" 35 | dependencies: 36 | "@types/body-parser" "*" 37 | "@types/express-serve-static-core" "*" 38 | "@types/serve-static" "*" 39 | 40 | "@types/express@^4.11.1": 41 | version "4.11.1" 42 | resolved "https://registry.yarnpkg.com/@types/express/-/express-4.11.1.tgz#f99663b3ab32d04cb11db612ef5dd7933f75465b" 43 | dependencies: 44 | "@types/body-parser" "*" 45 | "@types/express-serve-static-core" "*" 46 | "@types/serve-static" "*" 47 | 48 | "@types/graphql-deduplicator@^2.0.0": 49 | version "2.0.0" 50 | resolved "https://registry.yarnpkg.com/@types/graphql-deduplicator/-/graphql-deduplicator-2.0.0.tgz#9e577b8f3feb3d067b0ca756f4a1fb356d533922" 51 | 52 | "@types/graphql@0.12.6": 53 | version "0.12.6" 54 | resolved "https://registry.yarnpkg.com/@types/graphql/-/graphql-0.12.6.tgz#3d619198585fcabe5f4e1adfb5cf5f3388c66c13" 55 | 56 | "@types/graphql@^14.0.0": 57 | version "14.0.3" 58 | resolved "https://registry.yarnpkg.com/@types/graphql/-/graphql-14.0.3.tgz#389e2e5b83ecdb376d9f98fae2094297bc112c1c" 59 | 60 | "@types/mime@*": 61 | version "2.0.0" 62 | resolved "https://registry.yarnpkg.com/@types/mime/-/mime-2.0.0.tgz#5a7306e367c539b9f6543499de8dd519fac37a8b" 63 | 64 | "@types/node@*": 65 | version "8.0.54" 66 | resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.54.tgz#3fd9357db4af388b79e03845340259440edffde6" 67 | dependencies: 68 | "@types/events" "*" 69 | 70 | "@types/node@^9.4.6": 71 | version "9.4.6" 72 | resolved "https://registry.yarnpkg.com/@types/node/-/node-9.4.6.tgz#d8176d864ee48753d053783e4e463aec86b8d82e" 73 | 74 | "@types/serve-static@*": 75 | version "1.13.1" 76 | resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.13.1.tgz#1d2801fa635d274cd97d4ec07e26b21b44127492" 77 | dependencies: 78 | "@types/express-serve-static-core" "*" 79 | "@types/mime" "*" 80 | 81 | "@types/zen-observable@^0.5.3": 82 | version "0.5.3" 83 | resolved "https://registry.yarnpkg.com/@types/zen-observable/-/zen-observable-0.5.3.tgz#91b728599544efbb7386d8b6633693a3c2e7ade5" 84 | 85 | accepts@~1.3.5: 86 | version "1.3.5" 87 | resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.5.tgz#eb777df6011723a3b14e8a72c0805c8e86746bd2" 88 | dependencies: 89 | mime-types "~2.1.18" 90 | negotiator "0.6.1" 91 | 92 | ansi-regex@^2.0.0: 93 | version "2.1.1" 94 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" 95 | 96 | ansi-regex@^3.0.0: 97 | version "3.0.0" 98 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" 99 | 100 | apollo-cache-control@^0.1.0: 101 | version "0.1.0" 102 | resolved "https://registry.yarnpkg.com/apollo-cache-control/-/apollo-cache-control-0.1.0.tgz#0c7c9abc312dea3a60e1cb70e0869df2cd970688" 103 | dependencies: 104 | graphql-extensions "^0.0.x" 105 | 106 | apollo-link-http-common@^0.2.4: 107 | version "0.2.4" 108 | resolved "https://registry.yarnpkg.com/apollo-link-http-common/-/apollo-link-http-common-0.2.4.tgz#877603f7904dc8f70242cac61808b1f8d034b2c3" 109 | dependencies: 110 | apollo-link "^1.2.2" 111 | 112 | apollo-link-http@1.5.4: 113 | version "1.5.4" 114 | resolved "https://registry.yarnpkg.com/apollo-link-http/-/apollo-link-http-1.5.4.tgz#b80b7b4b342c655b6a5614624b076a36be368f43" 115 | dependencies: 116 | apollo-link "^1.2.2" 117 | apollo-link-http-common "^0.2.4" 118 | 119 | apollo-link@1.2.1, apollo-link@^1.2.1: 120 | version "1.2.1" 121 | resolved "https://registry.yarnpkg.com/apollo-link/-/apollo-link-1.2.1.tgz#c120b16059f9bd93401b9f72b94d2f80f3f305d2" 122 | dependencies: 123 | "@types/node" "^9.4.6" 124 | apollo-utilities "^1.0.0" 125 | zen-observable-ts "^0.8.6" 126 | 127 | apollo-link@1.2.2, apollo-link@^1.2.2: 128 | version "1.2.2" 129 | resolved "https://registry.yarnpkg.com/apollo-link/-/apollo-link-1.2.2.tgz#54c84199b18ac1af8d63553a68ca389c05217a03" 130 | dependencies: 131 | "@types/graphql" "0.12.6" 132 | apollo-utilities "^1.0.0" 133 | zen-observable-ts "^0.8.9" 134 | 135 | apollo-link@^1.2.3: 136 | version "1.2.3" 137 | resolved "https://registry.yarnpkg.com/apollo-link/-/apollo-link-1.2.3.tgz#9bd8d5fe1d88d31dc91dae9ecc22474d451fb70d" 138 | dependencies: 139 | apollo-utilities "^1.0.0" 140 | zen-observable-ts "^0.8.10" 141 | 142 | apollo-server-core@^1.3.6: 143 | version "1.3.6" 144 | resolved "https://registry.yarnpkg.com/apollo-server-core/-/apollo-server-core-1.3.6.tgz#08636243c2de56fa8c267d68dd602cb1fbd323e3" 145 | dependencies: 146 | apollo-cache-control "^0.1.0" 147 | apollo-tracing "^0.1.0" 148 | graphql-extensions "^0.0.x" 149 | 150 | apollo-server-express@^1.3.6: 151 | version "1.3.6" 152 | resolved "https://registry.yarnpkg.com/apollo-server-express/-/apollo-server-express-1.3.6.tgz#2120b05021a87def44fafd846e8a0e2a32852db7" 153 | dependencies: 154 | apollo-server-core "^1.3.6" 155 | apollo-server-module-graphiql "^1.3.4" 156 | 157 | apollo-server-lambda@1.3.6: 158 | version "1.3.6" 159 | resolved "https://registry.yarnpkg.com/apollo-server-lambda/-/apollo-server-lambda-1.3.6.tgz#bdaac37f143c6798e40b8ae75580ba673cea260e" 160 | dependencies: 161 | apollo-server-core "^1.3.6" 162 | apollo-server-module-graphiql "^1.3.4" 163 | 164 | apollo-server-module-graphiql@^1.3.4: 165 | version "1.3.4" 166 | resolved "https://registry.yarnpkg.com/apollo-server-module-graphiql/-/apollo-server-module-graphiql-1.3.4.tgz#50399b7c51b7267d0c841529f5173e5fc7304de4" 167 | 168 | apollo-tracing@^0.1.0: 169 | version "0.1.1" 170 | resolved "https://registry.yarnpkg.com/apollo-tracing/-/apollo-tracing-0.1.1.tgz#7a5707543fc102f81cda7ba45b98331a82a6750b" 171 | dependencies: 172 | graphql-extensions "^0.0.x" 173 | 174 | apollo-upload-server@^7.0.0: 175 | version "7.1.0" 176 | resolved "https://registry.yarnpkg.com/apollo-upload-server/-/apollo-upload-server-7.1.0.tgz#21e07b52252b3749b913468599813e13cfca805f" 177 | dependencies: 178 | busboy "^0.2.14" 179 | fs-capacitor "^1.0.0" 180 | http-errors "^1.7.0" 181 | object-path "^0.11.4" 182 | 183 | apollo-utilities@^1.0.0, apollo-utilities@^1.0.1: 184 | version "1.0.3" 185 | resolved "https://registry.yarnpkg.com/apollo-utilities/-/apollo-utilities-1.0.3.tgz#bf435277609850dd442cf1d5c2e8bc6655eaa943" 186 | 187 | array-flatten@1.1.1: 188 | version "1.1.1" 189 | resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" 190 | 191 | arrify@^1.0.0: 192 | version "1.0.1" 193 | resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" 194 | 195 | async-limiter@~1.0.0: 196 | version "1.0.0" 197 | resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.0.tgz#78faed8c3d074ab81f22b4e985d79e8738f720f8" 198 | 199 | backo2@^1.0.2: 200 | version "1.0.2" 201 | resolved "https://registry.yarnpkg.com/backo2/-/backo2-1.0.2.tgz#31ab1ac8b129363463e35b3ebb69f4dfcfba7947" 202 | 203 | body-parser-graphql@1.1.0: 204 | version "1.1.0" 205 | resolved "https://registry.yarnpkg.com/body-parser-graphql/-/body-parser-graphql-1.1.0.tgz#80a80353c7cb623562fd375750dfe018d75f0f7c" 206 | dependencies: 207 | body-parser "^1.18.2" 208 | 209 | body-parser@1.18.2, body-parser@^1.18.2: 210 | version "1.18.2" 211 | resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.18.2.tgz#87678a19d84b47d859b83199bd59bce222b10454" 212 | dependencies: 213 | bytes "3.0.0" 214 | content-type "~1.0.4" 215 | debug "2.6.9" 216 | depd "~1.1.1" 217 | http-errors "~1.6.2" 218 | iconv-lite "0.4.19" 219 | on-finished "~2.3.0" 220 | qs "6.5.1" 221 | raw-body "2.3.2" 222 | type-is "~1.6.15" 223 | 224 | buffer-from@^1.0.0, buffer-from@^1.1.0: 225 | version "1.1.0" 226 | resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.0.tgz#87fcaa3a298358e0ade6e442cfce840740d1ad04" 227 | 228 | busboy@^0.2.14: 229 | version "0.2.14" 230 | resolved "https://registry.yarnpkg.com/busboy/-/busboy-0.2.14.tgz#6c2a622efcf47c57bbbe1e2a9c37ad36c7925453" 231 | dependencies: 232 | dicer "0.2.5" 233 | readable-stream "1.1.x" 234 | 235 | busboy@^0.3.1: 236 | version "0.3.1" 237 | resolved "https://registry.yarnpkg.com/busboy/-/busboy-0.3.1.tgz#170899274c5bf38aae27d5c62b71268cd585fd1b" 238 | dependencies: 239 | dicer "0.3.0" 240 | 241 | bytes@3.0.0: 242 | version "3.0.0" 243 | resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" 244 | 245 | camelcase@^4.1.0: 246 | version "4.1.0" 247 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" 248 | 249 | cliui@^4.0.0: 250 | version "4.1.0" 251 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-4.1.0.tgz#348422dbe82d800b3022eef4f6ac10bf2e4d1b49" 252 | dependencies: 253 | string-width "^2.1.1" 254 | strip-ansi "^4.0.0" 255 | wrap-ansi "^2.0.0" 256 | 257 | code-point-at@^1.0.0: 258 | version "1.1.0" 259 | resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" 260 | 261 | content-disposition@0.5.2: 262 | version "0.5.2" 263 | resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.2.tgz#0cf68bb9ddf5f2be7961c3a85178cb85dba78cb4" 264 | 265 | content-type@~1.0.4: 266 | version "1.0.4" 267 | resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" 268 | 269 | cookie-signature@1.0.6: 270 | version "1.0.6" 271 | resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" 272 | 273 | cookie@0.3.1: 274 | version "0.3.1" 275 | resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb" 276 | 277 | core-js@^2.5.1: 278 | version "2.5.1" 279 | resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.1.tgz#ae6874dc66937789b80754ff5428df66819ca50b" 280 | 281 | core-util-is@~1.0.0: 282 | version "1.0.2" 283 | resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" 284 | 285 | cors@^2.8.4: 286 | version "2.8.4" 287 | resolved "https://registry.yarnpkg.com/cors/-/cors-2.8.4.tgz#2bd381f2eb201020105cd50ea59da63090694686" 288 | dependencies: 289 | object-assign "^4" 290 | vary "^1" 291 | 292 | cross-fetch@2.1.1: 293 | version "2.1.1" 294 | resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-2.1.1.tgz#c41b37af8e62ca1c6ad0bd519dcd0a16c75b6f1f" 295 | dependencies: 296 | node-fetch "2.1.2" 297 | whatwg-fetch "2.0.4" 298 | 299 | cross-spawn@^5.0.1: 300 | version "5.1.0" 301 | resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" 302 | dependencies: 303 | lru-cache "^4.0.1" 304 | shebang-command "^1.2.0" 305 | which "^1.2.9" 306 | 307 | debug@2.6.9: 308 | version "2.6.9" 309 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" 310 | dependencies: 311 | ms "2.0.0" 312 | 313 | decamelize@^1.1.1: 314 | version "1.2.0" 315 | resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" 316 | 317 | depd@1.1.1, depd@~1.1.1: 318 | version "1.1.1" 319 | resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.1.tgz#5783b4e1c459f06fa5ca27f991f3d06e7a310359" 320 | 321 | depd@~1.1.2: 322 | version "1.1.2" 323 | resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" 324 | 325 | deprecated-decorator@^0.1.6: 326 | version "0.1.6" 327 | resolved "https://registry.yarnpkg.com/deprecated-decorator/-/deprecated-decorator-0.1.6.tgz#00966317b7a12fe92f3cc831f7583af329b86c37" 328 | 329 | destroy@~1.0.4: 330 | version "1.0.4" 331 | resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" 332 | 333 | dicer@0.2.5: 334 | version "0.2.5" 335 | resolved "https://registry.yarnpkg.com/dicer/-/dicer-0.2.5.tgz#5996c086bb33218c812c090bddc09cd12facb70f" 336 | dependencies: 337 | readable-stream "1.1.x" 338 | streamsearch "0.1.2" 339 | 340 | dicer@0.3.0: 341 | version "0.3.0" 342 | resolved "https://registry.yarnpkg.com/dicer/-/dicer-0.3.0.tgz#eacd98b3bfbf92e8ab5c2fdb71aaac44bb06b872" 343 | dependencies: 344 | streamsearch "0.1.2" 345 | 346 | diff@^3.1.0: 347 | version "3.5.0" 348 | resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12" 349 | 350 | ee-first@1.1.1: 351 | version "1.1.1" 352 | resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" 353 | 354 | encodeurl@~1.0.2: 355 | version "1.0.2" 356 | resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" 357 | 358 | escape-html@~1.0.3: 359 | version "1.0.3" 360 | resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" 361 | 362 | etag@~1.8.1: 363 | version "1.8.1" 364 | resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" 365 | 366 | eventemitter3@^2.0.3: 367 | version "2.0.3" 368 | resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-2.0.3.tgz#b5e1079b59fb5e1ba2771c0a993be060a58c99ba" 369 | 370 | execa@^0.7.0: 371 | version "0.7.0" 372 | resolved "https://registry.yarnpkg.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" 373 | dependencies: 374 | cross-spawn "^5.0.1" 375 | get-stream "^3.0.0" 376 | is-stream "^1.1.0" 377 | npm-run-path "^2.0.0" 378 | p-finally "^1.0.0" 379 | signal-exit "^3.0.0" 380 | strip-eof "^1.0.0" 381 | 382 | express@^4.16.3: 383 | version "4.16.3" 384 | resolved "https://registry.yarnpkg.com/express/-/express-4.16.3.tgz#6af8a502350db3246ecc4becf6b5a34d22f7ed53" 385 | dependencies: 386 | accepts "~1.3.5" 387 | array-flatten "1.1.1" 388 | body-parser "1.18.2" 389 | content-disposition "0.5.2" 390 | content-type "~1.0.4" 391 | cookie "0.3.1" 392 | cookie-signature "1.0.6" 393 | debug "2.6.9" 394 | depd "~1.1.2" 395 | encodeurl "~1.0.2" 396 | escape-html "~1.0.3" 397 | etag "~1.8.1" 398 | finalhandler "1.1.1" 399 | fresh "0.5.2" 400 | merge-descriptors "1.0.1" 401 | methods "~1.1.2" 402 | on-finished "~2.3.0" 403 | parseurl "~1.3.2" 404 | path-to-regexp "0.1.7" 405 | proxy-addr "~2.0.3" 406 | qs "6.5.1" 407 | range-parser "~1.2.0" 408 | safe-buffer "5.1.1" 409 | send "0.16.2" 410 | serve-static "1.13.2" 411 | setprototypeof "1.1.0" 412 | statuses "~1.4.0" 413 | type-is "~1.6.16" 414 | utils-merge "1.0.1" 415 | vary "~1.1.2" 416 | 417 | finalhandler@1.1.1: 418 | version "1.1.1" 419 | resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.1.tgz#eebf4ed840079c83f4249038c9d703008301b105" 420 | dependencies: 421 | debug "2.6.9" 422 | encodeurl "~1.0.2" 423 | escape-html "~1.0.3" 424 | on-finished "~2.3.0" 425 | parseurl "~1.3.2" 426 | statuses "~1.4.0" 427 | unpipe "~1.0.0" 428 | 429 | find-up@^2.1.0: 430 | version "2.1.0" 431 | resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" 432 | dependencies: 433 | locate-path "^2.0.0" 434 | 435 | forwarded@~0.1.2: 436 | version "0.1.2" 437 | resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.1.2.tgz#98c23dab1175657b8c0573e8ceccd91b0ff18c84" 438 | 439 | fresh@0.5.2: 440 | version "0.5.2" 441 | resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" 442 | 443 | fs-capacitor@^1.0.0: 444 | version "1.0.1" 445 | resolved "https://registry.yarnpkg.com/fs-capacitor/-/fs-capacitor-1.0.1.tgz#ff9dbfa14dfaf4472537720f19c3088ed9278df0" 446 | 447 | fs-capacitor@^2.0.4: 448 | version "2.0.4" 449 | resolved "https://registry.yarnpkg.com/fs-capacitor/-/fs-capacitor-2.0.4.tgz#5a22e72d40ae5078b4fe64fe4d08c0d3fc88ad3c" 450 | 451 | get-caller-file@^1.0.1: 452 | version "1.0.2" 453 | resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.2.tgz#f702e63127e7e231c160a80c1554acb70d5047e5" 454 | 455 | get-stream@^3.0.0: 456 | version "3.0.0" 457 | resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" 458 | 459 | graphql-binding-github@0.3.25: 460 | version "0.3.25" 461 | resolved "https://registry.yarnpkg.com/graphql-binding-github/-/graphql-binding-github-0.3.25.tgz#9465ded17b52618eadf52a651b92337c22ed45e6" 462 | dependencies: 463 | apollo-link "1.2.2" 464 | apollo-link-http "1.5.4" 465 | cross-fetch "2.1.1" 466 | graphql "0.13.2" 467 | graphql-binding "1.4.0-beta.23" 468 | graphql-tools "2.23.1" 469 | 470 | graphql-binding@1.4.0-beta.23: 471 | version "1.4.0-beta.23" 472 | resolved "https://registry.yarnpkg.com/graphql-binding/-/graphql-binding-1.4.0-beta.23.tgz#060b1cdb4dbbae740df50096b09ea34fab0fe222" 473 | dependencies: 474 | graphql-import "^0.5.2" 475 | graphql-tools "3.0.0" 476 | iterall "1.2.2" 477 | object-path-immutable "^1.0.1" 478 | resolve-cwd "^2.0.0" 479 | ts-node "^6.0.2" 480 | yargs "^11.0.0" 481 | 482 | graphql-deduplicator@^2.0.1: 483 | version "2.0.1" 484 | resolved "https://registry.yarnpkg.com/graphql-deduplicator/-/graphql-deduplicator-2.0.1.tgz#20c6b39e3a6f096b46dfc8491432818739c0ee37" 485 | 486 | graphql-extensions@^0.0.x: 487 | version "0.0.5" 488 | resolved "https://registry.yarnpkg.com/graphql-extensions/-/graphql-extensions-0.0.5.tgz#63bc4a3fd31aab12bfadf783cbc038a9a6937cf0" 489 | dependencies: 490 | core-js "^2.5.1" 491 | source-map-support "^0.5.0" 492 | 493 | graphql-import@^0.5.2: 494 | version "0.5.3" 495 | resolved "https://registry.yarnpkg.com/graphql-import/-/graphql-import-0.5.3.tgz#c0487f7de16766e7e2174a85f61900de59a59227" 496 | dependencies: 497 | lodash "^4.17.4" 498 | 499 | graphql-import@^0.7.0: 500 | version "0.7.1" 501 | resolved "https://registry.yarnpkg.com/graphql-import/-/graphql-import-0.7.1.tgz#4add8d91a5f752d764b0a4a7a461fcd93136f223" 502 | dependencies: 503 | lodash "^4.17.4" 504 | resolve-from "^4.0.0" 505 | 506 | graphql-middleware@4.0.1: 507 | version "4.0.1" 508 | resolved "https://registry.yarnpkg.com/graphql-middleware/-/graphql-middleware-4.0.1.tgz#8c627b22cc046a47e9474a813cf9e0bd50fa0c4b" 509 | dependencies: 510 | graphql-tools "^4.0.5" 511 | 512 | graphql-playground-html@1.6.12: 513 | version "1.6.12" 514 | resolved "https://registry.yarnpkg.com/graphql-playground-html/-/graphql-playground-html-1.6.12.tgz#8b3b34ab6013e2c877f0ceaae478fafc8ca91b85" 515 | 516 | graphql-playground-middleware-express@1.7.11: 517 | version "1.7.11" 518 | resolved "https://registry.yarnpkg.com/graphql-playground-middleware-express/-/graphql-playground-middleware-express-1.7.11.tgz#bbffd784a37133bfa7165bdd8f429081dbf4bcf6" 519 | dependencies: 520 | graphql-playground-html "1.6.12" 521 | 522 | graphql-playground-middleware-lambda@1.7.12: 523 | version "1.7.12" 524 | resolved "https://registry.yarnpkg.com/graphql-playground-middleware-lambda/-/graphql-playground-middleware-lambda-1.7.12.tgz#1b06440a288dbcd53f935b43e5b9ca2738a06305" 525 | dependencies: 526 | graphql-playground-html "1.6.12" 527 | 528 | graphql-subscriptions@^0.5.8: 529 | version "0.5.8" 530 | resolved "https://registry.yarnpkg.com/graphql-subscriptions/-/graphql-subscriptions-0.5.8.tgz#13a6143c546bce390404657dc73ca501def30aa7" 531 | dependencies: 532 | iterall "^1.2.1" 533 | 534 | graphql-tools@2.23.1: 535 | version "2.23.1" 536 | resolved "https://registry.yarnpkg.com/graphql-tools/-/graphql-tools-2.23.1.tgz#23f43000e2b9dc5a89920fe846fc5f71a320efdb" 537 | dependencies: 538 | apollo-link "^1.2.1" 539 | apollo-utilities "^1.0.1" 540 | deprecated-decorator "^0.1.6" 541 | iterall "^1.1.3" 542 | uuid "^3.1.0" 543 | 544 | graphql-tools@3.0.0: 545 | version "3.0.0" 546 | resolved "https://registry.yarnpkg.com/graphql-tools/-/graphql-tools-3.0.0.tgz#ff22ad15315fc268de8639d03936b911d78b9e9b" 547 | dependencies: 548 | apollo-link "1.2.1" 549 | apollo-utilities "^1.0.1" 550 | deprecated-decorator "^0.1.6" 551 | iterall "^1.1.3" 552 | uuid "^3.1.0" 553 | 554 | graphql-tools@^4.0.0: 555 | version "4.0.1" 556 | resolved "https://registry.yarnpkg.com/graphql-tools/-/graphql-tools-4.0.1.tgz#c995a4e25c2967d108c975e508322d12969c8c0e" 557 | dependencies: 558 | apollo-link "^1.2.3" 559 | apollo-utilities "^1.0.1" 560 | deprecated-decorator "^0.1.6" 561 | iterall "^1.1.3" 562 | uuid "^3.1.0" 563 | 564 | graphql-tools@^4.0.5: 565 | version "4.0.5" 566 | resolved "https://registry.yarnpkg.com/graphql-tools/-/graphql-tools-4.0.5.tgz#d2b41ee0a330bfef833e5cdae7e1f0b0d86b1754" 567 | dependencies: 568 | apollo-link "^1.2.3" 569 | apollo-utilities "^1.0.1" 570 | deprecated-decorator "^0.1.6" 571 | iterall "^1.1.3" 572 | uuid "^3.1.0" 573 | 574 | graphql-upload@^8.0.0: 575 | version "8.0.7" 576 | resolved "https://registry.yarnpkg.com/graphql-upload/-/graphql-upload-8.0.7.tgz#8644264e241529552ea4b3797e7ee15809cf01a3" 577 | dependencies: 578 | busboy "^0.3.1" 579 | fs-capacitor "^2.0.4" 580 | http-errors "^1.7.2" 581 | object-path "^0.11.4" 582 | 583 | graphql-yoga@1.18.3: 584 | version "1.18.3" 585 | resolved "https://registry.yarnpkg.com/graphql-yoga/-/graphql-yoga-1.18.3.tgz#047fa511dbef63cf6d6ea7c06a71202d37444844" 586 | dependencies: 587 | "@types/aws-lambda" "8.10.13" 588 | "@types/cors" "^2.8.4" 589 | "@types/express" "^4.11.1" 590 | "@types/graphql" "^14.0.0" 591 | "@types/graphql-deduplicator" "^2.0.0" 592 | "@types/zen-observable" "^0.5.3" 593 | apollo-server-express "^1.3.6" 594 | apollo-server-lambda "1.3.6" 595 | apollo-upload-server "^7.0.0" 596 | body-parser-graphql "1.1.0" 597 | cors "^2.8.4" 598 | express "^4.16.3" 599 | graphql "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0" 600 | graphql-deduplicator "^2.0.1" 601 | graphql-import "^0.7.0" 602 | graphql-middleware "4.0.1" 603 | graphql-playground-middleware-express "1.7.11" 604 | graphql-playground-middleware-lambda "1.7.12" 605 | graphql-subscriptions "^0.5.8" 606 | graphql-tools "^4.0.0" 607 | graphql-upload "^8.0.0" 608 | subscriptions-transport-ws "^0.9.8" 609 | 610 | graphql@0.13.2: 611 | version "0.13.2" 612 | resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.13.2.tgz#4c740ae3c222823e7004096f832e7b93b2108270" 613 | dependencies: 614 | iterall "^1.2.1" 615 | 616 | "graphql@^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0": 617 | version "14.0.2" 618 | resolved "https://registry.yarnpkg.com/graphql/-/graphql-14.0.2.tgz#7dded337a4c3fd2d075692323384034b357f5650" 619 | dependencies: 620 | iterall "^1.2.2" 621 | 622 | http-errors@1.6.2, http-errors@~1.6.2: 623 | version "1.6.2" 624 | resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.2.tgz#0a002cc85707192a7e7946ceedc11155f60ec736" 625 | dependencies: 626 | depd "1.1.1" 627 | inherits "2.0.3" 628 | setprototypeof "1.0.3" 629 | statuses ">= 1.3.1 < 2" 630 | 631 | http-errors@^1.7.0: 632 | version "1.7.1" 633 | resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.7.1.tgz#6a4ffe5d35188e1c39f872534690585852e1f027" 634 | dependencies: 635 | depd "~1.1.2" 636 | inherits "2.0.3" 637 | setprototypeof "1.1.0" 638 | statuses ">= 1.5.0 < 2" 639 | toidentifier "1.0.0" 640 | 641 | http-errors@^1.7.2: 642 | version "1.7.2" 643 | resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.7.2.tgz#4f5029cf13239f31036e5b2e55292bcfbcc85c8f" 644 | dependencies: 645 | depd "~1.1.2" 646 | inherits "2.0.3" 647 | setprototypeof "1.1.1" 648 | statuses ">= 1.5.0 < 2" 649 | toidentifier "1.0.0" 650 | 651 | iconv-lite@0.4.19: 652 | version "0.4.19" 653 | resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b" 654 | 655 | inherits@2.0.3, inherits@~2.0.1: 656 | version "2.0.3" 657 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" 658 | 659 | invert-kv@^1.0.0: 660 | version "1.0.0" 661 | resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" 662 | 663 | ipaddr.js@1.6.0: 664 | version "1.6.0" 665 | resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.6.0.tgz#e3fa357b773da619f26e95f049d055c72796f86b" 666 | 667 | is-fullwidth-code-point@^1.0.0: 668 | version "1.0.0" 669 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" 670 | dependencies: 671 | number-is-nan "^1.0.0" 672 | 673 | is-fullwidth-code-point@^2.0.0: 674 | version "2.0.0" 675 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" 676 | 677 | is-stream@^1.1.0: 678 | version "1.1.0" 679 | resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" 680 | 681 | isarray@0.0.1: 682 | version "0.0.1" 683 | resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" 684 | 685 | isexe@^2.0.0: 686 | version "2.0.0" 687 | resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" 688 | 689 | iterall@1.2.2, iterall@^1.2.2: 690 | version "1.2.2" 691 | resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.2.2.tgz#92d70deb8028e0c39ff3164fdbf4d8b088130cd7" 692 | 693 | iterall@^1.1.3: 694 | version "1.1.3" 695 | resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.1.3.tgz#1cbbff96204056dde6656e2ed2e2226d0e6d72c9" 696 | 697 | iterall@^1.2.1: 698 | version "1.2.1" 699 | resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.2.1.tgz#59a347ae8001d2d4bc546b8487ca755d61849965" 700 | 701 | lcid@^1.0.0: 702 | version "1.0.0" 703 | resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" 704 | dependencies: 705 | invert-kv "^1.0.0" 706 | 707 | locate-path@^2.0.0: 708 | version "2.0.0" 709 | resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" 710 | dependencies: 711 | p-locate "^2.0.0" 712 | path-exists "^3.0.0" 713 | 714 | lodash.assign@^4.2.0: 715 | version "4.2.0" 716 | resolved "https://registry.yarnpkg.com/lodash.assign/-/lodash.assign-4.2.0.tgz#0d99f3ccd7a6d261d19bdaeb9245005d285808e7" 717 | 718 | lodash.isobject@^3.0.2: 719 | version "3.0.2" 720 | resolved "https://registry.yarnpkg.com/lodash.isobject/-/lodash.isobject-3.0.2.tgz#3c8fb8d5b5bf4bf90ae06e14f2a530a4ed935e1d" 721 | 722 | lodash.isstring@^4.0.1: 723 | version "4.0.1" 724 | resolved "https://registry.yarnpkg.com/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451" 725 | 726 | lodash@^4.17.4: 727 | version "4.17.4" 728 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" 729 | 730 | lru-cache@^4.0.1: 731 | version "4.1.3" 732 | resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.3.tgz#a1175cf3496dfc8436c156c334b4955992bce69c" 733 | dependencies: 734 | pseudomap "^1.0.2" 735 | yallist "^2.1.2" 736 | 737 | make-error@^1.1.1: 738 | version "1.3.4" 739 | resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.4.tgz#19978ed575f9e9545d2ff8c13e33b5d18a67d535" 740 | 741 | media-typer@0.3.0: 742 | version "0.3.0" 743 | resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" 744 | 745 | mem@^1.1.0: 746 | version "1.1.0" 747 | resolved "https://registry.yarnpkg.com/mem/-/mem-1.1.0.tgz#5edd52b485ca1d900fe64895505399a0dfa45f76" 748 | dependencies: 749 | mimic-fn "^1.0.0" 750 | 751 | merge-descriptors@1.0.1: 752 | version "1.0.1" 753 | resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" 754 | 755 | methods@~1.1.2: 756 | version "1.1.2" 757 | resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" 758 | 759 | mime-db@~1.30.0: 760 | version "1.30.0" 761 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.30.0.tgz#74c643da2dd9d6a45399963465b26d5ca7d71f01" 762 | 763 | mime-db@~1.33.0: 764 | version "1.33.0" 765 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.33.0.tgz#a3492050a5cb9b63450541e39d9788d2272783db" 766 | 767 | mime-types@~2.1.15: 768 | version "2.1.17" 769 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.17.tgz#09d7a393f03e995a79f8af857b70a9e0ab16557a" 770 | dependencies: 771 | mime-db "~1.30.0" 772 | 773 | mime-types@~2.1.18: 774 | version "2.1.18" 775 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.18.tgz#6f323f60a83d11146f831ff11fd66e2fe5503bb8" 776 | dependencies: 777 | mime-db "~1.33.0" 778 | 779 | mime@1.4.1: 780 | version "1.4.1" 781 | resolved "https://registry.yarnpkg.com/mime/-/mime-1.4.1.tgz#121f9ebc49e3766f311a76e1fa1c8003c4b03aa6" 782 | 783 | mimic-fn@^1.0.0: 784 | version "1.2.0" 785 | resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" 786 | 787 | minimist@0.0.8: 788 | version "0.0.8" 789 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" 790 | 791 | minimist@^1.2.0: 792 | version "1.2.0" 793 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" 794 | 795 | mkdirp@^0.5.1: 796 | version "0.5.1" 797 | resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" 798 | dependencies: 799 | minimist "0.0.8" 800 | 801 | ms@2.0.0: 802 | version "2.0.0" 803 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" 804 | 805 | negotiator@0.6.1: 806 | version "0.6.1" 807 | resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9" 808 | 809 | node-fetch@2.1.2: 810 | version "2.1.2" 811 | resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.1.2.tgz#ab884e8e7e57e38a944753cec706f788d1768bb5" 812 | 813 | npm-run-path@^2.0.0: 814 | version "2.0.2" 815 | resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" 816 | dependencies: 817 | path-key "^2.0.0" 818 | 819 | number-is-nan@^1.0.0: 820 | version "1.0.1" 821 | resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" 822 | 823 | object-assign@^4: 824 | version "4.1.1" 825 | resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" 826 | 827 | object-path-immutable@^1.0.1: 828 | version "1.0.1" 829 | resolved "https://registry.yarnpkg.com/object-path-immutable/-/object-path-immutable-1.0.1.tgz#3c424052be3c54ec82def03f1b11b0c6e085c7ff" 830 | 831 | object-path@^0.11.4: 832 | version "0.11.4" 833 | resolved "https://registry.yarnpkg.com/object-path/-/object-path-0.11.4.tgz#370ae752fbf37de3ea70a861c23bba8915691949" 834 | 835 | on-finished@~2.3.0: 836 | version "2.3.0" 837 | resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" 838 | dependencies: 839 | ee-first "1.1.1" 840 | 841 | os-locale@^2.0.0: 842 | version "2.1.0" 843 | resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-2.1.0.tgz#42bc2900a6b5b8bd17376c8e882b65afccf24bf2" 844 | dependencies: 845 | execa "^0.7.0" 846 | lcid "^1.0.0" 847 | mem "^1.1.0" 848 | 849 | p-finally@^1.0.0: 850 | version "1.0.0" 851 | resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" 852 | 853 | p-limit@^1.1.0: 854 | version "1.3.0" 855 | resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" 856 | dependencies: 857 | p-try "^1.0.0" 858 | 859 | p-locate@^2.0.0: 860 | version "2.0.0" 861 | resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" 862 | dependencies: 863 | p-limit "^1.1.0" 864 | 865 | p-try@^1.0.0: 866 | version "1.0.0" 867 | resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" 868 | 869 | parseurl@~1.3.2: 870 | version "1.3.2" 871 | resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.2.tgz#fc289d4ed8993119460c156253262cdc8de65bf3" 872 | 873 | path-exists@^3.0.0: 874 | version "3.0.0" 875 | resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" 876 | 877 | path-key@^2.0.0: 878 | version "2.0.1" 879 | resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" 880 | 881 | path-to-regexp@0.1.7: 882 | version "0.1.7" 883 | resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" 884 | 885 | proxy-addr@~2.0.3: 886 | version "2.0.3" 887 | resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.3.tgz#355f262505a621646b3130a728eb647e22055341" 888 | dependencies: 889 | forwarded "~0.1.2" 890 | ipaddr.js "1.6.0" 891 | 892 | pseudomap@^1.0.2: 893 | version "1.0.2" 894 | resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" 895 | 896 | qs@6.5.1: 897 | version "6.5.1" 898 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.1.tgz#349cdf6eef89ec45c12d7d5eb3fc0c870343a6d8" 899 | 900 | range-parser@~1.2.0: 901 | version "1.2.0" 902 | resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e" 903 | 904 | raw-body@2.3.2: 905 | version "2.3.2" 906 | resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.3.2.tgz#bcd60c77d3eb93cde0050295c3f379389bc88f89" 907 | dependencies: 908 | bytes "3.0.0" 909 | http-errors "1.6.2" 910 | iconv-lite "0.4.19" 911 | unpipe "1.0.0" 912 | 913 | readable-stream@1.1.x: 914 | version "1.1.14" 915 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9" 916 | dependencies: 917 | core-util-is "~1.0.0" 918 | inherits "~2.0.1" 919 | isarray "0.0.1" 920 | string_decoder "~0.10.x" 921 | 922 | require-directory@^2.1.1: 923 | version "2.1.1" 924 | resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" 925 | 926 | require-main-filename@^1.0.1: 927 | version "1.0.1" 928 | resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" 929 | 930 | resolve-cwd@^2.0.0: 931 | version "2.0.0" 932 | resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a" 933 | dependencies: 934 | resolve-from "^3.0.0" 935 | 936 | resolve-from@^3.0.0: 937 | version "3.0.0" 938 | resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748" 939 | 940 | resolve-from@^4.0.0: 941 | version "4.0.0" 942 | resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" 943 | 944 | safe-buffer@5.1.1, safe-buffer@~5.1.0: 945 | version "5.1.1" 946 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853" 947 | 948 | send@0.16.2: 949 | version "0.16.2" 950 | resolved "https://registry.yarnpkg.com/send/-/send-0.16.2.tgz#6ecca1e0f8c156d141597559848df64730a6bbc1" 951 | dependencies: 952 | debug "2.6.9" 953 | depd "~1.1.2" 954 | destroy "~1.0.4" 955 | encodeurl "~1.0.2" 956 | escape-html "~1.0.3" 957 | etag "~1.8.1" 958 | fresh "0.5.2" 959 | http-errors "~1.6.2" 960 | mime "1.4.1" 961 | ms "2.0.0" 962 | on-finished "~2.3.0" 963 | range-parser "~1.2.0" 964 | statuses "~1.4.0" 965 | 966 | serve-static@1.13.2: 967 | version "1.13.2" 968 | resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.13.2.tgz#095e8472fd5b46237db50ce486a43f4b86c6cec1" 969 | dependencies: 970 | encodeurl "~1.0.2" 971 | escape-html "~1.0.3" 972 | parseurl "~1.3.2" 973 | send "0.16.2" 974 | 975 | set-blocking@^2.0.0: 976 | version "2.0.0" 977 | resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" 978 | 979 | setprototypeof@1.0.3: 980 | version "1.0.3" 981 | resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.0.3.tgz#66567e37043eeb4f04d91bd658c0cbefb55b8e04" 982 | 983 | setprototypeof@1.1.0: 984 | version "1.1.0" 985 | resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656" 986 | 987 | setprototypeof@1.1.1: 988 | version "1.1.1" 989 | resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.1.tgz#7e95acb24aa92f5885e0abef5ba131330d4ae683" 990 | 991 | shebang-command@^1.2.0: 992 | version "1.2.0" 993 | resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" 994 | dependencies: 995 | shebang-regex "^1.0.0" 996 | 997 | shebang-regex@^1.0.0: 998 | version "1.0.0" 999 | resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" 1000 | 1001 | signal-exit@^3.0.0: 1002 | version "3.0.2" 1003 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" 1004 | 1005 | source-map-support@^0.5.0: 1006 | version "0.5.0" 1007 | resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.0.tgz#2018a7ad2bdf8faf2691e5fddab26bed5a2bacab" 1008 | dependencies: 1009 | source-map "^0.6.0" 1010 | 1011 | source-map-support@^0.5.6: 1012 | version "0.5.6" 1013 | resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.6.tgz#4435cee46b1aab62b8e8610ce60f788091c51c13" 1014 | dependencies: 1015 | buffer-from "^1.0.0" 1016 | source-map "^0.6.0" 1017 | 1018 | source-map@^0.6.0: 1019 | version "0.6.1" 1020 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" 1021 | 1022 | "statuses@>= 1.3.1 < 2", statuses@~1.4.0: 1023 | version "1.4.0" 1024 | resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.4.0.tgz#bb73d446da2796106efcc1b601a253d6c46bd087" 1025 | 1026 | "statuses@>= 1.5.0 < 2": 1027 | version "1.5.0" 1028 | resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" 1029 | 1030 | streamsearch@0.1.2: 1031 | version "0.1.2" 1032 | resolved "https://registry.yarnpkg.com/streamsearch/-/streamsearch-0.1.2.tgz#808b9d0e56fc273d809ba57338e929919a1a9f1a" 1033 | 1034 | string-width@^1.0.1: 1035 | version "1.0.2" 1036 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" 1037 | dependencies: 1038 | code-point-at "^1.0.0" 1039 | is-fullwidth-code-point "^1.0.0" 1040 | strip-ansi "^3.0.0" 1041 | 1042 | string-width@^2.0.0, string-width@^2.1.1: 1043 | version "2.1.1" 1044 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" 1045 | dependencies: 1046 | is-fullwidth-code-point "^2.0.0" 1047 | strip-ansi "^4.0.0" 1048 | 1049 | string_decoder@~0.10.x: 1050 | version "0.10.31" 1051 | resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" 1052 | 1053 | strip-ansi@^3.0.0, strip-ansi@^3.0.1: 1054 | version "3.0.1" 1055 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" 1056 | dependencies: 1057 | ansi-regex "^2.0.0" 1058 | 1059 | strip-ansi@^4.0.0: 1060 | version "4.0.0" 1061 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" 1062 | dependencies: 1063 | ansi-regex "^3.0.0" 1064 | 1065 | strip-eof@^1.0.0: 1066 | version "1.0.0" 1067 | resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" 1068 | 1069 | subscriptions-transport-ws@^0.9.8: 1070 | version "0.9.8" 1071 | resolved "https://registry.yarnpkg.com/subscriptions-transport-ws/-/subscriptions-transport-ws-0.9.8.tgz#3a26ab96e06f78cf4ace8d083f6227fa55970947" 1072 | dependencies: 1073 | backo2 "^1.0.2" 1074 | eventemitter3 "^2.0.3" 1075 | iterall "^1.2.1" 1076 | lodash.assign "^4.2.0" 1077 | lodash.isobject "^3.0.2" 1078 | lodash.isstring "^4.0.1" 1079 | symbol-observable "^1.0.4" 1080 | ws "^3.0.0" 1081 | 1082 | symbol-observable@^1.0.4: 1083 | version "1.1.0" 1084 | resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.1.0.tgz#5c68fd8d54115d9dfb72a84720549222e8db9b32" 1085 | 1086 | toidentifier@1.0.0: 1087 | version "1.0.0" 1088 | resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.0.tgz#7e1be3470f1e77948bc43d94a3c8f4d7752ba553" 1089 | 1090 | ts-node@^6.0.2: 1091 | version "6.2.0" 1092 | resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-6.2.0.tgz#65a0ae2acce319ea4fd7ac8d7c9f1f90c5da6baf" 1093 | dependencies: 1094 | arrify "^1.0.0" 1095 | buffer-from "^1.1.0" 1096 | diff "^3.1.0" 1097 | make-error "^1.1.1" 1098 | minimist "^1.2.0" 1099 | mkdirp "^0.5.1" 1100 | source-map-support "^0.5.6" 1101 | yn "^2.0.0" 1102 | 1103 | type-is@~1.6.15: 1104 | version "1.6.15" 1105 | resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.15.tgz#cab10fb4909e441c82842eafe1ad646c81804410" 1106 | dependencies: 1107 | media-typer "0.3.0" 1108 | mime-types "~2.1.15" 1109 | 1110 | type-is@~1.6.16: 1111 | version "1.6.16" 1112 | resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.16.tgz#f89ce341541c672b25ee7ae3c73dee3b2be50194" 1113 | dependencies: 1114 | media-typer "0.3.0" 1115 | mime-types "~2.1.18" 1116 | 1117 | ultron@~1.1.0: 1118 | version "1.1.1" 1119 | resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.1.1.tgz#9fe1536a10a664a65266a1e3ccf85fd36302bc9c" 1120 | 1121 | unpipe@1.0.0, unpipe@~1.0.0: 1122 | version "1.0.0" 1123 | resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" 1124 | 1125 | utils-merge@1.0.1: 1126 | version "1.0.1" 1127 | resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" 1128 | 1129 | uuid@^3.1.0: 1130 | version "3.1.0" 1131 | resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04" 1132 | 1133 | vary@^1, vary@~1.1.2: 1134 | version "1.1.2" 1135 | resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" 1136 | 1137 | whatwg-fetch@2.0.4: 1138 | version "2.0.4" 1139 | resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz#dde6a5df315f9d39991aa17621853d720b85566f" 1140 | 1141 | which-module@^2.0.0: 1142 | version "2.0.0" 1143 | resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" 1144 | 1145 | which@^1.2.9: 1146 | version "1.3.1" 1147 | resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" 1148 | dependencies: 1149 | isexe "^2.0.0" 1150 | 1151 | wrap-ansi@^2.0.0: 1152 | version "2.1.0" 1153 | resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" 1154 | dependencies: 1155 | string-width "^1.0.1" 1156 | strip-ansi "^3.0.1" 1157 | 1158 | ws@^3.0.0: 1159 | version "3.3.2" 1160 | resolved "https://registry.yarnpkg.com/ws/-/ws-3.3.2.tgz#96c1d08b3fefda1d5c1e33700d3bfaa9be2d5608" 1161 | dependencies: 1162 | async-limiter "~1.0.0" 1163 | safe-buffer "~5.1.0" 1164 | ultron "~1.1.0" 1165 | 1166 | y18n@^3.2.1: 1167 | version "3.2.1" 1168 | resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" 1169 | 1170 | yallist@^2.1.2: 1171 | version "2.1.2" 1172 | resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" 1173 | 1174 | yargs-parser@^9.0.2: 1175 | version "9.0.2" 1176 | resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-9.0.2.tgz#9ccf6a43460fe4ed40a9bb68f48d43b8a68cc077" 1177 | dependencies: 1178 | camelcase "^4.1.0" 1179 | 1180 | yargs@^11.0.0: 1181 | version "11.1.0" 1182 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-11.1.0.tgz#90b869934ed6e871115ea2ff58b03f4724ed2d77" 1183 | dependencies: 1184 | cliui "^4.0.0" 1185 | decamelize "^1.1.1" 1186 | find-up "^2.1.0" 1187 | get-caller-file "^1.0.1" 1188 | os-locale "^2.0.0" 1189 | require-directory "^2.1.1" 1190 | require-main-filename "^1.0.1" 1191 | set-blocking "^2.0.0" 1192 | string-width "^2.0.0" 1193 | which-module "^2.0.0" 1194 | y18n "^3.2.1" 1195 | yargs-parser "^9.0.2" 1196 | 1197 | yn@^2.0.0: 1198 | version "2.0.0" 1199 | resolved "https://registry.yarnpkg.com/yn/-/yn-2.0.0.tgz#e5adabc8acf408f6385fc76495684c88e6af689a" 1200 | 1201 | zen-observable-ts@^0.8.10: 1202 | version "0.8.10" 1203 | resolved "https://registry.yarnpkg.com/zen-observable-ts/-/zen-observable-ts-0.8.10.tgz#18e2ce1c89fe026e9621fd83cc05168228fce829" 1204 | dependencies: 1205 | zen-observable "^0.8.0" 1206 | 1207 | zen-observable-ts@^0.8.6: 1208 | version "0.8.6" 1209 | resolved "https://registry.yarnpkg.com/zen-observable-ts/-/zen-observable-ts-0.8.6.tgz#2fe8c5f5f6171484353c3c93a71355c9521d53a0" 1210 | dependencies: 1211 | zen-observable "^0.8.6" 1212 | 1213 | zen-observable-ts@^0.8.9: 1214 | version "0.8.9" 1215 | resolved "https://registry.yarnpkg.com/zen-observable-ts/-/zen-observable-ts-0.8.9.tgz#d3c97af08c0afdca37ebcadf7cc3ee96bda9bab1" 1216 | dependencies: 1217 | zen-observable "^0.8.0" 1218 | 1219 | zen-observable@^0.8.0: 1220 | version "0.8.8" 1221 | resolved "https://registry.yarnpkg.com/zen-observable/-/zen-observable-0.8.8.tgz#1ea93995bf098754a58215a1e0a7309e5749ec42" 1222 | 1223 | zen-observable@^0.8.6: 1224 | version "0.8.6" 1225 | resolved "https://registry.yarnpkg.com/zen-observable/-/zen-observable-0.8.6.tgz#e2419311497019419d7bb56d8f6a56356a607272" 1226 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "graphql-binding-github", 3 | "version": "0.0.0-semantic-release", 4 | "main": "dist/index.js", 5 | "typings": "./dist/index.d.ts", 6 | "files": [ 7 | "dist", 8 | "schema" 9 | ], 10 | "scripts": { 11 | "prepare": "npm run build && cp src/schema.graphql dist/schema.graphql", 12 | "build": "rm -rf dist && graphql codegen && tsc -d", 13 | "test": "echo No tests yet" 14 | }, 15 | "dependencies": { 16 | "apollo-link": "1.2.2", 17 | "apollo-link-http": "1.5.4", 18 | "cross-fetch": "2.1.1", 19 | "graphql": "14.5.8", 20 | "graphql-binding": "1.4.0-beta.23", 21 | "graphql-tools": "2.23.1" 22 | }, 23 | "devDependencies": { 24 | "graphql-cli": "3.0.14", 25 | "@types/graphql": "14.2.3", 26 | "@types/node": "10.12.24", 27 | "typescript": "3.5.3" 28 | }, 29 | "repository": { 30 | "type": "git", 31 | "url": "https://github.com/graphcool/graphql-binding-github.git" 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": [ 3 | "config:base", 4 | "docker:disable", 5 | ":pathSemanticCommitType(example/**,chore)" 6 | ], 7 | "automerge": true 8 | } 9 | -------------------------------------------------------------------------------- /src/generated-binding.ts: -------------------------------------------------------------------------------- 1 | import { makeBindingClass, Options } from 'graphql-binding' 2 | import { GraphQLResolveInfo, GraphQLSchema } from 'graphql' 3 | import { IResolvers } from 'graphql-tools/dist/Interfaces' 4 | import schema from './schema' 5 | 6 | export interface Query { 7 | codeOfConduct: (args: { key: String }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 8 | codesOfConduct: (args?: {}, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 9 | license: (args: { key: String }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 10 | licenses: (args?: {}, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 11 | marketplaceCategories: (args: { excludeEmpty?: Boolean }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 12 | marketplaceCategory: (args: { slug: String }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 13 | marketplaceListing: (args: { slug: String }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 14 | marketplaceListings: (args: { first?: Int, after?: String, last?: Int, before?: String, categorySlug?: String, viewerCanAdmin?: Boolean, adminId?: ID_Output, organizationId?: ID_Output, allStates?: Boolean, slugs?: String[], primaryCategoryOnly?: Boolean, withFreeTrialsOnly?: Boolean }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 15 | meta: (args?: {}, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 16 | node: (args: { id: ID_Output }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 17 | nodes: (args: { ids: ID_Output[] }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 18 | organization: (args: { login: String }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 19 | rateLimit: (args: { dryRun?: Boolean }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 20 | relay: (args?: {}, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 21 | repository: (args: { owner: String, name: String }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 22 | repositoryOwner: (args: { login: String }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 23 | resource: (args: { url: URI }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 24 | search: (args: { first?: Int, after?: String, last?: Int, before?: String, query: String, type: SearchType }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 25 | topic: (args: { name: String }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 26 | user: (args: { login: String }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 27 | viewer: (args?: {}, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise 28 | } 29 | 30 | export interface Mutation { 31 | acceptTopicSuggestion: (args: { input: AcceptTopicSuggestionInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 32 | addComment: (args: { input: AddCommentInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 33 | addProjectCard: (args: { input: AddProjectCardInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 34 | addProjectColumn: (args: { input: AddProjectColumnInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 35 | addPullRequestReview: (args: { input: AddPullRequestReviewInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 36 | addPullRequestReviewComment: (args: { input: AddPullRequestReviewCommentInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 37 | addReaction: (args: { input: AddReactionInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 38 | addStar: (args: { input: AddStarInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 39 | createProject: (args: { input: CreateProjectInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 40 | declineTopicSuggestion: (args: { input: DeclineTopicSuggestionInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 41 | deleteProject: (args: { input: DeleteProjectInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 42 | deleteProjectCard: (args: { input: DeleteProjectCardInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 43 | deleteProjectColumn: (args: { input: DeleteProjectColumnInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 44 | deletePullRequestReview: (args: { input: DeletePullRequestReviewInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 45 | dismissPullRequestReview: (args: { input: DismissPullRequestReviewInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 46 | lockLockable: (args: { input: LockLockableInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 47 | moveProjectCard: (args: { input: MoveProjectCardInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 48 | moveProjectColumn: (args: { input: MoveProjectColumnInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 49 | removeOutsideCollaborator: (args: { input: RemoveOutsideCollaboratorInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 50 | removeReaction: (args: { input: RemoveReactionInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 51 | removeStar: (args: { input: RemoveStarInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 52 | requestReviews: (args: { input: RequestReviewsInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 53 | submitPullRequestReview: (args: { input: SubmitPullRequestReviewInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 54 | updateProject: (args: { input: UpdateProjectInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 55 | updateProjectCard: (args: { input: UpdateProjectCardInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 56 | updateProjectColumn: (args: { input: UpdateProjectColumnInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 57 | updatePullRequestReview: (args: { input: UpdatePullRequestReviewInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 58 | updatePullRequestReviewComment: (args: { input: UpdatePullRequestReviewCommentInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 59 | updateSubscription: (args: { input: UpdateSubscriptionInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise , 60 | updateTopics: (args: { input: UpdateTopicsInput }, info?: GraphQLResolveInfo | string, context?: { [key: string]: any }) => Promise 61 | } 62 | 63 | export interface Subscription {} 64 | 65 | export interface BindingInstance { 66 | query: Query 67 | mutation: Mutation 68 | subscription: Subscription 69 | request: (query: string, variables?: {[key: string]: any}) => Promise 70 | delegate(operation: 'query' | 'mutation', fieldName: string, args: { 71 | [key: string]: any; 72 | }, infoOrQuery?: GraphQLResolveInfo | string, options?: Options): Promise; 73 | delegateSubscription(fieldName: string, args?: { 74 | [key: string]: any; 75 | }, infoOrQuery?: GraphQLResolveInfo | string, options?: Options): Promise>; 76 | getAbstractResolvers(filterSchema?: GraphQLSchema | string): IResolvers; 77 | } 78 | 79 | export interface BindingConstructor { 80 | new(...args): T 81 | } 82 | 83 | export const Binding = makeBindingClass>({ schema }) 84 | 85 | /** 86 | * Types 87 | */ 88 | 89 | /* 90 | * State of the project; either 'open' or 'closed' 91 | 92 | */ 93 | export type ProjectState = 'OPEN' | 94 | 'CLOSED' 95 | 96 | /* 97 | * The possible reasons a given repository could be in a locked state. 98 | 99 | */ 100 | export type RepositoryLockReason = 'MOVING' | 101 | 'BILLING' | 102 | 'RENAME' | 103 | 'MIGRATING' 104 | 105 | /* 106 | * Properties by which ref connections can be ordered. 107 | 108 | */ 109 | export type RefOrderField = 'TAG_COMMIT_DATE' | 110 | 'ALPHABETICAL' 111 | 112 | /* 113 | * Whether or not a PullRequest can be merged. 114 | 115 | */ 116 | export type MergeableState = 'MERGEABLE' | 117 | 'CONFLICTING' | 118 | 'UNKNOWN' 119 | 120 | /* 121 | * Properties by which release connections can be ordered. 122 | 123 | */ 124 | export type ReleaseOrderField = 'CREATED_AT' | 125 | 'NAME' 126 | 127 | /* 128 | * The possible PubSub channels for an issue. 129 | 130 | */ 131 | export type IssuePubSubTopic = 'UPDATED' | 132 | 'MARKASREAD' 133 | 134 | /* 135 | * The privacy of a Gist 136 | 137 | */ 138 | export type GistPrivacy = 'PUBLIC' | 139 | 'SECRET' | 140 | 'ALL' 141 | 142 | /* 143 | * The possible states of a milestone. 144 | 145 | */ 146 | export type MilestoneState = 'OPEN' | 147 | 'CLOSED' 148 | 149 | /* 150 | * A list of fields that reactions can be ordered by. 151 | 152 | */ 153 | export type ReactionOrderField = 'CREATED_AT' 154 | 155 | /* 156 | * Properties by which team connections can be ordered. 157 | 158 | */ 159 | export type TeamOrderField = 'NAME' 160 | 161 | /* 162 | * Reason that the suggested topic is declined. 163 | 164 | */ 165 | export type TopicSuggestionDeclineReason = 'NOT_RELEVANT' | 166 | 'TOO_SPECIFIC' | 167 | 'PERSONAL_PREFERENCE' | 168 | 'TOO_GENERAL' 169 | 170 | /* 171 | * The possible states of an issue. 172 | 173 | */ 174 | export type IssueState = 'OPEN' | 175 | 'CLOSED' 176 | 177 | /* 178 | * Properties by which gist connections can be ordered. 179 | 180 | */ 181 | export type GistOrderField = 'CREATED_AT' | 182 | 'UPDATED_AT' | 183 | 'PUSHED_AT' 184 | 185 | /* 186 | * Defines which types of team members are included in the returned list. Can be one of IMMEDIATE, CHILD_TEAM or ALL. 187 | 188 | */ 189 | export type TeamMembershipType = 'IMMEDIATE' | 190 | 'CHILD_TEAM' | 191 | 'ALL' 192 | 193 | /* 194 | * Emojis that can be attached to Issues, Pull Requests and Comments. 195 | 196 | */ 197 | export type ReactionContent = 'THUMBS_UP' | 198 | 'THUMBS_DOWN' | 199 | 'LAUGH' | 200 | 'HOORAY' | 201 | 'CONFUSED' | 202 | 'HEART' 203 | 204 | /* 205 | * Properties by which team member connections can be ordered. 206 | 207 | */ 208 | export type TeamMemberOrderField = 'LOGIN' | 209 | 'CREATED_AT' 210 | 211 | /* 212 | * The reason a repository is listed as 'contributed'. 213 | 214 | */ 215 | export type RepositoryContributionType = 'COMMIT' | 216 | 'ISSUE' | 217 | 'PULL_REQUEST' | 218 | 'REPOSITORY' | 219 | 'PULL_REQUEST_REVIEW' 220 | 221 | /* 222 | * Properties by which issue connections can be ordered. 223 | 224 | */ 225 | export type IssueOrderField = 'CREATED_AT' | 226 | 'UPDATED_AT' | 227 | 'COMMENTS' 228 | 229 | /* 230 | * The privacy of a repository 231 | 232 | */ 233 | export type RepositoryPrivacy = 'PUBLIC' | 234 | 'PRIVATE' 235 | 236 | /* 237 | * Properties by which team repository connections can be ordered. 238 | 239 | */ 240 | export type TeamRepositoryOrderField = 'CREATED_AT' | 241 | 'UPDATED_AT' | 242 | 'PUSHED_AT' | 243 | 'NAME' | 244 | 'PERMISSION' | 245 | 'STARGAZERS' 246 | 247 | /* 248 | * The possible errors that will prevent a user from updating a comment. 249 | 250 | */ 251 | export type CommentCannotUpdateReason = 'INSUFFICIENT_ACCESS' | 252 | 'LOCKED' | 253 | 'LOGIN_REQUIRED' | 254 | 'MAINTENANCE' | 255 | 'VERIFIED_EMAIL_REQUIRED' 256 | 257 | /* 258 | * The possible commit status states. 259 | 260 | */ 261 | export type StatusState = 'EXPECTED' | 262 | 'ERROR' | 263 | 'FAILURE' | 264 | 'PENDING' | 265 | 'SUCCESS' 266 | 267 | /* 268 | * Properties by which repository connections can be ordered. 269 | 270 | */ 271 | export type RepositoryOrderField = 'CREATED_AT' | 272 | 'UPDATED_AT' | 273 | 'PUSHED_AT' | 274 | 'NAME' | 275 | 'STARGAZERS' 276 | 277 | /* 278 | * The possible states in which a deployment can be. 279 | 280 | */ 281 | export type DeploymentState = 'ABANDONED' | 282 | 'ACTIVE' | 283 | 'DESTROYED' | 284 | 'ERROR' | 285 | 'FAILURE' | 286 | 'INACTIVE' | 287 | 'PENDING' 288 | 289 | /* 290 | * Possible directions in which to order a list of items when provided an `orderBy` argument. 291 | 292 | */ 293 | export type OrderDirection = 'ASC' | 294 | 'DESC' 295 | 296 | /* 297 | * Properties by which language connections can be ordered. 298 | 299 | */ 300 | export type LanguageOrderField = 'SIZE' 301 | 302 | /* 303 | * The affiliation of a user to a repository 304 | 305 | */ 306 | export type RepositoryAffiliation = 'OWNER' | 307 | 'COLLABORATOR' | 308 | 'ORGANIZATION_MEMBER' 309 | 310 | /* 311 | * Properties by which project connections can be ordered. 312 | 313 | */ 314 | export type ProjectOrderField = 'CREATED_AT' | 315 | 'UPDATED_AT' | 316 | 'NAME' 317 | 318 | /* 319 | * Various content states of a ProjectCard 320 | 321 | */ 322 | export type ProjectCardState = 'CONTENT_ONLY' | 323 | 'NOTE_ONLY' | 324 | 'REDACTED' 325 | 326 | /* 327 | * The possible default permissions for repositories. 328 | 329 | */ 330 | export type DefaultRepositoryPermissionField = 'NONE' | 331 | 'READ' | 332 | 'WRITE' | 333 | 'ADMIN' 334 | 335 | /* 336 | * The role of a user on a team. 337 | 338 | */ 339 | export type TeamRole = 'ADMIN' | 340 | 'MEMBER' 341 | 342 | /* 343 | * The possible organization invitation types. 344 | 345 | */ 346 | export type OrganizationInvitationType = 'USER' | 347 | 'EMAIL' 348 | 349 | /* 350 | * Represents the individual results of a search. 351 | 352 | */ 353 | export type SearchType = 'ISSUE' | 354 | 'REPOSITORY' | 355 | 'USER' 356 | 357 | /* 358 | * The possible team member roles; either 'maintainer' or 'member'. 359 | 360 | */ 361 | export type TeamMemberRole = 'MAINTAINER' | 362 | 'MEMBER' 363 | 364 | /* 365 | * A comment author association with repository. 366 | 367 | */ 368 | export type CommentAuthorAssociation = 'MEMBER' | 369 | 'OWNER' | 370 | 'COLLABORATOR' | 371 | 'CONTRIBUTOR' | 372 | 'FIRST_TIME_CONTRIBUTOR' | 373 | 'FIRST_TIMER' | 374 | 'NONE' 375 | 376 | /* 377 | * The possible states of a pull request. 378 | 379 | */ 380 | export type PullRequestState = 'OPEN' | 381 | 'CLOSED' | 382 | 'MERGED' 383 | 384 | /* 385 | * The possible states of a subscription. 386 | 387 | */ 388 | export type SubscriptionState = 'UNSUBSCRIBED' | 389 | 'SUBSCRIBED' | 390 | 'IGNORED' | 391 | 'UNAVAILABLE' 392 | 393 | /* 394 | * The possible states for a deployment status. 395 | 396 | */ 397 | export type DeploymentStatusState = 'PENDING' | 398 | 'SUCCESS' | 399 | 'FAILURE' | 400 | 'INACTIVE' | 401 | 'ERROR' 402 | 403 | /* 404 | * The affiliation type between collaborator and repository. 405 | 406 | */ 407 | export type RepositoryCollaboratorAffiliation = 'ALL' | 408 | 'OUTSIDE' 409 | 410 | /* 411 | * Properties by which milestone connections can be ordered. 412 | 413 | */ 414 | export type MilestoneOrderField = 'DUE_DATE' | 415 | 'CREATED_AT' | 416 | 'UPDATED_AT' | 417 | 'NUMBER' 418 | 419 | /* 420 | * The possible reasons that an issue or pull request was locked. 421 | 422 | */ 423 | export type LockReason = 'OFF_TOPIC' | 424 | 'TOO_HEATED' | 425 | 'RESOLVED' | 426 | 'SPAM' 427 | 428 | /* 429 | * The possible events to perform on a pull request review. 430 | 431 | */ 432 | export type PullRequestReviewEvent = 'COMMENT' | 433 | 'APPROVE' | 434 | 'REQUEST_CHANGES' | 435 | 'DISMISS' 436 | 437 | /* 438 | * Collaborators affiliation level with a subject. 439 | 440 | */ 441 | export type CollaboratorAffiliation = 'OUTSIDE' | 442 | 'DIRECT' | 443 | 'ALL' 444 | 445 | /* 446 | * Properties by which star connections can be ordered. 447 | 448 | */ 449 | export type StarOrderField = 'STARRED_AT' 450 | 451 | /* 452 | * The access level to a repository 453 | 454 | */ 455 | export type RepositoryPermission = 'ADMIN' | 456 | 'WRITE' | 457 | 'READ' 458 | 459 | /* 460 | * The possible organization invitation roles. 461 | 462 | */ 463 | export type OrganizationInvitationRole = 'DIRECT_MEMBER' | 464 | 'ADMIN' | 465 | 'BILLING_MANAGER' | 466 | 'REINSTATE' 467 | 468 | /* 469 | * The possible PubSub channels for a pull request. 470 | 471 | */ 472 | export type PullRequestPubSubTopic = 'UPDATED' | 473 | 'MARKASREAD' | 474 | 'HEAD_REF' 475 | 476 | /* 477 | * The state of a Git signature. 478 | 479 | */ 480 | export type GitSignatureState = 'VALID' | 481 | 'INVALID' | 482 | 'MALFORMED_SIG' | 483 | 'UNKNOWN_KEY' | 484 | 'BAD_EMAIL' | 485 | 'UNVERIFIED_EMAIL' | 486 | 'NO_USER' | 487 | 'UNKNOWN_SIG_TYPE' | 488 | 'UNSIGNED' | 489 | 'GPGVERIFY_UNAVAILABLE' | 490 | 'GPGVERIFY_ERROR' | 491 | 'NOT_SIGNING_KEY' | 492 | 'EXPIRED_KEY' | 493 | 'OCSP_PENDING' | 494 | 'OCSP_ERROR' | 495 | 'OCSP_REVOKED' 496 | 497 | /* 498 | * The possible states of a pull request review. 499 | 500 | */ 501 | export type PullRequestReviewState = 'PENDING' | 502 | 'COMMENTED' | 503 | 'APPROVED' | 504 | 'CHANGES_REQUESTED' | 505 | 'DISMISSED' 506 | 507 | /* 508 | * The possible team privacy values. 509 | 510 | */ 511 | export type TeamPrivacy = 'SECRET' | 512 | 'VISIBLE' 513 | 514 | /* 515 | * Autogenerated input type of AddComment 516 | 517 | */ 518 | export interface AddCommentInput { 519 | clientMutationId?: String 520 | subjectId: ID_Input 521 | body: String 522 | } 523 | 524 | /* 525 | * Autogenerated input type of UpdateProject 526 | 527 | */ 528 | export interface UpdateProjectInput { 529 | clientMutationId?: String 530 | projectId: ID_Input 531 | name?: String 532 | body?: String 533 | state?: ProjectState 534 | public?: Boolean 535 | } 536 | 537 | /* 538 | * Autogenerated input type of RemoveReaction 539 | 540 | */ 541 | export interface RemoveReactionInput { 542 | clientMutationId?: String 543 | subjectId: ID_Input 544 | content: ReactionContent 545 | } 546 | 547 | /* 548 | * Autogenerated input type of DeleteProject 549 | 550 | */ 551 | export interface DeleteProjectInput { 552 | clientMutationId?: String 553 | projectId: ID_Input 554 | } 555 | 556 | /* 557 | * Autogenerated input type of DismissPullRequestReview 558 | 559 | */ 560 | export interface DismissPullRequestReviewInput { 561 | clientMutationId?: String 562 | pullRequestReviewId: ID_Input 563 | message: String 564 | } 565 | 566 | /* 567 | * Autogenerated input type of DeleteProjectCard 568 | 569 | */ 570 | export interface DeleteProjectCardInput { 571 | clientMutationId?: String 572 | cardId: ID_Input 573 | } 574 | 575 | /* 576 | * Autogenerated input type of AddPullRequestReview 577 | 578 | */ 579 | export interface AddPullRequestReviewInput { 580 | clientMutationId?: String 581 | pullRequestId: ID_Input 582 | commitOID?: GitObjectID 583 | body?: String 584 | event?: PullRequestReviewEvent 585 | comments?: DraftPullRequestReviewComment[] | DraftPullRequestReviewComment 586 | } 587 | 588 | /* 589 | * Ways in which lists of releases can be ordered upon return. 590 | 591 | */ 592 | export interface ReleaseOrder { 593 | field: ReleaseOrderField 594 | direction: OrderDirection 595 | } 596 | 597 | /* 598 | * Ways in which star connections can be ordered. 599 | 600 | */ 601 | export interface StarOrder { 602 | field: StarOrderField 603 | direction: OrderDirection 604 | } 605 | 606 | /* 607 | * Ordering options for team member connections 608 | 609 | */ 610 | export interface TeamMemberOrder { 611 | field: TeamMemberOrderField 612 | direction: OrderDirection 613 | } 614 | 615 | /* 616 | * Autogenerated input type of UpdateTopics 617 | 618 | */ 619 | export interface UpdateTopicsInput { 620 | clientMutationId?: String 621 | repositoryId: ID_Input 622 | topicNames: String[] | String 623 | } 624 | 625 | /* 626 | * Autogenerated input type of DeleteProjectColumn 627 | 628 | */ 629 | export interface DeleteProjectColumnInput { 630 | clientMutationId?: String 631 | columnId: ID_Input 632 | } 633 | 634 | /* 635 | * Ways in which team connections can be ordered. 636 | 637 | */ 638 | export interface TeamOrder { 639 | field: TeamOrderField 640 | direction: OrderDirection 641 | } 642 | 643 | /* 644 | * Autogenerated input type of SubmitPullRequestReview 645 | 646 | */ 647 | export interface SubmitPullRequestReviewInput { 648 | clientMutationId?: String 649 | pullRequestReviewId: ID_Input 650 | event: PullRequestReviewEvent 651 | body?: String 652 | } 653 | 654 | /* 655 | * Autogenerated input type of AddPullRequestReviewComment 656 | 657 | */ 658 | export interface AddPullRequestReviewCommentInput { 659 | clientMutationId?: String 660 | pullRequestReviewId: ID_Input 661 | commitOID?: GitObjectID 662 | body: String 663 | path?: String 664 | position?: Int 665 | inReplyTo?: ID_Input 666 | } 667 | 668 | /* 669 | * Ways in which lists of git refs can be ordered upon return. 670 | 671 | */ 672 | export interface RefOrder { 673 | field: RefOrderField 674 | direction: OrderDirection 675 | } 676 | 677 | /* 678 | * Autogenerated input type of AddStar 679 | 680 | */ 681 | export interface AddStarInput { 682 | clientMutationId?: String 683 | starrableId: ID_Input 684 | } 685 | 686 | /* 687 | * Autogenerated input type of DeletePullRequestReview 688 | 689 | */ 690 | export interface DeletePullRequestReviewInput { 691 | clientMutationId?: String 692 | pullRequestReviewId: ID_Input 693 | } 694 | 695 | /* 696 | * Autogenerated input type of UpdatePullRequestReview 697 | 698 | */ 699 | export interface UpdatePullRequestReviewInput { 700 | clientMutationId?: String 701 | pullRequestReviewId: ID_Input 702 | body: String 703 | } 704 | 705 | /* 706 | * Autogenerated input type of RequestReviews 707 | 708 | */ 709 | export interface RequestReviewsInput { 710 | clientMutationId?: String 711 | pullRequestId: ID_Input 712 | userIds?: ID_Input[] | ID_Input 713 | teamIds?: ID_Input[] | ID_Input 714 | union?: Boolean 715 | } 716 | 717 | /* 718 | * Autogenerated input type of UpdateProjectColumn 719 | 720 | */ 721 | export interface UpdateProjectColumnInput { 722 | clientMutationId?: String 723 | projectColumnId: ID_Input 724 | name: String 725 | } 726 | 727 | /* 728 | * Ways in which lists of projects can be ordered upon return. 729 | 730 | */ 731 | export interface ProjectOrder { 732 | field: ProjectOrderField 733 | direction: OrderDirection 734 | } 735 | 736 | /* 737 | * Autogenerated input type of CreateProject 738 | 739 | */ 740 | export interface CreateProjectInput { 741 | clientMutationId?: String 742 | ownerId: ID_Input 743 | name: String 744 | body?: String 745 | } 746 | 747 | /* 748 | * Autogenerated input type of LockLockable 749 | 750 | */ 751 | export interface LockLockableInput { 752 | clientMutationId?: String 753 | lockableId: ID_Input 754 | lockReason?: LockReason 755 | } 756 | 757 | /* 758 | * Ordering options for gist connections 759 | 760 | */ 761 | export interface GistOrder { 762 | field: GistOrderField 763 | direction: OrderDirection 764 | } 765 | 766 | /* 767 | * Specifies an author for filtering Git commits. 768 | 769 | */ 770 | export interface CommitAuthor { 771 | id?: ID_Input 772 | emails?: String[] | String 773 | } 774 | 775 | /* 776 | * Specifies a review comment to be left with a Pull Request Review. 777 | 778 | */ 779 | export interface DraftPullRequestReviewComment { 780 | path: String 781 | position: Int 782 | body: String 783 | } 784 | 785 | /* 786 | * Ordering options for milestone connections. 787 | 788 | */ 789 | export interface MilestoneOrder { 790 | field: MilestoneOrderField 791 | direction: OrderDirection 792 | } 793 | 794 | /* 795 | * Autogenerated input type of AddProjectCard 796 | 797 | */ 798 | export interface AddProjectCardInput { 799 | clientMutationId?: String 800 | projectColumnId: ID_Input 801 | contentId?: ID_Input 802 | note?: String 803 | } 804 | 805 | /* 806 | * Autogenerated input type of MoveProjectCard 807 | 808 | */ 809 | export interface MoveProjectCardInput { 810 | clientMutationId?: String 811 | cardId: ID_Input 812 | columnId: ID_Input 813 | afterCardId?: ID_Input 814 | } 815 | 816 | /* 817 | * Autogenerated input type of UpdateSubscription 818 | 819 | */ 820 | export interface UpdateSubscriptionInput { 821 | clientMutationId?: String 822 | subscribableId: ID_Input 823 | state: SubscriptionState 824 | } 825 | 826 | /* 827 | * Ordering options for language connections. 828 | 829 | */ 830 | export interface LanguageOrder { 831 | field: LanguageOrderField 832 | direction: OrderDirection 833 | } 834 | 835 | /* 836 | * Autogenerated input type of UpdatePullRequestReviewComment 837 | 838 | */ 839 | export interface UpdatePullRequestReviewCommentInput { 840 | clientMutationId?: String 841 | pullRequestReviewCommentId: ID_Input 842 | body: String 843 | } 844 | 845 | /* 846 | * Autogenerated input type of RemoveStar 847 | 848 | */ 849 | export interface RemoveStarInput { 850 | clientMutationId?: String 851 | starrableId: ID_Input 852 | } 853 | 854 | /* 855 | * Autogenerated input type of UpdateProjectCard 856 | 857 | */ 858 | export interface UpdateProjectCardInput { 859 | clientMutationId?: String 860 | projectCardId: ID_Input 861 | note: String 862 | } 863 | 864 | /* 865 | * Ways in which lists of reactions can be ordered upon return. 866 | 867 | */ 868 | export interface ReactionOrder { 869 | field: ReactionOrderField 870 | direction: OrderDirection 871 | } 872 | 873 | /* 874 | * Ordering options for team repository connections 875 | 876 | */ 877 | export interface TeamRepositoryOrder { 878 | field: TeamRepositoryOrderField 879 | direction: OrderDirection 880 | } 881 | 882 | /* 883 | * Autogenerated input type of RemoveOutsideCollaborator 884 | 885 | */ 886 | export interface RemoveOutsideCollaboratorInput { 887 | clientMutationId?: String 888 | userId: ID_Input 889 | organizationId: ID_Input 890 | } 891 | 892 | /* 893 | * Ways in which lists of issues can be ordered upon return. 894 | 895 | */ 896 | export interface IssueOrder { 897 | field: IssueOrderField 898 | direction: OrderDirection 899 | } 900 | 901 | /* 902 | * Autogenerated input type of MoveProjectColumn 903 | 904 | */ 905 | export interface MoveProjectColumnInput { 906 | clientMutationId?: String 907 | columnId: ID_Input 908 | afterColumnId?: ID_Input 909 | } 910 | 911 | /* 912 | * Autogenerated input type of AddProjectColumn 913 | 914 | */ 915 | export interface AddProjectColumnInput { 916 | clientMutationId?: String 917 | projectId: ID_Input 918 | name: String 919 | } 920 | 921 | /* 922 | * Autogenerated input type of DeclineTopicSuggestion 923 | 924 | */ 925 | export interface DeclineTopicSuggestionInput { 926 | clientMutationId?: String 927 | repositoryId: ID_Input 928 | name: String 929 | reason: TopicSuggestionDeclineReason 930 | } 931 | 932 | /* 933 | * Ordering options for repository connections 934 | 935 | */ 936 | export interface RepositoryOrder { 937 | field: RepositoryOrderField 938 | direction: OrderDirection 939 | } 940 | 941 | /* 942 | * Autogenerated input type of AddReaction 943 | 944 | */ 945 | export interface AddReactionInput { 946 | clientMutationId?: String 947 | subjectId: ID_Input 948 | content: ReactionContent 949 | } 950 | 951 | /* 952 | * Autogenerated input type of AcceptTopicSuggestion 953 | 954 | */ 955 | export interface AcceptTopicSuggestionInput { 956 | clientMutationId?: String 957 | repositoryId: ID_Input 958 | name: String 959 | } 960 | 961 | /* 962 | * A subset of repository info. 963 | 964 | */ 965 | export interface RepositoryInfo { 966 | createdAt: DateTime 967 | description?: String 968 | descriptionHTML: HTML 969 | forkCount: Int 970 | hasIssuesEnabled: Boolean 971 | hasWikiEnabled: Boolean 972 | homepageUrl?: URI 973 | isArchived: Boolean 974 | isFork: Boolean 975 | isLocked: Boolean 976 | isMirror: Boolean 977 | isPrivate: Boolean 978 | license?: String 979 | licenseInfo?: License 980 | lockReason?: RepositoryLockReason 981 | mirrorUrl?: URI 982 | name: String 983 | nameWithOwner: String 984 | owner: RepositoryOwner 985 | pushedAt?: DateTime 986 | resourcePath: URI 987 | shortDescriptionHTML: HTML 988 | updatedAt: DateTime 989 | url: URI 990 | } 991 | 992 | /* 993 | * Represents an owner of a Repository. 994 | 995 | */ 996 | export interface RepositoryOwner { 997 | avatarUrl: URI 998 | id: ID_Output 999 | login: String 1000 | pinnedRepositories: RepositoryConnection 1001 | repositories: RepositoryConnection 1002 | repository?: Repository 1003 | resourcePath: URI 1004 | url: URI 1005 | } 1006 | 1007 | /* 1008 | * Represents an owner of a Project. 1009 | 1010 | */ 1011 | export interface ProjectOwner { 1012 | id: ID_Output 1013 | project?: Project 1014 | projects: ProjectConnection 1015 | projectsResourcePath: URI 1016 | projectsUrl: URI 1017 | viewerCanCreateProjects: Boolean 1018 | } 1019 | 1020 | /* 1021 | * Represents a subject that can be reacted on. 1022 | 1023 | */ 1024 | export interface Reactable { 1025 | databaseId?: Int 1026 | id: ID_Output 1027 | reactionGroups?: ReactionGroup[] 1028 | reactions: ReactionConnection 1029 | viewerCanReact: Boolean 1030 | } 1031 | 1032 | /* 1033 | * Represents an object which can take actions on GitHub. Typically a User or Bot. 1034 | 1035 | */ 1036 | export interface Actor { 1037 | avatarUrl: URI 1038 | login: String 1039 | resourcePath: URI 1040 | url: URI 1041 | } 1042 | 1043 | /* 1044 | * An object with an ID. 1045 | 1046 | */ 1047 | export interface Node { 1048 | id: ID_Output 1049 | } 1050 | 1051 | /* 1052 | * Information about a signature (GPG or S/MIME) on a Commit or Tag. 1053 | 1054 | */ 1055 | export interface GitSignature { 1056 | email: String 1057 | isValid: Boolean 1058 | payload: String 1059 | signature: String 1060 | signer?: User 1061 | state: GitSignatureState 1062 | } 1063 | 1064 | /* 1065 | * Comments that can be updated. 1066 | 1067 | */ 1068 | export interface UpdatableComment { 1069 | viewerCannotUpdateReasons: CommentCannotUpdateReason[] 1070 | } 1071 | 1072 | /* 1073 | * Represents a Git object. 1074 | 1075 | */ 1076 | export interface GitObject { 1077 | abbreviatedOid: String 1078 | commitResourcePath: URI 1079 | commitUrl: URI 1080 | id: ID_Output 1081 | oid: GitObjectID 1082 | repository: Repository 1083 | } 1084 | 1085 | /* 1086 | * Entities that can be deleted. 1087 | 1088 | */ 1089 | export interface Deletable { 1090 | viewerCanDelete: Boolean 1091 | } 1092 | 1093 | /* 1094 | * An object that can have labels assigned to it. 1095 | 1096 | */ 1097 | export interface Labelable { 1098 | labels?: LabelConnection 1099 | } 1100 | 1101 | /* 1102 | * Things that can be starred. 1103 | 1104 | */ 1105 | export interface Starrable { 1106 | id: ID_Output 1107 | stargazers: StargazerConnection 1108 | viewerHasStarred: Boolean 1109 | } 1110 | 1111 | /* 1112 | * Represents a comment. 1113 | 1114 | */ 1115 | export interface Comment { 1116 | author?: Actor 1117 | authorAssociation: CommentAuthorAssociation 1118 | body: String 1119 | bodyHTML: HTML 1120 | bodyText: String 1121 | createdAt: DateTime 1122 | createdViaEmail: Boolean 1123 | editor?: Actor 1124 | id: ID_Output 1125 | lastEditedAt?: DateTime 1126 | publishedAt?: DateTime 1127 | updatedAt: DateTime 1128 | userContentEdits?: UserContentEditConnection 1129 | viewerDidAuthor: Boolean 1130 | } 1131 | 1132 | /* 1133 | * Entities that can be subscribed to for web and email notifications. 1134 | 1135 | */ 1136 | export interface Subscribable { 1137 | id: ID_Output 1138 | viewerCanSubscribe: Boolean 1139 | viewerSubscription: SubscriptionState 1140 | } 1141 | 1142 | /* 1143 | * An object that can be locked. 1144 | 1145 | */ 1146 | export interface Lockable { 1147 | activeLockReason?: LockReason 1148 | locked: Boolean 1149 | } 1150 | 1151 | /* 1152 | * An object that can have users assigned to it. 1153 | 1154 | */ 1155 | export interface Assignable { 1156 | assignees: UserConnection 1157 | } 1158 | 1159 | /* 1160 | * Represents a object that belongs to a repository. 1161 | 1162 | */ 1163 | export interface RepositoryNode { 1164 | repository: Repository 1165 | } 1166 | 1167 | /* 1168 | * Represents a type that can be retrieved by a URL. 1169 | 1170 | */ 1171 | export interface UniformResourceLocatable { 1172 | resourcePath: URI 1173 | url: URI 1174 | } 1175 | 1176 | /* 1177 | * Entities that can be updated. 1178 | 1179 | */ 1180 | export interface Updatable { 1181 | viewerCanUpdate: Boolean 1182 | } 1183 | 1184 | /* 1185 | * An object that can be closed 1186 | 1187 | */ 1188 | export interface Closable { 1189 | closed: Boolean 1190 | closedAt?: DateTime 1191 | } 1192 | 1193 | /* 1194 | * Describes the status of a given deployment attempt. 1195 | 1196 | */ 1197 | export interface DeploymentStatus extends Node { 1198 | createdAt: DateTime 1199 | creator?: Actor 1200 | deployment: Deployment 1201 | description?: String 1202 | environmentUrl?: URI 1203 | id: ID_Output 1204 | logUrl?: URI 1205 | state: DeploymentStatusState 1206 | updatedAt: DateTime 1207 | } 1208 | 1209 | /* 1210 | * Represents an unknown signature on a Commit or Tag. 1211 | 1212 | */ 1213 | export interface UnknownSignature extends GitSignature { 1214 | email: String 1215 | isValid: Boolean 1216 | payload: String 1217 | signature: String 1218 | signer?: User 1219 | state: GitSignatureState 1220 | } 1221 | 1222 | /* 1223 | * A topic aggregates entities that are related to a subject. 1224 | 1225 | */ 1226 | export interface Topic extends Node { 1227 | id: ID_Output 1228 | name: String 1229 | relatedTopics: Topic[] 1230 | } 1231 | 1232 | /* 1233 | * The connection type for PullRequestCommit. 1234 | 1235 | */ 1236 | export interface PullRequestCommitConnection { 1237 | edges?: PullRequestCommitEdge[] 1238 | nodes?: PullRequestCommit[] 1239 | pageInfo: PageInfo 1240 | totalCount: Int 1241 | } 1242 | 1243 | /* 1244 | * The connection type for ReleaseAsset. 1245 | 1246 | */ 1247 | export interface ReleaseAssetConnection { 1248 | edges?: ReleaseAssetEdge[] 1249 | nodes?: ReleaseAsset[] 1250 | pageInfo: PageInfo 1251 | totalCount: Int 1252 | } 1253 | 1254 | /* 1255 | * Autogenerated return type of UpdateSubscription 1256 | 1257 | */ 1258 | export interface UpdateSubscriptionPayload { 1259 | clientMutationId?: String 1260 | subscribable: Subscribable 1261 | } 1262 | 1263 | /* 1264 | * An edge in a connection. 1265 | 1266 | */ 1267 | export interface ReleaseAssetEdge { 1268 | cursor: String 1269 | node?: ReleaseAsset 1270 | } 1271 | 1272 | /* 1273 | * Represents a Git commit part of a pull request. 1274 | 1275 | */ 1276 | export interface PullRequestCommit extends Node, UniformResourceLocatable { 1277 | commit: Commit 1278 | id: ID_Output 1279 | pullRequest: PullRequest 1280 | resourcePath: URI 1281 | url: URI 1282 | } 1283 | 1284 | /* 1285 | * A release asset contains the content for a release asset. 1286 | 1287 | */ 1288 | export interface ReleaseAsset extends Node { 1289 | contentType: String 1290 | createdAt: DateTime 1291 | downloadCount: Int 1292 | downloadUrl: URI 1293 | id: ID_Output 1294 | name: String 1295 | release?: Release 1296 | size: Int 1297 | updatedAt: DateTime 1298 | uploadedBy: User 1299 | url: URI 1300 | } 1301 | 1302 | /* 1303 | * An edge in a connection. 1304 | 1305 | */ 1306 | export interface IssueCommentEdge { 1307 | cursor: String 1308 | node?: IssueComment 1309 | } 1310 | 1311 | /* 1312 | * An emoji reaction to a particular piece of content. 1313 | 1314 | */ 1315 | export interface Reaction extends Node { 1316 | content: ReactionContent 1317 | createdAt: DateTime 1318 | databaseId?: Int 1319 | id: ID_Output 1320 | reactable: Reactable 1321 | user?: User 1322 | } 1323 | 1324 | /* 1325 | * An edge in a connection. 1326 | 1327 | */ 1328 | export interface ReviewRequestEdge { 1329 | cursor: String 1330 | node?: ReviewRequest 1331 | } 1332 | 1333 | /* 1334 | * An edge in a connection. 1335 | 1336 | */ 1337 | export interface ReactionEdge { 1338 | cursor: String 1339 | node?: Reaction 1340 | } 1341 | 1342 | /* 1343 | * An edge in a connection. 1344 | 1345 | */ 1346 | export interface TopicEdge { 1347 | cursor: String 1348 | node?: Topic 1349 | } 1350 | 1351 | /* 1352 | * The connection type for Release. 1353 | 1354 | */ 1355 | export interface ReleaseConnection { 1356 | edges?: ReleaseEdge[] 1357 | nodes?: Release[] 1358 | pageInfo: PageInfo 1359 | totalCount: Int 1360 | } 1361 | 1362 | /* 1363 | * The connection type for Team. 1364 | 1365 | */ 1366 | export interface TeamConnection { 1367 | edges?: TeamEdge[] 1368 | nodes?: Team[] 1369 | pageInfo: PageInfo 1370 | totalCount: Int 1371 | } 1372 | 1373 | /* 1374 | * An edge in a connection. 1375 | 1376 | */ 1377 | export interface ReleaseEdge { 1378 | cursor: String 1379 | node?: Release 1380 | } 1381 | 1382 | /* 1383 | * The connection type for IssueComment. 1384 | 1385 | */ 1386 | export interface IssueCommentConnection { 1387 | edges?: IssueCommentEdge[] 1388 | nodes?: IssueComment[] 1389 | pageInfo: PageInfo 1390 | totalCount: Int 1391 | } 1392 | 1393 | /* 1394 | * The connection type for RepositoryTopic. 1395 | 1396 | */ 1397 | export interface RepositoryTopicConnection { 1398 | edges?: RepositoryTopicEdge[] 1399 | nodes?: RepositoryTopic[] 1400 | pageInfo: PageInfo 1401 | totalCount: Int 1402 | } 1403 | 1404 | /* 1405 | * The connection type for OrganizationInvitation. 1406 | 1407 | */ 1408 | export interface OrganizationInvitationConnection { 1409 | edges?: OrganizationInvitationEdge[] 1410 | nodes?: OrganizationInvitation[] 1411 | pageInfo: PageInfo 1412 | totalCount: Int 1413 | } 1414 | 1415 | /* 1416 | * An edge in a connection. 1417 | 1418 | */ 1419 | export interface RepositoryTopicEdge { 1420 | cursor: String 1421 | node?: RepositoryTopic 1422 | } 1423 | 1424 | /* 1425 | * An Invitation for a user to an organization. 1426 | 1427 | */ 1428 | export interface OrganizationInvitation extends Node { 1429 | createdAt: DateTime 1430 | email?: String 1431 | id: ID_Output 1432 | invitationType: OrganizationInvitationType 1433 | invitee?: User 1434 | inviter: User 1435 | organization: Organization 1436 | role: OrganizationInvitationRole 1437 | } 1438 | 1439 | /* 1440 | * A repository-topic connects a repository to a topic. 1441 | 1442 | */ 1443 | export interface RepositoryTopic extends Node, UniformResourceLocatable { 1444 | id: ID_Output 1445 | resourcePath: URI 1446 | topic: Topic 1447 | url: URI 1448 | } 1449 | 1450 | /* 1451 | * A label for categorizing Issues or Milestones with a given Repository. 1452 | 1453 | */ 1454 | export interface Label extends Node { 1455 | color: String 1456 | description?: String 1457 | id: ID_Output 1458 | isDefault: Boolean 1459 | issues: IssueConnection 1460 | name: String 1461 | pullRequests: PullRequestConnection 1462 | repository: Repository 1463 | } 1464 | 1465 | /* 1466 | * An edge in a connection. 1467 | 1468 | */ 1469 | export interface PullRequestCommitEdge { 1470 | cursor: String 1471 | node?: PullRequestCommit 1472 | } 1473 | 1474 | /* 1475 | * The connection type for Label. 1476 | 1477 | */ 1478 | export interface LabelConnection { 1479 | edges?: LabelEdge[] 1480 | nodes?: Label[] 1481 | pageInfo: PageInfo 1482 | totalCount: Int 1483 | } 1484 | 1485 | /* 1486 | * Represents a comment on an Issue. 1487 | 1488 | */ 1489 | export interface IssueComment extends Node, Comment, Deletable, Updatable, UpdatableComment, Reactable, RepositoryNode { 1490 | author?: Actor 1491 | authorAssociation: CommentAuthorAssociation 1492 | body: String 1493 | bodyHTML: HTML 1494 | bodyText: String 1495 | createdAt: DateTime 1496 | createdViaEmail: Boolean 1497 | databaseId?: Int 1498 | editor?: Actor 1499 | id: ID_Output 1500 | issue: Issue 1501 | lastEditedAt?: DateTime 1502 | publishedAt?: DateTime 1503 | pullRequest?: PullRequest 1504 | reactionGroups?: ReactionGroup[] 1505 | reactions: ReactionConnection 1506 | repository: Repository 1507 | resourcePath: URI 1508 | updatedAt: DateTime 1509 | url: URI 1510 | userContentEdits?: UserContentEditConnection 1511 | viewerCanDelete: Boolean 1512 | viewerCanReact: Boolean 1513 | viewerCanUpdate: Boolean 1514 | viewerCannotUpdateReasons: CommentCannotUpdateReason[] 1515 | viewerDidAuthor: Boolean 1516 | } 1517 | 1518 | /* 1519 | * An edge in a connection. 1520 | 1521 | */ 1522 | export interface PullRequestEdge { 1523 | cursor: String 1524 | node?: PullRequest 1525 | } 1526 | 1527 | /* 1528 | * The connection type for User. 1529 | 1530 | */ 1531 | export interface FollowerConnection { 1532 | edges?: UserEdge[] 1533 | nodes?: User[] 1534 | pageInfo: PageInfo 1535 | totalCount: Int 1536 | } 1537 | 1538 | /* 1539 | * Represents a user who is a member of a team. 1540 | 1541 | */ 1542 | export interface TeamMemberEdge { 1543 | cursor: String 1544 | memberAccessResourcePath: URI 1545 | memberAccessUrl: URI 1546 | node: User 1547 | role: TeamMemberRole 1548 | } 1549 | 1550 | /* 1551 | * The connection type for User. 1552 | 1553 | */ 1554 | export interface FollowingConnection { 1555 | edges?: UserEdge[] 1556 | nodes?: User[] 1557 | pageInfo: PageInfo 1558 | totalCount: Int 1559 | } 1560 | 1561 | /* 1562 | * Represents a Git reference. 1563 | 1564 | */ 1565 | export interface Ref extends Node { 1566 | associatedPullRequests: PullRequestConnection 1567 | id: ID_Output 1568 | name: String 1569 | prefix: String 1570 | repository: Repository 1571 | target: GitObject 1572 | } 1573 | 1574 | /* 1575 | * A Gist. 1576 | 1577 | */ 1578 | export interface Gist extends Node, Starrable { 1579 | comments: GistCommentConnection 1580 | createdAt: DateTime 1581 | description?: String 1582 | id: ID_Output 1583 | isPublic: Boolean 1584 | name: String 1585 | owner?: RepositoryOwner 1586 | pushedAt?: DateTime 1587 | stargazers: StargazerConnection 1588 | updatedAt: DateTime 1589 | viewerHasStarred: Boolean 1590 | } 1591 | 1592 | /* 1593 | * The connection type for Repository. 1594 | 1595 | */ 1596 | export interface TeamRepositoryConnection { 1597 | edges?: TeamRepositoryEdge[] 1598 | nodes?: Repository[] 1599 | pageInfo: PageInfo 1600 | totalCount: Int 1601 | } 1602 | 1603 | /* 1604 | * The connection type for GistComment. 1605 | 1606 | */ 1607 | export interface GistCommentConnection { 1608 | edges?: GistCommentEdge[] 1609 | nodes?: GistComment[] 1610 | pageInfo: PageInfo 1611 | totalCount: Int 1612 | } 1613 | 1614 | /* 1615 | * Represents a Git tree. 1616 | 1617 | */ 1618 | export interface Tree extends Node, GitObject { 1619 | abbreviatedOid: String 1620 | commitResourcePath: URI 1621 | commitUrl: URI 1622 | entries?: TreeEntry[] 1623 | id: ID_Output 1624 | oid: GitObjectID 1625 | repository: Repository 1626 | } 1627 | 1628 | /* 1629 | * An edge in a connection. 1630 | 1631 | */ 1632 | export interface GistCommentEdge { 1633 | cursor: String 1634 | node?: GistComment 1635 | } 1636 | 1637 | /* 1638 | * An edge in a connection. 1639 | 1640 | */ 1641 | export interface PullRequestReviewEdge { 1642 | cursor: String 1643 | node?: PullRequestReview 1644 | } 1645 | 1646 | /* 1647 | * Represents a comment on an Gist. 1648 | 1649 | */ 1650 | export interface GistComment extends Node, Comment, Deletable, Updatable, UpdatableComment { 1651 | author?: Actor 1652 | authorAssociation: CommentAuthorAssociation 1653 | body: String 1654 | bodyHTML: HTML 1655 | bodyText: String 1656 | createdAt: DateTime 1657 | createdViaEmail: Boolean 1658 | databaseId?: Int 1659 | editor?: Actor 1660 | gist: Gist 1661 | id: ID_Output 1662 | lastEditedAt?: DateTime 1663 | publishedAt?: DateTime 1664 | updatedAt: DateTime 1665 | userContentEdits?: UserContentEditConnection 1666 | viewerCanDelete: Boolean 1667 | viewerCanUpdate: Boolean 1668 | viewerCannotUpdateReasons: CommentCannotUpdateReason[] 1669 | viewerDidAuthor: Boolean 1670 | } 1671 | 1672 | /* 1673 | * The connection type for PullRequestReviewComment. 1674 | 1675 | */ 1676 | export interface PullRequestReviewCommentConnection { 1677 | edges?: PullRequestReviewCommentEdge[] 1678 | nodes?: PullRequestReviewComment[] 1679 | pageInfo: PageInfo 1680 | totalCount: Int 1681 | } 1682 | 1683 | /* 1684 | * A list of reactions that have been left on the subject. 1685 | 1686 | */ 1687 | export interface ReactionConnection { 1688 | edges?: ReactionEdge[] 1689 | nodes?: Reaction[] 1690 | pageInfo: PageInfo 1691 | totalCount: Int 1692 | viewerHasReacted: Boolean 1693 | } 1694 | 1695 | /* 1696 | * A review comment associated with a given repository pull request. 1697 | 1698 | */ 1699 | export interface PullRequestReviewComment extends Node, Comment, Deletable, Updatable, UpdatableComment, Reactable, RepositoryNode { 1700 | author?: Actor 1701 | authorAssociation: CommentAuthorAssociation 1702 | body: String 1703 | bodyHTML: HTML 1704 | bodyText: String 1705 | commit: Commit 1706 | createdAt: DateTime 1707 | createdViaEmail: Boolean 1708 | databaseId?: Int 1709 | diffHunk: String 1710 | draftedAt: DateTime 1711 | editor?: Actor 1712 | id: ID_Output 1713 | lastEditedAt?: DateTime 1714 | originalCommit?: Commit 1715 | originalPosition: Int 1716 | path: String 1717 | position?: Int 1718 | publishedAt?: DateTime 1719 | pullRequest: PullRequest 1720 | pullRequestReview?: PullRequestReview 1721 | reactionGroups?: ReactionGroup[] 1722 | reactions: ReactionConnection 1723 | replyTo?: PullRequestReviewComment 1724 | repository: Repository 1725 | resourcePath: URI 1726 | updatedAt: DateTime 1727 | url: URI 1728 | userContentEdits?: UserContentEditConnection 1729 | viewerCanDelete: Boolean 1730 | viewerCanReact: Boolean 1731 | viewerCanUpdate: Boolean 1732 | viewerCannotUpdateReasons: CommentCannotUpdateReason[] 1733 | viewerDidAuthor: Boolean 1734 | } 1735 | 1736 | /* 1737 | * Represents a user that's made a reaction. 1738 | 1739 | */ 1740 | export interface ReactingUserEdge { 1741 | cursor: String 1742 | node: User 1743 | reactedAt: DateTime 1744 | } 1745 | 1746 | /* 1747 | * The connection type for PullRequestTimelineItem. 1748 | 1749 | */ 1750 | export interface PullRequestTimelineConnection { 1751 | edges?: PullRequestTimelineItemEdge[] 1752 | nodes?: PullRequestTimelineItem[] 1753 | pageInfo: PageInfo 1754 | totalCount: Int 1755 | } 1756 | 1757 | /* 1758 | * The connection type for User. 1759 | 1760 | */ 1761 | export interface ReactingUserConnection { 1762 | edges?: ReactingUserEdge[] 1763 | nodes?: User[] 1764 | pageInfo: PageInfo 1765 | totalCount: Int 1766 | } 1767 | 1768 | /* 1769 | * The connection type for Topic. 1770 | 1771 | */ 1772 | export interface TopicConnection { 1773 | edges?: TopicEdge[] 1774 | nodes?: Topic[] 1775 | pageInfo: PageInfo 1776 | totalCount: Int 1777 | } 1778 | 1779 | /* 1780 | * The connection type for Gist. 1781 | 1782 | */ 1783 | export interface GistConnection { 1784 | edges?: GistEdge[] 1785 | nodes?: Gist[] 1786 | pageInfo: PageInfo 1787 | totalCount: Int 1788 | } 1789 | 1790 | /* 1791 | * A threaded list of comments for a given pull request. 1792 | 1793 | */ 1794 | export interface PullRequestReviewThread extends Node { 1795 | comments: PullRequestReviewCommentConnection 1796 | id: ID_Output 1797 | pullRequest: PullRequest 1798 | repository: Repository 1799 | } 1800 | 1801 | /* 1802 | * An edge in a connection. 1803 | 1804 | */ 1805 | export interface GistEdge { 1806 | cursor: String 1807 | node?: Gist 1808 | } 1809 | 1810 | /* 1811 | * Represents a Git tag. 1812 | 1813 | */ 1814 | export interface Tag extends Node, GitObject { 1815 | abbreviatedOid: String 1816 | commitResourcePath: URI 1817 | commitUrl: URI 1818 | id: ID_Output 1819 | message?: String 1820 | name: String 1821 | oid: GitObjectID 1822 | repository: Repository 1823 | tagger?: GitActor 1824 | target: GitObject 1825 | } 1826 | 1827 | /* 1828 | * The connection type for Organization. 1829 | 1830 | */ 1831 | export interface OrganizationConnection { 1832 | edges?: OrganizationEdge[] 1833 | nodes?: Organization[] 1834 | pageInfo: PageInfo 1835 | totalCount: Int 1836 | } 1837 | 1838 | /* 1839 | * Represents a 'subscribed' event on a given `Subscribable`. 1840 | 1841 | */ 1842 | export interface SubscribedEvent extends Node { 1843 | actor?: Actor 1844 | createdAt: DateTime 1845 | id: ID_Output 1846 | subscribable: Subscribable 1847 | } 1848 | 1849 | /* 1850 | * An edge in a connection. 1851 | 1852 | */ 1853 | export interface OrganizationEdge { 1854 | cursor: String 1855 | node?: Organization 1856 | } 1857 | 1858 | /* 1859 | * Represents a 'merged' event on a given pull request. 1860 | 1861 | */ 1862 | export interface MergedEvent extends Node, UniformResourceLocatable { 1863 | actor?: Actor 1864 | commit?: Commit 1865 | createdAt: DateTime 1866 | id: ID_Output 1867 | mergeRef?: Ref 1868 | mergeRefName: String 1869 | pullRequest: PullRequest 1870 | resourcePath: URI 1871 | url: URI 1872 | } 1873 | 1874 | /* 1875 | * The connection type for PublicKey. 1876 | 1877 | */ 1878 | export interface PublicKeyConnection { 1879 | edges?: PublicKeyEdge[] 1880 | nodes?: PublicKey[] 1881 | pageInfo: PageInfo 1882 | totalCount: Int 1883 | } 1884 | 1885 | /* 1886 | * Represents an S/MIME signature on a Commit or Tag. 1887 | 1888 | */ 1889 | export interface SmimeSignature extends GitSignature { 1890 | email: String 1891 | isValid: Boolean 1892 | payload: String 1893 | signature: String 1894 | signer?: User 1895 | state: GitSignatureState 1896 | } 1897 | 1898 | /* 1899 | * An edge in a connection. 1900 | 1901 | */ 1902 | export interface PublicKeyEdge { 1903 | cursor: String 1904 | node?: PublicKey 1905 | } 1906 | 1907 | /* 1908 | * Represents an 'assigned' event on any assignable object. 1909 | 1910 | */ 1911 | export interface AssignedEvent extends Node { 1912 | actor?: Actor 1913 | assignable: Assignable 1914 | createdAt: DateTime 1915 | id: ID_Output 1916 | user?: User 1917 | } 1918 | 1919 | /* 1920 | * A user's public key. 1921 | 1922 | */ 1923 | export interface PublicKey extends Node { 1924 | id: ID_Output 1925 | key: String 1926 | } 1927 | 1928 | /* 1929 | * Represents a 'labeled' event on a given issue or pull request. 1930 | 1931 | */ 1932 | export interface LabeledEvent extends Node { 1933 | actor?: Actor 1934 | createdAt: DateTime 1935 | id: ID_Output 1936 | label: Label 1937 | labelable: Labelable 1938 | } 1939 | 1940 | /* 1941 | * A group of emoji reactions to a particular piece of content. 1942 | 1943 | */ 1944 | export interface ReactionGroup { 1945 | content: ReactionContent 1946 | createdAt?: DateTime 1947 | subject: Reactable 1948 | users: ReactingUserConnection 1949 | viewerHasReacted: Boolean 1950 | } 1951 | 1952 | /* 1953 | * Represents a 'milestoned' event on a given issue or pull request. 1954 | 1955 | */ 1956 | export interface MilestonedEvent extends Node { 1957 | actor?: Actor 1958 | createdAt: DateTime 1959 | id: ID_Output 1960 | milestoneTitle: String 1961 | subject: MilestoneItem 1962 | } 1963 | 1964 | /* 1965 | * The connection type for Repository. 1966 | 1967 | */ 1968 | export interface StarredRepositoryConnection { 1969 | edges?: StarredRepositoryEdge[] 1970 | nodes?: Repository[] 1971 | pageInfo: PageInfo 1972 | totalCount: Int 1973 | } 1974 | 1975 | /* 1976 | * Represents a 'demilestoned' event on a given issue or pull request. 1977 | 1978 | */ 1979 | export interface DemilestonedEvent extends Node { 1980 | actor?: Actor 1981 | createdAt: DateTime 1982 | id: ID_Output 1983 | milestoneTitle: String 1984 | subject: MilestoneItem 1985 | } 1986 | 1987 | /* 1988 | * Represents a starred repository. 1989 | 1990 | */ 1991 | export interface StarredRepositoryEdge { 1992 | cursor: String 1993 | node: Repository 1994 | starredAt: DateTime 1995 | } 1996 | 1997 | /* 1998 | * Represents a 'removed_from_project' event on a given issue or pull request. 1999 | 2000 | */ 2001 | export interface RemovedFromProjectEvent extends Node { 2002 | actor?: Actor 2003 | createdAt: DateTime 2004 | databaseId?: Int 2005 | id: ID_Output 2006 | } 2007 | 2008 | /* 2009 | * The connection type for IssueTimelineItem. 2010 | 2011 | */ 2012 | export interface IssueTimelineConnection { 2013 | edges?: IssueTimelineItemEdge[] 2014 | nodes?: IssueTimelineItem[] 2015 | pageInfo: PageInfo 2016 | totalCount: Int 2017 | } 2018 | 2019 | /* 2020 | * Represents an 'unlocked' event on a given issue or pull request. 2021 | 2022 | */ 2023 | export interface UnlockedEvent extends Node { 2024 | actor?: Actor 2025 | createdAt: DateTime 2026 | id: ID_Output 2027 | lockable: Lockable 2028 | } 2029 | 2030 | /* 2031 | * An edge in a connection. 2032 | 2033 | */ 2034 | export interface IssueTimelineItemEdge { 2035 | cursor: String 2036 | node?: IssueTimelineItem 2037 | } 2038 | 2039 | /* 2040 | * Represents triggered deployment instance. 2041 | 2042 | */ 2043 | export interface Deployment extends Node { 2044 | commit?: Commit 2045 | createdAt: DateTime 2046 | creator?: Actor 2047 | databaseId?: Int 2048 | environment?: String 2049 | id: ID_Output 2050 | latestStatus?: DeploymentStatus 2051 | payload?: String 2052 | repository: Repository 2053 | state?: DeploymentState 2054 | statuses?: DeploymentStatusConnection 2055 | } 2056 | 2057 | /* 2058 | * Represents a 'converted_note_to_issue' event on a given issue or pull request. 2059 | 2060 | */ 2061 | export interface ConvertedNoteToIssueEvent extends Node { 2062 | actor?: Actor 2063 | createdAt: DateTime 2064 | databaseId?: Int 2065 | id: ID_Output 2066 | } 2067 | 2068 | /* 2069 | * Represents an individual commit status context 2070 | 2071 | */ 2072 | export interface StatusContext extends Node { 2073 | commit?: Commit 2074 | context: String 2075 | createdAt: DateTime 2076 | creator?: Actor 2077 | description?: String 2078 | id: ID_Output 2079 | state: StatusState 2080 | targetUrl?: URI 2081 | } 2082 | 2083 | /* 2084 | * An edit on user content 2085 | 2086 | */ 2087 | export interface UserContentEdit extends Node { 2088 | createdAt: DateTime 2089 | editor?: Actor 2090 | id: ID_Output 2091 | updatedAt: DateTime 2092 | } 2093 | 2094 | /* 2095 | * The connection type for DeploymentStatus. 2096 | 2097 | */ 2098 | export interface DeploymentStatusConnection { 2099 | edges?: DeploymentStatusEdge[] 2100 | nodes?: DeploymentStatus[] 2101 | pageInfo: PageInfo 2102 | totalCount: Int 2103 | } 2104 | 2105 | /* 2106 | * An Identity Provider configured to provision SAML and SCIM identities for Organizations 2107 | 2108 | */ 2109 | export interface OrganizationIdentityProvider extends Node { 2110 | digestMethod?: URI 2111 | externalIdentities: ExternalIdentityConnection 2112 | id: ID_Output 2113 | idpCertificate?: X509Certificate 2114 | issuer?: String 2115 | organization?: Organization 2116 | signatureMethod?: URI 2117 | ssoUrl?: URI 2118 | } 2119 | 2120 | /* 2121 | * Represents a 'head_ref_deleted' event on a given pull request. 2122 | 2123 | */ 2124 | export interface HeadRefDeletedEvent extends Node { 2125 | actor?: Actor 2126 | createdAt: DateTime 2127 | headRef?: Ref 2128 | headRefName: String 2129 | id: ID_Output 2130 | pullRequest: PullRequest 2131 | } 2132 | 2133 | /* 2134 | * The connection type for ExternalIdentity. 2135 | 2136 | */ 2137 | export interface ExternalIdentityConnection { 2138 | edges?: ExternalIdentityEdge[] 2139 | nodes?: ExternalIdentity[] 2140 | pageInfo: PageInfo 2141 | totalCount: Int 2142 | } 2143 | 2144 | /* 2145 | * Represents a 'head_ref_force_pushed' event on a given pull request. 2146 | 2147 | */ 2148 | export interface HeadRefForcePushedEvent extends Node { 2149 | actor?: Actor 2150 | afterCommit?: Commit 2151 | beforeCommit?: Commit 2152 | createdAt: DateTime 2153 | id: ID_Output 2154 | pullRequest: PullRequest 2155 | ref?: Ref 2156 | } 2157 | 2158 | /* 2159 | * An edge in a connection. 2160 | 2161 | */ 2162 | export interface ExternalIdentityEdge { 2163 | cursor: String 2164 | node?: ExternalIdentity 2165 | } 2166 | 2167 | /* 2168 | * Represents an 'review_requested' event on a given pull request. 2169 | 2170 | */ 2171 | export interface ReviewRequestedEvent extends Node { 2172 | actor?: Actor 2173 | createdAt: DateTime 2174 | id: ID_Output 2175 | pullRequest: PullRequest 2176 | requestedReviewer?: RequestedReviewer 2177 | subject?: User 2178 | } 2179 | 2180 | /* 2181 | * An external identity provisioned by SAML SSO or SCIM. 2182 | 2183 | */ 2184 | export interface ExternalIdentity extends Node { 2185 | guid: String 2186 | id: ID_Output 2187 | organizationInvitation?: OrganizationInvitation 2188 | samlIdentity?: ExternalIdentitySamlAttributes 2189 | scimIdentity?: ExternalIdentityScimAttributes 2190 | user?: User 2191 | } 2192 | 2193 | /* 2194 | * Represents a 'review_dismissed' event on a given issue or pull request. 2195 | 2196 | */ 2197 | export interface ReviewDismissedEvent extends Node, UniformResourceLocatable { 2198 | actor?: Actor 2199 | createdAt: DateTime 2200 | databaseId?: Int 2201 | id: ID_Output 2202 | message: String 2203 | messageHtml: HTML 2204 | previousReviewState: PullRequestReviewState 2205 | pullRequest: PullRequest 2206 | pullRequestCommit?: PullRequestCommit 2207 | resourcePath: URI 2208 | review?: PullRequestReview 2209 | url: URI 2210 | } 2211 | 2212 | /* 2213 | * SAML attributes for the External Identity 2214 | 2215 | */ 2216 | export interface ExternalIdentitySamlAttributes { 2217 | nameId?: String 2218 | } 2219 | 2220 | /* 2221 | * An edge in a connection. 2222 | 2223 | */ 2224 | export interface DeployKeyEdge { 2225 | cursor: String 2226 | node?: DeployKey 2227 | } 2228 | 2229 | /* 2230 | * SCIM attributes for the External Identity 2231 | 2232 | */ 2233 | export interface ExternalIdentityScimAttributes { 2234 | username?: String 2235 | } 2236 | 2237 | /* 2238 | * The connection type for Deployment. 2239 | 2240 | */ 2241 | export interface DeploymentConnection { 2242 | edges?: DeploymentEdge[] 2243 | nodes?: Deployment[] 2244 | pageInfo: PageInfo 2245 | totalCount: Int 2246 | } 2247 | 2248 | /* 2249 | * Represents a 'comment_deleted' event on a given issue or pull request. 2250 | 2251 | */ 2252 | export interface CommentDeletedEvent extends Node { 2253 | actor?: Actor 2254 | createdAt: DateTime 2255 | databaseId?: Int 2256 | id: ID_Output 2257 | } 2258 | 2259 | /* 2260 | * A respository's open source license 2261 | 2262 | */ 2263 | export interface License { 2264 | body: String 2265 | conditions: LicenseRule[] 2266 | description?: String 2267 | featured: Boolean 2268 | hidden: Boolean 2269 | id: ID_Output 2270 | implementation?: String 2271 | key: String 2272 | limitations: LicenseRule[] 2273 | name: String 2274 | nickname?: String 2275 | permissions: LicenseRule[] 2276 | spdxId?: String 2277 | url?: URI 2278 | } 2279 | 2280 | /* 2281 | * An edge in a connection. 2282 | 2283 | */ 2284 | export interface UserContentEditEdge { 2285 | cursor: String 2286 | node?: UserContentEdit 2287 | } 2288 | 2289 | /* 2290 | * An edge in a connection. 2291 | 2292 | */ 2293 | export interface CommitEdge { 2294 | cursor: String 2295 | node?: Commit 2296 | } 2297 | 2298 | /* 2299 | * Represents the client's rate limit. 2300 | 2301 | */ 2302 | export interface RateLimit { 2303 | cost: Int 2304 | limit: Int 2305 | nodeCount: Int 2306 | remaining: Int 2307 | resetAt: DateTime 2308 | } 2309 | 2310 | /* 2311 | * Represents the language of a repository. 2312 | 2313 | */ 2314 | export interface LanguageEdge { 2315 | cursor: String 2316 | node: Language 2317 | size: Int 2318 | } 2319 | 2320 | /* 2321 | * A list of edits to content. 2322 | 2323 | */ 2324 | export interface UserContentEditConnection { 2325 | edges?: UserContentEditEdge[] 2326 | nodes?: UserContentEdit[] 2327 | pageInfo: PageInfo 2328 | totalCount: Int 2329 | } 2330 | 2331 | /* 2332 | * The connection type for Commit. 2333 | 2334 | */ 2335 | export interface CommitHistoryConnection { 2336 | edges?: CommitEdge[] 2337 | nodes?: Commit[] 2338 | pageInfo: PageInfo 2339 | totalCount: Int 2340 | } 2341 | 2342 | /* 2343 | * A list of results that matched against a search query. 2344 | 2345 | */ 2346 | export interface SearchResultItemConnection { 2347 | codeCount: Int 2348 | edges?: SearchResultItemEdge[] 2349 | issueCount: Int 2350 | nodes?: SearchResultItem[] 2351 | pageInfo: PageInfo 2352 | repositoryCount: Int 2353 | userCount: Int 2354 | wikiCount: Int 2355 | } 2356 | 2357 | /* 2358 | * The connection type for Milestone. 2359 | 2360 | */ 2361 | export interface MilestoneConnection { 2362 | edges?: MilestoneEdge[] 2363 | nodes?: Milestone[] 2364 | pageInfo: PageInfo 2365 | totalCount: Int 2366 | } 2367 | 2368 | /* 2369 | * An edge in a connection. 2370 | 2371 | */ 2372 | export interface SearchResultItemEdge { 2373 | cursor: String 2374 | node?: SearchResultItem 2375 | textMatches?: TextMatch[] 2376 | } 2377 | 2378 | /* 2379 | * Represents a Git blame. 2380 | 2381 | */ 2382 | export interface Blame { 2383 | ranges: BlameRange[] 2384 | } 2385 | 2386 | /* 2387 | * A special type of user which takes actions on behalf of GitHub Apps. 2388 | 2389 | */ 2390 | export interface Bot extends Node, Actor, UniformResourceLocatable { 2391 | avatarUrl: URI 2392 | createdAt: DateTime 2393 | databaseId?: Int 2394 | id: ID_Output 2395 | login: String 2396 | resourcePath: URI 2397 | updatedAt: DateTime 2398 | url: URI 2399 | } 2400 | 2401 | /* 2402 | * Represents an actor in a Git commit (ie. an author or committer). 2403 | 2404 | */ 2405 | export interface GitActor { 2406 | avatarUrl: URI 2407 | date?: GitTimestamp 2408 | email?: String 2409 | name?: String 2410 | user?: User 2411 | } 2412 | 2413 | /* 2414 | * A text match within a search result. 2415 | 2416 | */ 2417 | export interface TextMatch { 2418 | fragment: String 2419 | highlights: TextMatchHighlight[] 2420 | property: String 2421 | } 2422 | 2423 | /* 2424 | * An edge in a connection. 2425 | 2426 | */ 2427 | export interface ProjectEdge { 2428 | cursor: String 2429 | node?: Project 2430 | } 2431 | 2432 | /* 2433 | * Represents a single highlight in a search result match. 2434 | 2435 | */ 2436 | export interface TextMatchHighlight { 2437 | beginIndice: Int 2438 | endIndice: Int 2439 | text: String 2440 | } 2441 | 2442 | /* 2443 | * An edge in a connection. 2444 | 2445 | */ 2446 | export interface ProtectedBranchEdge { 2447 | cursor: String 2448 | node?: ProtectedBranch 2449 | } 2450 | 2451 | /* 2452 | * Represents a comment on a given Commit. 2453 | 2454 | */ 2455 | export interface CommitComment extends Node, Comment, Deletable, Updatable, UpdatableComment, Reactable, RepositoryNode { 2456 | author?: Actor 2457 | authorAssociation: CommentAuthorAssociation 2458 | body: String 2459 | bodyHTML: HTML 2460 | bodyText: String 2461 | commit?: Commit 2462 | createdAt: DateTime 2463 | createdViaEmail: Boolean 2464 | databaseId?: Int 2465 | editor?: Actor 2466 | id: ID_Output 2467 | lastEditedAt?: DateTime 2468 | path?: String 2469 | position?: Int 2470 | publishedAt?: DateTime 2471 | reactionGroups?: ReactionGroup[] 2472 | reactions: ReactionConnection 2473 | repository: Repository 2474 | resourcePath: URI 2475 | updatedAt: DateTime 2476 | url: URI 2477 | userContentEdits?: UserContentEditConnection 2478 | viewerCanDelete: Boolean 2479 | viewerCanReact: Boolean 2480 | viewerCanUpdate: Boolean 2481 | viewerCannotUpdateReasons: CommentCannotUpdateReason[] 2482 | viewerDidAuthor: Boolean 2483 | } 2484 | 2485 | /* 2486 | * The connection type for PushAllowance. 2487 | 2488 | */ 2489 | export interface PushAllowanceConnection { 2490 | edges?: PushAllowanceEdge[] 2491 | nodes?: PushAllowance[] 2492 | pageInfo: PageInfo 2493 | totalCount: Int 2494 | } 2495 | 2496 | /* 2497 | * Autogenerated return type of AcceptTopicSuggestion 2498 | 2499 | */ 2500 | export interface AcceptTopicSuggestionPayload { 2501 | clientMutationId?: String 2502 | topic: Topic 2503 | } 2504 | 2505 | /* 2506 | * A team or user who has the ability to push to a protected branch. 2507 | 2508 | */ 2509 | export interface PushAllowance extends Node { 2510 | actor?: PushAllowanceActor 2511 | id: ID_Output 2512 | protectedBranch: ProtectedBranch 2513 | } 2514 | 2515 | /* 2516 | * An edge in a connection. 2517 | 2518 | */ 2519 | export interface CommitCommentEdge { 2520 | cursor: String 2521 | node?: CommitComment 2522 | } 2523 | 2524 | /* 2525 | * The connection type for ReviewDismissalAllowance. 2526 | 2527 | */ 2528 | export interface ReviewDismissalAllowanceConnection { 2529 | edges?: ReviewDismissalAllowanceEdge[] 2530 | nodes?: ReviewDismissalAllowance[] 2531 | pageInfo: PageInfo 2532 | totalCount: Int 2533 | } 2534 | 2535 | /* 2536 | * Autogenerated return type of AddComment 2537 | 2538 | */ 2539 | export interface AddCommentPayload { 2540 | clientMutationId?: String 2541 | commentEdge: IssueCommentEdge 2542 | subject: Node 2543 | timelineEdge: IssueTimelineItemEdge 2544 | } 2545 | 2546 | /* 2547 | * A team or user who has the ability to dismiss a review on a protected branch. 2548 | 2549 | */ 2550 | export interface ReviewDismissalAllowance extends Node { 2551 | actor?: ReviewDismissalAllowanceActor 2552 | id: ID_Output 2553 | protectedBranch: ProtectedBranch 2554 | } 2555 | 2556 | /* 2557 | * The connection type for CommitComment. 2558 | 2559 | */ 2560 | export interface CommitCommentConnection { 2561 | edges?: CommitCommentEdge[] 2562 | nodes?: CommitComment[] 2563 | pageInfo: PageInfo 2564 | totalCount: Int 2565 | } 2566 | 2567 | /* 2568 | * Represents a GPG signature on a Commit or Tag. 2569 | 2570 | */ 2571 | export interface GpgSignature extends GitSignature { 2572 | email: String 2573 | isValid: Boolean 2574 | keyId?: String 2575 | payload: String 2576 | signature: String 2577 | signer?: User 2578 | state: GitSignatureState 2579 | } 2580 | 2581 | /* 2582 | * Autogenerated return type of AddProjectCard 2583 | 2584 | */ 2585 | export interface AddProjectCardPayload { 2586 | cardEdge: ProjectCardEdge 2587 | clientMutationId?: String 2588 | projectColumn: Project 2589 | } 2590 | 2591 | /* 2592 | * The connection type for Ref. 2593 | 2594 | */ 2595 | export interface RefConnection { 2596 | edges?: RefEdge[] 2597 | nodes?: Ref[] 2598 | pageInfo: PageInfo 2599 | totalCount: Int 2600 | } 2601 | 2602 | /* 2603 | * Represents a user who is a collaborator of a repository. 2604 | 2605 | */ 2606 | export interface RepositoryCollaboratorEdge { 2607 | cursor: String 2608 | node: User 2609 | permission: RepositoryPermission 2610 | } 2611 | 2612 | /* 2613 | * A release contains the content for a release. 2614 | 2615 | */ 2616 | export interface Release extends Node, UniformResourceLocatable { 2617 | author?: User 2618 | createdAt: DateTime 2619 | description?: String 2620 | id: ID_Output 2621 | isDraft: Boolean 2622 | isPrerelease: Boolean 2623 | name?: String 2624 | publishedAt?: DateTime 2625 | releaseAssets: ReleaseAssetConnection 2626 | resourcePath: URI 2627 | tag?: Ref 2628 | updatedAt: DateTime 2629 | url: URI 2630 | } 2631 | 2632 | /* 2633 | * Autogenerated return type of AddProjectColumn 2634 | 2635 | */ 2636 | export interface AddProjectColumnPayload { 2637 | clientMutationId?: String 2638 | columnEdge: ProjectColumnEdge 2639 | project: Project 2640 | } 2641 | 2642 | /* 2643 | * The connection type for ReviewRequest. 2644 | 2645 | */ 2646 | export interface ReviewRequestConnection { 2647 | edges?: ReviewRequestEdge[] 2648 | nodes?: ReviewRequest[] 2649 | pageInfo: PageInfo 2650 | totalCount: Int 2651 | } 2652 | 2653 | /* 2654 | * The connection type for User. 2655 | 2656 | */ 2657 | export interface RepositoryCollaboratorConnection { 2658 | edges?: RepositoryCollaboratorEdge[] 2659 | nodes?: User[] 2660 | pageInfo: PageInfo 2661 | totalCount: Int 2662 | } 2663 | 2664 | /* 2665 | * A team of users in an organization. 2666 | 2667 | */ 2668 | export interface Team extends Node, Subscribable { 2669 | ancestors: TeamConnection 2670 | avatarUrl?: URI 2671 | childTeams: TeamConnection 2672 | combinedSlug: String 2673 | createdAt: DateTime 2674 | description?: String 2675 | editTeamResourcePath: URI 2676 | editTeamUrl: URI 2677 | id: ID_Output 2678 | invitations?: OrganizationInvitationConnection 2679 | members: TeamMemberConnection 2680 | membersResourcePath: URI 2681 | membersUrl: URI 2682 | name: String 2683 | newTeamResourcePath: URI 2684 | newTeamUrl: URI 2685 | organization: Organization 2686 | parentTeam?: Team 2687 | privacy: TeamPrivacy 2688 | repositories: TeamRepositoryConnection 2689 | repositoriesResourcePath: URI 2690 | repositoriesUrl: URI 2691 | resourcePath: URI 2692 | slug: String 2693 | teamsResourcePath: URI 2694 | teamsUrl: URI 2695 | updatedAt: DateTime 2696 | url: URI 2697 | viewerCanAdminister: Boolean 2698 | viewerCanSubscribe: Boolean 2699 | viewerSubscription: SubscriptionState 2700 | } 2701 | 2702 | /* 2703 | * Represents a user that's starred a repository. 2704 | 2705 | */ 2706 | export interface StargazerEdge { 2707 | cursor: String 2708 | node: User 2709 | starredAt: DateTime 2710 | } 2711 | 2712 | /* 2713 | * An edge in a connection. 2714 | 2715 | */ 2716 | export interface IssueEdge { 2717 | cursor: String 2718 | node?: Issue 2719 | } 2720 | 2721 | /* 2722 | * The connection type for User. 2723 | 2724 | */ 2725 | export interface StargazerConnection { 2726 | edges?: StargazerEdge[] 2727 | nodes?: User[] 2728 | pageInfo: PageInfo 2729 | totalCount: Int 2730 | } 2731 | 2732 | /* 2733 | * The connection type for Issue. 2734 | 2735 | */ 2736 | export interface IssueConnection { 2737 | edges?: IssueEdge[] 2738 | nodes?: Issue[] 2739 | pageInfo: PageInfo 2740 | totalCount: Int 2741 | } 2742 | 2743 | /* 2744 | * Autogenerated return type of AddPullRequestReview 2745 | 2746 | */ 2747 | export interface AddPullRequestReviewPayload { 2748 | clientMutationId?: String 2749 | pullRequestReview: PullRequestReview 2750 | reviewEdge: PullRequestReviewEdge 2751 | } 2752 | 2753 | /* 2754 | * A repository pull request. 2755 | 2756 | */ 2757 | export interface PullRequest extends Node, Assignable, Closable, Comment, Updatable, UpdatableComment, Labelable, Lockable, Reactable, RepositoryNode, Subscribable, UniformResourceLocatable { 2758 | activeLockReason?: LockReason 2759 | additions: Int 2760 | assignees: UserConnection 2761 | author?: Actor 2762 | authorAssociation: CommentAuthorAssociation 2763 | baseRef?: Ref 2764 | baseRefName: String 2765 | baseRefOid: GitObjectID 2766 | body: String 2767 | bodyHTML: HTML 2768 | bodyText: String 2769 | changedFiles: Int 2770 | closed: Boolean 2771 | closedAt?: DateTime 2772 | comments: IssueCommentConnection 2773 | commits: PullRequestCommitConnection 2774 | createdAt: DateTime 2775 | createdViaEmail: Boolean 2776 | databaseId?: Int 2777 | deletions: Int 2778 | editor?: Actor 2779 | headRef?: Ref 2780 | headRefName: String 2781 | headRefOid: GitObjectID 2782 | headRepository?: Repository 2783 | headRepositoryOwner?: RepositoryOwner 2784 | id: ID_Output 2785 | isCrossRepository: Boolean 2786 | labels?: LabelConnection 2787 | lastEditedAt?: DateTime 2788 | locked: Boolean 2789 | mergeCommit?: Commit 2790 | mergeable: MergeableState 2791 | merged: Boolean 2792 | mergedAt?: DateTime 2793 | milestone?: Milestone 2794 | number: Int 2795 | participants: UserConnection 2796 | potentialMergeCommit?: Commit 2797 | projectCards: ProjectCardConnection 2798 | publishedAt?: DateTime 2799 | reactionGroups?: ReactionGroup[] 2800 | reactions: ReactionConnection 2801 | repository: Repository 2802 | resourcePath: URI 2803 | revertResourcePath: URI 2804 | revertUrl: URI 2805 | reviewRequests?: ReviewRequestConnection 2806 | reviews?: PullRequestReviewConnection 2807 | state: PullRequestState 2808 | suggestedReviewers: SuggestedReviewer[] 2809 | timeline: PullRequestTimelineConnection 2810 | title: String 2811 | updatedAt: DateTime 2812 | url: URI 2813 | userContentEdits?: UserContentEditConnection 2814 | viewerCanReact: Boolean 2815 | viewerCanSubscribe: Boolean 2816 | viewerCanUpdate: Boolean 2817 | viewerCannotUpdateReasons: CommentCannotUpdateReason[] 2818 | viewerDidAuthor: Boolean 2819 | viewerSubscription: SubscriptionState 2820 | } 2821 | 2822 | /* 2823 | * A repository contains the content for a project. 2824 | 2825 | */ 2826 | export interface Repository extends Node, ProjectOwner, Subscribable, Starrable, UniformResourceLocatable, RepositoryInfo { 2827 | assignableUsers: UserConnection 2828 | codeOfConduct?: CodeOfConduct 2829 | collaborators?: RepositoryCollaboratorConnection 2830 | commitComments: CommitCommentConnection 2831 | createdAt: DateTime 2832 | databaseId?: Int 2833 | defaultBranchRef?: Ref 2834 | deployKeys: DeployKeyConnection 2835 | deployments: DeploymentConnection 2836 | description?: String 2837 | descriptionHTML: HTML 2838 | diskUsage?: Int 2839 | forkCount: Int 2840 | forks: RepositoryConnection 2841 | hasIssuesEnabled: Boolean 2842 | hasWikiEnabled: Boolean 2843 | homepageUrl?: URI 2844 | id: ID_Output 2845 | isArchived: Boolean 2846 | isFork: Boolean 2847 | isLocked: Boolean 2848 | isMirror: Boolean 2849 | isPrivate: Boolean 2850 | issue?: Issue 2851 | issueOrPullRequest?: IssueOrPullRequest 2852 | issues: IssueConnection 2853 | label?: Label 2854 | labels?: LabelConnection 2855 | languages?: LanguageConnection 2856 | license?: String 2857 | licenseInfo?: License 2858 | lockReason?: RepositoryLockReason 2859 | mentionableUsers: UserConnection 2860 | mergeCommitAllowed: Boolean 2861 | milestone?: Milestone 2862 | milestones?: MilestoneConnection 2863 | mirrorUrl?: URI 2864 | name: String 2865 | nameWithOwner: String 2866 | object?: GitObject 2867 | owner: RepositoryOwner 2868 | parent?: Repository 2869 | primaryLanguage?: Language 2870 | project?: Project 2871 | projects: ProjectConnection 2872 | projectsResourcePath: URI 2873 | projectsUrl: URI 2874 | protectedBranches: ProtectedBranchConnection 2875 | pullRequest?: PullRequest 2876 | pullRequests: PullRequestConnection 2877 | pushedAt?: DateTime 2878 | rebaseMergeAllowed: Boolean 2879 | ref?: Ref 2880 | refs?: RefConnection 2881 | release?: Release 2882 | releases: ReleaseConnection 2883 | repositoryTopics: RepositoryTopicConnection 2884 | resourcePath: URI 2885 | shortDescriptionHTML: HTML 2886 | squashMergeAllowed: Boolean 2887 | sshUrl: GitSSHRemote 2888 | stargazers: StargazerConnection 2889 | updatedAt: DateTime 2890 | url: URI 2891 | viewerCanAdminister: Boolean 2892 | viewerCanCreateProjects: Boolean 2893 | viewerCanSubscribe: Boolean 2894 | viewerCanUpdateTopics: Boolean 2895 | viewerHasStarred: Boolean 2896 | viewerPermission?: RepositoryPermission 2897 | viewerSubscription: SubscriptionState 2898 | watchers: UserConnection 2899 | } 2900 | 2901 | /* 2902 | * The connection type for PullRequest. 2903 | 2904 | */ 2905 | export interface PullRequestConnection { 2906 | edges?: PullRequestEdge[] 2907 | nodes?: PullRequest[] 2908 | pageInfo: PageInfo 2909 | totalCount: Int 2910 | } 2911 | 2912 | /* 2913 | * Autogenerated return type of AddPullRequestReviewComment 2914 | 2915 | */ 2916 | export interface AddPullRequestReviewCommentPayload { 2917 | clientMutationId?: String 2918 | comment: PullRequestReviewComment 2919 | commentEdge: PullRequestReviewCommentEdge 2920 | } 2921 | 2922 | /* 2923 | * Represents a team repository. 2924 | 2925 | */ 2926 | export interface TeamRepositoryEdge { 2927 | cursor: String 2928 | node: Repository 2929 | permission: RepositoryPermission 2930 | } 2931 | 2932 | /* 2933 | * An edge in a connection. 2934 | 2935 | */ 2936 | export interface RepositoryEdge { 2937 | cursor: String 2938 | node?: Repository 2939 | } 2940 | 2941 | /* 2942 | * A review object for a given pull request. 2943 | 2944 | */ 2945 | export interface PullRequestReview extends Node, Comment, Deletable, Updatable, UpdatableComment, RepositoryNode { 2946 | author?: Actor 2947 | authorAssociation: CommentAuthorAssociation 2948 | body: String 2949 | bodyHTML: HTML 2950 | bodyText: String 2951 | comments: PullRequestReviewCommentConnection 2952 | commit?: Commit 2953 | createdAt: DateTime 2954 | createdViaEmail: Boolean 2955 | databaseId?: Int 2956 | editor?: Actor 2957 | id: ID_Output 2958 | lastEditedAt?: DateTime 2959 | publishedAt?: DateTime 2960 | pullRequest: PullRequest 2961 | repository: Repository 2962 | resourcePath: URI 2963 | state: PullRequestReviewState 2964 | submittedAt?: DateTime 2965 | updatedAt: DateTime 2966 | url: URI 2967 | userContentEdits?: UserContentEditConnection 2968 | viewerCanDelete: Boolean 2969 | viewerCanUpdate: Boolean 2970 | viewerCannotUpdateReasons: CommentCannotUpdateReason[] 2971 | viewerDidAuthor: Boolean 2972 | } 2973 | 2974 | /* 2975 | * Autogenerated return type of AddReaction 2976 | 2977 | */ 2978 | export interface AddReactionPayload { 2979 | clientMutationId?: String 2980 | reaction: Reaction 2981 | subject: Reactable 2982 | } 2983 | 2984 | /* 2985 | * A suggestion to review a pull request based on a user's commit history and review comments. 2986 | 2987 | */ 2988 | export interface SuggestedReviewer { 2989 | isAuthor: Boolean 2990 | isCommenter: Boolean 2991 | reviewer: User 2992 | } 2993 | 2994 | /* 2995 | * A list of repositories owned by the subject. 2996 | 2997 | */ 2998 | export interface RepositoryConnection { 2999 | edges?: RepositoryEdge[] 3000 | nodes?: Repository[] 3001 | pageInfo: PageInfo 3002 | totalCount: Int 3003 | totalDiskUsage: Int 3004 | } 3005 | 3006 | /* 3007 | * A thread of comments on a commit. 3008 | 3009 | */ 3010 | export interface CommitCommentThread extends Node, RepositoryNode { 3011 | comments: CommitCommentConnection 3012 | commit: Commit 3013 | id: ID_Output 3014 | path?: String 3015 | position?: Int 3016 | repository: Repository 3017 | } 3018 | 3019 | /* 3020 | * Autogenerated return type of AddStar 3021 | 3022 | */ 3023 | export interface AddStarPayload { 3024 | clientMutationId?: String 3025 | starrable: Starrable 3026 | } 3027 | 3028 | /* 3029 | * Represents a 'reopened' event on any `Closable`. 3030 | 3031 | */ 3032 | export interface ReopenedEvent extends Node { 3033 | actor?: Actor 3034 | closable: Closable 3035 | createdAt: DateTime 3036 | id: ID_Output 3037 | } 3038 | 3039 | /* 3040 | * A user is an individual's account on GitHub that owns repositories and can make new content. 3041 | 3042 | */ 3043 | export interface User extends Node, Actor, RepositoryOwner, UniformResourceLocatable { 3044 | avatarUrl: URI 3045 | bio?: String 3046 | bioHTML: HTML 3047 | commitComments: CommitCommentConnection 3048 | company?: String 3049 | companyHTML: HTML 3050 | contributedRepositories: RepositoryConnection 3051 | createdAt: DateTime 3052 | databaseId?: Int 3053 | email: String 3054 | followers: FollowerConnection 3055 | following: FollowingConnection 3056 | gist?: Gist 3057 | gistComments: GistCommentConnection 3058 | gists: GistConnection 3059 | id: ID_Output 3060 | isBountyHunter: Boolean 3061 | isCampusExpert: Boolean 3062 | isDeveloperProgramMember: Boolean 3063 | isEmployee: Boolean 3064 | isHireable: Boolean 3065 | isSiteAdmin: Boolean 3066 | isViewer: Boolean 3067 | issueComments: IssueCommentConnection 3068 | issues: IssueConnection 3069 | location?: String 3070 | login: String 3071 | name?: String 3072 | organization?: Organization 3073 | organizations: OrganizationConnection 3074 | pinnedRepositories: RepositoryConnection 3075 | publicKeys: PublicKeyConnection 3076 | pullRequests: PullRequestConnection 3077 | repositories: RepositoryConnection 3078 | repositoriesContributedTo: RepositoryConnection 3079 | repository?: Repository 3080 | resourcePath: URI 3081 | starredRepositories: StarredRepositoryConnection 3082 | updatedAt: DateTime 3083 | url: URI 3084 | viewerCanFollow: Boolean 3085 | viewerIsFollowing: Boolean 3086 | watching: RepositoryConnection 3087 | websiteUrl?: URI 3088 | } 3089 | 3090 | /* 3091 | * Represents a 'referenced' event on a given `ReferencedSubject`. 3092 | 3093 | */ 3094 | export interface ReferencedEvent extends Node { 3095 | actor?: Actor 3096 | commit?: Commit 3097 | commitRepository: Repository 3098 | createdAt: DateTime 3099 | id: ID_Output 3100 | isCrossReference: Boolean 3101 | isCrossRepository: Boolean 3102 | isDirectReference: Boolean 3103 | subject: ReferencedSubject 3104 | } 3105 | 3106 | /* 3107 | * Autogenerated return type of CreateProject 3108 | 3109 | */ 3110 | export interface CreateProjectPayload { 3111 | clientMutationId?: String 3112 | project: Project 3113 | } 3114 | 3115 | /* 3116 | * Represents an 'unassigned' event on any assignable object. 3117 | 3118 | */ 3119 | export interface UnassignedEvent extends Node { 3120 | actor?: Actor 3121 | assignable: Assignable 3122 | createdAt: DateTime 3123 | id: ID_Output 3124 | user?: User 3125 | } 3126 | 3127 | /* 3128 | * An edge in a connection. 3129 | 3130 | */ 3131 | export interface UserEdge { 3132 | cursor: String 3133 | node?: User 3134 | } 3135 | 3136 | /* 3137 | * An invitation for a user to be added to a repository. 3138 | 3139 | */ 3140 | export interface RepositoryInvitation extends Node { 3141 | id: ID_Output 3142 | invitee: User 3143 | inviter: User 3144 | permission: RepositoryPermission 3145 | repository?: RepositoryInfo 3146 | } 3147 | 3148 | /* 3149 | * The connection type for User. 3150 | 3151 | */ 3152 | export interface UserConnection { 3153 | edges?: UserEdge[] 3154 | nodes?: User[] 3155 | pageInfo: PageInfo 3156 | totalCount: Int 3157 | } 3158 | 3159 | /* 3160 | * Represents a 'locked' event on a given issue or pull request. 3161 | 3162 | */ 3163 | export interface LockedEvent extends Node { 3164 | actor?: Actor 3165 | createdAt: DateTime 3166 | id: ID_Output 3167 | lockable: Lockable 3168 | } 3169 | 3170 | /* 3171 | * Autogenerated return type of DeclineTopicSuggestion 3172 | 3173 | */ 3174 | export interface DeclineTopicSuggestionPayload { 3175 | clientMutationId?: String 3176 | topic: Topic 3177 | } 3178 | 3179 | /* 3180 | * The Code of Conduct for a repository 3181 | 3182 | */ 3183 | export interface CodeOfConduct { 3184 | body?: String 3185 | key: String 3186 | name: String 3187 | url?: URI 3188 | } 3189 | 3190 | /* 3191 | * An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. 3192 | 3193 | */ 3194 | export interface Issue extends Node, Assignable, Closable, Comment, Updatable, UpdatableComment, Labelable, Lockable, Reactable, RepositoryNode, Subscribable, UniformResourceLocatable { 3195 | activeLockReason?: LockReason 3196 | assignees: UserConnection 3197 | author?: Actor 3198 | authorAssociation: CommentAuthorAssociation 3199 | body: String 3200 | bodyHTML: HTML 3201 | bodyText: String 3202 | closed: Boolean 3203 | closedAt?: DateTime 3204 | comments: IssueCommentConnection 3205 | createdAt: DateTime 3206 | createdViaEmail: Boolean 3207 | databaseId?: Int 3208 | editor?: Actor 3209 | id: ID_Output 3210 | labels?: LabelConnection 3211 | lastEditedAt?: DateTime 3212 | locked: Boolean 3213 | milestone?: Milestone 3214 | number: Int 3215 | participants: UserConnection 3216 | projectCards: ProjectCardConnection 3217 | publishedAt?: DateTime 3218 | reactionGroups?: ReactionGroup[] 3219 | reactions: ReactionConnection 3220 | repository: Repository 3221 | resourcePath: URI 3222 | state: IssueState 3223 | timeline: IssueTimelineConnection 3224 | title: String 3225 | updatedAt: DateTime 3226 | url: URI 3227 | userContentEdits?: UserContentEditConnection 3228 | viewerCanReact: Boolean 3229 | viewerCanSubscribe: Boolean 3230 | viewerCanUpdate: Boolean 3231 | viewerCannotUpdateReasons: CommentCannotUpdateReason[] 3232 | viewerDidAuthor: Boolean 3233 | viewerSubscription: SubscriptionState 3234 | } 3235 | 3236 | /* 3237 | * An edge in a connection. 3238 | 3239 | */ 3240 | export interface DeploymentStatusEdge { 3241 | cursor: String 3242 | node?: DeploymentStatus 3243 | } 3244 | 3245 | /* 3246 | * Autogenerated return type of DeleteProject 3247 | 3248 | */ 3249 | export interface DeleteProjectPayload { 3250 | clientMutationId?: String 3251 | owner: ProjectOwner 3252 | } 3253 | 3254 | /* 3255 | * Represents a 'base_ref_force_pushed' event on a given pull request. 3256 | 3257 | */ 3258 | export interface BaseRefForcePushedEvent extends Node { 3259 | actor?: Actor 3260 | afterCommit?: Commit 3261 | beforeCommit?: Commit 3262 | createdAt: DateTime 3263 | id: ID_Output 3264 | pullRequest: PullRequest 3265 | ref?: Ref 3266 | } 3267 | 3268 | /* 3269 | * Represents a Git blob. 3270 | 3271 | */ 3272 | export interface Blob extends Node, GitObject { 3273 | abbreviatedOid: String 3274 | byteSize: Int 3275 | commitResourcePath: URI 3276 | commitUrl: URI 3277 | id: ID_Output 3278 | isBinary: Boolean 3279 | isTruncated: Boolean 3280 | oid: GitObjectID 3281 | repository: Repository 3282 | text?: String 3283 | } 3284 | 3285 | /* 3286 | * The connection type for DeployKey. 3287 | 3288 | */ 3289 | export interface DeployKeyConnection { 3290 | edges?: DeployKeyEdge[] 3291 | nodes?: DeployKey[] 3292 | pageInfo: PageInfo 3293 | totalCount: Int 3294 | } 3295 | 3296 | /* 3297 | * Autogenerated return type of DeleteProjectCard 3298 | 3299 | */ 3300 | export interface DeleteProjectCardPayload { 3301 | clientMutationId?: String 3302 | column: ProjectColumn 3303 | deletedCardId: ID_Output 3304 | } 3305 | 3306 | /* 3307 | * An edge in a connection. 3308 | 3309 | */ 3310 | export interface DeploymentEdge { 3311 | cursor: String 3312 | node?: Deployment 3313 | } 3314 | 3315 | /* 3316 | * A card in a project. 3317 | 3318 | */ 3319 | export interface ProjectCard extends Node { 3320 | column?: ProjectColumn 3321 | content?: ProjectCardItem 3322 | createdAt: DateTime 3323 | creator?: Actor 3324 | databaseId?: Int 3325 | id: ID_Output 3326 | note?: String 3327 | project: Project 3328 | projectColumn: ProjectColumn 3329 | resourcePath: URI 3330 | state?: ProjectCardState 3331 | updatedAt: DateTime 3332 | url: URI 3333 | } 3334 | 3335 | /* 3336 | * A list of languages associated with the parent. 3337 | 3338 | */ 3339 | export interface LanguageConnection { 3340 | edges?: LanguageEdge[] 3341 | nodes?: Language[] 3342 | pageInfo: PageInfo 3343 | totalCount: Int 3344 | totalSize: Int 3345 | } 3346 | 3347 | /* 3348 | * Autogenerated return type of DeleteProjectColumn 3349 | 3350 | */ 3351 | export interface DeleteProjectColumnPayload { 3352 | clientMutationId?: String 3353 | deletedColumnId: ID_Output 3354 | project: Project 3355 | } 3356 | 3357 | /* 3358 | * Represents a range of information from a Git blame. 3359 | 3360 | */ 3361 | export interface BlameRange { 3362 | age: Int 3363 | commit: Commit 3364 | endingLine: Int 3365 | startingLine: Int 3366 | } 3367 | 3368 | /* 3369 | * An edge in a connection. 3370 | 3371 | */ 3372 | export interface ProjectCardEdge { 3373 | cursor: String 3374 | node?: ProjectCard 3375 | } 3376 | 3377 | /* 3378 | * Represents a 'moved_columns_in_project' event on a given issue or pull request. 3379 | 3380 | */ 3381 | export interface MovedColumnsInProjectEvent extends Node { 3382 | actor?: Actor 3383 | createdAt: DateTime 3384 | databaseId?: Int 3385 | id: ID_Output 3386 | } 3387 | 3388 | /* 3389 | * Autogenerated return type of DeletePullRequestReview 3390 | 3391 | */ 3392 | export interface DeletePullRequestReviewPayload { 3393 | clientMutationId?: String 3394 | pullRequestReview: PullRequestReview 3395 | } 3396 | 3397 | /* 3398 | * The connection type for ProtectedBranch. 3399 | 3400 | */ 3401 | export interface ProtectedBranchConnection { 3402 | edges?: ProtectedBranchEdge[] 3403 | nodes?: ProtectedBranch[] 3404 | pageInfo: PageInfo 3405 | totalCount: Int 3406 | } 3407 | 3408 | /* 3409 | * The connection type for ProjectCard. 3410 | 3411 | */ 3412 | export interface ProjectCardConnection { 3413 | edges?: ProjectCardEdge[] 3414 | nodes?: ProjectCard[] 3415 | pageInfo: PageInfo 3416 | totalCount: Int 3417 | } 3418 | 3419 | /* 3420 | * An edge in a connection. 3421 | 3422 | */ 3423 | export interface PushAllowanceEdge { 3424 | cursor: String 3425 | node?: PushAllowance 3426 | } 3427 | 3428 | /* 3429 | * Autogenerated return type of DismissPullRequestReview 3430 | 3431 | */ 3432 | export interface DismissPullRequestReviewPayload { 3433 | clientMutationId?: String 3434 | pullRequestReview: PullRequestReview 3435 | } 3436 | 3437 | /* 3438 | * An edge in a connection. 3439 | 3440 | */ 3441 | export interface ReviewDismissalAllowanceEdge { 3442 | cursor: String 3443 | node?: ReviewDismissalAllowance 3444 | } 3445 | 3446 | /* 3447 | * A column inside a project. 3448 | 3449 | */ 3450 | export interface ProjectColumn extends Node { 3451 | cards: ProjectCardConnection 3452 | createdAt: DateTime 3453 | databaseId?: Int 3454 | id: ID_Output 3455 | name: String 3456 | project: Project 3457 | resourcePath: URI 3458 | updatedAt: DateTime 3459 | url: URI 3460 | } 3461 | 3462 | /* 3463 | * Represents a Git commit. 3464 | 3465 | */ 3466 | export interface Commit extends Node, GitObject, Subscribable { 3467 | abbreviatedOid: String 3468 | additions: Int 3469 | author?: GitActor 3470 | authoredByCommitter: Boolean 3471 | authoredDate: DateTime 3472 | blame: Blame 3473 | changedFiles: Int 3474 | comments: CommitCommentConnection 3475 | commitResourcePath: URI 3476 | commitUrl: URI 3477 | committedDate: DateTime 3478 | committedViaWeb: Boolean 3479 | committer?: GitActor 3480 | deletions: Int 3481 | history: CommitHistoryConnection 3482 | id: ID_Output 3483 | message: String 3484 | messageBody: String 3485 | messageBodyHTML: HTML 3486 | messageHeadline: String 3487 | messageHeadlineHTML: HTML 3488 | oid: GitObjectID 3489 | parents: CommitConnection 3490 | pushedDate?: DateTime 3491 | repository: Repository 3492 | resourcePath: URI 3493 | signature?: GitSignature 3494 | status?: Status 3495 | tarballUrl: URI 3496 | tree: Tree 3497 | treeResourcePath: URI 3498 | treeUrl: URI 3499 | url: URI 3500 | viewerCanSubscribe: Boolean 3501 | viewerSubscription: SubscriptionState 3502 | zipballUrl: URI 3503 | } 3504 | 3505 | /* 3506 | * Autogenerated return type of LockLockable 3507 | 3508 | */ 3509 | export interface LockLockablePayload { 3510 | clientMutationId?: String 3511 | lockedRecord?: Lockable 3512 | } 3513 | 3514 | /* 3515 | * Represents a Milestone object on a given repository. 3516 | 3517 | */ 3518 | export interface Milestone extends Node, Closable, UniformResourceLocatable { 3519 | closed: Boolean 3520 | closedAt?: DateTime 3521 | createdAt: DateTime 3522 | creator?: Actor 3523 | description?: String 3524 | dueOn?: DateTime 3525 | id: ID_Output 3526 | issues: IssueConnection 3527 | number: Int 3528 | pullRequests: PullRequestConnection 3529 | repository: Repository 3530 | resourcePath: URI 3531 | state: MilestoneState 3532 | title: String 3533 | updatedAt: DateTime 3534 | url: URI 3535 | } 3536 | 3537 | /* 3538 | * An edge in a connection. 3539 | 3540 | */ 3541 | export interface ProjectColumnEdge { 3542 | cursor: String 3543 | node?: ProjectColumn 3544 | } 3545 | 3546 | /* 3547 | * An edge in a connection. 3548 | 3549 | */ 3550 | export interface TeamEdge { 3551 | cursor: String 3552 | node?: Team 3553 | } 3554 | 3555 | /* 3556 | * Autogenerated return type of MoveProjectCard 3557 | 3558 | */ 3559 | export interface MoveProjectCardPayload { 3560 | cardEdge: ProjectCardEdge 3561 | clientMutationId?: String 3562 | } 3563 | 3564 | /* 3565 | * An edge in a connection. 3566 | 3567 | */ 3568 | export interface LabelEdge { 3569 | cursor: String 3570 | node?: Label 3571 | } 3572 | 3573 | /* 3574 | * The connection type for ProjectColumn. 3575 | 3576 | */ 3577 | export interface ProjectColumnConnection { 3578 | edges?: ProjectColumnEdge[] 3579 | nodes?: ProjectColumn[] 3580 | pageInfo: PageInfo 3581 | totalCount: Int 3582 | } 3583 | 3584 | /* 3585 | * Represents a Git tree entry. 3586 | 3587 | */ 3588 | export interface TreeEntry { 3589 | mode: Int 3590 | name: String 3591 | object?: GitObject 3592 | oid: GitObjectID 3593 | repository: Repository 3594 | type: String 3595 | } 3596 | 3597 | /* 3598 | * Autogenerated return type of MoveProjectColumn 3599 | 3600 | */ 3601 | export interface MoveProjectColumnPayload { 3602 | clientMutationId?: String 3603 | columnEdge: ProjectColumnEdge 3604 | } 3605 | 3606 | /* 3607 | * An edge in a connection. 3608 | 3609 | */ 3610 | export interface PullRequestReviewCommentEdge { 3611 | cursor: String 3612 | node?: PullRequestReviewComment 3613 | } 3614 | 3615 | /* 3616 | * Represents a 'base_ref_changed' event on a given issue or pull request. 3617 | 3618 | */ 3619 | export interface BaseRefChangedEvent extends Node { 3620 | actor?: Actor 3621 | createdAt: DateTime 3622 | databaseId?: Int 3623 | id: ID_Output 3624 | } 3625 | 3626 | /* 3627 | * Represents a 'closed' event on any `Closable`. 3628 | 3629 | */ 3630 | export interface ClosedEvent extends Node { 3631 | actor?: Actor 3632 | closable: Closable 3633 | closer?: Closer 3634 | commit?: Commit 3635 | createdAt: DateTime 3636 | id: ID_Output 3637 | } 3638 | 3639 | /* 3640 | * Autogenerated return type of RemoveOutsideCollaborator 3641 | 3642 | */ 3643 | export interface RemoveOutsideCollaboratorPayload { 3644 | clientMutationId?: String 3645 | removedUser: User 3646 | } 3647 | 3648 | /* 3649 | * Represents a mention made by one issue or pull request to another. 3650 | 3651 | */ 3652 | export interface CrossReferencedEvent extends Node, UniformResourceLocatable { 3653 | actor?: Actor 3654 | createdAt: DateTime 3655 | id: ID_Output 3656 | isCrossRepository: Boolean 3657 | referencedAt: DateTime 3658 | resourcePath: URI 3659 | source: ReferencedSubject 3660 | target: ReferencedSubject 3661 | url: URI 3662 | willCloseTarget: Boolean 3663 | } 3664 | 3665 | /* 3666 | * Projects manage issues, pull requests and notes within a project owner. 3667 | 3668 | */ 3669 | export interface Project extends Node, Closable, Updatable { 3670 | body?: String 3671 | bodyHTML: HTML 3672 | closed: Boolean 3673 | closedAt?: DateTime 3674 | columns: ProjectColumnConnection 3675 | createdAt: DateTime 3676 | creator?: Actor 3677 | databaseId?: Int 3678 | id: ID_Output 3679 | name: String 3680 | number: Int 3681 | owner: ProjectOwner 3682 | pendingCards: ProjectCardConnection 3683 | resourcePath: URI 3684 | state: ProjectState 3685 | updatedAt: DateTime 3686 | url: URI 3687 | viewerCanUpdate: Boolean 3688 | } 3689 | 3690 | /* 3691 | * Represents a 'renamed' event on a given issue or pull request 3692 | 3693 | */ 3694 | export interface RenamedTitleEvent extends Node { 3695 | actor?: Actor 3696 | createdAt: DateTime 3697 | currentTitle: String 3698 | id: ID_Output 3699 | previousTitle: String 3700 | subject: RenamedTitleSubject 3701 | } 3702 | 3703 | /* 3704 | * Autogenerated return type of RemoveReaction 3705 | 3706 | */ 3707 | export interface RemoveReactionPayload { 3708 | clientMutationId?: String 3709 | reaction: Reaction 3710 | subject: Reactable 3711 | } 3712 | 3713 | /* 3714 | * Represents a commit status. 3715 | 3716 | */ 3717 | export interface Status extends Node { 3718 | commit?: Commit 3719 | context?: StatusContext 3720 | contexts: StatusContext[] 3721 | id: ID_Output 3722 | state: StatusState 3723 | } 3724 | 3725 | /* 3726 | * An account on GitHub, with one or more owners, that has repositories, members and teams. 3727 | 3728 | */ 3729 | export interface Organization extends Node, Actor, ProjectOwner, RepositoryOwner, UniformResourceLocatable { 3730 | avatarUrl: URI 3731 | databaseId?: Int 3732 | description?: String 3733 | email?: String 3734 | id: ID_Output 3735 | location?: String 3736 | login: String 3737 | members: UserConnection 3738 | name?: String 3739 | newTeamResourcePath: URI 3740 | newTeamUrl: URI 3741 | organizationBillingEmail?: String 3742 | pinnedRepositories: RepositoryConnection 3743 | project?: Project 3744 | projects: ProjectConnection 3745 | projectsResourcePath: URI 3746 | projectsUrl: URI 3747 | repositories: RepositoryConnection 3748 | repository?: Repository 3749 | resourcePath: URI 3750 | samlIdentityProvider?: OrganizationIdentityProvider 3751 | team?: Team 3752 | teams: TeamConnection 3753 | teamsResourcePath: URI 3754 | teamsUrl: URI 3755 | url: URI 3756 | viewerCanAdminister: Boolean 3757 | viewerCanCreateProjects: Boolean 3758 | viewerCanCreateRepositories: Boolean 3759 | viewerCanCreateTeams: Boolean 3760 | viewerIsAMember: Boolean 3761 | websiteUrl?: URI 3762 | } 3763 | 3764 | /* 3765 | * Represents an 'review_request_removed' event on a given pull request. 3766 | 3767 | */ 3768 | export interface ReviewRequestRemovedEvent extends Node { 3769 | actor?: Actor 3770 | createdAt: DateTime 3771 | id: ID_Output 3772 | pullRequest: PullRequest 3773 | requestedReviewer?: RequestedReviewer 3774 | subject?: User 3775 | } 3776 | 3777 | /* 3778 | * Autogenerated return type of RemoveStar 3779 | 3780 | */ 3781 | export interface RemoveStarPayload { 3782 | clientMutationId?: String 3783 | starrable: Starrable 3784 | } 3785 | 3786 | /* 3787 | * The connection type for Commit. 3788 | 3789 | */ 3790 | export interface CommitConnection { 3791 | edges?: CommitEdge[] 3792 | nodes?: Commit[] 3793 | pageInfo: PageInfo 3794 | totalCount: Int 3795 | } 3796 | 3797 | /* 3798 | * Represents information about the GitHub instance. 3799 | 3800 | */ 3801 | export interface GitHubMetadata { 3802 | gitHubServicesSha: String 3803 | gitIpAddresses?: String[] 3804 | hookIpAddresses?: String[] 3805 | importerIpAddresses?: String[] 3806 | isPasswordAuthenticationVerifiable: Boolean 3807 | pagesIpAddresses?: String[] 3808 | } 3809 | 3810 | /* 3811 | * An edge in a connection. 3812 | 3813 | */ 3814 | export interface MilestoneEdge { 3815 | cursor: String 3816 | node?: Milestone 3817 | } 3818 | 3819 | /* 3820 | * Autogenerated return type of RequestReviews 3821 | 3822 | */ 3823 | export interface RequestReviewsPayload { 3824 | clientMutationId?: String 3825 | pullRequest: PullRequest 3826 | requestedReviewersEdge: UserEdge 3827 | } 3828 | 3829 | /* 3830 | * A repository protected branch. 3831 | 3832 | */ 3833 | export interface ProtectedBranch extends Node { 3834 | creator?: Actor 3835 | hasDismissableStaleReviews: Boolean 3836 | hasRequiredReviews: Boolean 3837 | hasRequiredStatusChecks: Boolean 3838 | hasRestrictedPushes: Boolean 3839 | hasRestrictedReviewDismissals: Boolean 3840 | hasStrictRequiredStatusChecks: Boolean 3841 | id: ID_Output 3842 | isAdminEnforced: Boolean 3843 | name: String 3844 | pushAllowances: PushAllowanceConnection 3845 | repository: Repository 3846 | requiredStatusCheckContexts?: String[] 3847 | reviewDismissalAllowances: ReviewDismissalAllowanceConnection 3848 | } 3849 | 3850 | /* 3851 | * Information about pagination in a connection. 3852 | 3853 | */ 3854 | export interface PageInfo { 3855 | endCursor?: String 3856 | hasNextPage: Boolean 3857 | hasPreviousPage: Boolean 3858 | startCursor?: String 3859 | } 3860 | 3861 | /* 3862 | * Describes a License's conditions, permissions, and limitations 3863 | 3864 | */ 3865 | export interface LicenseRule { 3866 | description: String 3867 | key: String 3868 | label: String 3869 | } 3870 | 3871 | /* 3872 | * Autogenerated return type of SubmitPullRequestReview 3873 | 3874 | */ 3875 | export interface SubmitPullRequestReviewPayload { 3876 | clientMutationId?: String 3877 | pullRequestReview: PullRequestReview 3878 | } 3879 | 3880 | /* 3881 | * A request for a user to review a pull request. 3882 | 3883 | */ 3884 | export interface ReviewRequest extends Node { 3885 | databaseId?: Int 3886 | id: ID_Output 3887 | pullRequest: PullRequest 3888 | requestedReviewer?: RequestedReviewer 3889 | reviewer?: User 3890 | } 3891 | 3892 | /* 3893 | * An edge in a connection. 3894 | 3895 | */ 3896 | export interface MarketplaceListingEdge { 3897 | cursor: String 3898 | node?: MarketplaceListing 3899 | } 3900 | 3901 | /* 3902 | * The connection type for User. 3903 | 3904 | */ 3905 | export interface TeamMemberConnection { 3906 | edges?: TeamMemberEdge[] 3907 | nodes?: User[] 3908 | pageInfo: PageInfo 3909 | totalCount: Int 3910 | } 3911 | 3912 | /* 3913 | * Autogenerated return type of UpdateProject 3914 | 3915 | */ 3916 | export interface UpdateProjectPayload { 3917 | clientMutationId?: String 3918 | project: Project 3919 | } 3920 | 3921 | /* 3922 | * An edge in a connection. 3923 | 3924 | */ 3925 | export interface PullRequestTimelineItemEdge { 3926 | cursor: String 3927 | node?: PullRequestTimelineItem 3928 | } 3929 | 3930 | /* 3931 | * Look up Marketplace Listings 3932 | 3933 | */ 3934 | export interface MarketplaceListingConnection { 3935 | edges?: MarketplaceListingEdge[] 3936 | nodes?: MarketplaceListing[] 3937 | pageInfo: PageInfo 3938 | totalCount: Int 3939 | } 3940 | 3941 | /* 3942 | * Represents an 'unlabeled' event on a given issue or pull request. 3943 | 3944 | */ 3945 | export interface UnlabeledEvent extends Node { 3946 | actor?: Actor 3947 | createdAt: DateTime 3948 | id: ID_Output 3949 | label: Label 3950 | labelable: Labelable 3951 | } 3952 | 3953 | /* 3954 | * Autogenerated return type of UpdateProjectCard 3955 | 3956 | */ 3957 | export interface UpdateProjectCardPayload { 3958 | clientMutationId?: String 3959 | projectCard: ProjectCard 3960 | } 3961 | 3962 | /* 3963 | * Represents a 'head_ref_restored' event on a given pull request. 3964 | 3965 | */ 3966 | export interface HeadRefRestoredEvent extends Node { 3967 | actor?: Actor 3968 | createdAt: DateTime 3969 | id: ID_Output 3970 | pullRequest: PullRequest 3971 | } 3972 | 3973 | /* 3974 | * Represents a 'added_to_project' event on a given issue or pull request. 3975 | 3976 | */ 3977 | export interface AddedToProjectEvent extends Node { 3978 | actor?: Actor 3979 | createdAt: DateTime 3980 | databaseId?: Int 3981 | id: ID_Output 3982 | } 3983 | 3984 | /* 3985 | * Represents a given language found in repositories. 3986 | 3987 | */ 3988 | export interface Language extends Node { 3989 | color?: String 3990 | id: ID_Output 3991 | name: String 3992 | } 3993 | 3994 | /* 3995 | * Autogenerated return type of UpdateProjectColumn 3996 | 3997 | */ 3998 | export interface UpdateProjectColumnPayload { 3999 | clientMutationId?: String 4000 | projectColumn: ProjectColumn 4001 | } 4002 | 4003 | /* 4004 | * Represents a 'mentioned' event on a given issue or pull request. 4005 | 4006 | */ 4007 | export interface MentionedEvent extends Node { 4008 | actor?: Actor 4009 | createdAt: DateTime 4010 | databaseId?: Int 4011 | id: ID_Output 4012 | } 4013 | 4014 | /* 4015 | * A listing in the GitHub integration marketplace. 4016 | 4017 | */ 4018 | export interface MarketplaceListing extends Node { 4019 | companyUrl?: URI 4020 | configurationResourcePath: URI 4021 | configurationUrl: URI 4022 | documentationUrl?: URI 4023 | extendedDescription?: String 4024 | extendedDescriptionHTML: HTML 4025 | fullDescription: String 4026 | fullDescriptionHTML: HTML 4027 | hasApprovalBeenRequested: Boolean 4028 | hasPublishedFreeTrialPlans: Boolean 4029 | hasTermsOfService: Boolean 4030 | howItWorks?: String 4031 | howItWorksHTML: HTML 4032 | id: ID_Output 4033 | installationUrl?: URI 4034 | installedForViewer: Boolean 4035 | isApproved: Boolean 4036 | isDelisted: Boolean 4037 | isDraft: Boolean 4038 | isPaid: Boolean 4039 | isRejected: Boolean 4040 | logoBackgroundColor: String 4041 | logoUrl?: URI 4042 | name: String 4043 | normalizedShortDescription: String 4044 | pricingUrl?: URI 4045 | primaryCategory: MarketplaceCategory 4046 | privacyPolicyUrl: URI 4047 | resourcePath: URI 4048 | screenshotUrls: String[] 4049 | secondaryCategory?: MarketplaceCategory 4050 | shortDescription: String 4051 | slug: String 4052 | statusUrl?: URI 4053 | supportEmail?: String 4054 | supportUrl: URI 4055 | termsOfServiceUrl?: URI 4056 | url: URI 4057 | viewerCanAddPlans: Boolean 4058 | viewerCanApprove: Boolean 4059 | viewerCanDelist: Boolean 4060 | viewerCanEdit: Boolean 4061 | viewerCanEditCategories: Boolean 4062 | viewerCanEditPlans: Boolean 4063 | viewerCanRedraft: Boolean 4064 | viewerCanReject: Boolean 4065 | viewerCanRequestApproval: Boolean 4066 | viewerHasPurchased: Boolean 4067 | viewerHasPurchasedForAllOrganizations: Boolean 4068 | viewerIsListingAdmin: Boolean 4069 | } 4070 | 4071 | /* 4072 | * An edge in a connection. 4073 | 4074 | */ 4075 | export interface OrganizationInvitationEdge { 4076 | cursor: String 4077 | node?: OrganizationInvitation 4078 | } 4079 | 4080 | /* 4081 | * Represents an 'unsubscribed' event on a given `Subscribable`. 4082 | 4083 | */ 4084 | export interface UnsubscribedEvent extends Node { 4085 | actor?: Actor 4086 | createdAt: DateTime 4087 | id: ID_Output 4088 | subscribable: Subscribable 4089 | } 4090 | 4091 | /* 4092 | * A public description of a Marketplace category. 4093 | 4094 | */ 4095 | export interface MarketplaceCategory { 4096 | description?: String 4097 | howItWorks?: String 4098 | name: String 4099 | primaryListingCount: Int 4100 | resourcePath: URI 4101 | secondaryListingCount: Int 4102 | slug: String 4103 | url: URI 4104 | } 4105 | 4106 | /* 4107 | * Autogenerated return type of UpdatePullRequestReviewComment 4108 | 4109 | */ 4110 | export interface UpdatePullRequestReviewCommentPayload { 4111 | clientMutationId?: String 4112 | pullRequestReviewComment: PullRequestReviewComment 4113 | } 4114 | 4115 | /* 4116 | * Autogenerated return type of UpdateTopics 4117 | 4118 | */ 4119 | export interface UpdateTopicsPayload { 4120 | clientMutationId?: String 4121 | invalidTopicNames?: String[] 4122 | repository: Repository 4123 | } 4124 | 4125 | /* 4126 | * Autogenerated return type of UpdatePullRequestReview 4127 | 4128 | */ 4129 | export interface UpdatePullRequestReviewPayload { 4130 | clientMutationId?: String 4131 | pullRequestReview: PullRequestReview 4132 | } 4133 | 4134 | /* 4135 | * Represents a 'deployed' event on a given pull request. 4136 | 4137 | */ 4138 | export interface DeployedEvent extends Node { 4139 | actor?: Actor 4140 | createdAt: DateTime 4141 | databaseId?: Int 4142 | deployment: Deployment 4143 | id: ID_Output 4144 | pullRequest: PullRequest 4145 | ref?: Ref 4146 | } 4147 | 4148 | /* 4149 | * The connection type for PullRequestReview. 4150 | 4151 | */ 4152 | export interface PullRequestReviewConnection { 4153 | edges?: PullRequestReviewEdge[] 4154 | nodes?: PullRequestReview[] 4155 | pageInfo: PageInfo 4156 | totalCount: Int 4157 | } 4158 | 4159 | /* 4160 | * An edge in a connection. 4161 | 4162 | */ 4163 | export interface RefEdge { 4164 | cursor: String 4165 | node?: Ref 4166 | } 4167 | 4168 | /* 4169 | * A list of projects associated with the owner. 4170 | 4171 | */ 4172 | export interface ProjectConnection { 4173 | edges?: ProjectEdge[] 4174 | nodes?: Project[] 4175 | pageInfo: PageInfo 4176 | totalCount: Int 4177 | } 4178 | 4179 | /* 4180 | * A repository deploy key. 4181 | 4182 | */ 4183 | export interface DeployKey extends Node { 4184 | createdAt: DateTime 4185 | id: ID_Output 4186 | key: String 4187 | readOnly: Boolean 4188 | title: String 4189 | verified: Boolean 4190 | } 4191 | 4192 | /* 4193 | Git SSH string 4194 | */ 4195 | export type GitSSHRemote = string 4196 | 4197 | /* 4198 | The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text. 4199 | */ 4200 | export type String = string 4201 | 4202 | /* 4203 | The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID. 4204 | */ 4205 | export type ID_Input = string | number 4206 | export type ID_Output = string 4207 | 4208 | /* 4209 | A Git object ID. 4210 | */ 4211 | export type GitObjectID = string 4212 | 4213 | /* 4214 | The `Boolean` scalar type represents `true` or `false`. 4215 | */ 4216 | export type Boolean = boolean 4217 | 4218 | /* 4219 | An ISO-8601 encoded date string. 4220 | */ 4221 | export type Date = string 4222 | 4223 | /* 4224 | The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. 4225 | */ 4226 | export type Int = number 4227 | 4228 | /* 4229 | A valid x509 certificate string 4230 | */ 4231 | export type X509Certificate = string 4232 | 4233 | /* 4234 | An ISO-8601 encoded UTC date string. 4235 | */ 4236 | export type DateTime = Date | string 4237 | 4238 | /* 4239 | An ISO-8601 encoded date string. Unlike the DateTime type, GitTimestamp is not converted in UTC. 4240 | */ 4241 | export type GitTimestamp = string 4242 | 4243 | /* 4244 | An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string. 4245 | */ 4246 | export type URI = string 4247 | 4248 | /* 4249 | A string containing HTML code. 4250 | */ 4251 | export type HTML = string 4252 | 4253 | /* 4254 | * Types that can be an actor. 4255 | 4256 | */ 4257 | export type PushAllowanceActor = User | Team 4258 | 4259 | /* 4260 | * Types that can be inside a Milestone. 4261 | 4262 | */ 4263 | export type MilestoneItem = Issue | PullRequest 4264 | 4265 | /* 4266 | * Types that can be an actor. 4267 | 4268 | */ 4269 | export type ReviewDismissalAllowanceActor = User | Team 4270 | 4271 | /* 4272 | * An item in an issue timeline 4273 | 4274 | */ 4275 | export type IssueTimelineItem = Commit | IssueComment | CrossReferencedEvent | ClosedEvent | ReopenedEvent | SubscribedEvent | UnsubscribedEvent | ReferencedEvent | AssignedEvent | UnassignedEvent | LabeledEvent | UnlabeledEvent | MilestonedEvent | DemilestonedEvent | RenamedTitleEvent | LockedEvent | UnlockedEvent 4276 | 4277 | /* 4278 | * Types that can be requested reviewers. 4279 | 4280 | */ 4281 | export type RequestedReviewer = User | Team 4282 | 4283 | /* 4284 | * An item in an pull request timeline 4285 | 4286 | */ 4287 | export type PullRequestTimelineItem = Commit | CommitCommentThread | PullRequestReview | PullRequestReviewThread | PullRequestReviewComment | IssueComment | ClosedEvent | ReopenedEvent | SubscribedEvent | UnsubscribedEvent | MergedEvent | ReferencedEvent | CrossReferencedEvent | AssignedEvent | UnassignedEvent | LabeledEvent | UnlabeledEvent | MilestonedEvent | DemilestonedEvent | RenamedTitleEvent | LockedEvent | UnlockedEvent | DeployedEvent | HeadRefDeletedEvent | HeadRefRestoredEvent | HeadRefForcePushedEvent | BaseRefForcePushedEvent | ReviewRequestedEvent | ReviewRequestRemovedEvent | ReviewDismissedEvent 4288 | 4289 | /* 4290 | * The object which triggered a `ClosedEvent`. 4291 | 4292 | */ 4293 | export type Closer = Commit | PullRequest 4294 | 4295 | /* 4296 | * Any referencable object 4297 | 4298 | */ 4299 | export type ReferencedSubject = Issue | PullRequest 4300 | 4301 | /* 4302 | * Types that can be inside Collection Items. 4303 | 4304 | */ 4305 | export type CollectionItemContent = Repository | Organization | User 4306 | 4307 | /* 4308 | * Types that can be inside Project Cards. 4309 | 4310 | */ 4311 | export type ProjectCardItem = Issue | PullRequest 4312 | 4313 | /* 4314 | * An object which has a renamable title 4315 | 4316 | */ 4317 | export type RenamedTitleSubject = Issue | PullRequest 4318 | 4319 | /* 4320 | * Used for return value of Repository.issueOrPullRequest. 4321 | 4322 | */ 4323 | export type IssueOrPullRequest = Issue | PullRequest 4324 | 4325 | /* 4326 | * The results of a search. 4327 | 4328 | */ 4329 | export type SearchResultItem = Issue | PullRequest | Repository | User | Organization | MarketplaceListing -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | import { Binding, BindingInstance } from './generated-binding' 2 | import { HttpLink } from 'apollo-link-http' 3 | import * as fetch from 'cross-fetch' 4 | import { makeRemoteExecutableSchema } from 'graphql-tools' 5 | import * as fs from 'fs' 6 | 7 | export class GitHubLink extends HttpLink { 8 | constructor(token: string) { 9 | if (!token) { 10 | throw new Error( 11 | 'No Github token provided. Create one here: https://github.com/settings/tokens (Guide: https://developer.github.com/v4/guides/forming-calls/#authenticating-with-graphql)', 12 | ) 13 | } 14 | super({ 15 | uri: 'https://api.github.com/graphql', 16 | headers: { Authorization: `Bearer ${token}` }, 17 | fetch, 18 | }) 19 | } 20 | } 21 | 22 | class GitHubBinding extends Binding { 23 | constructor(token: string) { 24 | const schema = makeRemoteExecutableSchema({ 25 | schema: fs.readFileSync(__dirname + '/schema.graphql', 'utf-8'), 26 | link: new GitHubLink(token), 27 | }) 28 | super({ schema }) 29 | } 30 | } 31 | 32 | export interface BindingConstructor { 33 | new (token: string): T 34 | } 35 | 36 | export const Github = GitHubBinding as BindingConstructor 37 | -------------------------------------------------------------------------------- /src/link.ts: -------------------------------------------------------------------------------- 1 | import { HttpLink } from 'apollo-link-http' 2 | import * as fetch from 'cross-fetch' 3 | 4 | export class GitHubLink extends HttpLink { 5 | constructor(token: string) { 6 | if (!token) { 7 | throw new Error( 8 | 'No Github token provided. Create one here: https://github.com/settings/tokens (Guide: https://developer.github.com/v4/guides/forming-calls/#authenticating-with-graphql)', 9 | ) 10 | } 11 | super({ 12 | uri: 'https://api.github.com/graphql', 13 | headers: { Authorization: `token ${token}` }, 14 | fetch, 15 | }) 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/schema.ts: -------------------------------------------------------------------------------- 1 | import * as fs from 'fs' 2 | import { makeExecutableSchema } from 'graphql-tools' 3 | import { GraphQLSchema } from 'graphql' 4 | 5 | const schema: GraphQLSchema = makeExecutableSchema({ 6 | typeDefs: fs.readFileSync(__dirname + '/schema.graphql', 'utf-8'), 7 | }) 8 | 9 | export default schema 10 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es5", 4 | "moduleResolution": "node", 5 | "module": "commonjs", 6 | "sourceMap": true, 7 | "noUnusedLocals": true, 8 | "rootDir": "./src", 9 | "outDir": "./dist", 10 | "lib": [ 11 | "esnext.asynciterable", "es2016", "dom" 12 | ] 13 | }, 14 | "exclude": ["node_modules", "dist", "example"] 15 | } 16 | --------------------------------------------------------------------------------