2021-07-22 23:04:56 +00:00
|
|
|
import { BaseModel, request, requestGroup, workspace } from '../../models';
|
2016-09-21 00:03:26 +00:00
|
|
|
|
2021-05-18 20:32:18 +00:00
|
|
|
export const data: Record<string, Partial<BaseModel>[]> = {
|
2021-05-12 06:35:00 +00:00
|
|
|
[workspace.type]: [
|
2018-06-25 17:42:50 +00:00
|
|
|
{
|
|
|
|
_id: 'wrk_1',
|
2018-12-12 17:36:11 +00:00
|
|
|
name: 'Wrk 1',
|
|
|
|
},
|
2018-06-25 17:42:50 +00:00
|
|
|
],
|
2021-05-12 06:35:00 +00:00
|
|
|
[requestGroup.type]: [
|
2018-06-25 17:42:50 +00:00
|
|
|
{
|
|
|
|
_id: 'fld_1',
|
|
|
|
parentId: 'wrk_1',
|
2018-12-12 17:36:11 +00:00
|
|
|
name: 'Fld 1',
|
2018-06-25 17:42:50 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
_id: 'fld_2',
|
|
|
|
parentId: 'wrk_1',
|
2018-12-12 17:36:11 +00:00
|
|
|
name: 'Fld 2',
|
2018-06-25 17:42:50 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
_id: 'fld_3',
|
|
|
|
parentId: 'fld_1',
|
2018-12-12 17:36:11 +00:00
|
|
|
name: 'Fld 3',
|
|
|
|
},
|
2018-06-25 17:42:50 +00:00
|
|
|
],
|
2021-05-12 06:35:00 +00:00
|
|
|
[request.type]: [
|
2018-06-25 17:42:50 +00:00
|
|
|
{
|
|
|
|
_id: 'req_1',
|
|
|
|
parentId: 'fld_1',
|
2018-12-12 17:36:11 +00:00
|
|
|
name: 'Req 1',
|
2018-06-25 17:42:50 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
_id: 'req_2',
|
|
|
|
parentId: 'fld_1',
|
2018-12-12 17:36:11 +00:00
|
|
|
name: 'Req 2',
|
2018-06-25 17:42:50 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
_id: 'req_3',
|
|
|
|
parentId: 'wrk_1',
|
2018-12-12 17:36:11 +00:00
|
|
|
name: 'Req 3',
|
2018-06-25 17:42:50 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
_id: 'req_4',
|
|
|
|
parentId: 'fld_3',
|
2018-12-12 17:36:11 +00:00
|
|
|
name: 'Req 4',
|
2018-06-25 17:42:50 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
_id: 'req_5',
|
|
|
|
parentId: 'wrk_1',
|
2018-12-12 17:36:11 +00:00
|
|
|
name: 'Req 5',
|
|
|
|
},
|
|
|
|
],
|
2017-03-03 20:09:08 +00:00
|
|
|
};
|