Skip to content

Commit 1a38fd2

Browse files
fix(typescript): repository_selection response key is an enum string (#117)
Co-authored-by: Octokit Bot <[email protected]>
1 parent cc41b18 commit 1a38fd2

File tree

9 files changed

+34
-34
lines changed

9 files changed

+34
-34
lines changed

docs/gists/createComment.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
name: Create a comment
2+
name: Create a gist comment
33
example: octokit.gists.createComment({ gist_id, body })
44
route: POST /gists/{gist_id}/comments
55
scope: gists
66
type: API method
77
---
88

9-
# Create a comment
9+
# Create a gist comment
1010

1111
```js
1212
octokit.gists.createComment({
@@ -37,4 +37,4 @@ The comment text.
3737
</tbody>
3838
</table>
3939

40-
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/gists/comments/#create-a-comment).
40+
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/gists/comments/#create-a-gist-comment).

docs/gists/deleteComment.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
name: Delete a comment
2+
name: Delete a gist comment
33
example: octokit.gists.deleteComment({ gist_id, comment_id })
44
route: DELETE /gists/{gist_id}/comments/{comment_id}
55
scope: gists
66
type: API method
77
---
88

9-
# Delete a comment
9+
# Delete a gist comment
1010

1111
```js
1212
octokit.gists.deleteComment({
@@ -35,4 +35,4 @@ octokit.gists.deleteComment({
3535
</tbody>
3636
</table>
3737

38-
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/gists/comments/#delete-a-comment).
38+
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/gists/comments/#delete-a-gist-comment).

docs/gists/getComment.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
name: Get a single comment
2+
name: Get a gist comment
33
example: octokit.gists.getComment({ gist_id, comment_id })
44
route: GET /gists/{gist_id}/comments/{comment_id}
55
scope: gists
66
type: API method
77
---
88

9-
# Get a single comment
9+
# Get a gist comment
1010

1111
```js
1212
octokit.gists.getComment({
@@ -35,4 +35,4 @@ octokit.gists.getComment({
3535
</tbody>
3636
</table>
3737

38-
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/gists/comments/#get-a-single-comment).
38+
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/gists/comments/#get-a-gist-comment).

docs/gists/getRevision.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
name: Get a specific revision of a gist
2+
name: Get a gist revision
33
example: octokit.gists.getRevision({ gist_id, sha })
44
route: GET /gists/{gist_id}/{sha}
55
scope: gists
66
type: API method
77
---
88

9-
# Get a specific revision of a gist
9+
# Get a gist revision
1010

1111
```js
1212
octokit.gists.getRevision({
@@ -35,4 +35,4 @@ octokit.gists.getRevision({
3535
</tbody>
3636
</table>
3737

38-
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/gists/#get-a-specific-revision-of-a-gist).
38+
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/gists/#get-a-gist-revision).

docs/gists/listComments.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
name: List comments on a gist
2+
name: List gist comments
33
example: octokit.gists.listComments({ gist_id })
44
route: GET /gists/{gist_id}/comments
55
scope: gists
66
type: API method
77
---
88

9-
# List comments on a gist
9+
# List gist comments
1010

1111
```js
1212
octokit.gists.listComments({
@@ -41,4 +41,4 @@ Page number of the results to fetch.
4141
</tbody>
4242
</table>
4343

44-
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/gists/comments/#list-comments-on-a-gist).
44+
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/gists/comments/#list-gist-comments).

docs/gists/updateComment.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
name: Edit a comment
2+
name: Update a gist comment
33
example: octokit.gists.updateComment({ gist_id, comment_id, body })
44
route: PATCH /gists/{gist_id}/comments/{comment_id}
55
scope: gists
66
type: API method
77
---
88

9-
# Edit a comment
9+
# Update a gist comment
1010

1111
```js
1212
octokit.gists.updateComment({
@@ -41,4 +41,4 @@ The comment text.
4141
</tbody>
4242
</table>
4343

44-
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/gists/comments/#edit-a-comment).
44+
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/gists/comments/#update-a-gist-comment).

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"author": "Gregor Martynus (https://twitter.com/gr2m)",
2525
"license": "MIT",
2626
"dependencies": {
27-
"@octokit/types": "^4.1.3",
27+
"@octokit/types": "^4.1.4",
2828
"deprecation": "^2.3.1"
2929
},
3030
"devDependencies": {

scripts/update-endpoints/generated/endpoints.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2240,15 +2240,15 @@
22402240
"renamed": null
22412241
},
22422242
{
2243-
"name": "List comments on a gist",
2243+
"name": "List gist comments",
22442244
"scope": "gists",
22452245
"id": "listComments",
22462246
"method": "GET",
22472247
"url": "/gists/{gist_id}/comments",
22482248
"isDeprecated": false,
22492249
"isLegacy": false,
22502250
"description": "",
2251-
"documentationUrl": "https://developer.github.com/v3/gists/comments/#list-comments-on-a-gist",
2251+
"documentationUrl": "https://developer.github.com/v3/gists/comments/#list-gist-comments",
22522252
"previews": [],
22532253
"headers": [],
22542254
"parameters": [
@@ -2306,15 +2306,15 @@
23062306
"renamed": null
23072307
},
23082308
{
2309-
"name": "Create a comment",
2309+
"name": "Create a gist comment",
23102310
"scope": "gists",
23112311
"id": "createComment",
23122312
"method": "POST",
23132313
"url": "/gists/{gist_id}/comments",
23142314
"isDeprecated": false,
23152315
"isLegacy": false,
23162316
"description": "",
2317-
"documentationUrl": "https://developer.github.com/v3/gists/comments/#create-a-comment",
2317+
"documentationUrl": "https://developer.github.com/v3/gists/comments/#create-a-gist-comment",
23182318
"previews": [],
23192319
"headers": [],
23202320
"parameters": [
@@ -2359,15 +2359,15 @@
23592359
"renamed": null
23602360
},
23612361
{
2362-
"name": "Get a single comment",
2362+
"name": "Get a gist comment",
23632363
"scope": "gists",
23642364
"id": "getComment",
23652365
"method": "GET",
23662366
"url": "/gists/{gist_id}/comments/{comment_id}",
23672367
"isDeprecated": false,
23682368
"isLegacy": false,
23692369
"description": "",
2370-
"documentationUrl": "https://developer.github.com/v3/gists/comments/#get-a-single-comment",
2370+
"documentationUrl": "https://developer.github.com/v3/gists/comments/#get-a-gist-comment",
23712371
"previews": [],
23722372
"headers": [],
23732373
"parameters": [
@@ -2412,15 +2412,15 @@
24122412
"renamed": null
24132413
},
24142414
{
2415-
"name": "Edit a comment",
2415+
"name": "Update a gist comment",
24162416
"scope": "gists",
24172417
"id": "updateComment",
24182418
"method": "PATCH",
24192419
"url": "/gists/{gist_id}/comments/{comment_id}",
24202420
"isDeprecated": false,
24212421
"isLegacy": false,
24222422
"description": "",
2423-
"documentationUrl": "https://developer.github.com/v3/gists/comments/#edit-a-comment",
2423+
"documentationUrl": "https://developer.github.com/v3/gists/comments/#update-a-gist-comment",
24242424
"previews": [],
24252425
"headers": [],
24262426
"parameters": [
@@ -2478,15 +2478,15 @@
24782478
"renamed": null
24792479
},
24802480
{
2481-
"name": "Delete a comment",
2481+
"name": "Delete a gist comment",
24822482
"scope": "gists",
24832483
"id": "deleteComment",
24842484
"method": "DELETE",
24852485
"url": "/gists/{gist_id}/comments/{comment_id}",
24862486
"isDeprecated": false,
24872487
"isLegacy": false,
24882488
"description": "",
2489-
"documentationUrl": "https://developer.github.com/v3/gists/comments/#delete-a-comment",
2489+
"documentationUrl": "https://developer.github.com/v3/gists/comments/#delete-a-gist-comment",
24902490
"previews": [],
24912491
"headers": [],
24922492
"parameters": [
@@ -2783,15 +2783,15 @@
27832783
"renamed": null
27842784
},
27852785
{
2786-
"name": "Get a specific revision of a gist",
2786+
"name": "Get a gist revision",
27872787
"scope": "gists",
27882788
"id": "getRevision",
27892789
"method": "GET",
27902790
"url": "/gists/{gist_id}/{sha}",
27912791
"isDeprecated": false,
27922792
"isLegacy": false,
27932793
"description": "",
2794-
"documentationUrl": "https://developer.github.com/v3/gists/#get-a-specific-revision-of-a-gist",
2794+
"documentationUrl": "https://developer.github.com/v3/gists/#get-a-gist-revision",
27952795
"previews": [],
27962796
"headers": [],
27972797
"parameters": [

0 commit comments

Comments
 (0)