From d98a2619859c9b6e7593f1741bf100d6a7f65159 Mon Sep 17 00:00:00 2001 From: Yury Bondarenko Date: Wed, 28 Sep 2022 14:38:16 +0200 Subject: [PATCH] Add typedocs & fix copy/paste errors --- src/app/core/cache/object-cache.actions.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/app/core/cache/object-cache.actions.ts b/src/app/core/cache/object-cache.actions.ts index 8c83f6104e..c18a20ffd6 100644 --- a/src/app/core/cache/object-cache.actions.ts +++ b/src/app/core/cache/object-cache.actions.ts @@ -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 { type = ObjectCacheActionTypes.ADD_DEPENDENTS; 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 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 { type = ObjectCacheActionTypes.REMOVE_DEPENDENTS; 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 */