@uipath/solution-tool 1.1.0 → 1.196.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 +32 -0
- package/dist/deploy.d.ts +27 -0
- package/dist/deploy.js +43244 -0
- package/dist/init.d.ts +6 -0
- package/dist/init.js +10381 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/pack-command-types.d.ts +28 -0
- package/dist/pack.d.ts +6 -0
- package/dist/pack.js +234469 -0
- package/dist/providers/file-storage-provider.d.ts +11 -0
- package/dist/providers/resource-builder-init.d.ts +12 -0
- package/dist/providers/solution-access-provider.d.ts +18 -0
- package/dist/publish.d.ts +7 -0
- package/dist/publish.js +33430 -0
- package/dist/resource.d.ts +7 -0
- package/dist/resource.js +47215 -0
- package/dist/services/activation.d.ts +51 -0
- package/dist/services/auth-helper.d.ts +13 -0
- package/dist/services/deploy-activate-service.d.ts +47 -0
- package/dist/services/deploy-list-service.d.ts +59 -0
- package/dist/services/deploy-run-service.d.ts +102 -0
- package/dist/services/deploy-uninstall-service.d.ts +47 -0
- package/dist/services/deployment-search.d.ts +77 -0
- package/dist/services/emit-runtime-dependencies.d.ts +37 -0
- package/dist/services/entry-point-spec-enhancer.d.ts +31 -0
- package/dist/services/folder-helper.d.ts +24 -0
- package/dist/services/pack-command-service.d.ts +24 -0
- package/dist/services/pack-service.d.ts +32 -0
- package/dist/services/packager-tool-resolver.d.ts +6 -0
- package/dist/services/packages-list-service.d.ts +56 -0
- package/dist/services/personal-workspace-deploy.d.ts +28 -0
- package/dist/services/personal-workspace-resolver.d.ts +28 -0
- package/dist/services/publish-service.d.ts +61 -0
- package/dist/services/resource-refresh-service.d.ts +34 -0
- package/dist/services/solution-init-service.d.ts +37 -0
- package/dist/services/solution-manifest.d.ts +9 -0
- package/dist/services/sync-resources-from-bindings.d.ts +132 -0
- package/dist/templates/AGENTS.md +25 -16
- package/dist/tool.js +20953 -43671
- package/dist/utils/deployment-errors.d.ts +39 -0
- package/package.json +44 -43
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { IFileStorageProvider, IFileStorageProviderFactory, ISolutionContext } from "@uipath/resource-builder-sdk";
|
|
2
|
+
/**
|
|
3
|
+
* Factory for creating FileSystemFileStorageProvider instances.
|
|
4
|
+
*/
|
|
5
|
+
export declare class FileSystemFileStorageProviderFactory implements IFileStorageProviderFactory {
|
|
6
|
+
getProviderAsync(context: ISolutionContext, cancellationToken?: AbortSignal): Promise<IFileStorageProvider>;
|
|
7
|
+
getProviderByPathAsync(basePath: string, _cancellationToken?: AbortSignal): Promise<IFileStorageProvider>;
|
|
8
|
+
getCurrentUserProfileProviderAsync(context: ISolutionContext, cancellationToken?: AbortSignal): Promise<IFileStorageProvider>;
|
|
9
|
+
getUserProfileProviderAsync(context: ISolutionContext, userId: string, _cancellationToken?: AbortSignal): Promise<IFileStorageProvider>;
|
|
10
|
+
getCurrentUserProfileProviderByPathAsync(basePath: string, cancellationToken?: AbortSignal): Promise<IFileStorageProvider>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type IResourceBuilderServices } from "@uipath/resource-builder-sdk";
|
|
2
|
+
/**
|
|
3
|
+
* Creates a configured ResourceBuilderServices instance for CLI usage.
|
|
4
|
+
* Uses SolutionAccessProvider which maps SDK service scopes to full
|
|
5
|
+
* tenant-scoped gateway URLs, enabling server-side SDK operations
|
|
6
|
+
* (updateConfigurationAsync, addOrUpdateResourceToSolutionAsync, etc.).
|
|
7
|
+
*
|
|
8
|
+
* `EntryPointSpecEnhancer` is registered so artefact resources (resources
|
|
9
|
+
* with a `projectKey`) reflect the latest `entry-points.json` from disk at
|
|
10
|
+
* read time, instead of the snapshot captured at `solution project add`.
|
|
11
|
+
*/
|
|
12
|
+
export declare function createResourceBuilderServices(): Promise<IResourceBuilderServices>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { AuthenticationInfo, IAccessProvider } from "@uipath/resource-builder-sdk";
|
|
2
|
+
/**
|
|
3
|
+
* IAccessProvider that maps SDK service scopes to full tenant-scoped URLs.
|
|
4
|
+
* Unlike CliAccessProvider (which returns bare baseUrl), this builds the correct
|
|
5
|
+
* gateway paths that the resource-builder-sdk expects for server-side operations.
|
|
6
|
+
*/
|
|
7
|
+
export declare class SolutionAccessProvider implements IAccessProvider {
|
|
8
|
+
private loginStatus;
|
|
9
|
+
private userKey;
|
|
10
|
+
private getStatus;
|
|
11
|
+
getResourceUrlAsync(scope: string, _cancellationToken?: AbortSignal): Promise<string | null>;
|
|
12
|
+
getResourceUrlWithAuthAsync(scope: string, _authInfo: AuthenticationInfo, _cancellationToken?: AbortSignal): Promise<string | null>;
|
|
13
|
+
getAccessTokenAsync(_scopes: string[], _force?: boolean, _cancellationToken?: AbortSignal): Promise<string | null>;
|
|
14
|
+
getUserKeyAsync(_cancellationToken?: AbortSignal): Promise<string | null>;
|
|
15
|
+
getTenantKeyAsync(_cancellationToken?: AbortSignal): Promise<string | null>;
|
|
16
|
+
getAccountKeyAsync(_cancellationToken?: AbortSignal): Promise<string | null>;
|
|
17
|
+
isGatewayIntegrationEnabled(): boolean;
|
|
18
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Public `@uipath/solution-tool/publish` entry: programmatic `.zip` upload +
|
|
3
|
+
* optional poll-until-terminal for SDK consumers. Returns a tagged
|
|
4
|
+
* `PublishResult` (success or discriminated failure). Mirrors `./pack`.
|
|
5
|
+
*/
|
|
6
|
+
export type { PublishFailure, PublishFailureReason, PublishOptions, PublishResult, PublishSuccess, } from "./services/publish-service";
|
|
7
|
+
export { publishSolutionAsync } from "./services/publish-service";
|