@hobenakicoffee/libraries 6.10.0 → 6.11.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 +56 -24
package/package.json
CHANGED
package/src/types/supabase.ts
CHANGED
|
@@ -536,6 +536,48 @@ export type Database = {
|
|
|
536
536
|
},
|
|
537
537
|
];
|
|
538
538
|
};
|
|
539
|
+
email_unsubscribe_feedback: {
|
|
540
|
+
Row: {
|
|
541
|
+
comment: string | null;
|
|
542
|
+
created_at: string;
|
|
543
|
+
id: number;
|
|
544
|
+
notification_type_key: string | null;
|
|
545
|
+
reason: string | null;
|
|
546
|
+
user_id: string;
|
|
547
|
+
};
|
|
548
|
+
Insert: {
|
|
549
|
+
comment?: string | null;
|
|
550
|
+
created_at?: string;
|
|
551
|
+
id?: never;
|
|
552
|
+
notification_type_key?: string | null;
|
|
553
|
+
reason?: string | null;
|
|
554
|
+
user_id: string;
|
|
555
|
+
};
|
|
556
|
+
Update: {
|
|
557
|
+
comment?: string | null;
|
|
558
|
+
created_at?: string;
|
|
559
|
+
id?: never;
|
|
560
|
+
notification_type_key?: string | null;
|
|
561
|
+
reason?: string | null;
|
|
562
|
+
user_id?: string;
|
|
563
|
+
};
|
|
564
|
+
Relationships: [
|
|
565
|
+
{
|
|
566
|
+
foreignKeyName: "email_unsubscribe_feedback_notification_type_key_fkey";
|
|
567
|
+
columns: ["notification_type_key"];
|
|
568
|
+
isOneToOne: false;
|
|
569
|
+
referencedRelation: "notification_types";
|
|
570
|
+
referencedColumns: ["key"];
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
foreignKeyName: "email_unsubscribe_feedback_user_id_fkey";
|
|
574
|
+
columns: ["user_id"];
|
|
575
|
+
isOneToOne: false;
|
|
576
|
+
referencedRelation: "profiles";
|
|
577
|
+
referencedColumns: ["id"];
|
|
578
|
+
},
|
|
579
|
+
];
|
|
580
|
+
};
|
|
539
581
|
feed_item_bookmarks: {
|
|
540
582
|
Row: {
|
|
541
583
|
created_at: string;
|
|
@@ -1123,30 +1165,6 @@ export type Database = {
|
|
|
1123
1165
|
},
|
|
1124
1166
|
];
|
|
1125
1167
|
};
|
|
1126
|
-
messages_2026_04: {
|
|
1127
|
-
Row: {
|
|
1128
|
-
content: string;
|
|
1129
|
-
conversation_id: string;
|
|
1130
|
-
created_at: string;
|
|
1131
|
-
id: number;
|
|
1132
|
-
sender_id: string;
|
|
1133
|
-
};
|
|
1134
|
-
Insert: {
|
|
1135
|
-
content: string;
|
|
1136
|
-
conversation_id: string;
|
|
1137
|
-
created_at?: string;
|
|
1138
|
-
id?: number;
|
|
1139
|
-
sender_id: string;
|
|
1140
|
-
};
|
|
1141
|
-
Update: {
|
|
1142
|
-
content?: string;
|
|
1143
|
-
conversation_id?: string;
|
|
1144
|
-
created_at?: string;
|
|
1145
|
-
id?: number;
|
|
1146
|
-
sender_id?: string;
|
|
1147
|
-
};
|
|
1148
|
-
Relationships: [];
|
|
1149
|
-
};
|
|
1150
1168
|
messages_2026_05: {
|
|
1151
1169
|
Row: {
|
|
1152
1170
|
content: string;
|
|
@@ -3414,6 +3432,16 @@ export type Database = {
|
|
|
3414
3432
|
};
|
|
3415
3433
|
Returns: undefined;
|
|
3416
3434
|
};
|
|
3435
|
+
apply_unsubscribe: {
|
|
3436
|
+
Args: {
|
|
3437
|
+
p_comment: string;
|
|
3438
|
+
p_disable_all: boolean;
|
|
3439
|
+
p_reason: string;
|
|
3440
|
+
p_type_keys: string[];
|
|
3441
|
+
p_user_id: string;
|
|
3442
|
+
};
|
|
3443
|
+
Returns: Json;
|
|
3444
|
+
};
|
|
3417
3445
|
approve_newsletter_post: { Args: { p_post_id: string }; Returns: Json };
|
|
3418
3446
|
approve_shop_category: { Args: { p_category_id: string }; Returns: Json };
|
|
3419
3447
|
approve_shop_product: { Args: { p_product_id: string }; Returns: Json };
|
|
@@ -3714,6 +3742,10 @@ export type Database = {
|
|
|
3714
3742
|
Args: { p_target_user_id?: string };
|
|
3715
3743
|
Returns: Json;
|
|
3716
3744
|
};
|
|
3745
|
+
get_notification_preferences_for_user: {
|
|
3746
|
+
Args: { p_user_id: string };
|
|
3747
|
+
Returns: Json;
|
|
3748
|
+
};
|
|
3717
3749
|
get_or_create_direct_conversation: {
|
|
3718
3750
|
Args: { p_recipient_id: string };
|
|
3719
3751
|
Returns: string;
|