mirror of
https://github.com/Sosokker/B2D-Ventures.git
synced 2025-12-20 14:34:05 +01:00
20 lines
668 B
TypeScript
20 lines
668 B
TypeScript
import { SupabaseClient } from "@supabase/supabase-js";
|
|
|
|
function getAllTagsQuery(client: SupabaseClient) {
|
|
return client.from("tag").select("id, value");
|
|
}
|
|
|
|
function getALlFundedStatusQuery(client: SupabaseClient) {
|
|
return client.from("funded_status").select("id, value, description");
|
|
}
|
|
|
|
function getAllBusinessTypeQuery(client: SupabaseClient) {
|
|
return client.from("business_type").select("id, value, description");
|
|
}
|
|
|
|
function getAllProjectStatusQuery(client: SupabaseClient) {
|
|
return client.from("project_status").select("id, value, description");
|
|
}
|
|
|
|
export { getAllBusinessTypeQuery, getALlFundedStatusQuery, getAllTagsQuery, getAllProjectStatusQuery };
|