slack connections in settings page

This commit is contained in:
Sreeram Sreedhar 2026-05-27 00:35:34 -04:00
parent 92b3863ff3
commit 6710c22b4e

View file

@ -4,7 +4,7 @@ import { dmSans125ClassName } from "@/lib/fonts"
import { cn } from "@lib/utils"
import { $fetch } from "@lib/api"
import { hasActivePlan } from "@lib/queries"
import { GoogleDrive, Notion, OneDrive } from "@ui/assets/icons"
import { GoogleDrive, Notion, OneDrive, Slack } from "@ui/assets/icons"
import { useCustomer } from "autumn-js/react"
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query"
import {
@ -68,6 +68,12 @@ const CONNECTORS = {
icon: OneDrive,
documentLabel: "documents",
},
slack: {
title: "Slack",
description: "Sync messages and threads from selected channels",
icon: Slack,
documentLabel: "channels",
},
} as const
type ConnectorProvider = keyof typeof CONNECTORS