exupery-core-bin 0.3.10 → 0.3.11
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/algorithms/procedures/guaranteed/log.d.ts +2 -2
- package/dist/algorithms/procedures/guaranteed/log_error.d.ts +2 -2
- package/dist/algorithms/procedures/guaranteed/write_to_stderr.d.ts +2 -2
- package/dist/algorithms/procedures/guaranteed/write_to_stdout.d.ts +2 -2
- package/dist/algorithms/procedures/unguaranteed/copy.d.ts +2 -2
- package/dist/algorithms/procedures/unguaranteed/execute_any_procedure_executable.d.ts +2 -2
- package/dist/algorithms/procedures/unguaranteed/execute_any_smelly_procedure_executable.d.ts +2 -2
- package/dist/algorithms/procedures/unguaranteed/make_directory.d.ts +2 -2
- package/dist/algorithms/procedures/unguaranteed/remove.d.ts +2 -2
- package/dist/algorithms/procedures/unguaranteed/write_file.d.ts +2 -2
- package/dist/algorithms/queries/guaranteed/execute_query_executable_and_catch.d.ts +2 -2
- package/dist/algorithms/queries/guaranteed/get_instream_data.d.ts +2 -2
- package/dist/algorithms/queries/unguaranteed/execute_any_query_executable.d.ts +2 -2
- package/dist/algorithms/queries/unguaranteed/read_directory.d.ts +2 -2
- package/dist/algorithms/queries/unguaranteed/read_file.d.ts +2 -2
- package/dist/algorithms/queries/unguaranteed/stat.d.ts +2 -2
- package/dist/index.d.ts +16 -19
- package/dist/index.js +3 -3
- package/package.json +4 -4
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d from "exupery-resources/dist/interface/generated/pareto/schemas/log/data_types/target";
|
|
3
|
-
export declare const $$:
|
|
3
|
+
export declare const $$: _et.Guaranteed_Procedure<d.Parameters, null>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d from "exupery-resources/dist/interface/generated/pareto/schemas/log_error/data_types/target";
|
|
3
|
-
export declare const $$:
|
|
3
|
+
export declare const $$: _et.Guaranteed_Procedure<d.Parameters, null>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d from "exupery-resources/dist/interface/generated/pareto/schemas/write_to_stderr/data_types/target";
|
|
3
|
-
export declare const $$:
|
|
3
|
+
export declare const $$: _et.Guaranteed_Procedure<d.Parameters, null>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d from "exupery-resources/dist/interface/generated/pareto/schemas/write_to_stdout/data_types/target";
|
|
3
|
-
export declare const $$:
|
|
3
|
+
export declare const $$: _et.Guaranteed_Procedure<d.Parameters, null>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d from "exupery-resources/dist/interface/generated/pareto/schemas/copy/data_types/target";
|
|
3
|
-
export declare const $$:
|
|
3
|
+
export declare const $$: _et.Unguaranteed_Procedure<d.Parameters, d.Error, null>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d from "exupery-resources/dist/interface/generated/pareto/schemas/execute_any_procedure_executable/data_types/target";
|
|
3
3
|
/**
|
|
4
4
|
*
|
|
5
5
|
* The executable being executed is assumed to only cause side effects
|
|
6
6
|
* and not return any meaningful data, std::out is therefor ignored
|
|
7
7
|
*/
|
|
8
|
-
export declare const $$:
|
|
8
|
+
export declare const $$: _et.Unguaranteed_Procedure<d.Parameters, d.Error, null>;
|
package/dist/algorithms/procedures/unguaranteed/execute_any_smelly_procedure_executable.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d from "exupery-resources/dist/interface/generated/pareto/schemas/execute_any_smelly_procedure_executable/data_types/target";
|
|
3
3
|
/**
|
|
4
4
|
*
|
|
5
5
|
* The executable being executed is assumed to only cause side effects
|
|
6
6
|
* and not return any meaningful data, std::out is therefor ignored
|
|
7
7
|
*/
|
|
8
|
-
export declare const $$:
|
|
8
|
+
export declare const $$: _et.Unguaranteed_Procedure<d.Parameters, d.Error, null>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d from "exupery-resources/dist/interface/generated/pareto/schemas/make_directory/data_types/target";
|
|
3
|
-
export declare const $$:
|
|
3
|
+
export declare const $$: _et.Unguaranteed_Procedure<d.Parameters, d.Error, null>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d from "exupery-resources/dist/interface/generated/pareto/schemas/remove/data_types/target";
|
|
3
|
-
export declare const $$:
|
|
3
|
+
export declare const $$: _et.Unguaranteed_Procedure<d.Parameters, d.Error, null>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d from "exupery-resources/dist/interface/generated/pareto/schemas/write_file/data_types/target";
|
|
3
|
-
export declare const $$:
|
|
3
|
+
export declare const $$: _et.Unguaranteed_Procedure<d.Parameters, d.Error, null>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d from "exupery-resources/dist/interface/generated/pareto/schemas/execute_query_executable_and_catch/data_types/target";
|
|
3
3
|
/**
|
|
4
4
|
*
|
|
5
5
|
* The executable being executed is assumed to be side effect free
|
|
6
6
|
* There is no way to give guarantees about that though
|
|
7
7
|
*/
|
|
8
|
-
export declare const $$:
|
|
8
|
+
export declare const $$: _et.Guaranteed_Query<d.Parameters, d.Result, null>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d from "exupery-resources/dist/interface/generated/pareto/schemas/get_instream_data/data_types/target";
|
|
3
|
-
export declare const $$:
|
|
3
|
+
export declare const $$: _et.Guaranteed_Query<null, d.Result, null>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d from "exupery-resources/dist/interface/generated/pareto/schemas/execute_any_query_executable/data_types/target";
|
|
3
3
|
/**
|
|
4
4
|
*
|
|
5
5
|
* The executable being executed is assumed to be side effect free
|
|
6
6
|
* There is no way to give guarantees about that though
|
|
7
7
|
*/
|
|
8
|
-
export declare const $$:
|
|
8
|
+
export declare const $$: _et.Unguaranteed_Query<d.Parameters, d.Result, d.Error, null>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d from "exupery-resources/dist/interface/generated/pareto/schemas/read_directory/data_types/target";
|
|
3
|
-
export declare const $$:
|
|
3
|
+
export declare const $$: _et.Unguaranteed_Query<d.Parameters, d.Result, d.Error, null>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d from "exupery-resources/dist/interface/generated/pareto/schemas/read_file/data_types/target";
|
|
3
|
-
export declare const $$:
|
|
3
|
+
export declare const $$: _et.Unguaranteed_Query<d.Parameters, d.Result, d.Error, null>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d from "exupery-resources/dist/interface/generated/pareto/schemas/stat/data_types/target";
|
|
3
|
-
export declare const $$:
|
|
3
|
+
export declare const $$: _et.Unguaranteed_Query<d.Parameters, d.Result, d.Error, null>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as _et from 'exupery-core-types';
|
|
2
|
-
import * as _easync from 'exupery-core-async';
|
|
3
2
|
import * as d_copy from "exupery-resources/dist/interface/generated/pareto/schemas/copy/data_types/source";
|
|
4
3
|
import * as d_execute_any_procedure_executable from "exupery-resources/dist/interface/generated/pareto/schemas/execute_any_procedure_executable/data_types/target";
|
|
5
4
|
import * as d_execute_any_smelly_procedure_executable from "exupery-resources/dist/interface/generated/pareto/schemas/execute_any_smelly_procedure_executable/data_types/target";
|
|
@@ -11,7 +10,6 @@ import * as d_make_directory from "exupery-resources/dist/interface/generated/pa
|
|
|
11
10
|
import * as d_read_directory from "exupery-resources/dist/interface/generated/pareto/schemas/read_directory/data_types/target";
|
|
12
11
|
import * as d_read_file from "exupery-resources/dist/interface/generated/pareto/schemas/read_file/data_types/target";
|
|
13
12
|
import * as d_remove from "exupery-resources/dist/interface/generated/pareto/schemas/remove/data_types/source";
|
|
14
|
-
import * as d_stat from "exupery-resources/dist/interface/generated/pareto/schemas/stat/data_types/target";
|
|
15
13
|
import * as d_write_file from "exupery-resources/dist/interface/generated/pareto/schemas/write_file/data_types/source";
|
|
16
14
|
import * as d_write_to_stderr from "exupery-resources/dist/interface/generated/pareto/schemas/write_to_stderr/data_types/target";
|
|
17
15
|
import * as d_write_to_stdout from "exupery-resources/dist/interface/generated/pareto/schemas/write_to_stdout/data_types/target";
|
|
@@ -24,34 +22,33 @@ export type Error = {
|
|
|
24
22
|
type temp_instream_parameters = null;
|
|
25
23
|
export type Available_Standard_Resources = {
|
|
26
24
|
'procedures': {
|
|
27
|
-
'copy':
|
|
28
|
-
'execute any procedure executable':
|
|
29
|
-
'execute any smelly procedure executable':
|
|
30
|
-
'log error':
|
|
31
|
-
'log':
|
|
32
|
-
'make directory':
|
|
33
|
-
'remove':
|
|
34
|
-
'write file':
|
|
35
|
-
'write to stderr':
|
|
36
|
-
'write to stdout':
|
|
25
|
+
'copy': _et.Unguaranteed_Procedure<d_copy.Parameters, d_copy.Error, null>;
|
|
26
|
+
'execute any procedure executable': _et.Unguaranteed_Procedure<d_execute_any_procedure_executable.Parameters, d_execute_any_procedure_executable.Error, null>;
|
|
27
|
+
'execute any smelly procedure executable': _et.Unguaranteed_Procedure<d_execute_any_smelly_procedure_executable.Parameters, d_execute_any_smelly_procedure_executable.Error, null>;
|
|
28
|
+
'log error': _et.Guaranteed_Procedure<d_log_error.Parameters, null>;
|
|
29
|
+
'log': _et.Guaranteed_Procedure<d_log.Parameters, null>;
|
|
30
|
+
'make directory': _et.Unguaranteed_Procedure<d_make_directory.Parameters, d_make_directory.Error, null>;
|
|
31
|
+
'remove': _et.Unguaranteed_Procedure<d_remove.Parameters, d_remove.Error, null>;
|
|
32
|
+
'write file': _et.Unguaranteed_Procedure<d_write_file.Parameters, d_write_file.Error, null>;
|
|
33
|
+
'write to stderr': _et.Guaranteed_Procedure<d_write_to_stderr.Parameters, null>;
|
|
34
|
+
'write to stdout': _et.Guaranteed_Procedure<d_write_to_stdout.Parameters, null>;
|
|
37
35
|
};
|
|
38
36
|
'queries': {
|
|
39
|
-
'execute any query executable':
|
|
40
|
-
'get instream data':
|
|
41
|
-
'read directory':
|
|
42
|
-
'read file':
|
|
43
|
-
'stat': _easync.Unguaranteed_Query<d_stat.Parameters, d_stat.Result, d_stat.Error, null>;
|
|
37
|
+
'execute any query executable': _et.Unguaranteed_Query<d_execute_any_query_executable.Parameters, d_execute_any_query_executable.Result, d_execute_any_query_executable.Error, null>;
|
|
38
|
+
'get instream data': _et.Guaranteed_Query<temp_instream_parameters, d_get_instream_data.Result, null>;
|
|
39
|
+
'read directory': _et.Unguaranteed_Query<d_read_directory.Parameters, d_read_directory.Result, d_read_directory.Error, null>;
|
|
40
|
+
'read file': _et.Unguaranteed_Query<d_read_file.Parameters, d_read_file.Result, d_read_file.Error, null>;
|
|
44
41
|
};
|
|
45
42
|
};
|
|
46
43
|
/**
|
|
47
44
|
* Runs a program main function, passing command line arguments (excluding
|
|
48
45
|
* `node` and the script name)
|
|
49
46
|
*/
|
|
50
|
-
export declare const run_guaranteed_main_procedure: <Main_Resources>(initialize_resources: ($r: Available_Standard_Resources) => Main_Resources, main:
|
|
47
|
+
export declare const run_guaranteed_main_procedure: <Main_Resources>(initialize_resources: ($r: Available_Standard_Resources) => Main_Resources, main: _et.Guaranteed_Procedure<Parameters, Main_Resources>) => void;
|
|
51
48
|
/**
|
|
52
49
|
* Runs a program main function, passing command line arguments (excluding
|
|
53
50
|
* `node` and the script name), and setting the process exit code to the
|
|
54
51
|
* returned value when the async value completes.
|
|
55
52
|
*/
|
|
56
|
-
export declare const run_unguaranteed_main_procedure: <Main_Resources>(initialize_resources: ($r: Available_Standard_Resources) => Main_Resources, main:
|
|
53
|
+
export declare const run_unguaranteed_main_procedure: <Main_Resources>(initialize_resources: ($r: Available_Standard_Resources) => Main_Resources, main: _et.Unguaranteed_Procedure<Parameters, Error, Main_Resources>) => void;
|
|
57
54
|
export {};
|
package/dist/index.js
CHANGED
|
@@ -39,7 +39,6 @@ const execute_any_query_executable_1 = require("./algorithms/queries/unguarantee
|
|
|
39
39
|
const get_instream_data_1 = require("./algorithms/queries/guaranteed/get_instream_data");
|
|
40
40
|
const read_directory_1 = require("./algorithms/queries/unguaranteed/read_directory");
|
|
41
41
|
const read_file_1 = require("./algorithms/queries/unguaranteed/read_file");
|
|
42
|
-
const stat_1 = require("./algorithms/queries/unguaranteed/stat");
|
|
43
42
|
const create_available_resources = () => {
|
|
44
43
|
return {
|
|
45
44
|
'procedures': {
|
|
@@ -59,7 +58,7 @@ const create_available_resources = () => {
|
|
|
59
58
|
'get instream data': get_instream_data_1.$$,
|
|
60
59
|
'read directory': read_directory_1.$$,
|
|
61
60
|
'read file': read_file_1.$$,
|
|
62
|
-
'stat':
|
|
61
|
+
// 'stat': q_stat,
|
|
63
62
|
}
|
|
64
63
|
};
|
|
65
64
|
};
|
|
@@ -70,7 +69,8 @@ const create_available_resources = () => {
|
|
|
70
69
|
const run_guaranteed_main_procedure = (initialize_resources, main) => {
|
|
71
70
|
main({
|
|
72
71
|
'arguments': _ei.array_literal(process.argv.slice(2))
|
|
73
|
-
}, initialize_resources(create_available_resources())).__start(() => {
|
|
72
|
+
}, initialize_resources(create_available_resources())).__start(() => {
|
|
73
|
+
});
|
|
74
74
|
};
|
|
75
75
|
exports.run_guaranteed_main_procedure = run_guaranteed_main_procedure;
|
|
76
76
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "exupery-core-bin",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.11",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"description": "this is one of the core packages for Exupery. it provides functionality to create executables",
|
|
6
6
|
"author": "Corno",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"url": "git+https://github.com/corno/exupery-core.git"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"exupery-core-async": "^0.3.
|
|
31
|
-
"exupery-core-internals": "^0.3.
|
|
32
|
-
"exupery-resources": "^0.3.
|
|
30
|
+
"exupery-core-async": "^0.3.6",
|
|
31
|
+
"exupery-core-internals": "^0.3.1",
|
|
32
|
+
"exupery-resources": "^0.3.6"
|
|
33
33
|
}
|
|
34
34
|
}
|