exupery-core-types 0.3.19 → 0.3.21

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/Command.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import { Query_Promise } from "./Query";
2
2
  export type Command_Procedure<Parameters, Error, Resources> = ($r: Resources) => Command<Parameters, Error>;
3
3
  export type Command<Parameters, Error> = {
4
- 'execute with synchronous data without error transformation': (parameters: Parameters) => Comand_Promise<Error>;
5
- 'execute with synchronous data': <New_Error>(parameters: Parameters, transform_error: (error: Error) => New_Error) => Comand_Promise<New_Error>;
6
- 'execute with asynchronous data without error transformation': (query: Query_Promise<Parameters, Error>) => Comand_Promise<Error>;
7
- 'execute with asynchronous data': <New_Error>(query: Query_Promise<Parameters, Error>, transform_error: (error: Error) => New_Error) => Comand_Promise<New_Error>;
4
+ 'execute with synchronous data without error transformation': (parameters: Parameters) => Command_Promise<Error>;
5
+ 'execute with synchronous data': <New_Error>(parameters: Parameters, transform_error: (error: Error) => New_Error) => Command_Promise<New_Error>;
6
+ 'execute with asynchronous data without error transformation': (query: Query_Promise<Parameters, Error>) => Command_Promise<Error>;
7
+ 'execute with asynchronous data': <New_Error>(query: Query_Promise<Parameters, Error>, transform_error: (error: Error) => New_Error) => Command_Promise<New_Error>;
8
8
  };
9
- export type Comand_Promise<Error> = {
9
+ export type Command_Promise<Error> = {
10
10
  __start: (on_success: () => void, on_error: (error: Error) => void) => void;
11
- map_error<NE>(handle_error: (error: Error) => NE): Comand_Promise<NE>;
11
+ map_error<NE>(handle_error: (error: Error) => NE): Command_Promise<NE>;
12
12
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exupery-core-types",
3
- "version": "0.3.19",
3
+ "version": "0.3.21",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Corno",
6
6
  "description": "core types for Exupery",