insomnia/app/database/__fixtures__/nestedfolders.js
2016-09-07 23:54:35 -07:00

43 lines
686 B
JavaScript

import {TYPE_REQUEST_GROUP, TYPE_REQUEST, TYPE_WORKSPACE} from '../index';
module.exports[TYPE_WORKSPACE] = [{
_id: 'wrk_1',
name: 'Wrk 1'
}];
module.exports[TYPE_REQUEST_GROUP] = [{
_id: 'fld_1',
parentId: 'wrk_1',
name: 'Fld 1'
}, {
_id: 'fld_2',
parentId: 'wrk_1',
name: 'Fld 2'
}, {
_id: 'fld_3',
parentId: 'fld_1',
name: 'Fld 3'
}];
module.exports[TYPE_REQUEST] = [{
_id: 'req_1',
parentId: 'fld_1',
name: 'Req 1'
}, {
_id: 'req_2',
parentId: 'fld_1',
name: 'Req 2'
}, {
_id: 'req_3',
parentId: 'wrk_1',
name: 'Req 3'
}, {
_id: 'req_4',
parentId: 'fld_3',
name: 'Req 4'
}, {
_id: 'req_5',
parentId: 'wrk_1',
name: 'Req 5'
}];