⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
import { getApiUrl } from "@/fetchers/get-api-url";
import { HttpError } from "@/lib/http-error";
export type SlackIntegration = {
id: string;
projectId: string;
channelName: string | null;
webhookConfigured: boolean;
maskedWebhookUrl: string;
events: {
taskCreated: boolean;
taskStatusChanged: boolean;
taskPriorityChanged: boolean;
taskTitleChanged: boolean;
taskDescriptionChanged: boolean;
taskCommentCreated: boolean;
};
isActive: boolean | null;
createdAt: string;
updatedAt: string;
} | null;
async function getSlackIntegration(projectId: string) {
const response = await fetch(
getApiUrl(`/slack-integration/project/${projectId}`),
{
credentials: "include",
},
);
if (!response.ok) {
throw await HttpError.fromResponse(response);
}
return (await response.json()) as SlackIntegration;
}
export default getSlackIntegration;