0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/core/server
Hannah Wolfe 3bd4d0989a Added default serializer + handling
refs: https://github.com/TryGhost/Toolbox/issues/245

- Added a serializer called default to the canary API
  - Ideally, this would be part of the shared framework, but this would change v2/v3 and we're about to get rid of them
  - Therefore, we change just canary for now, and we can refactor again later.
- Added wiring to handler that uses the default serializer, if there is a default, and isn't an explicit serializer for the endpoint
- Removed the invites serializer, so that one endpoint now uses the default

Note: previous commits have added explicit serializers to every endpoint, this is the first step towards paring
that back so that we have less serializers overall, not more!
2022-03-22 13:52:32 +00:00
..
adapters
api Added default serializer + handling 2022-03-22 13:52:32 +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 Refactored the gscan version check to use single variable 2022-03-22 09:53:22 +08:00
views Updated unsubscribe page 2022-03-10 10:39:20 +00:00
web 🐛 Fixed /canary/ API endpoints 404s 2022-03-21 19:11:13 +08:00
analytics-events.js
ghost-server.js
notify.js
overrides.js
run-update-check.js
update-check.js Added library for extracting database information 2022-01-18 09:31:08 +00:00