Ghost/ghost/members-api
Fabien 'egg' O'Carroll 117309b4e8 Used models internally and for exported API (#195)
no-issue

Using models internally and in the exported API means that we avoid expensive
`toJSON` calls, which affects performance when looping through large lists of
members. It also allows us to take advantage of the new relations used in the
models.

The addition of "ByID" methods for linking stripe customers and setting
complimentary subscriptions allows bulk imports to avoid the overhead of creating
a model for each members, instead passing an id string. n.b. currently the impl
_does_ still create models, but it makes it easier to optimise and refactor in the 
future.
2020-08-12 12:57:28 +01:00
..
lib Used models internally and for exported API (#195) 2020-08-12 12:57:28 +01:00
test Store geolocation data during member signup/signin (#128) 2020-02-27 10:29:36 +00:00
.eslintrc.js Added default test dir and eslintrc 2019-05-07 17:35:17 +02:00
index.js Used models internally and for exported API (#195) 2020-08-12 12:57:28 +01:00
package.json Published new versions 2020-08-11 09:10:32 +01:00
tsconfig.json Published new versions 2020-06-18 18:03:46 +02:00