forked from cerc-io/snowballtools-base
Nabarun Gogoi
890603061f
* Add fixture data and populate database with it * Use node to run commands in package scripts * Move test directory out of src directory * Save projects with user and organization relation * Refactor and add generalized function to load data * Populate userOrganization entity with test data * Change project id type from number to string --------- Co-authored-by: neeraj <neeraj.rtly@gmail.com>
58 lines
1.2 KiB
JSON
58 lines
1.2 KiB
JSON
[
|
|
{
|
|
"ownerIndex":0,
|
|
"organizationIndex":0,
|
|
"name": "testProject",
|
|
"repository": "test",
|
|
"prodBranch": "main",
|
|
"description": "test",
|
|
"template": "test",
|
|
"framework": "test",
|
|
"webhooks": []
|
|
},
|
|
{
|
|
"ownerIndex":1,
|
|
"organizationIndex":0,
|
|
"name": "testProject-2",
|
|
"repository": "test-2",
|
|
"prodBranch": "main",
|
|
"description": "test-2",
|
|
"template": "test-2",
|
|
"framework": "test-2",
|
|
"webhooks": []
|
|
},
|
|
{
|
|
"ownerIndex":2,
|
|
"organizationIndex":0,
|
|
"name": "iglootools",
|
|
"repository": "test-3",
|
|
"prodBranch": "main",
|
|
"description": "test-3",
|
|
"template": "test-3",
|
|
"framework": "test-3",
|
|
"webhooks": []
|
|
},
|
|
{
|
|
"ownerIndex":1,
|
|
"organizationIndex":0,
|
|
"name": "iglootools-2",
|
|
"repository": "test-4",
|
|
"prodBranch": "main",
|
|
"description": "test-4",
|
|
"template": "test-4",
|
|
"framework": "test-4",
|
|
"webhooks": []
|
|
},
|
|
{
|
|
"ownerIndex":0,
|
|
"organizationIndex":1,
|
|
"name": "snowball-2",
|
|
"repository": "test-5",
|
|
"prodBranch": "main",
|
|
"description": "test-5",
|
|
"template": "test-5",
|
|
"framework": "test-5",
|
|
"webhooks": []
|
|
}
|
|
]
|