From 14b1d47dc916bfaa426e5074ac837cbb10138b2a Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Wed, 13 Jan 2021 12:31:10 -0600 Subject: [PATCH] Add category IDs --- helpers/categories.js | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/helpers/categories.js b/helpers/categories.js index 631cf11..738a9f9 100644 --- a/helpers/categories.js +++ b/helpers/categories.js @@ -10,62 +10,85 @@ export const categoryTemplate = { export const categories = { + 'no-category': { + id: 0 + }, + // App lists 'developer-tools': { + id: 1, ...categoryTemplate, label: 'Developer Tools', pluralLabel: 'Developer Tools', slug: 'developer-tools', }, + 'productivity-tools': { + id: 2, ...categoryTemplate, label: 'Productivity Tools', pluralLabel: 'Productivity Tools', slug: 'productivity-tools', }, + 'video-and-motion-tools': { + id: 3, ...categoryTemplate, label: 'Video and Motion Tools', pluralLabel: 'Video and Motion Tools', slug: 'video-and-motion-tools', }, + 'social-and-communication': { + id: 4, ...categoryTemplate, label: 'Social and Communication', pluralLabel: 'Social and Communication Apps', slug: 'social-and-communication', }, + 'entertainment-and-media-apps': { + id: 5, ...categoryTemplate, label: 'Entertainment and Media Apps', pluralLabel: 'Entertainment and Media Apps', slug: 'entertainment-and-media-apps', }, + 'music-and-audio-tools': { + id: 6, ...categoryTemplate, label: 'Music and Audio Tools', pluralLabel: 'Music and Audio Tools', slug: 'music-and-audio-tools', }, + 'photo-and-graphic-tools': { + id: 7, ...categoryTemplate, label: 'Photo and Graphic Tools', pluralLabel: 'Photo and Graphic Tools', slug: 'photo-and-graphic-tools', }, + 'science-and-research-software': { + id: 8, ...categoryTemplate, label: 'Science and Research Software', pluralLabel: 'Science and Research Software', slug: 'science-and-research-software', }, + '3d-and-architecture': { + id: 9, ...categoryTemplate, label: '3D and Architecture', pluralLabel: '3D and Architecture Applications', slug: '3d-and-architecture', }, + 'vpns-security-and-privacy': { + id: 10, ...categoryTemplate, label: 'VPNs, Security, and Privacy', pluralLabel: 'VPN, Security, and Privacy Applications', @@ -74,6 +97,7 @@ export const categories = { // Special Lists 'games': { + id: 100, ...categoryTemplate, label: 'Games', pluralLabel: 'Games', @@ -87,6 +111,7 @@ export const categories = { ] }, 'homebrew': { + id: 101, ...categoryTemplate, label: 'Homebrew', pluralLabel: 'Homebrew Formulae',