@t1mmen/srtd
Version:
Supabase Repeatable Template Definitions (srtd): 🪄 Live-reloading SQL templates for Supabase DX. Make your database changes reviewable and migrations maintainable! 🚀
18 lines (17 loc) • 437 B
TypeScript
export interface ErrorContextOptions {
message?: string;
hint?: string;
sqlSnippet?: string;
column?: number;
indentPrefix?: string;
}
/**
* Renders error context with gutter lines.
* Shared between errorDisplay and resultsTable (watch mode).
*
* Format:
* | error message
* | SQL snippet
* | ^ caret
*/
export declare function renderErrorContext(options: ErrorContextOptions): void;