Add automation category and move zapier and n8n to it (#4410)

* Add automation category

* Move n8n and Zapier to automation category

* Fix n8n category

Co-authored-by: Joe Au-Yeung <[email protected]>
Co-authored-by: Bailey Pumfleet <[email protected]>
This commit is contained in:
authored and GitHub committed 2022-09-15 08:16:56 +00:00
1 parent d35ce9c95e
commit d3b9ebbd34
10 files changed
+14 -8

No files matched your search

@@ -0,0 +1,2 @@
-- AlterEnum
ALTER TYPE "AppCategories" ADD VALUE 'automation';
@@ -0,0 +1 @@
UPDATE "App" set categories='{automation}' where slug in ('n8n', 'zapier');
+1
View File
@@ -474,6 +474,7 @@ enum AppCategories {
payment
video
web3
automation
}
model App {
+2 -2
View File
@@ -56,9 +56,9 @@
},
{
"dirName": "n8n",
"categories": ["other"],
"categories": ["automation"],
"slug": "n8n",
"type": "n8n_other"
"type": "n8n_automation"
},
{
"dirName": "exchangecalendar",
+1 -1
View File
@@ -259,7 +259,7 @@ export default async function main() {
}
if (process.env.ZAPIER_INVITE_LINK) {
await createApp("zapier", "zapier", ["other"], "zapier_other", {
await createApp("zapier", "zapier", ["automation"], "zapier_automation", {
invite_link: process.env.ZAPIER_INVITE_LINK,
});
}