File tree Expand file tree Collapse file tree 6 files changed +8
-20
lines changed
Expand file tree Collapse file tree 6 files changed +8
-20
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,6 @@ export {
184184 compileFactoryFunction ,
185185 R3DependencyMetadata ,
186186 R3FactoryMetadata ,
187- FactoryTarget ,
188187} from './render3/r3_factory' ;
189188export {
190189 compileNgModule ,
@@ -244,6 +243,7 @@ export {outputAst};
244243export { CompilerFacadeImpl } from './jit_compiler_facade' ;
245244export { setEnableTemplateSourceLocations } from './render3/view/config' ;
246245export { escapeRegExp } from './util' ;
246+ export { FactoryTarget } from './compiler_facade_interface' ;
247247
248248// This file only reexports content of the `src` folder. Keep it that way.
249249
Original file line number Diff line number Diff line change 66 * found in the LICENSE file at https://angular.dev/license
77 */
88
9+ import { FactoryTarget } from './compiler_facade_interface' ;
910import * as o from './output/output_ast' ;
1011import {
1112 compileFactoryFunction ,
12- FactoryTarget ,
1313 R3DependencyMetadata ,
1414 R3FactoryDelegateType ,
1515 R3FactoryMetadata ,
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import {
1010 CompilerFacade ,
1111 CoreEnvironment ,
1212 ExportedCompilerFacade ,
13+ FactoryTarget ,
1314 LegacyInputPartialMapping ,
1415 OpaqueValue ,
1516 R3ComponentMetadataFacade ,
@@ -57,7 +58,7 @@ import {
5758import { JitEvaluator } from './output/output_jit' ;
5859import { ParseError , ParseSourceSpan , r3JitTypeSourceSpan } from './parse_util' ;
5960import { DeferredBlock } from './render3/r3_ast' ;
60- import { compileFactoryFunction , FactoryTarget , R3DependencyMetadata } from './render3/r3_factory' ;
61+ import { compileFactoryFunction , R3DependencyMetadata } from './render3/r3_factory' ;
6162import { compileInjector , R3InjectorMetadata } from './render3/r3_injector_compiler' ;
6263import { R3JitReflector } from './render3/r3_jit' ;
6364import {
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.dev/license
77 */
8+ import { FactoryTarget } from '../../compiler_facade_interface' ;
89import { ChangeDetectionStrategy , ViewEncapsulation } from '../../core' ;
910import * as o from '../../output/output_ast' ;
1011
@@ -443,14 +444,6 @@ export interface R3DeclareFactoryMetadata extends R3PartialDeclaration {
443444 target : FactoryTarget ;
444445}
445446
446- export enum FactoryTarget {
447- Directive = 0 ,
448- Component = 1 ,
449- Injectable = 2 ,
450- Pipe = 3 ,
451- NgModule = 4 ,
452- }
453-
454447/**
455448 * Describes the shape of the object that the `ɵɵngDeclareInjectable()` function accepts.
456449 *
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.dev/license
77 */
8+ import { FactoryTarget } from '../../compiler_facade_interface' ;
89import * as o from '../../output/output_ast' ;
9- import { createFactoryType , FactoryTarget , R3FactoryMetadata } from '../r3_factory' ;
10+ import { createFactoryType , R3FactoryMetadata } from '../r3_factory' ;
1011import { Identifiers as R3 } from '../r3_identifiers' ;
1112import { R3CompiledExpression } from '../util' ;
1213import { DefinitionMap } from '../view/util' ;
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.dev/license
77 */
8+ import { FactoryTarget } from '../compiler_facade_interface' ;
89import { InjectFlags } from '../core' ;
910import * as o from '../output/output_ast' ;
1011import { Identifiers as R3 } from '../render3/r3_identifiers' ;
@@ -64,14 +65,6 @@ export type R3FactoryMetadata =
6465 | R3DelegatedFnOrClassMetadata
6566 | R3ExpressionFactoryMetadata ;
6667
67- export enum FactoryTarget {
68- Directive = 0 ,
69- Component = 1 ,
70- Injectable = 2 ,
71- Pipe = 3 ,
72- NgModule = 4 ,
73- }
74-
7568export interface R3DependencyMetadata {
7669 /**
7770 * An expression representing the token or value to be injected.
You can’t perform that action at this time.
0 commit comments