pareto-host-nodejs 0.2.50 → 0.2.52

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.
Files changed (158) hide show
  1. package/dist/commands/chmod.d.ts +1 -1
  2. package/dist/commands/chmod.js +1 -1
  3. package/dist/commands/copy.d.ts +1 -1
  4. package/dist/commands/copy.js +1 -1
  5. package/dist/commands/execute/any_command_executable.d.ts +7 -0
  6. package/dist/commands/execute/any_command_executable.js +81 -0
  7. package/dist/commands/execute/any_smelly_command_executable.d.ts +7 -0
  8. package/dist/commands/execute/any_smelly_command_executable.js +89 -0
  9. package/dist/commands/fs/sandboxed/chmod.d.ts +5 -0
  10. package/dist/commands/fs/sandboxed/chmod.js +51 -0
  11. package/dist/commands/fs/sandboxed/copy.d.ts +6 -0
  12. package/dist/commands/fs/sandboxed/copy.js +54 -0
  13. package/dist/commands/fs/sandboxed/make_directory.d.ts +5 -0
  14. package/dist/commands/fs/sandboxed/make_directory.js +51 -0
  15. package/dist/commands/fs/sandboxed/remove.d.ts +1 -0
  16. package/dist/commands/fs/sandboxed/remove.js +21 -0
  17. package/dist/commands/fs/sandboxed/write_file.d.ts +5 -0
  18. package/dist/commands/fs/sandboxed/write_file.js +51 -0
  19. package/dist/commands/fs/unrestricted/chmod.d.ts +2 -0
  20. package/dist/commands/fs/unrestricted/chmod.js +107 -0
  21. package/dist/commands/fs/unrestricted/copy.d.ts +2 -0
  22. package/dist/commands/fs/unrestricted/copy.js +90 -0
  23. package/dist/commands/fs/unrestricted/make_directory.d.ts +2 -0
  24. package/dist/commands/fs/unrestricted/make_directory.js +97 -0
  25. package/dist/commands/fs/unrestricted/remove.d.ts +2 -0
  26. package/dist/commands/fs/unrestricted/remove.js +84 -0
  27. package/dist/commands/fs/unrestricted/write_file.d.ts +2 -0
  28. package/dist/commands/fs/unrestricted/write_file.js +85 -0
  29. package/dist/commands/log.d.ts +1 -1
  30. package/dist/commands/log.js +1 -1
  31. package/dist/commands/log_error.d.ts +1 -1
  32. package/dist/commands/log_error.js +1 -1
  33. package/dist/commands/make_directory.d.ts +1 -1
  34. package/dist/commands/make_directory.js +1 -1
  35. package/dist/commands/remove.d.ts +1 -1
  36. package/dist/commands/remove.js +1 -1
  37. package/dist/commands/stream/log.d.ts +2 -0
  38. package/dist/commands/stream/log.js +56 -0
  39. package/dist/commands/stream/log_error.d.ts +2 -0
  40. package/dist/commands/stream/log_error.js +56 -0
  41. package/dist/commands/stream/write_to_stderr.d.ts +2 -0
  42. package/dist/commands/stream/write_to_stderr.js +17 -0
  43. package/dist/commands/stream/write_to_stdout.d.ts +2 -0
  44. package/dist/commands/stream/write_to_stdout.js +17 -0
  45. package/dist/commands/write_file.d.ts +1 -1
  46. package/dist/commands/write_file.js +1 -1
  47. package/dist/commands/write_to_stderr.d.ts +1 -1
  48. package/dist/commands/write_to_stderr.js +1 -1
  49. package/dist/commands/write_to_stdout.d.ts +1 -1
  50. package/dist/commands/write_to_stdout.js +1 -1
  51. package/dist/execute_unrestricted/commands/command_executable.d.ts +7 -0
  52. package/dist/execute_unrestricted/commands/command_executable.js +81 -0
  53. package/dist/execute_unrestricted/commands/smelly_command_executable.d.ts +7 -0
  54. package/dist/execute_unrestricted/commands/smelly_command_executable.js +89 -0
  55. package/dist/execute_unrestricted/queries/query_executable.d.ts +7 -0
  56. package/dist/execute_unrestricted/queries/query_executable.js +94 -0
  57. package/dist/file_system sandboxed/commands/chmod.d.ts +5 -0
  58. package/dist/file_system sandboxed/commands/chmod.js +51 -0
  59. package/dist/file_system sandboxed/commands/copy.d.ts +6 -0
  60. package/dist/file_system sandboxed/commands/copy.js +54 -0
  61. package/dist/file_system sandboxed/commands/make_directory.d.ts +5 -0
  62. package/dist/file_system sandboxed/commands/make_directory.js +51 -0
  63. package/dist/file_system sandboxed/commands/remove.d.ts +1 -0
  64. package/dist/file_system sandboxed/commands/remove.js +21 -0
  65. package/dist/file_system sandboxed/commands/write_file.d.ts +5 -0
  66. package/dist/file_system sandboxed/commands/write_file.js +51 -0
  67. package/dist/file_system unrestricted/commands/chmod.d.ts +2 -0
  68. package/dist/file_system unrestricted/commands/chmod.js +107 -0
  69. package/dist/file_system unrestricted/commands/copy.d.ts +2 -0
  70. package/dist/file_system unrestricted/commands/copy.js +90 -0
  71. package/dist/file_system unrestricted/commands/make_directory.d.ts +2 -0
  72. package/dist/file_system unrestricted/commands/make_directory.js +97 -0
  73. package/dist/file_system unrestricted/commands/remove.d.ts +2 -0
  74. package/dist/file_system unrestricted/commands/remove.js +84 -0
  75. package/dist/file_system unrestricted/commands/write_file.d.ts +2 -0
  76. package/dist/file_system unrestricted/commands/write_file.js +85 -0
  77. package/dist/file_system unrestricted/queries/read_directory.d.ts +2 -0
  78. package/dist/file_system unrestricted/queries/read_directory.js +84 -0
  79. package/dist/file_system unrestricted/queries/read_file.d.ts +2 -0
  80. package/dist/file_system unrestricted/queries/read_file.js +79 -0
  81. package/dist/file_system unrestricted/queries/stat.d.ts +2 -0
  82. package/dist/file_system unrestricted/queries/stat.js +66 -0
  83. package/dist/file_system unrestricted/queries/stat_possible_node.d.ts +2 -0
  84. package/dist/file_system unrestricted/queries/stat_possible_node.js +70 -0
  85. package/dist/file_system_sandboxed/commands/chmod.d.ts +5 -0
  86. package/dist/file_system_sandboxed/commands/chmod.js +47 -0
  87. package/dist/file_system_sandboxed/commands/copy.d.ts +6 -0
  88. package/dist/file_system_sandboxed/commands/copy.js +50 -0
  89. package/dist/file_system_sandboxed/commands/make_directory.d.ts +5 -0
  90. package/dist/file_system_sandboxed/commands/make_directory.js +47 -0
  91. package/dist/file_system_sandboxed/commands/remove.d.ts +1 -0
  92. package/dist/file_system_sandboxed/commands/remove.js +21 -0
  93. package/dist/file_system_sandboxed/commands/write_file.d.ts +5 -0
  94. package/dist/file_system_sandboxed/commands/write_file.js +51 -0
  95. package/dist/file_system_sandboxed/queries/read_directory.d.ts +2 -0
  96. package/dist/file_system_sandboxed/queries/read_directory.js +84 -0
  97. package/dist/file_system_sandboxed/queries/read_file.d.ts +2 -0
  98. package/dist/file_system_sandboxed/queries/read_file.js +79 -0
  99. package/dist/file_system_sandboxed/queries/stat.d.ts +2 -0
  100. package/dist/file_system_sandboxed/queries/stat.js +66 -0
  101. package/dist/file_system_sandboxed/queries/stat_possible_node.d.ts +2 -0
  102. package/dist/file_system_sandboxed/queries/stat_possible_node.js +70 -0
  103. package/dist/file_system_unrestricted/commands/chmod.d.ts +2 -0
  104. package/dist/file_system_unrestricted/commands/chmod.js +107 -0
  105. package/dist/file_system_unrestricted/commands/copy.d.ts +2 -0
  106. package/dist/file_system_unrestricted/commands/copy.js +90 -0
  107. package/dist/file_system_unrestricted/commands/make_directory.d.ts +2 -0
  108. package/dist/file_system_unrestricted/commands/make_directory.js +97 -0
  109. package/dist/file_system_unrestricted/commands/remove.d.ts +2 -0
  110. package/dist/file_system_unrestricted/commands/remove.js +84 -0
  111. package/dist/file_system_unrestricted/commands/write_file.d.ts +2 -0
  112. package/dist/file_system_unrestricted/commands/write_file.js +85 -0
  113. package/dist/file_system_unrestricted/queries/read_directory.d.ts +2 -0
  114. package/dist/file_system_unrestricted/queries/read_directory.js +84 -0
  115. package/dist/file_system_unrestricted/queries/read_file.d.ts +2 -0
  116. package/dist/file_system_unrestricted/queries/read_file.js +79 -0
  117. package/dist/file_system_unrestricted/queries/stat.d.ts +2 -0
  118. package/dist/file_system_unrestricted/queries/stat.js +66 -0
  119. package/dist/file_system_unrestricted/queries/stat_possible_node.d.ts +2 -0
  120. package/dist/file_system_unrestricted/queries/stat_possible_node.js +70 -0
  121. package/dist/index.js +66 -37
  122. package/dist/queries/execute/any_query_executable.d.ts +7 -0
  123. package/dist/queries/execute/any_query_executable.js +94 -0
  124. package/dist/queries/execute_any_query_executable.js +2 -2
  125. package/dist/queries/fs/unrestricted/read_directory.d.ts +2 -0
  126. package/dist/queries/fs/unrestricted/read_directory.js +84 -0
  127. package/dist/queries/fs/unrestricted/read_file.d.ts +2 -0
  128. package/dist/queries/fs/unrestricted/read_file.js +79 -0
  129. package/dist/queries/fs/unrestricted/stat.d.ts +2 -0
  130. package/dist/queries/fs/unrestricted/stat.js +66 -0
  131. package/dist/queries/fs/unrestricted/stat_possible_node.d.ts +2 -0
  132. package/dist/queries/fs/unrestricted/stat_possible_node.js +70 -0
  133. package/dist/queries/get_instream_data.d.ts +1 -1
  134. package/dist/queries/get_instream_data.js +1 -1
  135. package/dist/queries/read_directory.d.ts +1 -1
  136. package/dist/queries/read_directory.js +3 -3
  137. package/dist/queries/read_file.d.ts +1 -1
  138. package/dist/queries/read_file.js +2 -2
  139. package/dist/queries/stat.d.ts +1 -1
  140. package/dist/queries/stat.js +2 -2
  141. package/dist/queries/stat_possible_node.d.ts +1 -1
  142. package/dist/queries/stat_possible_node.js +2 -2
  143. package/dist/queries/stream/get_instream_data.d.ts +2 -0
  144. package/dist/queries/stream/get_instream_data.js +23 -0
  145. package/dist/signatures.d.ts +45 -33
  146. package/dist/stream/commands/log.d.ts +2 -0
  147. package/dist/stream/commands/log.js +56 -0
  148. package/dist/stream/commands/log_error.d.ts +2 -0
  149. package/dist/stream/commands/log_error.js +56 -0
  150. package/dist/stream/commands/write_to_stderr.d.ts +2 -0
  151. package/dist/stream/commands/write_to_stderr.js +17 -0
  152. package/dist/stream/commands/write_to_stdout.d.ts +2 -0
  153. package/dist/stream/commands/write_to_stdout.js +17 -0
  154. package/dist/stream/queries/get_instream_data.d.ts +2 -0
  155. package/dist/stream/queries/get_instream_data.js +23 -0
  156. package/dist/temp_create_command.d.ts +2 -0
  157. package/dist/temp_create_command.js +12 -0
  158. package/package.json +1 -1
