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 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | 118x 118x 118x 118x 118x 118x 118x 118x 118x 118x 118x | import { createAction, props } from "@ngrx/store"
import { CCFile } from "../../../codeCharta.model"
import { FileState } from "../../../model/files/files"
export const setFiles = createAction("SET_FILES", props<{ value: FileState[] }>())
export const addFile = createAction("ADD_FILE", props<{ file: CCFile }>())
export const removeFiles = createAction("REMOVE_FILES", props<{ fileNames: string[] }>())
export const setStandard = createAction("SET_STANDARD", props<{ files: CCFile[] }>())
export const setStandardByNames = createAction("SET_STANDARD_BY_NAMES", props<{ fileNames: string[] }>())
export const switchReferenceAndComparison = createAction("SWITCH_REFERENCE_AND_COMPARISON")
export const setDeltaComparison = createAction("SET_DELTA_COMPARISON", props<{ file: CCFile }>())
export const setDeltaReference = createAction("SET_DELTA_REFERENCE", props<{ file: CCFile }>())
export const setDelta = createAction("SET_DELTA", props<{ referenceFile: CCFile; comparisonFile: CCFile }>())
export const fileActions = [
setFiles,
addFile,
removeFiles,
setStandard,
setStandardByNames,
switchReferenceAndComparison,
setDeltaComparison,
setDeltaReference,
setDelta
]
|