mirror of
https://github.com/Kong/insomnia
synced 2024-11-12 17:26:32 +00:00
5f4c19da35
Co-authored-by: Opender Singh <opender.singh@konghq.com>
55 lines
913 B
TypeScript
55 lines
913 B
TypeScript
import { workspace, requestGroup, request, BaseModel } from '../../models';
|
|
|
|
export const data: Record<string, Array<Partial<BaseModel>>> = {
|
|
[workspace.type]: [
|
|
{
|
|
_id: 'wrk_1',
|
|
name: 'Wrk 1',
|
|
},
|
|
],
|
|
[requestGroup.type]: [
|
|
{
|
|
_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',
|
|
},
|
|
],
|
|
[request.type]: [
|
|
{
|
|
_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',
|
|
},
|
|
],
|
|
};
|