Home
Using Smart NgRX
Demo Walkthrough
API
@smarttools/smart-ngrx / Function

markFeatureParentsDirty

Goes through each of the feature/entity parents and marks the parent row(s) as dirty

Presentation

function markFeatureParentsDirty(
  action: Action<`[${any}] Delete`> & {
    id: string;
    parentInfo: { feature: string; entity: string; ids: string[] }[];
  },
): void;

Returns

void

Parameters

NameTypeDescription
action
Action<`[${any}] Delete`> & { id: string; parentInfo: { feature: string; entity: string; ids: string[]; }[]; }

the action that has the parentInfo in it