Skip to content

Commit

Permalink
fix(deps): bump @octokit/types from 5.1.0 to 5.1.1 (#110)
Browse files Browse the repository at this point in the history
* build(deps): bump @octokit/types from 5.1.0 to 5.1.1

Bumps [@octokit/types](https://github.com/octokit/types.ts) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/octokit/types.ts/releases)
- [Commits](octokit/types.ts@v5.1.0...v5.1.1)

Signed-off-by: dependabot[bot] <[email protected]>

* build(update-endpoints): fix fetch-json URL

* fix: `GET /user/migrations/:migration_id/repositories` -> `GET /user/migrations/:migration_id/repositories`

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gregor Martynus <[email protected]>
  • Loading branch information
dependabot[bot] and gr2m authored Jul 23, 2020
1 parent 7314bbd commit d6a14e4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 15 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions scripts/update-endpoints/fetch-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});

Expand Down
2 changes: 1 addition & 1 deletion scripts/update-endpoints/generated/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
16 changes: 8 additions & 8 deletions src/generated/paginating-endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down

0 comments on commit d6a14e4

Please sign in to comment.