@sd-angular/core 19.0.0-beta.88 → 19.0.0-beta.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,9 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
- import { SdCacheService } from '@sd-angular/core/services/cache';
3
- import { ISdApiConfiguration, SdDeleteOption, SdGetOption, SdPostOption, SdPutOption } from './api.model';
2
+ import { SdDeleteOption, SdGetOption, SdPostOption, SdPutOption } from './api.model';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class SdApiService {
6
5
  #private;
7
- private httpClient;
8
- private configurations;
9
- private cacheService;
10
- constructor(httpClient: HttpClient, configurations: ISdApiConfiguration[], cacheService: SdCacheService);
6
+ constructor();
11
7
  get http(): HttpClient;
12
8
  get: <T = any>(url: string, option?: SdGetOption) => Promise<T>;
13
9
  post: <T = any>(url: string, body?: any, option?: SdPostOption) => Promise<T>;
@@ -18,6 +14,6 @@ export declare class SdApiService {
18
14
  maxSizeInMb?: number;
19
15
  }) => Promise<any>;
20
16
  uploadFile: (url: string, file: File) => Promise<any>;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<SdApiService, [null, { optional: true; }, null]>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<SdApiService, never>;
22
18
  static ɵprov: i0.ɵɵInjectableDeclaration<SdApiService>;
23
19
  }
@@ -1,11 +1,9 @@
1
1
  import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
- import { ISdApiConfiguration } from '../api.model';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class SdHttpInterceptor implements HttpInterceptor {
6
- private configurations;
7
- constructor(configurations: ISdApiConfiguration[]);
5
+ #private;
8
6
  intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<SdHttpInterceptor, [{ optional: true; }]>;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<SdHttpInterceptor, never>;
10
8
  static ɵprov: i0.ɵɵInjectableDeclaration<SdHttpInterceptor>;
11
9
  }
Binary file