|
|
|
@@ -10,7 +10,7 @@ import { createDecorator } from 'common/services/ServiceRegistry';
|
|
|
|
|
|
|
|
|
|
export const IBufferService = createDecorator<IBufferService>('BufferService');
|
|
|
|
|
export interface IBufferService {
|
|
|
|
|
_serviceBrand: any;
|
|
|
|
|
serviceBrand: any;
|
|
|
|
|
|
|
|
|
|
readonly cols: number;
|
|
|
|
|
readonly rows: number;
|
|
|
|
@@ -25,7 +25,7 @@ export interface IBufferService {
|
|
|
|
|
|
|
|
|
|
export const ICoreService = createDecorator<ICoreService>('CoreService');
|
|
|
|
|
export interface ICoreService {
|
|
|
|
|
_serviceBrand: any;
|
|
|
|
|
serviceBrand: any;
|
|
|
|
|
|
|
|
|
|
readonly decPrivateModes: IDecPrivateModes;
|
|
|
|
|
|
|
|
|
@@ -47,7 +47,7 @@ export interface ICoreService {
|
|
|
|
|
|
|
|
|
|
export const IDirtyRowService = createDecorator<IDirtyRowService>('DirtyRowService');
|
|
|
|
|
export interface IDirtyRowService {
|
|
|
|
|
_serviceBrand: any;
|
|
|
|
|
serviceBrand: any;
|
|
|
|
|
|
|
|
|
|
readonly start: number;
|
|
|
|
|
readonly end: number;
|
|
|
|
@@ -64,39 +64,39 @@ export interface IServiceIdentifier<T> {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface IConstructorSignature0<T> {
|
|
|
|
|
new(...services: { _serviceBrand: any; }[]): T;
|
|
|
|
|
new(...services: { serviceBrand: any; }[]): T;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface IConstructorSignature1<A1, T> {
|
|
|
|
|
new(first: A1, ...services: { _serviceBrand: any; }[]): T;
|
|
|
|
|
new(first: A1, ...services: { serviceBrand: any; }[]): T;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface IConstructorSignature2<A1, A2, T> {
|
|
|
|
|
new(first: A1, second: A2, ...services: { _serviceBrand: any; }[]): T;
|
|
|
|
|
new(first: A1, second: A2, ...services: { serviceBrand: any; }[]): T;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface IConstructorSignature3<A1, A2, A3, T> {
|
|
|
|
|
new(first: A1, second: A2, third: A3, ...services: { _serviceBrand: any; }[]): T;
|
|
|
|
|
new(first: A1, second: A2, third: A3, ...services: { serviceBrand: any; }[]): T;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface IConstructorSignature4<A1, A2, A3, A4, T> {
|
|
|
|
|
new(first: A1, second: A2, third: A3, fourth: A4, ...services: { _serviceBrand: any; }[]): T;
|
|
|
|
|
new(first: A1, second: A2, third: A3, fourth: A4, ...services: { serviceBrand: any; }[]): T;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface IConstructorSignature5<A1, A2, A3, A4, A5, T> {
|
|
|
|
|
new(first: A1, second: A2, third: A3, fourth: A4, fifth: A5, ...services: { _serviceBrand: any; }[]): T;
|
|
|
|
|
new(first: A1, second: A2, third: A3, fourth: A4, fifth: A5, ...services: { serviceBrand: any; }[]): T;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface IConstructorSignature6<A1, A2, A3, A4, A5, A6, T> {
|
|
|
|
|
new(first: A1, second: A2, third: A3, fourth: A4, fifth: A5, sixth: A6, ...services: { _serviceBrand: any; }[]): T;
|
|
|
|
|
new(first: A1, second: A2, third: A3, fourth: A4, fifth: A5, sixth: A6, ...services: { serviceBrand: any; }[]): T;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface IConstructorSignature7<A1, A2, A3, A4, A5, A6, A7, T> {
|
|
|
|
|
new(first: A1, second: A2, third: A3, fourth: A4, fifth: A5, sixth: A6, seventh: A7, ...services: { _serviceBrand: any; }[]): T;
|
|
|
|
|
new(first: A1, second: A2, third: A3, fourth: A4, fifth: A5, sixth: A6, seventh: A7, ...services: { serviceBrand: any; }[]): T;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface IConstructorSignature8<A1, A2, A3, A4, A5, A6, A7, A8, T> {
|
|
|
|
|
new(first: A1, second: A2, third: A3, fourth: A4, fifth: A5, sixth: A6, seventh: A7, eigth: A8, ...services: { _serviceBrand: any; }[]): T;
|
|
|
|
|
new(first: A1, second: A2, third: A3, fourth: A4, fifth: A5, sixth: A6, seventh: A7, eigth: A8, ...services: { serviceBrand: any; }[]): T;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export const IInstantiationService = createDecorator<IInstantiationService>('InstantiationService');
|
|
|
|
@@ -116,7 +116,7 @@ export interface IInstantiationService {
|
|
|
|
|
|
|
|
|
|
export const ILogService = createDecorator<ILogService>('LogService');
|
|
|
|
|
export interface ILogService {
|
|
|
|
|
_serviceBrand: any;
|
|
|
|
|
serviceBrand: any;
|
|
|
|
|
|
|
|
|
|
debug(message: any, ...optionalParams: any[]): void;
|
|
|
|
|
info(message: any, ...optionalParams: any[]): void;
|
|
|
|
@@ -126,7 +126,7 @@ export interface ILogService {
|
|
|
|
|
|
|
|
|
|
export const IOptionsService = createDecorator<IOptionsService>('OptionsService');
|
|
|
|
|
export interface IOptionsService {
|
|
|
|
|
_serviceBrand: any;
|
|
|
|
|
serviceBrand: any;
|
|
|
|
|
|
|
|
|
|
readonly options: ITerminalOptions;
|
|
|
|
|
|
|
|
|
|