uomlibrarycommons-core
Advanced tools
Comparing version 0.8.3 to 0.9.0
@@ -6,3 +6,4 @@ export declare enum EUomLibrarySite { | ||
AGLC = "aglc", | ||
EDDIE = "eddie" | ||
EDDIE = "eddie", | ||
STOPFORD = "stopford" | ||
} | ||
@@ -9,0 +10,0 @@ export declare function toEUomLibrarySite(value: string): EUomLibrarySite | undefined; |
@@ -11,2 +11,3 @@ "use strict"; | ||
EUomLibrarySite["EDDIE"] = "eddie"; | ||
EUomLibrarySite["STOPFORD"] = "stopford"; | ||
})(EUomLibrarySite = exports.EUomLibrarySite || (exports.EUomLibrarySite = {})); | ||
@@ -25,2 +26,4 @@ function toEUomLibrarySite(value) { | ||
return EUomLibrarySite.EDDIE; | ||
case EUomLibrarySite.STOPFORD.toString(): | ||
return EUomLibrarySite.STOPFORD; | ||
default: | ||
@@ -43,2 +46,4 @@ return undefined; | ||
return EUomLibrarySite.EDDIE.toString(); | ||
case EUomLibrarySite.STOPFORD: | ||
return EUomLibrarySite.STOPFORD.toString(); | ||
} | ||
@@ -66,2 +71,4 @@ throw new Error('Unknown EUomLibrarySite'); | ||
return EUomLibrarySite.EDDIE; | ||
case 'STOPFORD': | ||
return EUomLibrarySite.STOPFORD; | ||
} | ||
@@ -83,2 +90,4 @@ throw new Error(`Unable to obtain EUomLibrarySite for key: ${key}`); | ||
return 'Eddie Davies Library'; | ||
case EUomLibrarySite.STOPFORD: | ||
return 'Stopford Library'; | ||
} | ||
@@ -85,0 +94,0 @@ throw new Error('Unable to obtain pretty for EUomLibrarySite'); |
{ | ||
"name": "uomlibrarycommons-core", | ||
"version": "0.8.3", | ||
"version": "0.9.0", | ||
"description": "Common Node and Angular code for UoM library development", | ||
@@ -13,3 +13,3 @@ "scripts": { | ||
"dependencies": { | ||
"tscommons-core": "^2.1.0" | ||
"tscommons-core": "^2.3.0" | ||
}, | ||
@@ -16,0 +16,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43269
639
Updatedtscommons-core@^2.3.0