-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
/
collections.yaml
181 lines (163 loc) · 3.82 KB
/
collections.yaml
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
table: directus_collections
fields:
- field: collection_divider
special:
- alias
- no-data
interface: presentation-divider
options:
icon: box
title: Collection Setup
width: full
- field: collection
interface: input
options:
font: monospace
readonly: true
width: half
- field: note
interface: input
options:
placeholder: A description of this collection...
width: half
- field: icon
interface: select-icon
options:
width: half
- field: color
interface: select-color
options:
placeholder: Choose a color...
width: half
- field: display_template
interface: system-display-template
options:
collectionField: collection
width: full
- field: hidden
special: boolean
interface: boolean
options:
label: Hide within the App
width: half
- field: singleton
special: boolean
interface: boolean
options:
label: Treat as single object
width: half
- field: translations
special: json
interface: list
options:
template: '{{ translation }} ({{ language }})'
fields:
- field: language
name: Language
type: string
schema:
default_value: en-US
meta:
interface: system-language
width: half
- field: translation
name: Collection Name
type: string
meta:
interface: input
width: half
options:
placeholder: Enter a translation...
- field: singular
name: Singular Unit
type: string
meta:
interface: input
width: half
options:
placeholder: Enter a translation...
- field: plural
name: Plural Unit
type: string
meta:
interface: input
width: half
options:
placeholder: Enter a translation...
width: full
- field: archive_divider
special:
- alias
- no-data
interface: presentation-divider
options:
icon: archive
title: Archive
width: full
- field: archive_field
interface: system-field
options:
collectionField: collection
allowNone: true
placeholder: Choose a field...
width: half
- field: archive_app_filter
interface: boolean
special: boolean
options:
label: Enable App Archive Filter
width: half
- field: archive_value
interface: input
options:
font: monospace
iconRight: archive
placeholder: Value set when archiving...
width: half
- field: unarchive_value
interface: input
options:
font: monospace
iconRight: unarchive
placeholder: Value set when unarchiving...
width: half
- field: sort_divider
special:
- alias
- no-data
interface: presentation-divider
options:
icon: sort
title: Sort
width: full
- field: sort_field
interface: system-field
options:
collectionField: collection
placeholder: Choose a field...
typeAllowList:
- float
- decimal
- integer
allowNone: true
width: half
- field: accountability_divider
special:
- alias
- no-data
interface: presentation-divider
options:
icon: admin_panel_settings
title: Accountability
width: full
- field: accountability
interface: select-dropdown
options:
choices:
- text: '$t:field_options.directus_collections.track_activity_revisions'
value: all
- text: '$t:field_options.directus_collections.only_track_activity'
value: activity
- text: '$t:field_options.directus_collections.do_not_track_anything'
value: null
width: half