1
0
Fork 0
mirror of synced 2024-07-18 20:56:04 +12:00
budibase/packages/server/appPackages/testApp2/appDefinition.json
2019-10-14 08:32:20 +01:00

74 lines
1.7 KiB
JSON

{
"hierarchy": {
"name": "root",
"type": "root",
"children": [
{
"name": "customer",
"type": "record",
"fields": [
{
"name": "name",
"type": "string",
"typeOptions": {
"maxLength": null,
"values": null,
"allowDeclaredValuesOnly": false
},
"label": "Name",
"getInitialValue": "default",
"getUndefinedValue": "default"
},
{
"name": "enquiry",
"type": "string",
"typeOptions": {
"maxLength": null,
"values": [
"Google",
"Facebook",
"Word of Mouth"
],
"allowDeclaredValuesOnly": true
},
"label": "Enquiry Source",
"getInitialValue": "default",
"getUndefinedValue": "default"
}
],
"children": [],
"validationRules": [],
"nodeId": 1,
"indexes": [],
"allidsShardFactor": 64,
"collectionName": "customers",
"isSingle": false
}
],
"pathMaps": [],
"indexes": [
{
"name": "all_customers",
"type": "index",
"map": "return {...record};",
"filter": "",
"indexType": "ancestor",
"getShardName": "",
"getSortKey": "record.id",
"aggregateGroups": [],
"allowedRecordNodeIds": [
1
],
"nodeId": 2
}
],
"nodeId": 0
},
"triggers": [],
"actions": {},
"props": {
"main": {},
"unauthenticated": {}
}
}