This commit is contained in:
Valentin Mihai 2023-04-06 13:44:54 +03:00
parent 7ba2c8f3a3
commit 9819ed892b
2 changed files with 4 additions and 2 deletions

View File

@ -5,5 +5,5 @@
}
::selection {
background: #ACCEF7;
background: #accef7;
}

View File

@ -24,7 +24,9 @@ export interface QueryParam {
*/
export abstract class GenericService<I> {
protected readonly _http = inject(HttpClient);
protected readonly _lastCheckedForChanges = new Map<string, string>([[ROOT_CHANGES_KEY, new Date(Date.now() - LAST_CHECKED_OFFSET).toISOString()]]);
protected readonly _lastCheckedForChanges = new Map<string, string>([
[ROOT_CHANGES_KEY, new Date(Date.now() - LAST_CHECKED_OFFSET).toISOString()],
]);
protected abstract readonly _defaultModelPath: string;
get<T = I[]>(): Observable<T>;