diff --git a/package-lock.json b/package-lock.json index fd7668f2..97772ea9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2132,9 +2132,9 @@ } }, "@octokit/types": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.1.0.tgz", - "integrity": "sha512-OFxUBgrEllAbdEmWp/wNmKIu5EuumKHG4sgy56vjZ8lXPgMhF05c76hmulfOdFHHYRpPj49ygOZJ8wgVsPecuA==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.1.1.tgz", + "integrity": "sha512-8LDEbrxJrYiwzBrfZhoMFEq9+1o7Kg4ydiNgZt2DBU6n34iEd37qNqOkawrjJZZ6iUS5IXYf6EmGONn34YLgzw==", "requires": { "@types/node": ">= 8" } diff --git a/scripts/update-endpoints/fetch-json.js b/scripts/update-endpoints/fetch-json.js index d4b9c265..58fcca92 100644 --- a/scripts/update-endpoints/fetch-json.js +++ b/scripts/update-endpoints/fetch-json.js @@ -32,9 +32,7 @@ main(); async function main() { const { endpoints } = await graphql(QUERY, { - // url: "https://github-openapi-graphql-server.vercel.app/api/graphql", - url: - "https://github-openapi-graphql-server-git-zeit-v2.gr2m.vercel.app/api/graphql", + url: "https://github-openapi-graphql-server.vercel.app/api/graphql", version, }); diff --git a/scripts/update-endpoints/generated/endpoints.json b/scripts/update-endpoints/generated/endpoints.json index aef7e8dd..7ad690bf 100644 --- a/scripts/update-endpoints/generated/endpoints.json +++ b/scripts/update-endpoints/generated/endpoints.json @@ -4085,7 +4085,7 @@ ] }, { - "url": "/user/{migration_id}/repositories", + "url": "/user/migrations/{migration_id}/repositories", "id": "list-repos-for-user", "scope": "migrations", "documentationUrl": "https://developer.github.com/v3/migrations/users/#list-repositories-for-a-user-migration", diff --git a/src/generated/paginating-endpoints.ts b/src/generated/paginating-endpoints.ts index c7eb2789..23140b39 100644 --- a/src/generated/paginating-endpoints.ts +++ b/src/generated/paginating-endpoints.ts @@ -1113,14 +1113,6 @@ export interface PaginatingEndpoints { response: Endpoints["GET /teams/:team_id/teams"]["response"]; }; - /** - * @see https://developer.github.com/v3/migrations/users/#list-repositories-for-a-user-migration - */ - "GET /user/:migration_id/repositories": { - parameters: Endpoints["GET /user/:migration_id/repositories"]["parameters"]; - response: Endpoints["GET /user/:migration_id/repositories"]["response"]; - }; - /** * @see https://developer.github.com/v3/users/blocking/#list-users-blocked-by-the-authenticated-user */ @@ -1229,6 +1221,14 @@ export interface PaginatingEndpoints { response: Endpoints["GET /user/migrations"]["response"]; }; + /** + * @see https://developer.github.com/v3/migrations/users/#list-repositories-for-a-user-migration + */ + "GET /user/migrations/:migration_id/repositories": { + parameters: Endpoints["GET /user/migrations/:migration_id/repositories"]["parameters"]; + response: Endpoints["GET /user/migrations/:migration_id/repositories"]["response"]; + }; + /** * @see https://developer.github.com/v3/orgs/#list-organizations-for-the-authenticated-user */