()
| 247 | } |
| 248 | |
| 249 | export async function getNewUsers() { |
| 250 | "use cache"; |
| 251 | cacheLife("hours"); |
| 252 | cacheTag("users"); |
| 253 | |
| 254 | const supabase = await createClient(); |
| 255 | const { data, error } = await supabase |
| 256 | .from("users") |
| 257 | .select("slug, name, image") |
| 258 | .eq("public", true) |
| 259 | .order("created_at", { ascending: false }) |
| 260 | .limit(24); |
| 261 | |
| 262 | return { data, error }; |
| 263 | } |
| 264 | |
| 265 | export async function getMCPs({ |
| 266 | page = 1, |
nothing calls this directly
no test coverage detected