* chore: add brand mocking in gallery view * feat: dev gallery app * chore: link mock block ids to real block type api * feat: image settings page features * chore: more tests * chore: keystore util and more testing * chore: more tests * chore: re-install lint plugin... * chore: lint fixes * chore: moar tests * chore: remove brand from module.config and link gallery to edx.org brand
11 lines
205 B
JavaScript
11 lines
205 B
JavaScript
import StrictDict from './StrictDict';
|
|
|
|
const keyStore = (collection) => StrictDict(
|
|
Object.keys(collection).reduce(
|
|
(obj, key) => ({ ...obj, [key]: key }),
|
|
{},
|
|
),
|
|
);
|
|
|
|
export default keyStore;
|