Skip to content
Snippets Groups Projects
Commit cb17e68d authored by Jacob Benz's avatar Jacob Benz
Browse files

set gnd as first sorce for authorities

parent 97eabe37
No related branches found
No related tags found
No related merge requests found
......@@ -90,13 +90,22 @@ export const state: EditorStateType = {
schemasList: derived((state: EditorStateType) => Object.values(state.schemas)),
schemaMappings: ['cwrcEntry', 'orlando', 'tei', 'teiLite'],
authorityServices: {
gnd: {
enabled: true,
entities: { person: true, place: true, organization: true, title: true, rs: true },
find: gndFind,
id: 'gnd',
name: 'GND',
priority: 0,
lookupService: 'internal',
},
viaf: {
enabled: true,
entities: { person: true, place: true, organization: true, title: true, rs: true },
find: viafFind,
id: 'viaf',
name: 'VIAF',
priority: 0,
priority: 1,
lookupService: 'internal',
},
wikidata: {
......@@ -105,7 +114,7 @@ export const state: EditorStateType = {
find: wikidataFind,
id: 'wikidata',
name: 'Wikidata',
priority: 1,
priority: 2,
lookupService: 'internal',
},
dbpedia: {
......@@ -114,16 +123,7 @@ export const state: EditorStateType = {
find: dbpediaFind,
id: 'dbpedia',
name: 'DBpedia',
priority: 2,
lookupService: 'internal',
},
gnd: {
enabled: true,
entities: { person: true, place: true, organization: true, title: true, rs: true },
find: gndFind,
id: 'gnd',
name: 'GND',
priority: 2,
priority: 3,
lookupService: 'internal',
},
getty: {
......@@ -132,7 +132,7 @@ export const state: EditorStateType = {
find: gettyFind,
id: 'getty',
name: 'Getty',
priority: 3,
priority: 4,
lookupService: 'internal',
},
geonames: {
......@@ -141,7 +141,7 @@ export const state: EditorStateType = {
find: geonamesFind,
id: 'geonames',
name: 'Geonames',
priority: 4,
priority: 5,
requireAuth: true,
lookupService: 'internal',
},
......@@ -151,7 +151,7 @@ export const state: EditorStateType = {
find: lgpnFind,
id: 'lgpn',
name: 'LGPN',
priority: 5,
priority: 6,
lookupService: 'internal',
},
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment