all repos — caroster @ 95876236a197ac3c43205c69fd4e70f3a300105c

[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    "position": {
29      "type": "json"
30    },
31    "users": {
32      "via": "events",
33      "plugin": "users-permissions",
34      "collection": "user"
35    },
36    "uuid": {
37      "type": "string",
38      "unique": true
39    },
40    "travels": {
41      "via": "event",
42      "collection": "travel"
43    },
44    "description": {
45      "type": "text",
46      "maxLength": 250
47    },
48    "waitingPassengers": {
49      "via": "event",
50      "collection": "passenger"
51    },
52    "newsletter": {
53      "type": "boolean"
54    }
55  }
56}