naystack
Version:
A stack built with tight Next + Drizzle + GraphQL
8 lines (5 loc) • 442 B
text/typescript
import { ThreadsPost } from './types.mjs';
declare const getThread: <T = ThreadsPost>(token: string, id: string, fields?: string[]) => Promise<T | null>;
declare const getThreads: <T = ThreadsPost>(token: string, fields?: string[]) => Promise<T[] | undefined>;
declare const getThreadsReplies: <T = ThreadsPost>(token: string, id: string, fields?: string[]) => Promise<T[] | undefined>;
export { getThread, getThreads, getThreadsReplies };