feat: create default views on workspace creation + add views seed (#1313)
Closes #1311
This commit is contained in:
111
server/src/core/view/seed-data/views.json
Normal file
111
server/src/core/view/seed-data/views.json
Normal file
@ -0,0 +1,111 @@
|
||||
[
|
||||
{
|
||||
"name": "All Companies",
|
||||
"objectId": "company",
|
||||
"type": "Table",
|
||||
"fields": [
|
||||
{
|
||||
"fieldName": "Name",
|
||||
"sizeInPx": 180,
|
||||
"isVisible": true
|
||||
},
|
||||
{
|
||||
"fieldName": "URL",
|
||||
"sizeInPx": 100,
|
||||
"isVisible": true
|
||||
},
|
||||
{
|
||||
"fieldName": "Account Owner",
|
||||
"sizeInPx": 150,
|
||||
"isVisible": true
|
||||
},
|
||||
{
|
||||
"fieldName": "Creation",
|
||||
"sizeInPx": 150,
|
||||
"isVisible": true
|
||||
},
|
||||
{
|
||||
"fieldName": "Employees",
|
||||
"sizeInPx": 150,
|
||||
"isVisible": true
|
||||
},
|
||||
{
|
||||
"fieldName": "LinkedIn",
|
||||
"sizeInPx": 170,
|
||||
"isVisible": true
|
||||
},
|
||||
{
|
||||
"fieldName": "Address",
|
||||
"sizeInPx": 170,
|
||||
"isVisible": true
|
||||
},
|
||||
{
|
||||
"fieldName": "ICP",
|
||||
"sizeInPx": 150,
|
||||
"isVisible": false
|
||||
},
|
||||
{
|
||||
"fieldName": "ARR",
|
||||
"sizeInPx": 150,
|
||||
"isVisible": true
|
||||
},
|
||||
{
|
||||
"fieldName": "Twitter",
|
||||
"sizeInPx": 150,
|
||||
"isVisible": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "All People",
|
||||
"objectId": "person",
|
||||
"type": "Table",
|
||||
"fields": [
|
||||
{
|
||||
"fieldName": "People",
|
||||
"sizeInPx": 210,
|
||||
"isVisible": true
|
||||
},
|
||||
{
|
||||
"fieldName": "Email",
|
||||
"sizeInPx": 150,
|
||||
"isVisible": true
|
||||
},
|
||||
{
|
||||
"fieldName": "Company",
|
||||
"sizeInPx": 150,
|
||||
"isVisible": true
|
||||
},
|
||||
{
|
||||
"fieldName": "Phone",
|
||||
"sizeInPx": 150,
|
||||
"isVisible": true
|
||||
},
|
||||
{
|
||||
"fieldName": "Creation",
|
||||
"sizeInPx": 150,
|
||||
"isVisible": true
|
||||
},
|
||||
{
|
||||
"fieldName": "City",
|
||||
"sizeInPx": 150,
|
||||
"isVisible": true
|
||||
},
|
||||
{
|
||||
"fieldName": "Job title",
|
||||
"sizeInPx": 150,
|
||||
"isVisible": true
|
||||
},
|
||||
{
|
||||
"fieldName": "LinkedIn",
|
||||
"sizeInPx": 150,
|
||||
"isVisible": true
|
||||
},
|
||||
{
|
||||
"fieldName": "Twitter",
|
||||
"sizeInPx": 150,
|
||||
"isVisible": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user