diff --git a/src/auth/Session.test.ts b/src/auth/Session.test.ts index 77baa3004..c3e22be44 100644 --- a/src/auth/Session.test.ts +++ b/src/auth/Session.test.ts @@ -27,6 +27,7 @@ describe.each([ describe.each([ ['read:WGL-folios', 'WGL'], + ['read:LV-folios', 'LV'], ['read:FWG-folios', 'FWG'], ['read:EL-folios', 'EL'], ['read:AKG-folios', 'AKG'], diff --git a/src/auth/applicationScopes.json b/src/auth/applicationScopes.json index 558534402..bdbf82c2b 100644 --- a/src/auth/applicationScopes.json +++ b/src/auth/applicationScopes.json @@ -23,6 +23,7 @@ "readJLPFolios": "read:JLP-folios", "readJVDFolios": "read:JVD-folios", "readJSFolios": "read:JS-folios", + "readLVFolios": "read:LV-folios", "readMJGFolios": "read:MJG-folios", "readRBFolios": "read:RB-folios", "readSJLFolios": "read:SJL-folios", diff --git a/src/fragmentarium/domain/Folio.test.ts b/src/fragmentarium/domain/Folio.test.ts index d37e0315a..6e0edfbea 100644 --- a/src/fragmentarium/domain/Folio.test.ts +++ b/src/fragmentarium/domain/Folio.test.ts @@ -6,23 +6,24 @@ describe('Folio', () => { describe.each([ ['Unknown', 'Unknown', false], - ['WGL', 'Lambert', true], - ['FWG', 'Geers', true], - ['EL', 'Leichty', true], ['AKG', 'Grayson', true], - ['MJG', 'Geller', true], - ['WRM', 'Mayer', true], + ['ARG', 'George', true], ['CB', 'Bezold', true], - ['JS', 'Strassmaier', true], - ['USK', 'Koch', true], + ['EL', 'Leichty', true], + ['ER', 'Reiner', true], + ['FWG', 'Geers', true], + ['GS', 'Smith', true], ['ILF', 'Finkel', true], + ['JS', 'Strassmaier', true], + ['LV', 'Vacín', true], + ['MJG', 'Geller', true], ['RB', 'Borger', true], + ['SJL', 'Lieberman', true], ['SP', 'Parpola', true], - ['ARG', 'George', true], ['UG', 'Gabbay', true], - ['ER', 'Reiner', true], - ['GS', 'Smith', true], - ['SJL', 'Lieberman', true], + ['USK', 'Koch', true], + ['WGL', 'Lambert', true], + ['WRM', 'Mayer', true], ] as [string, string, boolean][])( '%s folios', (name, humanized, hasImage) => { diff --git a/src/fragmentarium/domain/Folio.ts b/src/fragmentarium/domain/Folio.ts index 7a0b153a5..4b2ba5094 100644 --- a/src/fragmentarium/domain/Folio.ts +++ b/src/fragmentarium/domain/Folio.ts @@ -9,27 +9,28 @@ interface FolioType { const folioTypes: { readonly [key: string]: FolioType } = { - WGL: { name: 'Lambert', hasImage: true, isOpen: true }, - FWG: { name: 'Geers', hasImage: true, isOpen: true }, - EL: { name: 'Leichty', hasImage: true, isOpen: true }, AKG: { name: 'Grayson', hasImage: true, isOpen: true }, - MJG: { name: 'Geller', hasImage: true, isOpen: false }, - WRM: { name: 'Mayer', hasImage: true, isOpen: false }, - CB: { name: 'Bezold', hasImage: true, isOpen: true }, - JS: { name: 'Strassmaier', hasImage: true, isOpen: true }, - USK: { name: 'Koch', hasImage: true, isOpen: false }, - ILF: { name: 'Finkel', hasImage: true, isOpen: false }, - RB: { name: 'Borger', hasImage: true, isOpen: true }, - SP: { name: 'Parpola', hasImage: true, isOpen: false }, ARG: { name: 'George', hasImage: true, isOpen: false }, AS: { name: 'Shaffer', hasImage: true, isOpen: false }, + CB: { name: 'Bezold', hasImage: true, isOpen: true }, + EL: { name: 'Leichty', hasImage: true, isOpen: true }, ER: { name: 'Reiner', hasImage: true, isOpen: true }, - UG: { name: 'Gabbay', hasImage: true, isOpen: false }, - GS: { name: 'Smith', hasImage: true, isOpen: true }, EVW: { name: 'von Weiher', hasImage: true, isOpen: false }, + FWG: { name: 'Geers', hasImage: true, isOpen: true }, + GS: { name: 'Smith', hasImage: true, isOpen: true }, + ILF: { name: 'Finkel', hasImage: true, isOpen: false }, JLP: { name: 'Peterson', hasImage: true, isOpen: false }, - SJL: { name: 'Lieberman', hasImage: true, isOpen: false }, + JS: { name: 'Strassmaier', hasImage: true, isOpen: true }, JVD: { name: 'van Dijk', hasImage: true, isOpen: false }, + LV: { name: 'Vacín', hasImage: true, isOpen: true }, + MJG: { name: 'Geller', hasImage: true, isOpen: false }, + RB: { name: 'Borger', hasImage: true, isOpen: true }, + SJL: { name: 'Lieberman', hasImage: true, isOpen: false }, + SP: { name: 'Parpola', hasImage: true, isOpen: false }, + UG: { name: 'Gabbay', hasImage: true, isOpen: false }, + USK: { name: 'Koch', hasImage: true, isOpen: false }, + WGL: { name: 'Lambert', hasImage: true, isOpen: true }, + WRM: { name: 'Mayer', hasImage: true, isOpen: false }, } export default class Folio {