UNPKG

@dataql/astro

Version:

DataQL Astro SDK with SSR/SSG support and multi-framework compatibility

19 lines (15 loc) 407 B
import type { DataQLAstroConfig } from "./types"; export class DataQLAstroClient { constructor(config: DataQLAstroConfig) { // Astro client implementation } async find<T = any>(tableName: string, filter?: any): Promise<T[]> { return []; } async create<T = any>( tableName: string, data: T ): Promise<{ success: boolean; data?: T }> { return { success: true, data }; } }