UNPKG

@t1mmen/srtd

Version:

Supabase Repeatable Template Definitions (srtd): 🪄 Live-reloading SQL templates for Supabase DX. Make your database changes reviewable and migrations maintainable! 🚀

23 lines (22 loc) • 590 B
import type { TemplateBuildState } from './utils/schemas.js'; export type { BuildLog, CLIConfig, TemplateBuildState } from './utils/schemas.js'; export interface MigrationError { file: string; error: string; templateName: string; hint?: string; } export interface ProcessedTemplateResult { errors: MigrationError[]; applied: string[]; built: string[]; skipped: string[]; } export interface TemplateStatus { name: string; path: string; currentHash: string; migrationHash: string | null; buildState: TemplateBuildState; wip: boolean; }