exupery-core-internals 0.1.11 → 0.1.12

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/index.d.ts CHANGED
@@ -8,4 +8,4 @@ export * from "./imp/public/switch_state";
8
8
  export * from "./imp/public/get_location_info";
9
9
  export * from "./imp/public/set";
10
10
  export * from "./imp/public/not_set";
11
- export * from "./unguaranteed_transaction_result";
11
+ export * from "./transformation";
package/dist/index.js CHANGED
@@ -24,4 +24,4 @@ __exportStar(require("./imp/public/switch_state"), exports);
24
24
  __exportStar(require("./imp/public/get_location_info"), exports);
25
25
  __exportStar(require("./imp/public/set"), exports);
26
26
  __exportStar(require("./imp/public/not_set"), exports);
27
- __exportStar(require("./unguaranteed_transaction_result"), exports);
27
+ __exportStar(require("./transformation"), exports);
@@ -8,6 +8,10 @@ export interface Unguaranteed_Transformation_Result<T, E> {
8
8
  map_result<NT>(handle_value: ($: T) => NT): Unguaranteed_Transformation_Result<NT, E>;
9
9
  transform<NT>(handle_value: ($: T) => NT, handle_exception: ($: E) => NT): NT;
10
10
  }
11
+ export type Guaranteed_Transformation_With_Parameters<In, Parameters, Out> = ($: In, $p: Parameters) => Out;
12
+ export type Guaranteed_Transformation_Without_Parameters<In, Out> = ($: In) => Out;
13
+ export type Unguaranteed_Transformation_With_Parameters<In, Parameters, Out, Error> = ($: In, $p: Parameters) => Unguaranteed_Transformation_Result<Out, Error>;
14
+ export type Unguaranteed_Transformation_Without_Parameters<In, Out, Error> = ($: In) => Unguaranteed_Transformation_Result<Out, Error>;
11
15
  export declare namespace transformation {
12
16
  const failed: <T, E>(exception: E) => Unguaranteed_Transformation_Result<T, E>;
13
17
  const successful: <T, E>(value: T) => Unguaranteed_Transformation_Result<T, E>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exupery-core-internals",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "license": "ISC",
5
5
  "description": "",
6
6
  "author": "Corno",