mirror of
https://github.com/plankanban/planka.git
synced 2025-12-25 01:11:49 +03:00
34 lines
383 B
JavaScript
Executable File
34 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;
|