Creaded Upload Interface; Also added Wrapper around HaDocument to reload the Document

This commit is contained in:
schnulller
2022-06-04 23:18:40 +02:00
parent 37b794ea05
commit 9712574e13
21 changed files with 1043 additions and 268 deletions

View File

@@ -0,0 +1,22 @@
namespace HaWeb.Models;
public class SyntaxCheckModel {
public string Prefix { get; private set; }
public List<SyntaxError>? Errors { get; set; }
public List<SyntaxError>? Warnings { get; set; }
public SyntaxCheckModel(string prefix) {
Prefix = prefix;
}
}
public class SyntaxError {
public string Message { get; private set; }
public string? File { get; set; }
public string? Line { get; set; }
public string? Column { get; set; }
public SyntaxError(string message) {
Message = message;
}
}