mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 05:23:06 +00:00
87382: fixing circular dependencies
This commit is contained in:
22
src/app/core/cache/cacheable-object.model.ts
vendored
Normal file
22
src/app/core/cache/cacheable-object.model.ts
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
/* tslint:disable:max-classes-per-file */
|
||||
import { HALResource } from '../shared/hal-resource.model';
|
||||
import { HALLink } from '../shared/hal-link.model';
|
||||
import { TypedObject } from './typed-object.model';
|
||||
|
||||
/**
|
||||
* An interface to represent objects that can be cached
|
||||
*
|
||||
* A cacheable object should have a self link
|
||||
*/
|
||||
export class CacheableObject extends TypedObject implements HALResource {
|
||||
uuid?: string;
|
||||
handle?: string;
|
||||
_links: {
|
||||
self: HALLink;
|
||||
};
|
||||
// isNew: boolean;
|
||||
// dirtyType: DirtyType;
|
||||
// hasDirtyAttributes: boolean;
|
||||
// changedAttributes: AttributeDiffh;
|
||||
// save(): void;
|
||||
}
|
Reference in New Issue
Block a user