mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-05-09 14:30:51 +00:00
Add support for Supabase database operations, including migrations and queries. Implement new Supabase-related types, actions, and components to handle database interactions. Enhance the prompt system to include Supabase-specific instructions and constraints. Ensure data integrity and security by enforcing row-level security and proper migration practices.
22 lines
375 B
TypeScript
22 lines
375 B
TypeScript
export interface SupabaseUser {
|
|
id: string;
|
|
email: string;
|
|
role: string;
|
|
created_at: string;
|
|
last_sign_in_at: string;
|
|
}
|
|
|
|
export interface SupabaseProject {
|
|
id: string;
|
|
name: string;
|
|
organization_id: string;
|
|
region: string;
|
|
created_at: string;
|
|
status: string;
|
|
}
|
|
|
|
export interface SupabaseStats {
|
|
projects: SupabaseProject[];
|
|
totalProjects: number;
|
|
}
|