Skip to content

Commit d98a261

Browse files
committed
Add typedocs & fix copy/paste errors
1 parent 68def61 commit d98a261

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/app/core/cache/object-cache.actions.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ export class ApplyPatchObjectCacheAction implements Action {
128128
}
129129
}
130130

131+
/**
132+
* An NgRx action to add dependent request UUIDs to a cached object
133+
*/
131134
export class AddDependentsObjectCacheAction implements Action {
132135
type = ObjectCacheActionTypes.ADD_DEPENDENTS;
133136
payload: {
@@ -136,7 +139,7 @@ export class AddDependentsObjectCacheAction implements Action {
136139
};
137140

138141
/**
139-
* Create a new AddDependencyObjectCacheAction
142+
* Create a new AddDependentsObjectCacheAction
140143
*
141144
* @param href the self link of a cached object
142145
* @param dependentRequestUUIDs the UUID of the request that depends on this object
@@ -149,12 +152,15 @@ export class AddDependentsObjectCacheAction implements Action {
149152
}
150153
}
151154

155+
/**
156+
* An NgRx action to remove all dependent request UUIDs from a cached object
157+
*/
152158
export class RemoveDependentsObjectCacheAction implements Action {
153159
type = ObjectCacheActionTypes.REMOVE_DEPENDENTS;
154160
payload: string;
155161

156162
/**
157-
* Create a new AddDependencyObjectCacheAction
163+
* Create a new RemoveDependentsObjectCacheAction
158164
*
159165
* @param href the self link of a cached object for which to remove all dependent request UUIDs
160166
*/

0 commit comments

Comments
 (0)