@hobenakicoffee/libraries 8.0.0 → 8.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/types/supabase.ts +33 -0
package/package.json
CHANGED
package/src/types/supabase.ts
CHANGED
|
@@ -4587,6 +4587,39 @@ export type Database = {
|
|
|
4587
4587
|
total_spent: number;
|
|
4588
4588
|
}[];
|
|
4589
4589
|
};
|
|
4590
|
+
get_supporters_with_profiles: {
|
|
4591
|
+
Args: {
|
|
4592
|
+
p_from_date?: string;
|
|
4593
|
+
p_limit?: number;
|
|
4594
|
+
p_offset?: number;
|
|
4595
|
+
p_search?: string;
|
|
4596
|
+
p_to_date?: string;
|
|
4597
|
+
p_type?: string;
|
|
4598
|
+
};
|
|
4599
|
+
Returns: {
|
|
4600
|
+
conversation_id: string;
|
|
4601
|
+
created_at: string;
|
|
4602
|
+
creator_id: string;
|
|
4603
|
+
first_supported_at: string;
|
|
4604
|
+
id: string;
|
|
4605
|
+
identity_hash: string;
|
|
4606
|
+
is_monthly: boolean;
|
|
4607
|
+
last_supported_at: string;
|
|
4608
|
+
last_supported_service: string;
|
|
4609
|
+
metadata: Json;
|
|
4610
|
+
name: string;
|
|
4611
|
+
profile_avatar_url: string;
|
|
4612
|
+
profile_display_name: string;
|
|
4613
|
+
profile_id: string;
|
|
4614
|
+
profile_username: string;
|
|
4615
|
+
social_platform: Database["public"]["Enums"]["supporter_platform_enum"];
|
|
4616
|
+
support_count: number;
|
|
4617
|
+
total_amount: number;
|
|
4618
|
+
total_count: number;
|
|
4619
|
+
updated_at: string;
|
|
4620
|
+
user_profile_id: string;
|
|
4621
|
+
}[];
|
|
4622
|
+
};
|
|
4590
4623
|
get_total_supports_count: {
|
|
4591
4624
|
Args: { p_creator_id: string; p_from_date: string; p_to_date: string };
|
|
4592
4625
|
Returns: number;
|