exupery-resources 0.3.40 → 0.3.42
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/implementation/commands/directory_content.js +11 -5
- package/dist/implementation/transformers/directory_content/fountain_pen.d.ts +1 -1
- package/dist/implementation/transformers/execute_procedure_executable/fountain_pen.d.ts +1 -1
- package/dist/implementation/transformers/execute_query_executable/fountain_pen.d.ts +1 -1
- package/dist/implementation/transformers/execute_smelly_procedure_executable/fountain_pen.d.ts +1 -1
- package/dist/implementation/transformers/make_directory/fountain_pen.d.ts +1 -1
- package/dist/implementation/transformers/read_directory/fountain_pen.d.ts +1 -1
- package/dist/implementation/transformers/read_file/fountain_pen.d.ts +1 -1
- package/dist/implementation/transformers/remove/fountain_pen.d.ts +1 -1
- package/dist/implementation/transformers/write_file/fountain_pen.d.ts +1 -1
- package/dist/interface/algorithms/commands/write_directory_content.d.ts +2 -4
- package/package.json +3 -3
- package/dist/interface/algorithms/procedures/copy.d.ts +0 -1
- package/dist/interface/algorithms/procedures/copy.js +0 -5
- package/dist/interface/algorithms/procedures/execute_procedure_executable.d.ts +0 -1
- package/dist/interface/algorithms/procedures/execute_procedure_executable.js +0 -5
- package/dist/interface/algorithms/procedures/log.d.ts +0 -1
- package/dist/interface/algorithms/procedures/log.js +0 -5
- package/dist/interface/algorithms/procedures/log_error.d.ts +0 -1
- package/dist/interface/algorithms/procedures/log_error.js +0 -5
- package/dist/interface/algorithms/procedures/make_directory.d.ts +0 -1
- package/dist/interface/algorithms/procedures/make_directory.js +0 -5
- package/dist/interface/algorithms/procedures/remove.d.ts +0 -1
- package/dist/interface/algorithms/procedures/remove.js +0 -5
- package/dist/interface/algorithms/procedures/write_file.d.ts +0 -1
- package/dist/interface/algorithms/procedures/write_file.js +0 -5
- package/dist/interface/algorithms/queries/directory_content.d.ts +0 -17
- package/dist/interface/algorithms/queries/directory_content.js +0 -3
|
@@ -28,19 +28,25 @@ const _easync = __importStar(require("exupery-core-async"));
|
|
|
28
28
|
const _ea = __importStar(require("exupery-core-alg"));
|
|
29
29
|
const t_path_to_path = __importStar(require("../transformers/path/path"));
|
|
30
30
|
exports.$$ = _easync.create_command_procedure(($p, $cr, $qr) => [
|
|
31
|
-
$cr['make directory'].execute(
|
|
31
|
+
// $cr['make directory'].execute(
|
|
32
|
+
// $p.path,
|
|
33
|
+
// ($): inf.Error => ['make directory', $]
|
|
34
|
+
// ),
|
|
32
35
|
_easync.p.dictionary.parallel($p.directory, ($, key) => [
|
|
33
36
|
_ea.cc($, ($) => {
|
|
34
37
|
switch ($[0]) {
|
|
35
38
|
case 'other': return _ea.ss($, ($) => _easync.p.sequence([]));
|
|
36
39
|
case 'file': return _ea.ss($, ($) => $cr['write file'].execute({
|
|
37
|
-
'path': t_path_to_path.
|
|
40
|
+
'path': t_path_to_path.create_node_path($p.path, key),
|
|
38
41
|
'data': $
|
|
39
42
|
}, ($) => ['file', $]));
|
|
40
|
-
case 'directory': return _ea.ss($, ($) =>
|
|
43
|
+
case 'directory': return _ea.ss($, ($) => (0, exports.$$)($cr, null).execute({
|
|
44
|
+
'directory': $,
|
|
45
|
+
'path': t_path_to_path.extend_context_path($p.path, { 'addition': _ea.list_literal([key]) }),
|
|
46
|
+
}, ($) => ['directory', $]));
|
|
41
47
|
default: return _ea.au($[0]);
|
|
42
48
|
}
|
|
43
49
|
})
|
|
44
|
-
], ($) => ['directory content
|
|
50
|
+
], ($) => ['directory content', $])
|
|
45
51
|
]);
|
|
46
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlyZWN0b3J5X2NvbnRlbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW1wbGVtZW50YXRpb24vY29tbWFuZHMvZGlyZWN0b3J5X2NvbnRlbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSw0REFBNkM7QUFDN0Msc0RBQXVDO0FBT3ZDLDBFQUEyRDtBQUU5QyxRQUFBLEVBQUUsR0FBa0IsT0FBTyxDQUFDLHdCQUF3QixDQUM3RCxDQUFDLEVBQUUsRUFBRSxHQUFHLEVBQUUsR0FBRyxFQUFFLEVBQUUsQ0FBQztJQUNkLGlDQUFpQztJQUNqQyxlQUFlO0lBQ2YsOENBQThDO0lBQzlDLEtBQUs7SUFDTCxPQUFPLENBQUMsQ0FBQyxDQUFDLFVBQVUsQ0FBQyxRQUFRLENBQ3pCLEVBQUUsQ0FBQyxTQUFTLEVBQ1osQ0FBQyxDQUFDLEVBQUUsR0FBRyxFQUFFLEVBQUUsQ0FBQztRQUNSLEdBQUcsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLEVBQUU7WUFDWixRQUFRLENBQUMsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDO2dCQUNYLEtBQUssT0FBTyxDQUFDLENBQUMsT0FBTyxHQUFHLENBQUMsRUFBRSxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxRQUFRLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQTtnQkFDN0QsS0FBSyxNQUFNLENBQUMsQ0FBQyxPQUFPLEdBQUcsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxHQUFHLENBQUMsWUFBWSxDQUFDLENBQUMsT0FBTyxDQUMxRDtvQkFDSSxNQUFNLEVBQUUsY0FBYyxDQUFDLGdCQUFnQixDQUFDLEVBQUUsQ0FBQyxJQUFJLEVBQUUsR0FBRyxDQUFDO29CQUNyRCxNQUFNLEVBQUUsQ0FBQztpQkFDWixFQUNELENBQUMsQ0FBQyxFQUFrQixFQUFFLENBQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxDQUFDLENBQ3JDLENBQUMsQ0FBQTtnQkFDRixLQUFLLFdBQVcsQ0FBQyxDQUFDLE9BQU8sR0FBRyxDQUFDLEVBQUUsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLElBQUEsVUFBRSxFQUFDLEdBQUcsRUFBRSxJQUFJLENBQUMsQ0FBQyxPQUFPLENBQzNEO29CQUNJLFdBQVcsRUFBRSxDQUFDO29CQUNkLE1BQU0sRUFBRSxjQUFjLENBQUMsbUJBQW1CLENBQUMsRUFBRSxDQUFDLElBQUksRUFBRSxFQUFFLFVBQVUsRUFBRSxHQUFHLENBQUMsWUFBWSxDQUFDLENBQUMsR0FBRyxDQUFDLENBQUMsRUFBRSxDQUFDO2lCQUMvRixFQUNELENBQUMsQ0FBQyxFQUFrQixFQUFFLENBQUMsQ0FBQyxXQUFXLEVBQUUsQ0FBQyxDQUFDLENBRTFDLENBQUMsQ0FBQTtnQkFFRixPQUFPLENBQUMsQ0FBQyxPQUFPLEdBQUcsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUE7WUFDaEMsQ0FBQztRQUNMLENBQUMsQ0FBQztLQUNMLEVBQ0QsQ0FBQyxDQUFDLEVBQWEsRUFBRSxDQUFDLENBQUMsbUJBQW1CLEVBQUUsQ0FBQyxDQUFDLENBQzdDO0NBQ0osQ0FDSixDQUFBIn0=
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d_in from "../../../interface/algorithms/queries/read_directory_content";
|
|
3
3
|
import * as d_out from "pareto-fountain-pen/dist/interface/generated/pareto/schemas/block/data_types/target";
|
|
4
|
-
export type Error = _et.
|
|
4
|
+
export type Error = _et.Transformer_New<d_in.Error, d_out.Block_Part>;
|
|
5
5
|
export declare const Node_Error: ($: d_in.Node_Error) => d_out.Block_Part;
|
|
6
6
|
export declare const Error: Error;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d_in from "../../../interface/generated/pareto/schemas/execute_procedure_executable/data_types/source";
|
|
3
3
|
import * as d_out from "pareto-fountain-pen/dist/interface/generated/pareto/schemas/block/data_types/target";
|
|
4
|
-
export type Error = _et.
|
|
4
|
+
export type Error = _et.Transformer_New<d_in.Error, d_out.Block_Part>;
|
|
5
5
|
export declare const Error: Error;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d_in from "../../../interface/generated/pareto/schemas/execute_query_executable/data_types/source";
|
|
3
3
|
import * as d_out from "pareto-fountain-pen/dist/interface/generated/pareto/schemas/block/data_types/target";
|
|
4
|
-
export type Error = _et.
|
|
4
|
+
export type Error = _et.Transformer_New<d_in.Error, d_out.Block_Part>;
|
|
5
5
|
export declare const Error: Error;
|
package/dist/implementation/transformers/execute_smelly_procedure_executable/fountain_pen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d_in from "../../../interface/generated/pareto/schemas/execute_smelly_procedure_executable/data_types/source";
|
|
3
3
|
import * as d_out from "pareto-fountain-pen/dist/interface/generated/pareto/schemas/block/data_types/target";
|
|
4
|
-
export type Error = _et.
|
|
4
|
+
export type Error = _et.Transformer_New<d_in.Error, d_out.Block_Part>;
|
|
5
5
|
export declare const Error: Error;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d_in from "../../../interface/generated/pareto/schemas/make_directory/data_types/source";
|
|
3
3
|
import * as d_out from "pareto-fountain-pen/dist/interface/generated/pareto/schemas/block/data_types/target";
|
|
4
|
-
export type Error = _et.
|
|
4
|
+
export type Error = _et.Transformer_New<d_in.Error, d_out.Block_Part>;
|
|
5
5
|
export declare const Error: Error;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d_in from "../../../interface/generated/pareto/schemas/read_directory/data_types/source";
|
|
3
3
|
import * as d_out from "pareto-fountain-pen/dist/interface/generated/pareto/schemas/block/data_types/target";
|
|
4
|
-
export type Error = _et.
|
|
4
|
+
export type Error = _et.Transformer_New<d_in.Error, d_out.Block_Part>;
|
|
5
5
|
export declare const Error: Error;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d_in from "../../../interface/generated/pareto/schemas/read_file/data_types/source";
|
|
3
3
|
import * as d_out from "pareto-fountain-pen/dist/interface/generated/pareto/schemas/block/data_types/target";
|
|
4
|
-
export type Error = _et.
|
|
4
|
+
export type Error = _et.Transformer_New<d_in.Error, d_out.Block_Part>;
|
|
5
5
|
export declare const Error: Error;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d_in from "../../../interface/generated/pareto/schemas/remove/data_types/source";
|
|
3
3
|
import * as d_out from "pareto-fountain-pen/dist/interface/generated/pareto/schemas/block/data_types/target";
|
|
4
|
-
export type Error = _et.
|
|
4
|
+
export type Error = _et.Transformer_New<d_in.Error, d_out.Block_Part>;
|
|
5
5
|
export declare const Error: Error;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d_in from "../../../interface/generated/pareto/schemas/write_file/data_types/source";
|
|
3
3
|
import * as d_out from "pareto-fountain-pen/dist/interface/generated/pareto/schemas/block/data_types/target";
|
|
4
|
-
export type Error = _et.
|
|
4
|
+
export type Error = _et.Transformer_New<d_in.Error, d_out.Block_Part>;
|
|
5
5
|
export declare const Error: Error;
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import * as _et from 'exupery-core-types';
|
|
2
|
-
import * as d_make_directory from "../../generated/pareto/schemas/make_directory/data_types/source";
|
|
3
2
|
import * as d_write_file from "../../generated/pareto/schemas/write_file/data_types/source";
|
|
4
3
|
import * as d_path from "../../generated/pareto/schemas/path/data_types/source";
|
|
5
4
|
import * as d_directory_contents from "../../to_be_generated/directory_content";
|
|
6
5
|
export type Parameters = {
|
|
7
|
-
'path': d_path.
|
|
6
|
+
'path': d_path.Context_Path;
|
|
8
7
|
'directory': d_directory_contents.Directory;
|
|
9
8
|
};
|
|
10
9
|
export type Node_Error = ['file', d_write_file.Error] | ['directory', Error];
|
|
11
|
-
export type Error = ['
|
|
10
|
+
export type Error = ['directory content', _et.Dictionary<Node_Error>];
|
|
12
11
|
export type Resources = {
|
|
13
|
-
'make directory': _et.Command<d_make_directory.Error, d_make_directory.Parameters>;
|
|
14
12
|
'write file': _et.Command<d_write_file.Error, d_write_file.Parameters>;
|
|
15
13
|
};
|
|
16
14
|
export type Signature = _et.Command_Procedure<Error, Parameters, Resources, null>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "exupery-resources",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.42",
|
|
4
4
|
"description": "A library providing resources forthe Exupery programming Language",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
],
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"exupery-core-alg": "^0.5.15",
|
|
12
|
-
"exupery-core-async": "^0.3.
|
|
12
|
+
"exupery-core-async": "^0.3.76",
|
|
13
13
|
"exupery-core-dev": "^0.3.3",
|
|
14
|
-
"pareto-fountain-pen": "^0.3.
|
|
14
|
+
"pareto-fountain-pen": "^0.3.14"
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type Signature = () => void;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Generated interface for procedures/unguaranteed/copy.ts
|
|
3
|
-
// This file defines the type signature for the implementation
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29weS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvYWxnb3JpdGhtcy9wcm9jZWR1cmVzL2NvcHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLDBEQUEwRDtBQUMxRCw4REFBOEQifQ==
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type Signature = () => void;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Generated interface for procedures/unguaranteed/execute_procedure_executable.ts
|
|
3
|
-
// This file defines the type signature for the implementation
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhlY3V0ZV9wcm9jZWR1cmVfZXhlY3V0YWJsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvYWxnb3JpdGhtcy9wcm9jZWR1cmVzL2V4ZWN1dGVfcHJvY2VkdXJlX2V4ZWN1dGFibGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLGtGQUFrRjtBQUNsRiw4REFBOEQifQ==
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type Signature = () => void;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Generated interface for procedures/guaranteed/log.ts
|
|
3
|
-
// This file defines the type signature for the implementation
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9nLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2ludGVyZmFjZS9hbGdvcml0aG1zL3Byb2NlZHVyZXMvbG9nLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSx1REFBdUQ7QUFDdkQsOERBQThEIn0=
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type Signature = () => void;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Generated interface for procedures/guaranteed/log_error.ts
|
|
3
|
-
// This file defines the type signature for the implementation
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9nX2Vycm9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2ludGVyZmFjZS9hbGdvcml0aG1zL3Byb2NlZHVyZXMvbG9nX2Vycm9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSw2REFBNkQ7QUFDN0QsOERBQThEIn0=
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type Signature = () => void;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Generated interface for procedures/unguaranteed/make_directory.ts
|
|
3
|
-
// This file defines the type signature for the implementation
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFrZV9kaXJlY3RvcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW50ZXJmYWNlL2FsZ29yaXRobXMvcHJvY2VkdXJlcy9tYWtlX2RpcmVjdG9yeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0VBQW9FO0FBQ3BFLDhEQUE4RCJ9
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type Signature = () => void;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Generated interface for procedures/unguaranteed/remove.ts
|
|
3
|
-
// This file defines the type signature for the implementation
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVtb3ZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2ludGVyZmFjZS9hbGdvcml0aG1zL3Byb2NlZHVyZXMvcmVtb3ZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSw0REFBNEQ7QUFDNUQsOERBQThEIn0=
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type Signature = () => void;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Generated interface for procedures/unguaranteed/write_file.ts
|
|
3
|
-
// This file defines the type signature for the implementation
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JpdGVfZmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvYWxnb3JpdGhtcy9wcm9jZWR1cmVzL3dyaXRlX2ZpbGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLGdFQUFnRTtBQUNoRSw4REFBOEQifQ==
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as _et from 'exupery-core-types';
|
|
2
|
-
import * as d_read_directory from "../../generated/pareto/schemas/read_directory/data_types/source";
|
|
3
|
-
import * as d_read_file from "../../generated/pareto/schemas/read_file/data_types/source";
|
|
4
|
-
import * as d_path from "../../generated/pareto/schemas/path/data_types/source";
|
|
5
|
-
export type Node = ['other', null] | ['file', string] | ['directory', Directory];
|
|
6
|
-
export type Directory = _et.Dictionary<Node>;
|
|
7
|
-
export type Parameters = {
|
|
8
|
-
'path': d_path.Node_Path;
|
|
9
|
-
};
|
|
10
|
-
export type Result = Directory;
|
|
11
|
-
export type Node_Error = ['file', d_read_file.Error] | ['directory', Error];
|
|
12
|
-
export type Error = ['read directory', d_read_directory.Error] | ['directory content processing', _et.Dictionary<Node_Error>];
|
|
13
|
-
export type Resources = {
|
|
14
|
-
'read directory': _et.Query<d_read_directory.Result, d_read_directory.Error, d_read_directory.Parameters>;
|
|
15
|
-
'read file': _et.Query<d_read_file.Result, d_read_file.Error, d_read_file.Parameters>;
|
|
16
|
-
};
|
|
17
|
-
export type Signature = _et.Query_Function<Result, Error, Parameters, Resources>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlyZWN0b3J5X2NvbnRlbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW50ZXJmYWNlL2FsZ29yaXRobXMvcXVlcmllcy9kaXJlY3RvcnlfY29udGVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|