Files
kami-parse-server/src/Deprecator/Deprecations.js

15 lines
609 B
JavaScript
Raw Normal View History

/**
* The deprecations.
*
* Add deprecations to the array using the following keys:
* - `optionKey`: The option key incl. its path, e.g. `security.enableCheck`.
* - `envKey`: The environment key, e.g. `PARSE_SERVER_SECURITY`.
* - `changeNewKey`: Set the new key name if the current key will be replaced,
* or set to an empty string if the current key will be removed without replacement.
* - `changeNewDefault`: Set the new default value if the key's default value
* will change in a future version.
*
* If there are no deprecations this must return an empty array anyway.
*/
module.exports = [];