1 | "use strict";
|
2 |
|
3 | exports.__esModule = true;
|
4 | exports.adapterReducer = void 0;
|
5 | var _noOpManager = require("../../utils/adapter/no-op-manager");
|
6 | const adapterReducer = (state = {
|
7 | instance: undefined,
|
8 | manager: (0, _noOpManager.noOpAdapterManager)(),
|
9 | config: {
|
10 | excludeDatastoreFromEngineFunction: false,
|
11 | pluginsToDisable: []
|
12 | }
|
13 | }, action) => {
|
14 | switch (action.type) {
|
15 | case `SET_ADAPTER`:
|
16 | return action.payload;
|
17 | default:
|
18 | return state;
|
19 | }
|
20 | };
|
21 | exports.adapterReducer = adapterReducer;
|
22 |
|
\ | No newline at end of file |