File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const DEFAULT_BASE = ".github";
27
27
28
28
export type MergeOptions = merge . Options ;
29
29
30
- interface WebhookPayloadWithRepository {
30
+ export interface WebhookPayloadWithRepository {
31
31
[ key : string ] : any ;
32
32
repository ?: EventPayloads . PayloadRepository ;
33
33
issue ?: {
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import type { Logger } from "pino";
13
13
import { Server } from "http" ;
14
14
import { Application } from "./application" ;
15
15
import { setupAppFactory } from "./apps/setup" ;
16
- import { Context } from "./context" ;
16
+ import { Context , WebhookPayloadWithRepository } from "./context" ;
17
17
import { ProbotOctokit } from "./octokit/probot-octokit" ;
18
18
import { getLog } from "./helpers/get-log" ;
19
19
import { findPrivateKey } from "./helpers/get-private-key" ;
@@ -367,3 +367,6 @@ export const createProbot = (options: Options) => {
367
367
export type ApplicationFunction = ( app : Application ) => void ;
368
368
369
369
export { Logger , Context , Application , ProbotOctokit } ;
370
+
371
+ /** NOTE: exported types might change at any point in time */
372
+ export { WebhookPayloadWithRepository } ;
You can’t perform that action at this time.
0 commit comments