pareto-resources 0.2.135 → 0.2.136
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/manual/commands/execute_sandboxed_command_executable.d.ts +2 -2
- package/dist/implementation/manual/commands/execute_sandboxed_command_executable.js +3 -3
- package/dist/implementation/manual/commands/execute_sandboxed_smelly_command_executable.d.ts +2 -2
- package/dist/implementation/manual/commands/execute_sandboxed_smelly_command_executable.js +3 -3
- package/dist/implementation/manual/queries/execute_sandboxed_query_executable.d.ts +2 -2
- package/dist/implementation/manual/queries/execute_sandboxed_query_executable.js +3 -3
- package/dist/interface/command_actions.d.ts +13 -0
- package/dist/interface/command_actions.js +6 -0
- package/dist/interface/commands.d.ts +12 -0
- package/dist/interface/commands.js +3 -0
- package/dist/interface/queries.d.ts +7 -0
- package/dist/interface/queries.js +3 -0
- package/dist/interface/query_actions.d.ts +9 -0
- package/dist/interface/query_actions.js +4 -0
- package/dist/interface/resources.d.ts +4 -5
- package/dist/interface/signatures/execute_sandboxed.d.ts +1 -1
- package/dist/interface/signatures/execute_sandboxed.js +2 -2
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import * as interface_ from "../../../interface/
|
|
2
|
-
export declare const $$: interface_.
|
|
1
|
+
import * as interface_ from "../../../interface/commands.js";
|
|
2
|
+
export declare const $$: interface_.command_executable;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as p_ from 'pareto-core/implementation/command';
|
|
2
|
-
import * as interface_ from "../../../interface/
|
|
3
|
-
export const $$ = p_.
|
|
2
|
+
import * as interface_ from "../../../interface/commands.js";
|
|
3
|
+
export const $$ = p_.command(($d, $s, $q, $c) => [
|
|
4
4
|
$c.unrestricted.execute({
|
|
5
5
|
'program': $s.program,
|
|
6
6
|
'args': $d.args,
|
|
7
7
|
'working directory': $d['working directory']
|
|
8
8
|
}, ($) => $)
|
|
9
9
|
]);
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhlY3V0ZV9zYW5kYm94ZWRfY29tbWFuZF9leGVjdXRhYmxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2ltcGxlbWVudGF0aW9uL21hbnVhbC9jb21tYW5kcy9leGVjdXRlX3NhbmRib3hlZF9jb21tYW5kX2V4ZWN1dGFibGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQTtBQUV4RCxPQUFPLEtBQUssVUFBVSxNQUFNLGdDQUFnQyxDQUFBO0FBRTVELE1BQU0sQ0FBQyxNQUFNLEVBQUUsR0FBa0MsRUFBRSxDQUFDLE9BQU8sQ0FDdkQsQ0FBQyxFQUFFLEVBQUUsRUFBRSxFQUFFLEVBQUUsRUFBRSxFQUFFLEVBQUUsRUFBRSxDQUFDO0lBQ2hCLEVBQUUsQ0FBQyxZQUFZLENBQUMsT0FBTyxDQUNuQjtRQUNJLFNBQVMsRUFBRSxFQUFFLENBQUMsT0FBTztRQUNyQixNQUFNLEVBQUUsRUFBRSxDQUFDLElBQUk7UUFDZixtQkFBbUIsRUFBRSxFQUFFLENBQUMsbUJBQW1CLENBQUM7S0FDL0MsRUFDRCxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQyxDQUNYO0NBQ0osQ0FDSixDQUFBIn0=
|
package/dist/implementation/manual/commands/execute_sandboxed_smelly_command_executable.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import * as interface_ from "../../../interface/
|
|
2
|
-
export declare const $$: interface_.
|
|
1
|
+
import * as interface_ from "../../../interface/commands.js";
|
|
2
|
+
export declare const $$: interface_.smelly_command_executable;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as p_ from 'pareto-core/implementation/command';
|
|
2
|
-
import * as interface_ from "../../../interface/
|
|
3
|
-
export const $$ = p_.
|
|
2
|
+
import * as interface_ from "../../../interface/commands.js";
|
|
3
|
+
export const $$ = p_.command(($d, $s, $q, $c) => [
|
|
4
4
|
$c.unrestricted.execute({
|
|
5
5
|
'program': $s.program,
|
|
6
6
|
'args': $d.args,
|
|
7
7
|
'working directory': $d['working directory']
|
|
8
8
|
}, ($) => $)
|
|
9
9
|
]);
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhlY3V0ZV9zYW5kYm94ZWRfc21lbGx5X2NvbW1hbmRfZXhlY3V0YWJsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbXBsZW1lbnRhdGlvbi9tYW51YWwvY29tbWFuZHMvZXhlY3V0ZV9zYW5kYm94ZWRfc21lbGx5X2NvbW1hbmRfZXhlY3V0YWJsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssRUFBRSxNQUFNLG9DQUFvQyxDQUFBO0FBRXhELE9BQU8sS0FBSyxVQUFVLE1BQU0sZ0NBQWdDLENBQUE7QUFFNUQsTUFBTSxDQUFDLE1BQU0sRUFBRSxHQUF5QyxFQUFFLENBQUMsT0FBTyxDQUM5RCxDQUFDLEVBQUUsRUFBRSxFQUFFLEVBQUUsRUFBRSxFQUFFLEVBQUUsRUFBRSxFQUFFLENBQUM7SUFDaEIsRUFBRSxDQUFDLFlBQVksQ0FBQyxPQUFPLENBQ25CO1FBQ0ksU0FBUyxFQUFFLEVBQUUsQ0FBQyxPQUFPO1FBQ3JCLE1BQU0sRUFBRSxFQUFFLENBQUMsSUFBSTtRQUNmLG1CQUFtQixFQUFFLEVBQUUsQ0FBQyxtQkFBbUIsQ0FBQztLQUMvQyxFQUNELENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxDQUFDLENBQ1g7Q0FDSixDQUNKLENBQUEifQ==
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import * as interface_ from "../../../interface/
|
|
2
|
-
export declare const $$: interface_.
|
|
1
|
+
import * as interface_ from "../../../interface/queries.js";
|
|
2
|
+
export declare const $$: interface_.query_executable;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as p_ from 'pareto-core/implementation/query';
|
|
2
|
-
import * as interface_ from "../../../interface/
|
|
2
|
+
import * as interface_ from "../../../interface/queries.js";
|
|
3
3
|
//dependencies
|
|
4
|
-
export const $$ = p_.
|
|
4
|
+
export const $$ = p_.query(($d, $s, $q) => $q.unrestricted({
|
|
5
5
|
'program': $s.program,
|
|
6
6
|
'args': $d.args,
|
|
7
7
|
'working directory': $d['working directory']
|
|
8
8
|
}, ($) => $));
|
|
9
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhlY3V0ZV9zYW5kYm94ZWRfcXVlcnlfZXhlY3V0YWJsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbXBsZW1lbnRhdGlvbi9tYW51YWwvcXVlcmllcy9leGVjdXRlX3NhbmRib3hlZF9xdWVyeV9leGVjdXRhYmxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxFQUFFLE1BQU0sa0NBQWtDLENBQUE7QUFFdEQsT0FBTyxLQUFLLFVBQVUsTUFBTSwrQkFBK0IsQ0FBQTtBQUUzRCxjQUFjO0FBR2QsTUFBTSxDQUFDLE1BQU0sRUFBRSxHQUFnQyxFQUFFLENBQUMsS0FBSyxDQUNuRCxDQUFDLEVBQUUsRUFBRSxFQUFFLEVBQUUsRUFBRSxFQUFFLEVBQUUsQ0FBQyxFQUFFLENBQUMsWUFBWSxDQUMzQjtJQUNJLFNBQVMsRUFBRSxFQUFFLENBQUMsT0FBTztJQUNyQixNQUFNLEVBQUUsRUFBRSxDQUFDLElBQUk7SUFDZixtQkFBbUIsRUFBRSxFQUFFLENBQUMsbUJBQW1CLENBQUM7Q0FDL0MsRUFDRCxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQyxDQUNYLENBQ0osQ0FBQSJ9
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as p_ from 'pareto-core/interface/command_action';
|
|
2
|
+
import * as d_execute_unrestricted_command_command from "./generated/liana/schemas/execute_unrestricted_command_executable/data.js";
|
|
3
|
+
import * as d_execute_unrestricted_smelly_command_executable from "./generated/liana/schemas/execute_unrestricted_smelly_command_executable/data.js";
|
|
4
|
+
import * as d_execute_sandboxed_command_command from "./generated/liana/schemas/execute_sandboxed_command_executable/data.js";
|
|
5
|
+
import * as d_execute_sandboxed_smelly_command_command from "./generated/liana/schemas/execute_sandboxed_smelly_command_executable/data.js";
|
|
6
|
+
export declare namespace execute_unrestricted {
|
|
7
|
+
type command_executable = p_.Command_Action<d_execute_unrestricted_command_command.Error, d_execute_unrestricted_command_command.Parameters>;
|
|
8
|
+
type smelly_command_executable = p_.Command_Action<d_execute_unrestricted_smelly_command_executable.Error, d_execute_unrestricted_smelly_command_executable.Parameters>;
|
|
9
|
+
}
|
|
10
|
+
export declare namespace execute_sandboxed {
|
|
11
|
+
type command_executable = p_.Command_Action<d_execute_sandboxed_command_command.Error, d_execute_sandboxed_command_command.Parameters>;
|
|
12
|
+
type smelly_command_executable = p_.Command_Action<d_execute_sandboxed_smelly_command_command.Error, d_execute_sandboxed_smelly_command_command.Parameters>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as p_ from 'pareto-core/interface/command_action';
|
|
2
|
+
import * as d_execute_unrestricted_command_command from "./generated/liana/schemas/execute_unrestricted_command_executable/data.js";
|
|
3
|
+
import * as d_execute_unrestricted_smelly_command_executable from "./generated/liana/schemas/execute_unrestricted_smelly_command_executable/data.js";
|
|
4
|
+
import * as d_execute_sandboxed_command_command from "./generated/liana/schemas/execute_sandboxed_command_executable/data.js";
|
|
5
|
+
import * as d_execute_sandboxed_smelly_command_command from "./generated/liana/schemas/execute_sandboxed_smelly_command_executable/data.js";
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWFuZF9hY3Rpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2ludGVyZmFjZS9jb21tYW5kX2FjdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLEVBQUUsTUFBTSxzQ0FBc0MsQ0FBQTtBQUUxRCxPQUFPLEtBQUssc0NBQXNDLE1BQU0sMkVBQTJFLENBQUE7QUFDbkksT0FBTyxLQUFLLGdEQUFnRCxNQUFNLGtGQUFrRixDQUFBO0FBQ3BKLE9BQU8sS0FBSyxtQ0FBbUMsTUFBTSx3RUFBd0UsQ0FBQTtBQUM3SCxPQUFPLEtBQUssMENBQTBDLE1BQU0sK0VBQStFLENBQUEifQ==
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as p_ from 'pareto-core/interface/command';
|
|
2
|
+
import * as command_actions from "./command_actions.js";
|
|
3
|
+
export type command_executable = p_.Command_Procedure<command_actions.execute_sandboxed.command_executable, {
|
|
4
|
+
'program': string;
|
|
5
|
+
}, null, {
|
|
6
|
+
'unrestricted': command_actions.execute_unrestricted.command_executable;
|
|
7
|
+
}>;
|
|
8
|
+
export type smelly_command_executable = p_.Command_Procedure<command_actions.execute_sandboxed.smelly_command_executable, {
|
|
9
|
+
'program': string;
|
|
10
|
+
}, null, {
|
|
11
|
+
'unrestricted': command_actions.execute_unrestricted.smelly_command_executable;
|
|
12
|
+
}>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import * as p_ from 'pareto-core/interface/command';
|
|
2
|
+
import * as command_actions from "./command_actions.js";
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWFuZHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW50ZXJmYWNlL2NvbW1hbmRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxFQUFFLE1BQU0sK0JBQStCLENBQUE7QUFFbkQsT0FBTyxLQUFLLGVBQWUsTUFBTSxzQkFBc0IsQ0FBQSJ9
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as p_ from 'pareto-core/interface/query';
|
|
2
|
+
import * as query_actions from "./query_actions.js";
|
|
3
|
+
export type query_executable = p_.Query_Function<query_actions.execute_sandboxed.query_executable, {
|
|
4
|
+
'program': string;
|
|
5
|
+
}, {
|
|
6
|
+
'unrestricted': query_actions.execute_unrestricted.query_executable;
|
|
7
|
+
}>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import * as p_ from 'pareto-core/interface/query';
|
|
2
|
+
import * as query_actions from "./query_actions.js";
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVlcmllcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbnRlcmZhY2UvcXVlcmllcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssRUFBRSxNQUFNLDZCQUE2QixDQUFBO0FBRWpELE9BQU8sS0FBSyxhQUFhLE1BQU0sb0JBQW9CLENBQUEifQ==
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as p_ from 'pareto-core/interface/query_action';
|
|
2
|
+
import * as d_execute_unrestricted_query_executable from "./generated/liana/schemas/execute_unrestricted_query_executable/data.js";
|
|
3
|
+
import * as d_execute_sandboxed_query_executable from "./generated/liana/schemas/execute_sandboxed_query_executable/data.js";
|
|
4
|
+
export declare namespace execute_unrestricted {
|
|
5
|
+
type query_executable = p_.Query_Action<d_execute_unrestricted_query_executable.Result, d_execute_unrestricted_query_executable.Error, d_execute_unrestricted_query_executable.Parameters>;
|
|
6
|
+
}
|
|
7
|
+
export declare namespace execute_sandboxed {
|
|
8
|
+
type query_executable = p_.Query_Action<d_execute_sandboxed_query_executable.Result, d_execute_sandboxed_query_executable.Error, d_execute_sandboxed_query_executable.Parameters>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as p_ from 'pareto-core/interface/query_action';
|
|
2
|
+
import * as d_execute_unrestricted_query_executable from "./generated/liana/schemas/execute_unrestricted_query_executable/data.js";
|
|
3
|
+
import * as d_execute_sandboxed_query_executable from "./generated/liana/schemas/execute_sandboxed_query_executable/data.js";
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVlcnlfYWN0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbnRlcmZhY2UvcXVlcnlfYWN0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssRUFBRSxNQUFNLG9DQUFvQyxDQUFBO0FBRXhELE9BQU8sS0FBSyx1Q0FBdUMsTUFBTSx5RUFBeUUsQ0FBQTtBQUNsSSxPQUFPLEtBQUssb0NBQW9DLE1BQU0sc0VBQXNFLENBQUEifQ==
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as p_ci from 'pareto-core/interface/command';
|
|
2
1
|
import * as p_qi from 'pareto-core/interface/query';
|
|
3
2
|
import * as d_execute_unrestricted_command_command from "./generated/liana/schemas/execute_unrestricted_command_executable/data.js";
|
|
4
3
|
import * as d_execute_unrestricted_query_executable from "./generated/liana/schemas/execute_unrestricted_query_executable/data.js";
|
|
@@ -8,8 +7,8 @@ import * as d_execute_sandboxed_query_executable from "./generated/liana/schemas
|
|
|
8
7
|
import * as d_execute_sandboxed_smelly_command_command from "./generated/liana/schemas/execute_sandboxed_smelly_command_executable/data.js";
|
|
9
8
|
export declare namespace execute_unrestricted {
|
|
10
9
|
namespace commands {
|
|
11
|
-
type command_executable =
|
|
12
|
-
type smelly_command_executable =
|
|
10
|
+
type command_executable = p_.Command_Action<d_execute_unrestricted_command_command.Error, d_execute_unrestricted_command_command.Parameters>;
|
|
11
|
+
type smelly_command_executable = p_.Command_Action<d_execute_unrestricted_smelly_command_executable.Error, d_execute_unrestricted_smelly_command_executable.Parameters>;
|
|
13
12
|
}
|
|
14
13
|
namespace queries {
|
|
15
14
|
type query_executable = p_qi.Query<d_execute_unrestricted_query_executable.Result, d_execute_unrestricted_query_executable.Error, d_execute_unrestricted_query_executable.Parameters>;
|
|
@@ -17,8 +16,8 @@ export declare namespace execute_unrestricted {
|
|
|
17
16
|
}
|
|
18
17
|
export declare namespace execute_sandboxed {
|
|
19
18
|
namespace commands {
|
|
20
|
-
type command_executable =
|
|
21
|
-
type smelly_command_executable =
|
|
19
|
+
type command_executable = p_.Command_Action<d_execute_sandboxed_command_command.Error, d_execute_sandboxed_command_command.Parameters>;
|
|
20
|
+
type smelly_command_executable = p_.Command_Action<d_execute_sandboxed_smelly_command_command.Error, d_execute_sandboxed_smelly_command_command.Parameters>;
|
|
22
21
|
}
|
|
23
22
|
namespace queries {
|
|
24
23
|
type query_executable = p_qi.Query<d_execute_sandboxed_query_executable.Result, d_execute_sandboxed_query_executable.Error, d_execute_sandboxed_query_executable.Parameters>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as p_ci from 'pareto-core/interface/command';
|
|
2
2
|
import * as p_qi from 'pareto-core/interface/query';
|
|
3
|
-
import * as resources from "../
|
|
3
|
+
import * as resources from "../query_actions.js";
|
|
4
4
|
export declare namespace commands {
|
|
5
5
|
type command_executable = p_ci.Command_Procedure<resources.execute_sandboxed.commands.command_executable, {
|
|
6
6
|
'program': string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as p_ci from 'pareto-core/interface/command';
|
|
2
2
|
import * as p_qi from 'pareto-core/interface/query';
|
|
3
|
-
import * as resources from "../
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
import * as resources from "../query_actions.js";
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhlY3V0ZV9zYW5kYm94ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW50ZXJmYWNlL3NpZ25hdHVyZXMvZXhlY3V0ZV9zYW5kYm94ZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLElBQUksTUFBTSwrQkFBK0IsQ0FBQTtBQUNyRCxPQUFPLEtBQUssSUFBSSxNQUFNLDZCQUE2QixDQUFBO0FBRW5ELE9BQU8sS0FBSyxTQUFTLE1BQU0scUJBQXFCLENBQUEifQ==
|