# All files / entities actionTypes.js

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

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    132x

    2x

    2x

    2x

    2x

    2x
     const MOD = 'ENTITIES'

    // Merges many entities at once (domain: { [id]: {}, [id]: {} }, domain2: ..., domain3:...)
    export const MERGE = `${MOD}/MERGE`
    // Removes many entities at once (domain, ids)
    export const REMOVE = `${MOD}/REMOVE`
    // Removes all entities by domain/type
    export const REMOVE_ALL = `${MOD}/REMOVE_ALL`
    // Clears the whole entity cache!
    export const RESET = `${MOD}/RESET`
    // Updates a field inside an entity
    export const UPDATE = `${MOD}/UPDATE`