exupery-core-types 0.3.7 → 0.3.8

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,6 +1,8 @@
1
+ import { Query_Promise } from "./Query";
1
2
  export type Procedure<Parameters, Error, Resources> = ($r: Resources) => Procedure_Primed_With_Resources<Parameters, Error>;
2
3
  export type Procedure_Primed_With_Resources<Parameters, Error> = {
3
4
  'execute with synchrounous data': ($: Parameters) => Procedure_Promise<Error>;
5
+ 'execute with asynchrounous data': (query: Query_Promise<Parameters, Error>) => Procedure_Promise<Error>;
4
6
  };
5
7
  export type Procedure_Promise<Error> = {
6
8
  __start: (on_success: () => void, on_error: (error: Error) => void) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exupery-core-types",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Corno",
6
6
  "description": "core types for Exupery",