elections-cpl.api.hscc.bdpa.org • Docs
elections-cpl.api.hscc.bdpa.org / lib/mongo-common / getCommonSchemaConfig
getCommonSchemaConfig(
additionalSchemaConfig
?):DbSchema
A JSON representation of the backend Mongo database structure. This is used for common consistent "well-known" db structure across projects.
Well-known databases and their well-known collections currently include:
root
(collections:auth
,request-log
,limited-log
)
• additionalSchemaConfig?: DbSchema