0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/server
Hannah Wolfe 70d15e077b
Refactored mapper into individual files (#14328)
refs: https://github.com/TryGhost/Toolbox/issues/245

- Ghost's API framework has a mixed up concept of what a serializer is. Mappers are true serializers! What we call serializers are little more than a small formatting step.
- This PR splits mappers into individual files and uses the endpoint's docname as the mapper name. This will help us to automate the calling of a mapper for an endpoint later.
- This is one tiny step in reworking the framework to need less code to make it work, and to have clearer concepts for how to do things.
2022-03-16 12:44:11 +00:00
..
adapters Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
api Refactored mapper into individual files (#14328) 2022-03-16 12:44:11 +00:00
data Enabled Admin integration for tiers and offers API (#14325) 2022-03-16 16:46:26 +05:30
lib Updated probe-image-size options to reflect underlying change 2022-03-09 20:27:38 +00:00
models Added the MemberCancelEvent model 2022-03-11 21:50:06 +01:00
services Hardcoded checked version to v4 in gscan 2022-03-16 11:21:32 +08:00
views Updated unsubscribe page 2022-03-10 10:39:20 +00:00
web Enabled Admin integration for tiers and offers API (#14325) 2022-03-16 16:46:26 +05:30
analytics-events.js
ghost-server.js Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
notify.js Removed unused import 2021-12-06 08:17:07 +00:00
overrides.js
run-update-check.js Revert "Revert "Extract logging from DI patterns, only use @tryghost/logging package"" (#13884) 2021-12-14 11:22:39 +00:00
update-check.js Added library for extracting database information 2022-01-18 09:31:08 +00:00