uomlibrarycommons-core
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -5,3 +5,4 @@ export declare enum EUomLibrarySite { | ||
PRECINCT = "precinct", | ||
AGLC = "aglc" | ||
AGLC = "aglc", | ||
EDDIE = "eddie" | ||
} | ||
@@ -8,0 +9,0 @@ export declare function toEUomLibrarySite(value: string): EUomLibrarySite | undefined; |
@@ -10,2 +10,3 @@ "use strict"; | ||
EUomLibrarySite["AGLC"] = "aglc"; | ||
EUomLibrarySite["EDDIE"] = "eddie"; | ||
})(EUomLibrarySite = exports.EUomLibrarySite || (exports.EUomLibrarySite = {})); | ||
@@ -22,2 +23,4 @@ function toEUomLibrarySite(value) { | ||
return EUomLibrarySite.AGLC; | ||
case EUomLibrarySite.EDDIE.toString(): | ||
return EUomLibrarySite.EDDIE; | ||
default: | ||
@@ -38,2 +41,4 @@ return undefined; | ||
return EUomLibrarySite.AGLC.toString(); | ||
case EUomLibrarySite.EDDIE: | ||
return EUomLibrarySite.EDDIE.toString(); | ||
} | ||
@@ -61,2 +66,4 @@ throw new Error('Unknown EUomLibrarySite'); | ||
return EUomLibrarySite.AGLC; | ||
case 'EDDIE': | ||
return EUomLibrarySite.EDDIE; | ||
} | ||
@@ -76,2 +83,4 @@ throw new Error(`Unable to obtain EUomLibrarySite for key: ${key}`); | ||
return 'Precinct Library'; | ||
case EUomLibrarySite.EDDIE: | ||
return 'Eddie Davies Library'; | ||
} | ||
@@ -78,0 +87,0 @@ throw new Error('Unable to obtain pretty for EUomLibrarySite'); |
{ | ||
"name": "uomlibrarycommons-core", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "Common Node and Angular code for UoM library development", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
16111
245