NG-UI Added support for the OSM Repository
* Added a list to show the repo added.
* Form to add the repo path with the type.
Change-Id: I77ddbf6ef4c7f02abd2e5bc455b3a21e04e5b20d
Signed-off-by: Barath Kumar R <barath.r@tataelxsi.co.in>
diff --git a/src/services/SharedService.ts b/src/services/SharedService.ts
index 8aee513..41f3d76 100644
--- a/src/services/SharedService.ts
+++ b/src/services/SharedService.ts
@@ -64,6 +64,12 @@
// tslint:disable-next-line: max-line-length
public REGX_PASSWORD_PATTERN: RegExp = new RegExp(/^.*(?=.{8,})((?=.*[!@#$%^&*()\-_=+{};:,<.>]){1})(?=.*\d)((?=.*[a-z]){1})((?=.*[A-Z]){1}).*$/);
+ /** Variables to hold maxlength for the description @public */
+ public MAX_LENGTH_DESCRIPTION: number = 500;
+
+ /** Variables to hold maxlength for the name @public */
+ public MAX_LENGTH_NAME: number = 50;
+
/** FormGroup instance added to the form @ html @public */
public formGroup: FormGroup;