-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.master.yml
More file actions
executable file
·168 lines (164 loc) · 3.91 KB
/
manifest.master.yml
File metadata and controls
executable file
·168 lines (164 loc) · 3.91 KB
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
plugin:
name: custom-data-type-dante
version: 1.5
url: https://github.com/programmfabrik/fylr-plugin-custom-data-type-dante
displayname:
de-DE: DANTE-Verknüpfung
en-US: DANTE-Referencing
info:
de-DE: Stellt Verknüpfungen mit dem Normdatenserver DANTE her.
en-US: Use for references to entities of DANTE-AuthorityFile-Server.
l10n: l10n/customDataTypeDante.csv
webfrontend:
url: customDataTypeDante.js
css: customDataTypeDante.css
dependencies:
- commons-library
base_url_prefix: "webfrontend"
custom_types:
dante:
mapping:
conceptName:
type: text
conceptURI:
type: text
conceptAncestors:
type: text
conceptSource:
type: text
conceptGeoJSON:
type: geo_json
facetTerm:
type: text_l10n
update:
plugin_user:
reference: system:root
exec:
service: "node"
commands:
- prog: "node"
stdin:
type: body
stdout:
type: body
args:
- type: "value"
value: "%_exec.pluginDir%/updater/DANTEUpdater.js"
- type: "value"
value: "%info.json%"
timeout: 300
batch_size: 10
expires_days: 1
interval_base_config: update_interval_dante.days
config:
schema:
- name: vocabulary_name
parameters:
value:
type: text
- name: insert_allowed
parameters:
value:
type: bool
- name: insert_voc_notation
parameters:
value:
type: text
- name: insert_username
parameters:
value:
type: text
- name: insert_token
parameters:
value:
type: text
mask:
- name: editor_style
parameters:
value:
type: select
options: ["popover", "popover_with_treeview", "dropdown"]
- name: editor_display
parameters:
value:
type: select
options: ["default", "condensed"]
- name: use_dropdown_info_popup
parameters:
value:
type: bool
- name: use_cache
parameters:
value:
type: bool
- name: allow_label_choice
parameters:
value:
type: bool
- name: label_with_hierarchie
parameters:
value:
type: bool
- name: ancestors
parameters:
value:
type: text
- name: default_concept_uri
parameters:
value:
type: text
- name: default_concept_name
parameters:
value:
type: text
- name: vocabulary_name_overwrite
parameters:
value:
type: text
base_config:
- name: debug_dante
group: debug_custom_data_type
parameters:
enable_debug:
type: bool
default: false
position: 0
- name: update_dante
group: update_custom_data_type
parameters:
restrict_time:
type: bool
default: false
position: 0
from_time:
type: int
default: 19
min: 0
max: 23
position: 1
to_time:
type: int
default: 4
min: 0
max: 23
position: 2
default_language:
type: text
default: 'de'
position: 3
custom_expires_days:
type: int
min: 1
default: 1
position: 4
- name: mapbox_dante
group: mapbox_update_custom_data_type
parameters:
mapbox_access_token:
type: text
position: 0
system_rights:
- name: dante_plugin
parameters:
- name: dante_allow_add_records
type: bool