SurfSense/surfsense_web/components/chat/ChatPannel/actions.ts

22 lines
524 B
TypeScript
Raw Normal View History

2025-10-23 01:28:07 +02:00
"use server";
2025-10-23 16:43:28 +02:00
import type { PodCastInterface, PodcastGenerationState } from "./ChatPanelContainer";
2025-10-23 01:28:07 +02:00
2025-10-23 16:43:28 +02:00
export const generatePodCastAction = async (
formData: PodcastGenerationState
): Promise<PodCastInterface> => {
return Promise.resolve({
title: "Test",
podcast_transcript: "Test",
search_space_id: "Test",
});
2025-10-23 01:28:07 +02:00
};
export const getChatPodcastPromise = async (chatId: string): Promise<PodCastInterface> => {
return Promise.resolve({
title: "Test",
podcast_transcript: "Test",
search_space_id: "Test",
});
};