1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-19 13:19:44 +02:00
planka/client/src/orm.js

35 lines
411 B
JavaScript
Executable file

import { ORM } from 'redux-orm';
import {
Action,
Attachment,
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,
Label,
List,
Card,
Task,
Attachment,
Action,
Notification,
);
export default orm;