1 | export var LMI_CATEGORIES = [
|
2 | { name: 'Listings', categoryId: 'listings' },
|
3 | { name: 'Social', categoryId: 'social' },
|
4 | { name: 'Reputation', categoryId: 'reputation' },
|
5 | { name: 'SEO', categoryId: 'seo' },
|
6 | { name: 'Website', categoryId: 'website' },
|
7 | { name: 'Advertising', categoryId: 'advertising' },
|
8 | { name: 'Content & Experience', categoryId: 'content_and_experience' }
|
9 | ];
|
10 | export var LMI_CATEGORY_MAP = LMI_CATEGORIES.reduce(function (previous, current) {
|
11 | previous[current.categoryId] = current;
|
12 | return previous;
|
13 | }, {});
|
14 | export var LMI_CATEGORIES_BY_NAME = LMI_CATEGORIES.reduce(function (previous, current) {
|
15 | previous[current.name] = current;
|
16 | return previous;
|
17 | }, {});
|