@t1mmen/srtd
Version:
Supabase Repeatable Template Definitions (srtd): 🪄 Live-reloading SQL templates for Supabase DX. Make your database changes reviewable and migrations maintainable! 🚀
10 lines (9 loc) • 426 B
TypeScript
/**
* Check if a template path contains the WIP indicator.
* Uses the wipIndicator from the already-loaded config to ensure consistency.
*
* @param templatePath - The path to the template file
* @param wipIndicator - The WIP indicator string from config (e.g., '.wip')
* @returns true if the path contains the WIP indicator
*/
export declare function isWipTemplate(templatePath: string, wipIndicator: string): boolean;