diff --git a/lib/handler.ts b/lib/handler.ts index c5f5c34..e27328d 100644 --- a/lib/handler.ts +++ b/lib/handler.ts @@ -1,6 +1,7 @@ import { http, log } from "../deps.ts"; import { verify } from "./crypto.ts"; import filterWebhook from "./filter.ts"; +import { UrlConfig } from "./types.d.ts"; import * as util from "./util.ts"; export default async function handle(req: Request): Promise { diff --git a/lib/types.d.ts b/lib/types.d.ts index eddd154..ec47ea9 100644 --- a/lib/types.d.ts +++ b/lib/types.d.ts @@ -1,4 +1,4 @@ -interface UrlConfig { +export interface UrlConfig { allowBranches?: string[]; hideTags?: boolean; }