@@ -12,6 +12,7 @@ import { Product, ProductType, Resource } from "../types";
1212export type InterpreterUri = Resource | PythonEnvironment ;
1313
1414export const IModuleInstaller = Symbol ( "IModuleInstaller" ) ;
15+
1516export interface IModuleInstaller {
1617 readonly name : string ;
1718 readonly displayName : string ;
@@ -55,13 +56,15 @@ export interface IModuleInstaller {
5556}
5657
5758export const IPythonInstallation = Symbol ( "IPythonInstallation" ) ;
59+
5860export interface IPythonInstallation {
5961 checkInstallation ( ) : Promise < boolean > ;
6062}
6163
6264export const IInstallationChannelManager = Symbol (
6365 "IInstallationChannelManager" ,
6466) ;
67+
6568export interface IInstallationChannelManager {
6669 getInstallationChannel (
6770 product : Product ,
@@ -74,18 +77,23 @@ export interface IInstallationChannelManager {
7477 showNoInstallersMessage ( ) : void ;
7578}
7679export const IProductService = Symbol ( "IProductService" ) ;
80+
7781export interface IProductService {
7882 getProductType ( product : Product ) : ProductType ;
7983}
8084export const IProductPathService = Symbol ( "IProductPathService" ) ;
85+
8186export interface IProductPathService {
8287 getExecutableNameFromSettings ( product : Product , resource ?: Uri ) : string ;
8388 isExecutableAModule ( product : Product , resource ?: Uri ) : boolean ;
8489}
8590
8691export const INSIDERS_INSTALLER = "INSIDERS_INSTALLER" ;
92+
8793export const STABLE_INSTALLER = "STABLE_INSTALLER" ;
94+
8895export const IExtensionBuildInstaller = Symbol ( "IExtensionBuildInstaller" ) ;
96+
8997export interface IExtensionBuildInstaller {
9098 install ( ) : Promise < void > ;
9199}
0 commit comments