Skip to content

Commit

Permalink
Consume new RGs api package (#1356)
Browse files Browse the repository at this point in the history
Co-authored-by: Brandon Waterloo [MSFT] <[email protected]>
  • Loading branch information
alexweininger and bwateratmsft authored Jan 30, 2023
1 parent 381bf6b commit d7ed926
Show file tree
Hide file tree
Showing 26 changed files with 70 additions and 799 deletions.
15 changes: 15 additions & 0 deletions utils/activity.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { AzureResourcesExtensionApi } from '@microsoft/vscode-azureresources-api';
import { Activity } from './hostapi';

export interface ActivityApi {
/**
* Registers an activity to appear in the activity window.
*
* @param activity - The activity information to show.
*/
registerActivity(activity: Activity): Promise<void>;
}

export interface AzureResourcesExtensionApiWithActivity extends AzureResourcesExtensionApi {
activity: ActivityApi;
}
33 changes: 0 additions & 33 deletions utils/api.d.ts

This file was deleted.

3 changes: 2 additions & 1 deletion utils/hostapi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/

import type { AzExtResourceType } from '@microsoft/vscode-azureresources-api';
import type * as vscode from 'vscode';
import type { AbstractAzExtTreeItem, AzExtParentTreeItem, AzExtResourceType, AzExtTreeDataProvider, AzExtTreeItem, IAzureQuickPickOptions, ISubscriptionContext, ITreeItemPickerContext, SealedAzExtTreeItem } from './index'; // This must remain `import type` or else a circular reference will result
import type { AbstractAzExtTreeItem, AzExtParentTreeItem, AzExtTreeDataProvider, AzExtTreeItem, IAzureQuickPickOptions, ISubscriptionContext, ITreeItemPickerContext, SealedAzExtTreeItem } from './index'; // This must remain `import type` or else a circular reference will result

/**
* The API implemented by the Azure Resource Groups host extension
Expand Down
Loading

0 comments on commit d7ed926

Please sign in to comment.