refactor: replace zustand import with Content interface definition for providers

This commit is contained in:
himanshu8443
2025-06-21 16:15:45 +05:30
parent d8ffba7f4c
commit cfc7a37e6a

View File

@@ -1,6 +1,11 @@
import { AxiosStatic } from "axios"; import { AxiosStatic } from "axios";
import * as cheerio from "cheerio"; import * as cheerio from "cheerio";
import { Content } from "../zustand/contentStore";
// Content type for providers (replaces zustand import)
export interface Content {
provider: string;
[key: string]: any;
}
// getPosts // getPosts
export interface Post { export interface Post {