@myrmidon/cadmus-core 0.1.0 → 0.2.0

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,15 +0,0 @@
1
- import { EnvService } from './env.service';
2
- /**
3
- * This function creates an instance of EnvService, and copies
4
- * all the properties from window.__env object into it.
5
- */
6
- export declare const EnvServiceFactory: () => EnvService;
7
- /**
8
- * A provider recipe for the EnvService.
9
- * This must be registered in the applications providers array.
10
- */
11
- export declare const EnvServiceProvider: {
12
- provide: typeof EnvService;
13
- useFactory: () => EnvService;
14
- deps: any[];
15
- };
@@ -1,16 +0,0 @@
1
- import { HttpErrorResponse } from '@angular/common/http';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Error handler for services. To use this in your service, pipe a catchError
5
- * operator with its argument equal to the handleError method of this service.
6
- * Note: pipe this method after retry, if using it.
7
- */
8
- export declare class ErrorService {
9
- /**
10
- * Handle the specified error response.
11
- * @param error The error response.
12
- */
13
- handleError(error: HttpErrorResponse): import("rxjs").Observable<never>;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<ErrorService, never>;
15
- static ɵprov: i0.ɵɵInjectableDeclaration<ErrorService>;
16
- }
@@ -1,35 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class LocalStorageService {
3
- /**
4
- * Retrieve the object with the specified key from the specified storage.
5
- * @param key key.
6
- * @param session true to use session instead of local storage.
7
- */
8
- retrieve<T>(key: string, session?: boolean): T;
9
- /**
10
- * Store the specified object with the specified key in the specified storage.
11
- * @param key key.
12
- * @param value object.
13
- * @param session true to use session instead of local storage.
14
- */
15
- store(key: string, value: any, session?: boolean): void;
16
- /**
17
- * Remove the object with the specified key from the specified storage.
18
- * @param key key.
19
- * @param session true to use session instead of local storage.
20
- */
21
- remove(key: string, session?: boolean): void;
22
- /**
23
- * Get all the stored entities keys starting with the specified prefix.
24
- * @param prefix key prefix.
25
- * @param session true to use session instead of local storage.
26
- */
27
- getKeys(prefix: string, session?: boolean): string[];
28
- /**
29
- * Remove all the entries whose key starts with the specified prefix.
30
- * @param prefix key prefix.
31
- */
32
- clear(prefix: string, session?: boolean): void;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageService, never>;
34
- static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageService>;
35
- }
package/lib/utils.d.ts DELETED
@@ -1,4 +0,0 @@
1
- /**
2
- * Deep-copy an object.
3
- */
4
- export declare function deepCopy(obj: any): any;