@@ -1,41 +1,53 @@
1
1
  import * as _pi from 'pareto-core/dist/interface';
2
- import * as d_chmod from "pareto-resources/dist/interface/generated/liana/schemas/chmod/data";
3
- import * as d_copy from "pareto-resources/dist/interface/generated/liana/schemas/copy/data";
2
+ import * as d_chmod from "pareto-resources/dist/interface/generated/liana/schemas/fs_unrestricted_chmod/data";
3
+ import * as d_copy from "pareto-resources/dist/interface/generated/liana/schemas/fs_unrestricted_copy/data";
4
4
  import * as d_execute_any_command_executable from "pareto-resources/dist/interface/generated/liana/schemas/execute_any_command_executable/data";
5
5
  import * as d_execute_any_smelly_command_executable from "pareto-resources/dist/interface/generated/liana/schemas/execute_any_smelly_command_executable/data";
6
6
  import * as d_execute_any_query_executable from "pareto-resources/dist/interface/generated/liana/schemas/execute_any_query_executable/data";
7
- import * as d_get_instream_data from "pareto-resources/dist/interface/generated/liana/schemas/get_instream_data/data";
8
- import * as d_log from "pareto-resources/dist/interface/generated/liana/schemas/log/data";
9
- import * as d_log_error from "pareto-resources/dist/interface/generated/liana/schemas/log_error/data";
10
- import * as d_make_directory from "pareto-resources/dist/interface/generated/liana/schemas/make_directory/data";
11
- import * as d_read_directory from "pareto-resources/dist/interface/generated/liana/schemas/read_directory/data";
12
- import * as d_read_file from "pareto-resources/dist/interface/generated/liana/schemas/read_file/data";
13
- import * as d_remove from "pareto-resources/dist/interface/generated/liana/schemas/remove/data";
14
- import * as d_stat_possible_node from "pareto-resources/dist/interface/generated/liana/schemas/stat_possible_node/data";
15
- import * as d_write_file from "pareto-resources/dist/interface/generated/liana/schemas/write_file/data";
16
- import * as d_write_to_stderr from "pareto-resources/dist/interface/generated/liana/schemas/write_to_stderr/data";
17
- import * as d_write_to_stdout from "pareto-resources/dist/interface/generated/liana/schemas/write_to_stdout/data";
7
+ import * as d_get_instream_data from "pareto-resources/dist/interface/generated/liana/schemas/stream_get_instream_data/data";
8
+ import * as d_log from "pareto-resources/dist/interface/generated/liana/schemas/stream_log/data";
9
+ import * as d_log_error from "pareto-resources/dist/interface/generated/liana/schemas/stream_log_error/data";
10
+ import * as d_make_directory from "pareto-resources/dist/interface/generated/liana/schemas/fs_unrestricted_make_directory/data";
11
+ import * as d_read_directory from "pareto-resources/dist/interface/generated/liana/schemas/fs_unrestricted_read_directory/data";
12
+ import * as d_read_file from "pareto-resources/dist/interface/generated/liana/schemas/fs_unrestricted_read_file/data";
13
+ import * as d_remove from "pareto-resources/dist/interface/generated/liana/schemas/fs_unrestricted_remove/data";
14
+ import * as d_stat_possible_node from "pareto-resources/dist/interface/generated/liana/schemas/fs_unrestricted_stat_possible_node/data";
15
+ import * as d_write_file from "pareto-resources/dist/interface/generated/liana/schemas/fs_unrestricted_write_file/data";
16
+ import * as d_write_to_stderr from "pareto-resources/dist/interface/generated/liana/schemas/stream_write_to_stderr/data";
17
+ import * as d_write_to_stdout from "pareto-resources/dist/interface/generated/liana/schemas/stream_write_to_stdout/data";
18
18
  import * as d_main from "pareto-resources/dist/interface/to_be_generated/temp_main";
