Skip to content

Commit

Permalink
feat: new draft property on issue object
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 committed Nov 22, 2021
1 parent cb9d085 commit 2dc3e74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion payload-schemas/api.github.com/common/issue.schema.json
Expand Up @@ -23,7 +23,8 @@
"author_association",
"active_lock_reason",
"body",
"reactions"
"reactions",
"draft"
],
"type": "object",
"properties": {
Expand Down Expand Up @@ -65,6 +66,7 @@
"type": ["string", "null"],
"enum": ["resolved", "off-topic", "too heated", "spam", null]
},
"draft": { "type": "boolean" },
"performed_via_github_app": {
"oneOf": [{ "$ref": "app.schema.json" }, { "type": "null" }]
},
Expand Down
1 change: 1 addition & 0 deletions payload-types/schema.d.ts
Expand Up @@ -2921,6 +2921,7 @@ export interface Issue {
closed_at: string | null;
author_association: AuthorAssociation;
active_lock_reason: "resolved" | "off-topic" | "too heated" | "spam" | null;
draft: boolean;
performed_via_github_app?: App | null;
pull_request?: {
url?: string;
Expand Down

0 comments on commit 2dc3e74

Please sign in to comment.