This repository was archived by the owner on Nov 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +15
-27
lines changed
integration/common-engine Expand file tree Collapse file tree 8 files changed +15
-27
lines changed Original file line number Diff line number Diff line change 11import 'zone.js/dist/zone-node' ;
2- import { ɵCommonEngine as CommonEngine } from '@nguniversal/common/engine' ;
2+ import { CommonEngine } from '@nguniversal/common/engine' ;
33import * as express from 'express' ;
44import { join } from 'path' ;
55
Original file line number Diff line number Diff line change 66 * found in the LICENSE file at https://angular.io/license
77 */
88import { NgModuleFactory , StaticProvider , Type } from '@angular/core' ;
9- import { ɵRenderOptions as RenderOptions } from '@nguniversal/common/engine' ;
9+ import { RenderOptions } from '@nguniversal/common/engine' ;
1010import { IRequestParams } from './request-params' ;
1111
1212export interface IEngineOptions extends Pick < RenderOptions , 'publicPath' | 'inlineCriticalCss' > {
Original file line number Diff line number Diff line change 88import { StaticProvider } from '@angular/core' ;
99
1010import { ORIGIN_URL , REQUEST } from '@nguniversal/aspnetcore-engine/tokens' ;
11- import { ɵCommonEngine as CommonEngine , ɵRenderOptions as RenderOptions } from '@nguniversal/common/engine' ;
11+ import { CommonEngine , RenderOptions } from '@nguniversal/common/engine' ;
1212import { createDocument } from 'domino' ;
1313import { IEngineOptions } from './interfaces/engine-options' ;
1414import { IEngineRenderResult } from './interfaces/engine-render-result' ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 55 * Use of this source code is governed by an MIT-style license that can be
66 * found in the LICENSE file at https://angular.io/license
77 */
8- export * from './private_api' ;
8+
9+ export { CommonEngine , RenderOptions } from './src/engine' ;
10+
11+ export {
12+ InlineCriticalCssProcessor as ɵInlineCriticalCssProcessor ,
13+ } from './src/inline-css-processor' ;
Original file line number Diff line number Diff line change 88import { Request , Response } from 'express' ;
99
1010import { StaticProvider } from '@angular/core' ;
11- import { ɵCommonEngine as CommonEngine , ɵRenderOptions } from '@nguniversal/common/engine' ;
11+ import { CommonEngine , RenderOptions as CommonRenderOptions } from '@nguniversal/common/engine' ;
1212import { REQUEST , RESPONSE } from '@nguniversal/express-engine/tokens' ;
1313
1414/**
1515 * These are the allowed options for the engine
1616 */
17- export type NgSetupOptions = Pick < ɵRenderOptions , 'bootstrap' | 'providers' | 'publicPath' | 'inlineCriticalCss' > ;
17+ export type NgSetupOptions = Pick < CommonRenderOptions , 'bootstrap' | 'providers' | 'publicPath' | 'inlineCriticalCss' > ;
1818
1919/**
2020 * These are the allowed options for the render
2121 */
22- export interface RenderOptions extends ɵRenderOptions {
22+ export interface RenderOptions extends CommonRenderOptions {
2323 req : Request ;
2424 res ?: Response ;
2525}
Original file line number Diff line number Diff line change 88import { Request , ResponseToolkit } from '@hapi/hapi' ;
99
1010import { StaticProvider } from '@angular/core' ;
11- import { ɵCommonEngine as CommonEngine , ɵRenderOptions } from '@nguniversal/common/engine' ;
11+ import { CommonEngine , RenderOptions as CommonRenderOptions } from '@nguniversal/common/engine' ;
1212import { REQUEST , RESPONSE } from '@nguniversal/hapi-engine/tokens' ;
1313
1414/**
1515 * These are the allowed options for the render
1616 *
1717 * @deprecated use `@nguniversal/common` instead.
1818 */
19- export interface RenderOptions extends ɵRenderOptions {
19+ export interface RenderOptions extends CommonRenderOptions {
2020 req : Request ;
2121 res ?: ResponseToolkit ;
2222}
Original file line number Diff line number Diff line change 66 * found in the LICENSE file at https://angular.io/license
77 */
88import { NgModuleFactory , StaticProvider , Type } from '@angular/core' ;
9- import { ɵCommonEngine as CommonEngine ,
10- ɵRenderOptions as RenderOptions } from '@nguniversal/common/engine' ;
9+ import { CommonEngine , RenderOptions } from '@nguniversal/common/engine' ;
1110import * as net from 'net' ;
1211
1312/**
You can’t perform that action at this time.
0 commit comments