type group = Database['public']['Tables']['groups']['Row'];
const supabase = createClient(url, anonKey);
const propColumns = 'name, isTrashed:is_trashed';
(async () => {
await supabase.auth.signIn({email, password});
const props =
await supabase
.from<group>('groups')
.select(propColumns);
console.log(props);
})();
type group = Database['public']['Tables']['groups']['Row'];
const supabase = createClient(url, anonKey);
const propColumns = 'name, isTrashed:is_trashed';
(async () => {
await supabase.auth.signIn({email, password});
const props =
await supabase
.from<group>('groups')
.select(propColumns);
console.log(props);
})();