MCPcopy Create free account
hub / github.com/linuxfoundation/crowd.dev / buildStores

Function buildStores

frontend/src/store/index.js:14–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12 * @returns {{}}
13 */
14const buildStores = () => {
15 const output = {};
16
17 Object.keys(modules)
18 .filter((key) => Boolean(modules[key].store))
19 .forEach((key) => {
20 output[key] = modules[key].store;
21 });
22
23 return output;
24};
25
26/**
27 * Creates/Sets the Vuex store

Callers 2

createStoreFunction · 0.85
buildInitialStateFunction · 0.85

Calls 1

filterMethod · 0.80

Tested by

no test coverage detected