Skip to content

Commit 30a61f1

Browse files
AndrewKushnirthePunderWoman
authored andcommitted
refactor(core): update public API golden files (angular#60232)
This commit updates public API golden files as a result of switching to the relative import paths within the `@angular/core` package. PR Close angular#60232
1 parent e5cc624 commit 30a61f1

File tree

3 files changed

+18
-32
lines changed

3 files changed

+18
-32
lines changed

goldens/public-api/core/primitives/signals/index.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export function runPostSignalSetFn<T>(node: SignalNode<T>): void;
143143
// @public (undocumented)
144144
export function setActiveConsumer(consumer: ReactiveNode | null): ReactiveNode | null;
145145

146-
// @public (undocumented)
146+
// @public
147147
export function setAlternateWeakRefImpl(impl: unknown): void;
148148

149149
// @public (undocumented)

goldens/public-api/core/rxjs-interop/index.api.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,9 @@
44
55
```ts
66

7-
import { BaseResourceOptions } from '@angular/core';
8-
import { DestroyRef } from '@angular/core';
9-
import { Injector } from '@angular/core';
107
import { MonoTypeOperatorFunction } from 'rxjs';
118
import { Observable } from 'rxjs';
12-
import { OutputOptions } from '@angular/core';
13-
import { OutputRef } from '@angular/core';
14-
import { ResourceLoaderParams } from '@angular/core';
15-
import { ResourceRef } from '@angular/core';
16-
import { Signal } from '@angular/core';
179
import { Subscribable } from 'rxjs';
18-
import { ValueEqualityFn } from '@angular/core/primitives/signals';
1910

2011
// @public
2112
export function outputFromObservable<T>(observable: Observable<T>, opts?: OutputOptions): OutputRef<T>;
@@ -80,7 +71,7 @@ export function toSignal<T, const U extends T>(source: Observable<T> | Subscriba
8071

8172
// @public
8273
export interface ToSignalOptions<T> {
83-
equal?: ValueEqualityFn<T>;
74+
equal?: ValueEqualityFn_2<T>;
8475
initialValue?: unknown;
8576
injector?: Injector;
8677
manualCleanup?: boolean;

goldens/public-api/core/testing/index.api.md

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,9 @@
44
55
```ts
66

7-
import { ChangeDetectorRef } from '@angular/core';
8-
import { Component } from '@angular/core';
9-
import { ComponentRef } from '@angular/core';
10-
import { DebugElement } from '@angular/core';
11-
import { ɵDeferBlockBehavior as DeferBlockBehavior } from '@angular/core';
12-
import { ɵDeferBlockState as DeferBlockState } from '@angular/core';
13-
import { Directive } from '@angular/core';
14-
import { ElementRef } from '@angular/core';
15-
import { InjectionToken } from '@angular/core';
16-
import { InjectOptions } from '@angular/core';
17-
import { NgModule } from '@angular/core';
18-
import { NgZone } from '@angular/core';
19-
import { Pipe } from '@angular/core';
20-
import { PlatformRef } from '@angular/core';
21-
import { ProviderToken } from '@angular/core';
22-
import { SchemaMetadata } from '@angular/core';
23-
import { Type } from '@angular/core';
24-
import { ɵDeferBlockDetails } from '@angular/core';
7+
import { Observable } from 'rxjs';
8+
import { Subject } from 'rxjs';
9+
import { Subscription } from 'rxjs';
2510

2611
// @public
2712
export const __core_private_testing_placeholder__ = "";
@@ -54,16 +39,26 @@ export const ComponentFixtureAutoDetect: InjectionToken<boolean>;
5439
// @public (undocumented)
5540
export const ComponentFixtureNoNgZone: InjectionToken<boolean>;
5641

57-
export { DeferBlockBehavior }
42+
// @public
43+
export enum DeferBlockBehavior {
44+
Manual = 0,
45+
Playthrough = 1
46+
}
5847

5948
// @public
6049
export class DeferBlockFixture {
61-
constructor(block: ɵDeferBlockDetails, componentFixture: ComponentFixture<unknown>);
50+
constructor(block: DeferBlockDetails, componentFixture: ComponentFixture<unknown>);
6251
getDeferBlocks(): Promise<DeferBlockFixture[]>;
6352
render(state: DeferBlockState): Promise<void>;
6453
}
6554

66-
export { DeferBlockState }
55+
// @public
56+
export enum DeferBlockState {
57+
Complete = 2,
58+
Error = 3,
59+
Loading = 1,
60+
Placeholder = 0
61+
}
6762

6863
// @public
6964
export function discardPeriodicTasks(): void;

0 commit comments

Comments
 (0)