figue
Advanced tools
Comparing version 1.0.1 to 1.1.0
@@ -22,4 +22,8 @@ interface SchemaObjFloat extends SchemaObjBase<number> { | ||
declare type SchemaObj = SchemaObjInteger | SchemaObjEnum | SchemaObjFloat | SchemaObjAny | SchemaObjString; | ||
interface SchemaObjBoolean extends SchemaObjBase<boolean> { | ||
format: 'boolean'; | ||
} | ||
declare type SchemaObj = SchemaObjInteger | SchemaObjEnum | SchemaObjFloat | SchemaObjAny | SchemaObjString | SchemaObjBoolean; | ||
interface SchemaObjBase<T> { | ||
@@ -40,3 +44,3 @@ doc?: string; | ||
declare type Env = { | ||
[k: string]: number | string | boolean; | ||
[k: string]: number | string | boolean | undefined; | ||
}; | ||
@@ -43,0 +47,0 @@ declare class Figue<T extends Schema> { |
{ | ||
"name": "figue", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "Platform agnostic configuration management library, with environmental variables and validation, like convict", | ||
@@ -5,0 +5,0 @@ "funding": "https://github.com/sponsors/CorentinTh", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
16171
268