Skip to content

Commit 0125ac4

Browse files
author
Kartik Raj
committed
es
1 parent e77e787 commit 0125ac4

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

src/client/apiTypes.ts

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -134,22 +134,7 @@ export interface EnvironmentDetails {
134134
path: string;
135135
project?: string; // Any specific project environment is created for.
136136
source: EnvSource[];
137-
activationAPIs?: // Contribute to this if you want Python extension to handle activation for any terminals that get created.
138-
| {
139-
usingEnvironmentVariableCollection: {
140-
// TODO: Think of whether to pass in the extensions collection object here.
141-
// Maybe we shouldn't pass it because other extension does not own the collections of the Python extensions?
142-
setCollection(): void;
143-
resetCollection(): void;
144-
};
145-
}
146-
| {
147-
usingTerminal: {
148-
// Maybe we can also pass in the terminal type here with the terminal object
149-
activateTerminal(terminal: Terminal): Promise<boolean>;
150-
deactivateTerminal(terminal: Terminal): Promise<boolean>;
151-
};
152-
};
137+
activate: { [key: string]: string | null | undefined };
153138
};
154139
version: {
155140
major: number;
@@ -307,7 +292,7 @@ export type EnvInfo = {
307292
interface EnvironmentProviderMetadata {
308293
readonly envType: EnvType;
309294
readonly searchLocation?: string;
310-
readonly envSources: EnvSource[];
295+
readonly envSources: EnvSource[]; // Think of whether it should be an array?
311296
readonly isRootBasedLocator: boolean;
312297
}
313298

0 commit comments

Comments
 (0)