Reordered API exports to improve readability

refs https://github.com/TryGhost/Team/issues/513

- Having exports in no particular order was making it hard to spot if there's anything missing
- Having a DESC order on the exported API versions makes it very easy to modify and maintain in the future
This commit is contained in:
Naz 2021-03-04 11:27:09 +13:00
parent edb626af18
commit 4778fce615

View File

@ -1,6 +1,6 @@
module.exports = require('./v3'); module.exports = require('./v3');
module.exports.v2 = require('./v2');
module.exports.canary = require('./canary'); module.exports.canary = require('./canary');
module.exports.v3 = require('./v3');
module.exports.shared = require('./shared');
module.exports.v4 = require('./canary'); module.exports.v4 = require('./canary');
module.exports.v3 = require('./v3');
module.exports.v2 = require('./v2');
module.exports.shared = require('./shared');