Comparing version 1.12.1 to 1.12.2
@@ -34,3 +34,5 @@ import { SCHEMA_OPTIONS_SYMBOL, SchemaOptions } from './morphism'; | ||
export declare type StrictSchema<Target = any, Source = any> = { | ||
[destinationProperty in keyof Target]: ActionString<Source> | ActionFunction<Target, Source, Target[destinationProperty]> | ActionAggregator<Source> | ActionSelector<Source, Target> | StrictSchema<Target[destinationProperty], Source>; | ||
[destinationProperty in keyof Target]: ActionString<Source> | { | ||
(iteratee: Source, source: Source[], target: Target[destinationProperty]): Target[destinationProperty]; | ||
} | ActionAggregator<Source> | ActionSelector<Source, Target> | StrictSchema<Target[destinationProperty], Source>; | ||
} & { | ||
@@ -40,3 +42,5 @@ [SCHEMA_OPTIONS_SYMBOL]?: SchemaOptions<Target>; | ||
export declare type Schema<Target = any, Source = any> = { | ||
[destinationProperty in keyof Target]?: ActionString<Source> | ActionFunction<Target, Source, Target[destinationProperty]> | ActionAggregator<Source> | ActionSelector<Source, Target> | Schema<Target[destinationProperty], Source>; | ||
[destinationProperty in keyof Target]?: ActionString<Source> | { | ||
(iteratee: Source, source: Source[], target: Target[destinationProperty]): Target[destinationProperty]; | ||
} | ActionAggregator<Source> | ActionSelector<Source, Target> | Schema<Target[destinationProperty], Source>; | ||
} & { | ||
@@ -43,0 +47,0 @@ [SCHEMA_OPTIONS_SYMBOL]?: SchemaOptions<Target | any>; |
{ | ||
"name": "morphism", | ||
"version": "1.12.1", | ||
"version": "1.12.2", | ||
"description": "Do not repeat anymore your objects transformations.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/nobrainr/morphism", |
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
90371
487