-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update associated authorities for chronology, person, and place (#18)
- Loading branch information
1 parent
2ea5506
commit 2f5fea4
Showing
10 changed files
with
86 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
export default (configContext) => { | ||
const { | ||
configKey: config, | ||
} = configContext.configHelpers; | ||
|
||
return { | ||
assocConceptAuthGroupList: { | ||
assocConceptAuthGroup: { | ||
assocConcept: { | ||
[config]: { | ||
view: { | ||
props: { | ||
source: 'concept/activity,concept/associated,concept/material,concept/nomenclature,concept/occasion,concept/archculture', | ||
}, | ||
}, | ||
}, | ||
}, | ||
}, | ||
}, | ||
assocChronologyAuthGroupList: { | ||
assocChronologyAuthGroup: { | ||
assocChronology: { | ||
[config]: { | ||
view: { | ||
props: { | ||
source: 'chronology/era,chronology/event,chronology/fieldcollection', | ||
}, | ||
}, | ||
}, | ||
}, | ||
}, | ||
}, | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import fields from './fields'; | ||
|
||
export default () => (configContext) => ({ | ||
extensions: { | ||
associatedAuthority: { | ||
fields: fields(configContext), | ||
}, | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import associatedAuthority from './associatedAuthority'; | ||
|
||
export default [ | ||
associatedAuthority, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
import extensions from './extensions'; | ||
import recordTypes from './recordTypes'; | ||
|
||
export default [ | ||
...extensions, | ||
...recordTypes, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export default (configContext) => { | ||
const { | ||
extensions, | ||
} = configContext.config; | ||
|
||
return { | ||
document: { | ||
'ns2:chronologies_common': { | ||
...extensions.associatedAuthority.fields, | ||
}, | ||
}, | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters