Skip to content

Commit 88a972c

Browse files
committed
Implementt new validation attributes in entry-format
1 parent d83d44f commit 88a972c

File tree

3 files changed

+361
-340
lines changed

3 files changed

+361
-340
lines changed
Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1-
/*
2-
* Copyright (c) 2020, Phoenix Contact GmbH & Co. KG
3-
* Licensed under the Apache License, Version 2.0
4-
*/
5-
6-
export default class EntryValidation {
7-
public minimum: number;
8-
public maximum: number;
9-
public regex: string;
10-
public isRequired: boolean;
11-
public isPassword: boolean;
12-
}
1+
/*
2+
* Copyright (c) 2020, Phoenix Contact GmbH & Co. KG
3+
* Licensed under the Apache License, Version 2.0
4+
*/
5+
6+
export default class EntryValidation {
7+
public minimum: number;
8+
public maximum: number;
9+
public regex: string;
10+
public isRequired: boolean;
11+
public isPassword: boolean;
12+
public deniedValue: string[];
13+
public allowedValue: string[];
14+
public minLength: number;
15+
public maxLength: number;
16+
}

0 commit comments

Comments
 (0)