| 1 | "use server"; |
| 2 | |
| 3 | type GifResult = { |
| 4 | id: string; |
| 5 | url: string; |
| 6 | thumb?: string; |
| 7 | title?: string; |
| 8 | }; |
| 9 | |
| 10 | export async function getTrendingGiphyGifs(): Promise<{ |
| 11 | success: boolean; |
| 12 | gifs?: GifResult[]; |
| 13 | error?: string; |
| 14 | }> { |
| 15 | return { success: true, gifs: [] }; |
| 16 | } |
| 17 | |
| 18 | export async function searchGiphyGifs( |
| 19 | _query: string, |
| 20 | ): Promise<{ success: boolean; gifs?: GifResult[]; error?: string }> { |
| 21 | return { success: true, gifs: [] }; |
| 22 | } |
| 23 |