e541ea8746
refs https://github.com/TryGhost/Team/issues/3010 - Having all possible values in within single packages will make it easier to look for "source of truth" and is more maintainable rather than having values scattered all over the codebase
12 lines
357 B
JavaScript
12 lines
357 B
JavaScript
// Available visibilities:
|
|
// 'visitors' - logged out visitors
|
|
// 'free_members' - free members
|
|
// 'paid_members' - paid members (aka non-free members)
|
|
class AnnouncementVisibilityValues {
|
|
static VISITORS = 'visitors';
|
|
static FREE_MEMBERS = 'free_members';
|
|
static PAID_MEMBERS = 'paid_members';
|
|
}
|
|
|
|
module.exports = AnnouncementVisibilityValues;
|