mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +03:00
c3d7104367
refs https://github.com/TryGhost/Toolbox/issues/522 - The caching rules for Content API resources like Tags / Posts / Pages / Authors are the same, so it makes sense to make a common repository which would take in a model as a parameter and perform the queries on that level instead of implementing repository-per-model. - With this refactor getting Posts Content API caching would be much simpler change.
2 lines
52 B
JavaScript
2 lines
52 B
JavaScript
module.exports = require('./lib/resources-public');
|