GitRoot

Craft your forge, Build your project, Grow your community freely
 1// SPDX-FileCopyrightText: 2026 Romain Maneschi <romain@gitroot.dev>
 2//
 3// SPDX-License-Identifier: MIT
 4
 5
 6@json
 7export class ReportToGitroot {
 8  constructor(
 9    public level: ReportLevel,
10    public content: Array<string>,
11  ) {}
12}
13
14@json
15export class Report {
16  constructor(
17    public fromPlugin: string,
18    public fromBranch: string,
19    public fromCommit: string,
20    public level: ReportLevel,
21    public content: Array<string>,
22  ) {}
23}
24
25export namespace ReportLevel {
26  export const Info = "info";
27  export const Warning = "warning";
28  export const Error = "error";
29}
30
31export type ReportLevel = string;
32