docs: update platform-server to use `@publicApi` tags (#26595)
PR Close #26595
This commit is contained in:
parent
f1e3d5125d
commit
7570f7222f
|
@ -14,4 +14,7 @@
|
||||||
|
|
||||||
import {Version} from '@angular/core';
|
import {Version} from '@angular/core';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @publicApi
|
||||||
|
*/
|
||||||
export const VERSION = new Version('0.0.0-PLACEHOLDER');
|
export const VERSION = new Version('0.0.0-PLACEHOLDER');
|
||||||
|
|
|
@ -14,4 +14,7 @@
|
||||||
|
|
||||||
import {Version} from '@angular/core';
|
import {Version} from '@angular/core';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @publicApi
|
||||||
|
*/
|
||||||
export const VERSION = new Version('0.0.0-PLACEHOLDER');
|
export const VERSION = new Version('0.0.0-PLACEHOLDER');
|
||||||
|
|
|
@ -14,4 +14,7 @@
|
||||||
|
|
||||||
import {Version} from '@angular/core';
|
import {Version} from '@angular/core';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @publicApi
|
||||||
|
*/
|
||||||
export const VERSION = new Version('0.0.0-PLACEHOLDER');
|
export const VERSION = new Version('0.0.0-PLACEHOLDER');
|
||||||
|
|
|
@ -1,47 +1,37 @@
|
||||||
/** @experimental */
|
|
||||||
export declare const BEFORE_APP_SERIALIZED: InjectionToken<(() => void)[]>;
|
export declare const BEFORE_APP_SERIALIZED: InjectionToken<(() => void)[]>;
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export declare const INITIAL_CONFIG: InjectionToken<PlatformConfig>;
|
export declare const INITIAL_CONFIG: InjectionToken<PlatformConfig>;
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export interface PlatformConfig {
|
export interface PlatformConfig {
|
||||||
document?: string;
|
document?: string;
|
||||||
url?: string;
|
url?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export declare const platformDynamicServer: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
export declare const platformDynamicServer: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export declare const platformServer: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
export declare const platformServer: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export declare class PlatformState {
|
export declare class PlatformState {
|
||||||
constructor(_doc: any);
|
constructor(_doc: any);
|
||||||
getDocument(): any;
|
getDocument(): any;
|
||||||
renderToString(): string;
|
renderToString(): string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export declare function renderModule<T>(module: Type<T>, options: {
|
export declare function renderModule<T>(module: Type<T>, options: {
|
||||||
document?: string;
|
document?: string;
|
||||||
url?: string;
|
url?: string;
|
||||||
extraProviders?: StaticProvider[];
|
extraProviders?: StaticProvider[];
|
||||||
}): Promise<string>;
|
}): Promise<string>;
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export declare function renderModuleFactory<T>(moduleFactory: NgModuleFactory<T>, options: {
|
export declare function renderModuleFactory<T>(moduleFactory: NgModuleFactory<T>, options: {
|
||||||
document?: string;
|
document?: string;
|
||||||
url?: string;
|
url?: string;
|
||||||
extraProviders?: StaticProvider[];
|
extraProviders?: StaticProvider[];
|
||||||
}): Promise<string>;
|
}): Promise<string>;
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export declare class ServerModule {
|
export declare class ServerModule {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export declare class ServerTransferStateModule {
|
export declare class ServerTransferStateModule {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
/** @experimental */
|
|
||||||
export declare const platformServerTesting: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
export declare const platformServerTesting: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export declare class ServerTestingModule {
|
export declare class ServerTestingModule {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue