@replyke/core
Version:
Replyke: Build interactive apps with social features like comments, votes, feeds, user lists, notifications, and more.
13 lines • 591 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.rootReducer = void 0;
const toolkit_1 = require("@reduxjs/toolkit");
const replykeReducers_1 = require("./replykeReducers");
const baseApi_1 = require("./api/baseApi");
// Root reducer with namespace (used by standalone mode)
// State shape: { replyke: {...}, replykeApi: {...} }
exports.rootReducer = (0, toolkit_1.combineReducers)({
replyke: replykeReducers_1.replykeReducers,
[baseApi_1.baseApi.reducerPath]: baseApi_1.baseApi.reducer, // 'replykeApi'
});
//# sourceMappingURL=rootReducer.js.map