cleanup(platform): removed webworker and server deprecated apis (#10745)

This commit is contained in:
Victor Savkin
2016-08-15 13:44:01 -07:00
committed by vikerman
parent 73c0a9daaf
commit 60b10134df
29 changed files with 94 additions and 438 deletions

View File

@ -964,18 +964,9 @@ export interface PipeTransform {
transform(value: any, ...args: any[]): any;
}
/** @deprecated */
export declare const PLATFORM_COMMON_PROVIDERS: any[];
/** @deprecated */
export declare const PLATFORM_DIRECTIVES: OpaqueToken;
/** @experimental */
export declare const PLATFORM_INITIALIZER: any;
/** @deprecated */
export declare const PLATFORM_PIPES: OpaqueToken;
/** @experimental */
export declare const platformCore: (extraProviders?: any[]) => PlatformRef;

View File

@ -1,18 +1,9 @@
/** @deprecated */
export declare function bootstrap<C>(appComponentType: Type<C>, customProviders?: Array<any>): Promise<ComponentRef<C>>;
/** @deprecated */
export declare function bootstrapWorkerApp<T>(appComponentType: Type<T>, customProviders?: Array<any>): Promise<ComponentRef<T>>;
/** @experimental */
export declare function bootstrapWorkerUi(workerScriptUri: string, customProviders?: Array<any>): Promise<PlatformRef>;
/** @deprecated */
export declare const BROWSER_APP_COMPILER_PROVIDERS: Array<any>;
/** @deprecated */
export declare const browserDynamicPlatform: (extraProviders?: any[]) => PlatformRef;
/** @experimental */
export declare const CACHED_TEMPLATE_PROVIDER: Array<any>;
@ -21,6 +12,3 @@ export declare const platformBrowserDynamic: (extraProviders?: any[]) => Platfor
/** @experimental */
export declare const platformWorkerAppDynamic: (extraProviders?: any[]) => PlatformRef;
/** @deprecated */
export declare const workerAppDynamicPlatform: (extraProviders?: any[]) => PlatformRef;

View File

@ -7,12 +7,6 @@ export declare abstract class AnimationDriver {
static NOOP: AnimationDriver;
}
/** @deprecated */
export declare const BROWSER_APP_PROVIDERS: Array<any>;
/** @deprecated */
export declare const BROWSER_PLATFORM_PROVIDERS: Array<any>;
/** @experimental */
export declare const BROWSER_SANITIZATION_PROVIDERS: Array<any>;
@ -20,9 +14,6 @@ export declare const BROWSER_SANITIZATION_PROVIDERS: Array<any>;
export declare class BrowserModule {
}
/** @deprecated */
export declare const browserPlatform: (extraProviders?: any[]) => PlatformRef;
/** @stable */
export declare class BrowserPlatformLocation extends PlatformLocation {
hash: string;
@ -203,9 +194,6 @@ export declare class WebWorkerInstance {
worker: Worker;
}
/** @deprecated */
export declare const WORKER_APP_APPLICATION_PROVIDERS: Array<any>;
/** @experimental */
export declare const WORKER_APP_LOCATION_PROVIDERS: ({
provide: typeof PlatformLocation;
@ -217,15 +205,9 @@ export declare const WORKER_APP_LOCATION_PROVIDERS: ({
deps: (typeof PlatformLocation | typeof NgZone)[];
})[];
/** @deprecated */
export declare const WORKER_APP_PLATFORM_PROVIDERS: Array<any>;
/** @experimental */
export declare const WORKER_SCRIPT: OpaqueToken;
/** @deprecated */
export declare const WORKER_UI_APPLICATION_PROVIDERS: Array<any>;
/** @experimental */
export declare const WORKER_UI_LOCATION_PROVIDERS: (typeof MessageBasedPlatformLocation | typeof BrowserPlatformLocation | {
provide: any;
@ -234,18 +216,9 @@ export declare const WORKER_UI_LOCATION_PROVIDERS: (typeof MessageBasedPlatformL
deps: typeof Injector[];
})[];
/** @deprecated */
export declare const WORKER_UI_PLATFORM_PROVIDERS: Array<any>;
/** @experimental */
export declare const WORKER_UI_STARTABLE_MESSAGING_SERVICE: OpaqueToken;
/** @experimental */
export declare class WorkerAppModule {
}
/** @deprecated */
export declare const workerAppPlatform: (extraProviders?: any[]) => PlatformRef;
/** @deprecated */
export declare const workerUiPlatform: (extraProviders?: any[]) => PlatformRef;

View File

@ -4,14 +4,6 @@ export declare const platformDynamicServer: (extraProviders?: any[]) => Platform
/** @experimental */
export declare const platformServer: (extraProviders?: any[]) => PlatformRef;
/** @deprecated */
export declare const SERVER_PLATFORM_PROVIDERS: Array<any>;
/** @deprecated */
export declare function serverBootstrap<T>(appComponentType: Type<T>, customProviders: Array<any>): Promise<ComponentRef<T>>;
/** @deprecated */
export declare const serverDynamicPlatform: (extraProviders?: any[]) => PlatformRef;
/** @deprecated */
export declare const serverPlatform: (extraProviders?: any[]) => PlatformRef;
/** @experimental */
export declare class ServerModule {
}