all repos — caroster @ 124dfa21a7100f628775f5a0f49841048f8584ea

[Octree] Group carpool to your event https://caroster.io

backend/api/event/models/event.settings.json (view raw)

 1{
 2  "kind": "collectionType",
 3  "collectionName": "events",
 4  "info": {
 5    "name": "event",
 6    "description": ""
 7  },
 8  "options": {
 9    "increments": true,
10    "timestamps": true,
11    "draftAndPublish": false
12  },
13  "attributes": {
14    "name": {
15      "type": "string",
16      "required": true
17    },
18    "email": {
19      "type": "string",
20      "required": true
21    },
22    "date": {
23      "type": "date"
24    },
25    "address": {
26      "type": "text"
27    },
28    "cars": {
29      "via": "event",
30      "collection": "car"
31    },
32    "position": {
33      "type": "json"
34    },
35    "users": {
36      "via": "events",
37      "plugin": "users-permissions",
38      "collection": "user"
39    },
40    "uuid": {
41      "type": "string",
42      "unique": true
43    },
44    "waitingList": {
45      "type": "component",
46      "repeatable": true,
47      "component": "passenger.passenger"
48    },
49    "travels": {
50      "via": "event",
51      "collection": "travel"
52    }
53  }
54}