1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-24 07:39:44 +02:00
planka/client/src/orm.js
2020-03-25 00:15:47 +05:00

33 lines
383 B
JavaScript
Executable file

import { ORM } from 'redux-orm';
import {
Action,
Board,
Card,
Label,
List,
Notification,
Project,
ProjectMembership,
Task,
User,
} from './models';
const orm = new ORM({
stateSelector: (state) => state.orm,
});
orm.register(
User,
Project,
ProjectMembership,
Board,
List,
Label,
Card,
Task,
Action,
Notification,
);
export default orm;