pareto-core-interface 0.1.8 → 0.1.9

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,13 +1,13 @@
1
1
  import { Refiner, Refiner_With_Parameters, Refiner_Without_Error, Refiner_Without_Error_With_Parameters } from "./Refiner";
2
- export type Deserializer_With_Parameters<Result, Error, Parameters> = Refiner_With_Parameters<Result, Error, string, Parameters>;
3
2
  export type Deserializer<Result, Error> = Refiner<Result, Error, string>;
3
+ export type Deserializer_With_Parameters<Result, Error, Parameters> = Refiner_With_Parameters<Result, Error, string, Parameters>;
4
4
  export type Deserializer_Without_Error<Result> = Refiner_Without_Error<Result, string>;
5
5
  export type Deserializer_Without_Error_With_Parameters<Result, Parameters> = Refiner_Without_Error_With_Parameters<Result, string, Parameters>;
6
6
  export type Number_Deserializer<Error> = Deserializer<number, Error>;
7
7
  export type Number_Deserializer_With_Parameters<Error, Parameters> = Deserializer_With_Parameters<number, Error, Parameters>;
8
- export type Number_Deserializer_Without_Error<Parameters> = Deserializer_With_Parameters<number, never, Parameters>;
8
+ export type Number_Deserializer_Without_Error = Deserializer_Without_Error<number>;
9
9
  export type Number_Deserializer_Without_Error_With_Parameters<Parameters> = Deserializer_Without_Error_With_Parameters<number, Parameters>;
10
10
  export type Boolean_Deserializer<Error> = Deserializer<boolean, Error>;
11
11
  export type Boolean_Deserializer_With_Parameters<Error, Parameters> = Deserializer_With_Parameters<boolean, Error, Parameters>;
12
- export type Boolean_Deserializer_Without_Error<Parameters> = Deserializer_With_Parameters<boolean, never, Parameters>;
12
+ export type Boolean_Deserializer_Without_Error = Deserializer_Without_Error<boolean>;
13
13
  export type Boolean_Deserializer_Without_Error_With_Parameters<Parameters> = Deserializer_Without_Error_With_Parameters<boolean, Parameters>;
@@ -0,0 +1,6 @@
1
+ import { Abort } from "../abort";
2
+ import { Iterator } from "../interfaces/Iterator";
3
+ export type Production<Iterator_Element, Result, Error> = (iterator: Iterator<Iterator_Element>, abort: Abort<Error>) => Result;
4
+ export type Production_With_Parameters<Iterator_Element, Result, Error, Parameters> = (iterator: Iterator<Iterator_Element>, abort: Abort<Error>, $p: Parameters) => Result;
5
+ export type Production_Without_Error<Iterator_Element, Result> = (iterator: Iterator<Iterator_Element>) => Result;
6
+ export type Production_Without_Error_With_Parameters<Iterator_Element, Result, Parameters> = (iterator: Iterator<Iterator_Element>, $p: Parameters) => Result;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUHJvZHVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hbGdvcml0aG1fc2lnbmF0dXJlcy9Qcm9kdWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -1,4 +1,5 @@
1
- export type Refiner_With_Parameters<Result, Error, Input, Parameters> = ($: Input, $p: Parameters, abort: ($: Error) => never) => Result;
2
- export type Refiner<Result, Error, Input> = ($: Input, abort: ($: Error) => never) => Result;
1
+ import { Abort } from "../abort";
2
+ export type Refiner_With_Parameters<Result, Error, Input, Parameters> = ($: Input, abort: Abort<Error>, $p: Parameters) => Result;
3
+ export type Refiner<Result, Error, Input> = ($: Input, abort: Abort<Error>) => Result;
3
4
  export type Refiner_Without_Error<Result, Input> = ($: Input) => Result;
4
5
  export type Refiner_Without_Error_With_Parameters<Result, Input, Parameters> = ($: Input, $p: Parameters) => Result;
package/dist/index.d.ts CHANGED
@@ -3,9 +3,10 @@ export * from "./data/Circular_Dependency";
3
3
  export * from "./data/Dictionary";
4
4
  export * from "./data/Optional_Value";
5
5
  export * from "./abort";
6
+ export * from "./interfaces/Iterator";
6
7
  export * from "./interfaces/Text_Builder";
7
8
  export * from "./algorithm_signatures/Command";
