update config

This commit is contained in:
rlx 2019-11-19 14:57:43 +01:00
parent b10487030a
commit fb609e8427
1 changed files with 16 additions and 220 deletions

View File

@ -389,20 +389,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
"id" and "name" keys are required. If "alternativeNames" is present, these
will act as synonyms when autocompleting values entered as annotations.
*/
"entities": [
{
"id": "people",
"title": "People",
"keys": [
{"id": "id", "title": "ID", "type": "string"},
{"id": "name", "title": "Name", "type": "string"},
{"id": "additionalNames", "title": "Additional Names", "type": ["string"]},
{"id": "biography", "title": "Biography", "type": "text"},
{"id": "portrait", "title": "Portrait", "type": "document"}
],
"sortType": "person"
}
],
"entities": [],
/*
"flags", if set to true, will cause flag icons to appear in filters.
*/
@ -556,136 +543,13 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
"sort": true
},
{
"id": "runtime",
"title": "Runtime",
"id": "duration",
"title": "Duration",
"type": "time",
"columnWidth": 60,
"format": {"type": "duration", "args": [0, "short"]},
"sort": true
},
{
"id": "color",
"title": "Color",
"type": ["string"],
"columnWidth": 120,
"filter": true,
"sort": true
},
{
"id": "sound",
"title": "Sound",
"type": ["string"],
"columnWidth": 120,
"filter": true,
"sort": true
},
{
"id": "writer",
"title": "Writer",
"type": ["string"],
"autocomplete": true,
"columnWidth": 180,
"filter": true,
"find": true,
"sort": true,
"sortType": "person"
},
{
"id": "producer",
"title": "Producer",
"type": ["string"],
"autocomplete": true,
"columnWidth": 180,
"filter": true,
"find": true,
"sort": true,
"sortType": "person"
},
{
"id": "cinematographer",
"title": "Cinematographer",
"type": ["string"],
"autocomplete": true,
"columnWidth": 180,
"filter": true,
"find": true,
"sort": true,
"sortType": "person"
},
{
"id": "editor",
"title": "Editor",
"type": ["string"],
"autocomplete": true,
"columnWidth": 180,
"filter": true,
"find": true,
"sort": true,
"sortType": "person"
},
{
"id": "actor",
"title": "Actor",
"type": ["string"],
"autocomplete": true,
"filter": true,
"find": true,
"sortType": "person"
},
{
"id": "numberofactors",
"title": "Number of Actors",
"type": "integer",
"columnWidth": 60,
"sort": true,
"value": {"key": "actor", "type": "length"}
},
{
"id": "character",
"title": "Character",
"type": ["string"],
"autocomplete": true,
"find": true,
"sortType": "string"
},
{
"id": "name",
"title": "Name",
"type": ["string"],
"autocomplete": true,
"find": true
},
{
"id": "productionCompany",
"title": "Production Company",
"type": ["string"],
"autocomplete": true,
"columnWidth": 180,
"filter": true,
"find": true,
"sort": true
},
{
"id": "series",
"title": "TV Series",
"type": "boolean"
},
{
"id": "genre",
"title": "Genre",
"type": ["string"],
"autocomplete": true,
"columnWidth": 120,
"filter": true,
"find": true,
"sort": true
},
{
"id": "summary",
"title": "Summary",
"type": "text",
"find": true
},
{
"id": "topic",
"title": "Topic",
@ -696,61 +560,6 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
"find": true,
"sort": true
},
{
"id": "trivia",
"title": "Trivia",
"type": ["text"]
},
{
"id": "releasedate",
"title": "Release Date",
"type": "date",
"columnWidth": 120,
"format": {"type": "date", "args": ["%a, %b %e, %Y"]},
"sort": true
},
{
"id": "budget",
"title": "Budget",
"type": "integer",
"columnWidth": 90,
"format": {"type": "currency", "args": ["$"]},
"sort": true
},
{
"id": "gross",
"title": "Gross",
"type": "integer",
"columnWidth": 90,
"format": {"type": "currency", "args": ["$"]},
"sort": true
},
{
"id": "profit",
"title": "Profit",
"type": "integer",
"columnWidth": 90,
"format": {"type": "currency", "args": ["$"]},
"sort": true
},
{
"id": "votes",
"title": "Mainstream Score",
"type": "float",
"columnWidth": 60,
"default": 0,
"format": {"type": "ColorPercent", "args": [1, true]},
"sort": true
},
{
"id": "likes",
"title": "Arthouse Score",
"type": "float",
"columnWidth": 60,
"default": 0,
"format": {"type": "ColorPercent", "args": [1, true]},
"sort": true
},
{
"id": "notes",
"title": "Notes",
@ -771,10 +580,17 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
"columnWidth": 90,
"sort": true
},
{
"id": "oxdbid",
"title": "0xDB ID",
"type": "string",
"columnWidth": 90,
"sort": true
},
{
"id": "medialucid",
"title": "Medialuc ID",
"type": "string",
"type": "integer",
"columnWidth": 90,
"sort": true
},
@ -927,14 +743,6 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
"format": {"type": "value", "args": ["bps"]},
"sort": true
},
{
"id": "parts",
"title": "Number of Parts",
"type": "integer",
"capability": "canSeeMedia",
"columnWidth": 60,
"sort": true
},
{
"id": "numberoffiles",
"title": "Number of Files",
@ -991,23 +799,11 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
"type": "enum",
"columnWidth": 90,
"format": {"type": "ColorLevel", "args": [
["Public", "Relaxed", "Regular", "Restricted", "Private"]
["Public", "Private"]
]},
"sort": true,
"sortOperator": "+",
"values": ["Public", "Relaxed", "Regular", "Restricted", "Private", "Unknown"]
},
{
"id": "canplayvideo",
"title": "Can Play Video",
"type": "boolean",
"value": "capability"
},
{
"id": "canplayclips",
"title": "Can Play Clips",
"type": "boolean",
"value": "capability"
"values": ["Public", "Private"]
},
{
"id": "random",
@ -1144,8 +940,8 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
{"id": "timelines", "title": "with Timelines"},
{"id": "clips", "title": "with Clips"},
{"id": "clip", "title": "as Clips"},
{"id": "map", "title": "on Map"},
{"id": "calendar", "title": "on Calendar"}
{"id": "map", "title": "on Map"}
// {"id": "calendar", "title": "on Calendar"}
],
/*
"media" defines additional media that gets added when importing items.
@ -1360,7 +1156,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
{"id": "director", "sort": [{"key": "items", "operator": "-"}]},
{"id": "country", "sort": [{"key": "items", "operator": "-"}]},
{"id": "year", "sort": [{"key": "name", "operator": "-"}]},
{"id": "featuring", "sort": [{"key": "items", "operator": "-"}]},
{"id": "topic", "sort": [{"key": "items", "operator": "-"}]},
{"id": "keywords", "sort": [{"key": "items", "operator": "-"}]}
],
"filtersSize": 176,