-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtrek-plugin.json
More file actions
85 lines (85 loc) · 2.23 KB
/
Copy pathtrek-plugin.json
File metadata and controls
85 lines (85 loc) · 2.23 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
{
"id": "trek-x-japan",
"name": "TREK × Japan",
"version": "1.2.0",
"apiVersion": 1,
"type": "trip-page",
"author": "fbnlrz",
"description": "Collaborative in-trip Japan hub",
"homepage": "https://github.com/fbnlrz/trek-x-japan",
"license": "MIT",
"icon": "Compass",
"trek": ">=3.2.1 <4.0.0",
"nativeModules": false,
"permissions": [
"db:own",
"db:read:trips",
"db:read:users",
"db:read:packing",
"db:read:files",
"db:read:costs",
"db:write:costs",
"db:write:trips",
"db:write:places",
"db:write:days",
"db:write:itinerary",
"db:meta",
"events:subscribe",
"ws:broadcast:trip",
"ws:broadcast:user",
"hook:place-detail-provider",
"hook:trip-warning-provider",
"http:outbound",
"http:outbound:api.open-meteo.com",
"http:outbound:open.er-api.com",
"http:outbound:www.jma.go.jp",
"http:outbound:japantoday.com",
"http:outbound:api.mymemory.translated.net"
],
"egress": [
"api.open-meteo.com",
"open.er-api.com",
"www.jma.go.jp",
"japantoday.com",
"api.mymemory.translated.net"
],
"settings": [
{
"key": "home_currency",
"label": "Home currency",
"input_type": "select",
"scope": "user",
"required": false,
"options": [
{ "value": "EUR", "label": "EUR (€)" },
{ "value": "USD", "label": "USD ($)" },
{ "value": "GBP", "label": "GBP (£)" },
{ "value": "CHF", "label": "CHF (Fr.)" }
],
"hint": "Personal: currency shown alongside shared yen amounts."
},
{
"key": "low_ic_threshold",
"label": "Low IC-card warning (¥)",
"input_type": "number",
"scope": "user",
"required": false,
"placeholder": "1000",
"hint": "Personal: warn when your own Suica/Pasmo/ICOCA balance drops below this."
},
{
"key": "ic_card",
"label": "IC card",
"input_type": "select",
"scope": "user",
"required": false,
"options": [
{ "value": "Suica", "label": "Suica" },
{ "value": "Pasmo", "label": "Pasmo" },
{ "value": "ICOCA", "label": "ICOCA" },
{ "value": "Andere", "label": "Other" }
],
"hint": "Personal: which IC card you carry."
}
]
}