Skip to content

Commit 06db1ee

Browse files
authored
feat(typescript): descriptions for members_can_create_pages, members_can_create_public_pages, members_can_create_private_pages parameters (octokit.orgs.update()) (#329)
1 parent 7b625ca commit 06db1ee

File tree

4 files changed

+20
-13
lines changed

4 files changed

+20
-13
lines changed

docs/orgs/update.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,22 @@ Specifies which types of repositories non-admin organization members can create.
132132

133133
Toggles whether organization members can create GitHub Pages sites. Can be one of:
134134
\* `true` - all organization members can create GitHub Pages sites.
135-
\* `false` - no organization members can create GitHub Pages sites. Existing published sites will not be impacted.
136-
Default: `true`.
135+
\* `false` - no organization members can create GitHub Pages sites. Existing published sites will not be impacted.
137136

138137
</td></tr>
139138
<tr><td>members_can_create_public_pages</td><td>no</td><td>
140139

140+
Toggles whether organization members can create public GitHub Pages sites. Can be one of:
141+
\* `true` - all organization members can create public GitHub Pages sites.
142+
\* `false` - no organization members can create public GitHub Pages sites. Existing published sites will not be impacted.
143+
141144
</td></tr>
142145
<tr><td>members_can_create_private_pages</td><td>no</td><td>
143146

147+
Toggles whether organization members can create private GitHub Pages sites. Can be one of:
148+
\* `true` - all organization members can create private GitHub Pages sites.
149+
\* `false` - no organization members can create private GitHub Pages sites. Existing published sites will not be impacted.
150+
144151
</td></tr>
145152
<tr><td>blog</td><td>no</td><td>
146153

package-lock.json

Lines changed: 7 additions & 7 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": "^6.5.3",
27+
"@octokit/types": "^6.6.0",
2828
"deprecation": "^2.3.1"
2929
},
3030
"devDependencies": {

scripts/update-endpoints/generated/endpoints.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23543,7 +23543,7 @@
2354323543
},
2354423544
{
2354523545
"name": "members_can_create_pages",
23546-
"description": "Toggles whether organization members can create GitHub Pages sites. Can be one of: \n\\* `true` - all organization members can create GitHub Pages sites. \n\\* `false` - no organization members can create GitHub Pages sites. Existing published sites will not be impacted. \nDefault: `true`. ",
23546+
"description": "Toggles whether organization members can create GitHub Pages sites. Can be one of: \n\\* `true` - all organization members can create GitHub Pages sites. \n\\* `false` - no organization members can create GitHub Pages sites. Existing published sites will not be impacted.",
2354723547
"in": "BODY",
2354823548
"type": "boolean",
2354923549
"required": false,
@@ -23556,7 +23556,7 @@
2355623556
},
2355723557
{
2355823558
"name": "members_can_create_public_pages",
23559-
"description": "",
23559+
"description": "Toggles whether organization members can create public GitHub Pages sites. Can be one of: \n\\* `true` - all organization members can create public GitHub Pages sites. \n\\* `false` - no organization members can create public GitHub Pages sites. Existing published sites will not be impacted.",
2356023560
"in": "BODY",
2356123561
"type": "boolean",
2356223562
"required": false,
@@ -23569,7 +23569,7 @@
2356923569
},
2357023570
{
2357123571
"name": "members_can_create_private_pages",
23572-
"description": "",
23572+
"description": "Toggles whether organization members can create private GitHub Pages sites. Can be one of: \n\\* `true` - all organization members can create private GitHub Pages sites. \n\\* `false` - no organization members can create private GitHub Pages sites. Existing published sites will not be impacted.",
2357323573
"in": "BODY",
2357423574
"type": "boolean",
2357523575
"required": false,

0 commit comments

Comments
 (0)