You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.0 KiB
48 lines
1.0 KiB
{
|
|
"models": [
|
|
{
|
|
"name": "Event",
|
|
"synchronizable": true,
|
|
"observable": true,
|
|
"properties": [
|
|
{
|
|
"name": "id",
|
|
"type": "String",
|
|
"defaultValue": "Store.randomId()"
|
|
},
|
|
{
|
|
"name": "creator",
|
|
"type": "String",
|
|
"optional": true,
|
|
"defaultValue": "nil",
|
|
"foreignKey": "CustomUser"
|
|
},
|
|
{
|
|
"name": "club",
|
|
"type": "String",
|
|
"optional": true,
|
|
"defaultValue": "nil",
|
|
"foreignKey": "Club"
|
|
},
|
|
{
|
|
"name": "creationDate",
|
|
"type": "Date",
|
|
"defaultValue": "Date()"
|
|
},
|
|
{
|
|
"name": "name",
|
|
"type": "String",
|
|
"optional": true,
|
|
"defaultValue": "nil"
|
|
},
|
|
{
|
|
"name": "tenupId",
|
|
"type": "String",
|
|
"optional": true,
|
|
"defaultValue": "nil"
|
|
}
|
|
],
|
|
"tokenExemptedMethods": []
|
|
}
|
|
]
|
|
}
|
|
|