All files / app/codeCharta/state/store/fileSettings/blacklist blacklist.actions.ts

100% Statements 6/6
100% Branches 0/0
100% Functions 0/0
100% Lines 6/6

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 1252x     52x 52x 52x 52x 52x        
import { createAction, props } from "@ngrx/store"
import { BlacklistItem } from "../../../../codeCharta.model"
 
export const setBlacklist = createAction("SET_BLACKLIST", props<{ value: BlacklistItem[] }>())
export const addBlacklistItem = createAction("ADD_BLACKLIST_ITEM", props<{ item: BlacklistItem }>())
export const addBlacklistItems = createAction("ADD_BLACKLIST_ITEMS", props<{ items: BlacklistItem[] }>())
export const removeBlacklistItem = createAction("REMOVE_BLACKLIST_ITEM", props<{ item: BlacklistItem }>())
export const addBlacklistItemsIfNotResultsInEmptyMap = createAction(
    "ADD_BLACKLIST_ITEMS_IF_NOT_RESULTS_IN_EMPTY_MAP",
    props<{ items: BlacklistItem[] }>()
)