@uipath/flow-tool 1.200.0-preview.109 → 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/authoring-vbbqwp0v.js +268 -0
- package/dist/{browser-strategy-d4zm14fb.js → browser-strategy-rkcvc6tn.js} +1 -1
- package/dist/{conversion-COFE4RVO-6gembcyk.js → conversion-MQ7TJMHW-5zbdb6y2.js} +13 -13
- package/dist/{en-ZBJX4WAU-L7DPQ3FB-4saj6t9b.js → en-JGJNQYMG-BSN3EE6C-mhg57v8h.js} +61 -3
- package/dist/{en-ZBJX4WAU-5yq8e307.js → en-JGJNQYMG-xq29xvhk.js} +60 -2
- package/dist/en-UNT7BE26-rhh65jry.js +24 -0
- package/dist/index-9f8q2ege.js +2058 -0
- package/dist/index-hsadteg4.js +634 -0
- package/dist/{index-nfn4t0c4.js → index-hzp6y5m7.js} +18 -13
- package/dist/index.js +19 -16
- package/dist/init.js +15 -12
- package/dist/js-yaml-cggj6w7q.js +3145 -0
- package/dist/{node-aydcnk2h.js → node-6xp9wf15.js} +7595 -7310
- package/dist/node-strategy-fwj45942.js +350 -0
- package/dist/packager-tool-1cb0d5e0.js +237 -0
- package/dist/{packager-tool-vd9zwk2j.js → packager-tool-2vme4a8e.js} +7522 -16200
- package/dist/{packager-tool-0j0gntbg.js → packager-tool-3gmj73c5.js} +1 -1
- package/dist/{packager-tool-1ps2qeqg.js → packager-tool-5arsyj36.js} +3 -2
- package/dist/{packager-tool-jh2jacex.js → packager-tool-9ae2gt84.js} +8 -6
- package/dist/{packager-tool-rdkhh2x5.js → packager-tool-9qhez6bh.js} +37 -25
- package/dist/packager-tool-gbgfwx8f.js +2 -0
- package/dist/{packager-tool-3ahtr7dn.js → packager-tool-h3gpqv5a.js} +3621 -1918
- package/dist/{packager-tool-g46253qc.js → packager-tool-hcdc89cf.js} +550 -3932
- package/dist/{packager-tool-hkrpcn6d.js → packager-tool-htc0z863.js} +61 -3
- package/dist/{packager-tool-qz3cg5tg.js → packager-tool-kvgt1s4z.js} +61 -3
- package/dist/{packager-tool-774q0xhb.js → packager-tool-mtrz8981.js} +115 -65
- package/dist/packager-tool-p1ts5b0h.js +5297 -0
- package/dist/{packager-tool-9bnpe8n1.js → packager-tool-q9zrqwxw.js} +23579 -18538
- package/dist/packager-tool-qa9gftnj.js +31 -0
- package/dist/{packager-tool-kgkv7f24.js → packager-tool-vz3b1ea9.js} +253 -157
- package/dist/packager-tool-y3dezh8k.js +21 -0
- package/dist/packager-tool.js +10 -9
- package/dist/{serialization-3RH6P643-zxj2yyfh.js → serialization-JNQMGOXW-mj06e5pv.js} +9 -7
- package/dist/services/flow-migration-check.d.ts +15 -11
- package/dist/services/flow-validate-service.d.ts +11 -5
- package/dist/tool.js +18 -15
- package/dist/utils/flow-io.d.ts +1 -1
- package/dist/validation.js +15 -12
- package/package.json +2 -2
- package/dist/de-LVBY3VVG-gyt1s22e.js +0 -134
- package/dist/en-4UFXRW7N-p8f4r47q.js +0 -98
- package/dist/en-IMUXHKKC-3zcks7ks.js +0 -16
- package/dist/es-CI4AE5B5-yfv6qwgr.js +0 -134
- package/dist/es-MX-OLZNAYY5-6f3m32xs.js +0 -134
- package/dist/fr-CCN6ZO5E-srd8q9ne.js +0 -134
- package/dist/ja-O2NEV5D6-pvhh5bag.js +0 -134
- package/dist/ko-7XWV2SEQ-9dz74aam.js +0 -134
- package/dist/node-strategy-7bvg07kx.js +0 -63
- package/dist/packager-tool-060a9knt.js +0 -11
- package/dist/packager-tool-1q1bg65m.js +0 -5046
- package/dist/packager-tool-3yjtbs1y.js +0 -95
- package/dist/packager-tool-4f38v0ry.js +0 -1161
- package/dist/packager-tool-ek2dnj9h.js +0 -13
- package/dist/pt-BR-Z4J3LEEO-t28qfgyc.js +0 -134
- package/dist/pt-CRSN3TCU-s7hxhsxv.js +0 -134
- package/dist/ro-WMQEVD7D-h0kamt4a.js +0 -134
- package/dist/ru-WBLQ5B2U-n1e7fn8t.js +0 -10
- package/dist/tr-UCMB7W3T-xv61hggk.js +0 -134
- package/dist/zh-CN-2QOHEFC5-meycvgab.js +0 -134
- package/dist/zh-TW-Q5QSSTS6-65s6kte4.js +0 -134
|
@@ -3,8 +3,9 @@ var UIPATH_HOME_DIR = ".uipath";
|
|
|
3
3
|
var AUTH_FILENAME = ".auth";
|
|
4
4
|
var DEFAULT_BASE_URL = "https://cloud.uipath.com";
|
|
5
5
|
var DEFAULT_AUTH_TIMEOUT_MS = 5 * 60 * 1000;
|
|
6
|
+
var AUTH_TIMEOUT_ERROR_CODE = "EAUTHTIMEOUT";
|
|
6
7
|
var AUTH_CANCELLED_ERROR_CODE = "EAUTHCANCELLED";
|
|
7
8
|
|
|
8
|
-
export { UIPATH_HOME_DIR, AUTH_FILENAME, DEFAULT_BASE_URL, DEFAULT_AUTH_TIMEOUT_MS, AUTH_CANCELLED_ERROR_CODE };
|
|
9
|
+
export { UIPATH_HOME_DIR, AUTH_FILENAME, DEFAULT_BASE_URL, DEFAULT_AUTH_TIMEOUT_MS, AUTH_TIMEOUT_ERROR_CODE, AUTH_CANCELLED_ERROR_CODE };
|
|
9
10
|
|
|
10
|
-
//# debugId=
|
|
11
|
+
//# debugId=E98AE5255EE78AC164756E2164756E21
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VALID_PROJECT_NAME_REGEX,
|
|
3
|
-
catchError,
|
|
4
|
-
ensureProjectArtifacts,
|
|
5
3
|
nodeModuleRegistry,
|
|
6
4
|
prepareProjectLocation,
|
|
7
5
|
tryRegisterProjectInParentSolution,
|
|
8
6
|
writeFlowWorkflow
|
|
9
|
-
} from "./packager-tool-
|
|
7
|
+
} from "./packager-tool-2vme4a8e.js";
|
|
8
|
+
import {
|
|
9
|
+
catchError,
|
|
10
|
+
ensureProjectArtifacts
|
|
11
|
+
} from "./packager-tool-p1ts5b0h.js";
|
|
10
12
|
import {
|
|
11
13
|
getFileSystem
|
|
12
|
-
} from "./packager-tool-
|
|
14
|
+
} from "./packager-tool-1cb0d5e0.js";
|
|
13
15
|
import {
|
|
14
16
|
createWorkflow
|
|
15
|
-
} from "./packager-tool-
|
|
17
|
+
} from "./packager-tool-hcdc89cf.js";
|
|
16
18
|
// src/services/flow-init-service.ts
|
|
17
19
|
var safeMkdir = async (fs, dir) => {
|
|
18
20
|
const [err] = await catchError(fs.mkdir(dir));
|
|
@@ -92,4 +94,4 @@ async function maybeGenerateProjectArtifacts(registration, projectName) {
|
|
|
92
94
|
|
|
93
95
|
export { flowInitAsync };
|
|
94
96
|
|
|
95
|
-
//# debugId=
|
|
97
|
+
//# debugId=8C4F37491906C06464756E2164756E21
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ManifestClient,
|
|
3
|
-
OutputFormatter,
|
|
4
|
-
RESULTS,
|
|
5
3
|
buildErrorHandle,
|
|
6
|
-
catchError,
|
|
7
4
|
findNearestParentUipxFile,
|
|
8
5
|
getConnectorInfo,
|
|
9
6
|
getLoginStatusAsync,
|
|
@@ -11,46 +8,55 @@ import {
|
|
|
11
8
|
isConnectorNode,
|
|
12
9
|
isKnownSdkNodeType,
|
|
13
10
|
loadRegistry,
|
|
14
|
-
logger,
|
|
15
11
|
readFlowWorkflow,
|
|
16
12
|
readSolutionManifest,
|
|
17
13
|
validateIntSvcNode,
|
|
18
14
|
writeFlowWorkflow
|
|
19
|
-
} from "./packager-tool-
|
|
15
|
+
} from "./packager-tool-2vme4a8e.js";
|
|
16
|
+
import {
|
|
17
|
+
OutputFormatter,
|
|
18
|
+
RESULTS,
|
|
19
|
+
catchError,
|
|
20
|
+
logger
|
|
21
|
+
} from "./packager-tool-p1ts5b0h.js";
|
|
20
22
|
import {
|
|
21
23
|
getFileSystem
|
|
22
|
-
} from "./packager-tool-
|
|
24
|
+
} from "./packager-tool-1cb0d5e0.js";
|
|
23
25
|
import {
|
|
24
|
-
EntryPointType,
|
|
25
|
-
ProjectType,
|
|
26
26
|
addBinding,
|
|
27
27
|
addNode,
|
|
28
28
|
buildInlineAgentContract,
|
|
29
|
+
createBinding,
|
|
30
|
+
createFlowRefResolver,
|
|
31
|
+
generateNodeIdAndName,
|
|
32
|
+
getMigrationChain,
|
|
33
|
+
migrateWorkflowToFloor,
|
|
34
|
+
minimumSupportedVersion,
|
|
35
|
+
registerFlowMigrationsI18n,
|
|
36
|
+
resolveWorkflowRefs,
|
|
37
|
+
runtimeMigrations,
|
|
38
|
+
runtimeVersion
|
|
39
|
+
} from "./packager-tool-hcdc89cf.js";
|
|
40
|
+
import {
|
|
41
|
+
EntryPointType,
|
|
42
|
+
ProjectType,
|
|
29
43
|
cliRules,
|
|
30
44
|
conditionExpressionRule,
|
|
31
|
-
createBinding,
|
|
32
|
-
currentVersion,
|
|
33
45
|
decodeLiteral,
|
|
34
46
|
generateBindingsJson,
|
|
35
47
|
generateEntryPointsJson,
|
|
36
|
-
generateNodeIdAndName,
|
|
37
48
|
generateOperateJson,
|
|
38
49
|
getBindingResources,
|
|
39
50
|
getEntryPoints,
|
|
40
51
|
getJsExpressionBody,
|
|
52
|
+
instance,
|
|
41
53
|
isBlockingSeverity,
|
|
42
54
|
isExpressionValue,
|
|
43
55
|
mergeBindingResources,
|
|
44
|
-
migrateWorkflow,
|
|
45
|
-
migrations,
|
|
46
56
|
parseWorkflowJson,
|
|
47
|
-
registerFlowMigrationsI18n,
|
|
48
57
|
registerFlowSchemaI18n,
|
|
49
58
|
runRules
|
|
50
|
-
} from "./packager-tool-
|
|
51
|
-
import {
|
|
52
|
-
instance
|
|
53
|
-
} from "./packager-tool-9bnpe8n1.js";
|
|
59
|
+
} from "./packager-tool-q9zrqwxw.js";
|
|
54
60
|
|
|
55
61
|
// src/services/connector-node-types.ts
|
|
56
62
|
function isConnectorTriggerType(nodeType) {
|
|
@@ -6426,13 +6432,13 @@ function formatMigrationFailureMessage(step, rawMessage, fieldPaths) {
|
|
|
6426
6432
|
return parts.join(" ");
|
|
6427
6433
|
}
|
|
6428
6434
|
function checkForwardMigration(rawWorkflow) {
|
|
6429
|
-
const { tracker, fieldPaths } = captureMigrationIssues();
|
|
6430
|
-
let result;
|
|
6431
6435
|
try {
|
|
6432
|
-
|
|
6436
|
+
getMigrationChain(runtimeMigrations, String(rawWorkflow.version ?? ""), runtimeVersion);
|
|
6433
6437
|
} catch {
|
|
6434
6438
|
return { ok: true };
|
|
6435
6439
|
}
|
|
6440
|
+
const { tracker, fieldPaths } = captureMigrationIssues();
|
|
6441
|
+
const result = migrateWorkflowToFloor(runtimeMigrations, rawWorkflow, runtimeVersion, minimumSupportedVersion, tracker);
|
|
6436
6442
|
if (!result.error)
|
|
6437
6443
|
return { ok: true };
|
|
6438
6444
|
const paths = fieldPaths();
|
|
@@ -7512,7 +7518,7 @@ Validating: ${absolutePath}
|
|
|
7512
7518
|
const currentManifests = this.validateCurrentManifests ? await this.loadCurrentManifestMap() : new Map;
|
|
7513
7519
|
const flowDir = this.fs.path.dirname(absolutePath);
|
|
7514
7520
|
const hydrationDiagnoses = await this.resolveAgentPrompts(workflow.nodes, flowDir);
|
|
7515
|
-
issues.push(...this.validateForwardMigration(content));
|
|
7521
|
+
issues.push(...await this.validateForwardMigration(content, absolutePath));
|
|
7516
7522
|
issues.push(...this.validateGraph(workflow, "", rawDefErrorHandling, currentManifests));
|
|
7517
7523
|
issues.push(...this.validateGlobalVariableUniqueness(workflow, ""));
|
|
7518
7524
|
issues.push(...this.validateGlobalTriggerBindings(workflow, ""));
|
|
@@ -7548,7 +7554,7 @@ Validating: ${absolutePath}
|
|
|
7548
7554
|
issues
|
|
7549
7555
|
};
|
|
7550
7556
|
}
|
|
7551
|
-
validateForwardMigration(content) {
|
|
7557
|
+
async validateForwardMigration(content, absolutePath) {
|
|
7552
7558
|
let raw;
|
|
7553
7559
|
try {
|
|
7554
7560
|
raw = JSON.parse(content);
|
|
@@ -7557,7 +7563,13 @@ Validating: ${absolutePath}
|
|
|
7557
7563
|
}
|
|
7558
7564
|
if (!raw || typeof raw !== "object")
|
|
7559
7565
|
return [];
|
|
7560
|
-
|
|
7566
|
+
let resolved;
|
|
7567
|
+
try {
|
|
7568
|
+
({ resolved } = await resolveWorkflowRefs(raw, createFlowRefResolver(this.fs), absolutePath));
|
|
7569
|
+
} catch {
|
|
7570
|
+
return [];
|
|
7571
|
+
}
|
|
7572
|
+
const check = checkForwardMigration(resolved);
|
|
7561
7573
|
if (check.ok)
|
|
7562
7574
|
return [];
|
|
7563
7575
|
return [
|
|
@@ -8350,4 +8362,4 @@ Validating: ${absolutePath}
|
|
|
8350
8362
|
|
|
8351
8363
|
export { ensureDirectory, FlowEvalFileStore, readInlineAgentSource, isInlineAgentNodeType, fileNodesToPackagingNodes, packageInlineAgents, stageInlineAgentPackageFiles, buildInlineAgentDescriptors, writePackagingArtifacts, writePackagingArtifactsDetailed, regenerateBindingsFile, NodeTypeNotFoundError, NodeTypeNotEnabledError, SourceRequiredError, listNodesInFlow, ensureProcessBindings, collectNodeBindingResourceKeys, addNodeToFlow, deleteNodeFromFlow, ERROR_SOURCE_PORT, enableErrorHandlingForErrorEdges, expandHandleIds, portMatchesTemplate, captureMigrationIssues, formatMigrationFailureMessage, isConnectorTriggerType, isConnectorWaitForEventType, isEventDrivenConnectorType, scanDetailForCrossNodeBindings, connectorNodeValidator, FlowValidateService };
|
|
8352
8364
|
|
|
8353
|
-
//# debugId=
|
|
8365
|
+
//# debugId=3895B4CB3D61615C64756E2164756E21
|