19
+ type Temp_Command_Creator<Error, Parameters, Creator_Parameters> = (command: ($: Creator_Parameters) => _pi.Command<Error, Parameters>) => _pi.Command<Error, Parameters>;
20
+ type Temp_Query_Creator<Output, Error, Parameters, Creator_Parameters> = (query: ($: Creator_Parameters) => Temp_Query_Creator<Output, Error, Parameters, null>) => _pi.Query<Output, Error, Parameters>;
21
+ export type Resource_Collection<Commands, Queries> = {
22
+ 'commands': Commands;
23
+ 'queries': Queries;
24
+ };
19
25
  export type Available_Standard_Resources = {
20
- 'commands': {
21
- 'chmod': _pi.Command<d_chmod.Error, d_chmod.Parameters>;
22
- 'copy': _pi.Command<d_copy.Error, d_copy.Parameters>;
23
- 'execute any command executable': _pi.Command<d_execute_any_command_executable.Error, d_execute_any_command_executable.Parameters>;
24
- 'execute any smelly command executable': _pi.Command<d_execute_any_smelly_command_executable.Error, d_execute_any_smelly_command_executable.Parameters>;
25
- 'log error': _pi.Command<null, d_log_error.Parameters>;
26
- 'log': _pi.Command<null, d_log.Parameters>;
27
- 'make directory': _pi.Command<d_make_directory.Error, d_make_directory.Parameters>;
28
- 'remove': _pi.Command<d_remove.Error, d_remove.Parameters>;
29
- 'write file': _pi.Command<d_write_file.Error, d_write_file.Parameters>;
30
- 'write to stderr': _pi.Command<null, d_write_to_stderr.Parameters>;
31
- 'write to stdout': _pi.Command<null, d_write_to_stdout.Parameters>;
32
- };
33
- 'queries': {
34
- 'execute any query executable': _pi.Query<d_execute_any_query_executable.Result, d_execute_any_query_executable.Error, d_execute_any_query_executable.Parameters>;
35
- 'get instream data': _pi.Query<d_get_instream_data.Result, null, d_get_instream_data.Parameters>;
36
- 'read directory': _pi.Query<d_read_directory.Result, d_read_directory.Error, d_read_directory.Parameters>;
37
- 'read file': _pi.Query<d_read_file.Result, d_read_file.Error, d_read_file.Parameters>;
38
- 'stat possible node': _pi.Query<d_stat_possible_node.Result, d_stat_possible_node.Error, d_stat_possible_node.Parameters>;
39
- };
26
+ 'filesystem unrestricted': Resource_Collection<{
27
+ 'chmod': Temp_Command_Creator<d_chmod.Error, d_chmod.Parameters, null>;
28
+ 'copy': Temp_Command_Creator<d_copy.Error, d_copy.Parameters, null>;
29
+ 'make directory': Temp_Command_Creator<d_make_directory.Error, d_make_directory.Parameters, null>;
30
+ 'remove': Temp_Command_Creator<d_remove.Error, d_remove.Parameters, null>;
31
+ 'write file': Temp_Command_Creator<d_write_file.Error, d_write_file.Parameters, null>;
32
+ }, {
33
+ 'read directory': Temp_Query_Creator<d_read_directory.Result, d_read_directory.Error, d_read_directory.Parameters, null>;
34
+ 'read file': Temp_Query_Creator<d_read_file.Result, d_read_file.Error, d_read_file.Parameters, null>;
35
+ 'stat possible node': Temp_Query_Creator<d_stat_possible_node.Result, d_stat_possible_node.Error, d_stat_possible_node.Parameters, null>;
36
+ }>;
37
+ 'stream': Resource_Collection<{
38
+ 'log error': Temp_Command_Creator<null, d_log_error.Parameters, null>;
39
+ 'log': Temp_Command_Creator<null, d_log.Parameters, null>;
40
+ 'write to stderr': Temp_Command_Creator<null, d_write_to_stderr.Parameters, null>;
41
+ 'write to stdout': Temp_Command_Creator<null, d_write_to_stdout.Parameters, null>;
42
+ }, {
43
+ 'get instream data': Temp_Query_Creator<d_get_instream_data.Result, null, d_get_instream_data.Parameters, null>;
44
+ }>;
45
+ 'execute unrestricted': Resource_Collection<{
46
+ 'command executable': Temp_Command_Creator<d_execute_any_command_executable.Error, d_execute_any_command_executable.Parameters, null>;
47
+ 'smelly command executable': Temp_Command_Creator<d_execute_any_smelly_command_executable.Error, d_execute_any_smelly_command_executable.Parameters, null>;
48
+ }, {
49
+ 'query executable': Temp_Query_Creator<d_execute_any_query_executable.Result, d_execute_any_query_executable.Error, d_execute_any_query_executable.Parameters, null>;
50
+ }>;
40
51
  };
