monkeytype/backend/constants/base-configuration.js
Bruce Berrios 5beb1bf619
Update Configuration to handle arrays/ Add new db client (#2395)
* Update Configuration to handle arrays

* Add new db client

* Add comment
2022-02-02 19:26:43 +01:00

21 lines
561 B
JavaScript

/**
* This is the base schema for the configuration of the API backend.
* To add a new configuration. Simply add it to this object.
* When changing this template, please follow the principle of "Secure by default" (https://en.wikipedia.org/wiki/Secure_by_default).
*/
const BASE_CONFIGURATION = Object.freeze({
maintenance: false,
quoteReport: {
enabled: false,
maxReports: 0,
contentReportLimit: 0,
},
quoteSubmit: {
enabled: false,
},
resultObjectHashCheck: {
enabled: false,
},
});
module.exports = BASE_CONFIGURATION;