Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add back interface for notfying extenders #2583

Merged
merged 2 commits into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/zowe-explorer-api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ All notable changes to the "zowe-explorer-api" extension will be documented in t
- Removal of deprecated APIs. Check the [list](https://github.com/zowe/vscode-extension-for-zowe/tree/next/docs/early-access/v3/Extenders.md) of APIs that were removed.
- Added `madge` script in `package.json` to track circular dependencies. [#2148](https://github.com/zowe/vscode-extension-for-zowe/issues/2148)
- Migrated to new package manager PNPM from Yarn.
- fixed export of api `onProfilesUpdate`.

## `2.12.0`

Expand Down
7 changes: 7 additions & 0 deletions packages/zowe-explorer-api/src/extend/IRegisterClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

import { imperative } from "@zowe/cli";
import { ICommand, IJes, IMvs, IUss } from "./interfaces";
import * as vscode from "vscode";
import { EventTypes } from "../profiles";

/**
* This interface can be used by other VS Code Extensions to register themselves
Expand Down Expand Up @@ -102,4 +104,9 @@ export interface IRegisterClient {
* @returns {string[]}
*/
registeredApiTypes(): string[];

/**
* Define events that fire whenever an existing team config profile is updated.
*/
onProfilesUpdate?: vscode.Event<EventTypes>;
}
Loading