@uipath/solution-tool 1.206.0-preview.306 → 1.207.0-preview.307
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/THIRD-PARTY-NOTICES.md +4 -4
- package/dist/{archive-extract-ma0gy822.js → archive-extract-afgwacbg.js} +3 -3
- package/dist/{cleanup-command-service-abtxpefz.js → cleanup-command-service-0j6qxj96.js} +20 -15
- package/dist/deploy-delete-service-ghyetrvj.js +23 -0
- package/dist/deploy-run-service-sz77fpsz.js +24 -0
- package/dist/{deploy-status-service-k1gycn13.js → deploy-status-service-aj4m61hg.js} +49 -25
- package/dist/deploy.js +21 -20
- package/dist/{deployment-search-bjdwqh5w.js → deployment-search-mkvzgeq4.js} +9 -9
- package/dist/{embedded-file-reader-pxpwcq3n.js → embedded-file-reader-k94wt612.js} +16 -16
- package/dist/feed-resolver-yj94m9j1.js +31 -0
- package/dist/feed-scope-failure-7abh61sj.js +20 -0
- package/dist/{feed-session-ytew8k2j.js → feed-session-z8t87r5w.js} +6 -6
- package/dist/{first-party-service-6gf3n6d8.js → first-party-service-bmtxd7wx.js} +1 -1
- package/dist/folder-runtime-check-8nf63er2.js +25 -0
- package/dist/{governance-options-40m81z8h.js → governance-options-ft8bqz4p.js} +7 -7
- package/dist/{packager-tool-v3ze7wmr.js → index-6ma58k47.js} +33 -708
- package/dist/{index-yjvmjpdn.js → index-j3tpb2cr.js} +12 -11
- package/dist/{index-p3x7ztdr.js → index-jy1760qy.js} +1 -1
- package/dist/{index-2bn3jzn9.js → index-nbs04tqr.js} +9 -7
- package/dist/index.js +26 -26
- package/dist/init.js +10 -10
- package/dist/{list-0k8c4rt6.js → list-3a1tdrgm.js} +11 -11
- package/dist/models/pack-command-types.d.ts +12 -0
- package/dist/{node-6ay6nbnq.js → node-83xy0gm0.js} +6 -6
- package/dist/pack-command-service-42p3t8xa.js +32 -0
- package/dist/{pack-project-2g2ncn2k.js → pack-project-w514zr5v.js} +21 -18
- package/dist/pack.js +25 -22
- package/dist/{package-id-56k44s7y.js → package-id-2dgfbh5h.js} +3 -3
- package/dist/{packager-tool-2zn98p5r.js → packager-tool-0gyqtxvs.js} +4 -4
- package/dist/{packager-tool-vgrswa8p.js → packager-tool-1db1wqdy.js} +30 -8
- package/dist/{packager-tool-vx2c68sb.js → packager-tool-1dsxhz1r.js} +2 -2
- package/dist/{packager-tool-xxf8f4v2.js → packager-tool-2syv199e.js} +9 -5
- package/dist/packager-tool-3ft8hywr.js +449 -0
- package/dist/{packager-tool-829w06ns.js → packager-tool-3qach0s4.js} +14 -8
- package/dist/{packager-tool-bkmwknfn.js → packager-tool-4f1k64fh.js} +8 -74
- package/dist/{packager-tool-7v03ncmv.js → packager-tool-70ag56bf.js} +49 -24
- package/dist/{packager-tool-5e4gps62.js → packager-tool-71sz9598.js} +20 -8
- package/dist/{packager-tool-23g7kn35.js → packager-tool-7j920ac5.js} +18 -11
- package/dist/packager-tool-7s842xrq.js +140 -0
- package/dist/{packager-tool-s8q14fth.js → packager-tool-849ch2tq.js} +4 -6
- package/dist/{packager-tool-aws5w512.js → packager-tool-887bkh9y.js} +1 -1
- package/dist/{packager-tool-f5pzh184.js → packager-tool-a566400t.js} +26 -10
- package/dist/packager-tool-a813na66.js +75 -0
- package/dist/{packager-tool-c8x0tpe4.js → packager-tool-af8n6rqz.js} +85 -30
- package/dist/{packager-tool-y1304xzm.js → packager-tool-bpdyy6vs.js} +530 -204
- package/dist/{packager-tool-fx4ws49n.js → packager-tool-cenfraf4.js} +2 -2
- package/dist/{packager-tool-0z4aq300.js → packager-tool-cwqy5rb5.js} +119 -52
- package/dist/{packager-tool-a7s0gbxs.js → packager-tool-devc4w73.js} +7 -2
- package/dist/{packager-tool-pqk9v4h7.js → packager-tool-fbajevvm.js} +52 -15
- package/dist/{packager-tool-r0ha8c95.js → packager-tool-fz96p75n.js} +3 -3
- package/dist/{packager-tool-m07vyk89.js → packager-tool-gb3dq79g.js} +36 -9
- package/dist/{packager-tool-h8tksb5s.js → packager-tool-gns0nxbt.js} +28 -9
- package/dist/{packager-tool-wjvks6st.js → packager-tool-h8wam8pt.js} +15 -6
- package/dist/{packager-tool-z4cbca95.js → packager-tool-hczpvrc1.js} +6 -6
- package/dist/{packager-tool-t39pjz7n.js → packager-tool-jtvhkavz.js} +48 -6
- package/dist/{packager-tool-p5322gew.js → packager-tool-kmwjscby.js} +88 -10
- package/dist/{packager-tool-ppj5f4y7.js → packager-tool-n1zrk6zv.js} +4 -2
- package/dist/{packager-tool-2qsbh4kd.js → packager-tool-ncgpx1ce.js} +50 -12
- package/dist/{packager-tool-f15an17m.js → packager-tool-p1xfsv6c.js} +92 -4
- package/dist/{packager-tool-egc54x78.js → packager-tool-qhht1tc9.js} +2408 -771
- package/dist/packager-tool-r7fmsz2t.js +741 -0
- package/dist/{packager-tool-resolver-30hxk8vm.js → packager-tool-resolver-mynfj0rt.js} +6 -6
- package/dist/{packager-tool-ay4j9x92.js → packager-tool-s9tyw75r.js} +19 -8
- package/dist/{packager-tool-ckrt4gyr.js → packager-tool-t9zked1m.js} +3 -3
- package/dist/{packager-tool-1ctvbx0h.js → packager-tool-tr3ttz5c.js} +1 -1
- package/dist/{packager-tool-chff74yz.js → packager-tool-tt9v40x6.js} +3010 -846
- package/dist/{packager-tool-k9dk39tg.js → packager-tool-txygqgb2.js} +3 -3
- package/dist/packager-tool-v6jcys3s.js +46 -0
- package/dist/packager-tool-w0tmr9xe.js +279 -0
- package/dist/packager-tool-w35s60sx.js +179 -0
- package/dist/{packager-tool-axqk17xw.js → packager-tool-xbfr6y2x.js} +142 -34
- package/dist/{packager-tool-m5mwc6by.js → packager-tool-zsv8208n.js} +22 -18
- package/dist/{packager-tool-vrw36pdb.js → packager-tool-ztxsccjk.js} +140 -10
- package/dist/packager-tool.js +2 -2
- package/dist/prepare-solution-resources-g9y01pgd.js +26 -0
- package/dist/{project-command-utils-82tja3k0.js → project-command-utils-yxrgwzf9.js} +20 -13
- package/dist/project-contributions-c8v3bwjr.js +31 -0
- package/dist/project-identity-telemetry-yxdhswyq.js +18 -0
- package/dist/publish.js +14 -14
- package/dist/{resource-mutations-h6wfdqr4.js → resource-mutations-dn4f8xr1.js} +9 -9
- package/dist/{resource-version-lookup-xzgnvr48.js → resource-version-lookup-mksxc1dc.js} +9 -9
- package/dist/resource.js +9 -9
- package/dist/{restore-command-service-bqs7r9y3.js → restore-command-service-ztbt2ejp.js} +20 -15
- package/dist/run-service-r52wgf69.js +1056 -0
- package/dist/services/deploy-activate-service.d.ts +5 -2
- package/dist/services/deploy-config-file.d.ts +24 -0
- package/dist/services/deploy-delete-service.d.ts +1 -1
- package/dist/services/deploy-run-service.d.ts +8 -1
- package/dist/services/deploy-uninstall-service.d.ts +4 -2
- package/dist/services/deploy-upgrade-service.d.ts +23 -2
- package/dist/services/deployment-feed-locator.d.ts +19 -6
- package/dist/services/deployment-links.d.ts +16 -0
- package/dist/services/deployment-progress.d.ts +10 -0
- package/dist/services/deployment-search.d.ts +15 -2
- package/dist/services/deployment-state.d.ts +9 -0
- package/dist/services/feed-resolver.d.ts +17 -0
- package/dist/services/feed-selection.d.ts +59 -0
- package/dist/services/folder-runtime-check.d.ts +107 -0
- package/dist/services/incomplete-feed-sweep.d.ts +6 -0
- package/dist/services/pack-command-service.d.ts +6 -0
- package/dist/services/pack-project.d.ts +1 -1
- package/dist/services/package-metadata-rewrite.d.ts +13 -0
- package/dist/services/personal-workspace-resolver.d.ts +4 -1
- package/dist/services/prepare-solution-resources.d.ts +11 -6
- package/dist/services/project-contributions.d.ts +26 -2
- package/dist/services/project-identity-telemetry.d.ts +31 -0
- package/dist/services/solution-members.d.ts +31 -0
- package/dist/{ship-telemetry-19gx83af.js → ship-telemetry-9djqndmy.js} +4 -4
- package/dist/{solution-auth-jxcgd2m0.js → solution-auth-0e3qm74f.js} +3 -3
- package/dist/{solution-definition-helper-tqwd6cxn.js → solution-definition-helper-dreejga4.js} +1 -1
- package/dist/{solution-identity-c23d9bfv.js → solution-identity-j63p6n81.js} +4 -4
- package/dist/templates/AGENTS.md +131 -24
- package/dist/tool.js +26 -26
- package/package.json +2 -2
- package/dist/deploy-delete-service-as1jfycj.js +0 -23
- package/dist/deploy-run-service-gs1xv1y1.js +0 -23
- package/dist/feed-resolver-x0kt3yrw.js +0 -27
- package/dist/feed-scope-failure-9p8w0j1v.js +0 -20
- package/dist/pack-command-service-jzbch4eb.js +0 -29
- package/dist/packager-tool-qpryf1x2.js +0 -74
- package/dist/packager-tool-vrqbbh01.js +0 -182
- package/dist/prepare-solution-resources-h7zvnncd.js +0 -26
- package/dist/project-contributions-xx560n8y.js +0 -27
- package/dist/run-service-ekbx2jdg.js +0 -506
|
@@ -1,51 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-1db1wqdy.js";
|
|
4
4
|
import {
|
|
5
5
|
catchError,
|
|
6
|
+
RESULTS,
|
|
6
7
|
carriedErrorCode,
|
|
7
8
|
carriedRetry,
|
|
8
9
|
carriedInstructions
|
|
9
|
-
} from "./packager-tool-
|
|
10
|
+
} from "./packager-tool-gb3dq79g.js";
|
|
10
11
|
import {
|
|
11
|
-
RESULTS,
|
|
12
12
|
logger,
|
|
13
13
|
OutputFormatter
|
|
14
|
-
} from "./packager-tool-
|
|
14
|
+
} from "./packager-tool-xbfr6y2x.js";
|
|
15
15
|
import {
|
|
16
16
|
ToolResult
|
|
17
|
-
} from "./packager-tool-
|
|
17
|
+
} from "./packager-tool-devc4w73.js";
|
|
18
18
|
import {
|
|
19
19
|
SolutionPackOptions,
|
|
20
20
|
INVALID_PACKAGE_ID
|
|
21
|
-
} from "./packager-tool-
|
|
21
|
+
} from "./packager-tool-71sz9598.js";
|
|
22
22
|
import {
|
|
23
23
|
validateGovernanceOptions2,
|
|
24
24
|
resolveGovernanceFileTypeAsync2
|
|
25
|
-
} from "./packager-tool-
|
|
25
|
+
} from "./packager-tool-887bkh9y.js";
|
|
26
26
|
import {
|
|
27
27
|
isUnpackableProjectTypeError2,
|
|
28
28
|
ensurePackagerTools2
|
|
29
|
-
} from "./packager-tool-
|
|
29
|
+
} from "./packager-tool-0gyqtxvs.js";
|
|
30
30
|
import {
|
|
31
31
|
prepareSolutionResources2
|
|
32
|
-
} from "./packager-tool-
|
|
32
|
+
} from "./packager-tool-s9tyw75r.js";
|
|
33
|
+
import {
|
|
34
|
+
createProjectActivityObserver2
|
|
35
|
+
} from "./packager-tool-w35s60sx.js";
|
|
33
36
|
import {
|
|
34
37
|
captureExtractedSolution2
|
|
35
|
-
} from "./packager-tool-
|
|
38
|
+
} from "./packager-tool-t9zked1m.js";
|
|
36
39
|
import {
|
|
37
|
-
createProjectActivityObserver,
|
|
38
40
|
createSolutionPackager,
|
|
39
41
|
readSolutionFileAsUint8Array,
|
|
40
42
|
resolveSdkLogLevel,
|
|
41
43
|
applyAuthConnection,
|
|
42
44
|
SOLUTION_PATH_INSTRUCTIONS,
|
|
43
45
|
checkSolutionPathAsync
|
|
44
|
-
} from "./packager-tool-
|
|
46
|
+
} from "./packager-tool-4f1k64fh.js";
|
|
45
47
|
import {
|
|
46
48
|
validatePackProjectOptions,
|
|
47
49
|
PackProjectError
|
|
48
|
-
} from "./packager-tool-
|
|
50
|
+
} from "./packager-tool-tr3ttz5c.js";
|
|
49
51
|
|
|
50
52
|
// src/services/pack-command-service.ts
|
|
51
53
|
class PackCommandService2 {
|
|
@@ -283,7 +285,7 @@ Packing project...
|
|
|
283
285
|
return await this.packProjectAsync(isUisFile, solutionRoot, absoluteOutputPath, resolvedOptions.project, resolvedOptions);
|
|
284
286
|
}
|
|
285
287
|
if (isDirectory) {
|
|
286
|
-
const [prepareError] = await catchError(this.prepareSolutionDirectoryForPack(solutionRoot));
|
|
288
|
+
const [prepareError] = await catchError(this.prepareSolutionDirectoryForPack(solutionRoot, resolvedOptions.forDebug));
|
|
287
289
|
if (prepareError) {
|
|
288
290
|
return toPackFailure(prepareError);
|
|
289
291
|
}
|
|
@@ -296,7 +298,7 @@ Packing project...
|
|
|
296
298
|
const uint8Array = await readSolutionFileAsUint8Array(this.fs, absoluteSolutionPath);
|
|
297
299
|
inputPath = await packager.setupAsync(uint8Array);
|
|
298
300
|
await captureExtractedSolution2(options.telemetryCapture, inputPath);
|
|
299
|
-
await this.prepareSolutionDirectoryForPack(inputPath);
|
|
301
|
+
await this.prepareSolutionDirectoryForPack(inputPath, resolvedOptions.forDebug);
|
|
300
302
|
} else {
|
|
301
303
|
inputPath = await packager.setupAsync(solutionRoot);
|
|
302
304
|
}
|
|
@@ -316,8 +318,8 @@ Packing project...
|
|
|
316
318
|
throw new PackProjectError("--project packs a project out of a solution folder, not out of a .uis file.", "Pass the solution folder instead: uip solution pack <solution-folder> <output-path> --project <id-or-path>.");
|
|
317
319
|
}
|
|
318
320
|
const [error, result] = await catchError(async () => {
|
|
319
|
-
const { prepareSolutionProjectAsync, packSolutionProjectAsync } = await import("./pack-project-
|
|
320
|
-
const { project, packageId } = await prepareSolutionProjectAsync(this.fs, solutionDir, selector, options.packageId);
|
|
321
|
+
const { prepareSolutionProjectAsync, packSolutionProjectAsync } = await import("./pack-project-w514zr5v.js");
|
|
322
|
+
const { project, packageId } = await prepareSolutionProjectAsync(this.fs, solutionDir, selector, options.packageId, options.forDebug);
|
|
321
323
|
await this.fs.mkdir(outputPath);
|
|
322
324
|
const packOptions = await this.createProjectPackOptions(project, packageId, outputPath, options);
|
|
323
325
|
return packSolutionProjectAsync(this.fs, project, packOptions);
|
|
@@ -330,7 +332,9 @@ Packing project...
|
|
|
330
332
|
}
|
|
331
333
|
const tempDir = await this.fs.getTempDir();
|
|
332
334
|
const solutionRoot = this.fs.path.join(tempDir, this.fs.path.basename(solutionDir));
|
|
333
|
-
const [copyError] = await catchError(this.fs.copyDirectory(solutionDir, solutionRoot
|
|
335
|
+
const [copyError] = await catchError(this.fs.copyDirectory(solutionDir, solutionRoot, {
|
|
336
|
+
skipDirectoryNames: ["node_modules"]
|
|
337
|
+
}));
|
|
334
338
|
if (copyError) {
|
|
335
339
|
await this.discardDryRunCopy(tempDir);
|
|
336
340
|
throw copyError;
|
|
@@ -385,8 +389,11 @@ Packing project...
|
|
|
385
389
|
}
|
|
386
390
|
return dirs;
|
|
387
391
|
}
|
|
388
|
-
async prepareSolutionDirectoryForPack(solutionDir) {
|
|
389
|
-
await prepareSolutionResources2(solutionDir, this.fs, {
|
|
392
|
+
async prepareSolutionDirectoryForPack(solutionDir, forDebug) {
|
|
393
|
+
await prepareSolutionResources2(solutionDir, this.fs, {
|
|
394
|
+
gate: true,
|
|
395
|
+
forDebug
|
|
396
|
+
});
|
|
390
397
|
}
|
|
391
398
|
async ensurePackagerAsync() {
|
|
392
399
|
if (!this.packager) {
|
|
@@ -399,7 +406,7 @@ Packing project...
|
|
|
399
406
|
}
|
|
400
407
|
async createPackOptions(inputPath, outputPath, absoluteSolutionPath, isUisFile, options) {
|
|
401
408
|
const packOptions = new SolutionPackOptions;
|
|
402
|
-
packOptions.projectActivity =
|
|
409
|
+
packOptions.projectActivity = createProjectActivityObserver2("uip solution pack");
|
|
403
410
|
packOptions.inputPath = inputPath;
|
|
404
411
|
packOptions.destinationPath = outputPath;
|
|
405
412
|
packOptions.configuration = "Release" /* Release */;
|
|
@@ -410,7 +417,7 @@ Packing project...
|
|
|
410
417
|
return packOptions;
|
|
411
418
|
}
|
|
412
419
|
async createProjectPackOptions(project, packageId, outputPath, options) {
|
|
413
|
-
const projectPackager = await import("./node-
|
|
420
|
+
const projectPackager = await import("./node-83xy0gm0.js");
|
|
414
421
|
const packOptions = new projectPackager.ProjectPackOptions;
|
|
415
422
|
packOptions.inputPath = project.ProjectPath ?? "";
|
|
416
423
|
packOptions.destinationPath = outputPath;
|
|
@@ -444,6 +451,12 @@ async function applySharedPackOptions(packOptions, options) {
|
|
|
444
451
|
packOptions.excludeConfiguredSources = options.excludeConfiguredSources ?? false;
|
|
445
452
|
packOptions.nuGetSourcesConfigPath = options.nugetSourcesConfigPath;
|
|
446
453
|
packOptions.feedFolder = options.feedFolder;
|
|
454
|
+
packOptions.packOptions = {
|
|
455
|
+
skipDependencyOptimization: false,
|
|
456
|
+
includeSources: false,
|
|
457
|
+
splitPackages: false,
|
|
458
|
+
skipBuild: options.skipBuild ?? false
|
|
459
|
+
};
|
|
447
460
|
packOptions.validateOptions = {
|
|
448
461
|
skipAnalyze: options.skipAnalyze ?? false,
|
|
449
462
|
skipValidate: false,
|
|
@@ -486,13 +499,25 @@ function packFailureEnvelope(result, dryRun) {
|
|
|
486
499
|
Retry: "RetryWillNotFix"
|
|
487
500
|
};
|
|
488
501
|
}
|
|
502
|
+
const classified = classifyPackFailure(result.errorCode);
|
|
489
503
|
return {
|
|
490
504
|
Result: RESULTS.Failure,
|
|
491
|
-
Message: `Error code: ${result.errorCode} : ${message}`,
|
|
505
|
+
Message: classified ? message : `Error code: ${result.errorCode} : ${message}`,
|
|
492
506
|
Instructions: result.instructions ?? formatPackFailureInstructions(result.message, dryRun),
|
|
507
|
+
...classified,
|
|
493
508
|
...packFailureData(result)
|
|
494
509
|
};
|
|
495
510
|
}
|
|
511
|
+
function classifyPackFailure(errorCode) {
|
|
512
|
+
switch (errorCode) {
|
|
513
|
+
case "INVALID_PROJECT" /* InvalidProject */:
|
|
514
|
+
return { ErrorCode: "invalid_argument", Retry: "RetryWillNotFix" };
|
|
515
|
+
case "DEPENDENCY_INSTALL_FAILED" /* DependencyInstallFailed */:
|
|
516
|
+
return { ErrorCode: "execution_failed", Retry: "RetryLater" };
|
|
517
|
+
default:
|
|
518
|
+
return;
|
|
519
|
+
}
|
|
520
|
+
}
|
|
496
521
|
function packFailureData(result) {
|
|
497
522
|
const projects = result.details?.projects;
|
|
498
523
|
return Array.isArray(projects) && projects.length > 0 ? { Data: { Projects: projects } } : {};
|
|
@@ -517,4 +542,4 @@ function formatPackFailureInstructions(message, dryRun) {
|
|
|
517
542
|
|
|
518
543
|
export { PackCommandService2 };
|
|
519
544
|
|
|
520
|
-
//# debugId=
|
|
545
|
+
//# debugId=3197650F68433B4B64756E2164756E21
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
translate,
|
|
7
7
|
ToolResult,
|
|
8
8
|
toolsFactoryRepository
|
|
9
|
-
} from "./packager-tool-
|
|
9
|
+
} from "./packager-tool-devc4w73.js";
|
|
10
10
|
import {
|
|
11
11
|
PackagerParameters,
|
|
12
12
|
setGlobalLogHandler,
|
|
@@ -22,19 +22,19 @@ import {
|
|
|
22
22
|
ToolsFactory,
|
|
23
23
|
ProjectPackager,
|
|
24
24
|
PackageIdReader
|
|
25
|
-
} from "./packager-tool-
|
|
25
|
+
} from "./packager-tool-af8n6rqz.js";
|
|
26
26
|
import {
|
|
27
27
|
NodeFileSystem
|
|
28
|
-
} from "./packager-tool-
|
|
28
|
+
} from "./packager-tool-1db1wqdy.js";
|
|
29
29
|
import {
|
|
30
30
|
PackagerDimensions,
|
|
31
31
|
carriedInstructions,
|
|
32
32
|
TelemetryService
|
|
33
|
-
} from "./packager-tool-
|
|
33
|
+
} from "./packager-tool-gb3dq79g.js";
|
|
34
34
|
import {
|
|
35
35
|
DebugTelemetryProvider,
|
|
36
36
|
NodeContextStorage
|
|
37
|
-
} from "./packager-tool-
|
|
37
|
+
} from "./packager-tool-xbfr6y2x.js";
|
|
38
38
|
// ../packager/project-packager/src/base-node-packager-factory.ts
|
|
39
39
|
class BaseNodePackagerFactory2 {
|
|
40
40
|
dotnetDiscovery;
|
|
@@ -239,6 +239,17 @@ function hasFailedResults(results) {
|
|
|
239
239
|
function getFailedResultsMessage(results) {
|
|
240
240
|
return results.filter((result) => !result.isSuccess).map((r) => r.message || "Unknown error").join(", ");
|
|
241
241
|
}
|
|
242
|
+
var CLASSIFIED_FAILURE_CODES = new Set([
|
|
243
|
+
"INVALID_PROJECT" /* InvalidProject */,
|
|
244
|
+
"DEPENDENCY_INSTALL_FAILED" /* DependencyInstallFailed */
|
|
245
|
+
]);
|
|
246
|
+
function getFailedResultsErrorCode(results) {
|
|
247
|
+
const failedCodes = results.filter((result) => !result.isSuccess).map((result) => result.errorCode);
|
|
248
|
+
if (failedCodes.length === 0 || !failedCodes.every((code) => CLASSIFIED_FAILURE_CODES.has(code))) {
|
|
249
|
+
return "INTERNAL_ERROR" /* InternalError */;
|
|
250
|
+
}
|
|
251
|
+
return failedCodes.includes("INVALID_PROJECT" /* InvalidProject */) ? "INVALID_PROJECT" /* InvalidProject */ : "DEPENDENCY_INSTALL_FAILED" /* DependencyInstallFailed */;
|
|
252
|
+
}
|
|
242
253
|
function getFailedResultsInstructions(results) {
|
|
243
254
|
const instructions = new Set;
|
|
244
255
|
for (const result of results) {
|
|
@@ -755,7 +766,8 @@ class OptionsBuilder {
|
|
|
755
766
|
package: packageInfo,
|
|
756
767
|
skipDependencyOptimization: solutionOptions.packOptions?.skipDependencyOptimization ?? false,
|
|
757
768
|
includeSources: solutionOptions.packOptions?.includeSources ?? false,
|
|
758
|
-
splitPackages: solutionOptions.packOptions?.splitPackages ?? false
|
|
769
|
+
splitPackages: solutionOptions.packOptions?.splitPackages ?? false,
|
|
770
|
+
skipBuild: solutionOptions.packOptions?.skipBuild ?? false
|
|
759
771
|
};
|
|
760
772
|
}
|
|
761
773
|
buildProjectValidateOptions(solutionOptions, project) {
|
|
@@ -1028,7 +1040,7 @@ class SolutionPackService {
|
|
|
1028
1040
|
...projectResults
|
|
1029
1041
|
];
|
|
1030
1042
|
if (hasFailedResults(restoreAndPackResults)) {
|
|
1031
|
-
const failure = ToolResult.error(
|
|
1043
|
+
const failure = ToolResult.error(getFailedResultsErrorCode(restoreAndPackResults), `Solution pack failed: ${getFailedResultsMessage(restoreAndPackResults)}`, getFailedResultsInstructions(restoreAndPackResults));
|
|
1032
1044
|
failure.details = {
|
|
1033
1045
|
projects: toProjectDiagnostics(solution.Projects, projectResults)
|
|
1034
1046
|
};
|
|
@@ -1481,4 +1493,4 @@ async function createNodeSolutionPackager(options) {
|
|
|
1481
1493
|
}
|
|
1482
1494
|
export { SolutionPackOptions, BaseNodePackagerFactory2, DotnetDiscoveryService2, NodePackageSignService2, createNodeProjectPackager2, INVALID_PACKAGE_ID, toProjectDiagnostics, createNodeSolutionPackager };
|
|
1483
1495
|
|
|
1484
|
-
//# debugId=
|
|
1496
|
+
//# debugId=CA2217AEBA80F83764756E2164756E21
|
|
@@ -2,33 +2,34 @@ import {
|
|
|
2
2
|
catchError,
|
|
3
3
|
httpStatusOf2,
|
|
4
4
|
extractErrorDetails
|
|
5
|
-
} from "./packager-tool-
|
|
5
|
+
} from "./packager-tool-gb3dq79g.js";
|
|
6
6
|
import {
|
|
7
|
-
isGuid
|
|
8
|
-
|
|
7
|
+
isGuid,
|
|
8
|
+
quoteForShell
|
|
9
|
+
} from "./packager-tool-xbfr6y2x.js";
|
|
9
10
|
import {
|
|
10
11
|
getAuthContext
|
|
11
|
-
} from "./packager-tool-
|
|
12
|
+
} from "./packager-tool-jtvhkavz.js";
|
|
12
13
|
import {
|
|
13
14
|
getSolutionAuthContext2
|
|
14
|
-
} from "./packager-tool-
|
|
15
|
+
} from "./packager-tool-n1zrk6zv.js";
|
|
15
16
|
import {
|
|
16
17
|
classifyFeedSession2
|
|
17
|
-
} from "./packager-tool-
|
|
18
|
+
} from "./packager-tool-hczpvrc1.js";
|
|
18
19
|
import {
|
|
19
20
|
PersonalWorkspacesApi,
|
|
20
21
|
createOrchestratorConfig,
|
|
21
22
|
resolveFolder
|
|
22
|
-
} from "./packager-tool-
|
|
23
|
+
} from "./packager-tool-qhht1tc9.js";
|
|
23
24
|
import {
|
|
24
25
|
getAvailablePublishLocationsV22
|
|
25
|
-
} from "./packager-tool-
|
|
26
|
+
} from "./packager-tool-fbajevvm.js";
|
|
26
27
|
|
|
27
28
|
// src/services/personal-workspace-resolver.ts
|
|
28
29
|
async function resolvePersonalWorkspace(options) {
|
|
29
30
|
const config = await createOrchestratorConfig(options);
|
|
30
31
|
const api = new PersonalWorkspacesApi(config);
|
|
31
|
-
const pw = await api.personalWorkspacesGetPersonalWorkspace();
|
|
32
|
+
const pw = await api.personalWorkspacesGetPersonalWorkspace({}, options?.signal ? { signal: options.signal } : undefined);
|
|
32
33
|
if (!pw?.key || !pw.name) {
|
|
33
34
|
throw new Error("Personal Workspace not configured for the current user. " + "Enable Personal Workspace in Orchestrator (or sign in as a user that has one), then retry.");
|
|
34
35
|
}
|
|
@@ -140,6 +141,12 @@ function feedSelectorFlag2(scope) {
|
|
|
140
141
|
}
|
|
141
142
|
return scope.kind === "personal" ? " --personal-workspace" : ` --feed ${scope.folderKey}`;
|
|
142
143
|
}
|
|
144
|
+
function tenantFlag2(options) {
|
|
145
|
+
return options.tenant ? ` --tenant ${quoteForShell(options.tenant)}` : "";
|
|
146
|
+
}
|
|
147
|
+
function deleteDeploymentCommand2(deploymentName, feedFlag, options) {
|
|
148
|
+
return `uip solution deploy delete ${quoteForShell(deploymentName)}${feedFlag}${tenantFlag2(options)} --yes`;
|
|
149
|
+
}
|
|
143
150
|
function feedResolutionFailureInstructions(options) {
|
|
144
151
|
if (options.personalWorkspace) {
|
|
145
152
|
return "Personal Workspace resolution needs an interactive user session and an enabled Personal Workspace. Log in as a user with a Personal Workspace, or omit --personal-workspace to use the tenant feed.";
|
|
@@ -285,6 +292,6 @@ function matchFeed(feed, locations) {
|
|
|
285
292
|
throw new Error(`Feed '${feed}' is not an available publish location. ` + "Run 'uip solution feeds list' to see the feeds you can publish to.");
|
|
286
293
|
}
|
|
287
294
|
|
|
288
|
-
export { resolvePersonalWorkspace, resolveParentFolder, resolveFolderInfo, listSelectablePublishLocations, folderKeyInitOverride2, feedScopeInitOverride2, feedSelectorFlag2, describeFeedResolutionFailureAsync2, resolveFeedScope2 };
|
|
295
|
+
export { resolvePersonalWorkspace, resolveParentFolder, resolveFolderInfo, listSelectablePublishLocations, folderKeyInitOverride2, feedScopeInitOverride2, feedSelectorFlag2, tenantFlag2, deleteDeploymentCommand2, describeFeedResolutionFailureAsync2, resolveFeedScope2 };
|
|
289
296
|
|
|
290
|
-
//# debugId=
|
|
297
|
+
//# debugId=CE4FCE8527B6D70464756E2164756E21
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import {
|
|
2
|
+
catchError,
|
|
3
|
+
extractErrorDetails
|
|
4
|
+
} from "./packager-tool-gb3dq79g.js";
|
|
5
|
+
import {
|
|
6
|
+
isGuid
|
|
7
|
+
} from "./packager-tool-xbfr6y2x.js";
|
|
8
|
+
import {
|
|
9
|
+
classifyFeedSession2,
|
|
10
|
+
feedSessionRefusal2,
|
|
11
|
+
feedSessionRefusalAsync2
|
|
12
|
+
} from "./packager-tool-hczpvrc1.js";
|
|
13
|
+
import {
|
|
14
|
+
readDeploymentByKeyAsync2
|
|
15
|
+
} from "./packager-tool-3qach0s4.js";
|
|
16
|
+
import {
|
|
17
|
+
feedScopeInitOverride2,
|
|
18
|
+
describeFeedResolutionFailureAsync2,
|
|
19
|
+
resolveFeedScope2
|
|
20
|
+
} from "./packager-tool-7j920ac5.js";
|
|
21
|
+
|
|
22
|
+
// src/services/feed-selection.ts
|
|
23
|
+
async function resolveFeedSelectionAsync(auth, flags, action) {
|
|
24
|
+
if (!flags.personalWorkspace && flags.feed === undefined) {
|
|
25
|
+
return { ok: true };
|
|
26
|
+
}
|
|
27
|
+
if (flags.personalWorkspace) {
|
|
28
|
+
const refusal = refuseUnlessUser(auth, `${action} in a Personal Workspace`);
|
|
29
|
+
if (refusal) {
|
|
30
|
+
return refusal;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
const [scopeError, scope] = await catchError(resolveFeedScope2({
|
|
34
|
+
personalWorkspace: flags.personalWorkspace,
|
|
35
|
+
feed: flags.feed,
|
|
36
|
+
tenant: flags.tenant,
|
|
37
|
+
loginValidity: flags.loginValidity,
|
|
38
|
+
envFilePath: flags.envFilePath
|
|
39
|
+
}));
|
|
40
|
+
if (scopeError) {
|
|
41
|
+
const failure = await describeFeedResolutionFailureAsync2(scopeError, flags, auth);
|
|
42
|
+
return {
|
|
43
|
+
ok: false,
|
|
44
|
+
reason: "feed_resolution_failed",
|
|
45
|
+
message: failure.message,
|
|
46
|
+
instructions: failure.instructions,
|
|
47
|
+
errorCode: failure.errorCode,
|
|
48
|
+
retry: failure.retry
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
if (scope.kind !== "tenant") {
|
|
52
|
+
const feedAction = `${action} in the feed '${scope.name ?? scope.folderKey}'`;
|
|
53
|
+
const refusal = scope.folderKey ? await feedSessionRefusalAsync2(auth, scope.folderKey, "write", feedAction, ALTERNATIVE) : feedSessionRefusalForUserOnly(auth, feedAction);
|
|
54
|
+
if (refusal) {
|
|
55
|
+
return toRefusal(refusal);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
return { ok: true, selectedFeed: scope };
|
|
59
|
+
}
|
|
60
|
+
var ALTERNATIVE = "drop the feed flag to act on a tenant-feed deployment";
|
|
61
|
+
function toRefusal(refusal) {
|
|
62
|
+
return {
|
|
63
|
+
ok: false,
|
|
64
|
+
reason: "feed_requires_user_session",
|
|
65
|
+
message: refusal.message,
|
|
66
|
+
instructions: refusal.instructions,
|
|
67
|
+
errorCode: "permission_denied",
|
|
68
|
+
retry: "RetryWillNotFix"
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
function feedSessionRefusalForUserOnly(auth, action) {
|
|
72
|
+
const verdict = classifyFeedSession2(auth);
|
|
73
|
+
return verdict === "user" ? undefined : feedSessionRefusal2(verdict, action, ALTERNATIVE);
|
|
74
|
+
}
|
|
75
|
+
function refuseUnlessUser(auth, action) {
|
|
76
|
+
const refusal = feedSessionRefusalForUserOnly(auth, action);
|
|
77
|
+
return refusal ? toRefusal(refusal) : undefined;
|
|
78
|
+
}
|
|
79
|
+
function missingDeploymentMessage(reference) {
|
|
80
|
+
return isGuid(reference) ? `No deployment with the key or name '${reference}' was found` : `No deployment named '${reference}' was found`;
|
|
81
|
+
}
|
|
82
|
+
async function resolveDeploymentTargetAsync(auth, reference, flags, action) {
|
|
83
|
+
const selection = await resolveFeedSelectionAsync(auth, flags, action);
|
|
84
|
+
if (!selection.ok) {
|
|
85
|
+
return selection;
|
|
86
|
+
}
|
|
87
|
+
const byName = {
|
|
88
|
+
ok: true,
|
|
89
|
+
deploymentName: reference,
|
|
90
|
+
selectedFeed: selection.selectedFeed
|
|
91
|
+
};
|
|
92
|
+
if (!isGuid(reference)) {
|
|
93
|
+
return byName;
|
|
94
|
+
}
|
|
95
|
+
const [readError, record] = await catchError(readDeploymentByKeyAsync2(auth, reference, {
|
|
96
|
+
scope: selection.selectedFeed ? feedScopeInitOverride2(selection.selectedFeed) : undefined
|
|
97
|
+
}));
|
|
98
|
+
if (readError) {
|
|
99
|
+
const detail = await extractErrorDetails(readError);
|
|
100
|
+
return {
|
|
101
|
+
ok: false,
|
|
102
|
+
reason: "lookup_failed",
|
|
103
|
+
message: `Could not read deployment key '${reference}': ${detail.message}`,
|
|
104
|
+
instructions: `${detail.retry === "RetryLater" ? "Retry once the service answers, or pass" : "Pass"} the deployment's name instead (run 'uip solution deploy list' to see it). Details: ${detail.details}`,
|
|
105
|
+
errorCode: detail.errorCode,
|
|
106
|
+
retry: detail.retry
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
if (!record) {
|
|
110
|
+
return byName;
|
|
111
|
+
}
|
|
112
|
+
const resolved = {
|
|
113
|
+
deploymentName: record.deploymentName,
|
|
114
|
+
deploymentKey: record.deploymentKey,
|
|
115
|
+
...record.source === "pipelines" ? { currentKey: record.deploymentKey } : {}
|
|
116
|
+
};
|
|
117
|
+
if (record.locationKey === undefined) {
|
|
118
|
+
return {
|
|
119
|
+
ok: true,
|
|
120
|
+
...resolved,
|
|
121
|
+
selectedFeed: selection.selectedFeed ?? { kind: "tenant" }
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
if (record.locationKey === null) {
|
|
125
|
+
return { ok: true, ...resolved, selectedFeed: { kind: "tenant" } };
|
|
126
|
+
}
|
|
127
|
+
const refusal = await feedSessionRefusalAsync2(auth, record.locationKey, "write", `${action} in the feed '${record.locationKey}'`, "act on a tenant-feed deployment");
|
|
128
|
+
if (refusal) {
|
|
129
|
+
return toRefusal(refusal);
|
|
130
|
+
}
|
|
131
|
+
return {
|
|
132
|
+
ok: true,
|
|
133
|
+
...resolved,
|
|
134
|
+
selectedFeed: { kind: "folder", folderKey: record.locationKey }
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export { missingDeploymentMessage, resolveDeploymentTargetAsync };
|
|
139
|
+
|
|
140
|
+
//# debugId=DD6227F78A967DCB64756E2164756E21
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
catchError
|
|
3
|
-
} from "./packager-tool-m07vyk89.js";
|
|
4
|
-
import {
|
|
2
|
+
catchError,
|
|
5
3
|
RESULTS
|
|
6
|
-
} from "./packager-tool-
|
|
4
|
+
} from "./packager-tool-gb3dq79g.js";
|
|
7
5
|
import {
|
|
8
6
|
describeFeedResolutionFailureAsync2,
|
|
9
7
|
resolveFeedScope2
|
|
10
|
-
} from "./packager-tool-
|
|
8
|
+
} from "./packager-tool-7j920ac5.js";
|
|
11
9
|
|
|
12
10
|
// src/services/feed-scope-failure.ts
|
|
13
11
|
async function resolveFeedScopeOrFailureAsync2(options, session) {
|
|
@@ -36,4 +34,4 @@ async function resolveFeedScopeOrFailureAsync2(options, session) {
|
|
|
36
34
|
|
|
37
35
|
export { resolveFeedScopeOrFailureAsync2 };
|
|
38
36
|
|
|
39
|
-
//# debugId=
|
|
37
|
+
//# debugId=A27212915EB0418664756E2164756E21
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
catchError
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-gb3dq79g.js";
|
|
4
4
|
|
|
5
5
|
// src/services/governance-options.ts
|
|
6
6
|
var GOVERNANCE_OPTION_INSTRUCTIONS2 = "Pass a value for that option — a policy file path for --governance-file-path, " + "or a product such as StudioWeb for --governance-product — or drop the flag " + "to analyze with the rules shipped with the WorkflowCompiler.";
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
catchError,
|
|
3
3
|
extractErrorDetails
|
|
4
|
-
} from "./packager-tool-
|
|
4
|
+
} from "./packager-tool-gb3dq79g.js";
|
|
5
5
|
import {
|
|
6
6
|
findDeploymentByName2,
|
|
7
|
-
findLiveDeploymentByName2
|
|
8
|
-
|
|
7
|
+
findLiveDeploymentByName2,
|
|
8
|
+
isCompletedUninstall2
|
|
9
|
+
} from "./packager-tool-3qach0s4.js";
|
|
9
10
|
import {
|
|
10
11
|
resolvePersonalWorkspace,
|
|
11
12
|
listSelectablePublishLocations,
|
|
12
13
|
folderKeyInitOverride2,
|
|
13
14
|
feedScopeInitOverride2
|
|
14
|
-
} from "./packager-tool-
|
|
15
|
+
} from "./packager-tool-7j920ac5.js";
|
|
15
16
|
|
|
16
17
|
// src/services/deployment-feed-locator.ts
|
|
17
18
|
var sweepResult = (location, skipped) => ({
|
|
@@ -66,7 +67,10 @@ async function nonTenantFeedsAsync(options) {
|
|
|
66
67
|
};
|
|
67
68
|
}
|
|
68
69
|
async function findDeploymentAcrossFeeds(auth, deploymentName, options) {
|
|
69
|
-
const
|
|
70
|
+
const uninstalled = options.uninstalled ?? "skip";
|
|
71
|
+
const find = uninstalled === "skip" ? findLiveDeploymentByName2 : findDeploymentByName2;
|
|
72
|
+
const defersToLive = (deployment) => uninstalled === "fallback" && isCompletedUninstall2(deployment);
|
|
73
|
+
let uninstallRecord;
|
|
70
74
|
const { selectedFeed } = options;
|
|
71
75
|
if (selectedFeed) {
|
|
72
76
|
const scope = feedScopeInitOverride2(selectedFeed);
|
|
@@ -94,7 +98,10 @@ async function findDeploymentAcrossFeeds(auth, deploymentName, options) {
|
|
|
94
98
|
]);
|
|
95
99
|
}
|
|
96
100
|
if (tenantMatch) {
|
|
97
|
-
|
|
101
|
+
if (!defersToLive(tenantMatch)) {
|
|
102
|
+
return sweepResult({ deployment: tenantMatch }, []);
|
|
103
|
+
}
|
|
104
|
+
uninstallRecord = { deployment: tenantMatch };
|
|
98
105
|
}
|
|
99
106
|
const { feeds, skipped } = await nonTenantFeedsAsync(options);
|
|
100
107
|
for (const feed of feeds) {
|
|
@@ -109,10 +116,13 @@ async function findDeploymentAcrossFeeds(auth, deploymentName, options) {
|
|
|
109
116
|
continue;
|
|
110
117
|
}
|
|
111
118
|
if (deployment) {
|
|
112
|
-
|
|
119
|
+
if (!defersToLive(deployment)) {
|
|
120
|
+
return sweepResult({ deployment, scope, feed }, skipped);
|
|
121
|
+
}
|
|
122
|
+
uninstallRecord ??= { deployment, scope, feed };
|
|
113
123
|
}
|
|
114
124
|
}
|
|
115
|
-
return sweepResult(
|
|
125
|
+
return sweepResult(uninstallRecord, skipped);
|
|
116
126
|
}
|
|
117
127
|
|
|
118
128
|
// src/services/incomplete-feed-sweep.ts
|
|
@@ -137,6 +147,12 @@ function describeSkippedFeed(feed) {
|
|
|
137
147
|
return feed.name ? `folder feed '${feed.name}'${noKey}` : `a folder feed${noKey}`;
|
|
138
148
|
}
|
|
139
149
|
}
|
|
150
|
+
function unsearchedFeedsNextStep(skipped) {
|
|
151
|
+
const feeds = skipped.map(describeSkippedFeed).join(", ");
|
|
152
|
+
const flags = oneFeedFlags(skipped);
|
|
153
|
+
const oneFeed = flags.length ? ` To look in one feed directly, pass ${flags.join(" or ")}.` : "";
|
|
154
|
+
return `This record shows the deployment uninstalled, but these feeds could not be searched and may hold a live deployment of the same name: ${feeds}.${oneFeed}`;
|
|
155
|
+
}
|
|
140
156
|
function retryAdvice(errorCode, retry, service) {
|
|
141
157
|
switch (errorCode) {
|
|
142
158
|
case "authentication_required":
|
|
@@ -188,6 +204,6 @@ async function reportIncompleteSweepAsync(deploymentName, skipped) {
|
|
|
188
204
|
};
|
|
189
205
|
}
|
|
190
206
|
|
|
191
|
-
export { findDeploymentAcrossFeeds, isNameOrFeedRefusal, INCOMPLETE_SWEEP_ADVICE, retryAdvice, reportIncompleteSweepAsync };
|
|
207
|
+
export { findDeploymentAcrossFeeds, isNameOrFeedRefusal, INCOMPLETE_SWEEP_ADVICE, unsearchedFeedsNextStep, retryAdvice, reportIncompleteSweepAsync };
|
|
192
208
|
|
|
193
|
-
//# debugId=
|
|
209
|
+
//# debugId=DF4C9765E5FEB83464756E2164756E21
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
// ../../node_modules/@uipath/resource-builder-sdk/dist/exceptions/error-codes.js
|
|
2
|
+
var ErrorCodes = {
|
|
3
|
+
UnknownException: "0000",
|
|
4
|
+
AuthorizationException: "0004",
|
|
5
|
+
AuthenticationFailed: "0004",
|
|
6
|
+
ResourceNotFound: "1000",
|
|
7
|
+
FolderNotFound: "1001",
|
|
8
|
+
ResourcesNotFound: "1002",
|
|
9
|
+
ResourceLinkRemovedFromSource: "1003",
|
|
10
|
+
ImportCancelled: "1005",
|
|
11
|
+
InvalidBindings: "1006",
|
|
12
|
+
FileNotFound: "1008",
|
|
13
|
+
BindingsFileNotFound: "1010",
|
|
14
|
+
BindingsResourceCannotBeOverridden: "1011",
|
|
15
|
+
BindingsResourceNotFound: "1012",
|
|
16
|
+
NullOrEmptyAccessToken: "1013",
|
|
17
|
+
InvalidInput: "InvalidInput",
|
|
18
|
+
InvalidConfiguration: "InvalidConfiguration",
|
|
19
|
+
Resources: {
|
|
20
|
+
InvalidApiVersion: "2001",
|
|
21
|
+
InvalidName: "2002",
|
|
22
|
+
DuplicateProperties: "2003",
|
|
23
|
+
DuplicateResourceName: "2004",
|
|
24
|
+
PropertyIsRequired: "2005",
|
|
25
|
+
ChoiceTypeMissingOrInvalid: "2006",
|
|
26
|
+
InvalidPropertyType: "2007",
|
|
27
|
+
InvalidEnumValue: "2008",
|
|
28
|
+
InvalidChoiceValue: "2009",
|
|
29
|
+
RegularExpressionDoesNotMatch: "2010",
|
|
30
|
+
InvalidMultiselectValue: "2011",
|
|
31
|
+
ValueOutOfRange: "2012",
|
|
32
|
+
DeletingHiddenResourceIsNotAllowed: "2013",
|
|
33
|
+
InvalidResourceMetadataIdentifier: "2014",
|
|
34
|
+
DeletingProjectArtefactResourceIsNotAllowed: "2015",
|
|
35
|
+
ResourceHasNoFile: "2017",
|
|
36
|
+
InvalidResourceType: "2018",
|
|
37
|
+
DeletingResourceThatIsReferencedByOtherResourcesIsNotAllowed: "2019",
|
|
38
|
+
SyncingProcessArtefactResourceIsNotAllowed: "2020",
|
|
39
|
+
MissingDependencies: "2021",
|
|
40
|
+
MissingFileDependencies: "2022",
|
|
41
|
+
ResourceAttributeMismatch: "2023",
|
|
42
|
+
AppSystemNameConflict: "2024",
|
|
43
|
+
InvalidResourceFile: "2025",
|
|
44
|
+
DuplicatePackageName: "2026",
|
|
45
|
+
TooManySearchKinds: "2027",
|
|
46
|
+
SearchTypesWithSeveralKinds: "2028",
|
|
47
|
+
FileAttachNotSupported: "2029",
|
|
48
|
+
InvalidAttachedFile: "2030",
|
|
49
|
+
ResourceNotFound: "1000",
|
|
50
|
+
ResourceAlreadyExists: "Resources.ResourceAlreadyExists",
|
|
51
|
+
ResourceDependencyNotFound: "Resources.ResourceDependencyNotFound",
|
|
52
|
+
FileDependencyNotFound: "Resources.FileDependencyNotFound",
|
|
53
|
+
PropertyInvalidFormat: "Resources.PropertyInvalidFormat",
|
|
54
|
+
PropertyInvalidValue: "Resources.PropertyInvalidValue",
|
|
55
|
+
SecretNotFound: "Resources.SecretNotFound"
|
|
56
|
+
},
|
|
57
|
+
Solutions: {
|
|
58
|
+
ConfigurationNotFound: "3002",
|
|
59
|
+
SolutionNotFound: "3001",
|
|
60
|
+
SolutionInvalidState: "Solution.SolutionInvalidState",
|
|
61
|
+
SolutionReadOnly: "Solution.SolutionReadOnly"
|
|
62
|
+
},
|
|
63
|
+
Metadata: {
|
|
64
|
+
ResourceMetadataNotFound: "5001"
|
|
65
|
+
},
|
|
66
|
+
Project: {
|
|
67
|
+
ProjectNotFound: "Project.ProjectNotFound",
|
|
68
|
+
ProjectAlreadyExists: "Project.ProjectAlreadyExists",
|
|
69
|
+
ProjectInvalidType: "Project.ProjectInvalidType"
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
export { ErrorCodes };
|
|
74
|
+
|
|
75
|
+
//# debugId=92F7EBE17A7E106A64756E2164756E21
|