Ghost/core/server/api/v2
Fabien O'Carroll 53b884ec2b
Refactored json-schema to use one instance of ajv (#10746)
refs https://github.com/TryGhost/Team/issues/211

Previous code was creating a new ajv instance for each call, as well as
loading the schemas, which are cached. This was causing a memory leak as
ajv caches all schemas.

We've replaced it with one instance of ajv, and conditionally
loading/compiling the schemas if they haven't been seen before.
2019-05-15 13:28:10 +02:00
..
utils Refactored json-schema to use one instance of ajv (#10746) 2019-05-15 13:28:10 +02:00
actions.js
authors-public.js
config.js
db.js
images.js
index.js Reverted & Solved apiType differently 2019-02-26 08:33:10 +01:00
integrations.js
invites.js
mail.js
members.js Updated theme layer to use members-ssr (#10676) 2019-04-16 16:50:25 +02:00
notifications.js 🎨 Made notifications dismissible per user 2019-04-19 09:43:14 +02:00
oembed.js
pages-public.js
pages.js Fixed previews not reflecting changes to scheduled posts on Ghost(Pro) (#10601) 2019-03-12 18:35:54 +00:00
posts-public.js
posts.js Fixed previews not reflecting changes to scheduled posts on Ghost(Pro) (#10601) 2019-03-12 18:35:54 +00:00
preview.js
redirects.js
roles.js
session.js
settings-public.js
settings.js Blacklisted private member settings for HTTP calls 2019-04-16 14:39:01 +02:00
site.js
slack.js
slugs.js
subscribers.js
tags-public.js
tags.js
themes.js Improved error context usage 2019-04-23 09:45:11 +02:00
users.js
webhooks.js