docs: convert all @experimental
tags to @publicApi
tags (#26595)
PR Close #26595
This commit is contained in:

committed by
Alex Rickabaugh

parent
5e2bf292e5
commit
a8430db45d
@ -10,7 +10,7 @@
|
||||
* An abstraction over a virtual file system used to enable testing and operation
|
||||
* of the config generator in different environments.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export interface Filesystem {
|
||||
list(dir: string): Promise<string[]>;
|
||||
|
@ -21,7 +21,7 @@ const DEFAULT_NAVIGATION_URLS = [
|
||||
/**
|
||||
* Consumes service worker configuration files and processes them into control files.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export class Generator {
|
||||
constructor(readonly fs: Filesystem, private baseHref: string) {}
|
||||
|
@ -7,19 +7,19 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export type Glob = string;
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export type Duration = string;
|
||||
|
||||
/**
|
||||
* A top-level Angular Service Worker configuration object.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export interface Config {
|
||||
appData?: {};
|
||||
@ -32,7 +32,7 @@ export interface Config {
|
||||
/**
|
||||
* Configuration for a particular group of assets.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export interface AssetGroup {
|
||||
name: string;
|
||||
@ -50,7 +50,7 @@ export interface AssetGroup {
|
||||
/**
|
||||
* Configuration for a particular group of dynamic URLs.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export interface DataGroup {
|
||||
name: string;
|
||||
|
@ -14,7 +14,7 @@ export const ERR_SW_NOT_SUPPORTED = 'Service workers are disabled or not support
|
||||
/**
|
||||
* An event emitted when a new version of the app is available.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export interface UpdateAvailableEvent {
|
||||
type: 'UPDATE_AVAILABLE';
|
||||
@ -25,7 +25,7 @@ export interface UpdateAvailableEvent {
|
||||
/**
|
||||
* An event emitted when a new version of the app has been downloaded and activated.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export interface UpdateActivatedEvent {
|
||||
type: 'UPDATE_ACTIVATED';
|
||||
@ -58,7 +58,7 @@ function errorObservable(message: string): Observable<any> {
|
||||
}
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export class NgswCommChannel {
|
||||
readonly worker: Observable<ServiceWorker>;
|
||||
|
@ -57,7 +57,7 @@ export function ngswCommChannelFactory(
|
||||
}
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
@NgModule({
|
||||
providers: [SwPush, SwUpdate],
|
||||
|
@ -16,7 +16,7 @@ import {ERR_SW_NOT_SUPPORTED, NgswCommChannel, PushEvent} from './low_level';
|
||||
/**
|
||||
* Subscribe and listen to push notifications from the Service Worker.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
@Injectable()
|
||||
export class SwPush {
|
||||
|
@ -17,7 +17,7 @@ import {ERR_SW_NOT_SUPPORTED, NgswCommChannel, UpdateActivatedEvent, UpdateAvail
|
||||
* Subscribe to update notifications from the Service Worker, trigger update
|
||||
* checks, and forcibly activate updates.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
@Injectable()
|
||||
export class SwUpdate {
|
||||
|
Reference in New Issue
Block a user