docs: convert all @experimental
tags to @publicApi
tags (#26595)
PR Close #26595
This commit is contained in:

committed by
Alex Rickabaugh

parent
4bd9f53e8f
commit
24521f549c
@ -14,7 +14,7 @@ import {serializeDocument} from './domino_adapter';
|
||||
/**
|
||||
* Representation of the current platform state.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
@Injectable()
|
||||
export class PlatformState {
|
||||
|
@ -65,7 +65,7 @@ export const SERVER_RENDER_PROVIDERS: Provider[] = [
|
||||
/**
|
||||
* The ng module for the server.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
@NgModule({
|
||||
exports: [BrowserModule],
|
||||
@ -90,7 +90,7 @@ function _document(injector: Injector) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export const platformServer =
|
||||
createPlatformFactory(platformCore, 'server', INTERNAL_SERVER_PLATFORM_PROVIDERS);
|
||||
@ -98,7 +98,7 @@ export const platformServer =
|
||||
/**
|
||||
* The server platform that supports the runtime compiler.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export const platformDynamicServer =
|
||||
createPlatformFactory(platformCoreDynamic, 'serverDynamic', INTERNAL_SERVER_PLATFORM_PROVIDERS);
|
||||
|
@ -11,7 +11,7 @@ import {InjectionToken} from '@angular/core';
|
||||
/**
|
||||
* Config object passed to initialize the platform.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export interface PlatformConfig {
|
||||
document?: string;
|
||||
@ -21,7 +21,7 @@ export interface PlatformConfig {
|
||||
/**
|
||||
* The DI token for setting the initial config for the platform.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export const INITIAL_CONFIG = new InjectionToken<PlatformConfig>('Server.INITIAL_CONFIG');
|
||||
|
||||
@ -29,7 +29,7 @@ export const INITIAL_CONFIG = new InjectionToken<PlatformConfig>('Server.INITIAL
|
||||
* A function that will be executed when calling `renderModuleFactory` or `renderModule` just
|
||||
* before current platform state is rendered to string.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export const BEFORE_APP_SERIALIZED =
|
||||
new InjectionToken<Array<() => void>>('Server.RENDER_MODULE_HOOK');
|
||||
|
@ -26,7 +26,7 @@ export function serializeTransferStateFactory(
|
||||
* NgModule to install on the server side while using the `TransferState` to transfer state from
|
||||
* server to client.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
@NgModule({
|
||||
providers: [
|
||||
|
@ -75,7 +75,7 @@ the server-rendered app can be properly bootstrapped into a client app.`);
|
||||
* Do not use this in a production server environment. Use pre-compiled {@link NgModuleFactory} with
|
||||
* {@link renderModuleFactory} instead.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export function renderModule<T>(
|
||||
module: Type<T>, options: {document?: string, url?: string, extraProviders?: StaticProvider[]}):
|
||||
@ -91,7 +91,7 @@ export function renderModule<T>(
|
||||
* `url` is the URL for the current render request.
|
||||
* `extraProviders` are the platform level providers for the current render request.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export function renderModuleFactory<T>(
|
||||
moduleFactory: NgModuleFactory<T>,
|
||||
|
@ -15,7 +15,7 @@ import {ɵINTERNAL_SERVER_PLATFORM_PROVIDERS as INTERNAL_SERVER_PLATFORM_PROVIDE
|
||||
/**
|
||||
* Platform for testing
|
||||
*
|
||||
* @experimental API related to bootstrapping are still under review.
|
||||
* @publicApi
|
||||
*/
|
||||
export const platformServerTesting = createPlatformFactory(
|
||||
platformCoreDynamicTesting, 'serverTesting', INTERNAL_SERVER_PLATFORM_PROVIDERS);
|
||||
@ -23,7 +23,7 @@ export const platformServerTesting = createPlatformFactory(
|
||||
/**
|
||||
* NgModule for testing.
|
||||
*
|
||||
* @experimental API related to bootstrapping are still under review.
|
||||
* @publicApi
|
||||
*/
|
||||
@NgModule({
|
||||
exports: [BrowserDynamicTestingModule],
|
||||
|
Reference in New Issue
Block a user