"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.initialState = {
    filter: {
        pattern: '',
        kinds: {},
    },
};
function reducer(state, action) {
    switch (action.type) {
        case "CONSOLE_FILTER" /* SetFilter */:
            return Object.assign({}, state, { filter: action.filter });
        default:
            return state;
    }
}
exports.reducer = reducer;