8
- export * from "./algorithm_signatures/Iterator";
9
+ export * from "./algorithm_signatures/Deserializer";
9
10
  export * from "./algorithm_signatures/Query_Function";
10
11
  export * from "./algorithm_signatures/Query_Result";
11
12
  export * from "./algorithm_signatures/Query";
@@ -13,7 +14,6 @@ export * from "./algorithm_signatures/Queryer";
13
14
  export * from "./algorithm_signatures/Refiner";
14
15
  export * from "./algorithm_signatures/Transformer";
15
16
  export * from "./algorithm_signatures/Serializer";
16
- export * from "./algorithm_signatures/Deserializer";
17
17
  export * from "./Deprecated_Source_Location";
18
18
  export * from "./Deprecated_Refinement_Result";
19
19
  export * from "./Deprecated_Key_Value_Pair";
package/dist/index.js CHANGED
@@ -19,9 +19,10 @@ __exportStar(require("./data/Circular_Dependency"), exports);
19
19
  __exportStar(require("./data/Dictionary"), exports);
20
20
  __exportStar(require("./data/Optional_Value"), exports);
21
21
  __exportStar(require("./abort"), exports);
22
+ __exportStar(require("./interfaces/Iterator"), exports);
22
23
  __exportStar(require("./interfaces/Text_Builder"), exports);
23
24
  __exportStar(require("./algorithm_signatures/Command"), exports);
24
- __exportStar(require("./algorithm_signatures/Iterator"), exports);
25
+ __exportStar(require("./algorithm_signatures/Deserializer"), exports);
25
26
  __exportStar(require("./algorithm_signatures/Query_Function"), exports);
26
27
  __exportStar(require("./algorithm_signatures/Query_Result"), exports);
27
28
  __exportStar(require("./algorithm_signatures/Query"), exports);
@@ -29,8 +30,7 @@ __exportStar(require("./algorithm_signatures/Queryer"), exports);
29
30
  __exportStar(require("./algorithm_signatures/Refiner"), exports);
30
31
  __exportStar(require("./algorithm_signatures/Transformer"), exports);
31
32
  __exportStar(require("./algorithm_signatures/Serializer"), exports);
32
- __exportStar(require("./algorithm_signatures/Deserializer"), exports);
33
33
  __exportStar(require("./Deprecated_Source_Location"), exports);
34
34
  __exportStar(require("./Deprecated_Refinement_Result"), exports);
35
35
  __exportStar(require("./Deprecated_Key_Value_Pair"), exports);
36
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUNBLDhDQUEyQjtBQUMzQiw2REFBMEM7QUFDMUMsb0RBQWlDO0FBQ2pDLHdEQUFxQztBQUVyQywwQ0FBdUI7QUFFdkIsNERBQXlDO0FBRXpDLGlFQUE4QztBQUM5QyxrRUFBK0M7QUFDL0Msd0VBQXFEO0FBQ3JELHNFQUFtRDtBQUNuRCwrREFBNEM7QUFDNUMsaUVBQThDO0FBQzlDLGlFQUE4QztBQUM5QyxxRUFBa0Q7QUFDbEQsb0VBQWlEO0FBQ2pELHNFQUFtRDtBQUVuRCwrREFBNEM7QUFDNUMsaUVBQThDO0FBQzlDLDhEQUEyQyJ9
36
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUNBLDhDQUEyQjtBQUMzQiw2REFBMEM7QUFDMUMsb0RBQWlDO0FBQ2pDLHdEQUFxQztBQUVyQywwQ0FBdUI7QUFFdkIsd0RBQXFDO0FBQ3JDLDREQUF5QztBQUV6QyxpRUFBOEM7QUFDOUMsc0VBQW1EO0FBQ25ELHdFQUFxRDtBQUNyRCxzRUFBbUQ7QUFDbkQsK0RBQTRDO0FBQzVDLGlFQUE4QztBQUM5QyxpRUFBOEM7QUFDOUMscUVBQWtEO0FBQ2xELG9FQUFpRDtBQUVqRCwrREFBNEM7QUFDNUMsaUVBQThDO0FBQzlDLDhEQUEyQyJ9
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSXRlcmF0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvYWxnb3JpdGhtX3NpZ25hdHVyZXMvSXRlcmF0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSXRlcmF0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW50ZXJmYWNlcy9JdGVyYXRvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pareto-core-interface",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Corno",
6
6
  "description": "core types needed to define an interface in the Pareto language",