Browse Source

feat: add optional apiName to Rest.Config

pull/3230/head
Arman Ozak 7 years ago
parent
commit
3ae4621a70
  1. 9
      npm/ng-packs/packages/core/src/lib/models/rest.ts

9
npm/ng-packs/packages/core/src/lib/models/rest.ts

@ -1,10 +1,11 @@
import { HttpHeaders, HttpParams } from '@angular/common/http';
export namespace Rest {
export interface Config {
skipHandleError?: boolean;
observe?: Observe;
}
export type Config = Partial<{
apiName: string;
skipHandleError: boolean;
observe: Observe;
}>;
export const enum Observe {
Body = 'body',

Loading…
Cancel
Save