mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 07:51:55 +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');
|