File tree 3 files changed +9
-1
lines changed
src/server/webhooks/events
3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -2,3 +2,4 @@ export * from "./event.js"
2
2
export * as pr from "./pr/index.js"
3
3
export * as project from "./project/index.js"
4
4
export * as repo from "./repo/index.js"
5
+ export * from "./suggestion_state.js"
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import type {
7
7
SchemaRepository ,
8
8
SchemaRestMinimalRef ,
9
9
} from "../../../openapi/openapi-typescript.js"
10
+ import type { SuggestionState } from "../suggestion_state.js"
10
11
11
12
export interface Actor {
12
13
readonly active : boolean
@@ -75,7 +76,7 @@ export interface Project {
75
76
76
77
export interface Properties {
77
78
readonly repositoryId : number
78
- readonly suggestionState : string
79
+ readonly suggestionState ?: SuggestionState
79
80
}
80
81
81
82
export interface PullRequest {
Original file line number Diff line number Diff line change
1
+ export const suggestionState = {
2
+ UNAPPLIED : "UNAPPLIED" ,
3
+ } as const
4
+
5
+ export type SuggestionState =
6
+ ( typeof suggestionState ) [ keyof typeof suggestionState ]
You can’t perform that action at this time.
0 commit comments