pareto-core 0.1.105 → 0.1.106
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/__internals/async/command_procedure.d.ts +2 -1
- package/dist/__internals/async/command_procedure.js +1 -1
- package/dist/__internals/async/query_function.d.ts +2 -1
- package/dist/__internals/async/query_function.js +1 -1
- package/dist/interface/algorithm_signatures/Command.d.ts +1 -1
- package/dist/interface/algorithm_signatures/Query_Function.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import * as _pi from "../../interface";
|
|
2
2
|
import { Command_Block } from "./Command_Block";
|
|
3
|
-
|
|
3
|
+
import { Command } from "../../interface/algorithm_signatures/Command";
|
|
4
|
+
export default function command_procedure<Error, Dynamic_Parameters, Static_Parameters, Query_Resources, Command_Resources>(execution_handler: ($d: Dynamic_Parameters, $s: Static_Parameters, $qr: Query_Resources, $cr: Command_Resources) => Command_Block<Error>): _pi.Command_Procedure<Command<Error, Dynamic_Parameters>, Static_Parameters, Query_Resources, Command_Resources>;
|
|
@@ -21,4 +21,4 @@ function command_procedure(execution_handler) {
|
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWFuZF9wcm9jZWR1cmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvX19pbnRlcm5hbHMvYXN5bmMvY29tbWFuZF9wcm9jZWR1cmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFRQSxvQ0F5Q0M7QUE3Q0Qsd0VBQWlEO0FBQ2pELGtGQUEyRDtBQUczRCxTQUF3QixpQkFBaUIsQ0FPckMsaUJBS3lCO0lBVXpCLE9BQU8sQ0FBQyxFQUFFLEVBQUUsRUFBRSxFQUFFLEVBQUUsRUFBRSxFQUFFO1FBQ2xCLE9BQU87WUFDSCxTQUFTLEVBQUUsQ0FBQyxFQUFFLEVBQUUsaUJBQWlCLEVBQUUsRUFBRTtnQkFDakMsT0FBTyxJQUFBLHlCQUFpQixFQUFDO29CQUNyQixTQUFTLEVBQUUsQ0FBQyxVQUFVLEVBQUUsUUFBUSxFQUFFLEVBQUU7d0JBRWhDLElBQUEsOEJBQXNCLEVBQUMsaUJBQWlCLENBQUMsRUFBRSxFQUFFLEVBQUUsRUFBRSxFQUFFLEVBQUUsRUFBRSxDQUFDLENBQUMsQ0FBQyxPQUFPLENBQzdELFVBQVUsRUFDVixDQUFDLENBQUMsRUFBRSxFQUFFOzRCQUNGLFFBQVEsQ0FDSixpQkFBaUIsQ0FBQyxDQUFDLENBQUMsQ0FDdkIsQ0FBQTt3QkFDTCxDQUFDLENBQ0osQ0FBQTtvQkFDTCxDQUFDO2lCQUNKLENBQUMsQ0FBQTtZQUNOLENBQUM7U0FDSixDQUFBO0lBQ0wsQ0FBQyxDQUFBO0FBQ0wsQ0FBQyJ9
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import * as _pi from "../../interface";
|
|
2
2
|
import { Query_Result } from "../../interface/algorithm_signatures/Query_Result";
|
|
3
|
-
|
|
3
|
+
import { Query } from "../../interface/algorithm_signatures/Query";
|
|
4
|
+
export default function query_function<Result, Error, Dynamic_Parameters, Static_Parameters, Query_Resources>(handler: ($d: Dynamic_Parameters, $s: Static_Parameters, $q: Query_Resources) => Query_Result<Result, Error>): _pi.Query_Function<Query<Result, Error, Dynamic_Parameters>, Static_Parameters, Query_Resources>;
|
|
@@ -14,4 +14,4 @@ function query_function(handler) {
|
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVlcnlfZnVuY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvX19pbnRlcm5hbHMvYXN5bmMvcXVlcnlfZnVuY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFPQSxpQ0EwQ0M7QUE5Q0Qsc0VBQTZDO0FBSTdDLFNBQXdCLGNBQWMsQ0FPbEMsT0FPQztJQVVELE9BQU8sQ0FBQyxFQUFFLEVBQUUsRUFBRSxFQUFFLEVBQUUsQ0FBQyxDQUNmLEVBQUUsRUFDRixpQkFBaUIsRUFDbkIsRUFBRTtRQUNBLE9BQU8sSUFBQSx3QkFBYyxFQUNqQixDQUNJLFVBQVUsRUFDVixRQUFRLEVBQ1YsRUFBRTtZQUNBLE9BQU8sQ0FBQyxFQUFFLEVBQUUsRUFBRSxFQUFFLEVBQUUsQ0FBQyxDQUFDLGNBQWMsQ0FDOUIsVUFBVSxFQUNWLENBQUMsQ0FBQyxFQUFFLEVBQUU7Z0JBQ0YsUUFBUSxDQUFDLGlCQUFpQixDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUE7WUFDbEMsQ0FBQyxDQUNKLENBQUE7UUFDTCxDQUFDLENBQ0osQ0FBQTtJQUNMLENBQUMsQ0FBQTtBQUNMLENBQUMifQ==
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Transformer } from "./Transformer";
|
|
2
|
-
export type Command_Procedure<
|
|
2
|
+
export type Command_Procedure<My_Command extends Command<any, any>, Static_Parameters, Query_Resources, Command_Resources> = ($s: Static_Parameters, $q: Query_Resources, $c: Command_Resources) => My_Command;
|
|
3
3
|
export type Command<Error, Dynamic_Parameters> = {
|
|
4
4
|
'execute': <Target_Error>($d: Dynamic_Parameters, error_transformer: Transformer<Error, Target_Error>) => Command_Promise<Target_Error>;
|
|
5
5
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Query } from "./Query";
|
|
2
|
-
export type Query_Function<
|
|
2
|
+
export type Query_Function<My_Query extends Query<any, any, any>, Static_Parameters, Query_Resources> = ($s: Static_Parameters, $q: Query_Resources) => My_Query;
|