ngx-pwa
Version:
Provides functionality around the progressive web app functionality in angular. Most notably the an approach to cache POST, UPDATE and DELETE requests.
14 lines (13 loc) • 474 B
TypeScript
import { HttpRequest } from '@angular/common/http';
import { RequestMetadata } from './request-metadata.model';
import { BaseEntityType } from '../services/offline.service';
/**
* The internal request metadata.
* Sets default values.
*/
export declare class RequestMetadataInternal implements RequestMetadata {
idKey: keyof BaseEntityType<unknown>;
type: string;
displayValue: string;
constructor(request: HttpRequest<unknown>, data?: RequestMetadata);
}