UNPKG

reg-notify-gitlab-plugin

Version:

Notify reg-suit result to GitLab repository

21 lines (20 loc) 679 B
import { NotifierPlugin, NotifyParams, PluginCreateOptions } from "reg-suit-interface"; export interface GitLabPluginOption { gitlabUrl?: string; projectId?: string; privateToken: string; commentTo?: "note" | "description" | "discussion"; shortDescription?: boolean; } export declare class GitLabNotifierPlugin implements NotifierPlugin<GitLabPluginOption> { naem: string; private _noEmit; private _logger; private _gitlabUrl; private _projectId; private _token; private _commentTo; private _shortDescription?; init(config: PluginCreateOptions<GitLabPluginOption>): void; notify(params: NotifyParams): Promise<void>; }