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:
10 files changed
+14
-8
No files matched your search
@@ -0,0 +1,2 @@
|
||||
-- AlterEnum
|
||||
ALTER TYPE "AppCategories" ADD VALUE 'automation';
|
||||
+1
@@ -0,0 +1 @@
|
||||
UPDATE "App" set categories='{automation}' where slug in ('n8n', 'zapier');
|
||||
@@ -474,6 +474,7 @@ enum AppCategories {
|
||||
payment
|
||||
video
|
||||
web3
|
||||
automation
|
||||
}
|
||||
|
||||
model App {
|
||||
|
||||
@@ -56,9 +56,9 @@
|
||||
},
|
||||
{
|
||||
"dirName": "n8n",
|
||||
"categories": ["other"],
|
||||
"categories": ["automation"],
|
||||
"slug": "n8n",
|
||||
"type": "n8n_other"
|
||||
"type": "n8n_automation"
|
||||
},
|
||||
{
|
||||
"dirName": "exchangecalendar",
|
||||
|
||||
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user