@hobenakicoffee/libraries 6.8.0 → 6.8.2
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/index.ts +6 -1
- package/src/types/supabase.ts +2 -0
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -18,7 +18,8 @@ export type ActivityType =
|
|
|
18
18
|
| "post_approved"
|
|
19
19
|
| "post_rejected"
|
|
20
20
|
| "kyc_approved"
|
|
21
|
-
| "kyc_resubmit_requested"
|
|
21
|
+
| "kyc_resubmit_requested"
|
|
22
|
+
| "report_status_updated";
|
|
22
23
|
|
|
23
24
|
export type ActivityMetadata = {
|
|
24
25
|
type?: string;
|
|
@@ -59,6 +60,10 @@ export type ActivityMetadata = {
|
|
|
59
60
|
product_id?: string;
|
|
60
61
|
product_title?: string;
|
|
61
62
|
submission_id?: string;
|
|
63
|
+
report_id?: string;
|
|
64
|
+
old_status?: string;
|
|
65
|
+
new_status?: string;
|
|
66
|
+
resolution_note?: string;
|
|
62
67
|
action?: "follow" | "unfollow";
|
|
63
68
|
};
|
|
64
69
|
|
package/src/types/supabase.ts
CHANGED
|
@@ -4084,9 +4084,11 @@ export type Database = {
|
|
|
4084
4084
|
unpublish_newsletter_post: { Args: { p_post_id: string }; Returns: Json };
|
|
4085
4085
|
update_creator_report_status: {
|
|
4086
4086
|
Args: {
|
|
4087
|
+
p_manager_role?: Database["public"]["Enums"]["manager_role"];
|
|
4087
4088
|
p_new_status: string;
|
|
4088
4089
|
p_report_id: string;
|
|
4089
4090
|
p_resolution_note?: string;
|
|
4091
|
+
p_reviewer_id?: string;
|
|
4090
4092
|
};
|
|
4091
4093
|
Returns: Json;
|
|
4092
4094
|
};
|