continued refactoring

This commit is contained in:
lotte
2019-04-26 16:40:49 +02:00
parent 6438c65381
commit af291845ec
30 changed files with 71 additions and 91 deletions

View File

@@ -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
*/