docs(core): update stability markers for core apis
This commit is contained in:
		
							parent
							
								
									3aaf064d11
								
							
						
					
					
						commit
						5d294624fa
					
				| @ -36,7 +36,7 @@ var _platform: PlatformRef; | |||||||
|  * does not result in additional changes to any bindings (also known as |  * does not result in additional changes to any bindings (also known as | ||||||
|  * unidirectional data flow). |  * unidirectional data flow). | ||||||
|  * |  * | ||||||
|  * @experimental APIs related to application bootstrap are currently under review. |  * @stable | ||||||
|  */ |  */ | ||||||
| export function enableProdMode(): void { | export function enableProdMode(): void { | ||||||
|   if (_runModeLocked) { |   if (_runModeLocked) { | ||||||
| @ -151,7 +151,7 @@ export function getPlatform(): PlatformRef { | |||||||
|  * A page's platform is initialized implicitly when {@link bootstrap}() is called, or |  * A page's platform is initialized implicitly when {@link bootstrap}() is called, or | ||||||
|  * explicitly by calling {@link createPlatform}(). |  * explicitly by calling {@link createPlatform}(). | ||||||
|  * |  * | ||||||
|  * @experimental APIs related to application bootstrap are currently under review. |  * @stable | ||||||
|  */ |  */ | ||||||
| export abstract class PlatformRef { | export abstract class PlatformRef { | ||||||
|   /** |   /** | ||||||
| @ -344,7 +344,7 @@ export class PlatformRef_ extends PlatformRef { | |||||||
|  * |  * | ||||||
|  * For more about Angular applications, see the documentation for {@link bootstrap}. |  * For more about Angular applications, see the documentation for {@link bootstrap}. | ||||||
|  * |  * | ||||||
|  * @experimental APIs related to application bootstrap are currently under review. |  * @stable | ||||||
|  */ |  */ | ||||||
| export abstract class ApplicationRef { | export abstract class ApplicationRef { | ||||||
|   /** |   /** | ||||||
|  | |||||||
| @ -21,7 +21,7 @@ import {CodegenComponentFactoryResolver, ComponentFactoryResolver} from './compo | |||||||
|  * `NgModuleRef` provides access to the NgModule Instance as well other objects related to this |  * `NgModuleRef` provides access to the NgModule Instance as well other objects related to this | ||||||
|  * NgModule Instance. |  * NgModule Instance. | ||||||
|  * |  * | ||||||
|  * @experimental |  * @stable | ||||||
|  */ |  */ | ||||||
| export abstract class NgModuleRef<T> { | export abstract class NgModuleRef<T> { | ||||||
|   /** |   /** | ||||||
|  | |||||||
| @ -10,7 +10,7 @@ import {NgModuleFactory} from './ng_module_factory'; | |||||||
| 
 | 
 | ||||||
| /** | /** | ||||||
|  * Used to load ng module factories. |  * Used to load ng module factories. | ||||||
|  * @experimental |  * @stable | ||||||
|  */ |  */ | ||||||
| export abstract class NgModuleFactoryLoader { | export abstract class NgModuleFactoryLoader { | ||||||
|   abstract load(path: string): Promise<NgModuleFactory<any>>; |   abstract load(path: string): Promise<NgModuleFactory<any>>; | ||||||
|  | |||||||
| @ -267,7 +267,7 @@ export interface HostListenerMetadataFactory { | |||||||
| /** | /** | ||||||
|  * {@link NgModuleMetadata} factory for creating annotations, decorators or DSL. |  * {@link NgModuleMetadata} factory for creating annotations, decorators or DSL. | ||||||
|  * |  * | ||||||
|  * @experimental |  * @stable | ||||||
|  */ |  */ | ||||||
| export interface NgModuleMetadataFactory { | export interface NgModuleMetadataFactory { | ||||||
|   (obj?: NgModuleMetadataType): NgModuleDecorator; |   (obj?: NgModuleMetadataType): NgModuleDecorator; | ||||||
| @ -1109,7 +1109,7 @@ export var HostListener: HostListenerMetadataFactory = makePropDecorator(HostLis | |||||||
| 
 | 
 | ||||||
| /** | /** | ||||||
|  * Declares an ng module. |  * Declares an ng module. | ||||||
|  * @experimental |  * @stable | ||||||
|  * @Annotation |  * @Annotation | ||||||
|  */ |  */ | ||||||
| export var NgModule: NgModuleMetadataFactory = | export var NgModule: NgModuleMetadataFactory = | ||||||
|  | |||||||
| @ -15,7 +15,7 @@ import {ViewEncapsulation} from './view'; | |||||||
| 
 | 
 | ||||||
| /** | /** | ||||||
|  * Interface for creating {@link DirectiveMetadata} |  * Interface for creating {@link DirectiveMetadata} | ||||||
|  * @experimental |  * @stable | ||||||
|  */ |  */ | ||||||
| export interface DirectiveMetadataType { | export interface DirectiveMetadataType { | ||||||
|   selector?: string; |   selector?: string; | ||||||
| @ -744,7 +744,7 @@ export class DirectiveMetadata extends InjectableMetadata implements DirectiveMe | |||||||
| 
 | 
 | ||||||
| /** | /** | ||||||
|  * Interface for creating {@link ComponentMetadataType} |  * Interface for creating {@link ComponentMetadataType} | ||||||
|  * @experimental |  * @stable | ||||||
|  */ |  */ | ||||||
| export interface ComponentMetadataType extends DirectiveMetadataType { | export interface ComponentMetadataType extends DirectiveMetadataType { | ||||||
|   changeDetection?: ChangeDetectionStrategy; |   changeDetection?: ChangeDetectionStrategy; | ||||||
| @ -1009,7 +1009,7 @@ export class ComponentMetadata extends DirectiveMetadata implements ComponentMet | |||||||
| 
 | 
 | ||||||
| /** | /** | ||||||
|  * Interface for creating {@link PipeMetadata} |  * Interface for creating {@link PipeMetadata} | ||||||
|  * @experimental |  * @stable | ||||||
|  */ |  */ | ||||||
| export interface PipeMetadataType { | export interface PipeMetadataType { | ||||||
|   name: string; |   name: string; | ||||||
|  | |||||||
| @ -12,7 +12,7 @@ import {Type} from '../type'; | |||||||
| /** | /** | ||||||
|  * A wrapper around a module that also includes the providers. |  * A wrapper around a module that also includes the providers. | ||||||
|  * |  * | ||||||
|  * @experimental |  * @stable | ||||||
|  */ |  */ | ||||||
| export interface ModuleWithProviders { | export interface ModuleWithProviders { | ||||||
|   ngModule: Type<any>; |   ngModule: Type<any>; | ||||||
| @ -30,7 +30,7 @@ export interface SchemaMetadata { name: string; } | |||||||
|  * Defines a schema that will allow any property on elements with a `-` in their name, |  * Defines a schema that will allow any property on elements with a `-` in their name, | ||||||
|  * which is the common rule for custom elements. |  * which is the common rule for custom elements. | ||||||
|  * |  * | ||||||
|  * @experimental |  * @stable | ||||||
|  */ |  */ | ||||||
| export const CUSTOM_ELEMENTS_SCHEMA: SchemaMetadata = { | export const CUSTOM_ELEMENTS_SCHEMA: SchemaMetadata = { | ||||||
|   name: 'custom-elements' |   name: 'custom-elements' | ||||||
| @ -47,7 +47,7 @@ export const NO_ERRORS_SCHEMA: SchemaMetadata = { | |||||||
| 
 | 
 | ||||||
| /** | /** | ||||||
|  * Interface for creating {@link NgModuleMetadata} |  * Interface for creating {@link NgModuleMetadata} | ||||||
|  * @experimental |  * @stable | ||||||
|  */ |  */ | ||||||
| export interface NgModuleMetadataType { | export interface NgModuleMetadataType { | ||||||
|   providers?: any[]; |   providers?: any[]; | ||||||
| @ -61,7 +61,7 @@ export interface NgModuleMetadataType { | |||||||
| 
 | 
 | ||||||
| /** | /** | ||||||
|  * Declares an Angular Module. |  * Declares an Angular Module. | ||||||
|  * @experimental |  * @stable | ||||||
|  */ |  */ | ||||||
| export class NgModuleMetadata extends InjectableMetadata implements NgModuleMetadataType { | export class NgModuleMetadata extends InjectableMetadata implements NgModuleMetadataType { | ||||||
|   /** |   /** | ||||||
|  | |||||||
							
								
								
									
										28
									
								
								tools/public_api_guard/core/index.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										28
									
								
								tools/public_api_guard/core/index.d.ts
									
									
									
									
										vendored
									
									
								
							| @ -151,7 +151,7 @@ export declare class ApplicationInitStatus { | |||||||
| export declare class ApplicationModule { | export declare class ApplicationModule { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /** @experimental */ | /** @stable */ | ||||||
| export declare abstract class ApplicationRef { | export declare abstract class ApplicationRef { | ||||||
|     componentTypes: Type<any>[]; |     componentTypes: Type<any>[]; | ||||||
|     components: ComponentRef<any>[]; |     components: ComponentRef<any>[]; | ||||||
| @ -304,7 +304,7 @@ export interface ComponentMetadataFactory { | |||||||
|     new (obj: ComponentMetadataType): ComponentMetadata; |     new (obj: ComponentMetadataType): ComponentMetadata; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /** @experimental */ | /** @stable */ | ||||||
| export interface ComponentMetadataType extends DirectiveMetadataType { | export interface ComponentMetadataType extends DirectiveMetadataType { | ||||||
|     animations?: AnimationEntryMetadata[]; |     animations?: AnimationEntryMetadata[]; | ||||||
|     changeDetection?: ChangeDetectionStrategy; |     changeDetection?: ChangeDetectionStrategy; | ||||||
| @ -386,7 +386,7 @@ export declare function createPlatform(injector: Injector): PlatformRef; | |||||||
| /** @experimental */ | /** @experimental */ | ||||||
| export declare function createPlatformFactory(parentPlaformFactory: PlatformFactory, name: string, providers?: any[]): PlatformFactory; | export declare function createPlatformFactory(parentPlaformFactory: PlatformFactory, name: string, providers?: any[]): PlatformFactory; | ||||||
| 
 | 
 | ||||||
| /** @experimental */ | /** @stable */ | ||||||
| export declare const CUSTOM_ELEMENTS_SCHEMA: SchemaMetadata; | export declare const CUSTOM_ELEMENTS_SCHEMA: SchemaMetadata; | ||||||
| 
 | 
 | ||||||
| /** @stable */ | /** @stable */ | ||||||
| @ -489,7 +489,7 @@ export interface DirectiveMetadataFactory { | |||||||
|     new (obj: DirectiveMetadataType): DirectiveMetadata; |     new (obj: DirectiveMetadataType): DirectiveMetadata; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /** @experimental */ | /** @stable */ | ||||||
| export interface DirectiveMetadataType { | export interface DirectiveMetadataType { | ||||||
|     exportAs?: string; |     exportAs?: string; | ||||||
|     host?: { |     host?: { | ||||||
| @ -522,7 +522,7 @@ export declare abstract class EmbeddedViewRef<C> extends ViewRef { | |||||||
|     abstract destroy(): void; |     abstract destroy(): void; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /** @experimental */ | /** @stable */ | ||||||
| export declare function enableProdMode(): void; | export declare function enableProdMode(): void; | ||||||
| 
 | 
 | ||||||
| /** @stable */ | /** @stable */ | ||||||
| @ -762,13 +762,13 @@ export declare class ModuleWithComponentFactories<T> { | |||||||
|     constructor(ngModuleFactory: NgModuleFactory<T>, componentFactories: ComponentFactory<any>[]); |     constructor(ngModuleFactory: NgModuleFactory<T>, componentFactories: ComponentFactory<any>[]); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /** @experimental */ | /** @stable */ | ||||||
| export interface ModuleWithProviders { | export interface ModuleWithProviders { | ||||||
|     ngModule: Type<any>; |     ngModule: Type<any>; | ||||||
|     providers?: any[]; |     providers?: any[]; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /** @experimental */ | /** @stable */ | ||||||
| export declare var NgModule: NgModuleMetadataFactory; | export declare var NgModule: NgModuleMetadataFactory; | ||||||
| 
 | 
 | ||||||
| /** @stable */ | /** @stable */ | ||||||
| @ -784,12 +784,12 @@ export declare class NgModuleFactory<T> { | |||||||
|     create(parentInjector: Injector): NgModuleRef<T>; |     create(parentInjector: Injector): NgModuleRef<T>; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /** @experimental */ | /** @stable */ | ||||||
| export declare abstract class NgModuleFactoryLoader { | export declare abstract class NgModuleFactoryLoader { | ||||||
|     abstract load(path: string): Promise<NgModuleFactory<any>>; |     abstract load(path: string): Promise<NgModuleFactory<any>>; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /** @experimental */ | /** @stable */ | ||||||
| export declare class NgModuleMetadata extends InjectableMetadata implements NgModuleMetadataType { | export declare class NgModuleMetadata extends InjectableMetadata implements NgModuleMetadataType { | ||||||
|     bootstrap: Array<Type<any> | any[]>; |     bootstrap: Array<Type<any> | any[]>; | ||||||
|     declarations: Array<Type<any> | any[]>; |     declarations: Array<Type<any> | any[]>; | ||||||
| @ -801,13 +801,13 @@ export declare class NgModuleMetadata extends InjectableMetadata implements NgMo | |||||||
|     constructor(options?: NgModuleMetadataType); |     constructor(options?: NgModuleMetadataType); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /** @experimental */ | /** @stable */ | ||||||
| export interface NgModuleMetadataFactory { | export interface NgModuleMetadataFactory { | ||||||
|     (obj?: NgModuleMetadataType): NgModuleDecorator; |     (obj?: NgModuleMetadataType): NgModuleDecorator; | ||||||
|     new (obj?: NgModuleMetadataType): NgModuleMetadata; |     new (obj?: NgModuleMetadataType): NgModuleMetadata; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /** @experimental */ | /** @stable */ | ||||||
| export interface NgModuleMetadataType { | export interface NgModuleMetadataType { | ||||||
|     bootstrap?: Array<Type<any> | any[]>; |     bootstrap?: Array<Type<any> | any[]>; | ||||||
|     declarations?: Array<Type<any> | any[]>; |     declarations?: Array<Type<any> | any[]>; | ||||||
| @ -818,7 +818,7 @@ export interface NgModuleMetadataType { | |||||||
|     schemas?: Array<SchemaMetadata | any[]>; |     schemas?: Array<SchemaMetadata | any[]>; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /** @experimental */ | /** @stable */ | ||||||
| export declare abstract class NgModuleRef<T> { | export declare abstract class NgModuleRef<T> { | ||||||
|     componentFactoryResolver: ComponentFactoryResolver; |     componentFactoryResolver: ComponentFactoryResolver; | ||||||
|     injector: Injector; |     injector: Injector; | ||||||
| @ -940,7 +940,7 @@ export interface PipeMetadataFactory { | |||||||
|     new (obj: PipeMetadataType): any; |     new (obj: PipeMetadataType): any; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /** @experimental */ | /** @stable */ | ||||||
| export interface PipeMetadataType { | export interface PipeMetadataType { | ||||||
|     name: string; |     name: string; | ||||||
|     pure?: boolean; |     pure?: boolean; | ||||||
| @ -957,7 +957,7 @@ export declare const PLATFORM_INITIALIZER: any; | |||||||
| /** @experimental */ | /** @experimental */ | ||||||
| export declare const platformCore: (extraProviders?: any[]) => PlatformRef; | export declare const platformCore: (extraProviders?: any[]) => PlatformRef; | ||||||
| 
 | 
 | ||||||
| /** @experimental */ | /** @stable */ | ||||||
| export declare abstract class PlatformRef { | export declare abstract class PlatformRef { | ||||||
|     destroyed: boolean; |     destroyed: boolean; | ||||||
|     injector: Injector; |     injector: Injector; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user