mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Add typedocs & fix copy/paste errors
This commit is contained in:
10
src/app/core/cache/object-cache.actions.ts
vendored
10
src/app/core/cache/object-cache.actions.ts
vendored
@@ -128,6 +128,9 @@ export class ApplyPatchObjectCacheAction implements Action {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An NgRx action to add dependent request UUIDs to a cached object
|
||||||
|
*/
|
||||||
export class AddDependentsObjectCacheAction implements Action {
|
export class AddDependentsObjectCacheAction implements Action {
|
||||||
type = ObjectCacheActionTypes.ADD_DEPENDENTS;
|
type = ObjectCacheActionTypes.ADD_DEPENDENTS;
|
||||||
payload: {
|
payload: {
|
||||||
@@ -136,7 +139,7 @@ export class AddDependentsObjectCacheAction implements Action {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new AddDependencyObjectCacheAction
|
* Create a new AddDependentsObjectCacheAction
|
||||||
*
|
*
|
||||||
* @param href the self link of a cached object
|
* @param href the self link of a cached object
|
||||||
* @param dependentRequestUUIDs the UUID of the request that depends on this object
|
* @param dependentRequestUUIDs the UUID of the request that depends on this object
|
||||||
@@ -149,12 +152,15 @@ export class AddDependentsObjectCacheAction implements Action {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An NgRx action to remove all dependent request UUIDs from a cached object
|
||||||
|
*/
|
||||||
export class RemoveDependentsObjectCacheAction implements Action {
|
export class RemoveDependentsObjectCacheAction implements Action {
|
||||||
type = ObjectCacheActionTypes.REMOVE_DEPENDENTS;
|
type = ObjectCacheActionTypes.REMOVE_DEPENDENTS;
|
||||||
payload: string;
|
payload: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new AddDependencyObjectCacheAction
|
* Create a new RemoveDependentsObjectCacheAction
|
||||||
*
|
*
|
||||||
* @param href the self link of a cached object for which to remove all dependent request UUIDs
|
* @param href the self link of a cached object for which to remove all dependent request UUIDs
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user