mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-06 05:25:44 +01:00
Add optional i18n keys for violations and make path optional
This commit is contained in:
@@ -2,9 +2,10 @@ type Context = {
|
||||
type: string;
|
||||
id: string;
|
||||
}[];
|
||||
type Violation = {
|
||||
path: string;
|
||||
export type Violation = {
|
||||
path?: string;
|
||||
message: string;
|
||||
key?: string;
|
||||
};
|
||||
|
||||
export type BackendErrorContent = {
|
||||
|
||||
Reference in New Issue
Block a user