catalog-converter
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -7,10 +7,8 @@ ### [0.0.2-alpha.2](https://github.com/TerriaJS/catalog-converter/compare/0.0.2-alpha.1...0.0.2-alpha.2) (2020-09-28) | ||
### ⚠ BREAKING CHANGES | ||
* Changed message error/warning system to use opaque types | ||
- Changed message error/warning system to use opaque types | ||
### New | ||
* Add SOS, mostly cover TerriaCube catalog ([f15c5fb](https://github.com/TerriaJS/catalog-converter/commit/f15c5fb7f2954051d8065799ab50995360d43411)) | ||
- Add SOS, mostly cover TerriaCube catalog ([f15c5fb](https://github.com/TerriaJS/catalog-converter/commit/f15c5fb7f2954051d8065799ab50995360d43411)) |
@@ -89,8 +89,16 @@ import { Func } from '@iadvize-oss/foldable-helpers/dist/types'; | ||
declare function getInputNotPlainObjectDetails(m: InputNotPlainObject): InputNotPlainObjectDetails; | ||
declare const foldMessage: <R>(funcs: { | ||
isUnknownProp: Func<UnknownProp, R>; | ||
isUnknownType: Func<UnknownType, R>; | ||
isMissingRequiredProp: Func<MissingRequiredProp, R>; | ||
isInputNotPlainObject: Func<InputNotPlainObject, R>; | ||
}) => (s: Message) => R; | ||
declare const foldMessage: { | ||
<R>(funcs: { | ||
isUnknownProp: Func<UnknownProp, R>; | ||
isUnknownType: Func<UnknownType, R>; | ||
isMissingRequiredProp: Func<MissingRequiredProp, R>; | ||
isInputNotPlainObject: Func<InputNotPlainObject, R>; | ||
}): (s: Message) => R; | ||
<R_1, S extends Message>(funcs: { | ||
isUnknownProp: Func<Extract<S, UnknownProp>, R_1>; | ||
isUnknownType: Func<Extract<S, UnknownType>, R_1>; | ||
isMissingRequiredProp: Func<Extract<S, MissingRequiredProp>, R_1>; | ||
isInputNotPlainObject: Func<Extract<S, InputNotPlainObject>, R_1>; | ||
}): (s: S) => R_1; | ||
}; | ||
@@ -97,0 +105,0 @@ declare type PlainObject = Record<string, unknown>; |
@@ -94,8 +94,16 @@ export declare enum Severity { | ||
export declare function getInputNotPlainObjectDetails(m: InputNotPlainObject): InputNotPlainObjectDetails; | ||
export declare const foldMessage: <R>(funcs: { | ||
isUnknownProp: import("@iadvize-oss/foldable-helpers/dist/types").Func<UnknownProp, R>; | ||
isUnknownType: import("@iadvize-oss/foldable-helpers/dist/types").Func<UnknownType, R>; | ||
isMissingRequiredProp: import("@iadvize-oss/foldable-helpers/dist/types").Func<MissingRequiredProp, R>; | ||
isInputNotPlainObject: import("@iadvize-oss/foldable-helpers/dist/types").Func<InputNotPlainObject, R>; | ||
}) => (s: Message) => R; | ||
export declare const foldMessage: { | ||
<R>(funcs: { | ||
isUnknownProp: import("@iadvize-oss/foldable-helpers/dist/types").Func<UnknownProp, R>; | ||
isUnknownType: import("@iadvize-oss/foldable-helpers/dist/types").Func<UnknownType, R>; | ||
isMissingRequiredProp: import("@iadvize-oss/foldable-helpers/dist/types").Func<MissingRequiredProp, R>; | ||
isInputNotPlainObject: import("@iadvize-oss/foldable-helpers/dist/types").Func<InputNotPlainObject, R>; | ||
}): (s: Message) => R; | ||
<R_1, S extends Message>(funcs: { | ||
isUnknownProp: import("@iadvize-oss/foldable-helpers/dist/types").Func<Extract<S, UnknownProp>, R_1>; | ||
isUnknownType: import("@iadvize-oss/foldable-helpers/dist/types").Func<Extract<S, UnknownType>, R_1>; | ||
isMissingRequiredProp: import("@iadvize-oss/foldable-helpers/dist/types").Func<Extract<S, MissingRequiredProp>, R_1>; | ||
isInputNotPlainObject: import("@iadvize-oss/foldable-helpers/dist/types").Func<Extract<S, InputNotPlainObject>, R_1>; | ||
}): (s: S) => R_1; | ||
}; | ||
export {}; |
{ | ||
"name": "catalog-converter", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "", | ||
@@ -121,3 +121,3 @@ "keywords": [], | ||
"dependencies": { | ||
"@iadvize-oss/foldable-helpers": "1.0.4", | ||
"@iadvize-oss/foldable-helpers": "^2.2.0", | ||
"@iadvize-oss/opaque-type": "^1.0.2-beta.5", | ||
@@ -128,4 +128,5 @@ "@sindresorhus/is": "^2.1.1", | ||
"lodash": "^4.17.15", | ||
"tslib": "^2.3.1", | ||
"yargs": "^15.3.1" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
3667031
8
40056
+ Addedtslib@^2.3.1
+ Added@iadvize-oss/foldable-helpers@2.2.0(transitive)
+ Addedtslib@2.8.1(transitive)
- Removed@iadvize-oss/foldable-helpers@1.0.4(transitive)