mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 10:34:15 +00:00
61949: finished refactoring, adding type doc
This commit is contained in:
5
src/app/core/cache/object-cache.reducer.ts
vendored
5
src/app/core/cache/object-cache.reducer.ts
vendored
@@ -35,12 +35,13 @@ export interface Patch {
|
||||
export interface TypedObject {
|
||||
type: ResourceType;
|
||||
}
|
||||
|
||||
/**
|
||||
* An interface to represent objects that can be cached
|
||||
*
|
||||
* A cacheable object should have a self link
|
||||
*/
|
||||
export interface CacheableObject {
|
||||
export interface CacheableObject extends TypedObject {
|
||||
uuid?: string;
|
||||
self: string;
|
||||
// isNew: boolean;
|
||||
@@ -50,8 +51,6 @@ export interface CacheableObject {
|
||||
// save(): void;
|
||||
}
|
||||
|
||||
// export type TypedCacheableObject = TypedObject & CacheableObject;
|
||||
|
||||
/**
|
||||
* An entry in the ObjectCache
|
||||
*/
|
||||
|
Reference in New Issue
Block a user