0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/models
Katharina Irrgang 397400b4f8
Moved visibility utility to static model fn (#9327)
refs #9178

- this logic belongs to a static model helper
- the visibility property is a model property, the knowledge about the visibility values belongs to the model
- rename the functions, so they make more sense
2017-12-13 13:19:51 +01:00
..
base Moved visibility utility to static model fn (#9327) 2017-12-13 13:19:51 +01:00
plugins Import lib/common only 2017-12-12 10:28:13 +01:00
accesstoken.js Import lib/common only 2017-12-12 10:28:13 +01:00
app-field.js
app-setting.js
app.js Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
client-trusted-domain.js
client.js 🎨 😎 config env usages (#7929) 2017-02-03 18:25:39 +00:00
index.js Webhooks support for subscriber events (#9230) 2017-11-21 15:43:14 +00:00
invite.js 🎨 invites roles table into a field on the invites table (#7705) 2016-11-16 09:33:44 +00:00
permission.js
post.js Import lib/common only 2017-12-12 10:28:13 +01:00
refreshtoken.js
role.js Import lib/common only 2017-12-12 10:28:13 +01:00
settings.js Import lib/common only 2017-12-12 10:28:13 +01:00
subscriber.js Import lib/common only 2017-12-12 10:28:13 +01:00
tag.js Import lib/common only 2017-12-12 10:28:13 +01:00
user.js Import lib/common only 2017-12-12 10:28:13 +01:00
webhook.js Import lib/common only 2017-12-12 10:28:13 +01:00