-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathextensionVariables.ts
More file actions
25 lines (22 loc) · 1.29 KB
/
extensionVariables.ts
File metadata and controls
25 lines (22 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { IAzExtOutputChannel, IExperimentationServiceAdapter } from "@microsoft/vscode-azext-utils";
import { AzureResourcesExtensionApi } from "@microsoft/vscode-azureresources-api";
import { ExtensionContext } from "vscode";
import { ContainerAppsBranchDataProvider } from "./tree/ContainerAppsBranchDataProvider";
import { TreeItemStateStore } from "./tree/TreeItemState";
/**
* Namespace for common variables used throughout the extension. They must be initialized in the activate() method of extension.ts
*/
export namespace ext {
export let context: ExtensionContext;
export let outputChannel: IAzExtOutputChannel;
export let ignoreBundle: boolean | undefined;
export const prefix: string = 'containerApps';
export let experimentationService: IExperimentationServiceAdapter;
export let rgApiV2: AzureResourcesExtensionApi;
export let state: TreeItemStateStore;
export let branchDataProvider: ContainerAppsBranchDataProvider;
}