pareto-core-interface 0.1.2 → 0.1.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.
- package/dist/{algorithm_signatures/Refinement_Result.d.ts → Deprecated_Refinement_Result.d.ts} +6 -6
- package/dist/Deprecated_Refinement_Result.js +3 -0
- package/dist/Deprecated_Source_Location.d.ts +5 -0
- package/dist/Deprecated_Source_Location.js +3 -0
- package/dist/algorithm_signatures/Query_Result.d.ts +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -2
- package/package.json +1 -1
- package/dist/algorithm_signatures/Refinement_Result.js +0 -3
package/dist/{algorithm_signatures/Refinement_Result.d.ts → Deprecated_Refinement_Result.d.ts}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Transformer } from "./Transformer";
|
|
2
|
-
export interface
|
|
1
|
+
import { Transformer } from "./algorithm_signatures/Transformer";
|
|
2
|
+
export interface Deprecated_Refinement_Result<Output, Error> {
|
|
3
3
|
transform<Target>(output_transformer: Transformer<Output, Target>, error_transformer: Transformer<Error, Target>): Target;
|
|
4
|
-
transform_result<New_Output>(transformer: Transformer<Output, New_Output>):
|
|
5
|
-
deprecated_transform_error<New_Error>(error_transformer: Transformer<Error, New_Error>):
|
|
4
|
+
transform_result<New_Output>(transformer: Transformer<Output, New_Output>): Deprecated_Refinement_Result<New_Output, Error>;
|
|
5
|
+
deprecated_transform_error<New_Error>(error_transformer: Transformer<Error, New_Error>): Deprecated_Refinement_Result<Output, New_Error>;
|
|
6
6
|
deprecated_refine_old<New_Output, Refiner_Error>(refiner: Deprecated_Refiner_Catcher<New_Output, Refiner_Error, Output>,
|
|
7
7
|
/**
|
|
8
8
|
* if the refiner fails, rework its error into the desired error type
|
|
9
9
|
*/
|
|
10
|
-
error_transformer: Transformer<Refiner_Error, Error>):
|
|
10
|
+
error_transformer: Transformer<Refiner_Error, Error>): Deprecated_Refinement_Result<New_Output, Error>;
|
|
11
11
|
__extract_data: (on_success: ($: Output) => void, on_error: ($: Error) => void) => void;
|
|
12
12
|
}
|
|
13
|
-
export type Deprecated_Refiner_Catcher<Result, Error, Input> = ($: Input) =>
|
|
13
|
+
export type Deprecated_Refiner_Catcher<Result, Error, Input> = ($: Input) => Deprecated_Refinement_Result<Result, Error>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRGVwcmVjYXRlZF9SZWZpbmVtZW50X1Jlc3VsdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9EZXByZWNhdGVkX1JlZmluZW1lbnRfUmVzdWx0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRGVwcmVjYXRlZF9Tb3VyY2VfTG9jYXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvRGVwcmVjYXRlZF9Tb3VyY2VfTG9jYXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Queryer } from "./Queryer";
|
|
2
|
-
import { Deprecated_Refiner_Catcher } from "
|
|
2
|
+
import { Deprecated_Refiner_Catcher } from "../Deprecated_Refinement_Result";
|
|
3
3
|
import { Transformer } from "./Transformer";
|
|
4
4
|
export interface Query_Result<Output, Error> {
|
|
5
5
|
query_result: null;
|
package/dist/index.d.ts
CHANGED
|
@@ -10,8 +10,9 @@ export * from "./algorithm_signatures/Query_Function";
|
|
|
10
10
|
export * from "./algorithm_signatures/Query_Result";
|
|
11
11
|
export * from "./algorithm_signatures/Query";
|
|
12
12
|
export * from "./algorithm_signatures/Queryer";
|
|
13
|
-
export * from "./algorithm_signatures/Refinement_Result";
|
|
14
13
|
export * from "./algorithm_signatures/Refiner";
|
|
15
14
|
export * from "./algorithm_signatures/Transformer";
|
|
16
15
|
export * from "./algorithm_signatures/Serializer";
|
|
17
16
|
export * from "./algorithm_signatures/Deserializer";
|
|
17
|
+
export * from "./Deprecated_Source_Location";
|
|
18
|
+
export * from "./Deprecated_Refinement_Result";
|
package/dist/index.js
CHANGED
|
@@ -26,9 +26,10 @@ __exportStar(require("./algorithm_signatures/Query_Function"), exports);
|
|
|
26
26
|
__exportStar(require("./algorithm_signatures/Query_Result"), exports);
|
|
27
27
|
__exportStar(require("./algorithm_signatures/Query"), exports);
|
|
28
28
|
__exportStar(require("./algorithm_signatures/Queryer"), exports);
|
|
29
|
-
__exportStar(require("./algorithm_signatures/Refinement_Result"), exports);
|
|
30
29
|
__exportStar(require("./algorithm_signatures/Refiner"), exports);
|
|
31
30
|
__exportStar(require("./algorithm_signatures/Transformer"), exports);
|
|
32
31
|
__exportStar(require("./algorithm_signatures/Serializer"), exports);
|
|
33
32
|
__exportStar(require("./algorithm_signatures/Deserializer"), exports);
|
|
34
|
-
|
|
33
|
+
__exportStar(require("./Deprecated_Source_Location"), exports);
|
|
34
|
+
__exportStar(require("./Deprecated_Refinement_Result"), exports);
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUNBLDhDQUEyQjtBQUMzQiw2REFBMEM7QUFDMUMsb0RBQWlDO0FBQ2pDLHdEQUFxQztBQUVyQywwQ0FBdUI7QUFFdkIsNERBQXlDO0FBRXpDLGlFQUE4QztBQUM5QyxrRUFBK0M7QUFDL0Msd0VBQXFEO0FBQ3JELHNFQUFtRDtBQUNuRCwrREFBNEM7QUFDNUMsaUVBQThDO0FBQzlDLGlFQUE4QztBQUM5QyxxRUFBa0Q7QUFDbEQsb0VBQWlEO0FBQ2pELHNFQUFtRDtBQUVuRCwrREFBNEM7QUFDNUMsaUVBQThDIn0=
|
package/package.json
CHANGED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmVmaW5lbWVudF9SZXN1bHQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvYWxnb3JpdGhtX3NpZ25hdHVyZXMvUmVmaW5lbWVudF9SZXN1bHQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|