uomlibrarycommons-core
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -9,3 +9,4 @@ export declare enum EUomLibrarySite { | ||
export declare function fromEUomLibrarySite(value: EUomLibrarySite): string; | ||
export declare function isEUomLibrarySite(test: unknown): test is EUomLibrarySite; | ||
export declare function keyToEUomLibrarySite(key: string): EUomLibrarySite; | ||
export declare function prettyFromEUomLibrarySite(site: EUomLibrarySite): string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tscommons_core_1 = require("tscommons-core"); | ||
var EUomLibrarySite; | ||
@@ -39,2 +40,10 @@ (function (EUomLibrarySite) { | ||
exports.fromEUomLibrarySite = fromEUomLibrarySite; | ||
function isEUomLibrarySite(test) { | ||
if (!tscommons_core_1.CommonsType.isString(test)) | ||
return false; | ||
if (toEUomLibrarySite(test) === undefined) | ||
return false; | ||
return true; | ||
} | ||
exports.isEUomLibrarySite = isEUomLibrarySite; | ||
function keyToEUomLibrarySite(key) { | ||
@@ -41,0 +50,0 @@ switch (key) { |
{ | ||
"name": "uomlibrarycommons-core", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Common Node and Angular code for UoM library development", | ||
@@ -12,3 +12,5 @@ "scripts": { | ||
"license": "ISC", | ||
"dependencies": {}, | ||
"dependencies": { | ||
"tscommons-core": "^1.0.17" | ||
}, | ||
"files": [ | ||
@@ -15,0 +17,0 @@ "dist/**/*" |
Sorry, the diff of this file is not supported yet
11769
181
1
+ Addedtscommons-core@^1.0.17
+ Addedtscommons-core@1.33.1(transitive)