0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/api/canary
Hannah Wolfe f7ad32e76b
Removed unnecessary snippets serializer
refs: https://github.com/TryGhost/Toolbox/issues/245

- The default behaviour of a serializer is to call a mapper for each object
- Instead of all the boilerplate code we had in the snippets serializer, all we need is a single mapper function
- Added tests for the mapper function as well
2022-03-29 15:51:45 +01:00
..
utils Removed unnecessary snippets serializer 2022-03-29 15:51:45 +01:00
actions.js
authentication.js
authors-public.js
config.js
custom-theme-settings.js
db.js
email-post.js
email-preview.js Removed unnecessary email_preview.read serializer 2022-03-29 13:44:51 +01:00
emails.js Added missing e2e emails API browse & retry tests 2022-03-28 17:32:58 +01:00
files.js
identities.js
images.js
index.js Added missing e2e emails API browse & retry tests 2022-03-28 17:32:58 +01:00
integrations.js
invites.js
labels.js
mail.js
media.js
member-signin-urls.js Fixed filename casing in canary API 2022-03-24 17:25:53 +00:00
members-stripe-connect.js Fixed filename casing in canary API 2022-03-24 17:25:53 +00:00
members.js Removed unused members/stats endpoints 2022-03-29 14:00:04 +01:00
notifications.js
oembed.js
offers.js
pages-public.js
pages.js
posts-public.js
posts.js
preview.js
products-public.js
products.js
redirects.js
roles.js
schedules.js
session.js
settings-public.js
settings.js
site.js
slack.js
slugs.js
snippets.js
tags-public.js
tags.js
themes.js
tiers-public.js
tiers.js
users.js
webhooks.js