You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
planka_custom/client/src/orm.js

38 lines
443 B
JavaScript

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