mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: update API goldens to reflect new tool (#42688)
Updates the TS API guardian goldens with their equivalents based on the new shared dev-infra tool. PR Close #42688
This commit is contained in:
committed by
Jessica Janiuk
parent
9db69a9c9e
commit
59fe159b78
@@ -0,0 +1,10 @@
|
||||
## API Report File for "@angular/platform-server_init"
|
||||
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
|
||||
```
|
||||
@@ -1,40 +0,0 @@
|
||||
export declare const BEFORE_APP_SERIALIZED: InjectionToken<(() => void | Promise<void>)[]>;
|
||||
|
||||
export declare const INITIAL_CONFIG: InjectionToken<PlatformConfig>;
|
||||
|
||||
export declare interface PlatformConfig {
|
||||
baseUrl?: string;
|
||||
document?: string;
|
||||
url?: string;
|
||||
useAbsoluteUrl?: boolean;
|
||||
}
|
||||
|
||||
export declare const platformDynamicServer: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
||||
|
||||
export declare const platformServer: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
||||
|
||||
export declare class PlatformState {
|
||||
constructor(_doc: any);
|
||||
getDocument(): any;
|
||||
renderToString(): string;
|
||||
}
|
||||
|
||||
export declare function renderModule<T>(module: Type<T>, options: {
|
||||
document?: string;
|
||||
url?: string;
|
||||
extraProviders?: StaticProvider[];
|
||||
}): Promise<string>;
|
||||
|
||||
export declare function renderModuleFactory<T>(moduleFactory: NgModuleFactory<T>, options: {
|
||||
document?: string;
|
||||
url?: string;
|
||||
extraProviders?: StaticProvider[];
|
||||
}): Promise<string>;
|
||||
|
||||
export declare class ServerModule {
|
||||
}
|
||||
|
||||
export declare class ServerTransferStateModule {
|
||||
}
|
||||
|
||||
export declare const VERSION: Version;
|
||||
@@ -0,0 +1,69 @@
|
||||
## API Report File for "@angular/platform-server"
|
||||
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
|
||||
import { InjectionToken } from '@angular/core';
|
||||
import { NgModuleFactory } from '@angular/core';
|
||||
import { PlatformRef } from '@angular/core';
|
||||
import { StaticProvider } from '@angular/core';
|
||||
import { Type } from '@angular/core';
|
||||
import { Version } from '@angular/core';
|
||||
|
||||
// @public
|
||||
export const BEFORE_APP_SERIALIZED: InjectionToken<(() => void | Promise<void>)[]>;
|
||||
|
||||
// @public
|
||||
export const INITIAL_CONFIG: InjectionToken<PlatformConfig>;
|
||||
|
||||
// @public
|
||||
export interface PlatformConfig {
|
||||
baseUrl?: string;
|
||||
document?: string;
|
||||
url?: string;
|
||||
useAbsoluteUrl?: boolean;
|
||||
}
|
||||
|
||||
// @public
|
||||
export const platformDynamicServer: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
||||
|
||||
// @public (undocumented)
|
||||
export const platformServer: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
||||
|
||||
// @public
|
||||
export class PlatformState {
|
||||
constructor(_doc: any);
|
||||
getDocument(): any;
|
||||
renderToString(): string;
|
||||
}
|
||||
|
||||
// @public
|
||||
export function renderModule<T>(module: Type<T>, options: {
|
||||
document?: string;
|
||||
url?: string;
|
||||
extraProviders?: StaticProvider[];
|
||||
}): Promise<string>;
|
||||
|
||||
// @public
|
||||
export function renderModuleFactory<T>(moduleFactory: NgModuleFactory<T>, options: {
|
||||
document?: string;
|
||||
url?: string;
|
||||
extraProviders?: StaticProvider[];
|
||||
}): Promise<string>;
|
||||
|
||||
// @public
|
||||
export class ServerModule {
|
||||
}
|
||||
|
||||
// @public
|
||||
export class ServerTransferStateModule {
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export const VERSION: Version;
|
||||
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
|
||||
```
|
||||
@@ -1,4 +0,0 @@
|
||||
export declare const platformServerTesting: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
||||
|
||||
export declare class ServerTestingModule {
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
## API Report File for "@angular/platform-server_testing"
|
||||
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
|
||||
import { PlatformRef } from '@angular/core';
|
||||
import { StaticProvider } from '@angular/core';
|
||||
|
||||
// @public
|
||||
export const platformServerTesting: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
||||
|
||||
// @public
|
||||
export class ServerTestingModule {
|
||||
}
|
||||
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user