mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-27 09:46:25 +02:00
21 lines
524 B
TypeScript
21 lines
524 B
TypeScript
"use server";
|
|
|
|
import type { PodCastInterface, PodcastGenerationState } from "./ChatPanelContainer";
|
|
|
|
export const generatePodCastAction = async (
|
|
formData: PodcastGenerationState
|
|
): Promise<PodCastInterface> => {
|
|
return Promise.resolve({
|
|
title: "Test",
|
|
podcast_transcript: "Test",
|
|
search_space_id: "Test",
|
|
});
|
|
};
|
|
|
|
export const getChatPodcastPromise = async (chatId: string): Promise<PodCastInterface> => {
|
|
return Promise.resolve({
|
|
title: "Test",
|
|
podcast_transcript: "Test",
|
|
search_space_id: "Test",
|
|
});
|
|
};
|