aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models/validation-config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/models/validation-config.ts')
-rw-r--r--catalog-ui/src/app/models/validation-config.ts20
1 files changed, 20 insertions, 0 deletions
diff --git a/catalog-ui/src/app/models/validation-config.ts b/catalog-ui/src/app/models/validation-config.ts
new file mode 100644
index 0000000000..3524addf86
--- /dev/null
+++ b/catalog-ui/src/app/models/validation-config.ts
@@ -0,0 +1,20 @@
+class PropertyValue {
+ min: number;
+ max: number;
+}
+
+class validationPatterns {
+ string: string;
+ comment:string;
+ integer: string;
+}
+
+export class Validations {
+ propertyValue: PropertyValue;
+ validationPatterns: validationPatterns;
+}
+
+export class ValidationConfiguration {
+ static validation: Validations;
+
+}