Skip to content

Commit

Permalink
Add LV Folios
Browse files Browse the repository at this point in the history
  • Loading branch information
ejimsan committed Sep 14, 2023
1 parent 042ff48 commit 5c2bbf7
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 25 deletions.
1 change: 1 addition & 0 deletions src/auth/Session.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
1 change: 1 addition & 0 deletions src/auth/applicationScopes.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
23 changes: 12 additions & 11 deletions src/fragmentarium/domain/Folio.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down
29 changes: 15 additions & 14 deletions src/fragmentarium/domain/Folio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5c2bbf7

Please sign in to comment.