-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
/
files.yaml
137 lines (115 loc) · 2.51 KB
/
files.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
table: directus_files
fields:
- field: id
hidden: true
interface: input
special: uuid
- field: title
interface: input
options:
iconRight: title
placeholder: $t:field_options.directus_files.title
width: full
- field: description
interface: input-multiline
width: full
options:
placeholder: $t:field_options.directus_files.description
- field: tags
interface: tags
options:
iconRight: local_offer
special: json
width: full
display: labels
display_options:
choices: null
format: false
- field: location
interface: input
options:
iconRight: place
placeholder: $t:field_options.directus_files.location
width: half
- field: storage
interface: input
options:
iconRight: storage
width: half
readonly: true
- field: storage_divider
interface: presentation-divider
options:
icon: insert_drive_file
title: $t:field_options.directus_files.storage_divider
special:
- alias
- no-data
width: full
- field: filename_disk
interface: input
options:
iconRight: publish
placeholder: $t:field_options.directus_files.filename_disk
readonly: true
width: half
- field: filename_download
interface: input
options:
iconRight: get_app
placeholder: $t:field_options.directus_files.filename_download
width: half
- field: metadata
hidden: true
special: json
- field: type
display: mime-type
readonly: true
- field: filesize
display: filesize
readonly: true
- field: modified_by
interface: select-dropdown-m2o
special: user-updated
width: half
display: user
readonly: true
options:
template: '{{avatar.$thumbnail}} {{first_name}} {{last_name}}'
- field: modified_on
interface: datetime
special: date-updated
width: half
display: datetime
readonly: true
- field: embed
width: half
hidden: true
- field: uploaded_by
display: user
width: half
hidden: true
special: user-created
- field: uploaded_on
display: datetime
width: half
hidden: true
- field: folder
width: half
readonly: true
special: m2o
display: related-values
display_options:
template: '{{ name }}'
- field: width
width: half
readonly: true
- field: height
width: half
readonly: true
- field: charset
width: half
readonly: true
- field: duration
width: half
readonly: true