GitRoot

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