@lucania/schema 3.0.3 → 3.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,7 @@
1
1
  import { BaseSchema } from "../schema/BaseSchema";
2
+ import { EnumerationSchema } from "../schema/EnumerationSchema";
2
3
  import { ObjectSchema } from "../schema/ObjectSchema";
3
4
  import { DefaultValue } from "./toolbox";
4
5
  export type BaseSchemaAny = BaseSchema<any, any, boolean, DefaultValue<any>>;
5
6
  export type ObjectSchemaAny = ObjectSchema<any, boolean, DefaultValue<any>>;
7
+ export type EnumerationSchemaAny = EnumerationSchema<string, boolean, DefaultValue<any>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lucania/schema",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
4
4
  "description": "A schema module for compile-time and runtime type checking.",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",