@uipath/packager-tool-webapp 1.206.0-preview.301 → 1.207.0-preview.305

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.
@@ -0,0 +1,16 @@
1
+ export type ActionSchemaRootSection = "inputs" | "outputs" | "inOuts" | "outcomes";
2
+ export interface DuplicateActionPropertyName {
3
+ name: string;
4
+ /** Root sections that declare the name, in schema order. Always two or more. */
5
+ sections: ActionSchemaRootSection[];
6
+ }
7
+ /**
8
+ * Names declared by more than one root section. The Apps service generates every
9
+ * root argument as a member of one action class, so it rejects such a schema on a
10
+ * first publish or install. Names under one parent cannot repeat here: in
11
+ * action-schema.json they are JSON object keys. Throws when `raw` is not a
12
+ * valid action schema.
13
+ */
14
+ export declare function findDuplicateActionPropertyNames(raw: string): DuplicateActionPropertyName[];
15
+ /** `'status' in inputs and outputs`, worded like the Apps service's own 400. */
16
+ export declare function describeDuplicateActionPropertyNames(duplicates: readonly DuplicateActionPropertyName[]): string;
@@ -22,6 +22,7 @@
22
22
  * runtime.
23
23
  */
24
24
  export { describeActionApp } from "./describe-action-app.js";
25
+ export { type ActionSchemaRootSection, type DuplicateActionPropertyName, describeDuplicateActionPropertyNames, findDuplicateActionPropertyNames, } from "./duplicate-property-names.js";
25
26
  export { ACTION_SCHEMA_FILE_NAME, isActionApp, loadWebAppManifest, readProjectName, WEBAPP_MANIFEST_FILE_NAME, type WebAppManifestLoad, } from "./manifest-helpers.js";
26
27
  export { parseActionSchema, validateActionSchema } from "./parse.js";
27
28
  export { type JsonActionSchema, JsonActionSchemaValidator, JsonDataType, JsonFormatType, type JsonSchemaProperty, JsonSchemaPropertySchema, type ParsedActionPropertySchema, type ParsedActionSchema, VBDataType, VbArgumentCollectionType, VbArgumentDataTypeNamespace, } from "./types.js";