@uipath/flow-tool 1.0.4 → 1.1.0
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/README.md +15 -18
- package/dist/packager-tool.js +5148 -586
- package/dist/services/connector-binding-validator.d.ts +95 -0
- package/dist/services/flow-validate-service.d.ts +93 -0
- package/dist/services/node-service.d.ts +94 -0
- package/dist/services/node-validators/index.d.ts +1 -0
- package/dist/services/node-validators/ixp-node-validator.d.ts +2 -0
- package/dist/services/packaging-utils.d.ts +107 -0
- package/dist/tool.js +76773 -37209
- package/dist/utils/flow-io.d.ts +11 -0
- package/dist/validation.js +10469 -2539
- package/package.json +12 -20
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Workflow } from "@uipath/flow-core";
|
|
2
|
+
import { type RefMap } from "@uipath/flow-schema";
|
|
3
|
+
/** Read result: resolved workflow and the $ref chunk map for round-trip writes. */
|
|
4
|
+
export interface ReadFlowResult {
|
|
5
|
+
workflow: Workflow;
|
|
6
|
+
refMap: RefMap;
|
|
7
|
+
}
|
|
8
|
+
/** Read a .flow file, resolve any `$ref` chunks, and normalize layout into nodes. */
|
|
9
|
+
export declare function readFlowWorkflow(filePath: string): Promise<ReadFlowResult>;
|
|
10
|
+
/** Write a workflow back to disk; pass `refMap` from `readFlowWorkflow` to preserve `$ref` chunks. */
|
|
11
|
+
export declare function writeFlowWorkflow(filePath: string, workflow: Workflow, refMap?: RefMap): Promise<void>;
|