budibase/packages/server/appPackages/testApp2/appDefinition.json

74 lines
1.7 KiB
JSON
Raw Normal View History

{
"hierarchy": {
"name": "root",
"type": "root",
"children": [
{
"name": "customer",
"type": "record",
"fields": [
{
"name": "name",
"type": "string",
"typeOptions": {
2019-10-14 09:32:20 +02:00
"maxLength": null,
"values": null,
"allowDeclaredValuesOnly": false
},
2019-10-14 09:32:20 +02:00
"label": "Name",
"getInitialValue": "default",
"getUndefinedValue": "default"
2019-10-14 09:32:20 +02:00
},
{
2019-10-14 09:32:20 +02:00
"name": "enquiry",
"type": "string",
"typeOptions": {
"maxLength": null,
"values": [
"Google",
"Facebook",
"Word of Mouth"
],
"allowDeclaredValuesOnly": true
},
"label": "Enquiry Source",
"getInitialValue": "default",
"getUndefinedValue": "default"
}
],
2019-10-14 09:32:20 +02:00
"children": [],
"validationRules": [],
"nodeId": 1,
2019-10-14 09:32:20 +02:00
"indexes": [],
"allidsShardFactor": 64,
"collectionName": "customers",
"isSingle": false
}
],
"pathMaps": [],
2019-08-30 09:25:00 +02:00
"indexes": [
{
2019-10-14 09:32:20 +02:00
"name": "all_customers",
2019-08-30 09:25:00 +02:00
"type": "index",
"map": "return {...record};",
"filter": "",
"indexType": "ancestor",
"getShardName": "",
"getSortKey": "record.id",
"aggregateGroups": [],
"allowedRecordNodeIds": [
1
],
2019-10-14 09:32:20 +02:00
"nodeId": 2
2019-08-30 09:25:00 +02:00
}
],
"nodeId": 0
},
2019-10-14 09:32:20 +02:00
"triggers": [],
"actions": {},
2019-09-09 06:24:14 +02:00
"props": {
2019-10-14 09:32:20 +02:00
"main": {},
"unauthenticated": {}
2019-09-09 06:24:14 +02:00
}
2019-08-19 22:18:23 +02:00
}