Runs live, versioned Python application objects on one VM, with a suite of apps: projects, notes, tasks, files and more.

9 downloads

Install on DigitalOcean Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/dbbasic-object-server.git
HTTPS
https://gitstable.com/git/askrobots/dbbasic-object-server.git
SSH
ssh://git@gitstable.com:2222/askrobots/dbbasic-object-server.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

Daniel Quellhorst Changelog for this batch. 65ef78d 3 hours, 41 minutes ago History
interactions.json · 2.2 KB · 121 lines
1{
2 "name": "interactions",
3 "title": "Interactions",
4 "version": 4,
5 "description": "Calls, emails, meetings, notes, and tasks logged against a contact. v4: contact_id declares relation.requires read.",
6 "fields": [
7 {
8 "name": "id"
9 },
10 {
11 "name": "contact_id",
12 "subject": "relation",
13 "required": true,
14 "label": "Contact",
15 "relation": {
16 "collection": "contacts",
17 "display_field": "first_name",
18 "requires": "read"}
19 },
20 {
21 "name": "kind",
22 "type": "enum",
23 "label": "Kind",
24 "default": "note",
25 "enum": [
26 "call",
27 "email",
28 "meeting",
29 "note",
30 "task"
31 ]
32 },
33 {
34 "name": "subject",
35 "type": "text",
36 "label": "Subject",
37 "validation": {
38 "max_length": 200
39 }
40 },
41 {
42 "name": "occurred_on",
43 "type": "date",
44 "label": "Date"
45 },
46 {
47 "name": "duration_minutes",
48 "type": "integer",
49 "label": "Duration (minutes)"
50 },
51 {
52 "name": "outcome",
53 "type": "enum",
54 "label": "Outcome",
55 "enum": [
56 "positive",
57 "neutral",
58 "negative",
59 "no_answer"
60 ],
61 "help": "Optional; blank until set, no default is forced"
62 },
63 {
64 "name": "summary",
65 "type": "textarea",
66 "required": true,
67 "label": "Summary",
68 "validation": {
69 "min_length": 1
70 }
71 },
72 {
73 "name": "created_at",
74 "type": "datetime",
75 "read_only": true,
76 "label": "Created"
77 },
78 {
79 "name": "owner_id",
80 "type": "text",
81 "label": "Owner"
82 }
83 ],
84 "forms": {
85 "default": {
86 "fields": [
87 "contact_id",
88 "kind",
89 "subject",
90 "occurred_on",
91 "duration_minutes",
92 "outcome",
93 "summary"
94 ]
95 }
96 },
97 "views": {
98 "list_mode": "feed",
99 "list_fields": [
100 "contact_id",
101 "kind",
102 "subject",
103 "occurred_on",
104 "summary"
105 ],
106 "detail_fields": [
107 "contact_id",
108 "kind",
109 "subject",
110 "occurred_on",
111 "duration_minutes",
112 "outcome",
113 "summary"
114 ]
115 },
116 "search": {
117 "fields": [
118 "summary"
119 ]
120 }
121}