mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
continued refactoring
This commit is contained in:
6
src/app/core/cache/object-cache.reducer.ts
vendored
6
src/app/core/cache/object-cache.reducer.ts
vendored
@@ -32,6 +32,9 @@ export interface Patch {
|
||||
operations: Operation[];
|
||||
}
|
||||
|
||||
export interface TypedObject {
|
||||
type: ResourceType;
|
||||
}
|
||||
/**
|
||||
* An interface to represent objects that can be cached
|
||||
*
|
||||
@@ -40,7 +43,6 @@ export interface Patch {
|
||||
export interface CacheableObject {
|
||||
uuid?: string;
|
||||
self: string;
|
||||
type?: ResourceType;
|
||||
// isNew: boolean;
|
||||
// dirtyType: DirtyType;
|
||||
// hasDirtyAttributes: boolean;
|
||||
@@ -48,6 +50,8 @@ export interface CacheableObject {
|
||||
// save(): void;
|
||||
}
|
||||
|
||||
// export type TypedCacheableObject = TypedObject & CacheableObject;
|
||||
|
||||
/**
|
||||
* An entry in the ObjectCache
|
||||
*/
|
||||
|
Reference in New Issue
Block a user