docs: convert all @experimental tags to @publicApi tags (#26595)

PR Close #26595
This commit is contained in:
Pete Bacon Darwin
2018-10-19 12:12:20 +01:00
committed by Alex Rickabaugh
parent 4bd9f53e8f
commit 24521f549c
116 changed files with 331 additions and 331 deletions

View File

@ -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[]>;

View File

@ -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) {}

View File

@ -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;

View File

@ -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>;

View File

@ -57,7 +57,7 @@ export function ngswCommChannelFactory(
}
/**
* @experimental
* @publicApi
*/
@NgModule({
providers: [SwPush, SwUpdate],

View File

@ -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 {

View File

@ -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 {