@vendasta/store
Version:
Components and data for Store
18 lines (17 loc) • 714 B
JavaScript
export var LMI_CATEGORIES = [
{ name: 'Listings', categoryId: 'listings' },
{ name: 'Social', categoryId: 'social' },
{ name: 'Reputation', categoryId: 'reputation' },
{ name: 'SEO', categoryId: 'seo' },
{ name: 'Website', categoryId: 'website' },
{ name: 'Advertising', categoryId: 'advertising' },
{ name: 'Content & Experience', categoryId: 'content_and_experience' }
];
export var LMI_CATEGORY_MAP = LMI_CATEGORIES.reduce(function (previous, current) {
previous[current.categoryId] = current;
return previous;
}, {});
export var LMI_CATEGORIES_BY_NAME = LMI_CATEGORIES.reduce(function (previous, current) {
previous[current.name] = current;
return previous;
}, {});