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

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

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 744x     44x 44x 44x  
import { createAction, props } from "@ngrx/store"
import { Edge } from "../../../../codeCharta.model"
 
export const setEdges = createAction("SET_EDGES", props<{ value: Edge[] }>())
export const addEdge = createAction("ADD_EDGE", props<{ edge: Edge }>())
export const removeEdge = createAction("REMOVE_EDGE", props<{ edge: Edge }>())