@uipath/solutionpackager-tool-core 1.199.0 → 1.201.0-preview.115
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.js
CHANGED
|
@@ -1102,6 +1102,12 @@ var NugetConstants = {
|
|
|
1102
1102
|
BindingsV2FileName: "bindings_v2.json",
|
|
1103
1103
|
BindingsFileId: "bindings.json"
|
|
1104
1104
|
};
|
|
1105
|
+
// src/models/pack-job-target.ts
|
|
1106
|
+
var PackJobTargetKind;
|
|
1107
|
+
((PackJobTargetKind2) => {
|
|
1108
|
+
PackJobTargetKind2["Serverless"] = "Serverless";
|
|
1109
|
+
PackJobTargetKind2["LocalRobot"] = "LocalRobot";
|
|
1110
|
+
})(PackJobTargetKind ||= {});
|
|
1105
1111
|
// src/models/project-type.ts
|
|
1106
1112
|
var ProjectTypes;
|
|
1107
1113
|
((ProjectTypes2) => {
|
|
@@ -1574,6 +1580,7 @@ export {
|
|
|
1574
1580
|
ProjectTypes,
|
|
1575
1581
|
ProjectTool,
|
|
1576
1582
|
Path,
|
|
1583
|
+
PackJobTargetKind,
|
|
1577
1584
|
NugetPackager,
|
|
1578
1585
|
NugetConstants,
|
|
1579
1586
|
LogMessage,
|
|
@@ -1582,4 +1589,4 @@ export {
|
|
|
1582
1589
|
BuildConfiguration
|
|
1583
1590
|
};
|
|
1584
1591
|
|
|
1585
|
-
//# debugId=
|
|
1592
|
+
//# debugId=CF6263A00E55B7A364756E2164756E21
|
package/dist/models/index.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ export { LogLevel, LogMessage } from "./log-message.js";
|
|
|
5
5
|
export { NugetConstants } from "./nuget-constants.js";
|
|
6
6
|
export type { NugetFeedModel } from "./nuget-feed-model.js";
|
|
7
7
|
export type { NugetDependency, NugetPackageInfo, } from "./nuget-package-info.js";
|
|
8
|
+
export type { PackJobTarget } from "./pack-job-target.js";
|
|
9
|
+
export { PackJobTargetKind } from "./pack-job-target.js";
|
|
8
10
|
export type { PackageInfo } from "./package-info.js";
|
|
9
11
|
export type { ProjectCleanupInfo } from "./project-cleanup-info.js";
|
|
10
12
|
export type { IProjectBuildOptions, IProjectCleanupOptions, IProjectOptions, IProjectPackOptions, IProjectRestoreOptions, IProjectValidateOptions, } from "./project-options.js";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Where the remote-agent job that compiles RPA projects should run.
|
|
3
|
+
*
|
|
4
|
+
* The agent itself handles both destinations identically — it dispatches on the
|
|
5
|
+
* `Command` in its input arguments, not on where it was started — so this only
|
|
6
|
+
* selects which Orchestrator endpoint creates the job.
|
|
7
|
+
*/
|
|
8
|
+
export declare enum PackJobTargetKind {
|
|
9
|
+
/**
|
|
10
|
+
* Orchestrator allocates a serverless runtime. Created through
|
|
11
|
+
* `/api/serverless/jobs`, which forces `RuntimeType = Serverless` and accepts
|
|
12
|
+
* no machine targeting.
|
|
13
|
+
*/
|
|
14
|
+
Serverless = "Serverless",
|
|
15
|
+
/**
|
|
16
|
+
* The job runs on the current user's own robot, the way StudioWeb debug does:
|
|
17
|
+
* created through `/api/RobotDebug/BeginSession` with a Development runtime and
|
|
18
|
+
* `runAsMe`, which restricts the candidate runtimes to that user's machines.
|
|
19
|
+
*/
|
|
20
|
+
LocalRobot = "LocalRobot"
|
|
21
|
+
}
|
|
22
|
+
export interface PackJobTarget {
|
|
23
|
+
kind: PackJobTargetKind;
|
|
24
|
+
/**
|
|
25
|
+
* Optional Orchestrator machine-session ids to pin the job to, used only with
|
|
26
|
+
* {@link PackJobTargetKind.LocalRobot}. Omit to let Orchestrator pick among the
|
|
27
|
+
* user's own Development runtimes — `runAsMe` already narrows it to this user,
|
|
28
|
+
* so pinning is an optimisation for multi-machine users rather than a
|
|
29
|
+
* requirement. StudioWeb debug resolves these by host name.
|
|
30
|
+
*/
|
|
31
|
+
machineSessionIds?: number[];
|
|
32
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ConnectionInfo } from "../models/connection-info.js";
|
|
2
|
+
import type { PackJobTarget } from "../models/pack-job-target.js";
|
|
2
3
|
import type { TargetFramework } from "../models/target-frameworks.js";
|
|
3
4
|
import type { UiPathProject } from "../models/uipath-project.js";
|
|
4
5
|
import type { IToolLogger } from "./tool-logger.js";
|
|
@@ -18,6 +19,11 @@ export interface ProjectOperationContext {
|
|
|
18
19
|
* URL to download the snapshot for remote packing
|
|
19
20
|
*/
|
|
20
21
|
downloadUrl?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Where the remote-agent job should be created. Defaults to serverless when
|
|
24
|
+
* unset, which is the behaviour every caller had before this was configurable.
|
|
25
|
+
*/
|
|
26
|
+
jobTarget?: PackJobTarget;
|
|
21
27
|
/**
|
|
22
28
|
* StudioWeb solution identifier for downloaded solution workspaces.
|
|
23
29
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/solutionpackager-tool-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.201.0-preview.115",
|
|
4
4
|
"description": "UiPath contracts for solution packager tools",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"registry": "https://registry.npmjs.org/"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@uipath/filesystem": "1.
|
|
27
|
+
"@uipath/filesystem": "1.201.0",
|
|
28
28
|
"fflate": "^0.8.2"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "f1086b73654d7728cb71f280588b3e0c77d535fc"
|
|
31
31
|
}
|