export interface JsonApiResource { id: string; type: string; attributes: Record; relationships?: Record; links?: Record; } export interface JsonApiResponse { data: JsonApiResource | JsonApiResource[]; included?: JsonApiResource[]; meta?: { totals?: { rows: number; }; [key: string]: unknown; }; links?: Record; } /** * Async auth provider. Returning a fresh header on every call lets us * support both static credentials (returns the same value forever) and * OAuth2 (refreshes the access token transparently before expiry). */ export type BoondAuthProvider = () => Promise<{ name: string; value: string; }>; export interface BoondConfig { baseUrl: string; auth: BoondAuthProvider; } export interface SearchParams { keywords?: string | undefined; page?: number | undefined; pageSize?: number | undefined; [key: string]: unknown; } //# sourceMappingURL=types.d.ts.map