File

projects/wvr-elements/src/lib/core/manifest/manifest-entry.ts

Index

Properties

Properties

description
description: string
Type : string
Optional
error
error: any
Type : any
Optional
map
map: map
Type : map
Optional
methods
methods: Array<RequestMethod>
Type : Array<RequestMethod>
name
name: string
Type : string
options
options: RequestOptions
Type : RequestOptions
Optional
path
path: string
Type : string
request
request: any
Type : any
Optional
response
response: any
Type : any
Optional
import { RequestMethod } from '../rest/request-method';
import { RequestOptions } from '../rest/request-options';

export type map = (response) => any;

export interface ManifestEntry {
  name: string; // unique
  description?: string;
  path: string;
  // allowed methods for entry
  methods: Array<RequestMethod>;
  // options defined by manifest to be merged with request
  options?: RequestOptions;
  // last request submitted
  request?: any;
  // response from last successful request
  response?: any;
  // error from last failed request
  error?: any;
  map?: map;
}

results matching ""

    No results matching ""