@uipath/ontology-tool 1.207.0-preview.396 → 1.207.0-preview.399
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-s5xhee2c.js → index-9hbfe67f.js} +2 -2
- package/dist/index.js +4 -4
- package/dist/{inline-jqd3vt3r.js → inline-1x4zr37q.js} +4 -4
- package/dist/{inline-zz6vvray.js → inline-jvjvnb90.js} +1 -1
- package/dist/{ontology-live-tnvyfnh3.js → ontology-live-txahb1ma.js} +5 -5
- package/dist/{sdk-client-knfd9z5r.js → sdk-client-9794mvw7.js} +3 -3
- package/dist/{service-validation-rqjc3a9f.js → service-validation-gsb8bs1r.js} +2 -2
- package/dist/{tool-sgrs0rhy.js → tool-9vgp1bfa.js} +1 -1
- package/dist/{tool-b4rxpt4h.js → tool-h4pkhvp6.js} +6 -4
- package/dist/{tool-w4x39zpe.js → tool-m5bj5t4t.js} +9 -9
- package/dist/{tool-1y1ef6qy.js → tool-nvpjb84n.js} +1 -1
- package/dist/{tool-5ybsrypf.js → tool-ps5fq9wp.js} +1 -1
- package/dist/{tool-vajrgdtr.js → tool-x0p94b19.js} +2 -2
- package/dist/tool.js +4 -4
- package/package.json +2 -2
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
getSdkUserAgentToken,
|
|
7
7
|
addSdkUserAgentHeader,
|
|
8
8
|
installSdkUserAgentHeader
|
|
9
|
-
} from "./tool-
|
|
9
|
+
} from "./tool-h4pkhvp6.js";
|
|
10
10
|
import"./tool-nycpvpet.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonSerializerFactory2,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
resolveSessionIdentity,
|
|
20
20
|
getLoginStatusAsync,
|
|
21
21
|
getAuthContext
|
|
22
|
-
} from "./tool-
|
|
22
|
+
} from "./tool-nvpjb84n.js";
|
|
23
23
|
// ../packager/packager-core/src/i18n/types.ts
|
|
24
24
|
function isPluralForm(value) {
|
|
25
25
|
return typeof value === "object" && value !== null && "other" in value;
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import {
|
|
3
3
|
Command
|
|
4
|
-
} from "./tool-
|
|
4
|
+
} from "./tool-h4pkhvp6.js";
|
|
5
5
|
import"./tool-nycpvpet.js";
|
|
6
|
-
import"./tool-
|
|
6
|
+
import"./tool-x0p94b19.js";
|
|
7
7
|
import {
|
|
8
8
|
metadata2,
|
|
9
9
|
registerCommands2
|
|
10
|
-
} from "./tool-
|
|
11
|
-
import"./tool-
|
|
10
|
+
} from "./tool-m5bj5t4t.js";
|
|
11
|
+
import"./tool-ps5fq9wp.js";
|
|
12
12
|
|
|
13
13
|
// src/index.ts
|
|
14
14
|
var program = new Command;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem,
|
|
3
3
|
logger
|
|
4
|
-
} from "./tool-
|
|
4
|
+
} from "./tool-h4pkhvp6.js";
|
|
5
5
|
import"./tool-nycpvpet.js";
|
|
6
6
|
import {
|
|
7
7
|
ONTOLOGY_RESOURCE_KIND,
|
|
@@ -195,7 +195,7 @@ function linkOf(field) {
|
|
|
195
195
|
return;
|
|
196
196
|
}
|
|
197
197
|
async function readLocalEntityColumnsAsync(solutionFolder) {
|
|
198
|
-
const { inlineEntityGetAsync, inlineEntityListAllAsync } = await import("./inline-
|
|
198
|
+
const { inlineEntityGetAsync, inlineEntityListAllAsync } = await import("./inline-jvjvnb90.js");
|
|
199
199
|
const rows = await inlineEntityListAllAsync({ cwd: solutionFolder });
|
|
200
200
|
const columns = [];
|
|
201
201
|
const withProject = (await Promise.all(rows.filter((row) => row.projectName !== undefined).map(projectEntityNamesAsync))).flat();
|
|
@@ -402,7 +402,7 @@ async function findResourceFileAsync(solutionFolder, key) {
|
|
|
402
402
|
|
|
403
403
|
// ../packager/packager-tool-ontology/src/inline/solution-session.ts
|
|
404
404
|
async function openSolutionSessionAsync(solutionFolder, options = {}) {
|
|
405
|
-
const { createLocalResource, createResourceBuilderServices } = await import("./index-
|
|
405
|
+
const { createLocalResource, createResourceBuilderServices } = await import("./index-9hbfe67f.js");
|
|
406
406
|
const { ErrorCodes } = await import("./index-n58agv5e.js");
|
|
407
407
|
const services = await createResourceBuilderServices();
|
|
408
408
|
const builder = await services.getSolutionBuilder(solutionFolder, options.readOnly === true);
|
|
@@ -609,7 +609,7 @@ async function removeHalfCreatedAsync(session, created, original) {
|
|
|
609
609
|
}
|
|
610
610
|
}
|
|
611
611
|
async function ontologyCreateAsync(name, init, options = {}) {
|
|
612
|
-
const { validateResourceName } = await import("./index-
|
|
612
|
+
const { validateResourceName } = await import("./index-9hbfe67f.js");
|
|
613
613
|
const valid = validateResourceName(name, { optionName: "<Name>" });
|
|
614
614
|
if (!valid.ok) {
|
|
615
615
|
throw new OntologyInlineError(valid.message, valid.instructions, "InvalidOntologyName");
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
catchError,
|
|
3
3
|
OutputFormatter,
|
|
4
4
|
reportFailure
|
|
5
|
-
} from "./tool-
|
|
5
|
+
} from "./tool-h4pkhvp6.js";
|
|
6
6
|
import"./tool-nycpvpet.js";
|
|
7
7
|
import {
|
|
8
8
|
failWithDomainCode,
|
|
9
9
|
succeed,
|
|
10
10
|
listWindow
|
|
11
|
-
} from "./tool-
|
|
11
|
+
} from "./tool-x0p94b19.js";
|
|
12
12
|
import {
|
|
13
13
|
isOntologyServiceMissing,
|
|
14
14
|
ontologyNotSupported
|
|
15
|
-
} from "./tool-
|
|
15
|
+
} from "./tool-9vgp1bfa.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/ontology-live.ts
|
|
18
18
|
var folderLabel = (folder) => ("folderKey" in folder) ? folder.folderKey : folder.folderPath;
|
|
@@ -25,7 +25,7 @@ var liveSummary = (item, folder) => ({
|
|
|
25
25
|
});
|
|
26
26
|
var failNotSupported = (code, error) => OutputFormatter.error({ Code: code, ...ontologyNotSupported(error) });
|
|
27
27
|
async function listLiveOntologies(folder, window = {}) {
|
|
28
|
-
const { connectOrFail } = await import("./sdk-client-
|
|
28
|
+
const { connectOrFail } = await import("./sdk-client-9794mvw7.js");
|
|
29
29
|
const svc = await connectOrFail();
|
|
30
30
|
if (!svc)
|
|
31
31
|
return;
|
|
@@ -44,7 +44,7 @@ async function listLiveOntologies(folder, window = {}) {
|
|
|
44
44
|
var notFound = (name, folder) => failWithDomainCode("OntologyNotFound", `No ontology '${name}' in folder '${folderLabel(folder)}'`, "folderKey" in folder ? "Check the folder key and the deployed name (the new name if the deploy used RenameInSolution). 'uip ont list --folder-key <key>' lists what is there." : "Check the folder path and the deployed name (the new name if the deploy used RenameInSolution). 'uip ont list --folder-path <path>' lists what is there.");
|
|
45
45
|
var isNotFoundError = (error) => error.statusCode === 404 || error.status === 404;
|
|
46
46
|
async function getLiveOntology(name, folder) {
|
|
47
|
-
const { connectOrFail } = await import("./sdk-client-
|
|
47
|
+
const { connectOrFail } = await import("./sdk-client-9794mvw7.js");
|
|
48
48
|
const svc = await connectOrFail();
|
|
49
49
|
if (!svc)
|
|
50
50
|
return;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getLoginStatusAsync
|
|
3
|
-
} from "./tool-
|
|
3
|
+
} from "./tool-nvpjb84n.js";
|
|
4
4
|
import {
|
|
5
5
|
catchError,
|
|
6
6
|
reportFailure
|
|
7
|
-
} from "./tool-
|
|
7
|
+
} from "./tool-h4pkhvp6.js";
|
|
8
8
|
import"./tool-nycpvpet.js";
|
|
9
9
|
import {
|
|
10
10
|
require_src
|
|
11
11
|
} from "./tool-4b88bsfh.js";
|
|
12
12
|
import {
|
|
13
13
|
failNotLoggedIn
|
|
14
|
-
} from "./tool-
|
|
14
|
+
} from "./tool-ps5fq9wp.js";
|
|
15
15
|
import {
|
|
16
16
|
__toESM,
|
|
17
17
|
__commonJS,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RESULTS,
|
|
3
3
|
extractErrorDetails
|
|
4
|
-
} from "./tool-
|
|
4
|
+
} from "./tool-h4pkhvp6.js";
|
|
5
5
|
import"./tool-nycpvpet.js";
|
|
6
6
|
import {
|
|
7
7
|
isOntologyServiceMissing,
|
|
8
8
|
ontologyNotSupported
|
|
9
|
-
} from "./tool-
|
|
9
|
+
} from "./tool-9vgp1bfa.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/service-validation.ts
|
|
12
12
|
class ServiceValidationError extends Error {
|
|
@@ -2317,8 +2317,10 @@ function pseudonymize(input) {
|
|
|
2317
2317
|
// ../common/src/singleton.ts
|
|
2318
2318
|
var PREFIX = "@uipath/common/";
|
|
2319
2319
|
var _g = globalThis;
|
|
2320
|
-
function singleton(
|
|
2321
|
-
|
|
2320
|
+
function singleton(name) {
|
|
2321
|
+
if (typeof name !== "string") {
|
|
2322
|
+
throw new TypeError("singleton() takes a string name. A class name is not stable across bundles.");
|
|
2323
|
+
}
|
|
2322
2324
|
const key = Symbol.for(PREFIX + name);
|
|
2323
2325
|
return {
|
|
2324
2326
|
get(fallback) {
|
|
@@ -3779,7 +3781,7 @@ class SimpleLogger {
|
|
|
3779
3781
|
}
|
|
3780
3782
|
};
|
|
3781
3783
|
}
|
|
3782
|
-
var loggerSingleton = singleton(SimpleLogger);
|
|
3784
|
+
var loggerSingleton = singleton("SimpleLogger");
|
|
3783
3785
|
var logger = SimpleLogger.getInstance();
|
|
3784
3786
|
function getLogFilePath() {
|
|
3785
3787
|
return logger.getLogFilePath();
|
|
@@ -7099,4 +7101,4 @@ var shippedKeysSlot = singleton("ShipSucceededDedupeKeys");
|
|
|
7099
7101
|
var factorySlot = singleton("PackagerFactoryProvider");
|
|
7100
7102
|
export { getFileSystem, catchError, RESULTS, extractErrorDetails, notSupportedFailure, Command, Option, logger, Pagination, OutputFormatter, processContext, validateNameFormat, isGuid, parseLimit, parseOffset, reportFailure, getSdkUserAgentToken, addSdkUserAgentHeader, installSdkUserAgentHeader };
|
|
7101
7103
|
|
|
7102
|
-
//# debugId=
|
|
7104
|
+
//# debugId=0F08920B5FC18D5864756E2164756E21
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
Option,
|
|
5
5
|
OutputFormatter,
|
|
6
6
|
processContext
|
|
7
|
-
} from "./tool-
|
|
7
|
+
} from "./tool-h4pkhvp6.js";
|
|
8
8
|
import {
|
|
9
9
|
failWithDomainCode,
|
|
10
10
|
failLocalRequired,
|
|
@@ -18,16 +18,16 @@ import {
|
|
|
18
18
|
run,
|
|
19
19
|
addListWindowOptions,
|
|
20
20
|
listWindow
|
|
21
|
-
} from "./tool-
|
|
21
|
+
} from "./tool-x0p94b19.js";
|
|
22
22
|
import {
|
|
23
23
|
failInvalidArgument
|
|
24
|
-
} from "./tool-
|
|
24
|
+
} from "./tool-ps5fq9wp.js";
|
|
25
25
|
// package.json
|
|
26
26
|
var package_default = {
|
|
27
27
|
name: "@uipath/ontology-tool",
|
|
28
28
|
author: "UiPath",
|
|
29
29
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
30
|
-
version: "1.207.0-preview.
|
|
30
|
+
version: "1.207.0-preview.399",
|
|
31
31
|
description: "Check UiPath ontology artifact files locally.",
|
|
32
32
|
private: false,
|
|
33
33
|
repository: {
|
|
@@ -396,7 +396,7 @@ var registerOntologyCommands = (program) => {
|
|
|
396
396
|
if (!scope)
|
|
397
397
|
return;
|
|
398
398
|
if (scope !== "local") {
|
|
399
|
-
const { getLiveOntology } = await import("./ontology-live-
|
|
399
|
+
const { getLiveOntology } = await import("./ontology-live-txahb1ma.js");
|
|
400
400
|
return getLiveOntology(name, scope);
|
|
401
401
|
}
|
|
402
402
|
const result = await run((lib) => lib.ontologyGetAsync(name, inSolution(options)));
|
|
@@ -408,7 +408,7 @@ var registerOntologyCommands = (program) => {
|
|
|
408
408
|
if (!scope)
|
|
409
409
|
return;
|
|
410
410
|
if (scope !== "local") {
|
|
411
|
-
const { listLiveOntologies } = await import("./ontology-live-
|
|
411
|
+
const { listLiveOntologies } = await import("./ontology-live-txahb1ma.js");
|
|
412
412
|
return listLiveOntologies(scope, options);
|
|
413
413
|
}
|
|
414
414
|
const result = await run((lib) => lib.ontologyListAsync(inSolution(options)));
|
|
@@ -451,14 +451,14 @@ var entryOf = (name, violations, serviceValidation) => ({
|
|
|
451
451
|
});
|
|
452
452
|
var needsService = (result) => !hasError(result.violations);
|
|
453
453
|
async function withServiceResultsAsync(results, localEntries) {
|
|
454
|
-
const { connectOrFail } = await import("./sdk-client-
|
|
454
|
+
const { connectOrFail } = await import("./sdk-client-9794mvw7.js");
|
|
455
455
|
const service = await connectOrFail(undefined, (hint) => {
|
|
456
456
|
failWithEntries("ServiceValidationUnavailable", "Not logged in; the ontology service check could not run", `${hint} Run 'uip login'; validation always needs the ontology service.`, "authentication_required", localEntries, RESULTS.AuthenticationError);
|
|
457
457
|
});
|
|
458
458
|
if (!service)
|
|
459
459
|
return;
|
|
460
460
|
const { ARTIFACT_TYPE_INFO } = await import("./index-54ywa7rb.js");
|
|
461
|
-
const sv = await import("./service-validation-
|
|
461
|
+
const sv = await import("./service-validation-gsb8bs1r.js");
|
|
462
462
|
const serviceViolations = async (artifact) => {
|
|
463
463
|
const result = await sv.validateArtifactContent({
|
|
464
464
|
fileName: artifact.fileName,
|
|
@@ -556,4 +556,4 @@ var registerCommands2 = async (program) => {
|
|
|
556
556
|
|
|
557
557
|
export { metadata2, registerCommands2 };
|
|
558
558
|
|
|
559
|
-
//# debugId=
|
|
559
|
+
//# debugId=1FE0A15526BD6E0564756E2164756E21
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
parseLimit,
|
|
6
6
|
parseOffset,
|
|
7
7
|
reportFailure
|
|
8
|
-
} from "./tool-
|
|
8
|
+
} from "./tool-h4pkhvp6.js";
|
|
9
9
|
|
|
10
10
|
// src/utils/ontology-output.ts
|
|
11
11
|
var NOT_FOUND = new Set([
|
|
@@ -101,7 +101,7 @@ var inSolution = (options) => ({
|
|
|
101
101
|
solutionFolder: options.solutionFolder
|
|
102
102
|
});
|
|
103
103
|
async function run(call) {
|
|
104
|
-
const lib = await import("./inline-
|
|
104
|
+
const lib = await import("./inline-1x4zr37q.js");
|
|
105
105
|
try {
|
|
106
106
|
return { value: await call(lib) };
|
|
107
107
|
} catch (error) {
|
package/dist/tool.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
metadata2,
|
|
3
3
|
registerCommands2
|
|
4
|
-
} from "./tool-
|
|
5
|
-
import"./tool-
|
|
6
|
-
import"./tool-
|
|
7
|
-
import"./tool-
|
|
4
|
+
} from "./tool-m5bj5t4t.js";
|
|
5
|
+
import"./tool-ps5fq9wp.js";
|
|
6
|
+
import"./tool-x0p94b19.js";
|
|
7
|
+
import"./tool-h4pkhvp6.js";
|
|
8
8
|
import"./tool-nycpvpet.js";
|
|
9
9
|
export {
|
|
10
10
|
metadata2 as metadata,
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@uipath/ontology-tool",
|
|
3
3
|
"author": "UiPath",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
|
-
"version": "1.207.0-preview.
|
|
5
|
+
"version": "1.207.0-preview.399",
|
|
6
6
|
"description": "Check UiPath ontology artifact files locally.",
|
|
7
7
|
"private": false,
|
|
8
8
|
"repository": {
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"files": [
|
|
28
28
|
"dist"
|
|
29
29
|
],
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "040ed6e68e4b6e5268c0efc17f67d7309de8c630"
|
|
31
31
|
}
|