File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
src/server/webhooks/events Expand file tree Collapse file tree 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"
22export * as pr from "./pr/index.js"
33export * as project from "./project/index.js"
44export * 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 {
77 SchemaRepository ,
88 SchemaRestMinimalRef ,
99} from "../../../openapi/openapi-typescript.js"
10+ import type { SuggestionState } from "../suggestion_state.js"
1011
1112export interface Actor {
1213 readonly active : boolean
@@ -75,7 +76,7 @@ export interface Project {
7576
7677export interface Properties {
7778 readonly repositoryId : number
78- readonly suggestionState : string
79+ readonly suggestionState ?: SuggestionState
7980}
8081
8182export 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