41
52
  export type main = (get_main: ($r: Available_Standard_Resources) => _pi.Command<d_main.Error, d_main.Parameters>) => void;
53
+ export {};
@@ -0,0 +1,2 @@
1
+ import * as resources from "pareto-resources/dist/interface/resources";
2
+ export declare const $$: resources.commands.stream_log;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ var __importDefault = (this && this.__importDefault) || function (mod) {
36
+ return (mod && mod.__esModule) ? mod : { "default": mod };
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.$$ = void 0;
40
+ const _p_text_from_list_1 = __importDefault(require("pareto-core/dist/_p_text_from_list"));
41
+ //dependencies
42
+ const t_fp_to_list_of_characters = __importStar(require("pareto-fountain-pen/dist/implementation/manual/transformers/prose/list_of_characters"));
43
+ const command_1 = __importDefault(require("pareto-core/dist/__internals/async/command"));
44
+ const command_promise_1 = __importDefault(require("pareto-core/dist/__internals/async/command_promise"));
45
+ exports.$$ = (0, command_1.default)(($p) => {
46
+ return (0, command_promise_1.default)({
47
+ 'execute': (on_success) => {
48
+ process.stdout.write((0, _p_text_from_list_1.default)(t_fp_to_list_of_characters.Paragraph($p.message, {
49
+ 'indentation': ' ',
50
+ 'newline': '\n',
51
+ }), ($) => $));
52
+ on_success();
53
+ }
54
+ });
55
+ });
56
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9nLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3N0cmVhbS9jb21tYW5kcy9sb2cudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQ0EsMkZBQWtFO0FBS2xFLGNBQWM7QUFDZCxpSkFBa0k7QUFFbEkseUZBQWtFO0FBQ2xFLHlHQUFrRjtBQUVyRSxRQUFBLEVBQUUsR0FBa0MsSUFBQSxpQkFBUyxFQUFDLENBQ3ZELEVBQUUsRUFDSixFQUFFO0lBQ0EsT0FBTyxJQUFBLHlCQUFpQixFQUFDO1FBQ3JCLFNBQVMsRUFBRSxDQUFDLFVBQVUsRUFBRSxFQUFFO1lBQ3RCLE9BQU8sQ0FBQyxNQUFNLENBQUMsS0FBSyxDQUNoQixJQUFBLDJCQUFpQixFQUNiLDBCQUEwQixDQUFDLFNBQVMsQ0FDaEMsRUFBRSxDQUFDLE9BQU8sRUFDVjtnQkFDSSxhQUFhLEVBQUUsTUFBTTtnQkFDckIsU0FBUyxFQUFFLElBQUk7YUFDbEIsQ0FDSixFQUNELENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxDQUFDLENBQ1gsQ0FDSixDQUFBO1lBQ0QsVUFBVSxFQUFFLENBQUE7UUFDaEIsQ0FBQztLQUNKLENBQUMsQ0FBQTtBQUNOLENBQUMsQ0FBQyxDQUFBIn0=
@@ -0,0 +1,2 @@
1
+ import * as resources from "pareto-resources/dist/interface/resources";
2
+ export declare const $$: resources.commands.stream_log_error;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ var __importDefault = (this && this.__importDefault) || function (mod) {
36
+ return (mod && mod.__esModule) ? mod : { "default": mod };
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.$$ = void 0;
40
+ const _p_text_from_list_1 = __importDefault(require("pareto-core/dist/_p_text_from_list"));
41
+ const command_1 = __importDefault(require("pareto-core/dist/__internals/async/command"));
42
+ const command_promise_1 = __importDefault(require("pareto-core/dist/__internals/async/command_promise"));
43
+ //dependencies
44
+ const t_fp_to_list_of_characters = __importStar(require("pareto-fountain-pen/dist/implementation/manual/transformers/prose/list_of_characters"));
45
+ exports.$$ = (0, command_1.default)(($p) => {
46
+ return (0, command_promise_1.default)({
47
+ 'execute': (on_success) => {
48
+ process.stderr.write((0, _p_text_from_list_1.default)(t_fp_to_list_of_characters.Paragraph($p.message, {
49
+ 'indentation': ' ',
50
+ 'newline': '\n',
51
+ }), ($) => $));
52
+ on_success();
53
+ }
54
+ });
55
+ });
56
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9nX2Vycm9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3N0cmVhbS9jb21tYW5kcy9sb2dfZXJyb3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQ0EsMkZBQWtFO0FBQ2xFLHlGQUFrRTtBQUNsRSx5R0FBa0Y7QUFLbEYsY0FBYztBQUNkLGlKQUFrSTtBQUVySCxRQUFBLEVBQUUsR0FBd0MsSUFBQSxpQkFBUyxFQUFDLENBQzdELEVBQUUsRUFDSixFQUFFO0lBQ0EsT0FBTyxJQUFBLHlCQUFpQixFQUFDO1FBQ3JCLFNBQVMsRUFBRSxDQUFDLFVBQVUsRUFBRSxFQUFFO1lBQ3RCLE9BQU8sQ0FBQyxNQUFNLENBQUMsS0FBSyxDQUNoQixJQUFBLDJCQUFpQixFQUNiLDBCQUEwQixDQUFDLFNBQVMsQ0FDaEMsRUFBRSxDQUFDLE9BQU8sRUFDVjtnQkFDSSxhQUFhLEVBQUUsTUFBTTtnQkFDckIsU0FBUyxFQUFFLElBQUk7YUFDbEIsQ0FDSixFQUNELENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxDQUFDLENBQ1gsQ0FDSixDQUFBO1lBQ0QsVUFBVSxFQUFFLENBQUE7UUFDaEIsQ0FBQztLQUNKLENBQUMsQ0FBQTtBQUNOLENBQUMsQ0FBQyxDQUFBIn0=
@@ -0,0 +1,2 @@
1
+ import * as resources from "pareto-resources/dist/interface/resources";
2
+ export declare const $$: resources.commands.stream_write_to_stderr;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.$$ = void 0;
7
+ const command_1 = __importDefault(require("pareto-core/dist/__internals/async/command"));
8
+ const command_promise_1 = __importDefault(require("pareto-core/dist/__internals/async/command_promise"));
9
+ exports.$$ = (0, command_1.default)(($p) => {
10
+ return (0, command_promise_1.default)({
11
+ 'execute': (on_success) => {
12
+ process.stderr.write($p);
13
+ on_success();
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JpdGVfdG9fc3RkZXJyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3N0cmVhbS9jb21tYW5kcy93cml0ZV90b19zdGRlcnIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBRUEseUZBQWtFO0FBQ2xFLHlHQUFrRjtBQUtyRSxRQUFBLEVBQUUsR0FBOEMsSUFBQSxpQkFBUyxFQUFFLENBQ3BFLEVBQUUsRUFDSixFQUFFO0lBQ0EsT0FBTyxJQUFBLHlCQUFpQixFQUFDO1FBQ3JCLFNBQVMsRUFBRSxDQUFDLFVBQVUsRUFBRSxFQUFFO1lBQ3RCLE9BQU8sQ0FBQyxNQUFNLENBQUMsS0FBSyxDQUFDLEVBQUUsQ0FBQyxDQUFBO1lBQ3hCLFVBQVUsRUFBRSxDQUFBO1FBQ2hCLENBQUM7S0FDSixDQUFDLENBQUE7QUFDTixDQUFDLENBQUMsQ0FBQSJ9
@@ -0,0 +1,2 @@
1
+ import * as resources from "pareto-resources/dist/interface/resources";
2
+ export declare const $$: resources.commands.stream_write_to_stdout;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.$$ = void 0;
7
+ const command_1 = __importDefault(require("pareto-core/dist/__internals/async/command"));
8
+ const command_promise_1 = __importDefault(require("pareto-core/dist/__internals/async/command_promise"));
9
+ exports.$$ = (0, command_1.default)(($p) => {
10
+ return (0, command_promise_1.default)({
11
+ 'execute': (on_success) => {
12
+ process.stdout.write($p);
13
+ on_success();
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JpdGVfdG9fc3Rkb3V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3N0cmVhbS9jb21tYW5kcy93cml0ZV90b19zdGRvdXQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBRUEseUZBQWtFO0FBQ2xFLHlHQUFrRjtBQUtyRSxRQUFBLEVBQUUsR0FBOEMsSUFBQSxpQkFBUyxFQUFDLENBQ25FLEVBQUUsRUFDSixFQUFFO0lBQ0EsT0FBTyxJQUFBLHlCQUFpQixFQUFDO1FBQ3JCLFNBQVMsRUFBRSxDQUFDLFVBQVUsRUFBRSxFQUFFO1lBQ3RCLE9BQU8sQ0FBQyxNQUFNLENBQUMsS0FBSyxDQUFDLEVBQUUsQ0FBQyxDQUFBO1lBQ3hCLFVBQVUsRUFBRSxDQUFBO1FBQ2hCLENBQUM7S0FDSixDQUFDLENBQUE7QUFDTixDQUFDLENBQUMsQ0FBQSJ9
@@ -0,0 +1,2 @@
1
+ import * as resources from "pareto-resources/dist/interface/resources";
2
+ export declare const $$: resources.queries.stream_get_instream_data;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.$$ = void 0;
7
+ const query_1 = __importDefault(require("pareto-core/dist/__internals/async/query"));
8
+ const __query_result_1 = __importDefault(require("pareto-core/dist/__internals/async/__query_result"));
9
+ exports.$$ = (0, query_1.default)(() => {
10
+ return (0, __query_result_1.default)((on_value) => {
11
+ const stdin = process.stdin;
12
+ let data = '';
13
+ stdin.setEncoding('utf8');
14
+ stdin.on('data', (chunk) => {
15
+ data += chunk;
16
+ });
17
+ stdin.on('end', () => {
18
+ on_value(data);
19
+ });
20
+ stdin.resume();
21
+ });
22
+ });
23
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0X2luc3RyZWFtX2RhdGEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvc3RyZWFtL3F1ZXJpZXMvZ2V0X2luc3RyZWFtX2RhdGEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBRUEscUZBQThEO0FBQzlELHVHQUE4RTtBQUtqRSxRQUFBLEVBQUUsR0FBK0MsSUFBQSxlQUFPLEVBQUMsR0FDcEUsRUFBRTtJQUNBLE9BQU8sSUFBQSx3QkFBYyxFQUFDLENBQUMsUUFBUSxFQUFFLEVBQUU7UUFFL0IsTUFBTSxLQUFLLEdBQUcsT0FBTyxDQUFDLEtBQUssQ0FBQztRQUM1QixJQUFJLElBQUksR0FBRyxFQUFFLENBQUM7UUFDZCxLQUFLLENBQUMsV0FBVyxDQUFDLE1BQU0sQ0FBQyxDQUFDO1FBRTFCLEtBQUssQ0FBQyxFQUFFLENBQUMsTUFBTSxFQUFFLENBQUMsS0FBYSxFQUFFLEVBQUU7WUFDL0IsSUFBSSxJQUFJLEtBQUssQ0FBQztRQUNsQixDQUFDLENBQUMsQ0FBQztRQUVILEtBQUssQ0FBQyxFQUFFLENBQUMsS0FBSyxFQUFFLEdBQUcsRUFBRTtZQUNqQixRQUFRLENBQUMsSUFBSSxDQUFDLENBQUM7UUFDbkIsQ0FBQyxDQUFDLENBQUM7UUFFSCxLQUFLLENBQUMsTUFBTSxFQUFFLENBQUM7SUFDbkIsQ0FBQyxDQUFDLENBQUE7QUFDTixDQUFDLENBQUMsQ0FBQSJ9
@@ -0,0 +1,2 @@
1
+ import * as _pi from 'pareto-core/dist/interface';
2
+ export declare const __create_command: <Error, Command_Parameters, Creator_Parameters>(command_creator: (parameters: Creator_Parameters) => ($p: Command_Parameters) => _pi.Command_Promise<Error>) => ($x: Creator_Parameters) => _pi.Command<Error, Command_Parameters>;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.__create_command = void 0;
7
+ const command_1 = __importDefault(require("pareto-core/dist/__internals/async/command"));
8
+ const __create_command = (command_creator) => {
9
+ return ($x) => (0, command_1.default)(command_creator($x));
10
+ };
11
+ exports.__create_command = __create_command;
12
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVtcF9jcmVhdGVfY29tbWFuZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy90ZW1wX2NyZWF0ZV9jb21tYW5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUNBLHlGQUFrRTtBQUczRCxNQUFNLGdCQUFnQixHQUFHLENBSzVCLGVBQTJHLEVBQ3pDLEVBQUU7SUFDcEUsT0FBTyxDQUFDLEVBQXNCLEVBQUUsRUFBRSxDQUFDLElBQUEsaUJBQVMsRUFDeEMsZUFBZSxDQUFDLEVBQUUsQ0FBQyxDQUN0QixDQUFBO0FBQ0wsQ0FBQyxDQUFBO0FBVlksUUFBQSxnQkFBZ0Isb0JBVTVCIn0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pareto-host-nodejs",
3
- "version": "0.2.50",
3
+ "version": "0.2.52",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Corno",
6
6
  "description": "the exupery core package for creating a main function in a nodejs host environment",