exupery-core-bin 0.3.21 → 0.3.23

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.
@@ -27,7 +27,7 @@ exports.$$ = void 0;
27
27
  const _easync = __importStar(require("exupery-core-async"));
28
28
  const _ei = __importStar(require("exupery-core-internals"));
29
29
  const fs_1 = require("fs");
30
- exports.$$ = _easync.__create_procedure_primed_with_resources(($p) => {
30
+ exports.$$ = _easync.__create_command(($p) => {
31
31
  const __possibly_escape_filename = (path, escape) => {
32
32
  if (escape) {
33
33
  return path.replace(/ /g, '_');
@@ -32,7 +32,7 @@ const node_child_process_1 = require("node:child_process");
32
32
  * The executable being executed is assumed to only cause side effects
33
33
  * and not return any meaningful data, std::out is therefor ignored
34
34
  */
35
- exports.$$ = _easync.__create_procedure_primed_with_resources(($p) => {
35
+ exports.$$ = _easync.__create_command(($p) => {
36
36
  const args = $p.args.__get_raw_copy();
37
37
  return _easync.__create_command_promise({
38
38
  'execute': (on_success, on_error) => {
@@ -33,7 +33,7 @@ const node_child_process_1 = require("node:child_process");
33
33
  * The executable being executed is assumed to only cause side effects
34
34
  * and not return any meaningful data, std::out is therefor ignored
35
35
  */
36
- exports.$$ = _easync.__create_procedure_primed_with_resources(($p) => {
36
+ exports.$$ = _easync.__create_command(($p) => {
37
37
  const args = $p.args.__get_raw_copy();
38
38
  return _easync.__create_command_promise({
39
39
  'execute': (on_success, on_error) => {
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.$$ = void 0;
27
27
  const _easync = __importStar(require("exupery-core-async"));
28
- exports.$$ = _easync.__create_procedure_primed_with_resources(($p) => {
28
+ exports.$$ = _easync.__create_command(($p) => {
29
29
  return _easync.__create_command_promise({
30
30
  'execute': (on_success) => {
31
31
  $p.lines.__for_each(($) => {
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.$$ = void 0;
27
27
  const _easync = __importStar(require("exupery-core-async"));
28
- exports.$$ = _easync.__create_procedure_primed_with_resources(($p) => {
28
+ exports.$$ = _easync.__create_command(($p) => {
29
29
  return _easync.__create_command_promise({
30
30
  'execute': (on_success) => {
31
31
  $p.lines.__for_each(($) => {
@@ -27,7 +27,7 @@ exports.$$ = void 0;
27
27
  const _easync = __importStar(require("exupery-core-async"));
28
28
  const _ei = __importStar(require("exupery-core-internals"));
29
29
  const fs_1 = require("fs");
30
- exports.$$ = _easync.__create_procedure_primed_with_resources(($p) => {
30
+ exports.$$ = _easync.__create_command(($p) => {
31
31
  const __possibly_escape_filename = (path, escape) => {
32
32
  if (escape) {
33
33
  return path.replace(/ /g, '_');
@@ -27,7 +27,7 @@ exports.$$ = void 0;
27
27
  const _easync = __importStar(require("exupery-core-async"));
28
28
  const _ei = __importStar(require("exupery-core-internals"));
29
29
  const fs_1 = require("fs");
30
- exports.$$ = _easync.__create_procedure_primed_with_resources(($p) => {
30
+ exports.$$ = _easync.__create_command(($p) => {
31
31
  const __possibly_escape_filename = (path, escape) => {
32
32
  if (escape) {
33
33
  return path.replace(/ /g, '_');
@@ -28,7 +28,7 @@ const _easync = __importStar(require("exupery-core-async"));
28
28
  const _ei = __importStar(require("exupery-core-internals"));
29
29
  const fs_1 = require("fs");
30
30
  const path_1 = require("path");
31
- exports.$$ = _easync.__create_procedure_primed_with_resources(($p) => {
31
+ exports.$$ = _easync.__create_command(($p) => {
32
32
  return _easync.__create_command_promise({
33
33
  'execute': (on_success, on_error) => {
34
34
  const __possibly_escape_filename = (path, escape) => {
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.$$ = void 0;
27
27
  const _easync = __importStar(require("exupery-core-async"));
28
- exports.$$ = _easync.__create_procedure_primed_with_resources(($p) => {
28
+ exports.$$ = _easync.__create_command(($p) => {
29
29
  return _easync.__create_command_promise({
30
30
  'execute': (on_success) => {
31
31
  process.stderr.write($p);
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.$$ = void 0;
27
27
  const _easync = __importStar(require("exupery-core-async"));
28
- exports.$$ = _easync.__create_procedure_primed_with_resources(($p) => {
28
+ exports.$$ = _easync.__create_command(($p) => {
29
29
  return _easync.__create_command_promise({
30
30
  'execute': (on_success) => {
31
31
  process.stdout.write($p);
@@ -5,4 +5,4 @@ import * as d from "exupery-resources/dist/interface/generated/pareto/schemas/ex
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 $$: _et.Query_Primed_With_Resources<d.Parameters, d.Result, d.Error>;
8
+ export declare const $$: _et.Query<d.Parameters, d.Result, d.Error>;
@@ -32,7 +32,7 @@ const node_child_process_1 = require("node:child_process");
32
32
  * The executable being executed is assumed to be side effect free
33
33
  * There is no way to give guarantees about that though
34
34
  */
35
- exports.$$ = _easync.__create_query_primed_with_resources(($p) => {
35
+ exports.$$ = _easync.__create_query(($p) => {
36
36
  const args = $p.args.__get_raw_copy();
37
37
  return _easync.__create_query_promise({
38
38
  'execute': (on_value, on_error) => {
@@ -8,7 +8,7 @@ exports.x = 42;
8
8
  // * The executable being executed is assumed to be side effect free
9
9
  // * There is no way to give guarantees about that though
10
10
  // */
11
- // export const $$: _et.Query_Primed_With_Resources<d.Parameters, d.Result, null> = _easync.__create_query_primed_with_resources((
11
+ // export const $$: _et.Query<d.Parameters, d.Result, null> = _easync.__create_query((
12
12
  // $p
13
13
  // ) => {
14
14
  // const args = $p.args.__get_raw_copy()
@@ -1,3 +1,3 @@
1
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 $$: _et.Query_Primed_With_Resources<null, d.Result, null>;
3
+ export declare const $$: _et.Query<null, d.Result, null>;
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.$$ = void 0;
27
27
  const _easync = __importStar(require("exupery-core-async"));
28
- exports.$$ = _easync.__create_query_primed_with_resources(() => {
28
+ exports.$$ = _easync.__create_query(() => {
29
29
  return _easync.__create_query_promise({
30
30
  'execute': (on_value) => {
31
31
  const stdin = process.stdin;
@@ -1,3 +1,3 @@
1
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 $$: _et.Query_Primed_With_Resources<d.Parameters, d.Result, d.Error>;
3
+ export declare const $$: _et.Query<d.Parameters, d.Result, d.Error>;
@@ -27,7 +27,7 @@ exports.$$ = void 0;
27
27
  const _easync = __importStar(require("exupery-core-async"));
28
28
  const _ei = __importStar(require("exupery-core-internals"));
29
29
  const fs_1 = require("fs");
30
- exports.$$ = _easync.__create_query_primed_with_resources(($p) => {
30
+ exports.$$ = _easync.__create_query(($p) => {
31
31
  const __possibly_escape_filename = (path, escape) => {
32
32
  if (escape) {
33
33
  return path.replace(/ /g, '_');
@@ -1,3 +1,3 @@
1
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 $$: _et.Query_Primed_With_Resources<d.Parameters, d.Result, d.Error>;
3
+ export declare const $$: _et.Query<d.Parameters, d.Result, d.Error>;
@@ -27,7 +27,7 @@ exports.$$ = void 0;
27
27
  const _easync = __importStar(require("exupery-core-async"));
28
28
  const _ei = __importStar(require("exupery-core-internals"));
29
29
  const fs_1 = require("fs");
30
- exports.$$ = _easync.__create_query_primed_with_resources(($p) => {
30
+ exports.$$ = _easync.__create_query(($p) => {
31
31
  const __possibly_escape_filename = (path, escape) => {
32
32
  if (escape) {
33
33
  return path.replace(/ /g, '_');
@@ -1,3 +1,3 @@
1
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 $$: _et.Query_Primed_With_Resources<d.Parameters, d.Result, d.Error>;
3
+ export declare const $$: _et.Query<d.Parameters, d.Result, d.Error>;
@@ -27,7 +27,7 @@ exports.$$ = void 0;
27
27
  const _easync = __importStar(require("exupery-core-async"));
28
28
  const _ei = __importStar(require("exupery-core-internals"));
29
29
  const fs_1 = require("fs");
30
- exports.$$ = _easync.__create_query_primed_with_resources(($p) => {
30
+ exports.$$ = _easync.__create_query(($p) => {
31
31
  const __possibly_escape_filename = (path, escape) => {
32
32
  if (escape) {
33
33
  return path.replace(/ /g, '_');
package/dist/index.d.ts CHANGED
@@ -16,7 +16,7 @@ import * as d_write_to_stdout from "exupery-resources/dist/interface/generated/p
16
16
  import * as d_main from "exupery-resources/dist/interface/temp_main";
17
17
  type temp_instream_parameters = null;
18
18
  export type Available_Standard_Resources = {
19
- 'procedures': {
19
+ 'commands': {
20
20
  'copy': _et.Command<d_copy.Parameters, d_copy.Error>;
21
21
  'execute any procedure executable': _et.Command<d_execute_any_procedure_executable.Parameters, d_execute_any_procedure_executable.Error>;
22
22
  'execute any smelly procedure executable': _et.Command<d_execute_any_smelly_procedure_executable.Parameters, d_execute_any_smelly_procedure_executable.Error>;
@@ -29,10 +29,10 @@ export type Available_Standard_Resources = {
29
29
  'write to stdout': _et.Command<d_write_to_stdout.Parameters, null>;
30
30
  };
31
31
  'queries': {
32
- 'execute any query executable': _et.Query_Primed_With_Resources<d_execute_any_query_executable.Parameters, d_execute_any_query_executable.Result, d_execute_any_query_executable.Error>;
33
- 'get instream data': _et.Query_Primed_With_Resources<temp_instream_parameters, d_get_instream_data.Result, null>;
34
- 'read directory': _et.Query_Primed_With_Resources<d_read_directory.Parameters, d_read_directory.Result, d_read_directory.Error>;
35
- 'read file': _et.Query_Primed_With_Resources<d_read_file.Parameters, d_read_file.Result, d_read_file.Error>;
32
+ 'execute any query executable': _et.Query<d_execute_any_query_executable.Parameters, d_execute_any_query_executable.Result, d_execute_any_query_executable.Error>;
33
+ 'get instream data': _et.Query<temp_instream_parameters, d_get_instream_data.Result, null>;
34
+ 'read directory': _et.Query<d_read_directory.Parameters, d_read_directory.Result, d_read_directory.Error>;
35
+ 'read file': _et.Query<d_read_file.Parameters, d_read_file.Result, d_read_file.Error>;
36
36
  };
37
37
  };
38
38
  /**
package/dist/index.js CHANGED
@@ -41,7 +41,7 @@ const read_directory_1 = require("./algorithms/queries/read_directory");
41
41
  const read_file_1 = require("./algorithms/queries/read_file");
42
42
  const create_available_resources = () => {
43
43
  return {
44
- 'procedures': {
44
+ 'commands': {
45
45
  'copy': copy_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.$$,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exupery-core-bin",
3
- "version": "0.3.21",
3
+ "version": "0.3.23",
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,7 +27,7 @@
27
27
  "url": "git+https://github.com/corno/exupery-core.git"
28
28
  },
29
29
  "dependencies": {
30
- "exupery-core-async": "^0.3.35",
30
+ "exupery-core-async": "^0.3.36",
31
31
  "exupery-core-internals": "^0.3.1",
32
32
  "exupery-resources": "^0.3.7"
33
33
  }