@salesforce/vscode-services 65.2.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/LICENSE.txt +27 -0
- package/README.md +92 -0
- package/out/constants.d.ts +7 -0
- package/out/core/configService.d.ts +14 -0
- package/out/core/connectionService.d.ts +15 -0
- package/out/core/defaultOrgService.d.ts +24 -0
- package/out/core/metadataDescribeService.d.ts +30 -0
- package/out/core/metadataRegistryService.d.ts +15 -0
- package/out/core/metadataRetrieveService.d.ts +26 -0
- package/out/core/projectService.d.ts +16 -0
- package/out/core/schemas/describeMetadataObject.d.ts +12 -0
- package/out/core/schemas/fileProperties.d.ts +18 -0
- package/out/core/shared.d.ts +5 -0
- package/out/core/sourceTrackingService.d.ts +20 -0
- package/out/extensionScope.d.ts +5 -0
- package/out/index.d.ts +41 -0
- package/out/observability/appInsights.d.ts +4 -0
- package/out/observability/applicationInsightsWebExporter.d.ts +16 -0
- package/out/observability/localTracing.d.ts +9 -0
- package/out/observability/spanTransformProcessor.d.ts +7 -0
- package/out/observability/spans.d.ts +2 -0
- package/out/observability/spansNode.d.ts +2 -0
- package/out/observability/spansWeb.d.ts +2 -0
- package/out/virtualFsProvider/constants.d.ts +2 -0
- package/out/virtualFsProvider/fileSystemProvider.d.ts +28 -0
- package/out/virtualFsProvider/fsTypes.d.ts +25 -0
- package/out/virtualFsProvider/indexedDbStorage.d.ts +19 -0
- package/out/virtualFsProvider/memfsWatcher.d.ts +8 -0
- package/out/virtualFsProvider/projectInit.d.ts +6 -0
- package/out/virtualFsProvider/templates/forceignore.d.ts +2 -0
- package/out/virtualFsProvider/templates/gitignore.d.ts +2 -0
- package/out/virtualFsProvider/templates/jestConfig.d.ts +2 -0
- package/out/virtualFsProvider/templates/metadataDirs.d.ts +2 -0
- package/out/virtualFsProvider/templates/prettierignore.d.ts +2 -0
- package/out/virtualFsProvider/templates/prettierrc.d.ts +2 -0
- package/out/virtualFsProvider/templates/readme.d.ts +2 -0
- package/out/virtualFsProvider/templates/sfdxProject.d.ts +2 -0
- package/out/virtualFsProvider/templates/templates.d.ts +15 -0
- package/out/virtualFsProvider/templates/tsconfig.d.ts +2 -0
- package/out/virtualFsProvider/templates/vscodeSettings.d.ts +2 -0
- package/out/vscode/cancellation.d.ts +4 -0
- package/out/vscode/channelService.d.ts +22 -0
- package/out/vscode/fsService.d.ts +25 -0
- package/out/vscode/settingsService.d.ts +47 -0
- package/out/vscode/workspaceService.d.ts +19 -0
- package/package.json +58 -0
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Copyright (c) 2025 Salesforce, Inc.
|
|
2
|
+
All rights reserved.
|
|
3
|
+
|
|
4
|
+
Redistribution and use in source and binary forms, with or without modification,
|
|
5
|
+
are permitted provided that the following conditions are met:
|
|
6
|
+
|
|
7
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
8
|
+
list of conditions and the following disclaimer.
|
|
9
|
+
|
|
10
|
+
2. Redistributions in binary form must reproduce the above copyright notice, this
|
|
11
|
+
list of conditions and the following disclaimer in the documentation and/or
|
|
12
|
+
other materials provided with the distribution.
|
|
13
|
+
|
|
14
|
+
3. Neither the name of Salesforce nor the names of its contributors may be
|
|
15
|
+
used to endorse or promote products derived from this software without specific
|
|
16
|
+
prior written permission.
|
|
17
|
+
|
|
18
|
+
THIS SOFTWARE IS PROVIDED BY SALESFORCE AND CONTRIBUTORS "AS IS" AND
|
|
19
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
20
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
21
|
+
DISCLAIMED. IN NO EVENT SHALL SALESFORCE OR CONTRIBUTORS BE LIABLE FOR
|
|
22
|
+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
23
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
24
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
|
25
|
+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
26
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
27
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
package/README.md
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# @salesforce/vscode-services
|
|
2
|
+
|
|
3
|
+
TypeScript type definitions for the Salesforce VS Code Services extension API.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
This package provides TypeScript type definitions for consuming the Salesforce VS Code Services extension API. It contains only type declarations (`.d.ts` files) with no runtime code, making it lightweight and suitable for type-checking during development.
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install --save-dev @salesforce/vscode-services
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
Import the type definitions in your VS Code extension to get type safety when consuming the Salesforce Services API:
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import type { SalesforceVSCodeServicesApi } from '@salesforce/vscode-services';
|
|
21
|
+
import * as vscode from 'vscode';
|
|
22
|
+
|
|
23
|
+
// Get the Salesforce Services extension API with proper typing
|
|
24
|
+
const extension = vscode.extensions.getExtension('salesforce.salesforcedx-vscode-services');
|
|
25
|
+
const api: SalesforceVSCodeServicesApi | undefined = extension?.exports;
|
|
26
|
+
|
|
27
|
+
if (api) {
|
|
28
|
+
// Access services with full type support
|
|
29
|
+
const { ConnectionService, ProjectService, ChannelService } = api.services;
|
|
30
|
+
|
|
31
|
+
// Use the services in your extension
|
|
32
|
+
// All methods and properties are fully typed
|
|
33
|
+
}
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Example: Using Services in Your Extension
|
|
37
|
+
|
|
38
|
+
```typescript
|
|
39
|
+
import type { SalesforceVSCodeServicesApi } from '@salesforce/vscode-services';
|
|
40
|
+
import * as vscode from 'vscode';
|
|
41
|
+
|
|
42
|
+
export const activate = async (context: vscode.ExtensionContext) => {
|
|
43
|
+
const sfServices = vscode.extensions.getExtension<SalesforceVSCodeServicesApi>(
|
|
44
|
+
'salesforce.salesforcedx-vscode-services'
|
|
45
|
+
);
|
|
46
|
+
|
|
47
|
+
if (!sfServices?.exports) {
|
|
48
|
+
throw new Error('Salesforce Services extension not available');
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
const { services } = sfServices.exports;
|
|
52
|
+
|
|
53
|
+
// Now you have access to all services with full type safety
|
|
54
|
+
// services.ConnectionService
|
|
55
|
+
// services.ProjectService
|
|
56
|
+
// services.ChannelService
|
|
57
|
+
// services.WorkspaceService
|
|
58
|
+
// ... and more
|
|
59
|
+
};
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## What's Included
|
|
63
|
+
|
|
64
|
+
This package exports:
|
|
65
|
+
|
|
66
|
+
- **`SalesforceVSCodeServicesApi`** - The complete type definition for the extension's public API
|
|
67
|
+
- Includes type definitions for all service classes
|
|
68
|
+
- Provides access to service tags and implementations
|
|
69
|
+
- Fully typed method signatures and return types
|
|
70
|
+
|
|
71
|
+
**All internal implementation details are protected.** The package uses Node.js `exports` field to restrict imports to only the main entry point. You cannot directly import internal types or constants.
|
|
72
|
+
|
|
73
|
+
## Package Contents
|
|
74
|
+
|
|
75
|
+
This package bundles:
|
|
76
|
+
|
|
77
|
+
- Type definitions for the public API
|
|
78
|
+
- Type definitions for all transitive dependencies
|
|
79
|
+
- No runtime code or JavaScript files
|
|
80
|
+
|
|
81
|
+
## Development
|
|
82
|
+
|
|
83
|
+
This package is automatically generated from the source code of the `salesforcedx-vscode-services` extension. Types and dependency versions are kept in sync with the parent package.
|
|
84
|
+
|
|
85
|
+
## License
|
|
86
|
+
|
|
87
|
+
BSD-3-Clause
|
|
88
|
+
|
|
89
|
+
## Support
|
|
90
|
+
|
|
91
|
+
For issues or questions, please file an issue at:
|
|
92
|
+
<https://github.com/forcedotcom/salesforcedx-vscode/issues>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const sampleProjectName = "MyProject";
|
|
2
|
+
export declare const CODE_BUILDER_WEB_SECTION = "salesforcedx-vscode-code-builder-web";
|
|
3
|
+
export declare const SALESFORCE_DX_SECTION = "salesforcedx-vscode-salesforcedx";
|
|
4
|
+
export declare const INSTANCE_URL_KEY = "instanceUrl";
|
|
5
|
+
export declare const ACCESS_TOKEN_KEY = "accessToken";
|
|
6
|
+
export declare const API_VERSION_KEY = "apiVersion";
|
|
7
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ConfigAggregator } from '@salesforce/core/configAggregator';
|
|
2
|
+
import * as Effect from 'effect/Effect';
|
|
3
|
+
import { WorkspaceService } from '../vscode/workspaceService';
|
|
4
|
+
declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigService", {
|
|
5
|
+
readonly succeed: {
|
|
6
|
+
/** Get a ConfigAggregator for the current workspace */
|
|
7
|
+
readonly getConfigAggregator: Effect.Effect<ConfigAggregator, Error, WorkspaceService>;
|
|
8
|
+
};
|
|
9
|
+
readonly dependencies: readonly [import("effect/Layer").Layer<WorkspaceService, never, never>];
|
|
10
|
+
}>;
|
|
11
|
+
export declare class ConfigService extends ConfigService_base {
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=configService.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Connection } from '@salesforce/core';
|
|
2
|
+
import * as Effect from 'effect/Effect';
|
|
3
|
+
import { SettingsService } from '../vscode/settingsService';
|
|
4
|
+
import { ConfigService } from './configService';
|
|
5
|
+
declare const ConnectionService_base: Effect.Service.Class<ConnectionService, "ConnectionService", {
|
|
6
|
+
readonly effect: Effect.Effect<{
|
|
7
|
+
/** Get a Connection to the target org */
|
|
8
|
+
readonly getConnection: Effect.Effect<Connection<import("@jsforce/jsforce-node").Schema>, Error, import("../vscode/workspaceService").WorkspaceService | ConfigService | SettingsService>;
|
|
9
|
+
}, never, never>;
|
|
10
|
+
readonly dependencies: readonly [import("effect/Layer").Layer<SettingsService, never, never>, import("effect/Layer").Layer<ConfigService, never, never>];
|
|
11
|
+
}>;
|
|
12
|
+
export declare class ConnectionService extends ConnectionService_base {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=connectionService.d.ts.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import * as Schema from 'effect/Schema';
|
|
3
|
+
import * as SubscriptionRef from 'effect/SubscriptionRef';
|
|
4
|
+
export declare const DefaultOrgInfoSchema: Schema.Struct<{
|
|
5
|
+
orgId: Schema.optional<typeof Schema.String>;
|
|
6
|
+
devHubOrgId: Schema.optional<typeof Schema.String>;
|
|
7
|
+
username: Schema.optional<typeof Schema.String>;
|
|
8
|
+
devHubUsername: Schema.optional<typeof Schema.String>;
|
|
9
|
+
tracksSource: Schema.optional<typeof Schema.Boolean>;
|
|
10
|
+
isScratch: Schema.optional<typeof Schema.Boolean>;
|
|
11
|
+
isSandbox: Schema.optional<typeof Schema.Boolean>;
|
|
12
|
+
}>;
|
|
13
|
+
export declare const defaultOrgRef: SubscriptionRef.SubscriptionRef<{
|
|
14
|
+
readonly orgId?: string | undefined;
|
|
15
|
+
readonly devHubOrgId?: string | undefined;
|
|
16
|
+
readonly isSandbox?: boolean | undefined;
|
|
17
|
+
readonly isScratch?: boolean | undefined;
|
|
18
|
+
readonly tracksSource?: boolean | undefined;
|
|
19
|
+
readonly username?: string | undefined;
|
|
20
|
+
readonly devHubUsername?: string | undefined;
|
|
21
|
+
}>;
|
|
22
|
+
/** watch the global and local sf/config.json files; clear the defaultOrgRef when they change */
|
|
23
|
+
export declare const watchConfigFiles: () => Effect.Effect<void, Error>;
|
|
24
|
+
//# sourceMappingURL=defaultOrgService.d.ts.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { ConfigService } from './configService';
|
|
2
|
+
import type { DescribeMetadataObject } from './schemas/describeMetadataObject';
|
|
3
|
+
import type { SettingsService } from '../vscode/settingsService';
|
|
4
|
+
import type { WorkspaceService } from '../vscode/workspaceService';
|
|
5
|
+
import * as Effect from 'effect/Effect';
|
|
6
|
+
import type { DescribeSObjectResult } from 'jsforce';
|
|
7
|
+
import { ChannelService } from '../vscode/channelService';
|
|
8
|
+
import { ConnectionService } from './connectionService';
|
|
9
|
+
import { type FileProperties } from './schemas/fileProperties';
|
|
10
|
+
type DescribeContext = ConnectionService | ConfigService | WorkspaceService | ChannelService | SettingsService;
|
|
11
|
+
declare const MetadataDescribeService_base: Effect.Service.Class<MetadataDescribeService, "MetadataDescribeService", {
|
|
12
|
+
readonly effect: Effect.Effect<{
|
|
13
|
+
/**
|
|
14
|
+
* Performs a Metadata API describe and returns the result.
|
|
15
|
+
* When forceRefresh=true, bypasses the cache and makes a fresh API call.
|
|
16
|
+
*/
|
|
17
|
+
readonly describe: (forceRefresh?: boolean) => Effect.Effect<readonly DescribeMetadataObject[], Error, DescribeContext>;
|
|
18
|
+
/**
|
|
19
|
+
* Calls the Metadata API list method for a given type and optional folder.
|
|
20
|
+
* Returns the list of metadata components for that type.
|
|
21
|
+
*/
|
|
22
|
+
readonly listMetadata: (type: string, folder?: string) => Effect.Effect<readonly FileProperties[], Error, DescribeContext>;
|
|
23
|
+
readonly describeCustomObject: (objectName: string) => Effect.Effect<DescribeSObjectResult, Error, DescribeContext>;
|
|
24
|
+
}, never, never>;
|
|
25
|
+
readonly dependencies: readonly [import("effect/Layer").Layer<ConnectionService, never, never>];
|
|
26
|
+
}>;
|
|
27
|
+
export declare class MetadataDescribeService extends MetadataDescribeService_base {
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=metadataDescribeService.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type MetadataRegistry, RegistryAccess } from '@salesforce/source-deploy-retrieve';
|
|
2
|
+
import * as Effect from 'effect/Effect';
|
|
3
|
+
import { WorkspaceService } from '../vscode/workspaceService';
|
|
4
|
+
declare const MetadataRegistryService_base: Effect.Service.Class<MetadataRegistryService, "MetadataRegistryService", {
|
|
5
|
+
readonly scoped: Effect.Effect<{
|
|
6
|
+
/** Get the metadata registry (cached) */
|
|
7
|
+
readonly getRegistry: () => Effect.Effect<Readonly<MetadataRegistry>, Error, WorkspaceService>;
|
|
8
|
+
/** Get the registry access (cached) */
|
|
9
|
+
readonly getRegistryAccess: () => Effect.Effect<RegistryAccess, Error, WorkspaceService>;
|
|
10
|
+
}, never, never>;
|
|
11
|
+
}>;
|
|
12
|
+
export declare class MetadataRegistryService extends MetadataRegistryService_base {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=metadataRegistryService.d.ts.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type RetrieveResult, type MetadataMember, ComponentSet } from '@salesforce/source-deploy-retrieve';
|
|
2
|
+
import * as Effect from 'effect/Effect';
|
|
3
|
+
import { SuccessfulCancelResult } from '../vscode/cancellation';
|
|
4
|
+
import { SettingsService } from '../vscode/settingsService';
|
|
5
|
+
import { WorkspaceService } from '../vscode/workspaceService';
|
|
6
|
+
import { ConfigService } from './configService';
|
|
7
|
+
import { ConnectionService } from './connectionService';
|
|
8
|
+
import { MetadataRegistryService } from './metadataRegistryService';
|
|
9
|
+
import { ProjectService } from './projectService';
|
|
10
|
+
import { SourceTrackingService } from './sourceTrackingService';
|
|
11
|
+
declare const MetadataRetrieveService_base: Effect.Service.Class<MetadataRetrieveService, "MetadataRetrieveService", {
|
|
12
|
+
readonly succeed: {
|
|
13
|
+
/**
|
|
14
|
+
* Retrieve one or more metadata components from the default org.
|
|
15
|
+
* @param members - Array of MetadataMember (type, fullName)
|
|
16
|
+
* @returns Effect that resolves to SDR's RetrieveResult
|
|
17
|
+
*/
|
|
18
|
+
readonly retrieve: (members: MetadataMember[]) => Effect.Effect<RetrieveResult | SuccessfulCancelResult, Error, ConnectionService | ProjectService | WorkspaceService | ConfigService | SettingsService | MetadataRegistryService | SourceTrackingService>;
|
|
19
|
+
readonly buildComponentSet: (members: MetadataMember[]) => Effect.Effect<ComponentSet, Error, MetadataRegistryService | WorkspaceService>;
|
|
20
|
+
readonly buildComponentSetFromSource: (members: MetadataMember[], sourcePaths: string[]) => Effect.Effect<ComponentSet, Error, MetadataRegistryService | WorkspaceService>;
|
|
21
|
+
};
|
|
22
|
+
}>;
|
|
23
|
+
export declare class MetadataRetrieveService extends MetadataRetrieveService_base {
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=metadataRetrieveService.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SfProject } from '@salesforce/core/project';
|
|
2
|
+
import * as Effect from 'effect/Effect';
|
|
3
|
+
import { WorkspaceService } from '../vscode/workspaceService';
|
|
4
|
+
declare const ProjectService_base: Effect.Service.Class<ProjectService, "ProjectService", {
|
|
5
|
+
readonly succeed: {
|
|
6
|
+
/** Check if we're in a Salesforce project (sfdx-project.json exists) */
|
|
7
|
+
readonly isSalesforceProject: Effect.Effect<boolean, never, WorkspaceService>;
|
|
8
|
+
/** Get the SfProject instance for the workspace (fails if not a Salesforce project) */
|
|
9
|
+
readonly getSfProject: Effect.Effect<SfProject, Error, WorkspaceService>;
|
|
10
|
+
};
|
|
11
|
+
readonly dependencies: readonly [import("effect/Layer").Layer<WorkspaceService, never, never>];
|
|
12
|
+
}>;
|
|
13
|
+
export declare class ProjectService extends ProjectService_base {
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=projectService.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as S from 'effect/Schema';
|
|
2
|
+
declare const DescribeMetadataObjectSchema: S.Struct<{
|
|
3
|
+
childXmlNames: S.Array$<typeof S.String>;
|
|
4
|
+
directoryName: typeof S.String;
|
|
5
|
+
inFolder: typeof S.Boolean;
|
|
6
|
+
metaFile: typeof S.Boolean;
|
|
7
|
+
suffix: S.optional<S.Union<[typeof S.String, typeof S.Null]>>;
|
|
8
|
+
xmlName: typeof S.String;
|
|
9
|
+
}>;
|
|
10
|
+
export type DescribeMetadataObject = S.Schema.Type<typeof DescribeMetadataObjectSchema>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=describeMetadataObject.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as S from 'effect/Schema';
|
|
2
|
+
/** Schema for FileProperties (metadata.list result) */
|
|
3
|
+
export declare const FilePropertiesSchema: S.Struct<{
|
|
4
|
+
fullName: typeof S.String;
|
|
5
|
+
type: typeof S.String;
|
|
6
|
+
id: S.optional<typeof S.String>;
|
|
7
|
+
createdById: S.optional<typeof S.String>;
|
|
8
|
+
createdByName: S.optional<typeof S.String>;
|
|
9
|
+
createdDate: S.optional<typeof S.String>;
|
|
10
|
+
fileName: S.optional<typeof S.String>;
|
|
11
|
+
lastModifiedById: S.optional<typeof S.String>;
|
|
12
|
+
lastModifiedByName: S.optional<typeof S.String>;
|
|
13
|
+
lastModifiedDate: S.optional<typeof S.String>;
|
|
14
|
+
manageableState: S.optional<typeof S.String>;
|
|
15
|
+
namespacePrefix: S.optional<typeof S.String>;
|
|
16
|
+
}>;
|
|
17
|
+
export type FileProperties = S.Schema.Type<typeof FilePropertiesSchema>;
|
|
18
|
+
//# sourceMappingURL=fileProperties.d.ts.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Org, Connection, ConfigAggregator } from '@salesforce/core';
|
|
2
|
+
import * as Effect from 'effect/Effect';
|
|
3
|
+
/** passing in a configAggregator is highly recommended to avoid sfdx-core creating a new one */
|
|
4
|
+
export declare const getOrgFromConnection: (connection: Connection, aggregator?: ConfigAggregator) => Effect.Effect<Org, Error>;
|
|
5
|
+
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { RetrieveResult } from '@salesforce/source-deploy-retrieve';
|
|
2
|
+
import * as Effect from 'effect/Effect';
|
|
3
|
+
import * as Layer from 'effect/Layer';
|
|
4
|
+
import { SettingsService } from '../vscode/settingsService';
|
|
5
|
+
import { WorkspaceService } from '../vscode/workspaceService';
|
|
6
|
+
import { ConfigService } from './configService';
|
|
7
|
+
import { ConnectionService } from './connectionService';
|
|
8
|
+
import { MetadataRegistryService } from './metadataRegistryService';
|
|
9
|
+
import { ProjectService } from './projectService';
|
|
10
|
+
declare const SourceTrackingService_base: Effect.Service.Class<SourceTrackingService, "SourceTrackingService", {
|
|
11
|
+
readonly succeed: {
|
|
12
|
+
readonly getSourceTracking: Effect.Effect<import("@salesforce/source-tracking").SourceTracking, Error, WorkspaceService | ConfigService | SettingsService | ConnectionService | MetadataRegistryService | ProjectService>;
|
|
13
|
+
readonly updateTrackingFromRetrieve: (result: RetrieveResult) => Effect.Effect<void, Error>;
|
|
14
|
+
};
|
|
15
|
+
readonly dependencies: readonly [Layer.Layer<ConnectionService, never, never>, Layer.Layer<ProjectService, never, never>, Layer.Layer<ConfigService, never, never>, Layer.Layer<SettingsService, never, never>, Layer.Layer<WorkspaceService, never, never>, Layer.Layer<MetadataRegistryService, never, never>];
|
|
16
|
+
}>;
|
|
17
|
+
export declare class SourceTrackingService extends SourceTrackingService_base {
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=sourceTrackingService.d.ts.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import * as Scope from 'effect/Scope';
|
|
3
|
+
export declare const getExtensionScope: () => Effect.Effect<Scope.CloseableScope, Error, never>;
|
|
4
|
+
export declare const closeExtensionScope: () => Effect.Effect<void, Error, never>;
|
|
5
|
+
//# sourceMappingURL=extensionScope.d.ts.map
|
package/out/index.d.ts
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as vscode from 'vscode';
|
|
2
|
+
import { ConfigService } from './core/configService';
|
|
3
|
+
import { ConnectionService } from './core/connectionService';
|
|
4
|
+
import { defaultOrgRef } from './core/defaultOrgService';
|
|
5
|
+
import { MetadataDescribeService } from './core/metadataDescribeService';
|
|
6
|
+
import { MetadataRegistryService } from './core/metadataRegistryService';
|
|
7
|
+
import { MetadataRetrieveService } from './core/metadataRetrieveService';
|
|
8
|
+
import { ProjectService } from './core/projectService';
|
|
9
|
+
import { SourceTrackingService } from './core/sourceTrackingService';
|
|
10
|
+
import { SdkLayer } from './observability/spans';
|
|
11
|
+
import { ChannelServiceLayer, ChannelService } from './vscode/channelService';
|
|
12
|
+
import { FsService } from './vscode/fsService';
|
|
13
|
+
import { SettingsService } from './vscode/settingsService';
|
|
14
|
+
import { WorkspaceService } from './vscode/workspaceService';
|
|
15
|
+
export type SalesforceVSCodeServicesApi = {
|
|
16
|
+
services: {
|
|
17
|
+
ConnectionService: typeof ConnectionService;
|
|
18
|
+
ProjectService: typeof ProjectService;
|
|
19
|
+
ChannelService: typeof ChannelService;
|
|
20
|
+
ChannelServiceLayer: typeof ChannelServiceLayer;
|
|
21
|
+
WorkspaceService: typeof WorkspaceService;
|
|
22
|
+
FsService: typeof FsService;
|
|
23
|
+
ConfigService: typeof ConfigService;
|
|
24
|
+
MetadataDescribeService: typeof MetadataDescribeService;
|
|
25
|
+
MetadataRegistryService: typeof MetadataRegistryService;
|
|
26
|
+
MetadataRetrieveService: typeof MetadataRetrieveService;
|
|
27
|
+
SourceTrackingService: typeof SourceTrackingService;
|
|
28
|
+
SettingsService: typeof SettingsService;
|
|
29
|
+
SdkLayer: typeof SdkLayer;
|
|
30
|
+
TargetOrgRef: typeof defaultOrgRef;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Activates the Salesforce Services extension and returns API for other extensions to consume
|
|
35
|
+
* Both service tags/types and their default Live implementations are exported.
|
|
36
|
+
* Consumers should get both from the API, not via direct imports.
|
|
37
|
+
*/
|
|
38
|
+
export declare const activate: (context: vscode.ExtensionContext) => Promise<SalesforceVSCodeServicesApi>;
|
|
39
|
+
/** Deactivates the Salesforce Services extension */
|
|
40
|
+
export declare const deactivate: () => Promise<void>;
|
|
41
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** instrumention key / connection string for test-otel-effect */
|
|
2
|
+
export declare const DEFAULT_AI_CONNECTION_STRING = "InstrumentationKey=f5cbbeba-e06b-4657-b99c-62024c9d36bf;IngestionEndpoint=https://eastus-8.in.applicationinsights.azure.com/;LiveEndpoint=https://eastus.livediagnostics.monitor.azure.com/;ApplicationId=1485438c-5495-43dc-8c0a-b51e860b6cba";
|
|
3
|
+
export declare const isTelemetryExtensionConfigurationEnabled: () => boolean;
|
|
4
|
+
//# sourceMappingURL=appInsights.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ExportResult } from '@opentelemetry/core';
|
|
2
|
+
import { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace-base';
|
|
3
|
+
import { TelemetryReporter } from '@vscode/extension-telemetry';
|
|
4
|
+
export declare const getWebAppInsightsReporter: () => TelemetryReporter;
|
|
5
|
+
/**
|
|
6
|
+
* Custom OpenTelemetry span exporter that sends telemetry to Application Insights
|
|
7
|
+
* using the web SDK since @azure/monitor-opentelemetry-exporter doesn't work in browsers.
|
|
8
|
+
*
|
|
9
|
+
* Maps all OpenTelemetry spans to Application Insights Dependencies for consistency
|
|
10
|
+
* with the Node SDK behavior.
|
|
11
|
+
*/
|
|
12
|
+
export declare class ApplicationInsightsWebExporter implements SpanExporter {
|
|
13
|
+
export(spans: ReadableSpan[], resultCallback: (result: ExportResult) => void): void;
|
|
14
|
+
shutdown(): Promise<void>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=applicationInsightsWebExporter.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Get local traces enabled setting. Sends traces to a locally running docker container.
|
|
3
|
+
* See setting description for how to use
|
|
4
|
+
*/
|
|
5
|
+
export declare const getLocalTracesEnabled: () => boolean;
|
|
6
|
+
/** export spans/traces to console (browser or nodejs) */
|
|
7
|
+
export declare const getConsoleTracesEnabled: () => boolean;
|
|
8
|
+
export declare const getOptionalBooleanConfiguration: (section: string) => (configName: string) => boolean;
|
|
9
|
+
//# sourceMappingURL=localTracing.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Context } from '@opentelemetry/api';
|
|
2
|
+
import { Span, BatchSpanProcessor } from '@opentelemetry/sdk-trace-base';
|
|
3
|
+
/** Custom span processor that transforms spans before they're exported */
|
|
4
|
+
export declare class SpanTransformProcessor extends BatchSpanProcessor {
|
|
5
|
+
onStart(span: Span, parentContext: Context): void;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=spanTransformProcessor.d.ts.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as vscode from 'vscode';
|
|
2
|
+
/**
|
|
3
|
+
* the VSCode API doesn't store these anywhere by default.
|
|
4
|
+
* This is hooked up to memfs right now, and its watcher handles everything else
|
|
5
|
+
*/
|
|
6
|
+
export declare class FsProvider implements vscode.FileSystemProvider {
|
|
7
|
+
readonly onDidChangeFile: vscode.Event<vscode.FileChangeEvent[]>;
|
|
8
|
+
exists(uri: vscode.Uri): boolean;
|
|
9
|
+
stat(uri: vscode.Uri): vscode.FileStat;
|
|
10
|
+
readDirectory(uri: vscode.Uri): [string, vscode.FileType][];
|
|
11
|
+
createDirectory(uri: vscode.Uri): Promise<void>;
|
|
12
|
+
readFile(uri: vscode.Uri): Uint8Array;
|
|
13
|
+
writeFile(uri: vscode.Uri, content: Uint8Array, options: {
|
|
14
|
+
create: boolean;
|
|
15
|
+
overwrite: boolean;
|
|
16
|
+
}): Promise<void>;
|
|
17
|
+
delete(uri: vscode.Uri, options: {
|
|
18
|
+
recursive: boolean;
|
|
19
|
+
}): Promise<void>;
|
|
20
|
+
rename(oldUri: vscode.Uri, newUri: vscode.Uri, options: {
|
|
21
|
+
overwrite: boolean;
|
|
22
|
+
}): Promise<void>;
|
|
23
|
+
watch(_uri: vscode.Uri, _options: {
|
|
24
|
+
recursive: boolean;
|
|
25
|
+
excludes: string[];
|
|
26
|
+
}): vscode.Disposable;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=fileSystemProvider.d.ts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as vscode from 'vscode';
|
|
2
|
+
export type fsProvider = vscode.FileSystemProvider & {
|
|
3
|
+
/** does not exist in the vscode.FileSystemProvider but super handy so I added it*/
|
|
4
|
+
exists: (uri: vscode.Uri) => boolean;
|
|
5
|
+
};
|
|
6
|
+
type SerializedFile = vscode.FileStat & {
|
|
7
|
+
type: vscode.FileType.File;
|
|
8
|
+
data: string;
|
|
9
|
+
};
|
|
10
|
+
type SerializedDirectory = vscode.FileStat & {
|
|
11
|
+
type: vscode.FileType.Directory;
|
|
12
|
+
entries: Record<string, SerializedEntry>;
|
|
13
|
+
};
|
|
14
|
+
type SerializedEntry = SerializedFile | SerializedDirectory;
|
|
15
|
+
export declare const isSerializedDirectoryWithPath: (entry: SerializedEntryWithPath) => entry is SerializedDirectoryWithPath;
|
|
16
|
+
export type SerializedFileWithPath = SerializedFile & {
|
|
17
|
+
path: string;
|
|
18
|
+
};
|
|
19
|
+
type SerializedDirectoryWithPath = SerializedDirectory & {
|
|
20
|
+
path: string;
|
|
21
|
+
};
|
|
22
|
+
export type SerializedEntryWithPath = SerializedFileWithPath | SerializedDirectoryWithPath;
|
|
23
|
+
export declare const isSerializedFileWithPath: (entry: SerializedEntryWithPath) => entry is SerializedFileWithPath;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=fsTypes.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import * as Layer from 'effect/Layer';
|
|
3
|
+
declare const IndexedDBStorageService_base: Effect.Service.Class<IndexedDBStorageService, "IndexedDBStorageService", {
|
|
4
|
+
readonly scoped: Effect.Effect<{
|
|
5
|
+
/** Load state from IndexedDB into memfs */
|
|
6
|
+
readonly loadState: () => Effect.Effect<void, Error>;
|
|
7
|
+
/** Save a file to IndexedDB */
|
|
8
|
+
readonly saveFile: (path: string) => Effect.Effect<void, Error>;
|
|
9
|
+
/** Delete a file from IndexedDB */
|
|
10
|
+
readonly deleteFile: (path: string) => Effect.Effect<void, Error>;
|
|
11
|
+
/** Load a specific file from IndexedDB */
|
|
12
|
+
readonly loadFile: (path: string) => Effect.Effect<void, Error>;
|
|
13
|
+
}, Error, import("effect/Scope").Scope>;
|
|
14
|
+
}>;
|
|
15
|
+
export declare class IndexedDBStorageService extends IndexedDBStorageService_base {
|
|
16
|
+
}
|
|
17
|
+
export declare const IndexedDBStorageServiceShared: Layer.Layer<IndexedDBStorageService, Error, import("effect/Scope").Scope>;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=indexedDbStorage.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import * as vscode from 'vscode';
|
|
3
|
+
import { ChannelService } from '../vscode/channelService';
|
|
4
|
+
import { IndexedDBStorageService } from './indexedDbStorage';
|
|
5
|
+
export declare const emitter: vscode.EventEmitter<vscode.FileChangeEvent[]>;
|
|
6
|
+
/** Starts watching the memfs for file changes */
|
|
7
|
+
export declare const startWatch: () => Effect.Effect<void, Error, ChannelService | IndexedDBStorageService>;
|
|
8
|
+
//# sourceMappingURL=memfsWatcher.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { SettingsService } from '../vscode/settingsService';
|
|
3
|
+
import { fsProvider } from './fsTypes';
|
|
4
|
+
/** Creates the files for an empty sfdx project */
|
|
5
|
+
export declare const projectFiles: (fsp: fsProvider) => Effect.Effect<void, Error, SettingsService>;
|
|
6
|
+
//# sourceMappingURL=projectInit.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { metadataDirs } from './metadataDirs';
|
|
2
|
+
/** map of file name to file content */
|
|
3
|
+
export declare const TEMPLATES: {
|
|
4
|
+
'.vscode/settings.json': string[];
|
|
5
|
+
'.forceignore': string[];
|
|
6
|
+
'.gitignore': string[];
|
|
7
|
+
'sfdx-project.json': string[];
|
|
8
|
+
'.prettierrc': string[];
|
|
9
|
+
'.prettierignore': string[];
|
|
10
|
+
'jest.config.js': string[];
|
|
11
|
+
'README.md': string[];
|
|
12
|
+
'tsconfig.json': string[];
|
|
13
|
+
};
|
|
14
|
+
export { metadataDirs };
|
|
15
|
+
//# sourceMappingURL=templates.d.ts.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import * as Layer from 'effect/Layer';
|
|
3
|
+
import * as vscode from 'vscode';
|
|
4
|
+
declare const ChannelService_base: Effect.Service.Class<ChannelService, "ChannelService", {
|
|
5
|
+
readonly sync: () => {
|
|
6
|
+
/** Get the OutputChannel for this ChannelService */
|
|
7
|
+
readonly getChannel: Effect.Effect<vscode.OutputChannel, never, never>;
|
|
8
|
+
/** Append a message to this OutputChannel */
|
|
9
|
+
readonly appendToChannel: (message: string) => Effect.Effect<void | undefined, never, never>;
|
|
10
|
+
};
|
|
11
|
+
}>;
|
|
12
|
+
export declare class ChannelService extends ChannelService_base {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Factory for a Layer that provides a ChannelService for the given channel name.
|
|
16
|
+
* Use this in other extensions
|
|
17
|
+
* Usage:
|
|
18
|
+
* Layer.provide(ChannelServiceLayer('My Channel'))
|
|
19
|
+
*/
|
|
20
|
+
export declare const ChannelServiceLayer: (channelName: string) => Layer.Layer<ChannelService>;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=channelService.d.ts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import * as S from 'effect/Schema';
|
|
3
|
+
import * as vscode from 'vscode';
|
|
4
|
+
import { ChannelService } from '../vscode/channelService';
|
|
5
|
+
declare const FsService_base: Effect.Service.Class<FsService, "FsService", {
|
|
6
|
+
readonly succeed: {
|
|
7
|
+
readonly readFile: (filePath: string) => Effect.Effect<string, Error, ChannelService>;
|
|
8
|
+
readonly writeFile: (filePath: string, content: string) => Effect.Effect<void, Error, ChannelService>;
|
|
9
|
+
readonly fileOrFolderExists: (filePath: string) => Effect.Effect<boolean, Error, ChannelService>;
|
|
10
|
+
readonly isDirectory: (path: string) => Effect.Effect<boolean, Error, never>;
|
|
11
|
+
readonly isFile: (path: string) => Effect.Effect<boolean, Error, never>;
|
|
12
|
+
readonly createDirectory: (dirPath: string) => Effect.Effect<void, Error, never>;
|
|
13
|
+
readonly deleteFile: (filePath: string, options?: {}) => Effect.Effect<void, Error, never>;
|
|
14
|
+
readonly readDirectory: (dirPath: string) => Effect.Effect<string[], Error, never>;
|
|
15
|
+
readonly stat: (filePath: string) => Effect.Effect<vscode.FileStat, Error, never>;
|
|
16
|
+
readonly safeDelete: (filePath: string, options?: {}) => Effect.Effect<void, Error, never>;
|
|
17
|
+
readonly rename: (oldPath: string, newPath: string) => Effect.Effect<void, Error, never>;
|
|
18
|
+
readonly readJSON: <A>(filePath: string, schema: S.Schema<A>) => Effect.Effect<A, Error, ChannelService>;
|
|
19
|
+
};
|
|
20
|
+
readonly dependencies: readonly [import("effect/Layer").Layer<ChannelService, never, never>];
|
|
21
|
+
}>;
|
|
22
|
+
export declare class FsService extends FsService_base {
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=fsService.d.ts.map
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
declare const SettingsService_base: Effect.Service.Class<SettingsService, "SettingsService", {
|
|
3
|
+
readonly succeed: {
|
|
4
|
+
/**
|
|
5
|
+
* Get a value from settings
|
|
6
|
+
* @param section The settings section
|
|
7
|
+
* @param key The settings key
|
|
8
|
+
* @param defaultValue Optional default value
|
|
9
|
+
*/
|
|
10
|
+
readonly getValue: <T>(section: string, key: string, defaultValue?: T) => Effect.Effect<T | undefined, Error, never>;
|
|
11
|
+
/**
|
|
12
|
+
* Set a value in settings
|
|
13
|
+
* @param section The settings section
|
|
14
|
+
* @param key The settings key
|
|
15
|
+
* @param value The value to set
|
|
16
|
+
*/
|
|
17
|
+
readonly setValue: <T>(section: string, key: string, value: T) => Effect.Effect<void, Error, never>;
|
|
18
|
+
/**
|
|
19
|
+
* Get the Salesforce instance URL from settings
|
|
20
|
+
*/
|
|
21
|
+
readonly getInstanceUrl: Effect.Effect<string, Error, never>;
|
|
22
|
+
/**
|
|
23
|
+
* Get the Salesforce access token from settings
|
|
24
|
+
*/
|
|
25
|
+
readonly getAccessToken: Effect.Effect<string, Error, never>;
|
|
26
|
+
/**
|
|
27
|
+
* Get the Salesforce API version from settings. In the form of '64.0'
|
|
28
|
+
*/
|
|
29
|
+
readonly getApiVersion: Effect.Effect<string, Error, never>;
|
|
30
|
+
/**
|
|
31
|
+
* Set the Salesforce instance URL in settings
|
|
32
|
+
*/
|
|
33
|
+
readonly setInstanceUrl: (url: string) => Effect.Effect<void, Error, never>;
|
|
34
|
+
/**
|
|
35
|
+
* Set the Salesforce access token in settings
|
|
36
|
+
*/
|
|
37
|
+
readonly setAccessToken: (token: string) => Effect.Effect<void, Error, never>;
|
|
38
|
+
/**
|
|
39
|
+
* Set the Salesforce API version in settings
|
|
40
|
+
*/
|
|
41
|
+
readonly setApiVersion: (version: string) => Effect.Effect<void, Error, never>;
|
|
42
|
+
};
|
|
43
|
+
}>;
|
|
44
|
+
export declare class SettingsService extends SettingsService_base {
|
|
45
|
+
}
|
|
46
|
+
export {};
|
|
47
|
+
//# sourceMappingURL=settingsService.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
type WorkspaceInfo = {
|
|
3
|
+
/** includes the file:// or other schemeprefix */
|
|
4
|
+
path: string;
|
|
5
|
+
/** the path without the scheme prefix */
|
|
6
|
+
fsPath: string;
|
|
7
|
+
isEmpty: boolean;
|
|
8
|
+
isVirtualFs: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const WorkspaceService_base: Effect.Service.Class<WorkspaceService, "WorkspaceService", {
|
|
11
|
+
readonly succeed: {
|
|
12
|
+
/** Get info about the workspace */
|
|
13
|
+
readonly getWorkspaceInfo: Effect.Effect<WorkspaceInfo, never, never>;
|
|
14
|
+
};
|
|
15
|
+
}>;
|
|
16
|
+
export declare class WorkspaceService extends WorkspaceService_base {
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=workspaceService.d.ts.map
|
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@salesforce/vscode-services",
|
|
3
|
+
"version": "65.2.0",
|
|
4
|
+
"description": "TypeScript type definitions for Salesforce VS Code Services extension API",
|
|
5
|
+
"author": "Salesforce",
|
|
6
|
+
"license": "BSD-3-Clause",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/forcedotcom/salesforcedx-vscode"
|
|
10
|
+
},
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/forcedotcom/salesforcedx-vscode/issues"
|
|
13
|
+
},
|
|
14
|
+
"homepage": "https://github.com/forcedotcom/salesforcedx-vscode/tree/develop/packages/salesforcedx-vscode-services-types",
|
|
15
|
+
"types": "out/salesforcedx-vscode-services-types/src/index.d.ts",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./out/salesforcedx-vscode-services-types/src/index.d.ts"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"out/**/*.d.ts"
|
|
23
|
+
],
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"access": "public"
|
|
26
|
+
},
|
|
27
|
+
"scripts": {
|
|
28
|
+
"generate-entry": "ts-node scripts/generateEntry.ts",
|
|
29
|
+
"sync-deps": "ts-node scripts/syncDeps.ts",
|
|
30
|
+
"compile": "tsc -p ./",
|
|
31
|
+
"clean": "shx rm -rf src out node_modules *.tgz"
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@azure/monitor-opentelemetry-exporter": "^1.0.0-beta.32",
|
|
35
|
+
"@effect/opentelemetry": "0.58.0",
|
|
36
|
+
"@opentelemetry/api": "1.9.0",
|
|
37
|
+
"@opentelemetry/core": "2.0.1",
|
|
38
|
+
"@opentelemetry/exporter-trace-otlp-http": "0.203.0",
|
|
39
|
+
"@opentelemetry/sdk-logs": "0.203.0",
|
|
40
|
+
"@opentelemetry/sdk-metrics": "2.0.1",
|
|
41
|
+
"@opentelemetry/sdk-trace-base": "2.0.1",
|
|
42
|
+
"@opentelemetry/sdk-trace-node": "2.0.1",
|
|
43
|
+
"@opentelemetry/sdk-trace-web": "2.0.1",
|
|
44
|
+
"@salesforce/core": "^8.23.3",
|
|
45
|
+
"@salesforce/source-deploy-retrieve": "^12.25.0",
|
|
46
|
+
"@salesforce/source-tracking": "^7.5.0",
|
|
47
|
+
"effect": "^3.18.4",
|
|
48
|
+
"jsforce": "^3.10.2",
|
|
49
|
+
"vscode-uri": "^3.1.0",
|
|
50
|
+
"@types/vscode": "^1.90.0"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@types/node": "^20.0.0",
|
|
54
|
+
"shx": "^0.3.4",
|
|
55
|
+
"ts-node": "^10.9.2",
|
|
56
|
+
"typescript": "^5.4.2"
|
|
57
|
+
}
|
|
58
|
+
}
|