-
Notifications
You must be signed in to change notification settings - Fork 1
/
defaults.yml
107 lines (107 loc) · 3.08 KB
/
defaults.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
##############################################################
# Default field properties in which all fields
# generated by VardefModifier are built from
#
# Author Emil Kilhage
##############################################################
---
##############################################################
# This is the base in which all the normal fields are generated from
_base:
required: false
reportable: true
audited: true
importable: 'true'
massupdate: false
##############################################################
# Field bases:
varchar: { type: varchar, len: 255 }
int: { type: int, len: 8, options: numeric_range_search_dom, enable_range_search: true }
text: { type: text }
json: { type: json, dbType: text }
date:
type: date
enable_range_search: true
options: date_range_search_dom
decimal: { type: decimal, len: "26,6", options: numeric_range_search_dom, enable_range_search: true }
image: { type: image, dbType: varchar, height: 100 }
datetimecombo:
type: datetimecombo
dbType: datetime
enable_range_search: true
options: date_range_search_dom
url: { type: url, dbType: varchar }
datetime: { type: datetime }
bool: { type: bool }
float: { type: float, options: numeric_range_search_dom, enable_range_search: true }
phone: { type: phone, dbType: varchar, len: 100 }
id: { type: id }
currency:
len: "11,2"
type: currency
dbType: double
enable_range_search: true
options: numeric_range_search_dom
currency_base:
len: "11,2"
type: currency
dbType: double
enable_range_search: true
options: numeric_range_search_dom
studio: false
enum: { type: enum }
multienum: { type: multienum, isMultiSelect: true }
relate: { source: non-db, type: relate }
readonly: { type: readonly }
name: { rname: name }
password: { type: password, dbType: varchar }
link: { source: non-db, type: link }
address:
all:
type: varchar
merge_filter: enabled
street: { len: 150 }
city: { len: 100 }
state: { len: 100 }
postalcode: { len: 20 }
country: {}
flex_relate:
id:
type: id
name:
type: parent
source: non-db
options: parent_type_display
parent_type: record_type_display
type:
dbType: varchar
type: parent_type
options: parent_type_display
flex_relate_link:
prefix: parent
link: {}
relationship:
lhs_key: id
relationship_type: one-to-many
##############################################################
# The Relationship base
relationship:
id: {}
name: {}
link: {}
index: {}
relationship:
relationship_type: one-to-many
lhs_key: id
##############################################################
#
Activities:
Tasks: { link: {}, relationship: {} }
Notes: { link: {}, relationship: {} }
Meetings: { link: {}, relationship: {} }
Calls: { link: {}, relationship: {} }
Emails: { link: {}, relationship: {} }
##############################################################
# The Index base
index: { type: index }
##############################################################