exupery-core-bin 0.3.6 → 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.
- package/dist/index.d.ts +15 -11
- package/dist/index.js +21 -17
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as _easync from 'exupery-core-async';
|
|
3
3
|
import * as d_copy from "exupery-resources/dist/interface/generated/pareto/schemas/copy/data_types/source";
|
|
4
|
-
import * as d_make_directory from "exupery-resources/dist/interface/generated/pareto/schemas/make_directory/data_types/source";
|
|
5
|
-
import * as d_write_file from "exupery-resources/dist/interface/generated/pareto/schemas/write_file/data_types/source";
|
|
6
4
|
import * as d_execute_any_procedure_executable from "exupery-resources/dist/interface/generated/pareto/schemas/execute_any_procedure_executable/data_types/target";
|
|
5
|
+
import * as d_execute_any_smelly_procedure_executable from "exupery-resources/dist/interface/generated/pareto/schemas/execute_any_smelly_procedure_executable/data_types/target";
|
|
6
|
+
import * as d_execute_any_query_executable from "exupery-resources/dist/interface/generated/pareto/schemas/execute_any_query_executable/data_types/target";
|
|
7
7
|
import * as d_log from "exupery-resources/dist/interface/generated/pareto/schemas/log/data_types/target";
|
|
8
8
|
import * as d_log_error from "exupery-resources/dist/interface/generated/pareto/schemas/log_error/data_types/target";
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
11
|
-
import * as d_execute_any_query_executable from "exupery-resources/dist/interface/generated/pareto/schemas/execute_any_query_executable/data_types/target";
|
|
9
|
+
import * as d_make_directory from "exupery-resources/dist/interface/generated/pareto/schemas/make_directory/data_types/source";
|
|
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";
|
|
12
|
+
import * as d_remove from "exupery-resources/dist/interface/generated/pareto/schemas/remove/data_types/source";
|
|
13
13
|
import * as d_stat from "exupery-resources/dist/interface/generated/pareto/schemas/stat/data_types/target";
|
|
14
|
-
import * as
|
|
14
|
+
import * as d_write_file from "exupery-resources/dist/interface/generated/pareto/schemas/write_file/data_types/source";
|
|
15
|
+
import * as d_write_to_stderr from "exupery-resources/dist/interface/generated/pareto/schemas/write_to_stderr/data_types/target";
|
|
16
|
+
import * as d_write_to_stdout from "exupery-resources/dist/interface/generated/pareto/schemas/write_to_stdout/data_types/target";
|
|
15
17
|
export type Parameters = {
|
|
16
18
|
'arguments': _et.Array<string>;
|
|
17
19
|
};
|
|
@@ -21,19 +23,21 @@ export type Error = {
|
|
|
21
23
|
export type Available_Standard_Resources = {
|
|
22
24
|
'procedures': {
|
|
23
25
|
'copy': _easync.Unguaranteed_Procedure<d_copy.Parameters, d_copy.Error, null>;
|
|
24
|
-
'make directory': _easync.Unguaranteed_Procedure<d_make_directory.Parameters, d_make_directory.Error, null>;
|
|
25
|
-
'write file': _easync.Unguaranteed_Procedure<d_write_file.Parameters, d_write_file.Error, null>;
|
|
26
26
|
'execute any procedure executable': _easync.Unguaranteed_Procedure<d_execute_any_procedure_executable.Parameters, d_execute_any_procedure_executable.Error, null>;
|
|
27
|
-
'
|
|
27
|
+
'execute any smelly procedure executable': _easync.Unguaranteed_Procedure<d_execute_any_smelly_procedure_executable.Parameters, d_execute_any_smelly_procedure_executable.Error, null>;
|
|
28
28
|
'log error': _easync.Guaranteed_Procedure<d_log_error.Parameters, null>;
|
|
29
|
-
'
|
|
29
|
+
'log': _easync.Guaranteed_Procedure<d_log.Parameters, null>;
|
|
30
|
+
'make directory': _easync.Unguaranteed_Procedure<d_make_directory.Parameters, d_make_directory.Error, null>;
|
|
31
|
+
'remove': _easync.Unguaranteed_Procedure<d_remove.Parameters, d_remove.Error, null>;
|
|
32
|
+
'write file': _easync.Unguaranteed_Procedure<d_write_file.Parameters, d_write_file.Error, null>;
|
|
30
33
|
'write to stderr': _easync.Guaranteed_Procedure<d_write_to_stderr.Parameters, null>;
|
|
34
|
+
'write to stdout': _easync.Guaranteed_Procedure<d_write_to_stdout.Parameters, null>;
|
|
31
35
|
};
|
|
32
36
|
'queries': {
|
|
33
37
|
'execute any query executable': _easync.Unguaranteed_Query<d_execute_any_query_executable.Parameters, d_execute_any_query_executable.Result, d_execute_any_query_executable.Error, null>;
|
|
38
|
+
'read directory': _easync.Unguaranteed_Query<d_read_directory.Parameters, d_read_directory.Result, d_read_directory.Error, null>;
|
|
34
39
|
'read file': _easync.Unguaranteed_Query<d_read_file.Parameters, d_read_file.Result, d_read_file.Error, null>;
|
|
35
40
|
'stat': _easync.Unguaranteed_Query<d_stat.Parameters, d_stat.Result, d_stat.Error, null>;
|
|
36
|
-
'read directory': _easync.Unguaranteed_Query<d_read_directory.Parameters, d_read_directory.Result, d_read_directory.Error, null>;
|
|
37
41
|
};
|
|
38
42
|
};
|
|
39
43
|
/**
|
package/dist/index.js
CHANGED
|
@@ -25,35 +25,39 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.run_unguaranteed_main_procedure = exports.run_guaranteed_main_procedure = void 0;
|
|
27
27
|
const _ei = __importStar(require("exupery-core-internals"));
|
|
28
|
-
const copy_1 = require("
|
|
29
|
-
const
|
|
30
|
-
const
|
|
31
|
-
const log_1 = require("
|
|
32
|
-
const log_error_1 = require("
|
|
33
|
-
const
|
|
34
|
-
const
|
|
35
|
-
const write_file_1 = require("
|
|
36
|
-
const
|
|
37
|
-
const
|
|
38
|
-
const
|
|
39
|
-
const
|
|
28
|
+
const copy_1 = require("./algorithms/procedures/unguaranteed/copy");
|
|
29
|
+
const execute_any_procedure_executable_1 = require("./algorithms/procedures/unguaranteed/execute_any_procedure_executable");
|
|
30
|
+
const execute_any_smelly_procedure_executable_1 = require("./algorithms/procedures/unguaranteed/execute_any_smelly_procedure_executable");
|
|
31
|
+
const log_1 = require("./algorithms/procedures/guaranteed/log");
|
|
32
|
+
const log_error_1 = require("./algorithms/procedures/guaranteed/log_error");
|
|
33
|
+
const make_directory_1 = require("./algorithms/procedures/unguaranteed/make_directory");
|
|
34
|
+
const remove_1 = require("./algorithms/procedures/unguaranteed/remove");
|
|
35
|
+
const write_file_1 = require("./algorithms/procedures/unguaranteed/write_file");
|
|
36
|
+
const write_to_stderr_1 = require("./algorithms/procedures/guaranteed/write_to_stderr");
|
|
37
|
+
const write_to_stdout_1 = require("./algorithms/procedures/guaranteed/write_to_stdout");
|
|
38
|
+
const execute_any_query_executable_1 = require("./algorithms/queries/unguaranteed/execute_any_query_executable");
|
|
39
|
+
const read_directory_1 = require("./algorithms/queries/unguaranteed/read_directory");
|
|
40
|
+
const read_file_1 = require("./algorithms/queries/unguaranteed/read_file");
|
|
41
|
+
const stat_1 = require("./algorithms/queries/unguaranteed/stat");
|
|
40
42
|
const create_available_resources = () => {
|
|
41
43
|
return {
|
|
42
44
|
'procedures': {
|
|
43
45
|
'copy': copy_1.$$,
|
|
44
|
-
'make directory': make_directory_1.$$,
|
|
45
|
-
'write file': write_file_1.$$,
|
|
46
46
|
'execute any procedure executable': execute_any_procedure_executable_1.$$,
|
|
47
|
-
'
|
|
47
|
+
'execute any smelly procedure executable': execute_any_smelly_procedure_executable_1.$$,
|
|
48
48
|
'log error': log_error_1.$$,
|
|
49
|
-
'
|
|
49
|
+
'log': log_1.$$,
|
|
50
|
+
'make directory': make_directory_1.$$,
|
|
51
|
+
'remove': remove_1.$$,
|
|
52
|
+
'write file': write_file_1.$$,
|
|
50
53
|
'write to stderr': write_to_stderr_1.$$,
|
|
54
|
+
'write to stdout': write_to_stdout_1.$$,
|
|
51
55
|
},
|
|
52
56
|
'queries': {
|
|
53
57
|
'execute any query executable': execute_any_query_executable_1.$$,
|
|
58
|
+
'read directory': read_directory_1.$$,
|
|
54
59
|
'read file': read_file_1.$$,
|
|
55
60
|
'stat': stat_1.$$,
|
|
56
|
-
'read directory': read_directory_1.$$,
|
|
57
61
|
}
|
|
58
62
|
};
|
|
59
63
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "exupery-core-bin",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.8",
|
|
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",
|
|
@@ -29,6 +29,6 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"exupery-core-async": "^0.3.5",
|
|
31
31
|
"exupery-core-internals": "^0.3.0",
|
|
32
|
-
"exupery-resources": "^0.3.
|
|
32
|
+
"exupery-resources": "^0.3.5"
|
|
33
33
|
}
|
|
34
34
|
}
|