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 <65426560+joeauyeung@users.noreply.github.com> Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
This commit is contained in:
co-authored by
Joe Au-Yeung
Bailey Pumfleet
parent
d35ce9c95e
commit
d3b9ebbd34
@@ -210,6 +210,7 @@ const CreateApp = ({ noDbUpdate, slug = null, editMode = false }) => {
|
||||
{ label: "Payment", value: "payment" },
|
||||
{ label: "Messaging", value: "messaging" },
|
||||
{ label: "Web3", value: "web3" },
|
||||
{ label: "Automation", value: "automation" },
|
||||
{ label: "Other", value: "other" },
|
||||
],
|
||||
explainer: "This is how apps are categorized in App Store.",
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { AppMeta } from "@calcom/types/App";
|
||||
import config from "./config.json";
|
||||
|
||||
export const metadata = {
|
||||
category: "other",
|
||||
category: "automation",
|
||||
...config,
|
||||
} as AppMeta;
|
||||
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
"/*": "Don't modify slug - If required, do it using cli edit command",
|
||||
"name": "n8n",
|
||||
"slug": "n8n",
|
||||
"type": "n8n_other",
|
||||
"type": "n8n_automation",
|
||||
"imageSrc": "/api/app-store/n8n/icon.svg",
|
||||
"logo": "/api/app-store/n8n/icon.svg",
|
||||
"url": "https://cal.com/apps/n8n",
|
||||
"variant": "other",
|
||||
"categories": ["other"],
|
||||
"categories": ["automation"],
|
||||
"publisher": "Cal.com, Inc.",
|
||||
"email": "help@cal.com",
|
||||
"description": "Automate without limits. The workflow automation platform that doesn't box you in, that you never outgrow",
|
||||
|
||||
@@ -6,7 +6,7 @@ export const metadata = {
|
||||
name: "Zapier",
|
||||
description: _package.description,
|
||||
installed: true,
|
||||
category: "other",
|
||||
category: "automation",
|
||||
imageSrc: "/api/app-store/zapier/icon.svg",
|
||||
logo: "/api/app-store/zapier/icon.svg",
|
||||
publisher: "Cal.com",
|
||||
@@ -15,7 +15,7 @@ export const metadata = {
|
||||
slug: "zapier",
|
||||
title: "Zapier",
|
||||
trending: true,
|
||||
type: "zapier_other",
|
||||
type: "zapier_automation",
|
||||
url: "https://cal.com/apps/zapier",
|
||||
variant: "other",
|
||||
verified: true,
|
||||
|
||||
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
Vendored
+1
@@ -53,6 +53,7 @@ export interface App {
|
||||
| `${string}_video`
|
||||
| `${string}_web3`
|
||||
| `${string}_other`
|
||||
| `${string}_automation`
|
||||
| `${string}_other_calendar`;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user